1 2011-04-02 Glenn Morris <rgm@gnu.org>
3 * find-dired.el (find-exec-terminator): New option.
4 (find-ls-option): Test for -ls support.
5 (find-ls-subdir-switches): Test for -b in find-ls-option.
6 (find-dired, find-grep-dired): Doc fixes.
7 (find-dired): Use find-exec-terminator.
9 * find-dired.el (find-ls-option, find-ls-subdir-switches)
10 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11 (find-name-arg): Remove purecopy.
13 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16 accordingly. Don't add the null-device if not needed.
18 * files.el (save-some-buffers): Doc fix.
20 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27 Use `dolist' rather than `mapcar'.
29 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
33 * subr.el (apply-partially): Use new closures rather than CL.
34 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
35 (dolist, dotimes): Use slightly different expansion for lexical code.
36 (functionp): Move to C.
38 (with-wrapper-hook): Use it and apply-partially instead of CL.
39 (eval-after-load): Preserve lexical-binding.
40 (save-window-excursion, with-output-to-temp-buffer): Turn them
43 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
45 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
47 (help-add-fundoc-usage): Don't add `Not documented'.
48 (help-function-arglist): Handle closures, subroutines, and new
50 (help-make-usage): Remove leading underscores.
51 (describe-function-1): Handle closures.
52 (describe-variable): Use special-variable-p for completion.
54 * files.el (lexical-binding): Declare safe.
56 * emacs-lisp/pcase.el: Don't use destructuring-bind.
57 (pcase--memoize): Rename from pcase-memoize. Change weakness.
58 (pcase): Add `let' pattern.
59 Change memoization so it actually works.
60 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
61 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
64 * emacs-lisp/macroexp.el: Use lexical binding.
65 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
66 Don't convert ' to #' without checking that it's indeed quoting
69 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
70 Use eval-sexp-add-defvars.
71 (eval-sexp-add-defvars): New fun.
73 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
75 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
77 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
78 than the internal `byte-compile-lambda'.
79 (defmethod): Don't hide code under quotes.
80 (eieio-defmethod): New `code' argument.
82 * emacs-lisp/eieio-comp.el: Remove.
84 * emacs-lisp/edebug.el (edebug-eval-defun)
85 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
86 (edebug-toggle): Avoid `eval'.
88 * emacs-lisp/disass.el (disassemble-internal): Handle new
90 (disassemble-1): Handle new byte codes.
92 * emacs-lisp/cl.el (pushnew): Silence warning.
94 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
95 (cl-byte-compile-throw): Remove.
96 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
98 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
101 * emacs-lisp/cconv.el: New file.
103 * emacs-lisp/bytecomp.el: Use lexical binding instead of
104 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
105 (byte-compile-initial-macro-environment):
106 Handle declare-function here.
107 (byte-compile--lexical-environment): New var.
108 (byte-stack-ref, byte-stack-set, byte-discardN)
109 (byte-discardN-preserve-tos): New lap codes.
110 (byte-interactive-p): Don't use any more.
111 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
113 (byte-compile-lapcode): Use them and handle new lap codes.
114 (byte-compile-obsolete): Remove.
115 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
116 (byte-compile-arglist-warn): Check late def of inlinable funs.
117 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
118 since they should have been expanded by now.
119 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
120 (byte-compile-from-buffer): Remove unused second arg.
121 (byte-compile-preprocess): New function.
122 (byte-compile-toplevel-file-form): New function to distinguish
123 file-form calls from outside from file-form calls from hunk-handlers.
124 (byte-compile-file-form): Simplify.
125 (byte-compile-file-form-defsubst): Remove.
126 (byte-compile-file-form-defmumble): Simplify now that
127 byte-compile-lambda always returns a byte-code-function.
128 (byte-compile): Preprocess.
129 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
130 Remove, not used any more.
131 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
132 (byte-compile-make-args-desc): New funs.
133 (byte-compile-lambda): Handle lexical functions. Always return
134 a byte-code-function.
135 (byte-compile-reserved-constants): New var, to make up room for
136 closed-over variables.
137 (byte-compile-constants-vector): Obey it.
138 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
139 (byte-compile-macroexpand-declare-function): New function.
140 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
142 (byte-compile-form): Check obsolescence here.
143 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
144 (byte-compile-variable-ref): Remove.
145 (byte-compile-dynamic-variable-op): New fun.
146 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
147 (byte-compile-variable-set): New funs.
148 (byte-compile-discard): Add 2 args.
149 (byte-compile-stack-ref, byte-compile-stack-set)
150 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
151 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
152 macroexpand-all instead.
153 (byte-compile-quote-form): Remove.
154 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
155 (byte-compile-bind, byte-compile-unbind): New funs.
156 (byte-compile-let): Handle let* and lexical binding.
157 (byte-compile-let*): Remove.
158 (byte-compile-catch, byte-compile-unwind-protect)
159 (byte-compile-track-mouse, byte-compile-condition-case):
160 Handle a new :fun-body form, used for lexical scoping.
161 (byte-compile-save-window-excursion)
162 (byte-compile-with-output-to-temp-buffer): Remove.
163 (byte-compile-defun): Simplify.
164 (byte-compile-stack-adjustment): New fun.
165 (byte-compile-out): Use it.
166 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
168 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
171 * emacs-lisp/byte-opt.el: Use lexical binding.
172 (byte-inline-lapcode): Remove (to bytecomp).
173 (byte-compile-inline-expand): Pay attention to inlining to/from
174 lexically bound code.
175 (byte-compile-unfold-lambda): Don't handle byte-code-functions
177 (byte-optimize-form-code-walker): Don't handle save-window-excursion
178 any more and don't call compiler-macros.
179 (byte-compile-splice-in-already-compiled-code): Remove.
180 (byte-code): Don't inline any more.
181 (disassemble-offset): Receive `bytes' as argument rather than via
183 (byte-compile-tag-number): Declare before first use.
184 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
185 `return' even if make-spliceable.
186 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
187 obsolete interactive-p.
188 (byte-optimize-lapcode): Optimize new lap-codes.
189 Don't trip up on new form of `byte-constant' lap code.
191 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
193 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
195 * custom.el (custom-initialize-default, custom-declare-variable):
198 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
200 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
201 (COMPILE_FIRST): Add macroexp and cconv.
202 * makefile.w32-in: Mirror changes in Makefile.in.
209 * textmodes/bibtex-style.el:
218 * emacs-lisp/smie.el:
221 * abbrev.el: Use lexical binding.
223 2011-04-01 Eli Zaretskii <eliz@gnu.org>
225 * info.el (info-display-manual): New function.
227 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
229 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
231 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
233 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
234 an entry for that server in rcirc-authinfo. (Bug#8385)
236 2011-03-31 Glenn Morris <rgm@gnu.org>
238 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
240 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
242 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
244 * progmodes/python.el (python-default-interpreter)
245 (python-python-command-args, python-jython-command-args)
246 (python-which-shell, python-which-args, python-which-bufname)
247 (python-file-queue, python-comint-output-filter-function)
248 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
249 variables and functions.
251 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
253 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
254 (completion-in-region-mode): New minor mode.
255 (completion-in-region): Use it.
256 (completion-in-region--data, completion-in-region-mode-map): New vars.
257 (completion-in-region--postch): New function.
258 (completion--capf-misbehave-funs, completion--capf-safe-funs):
260 (completion--capf-wrapper): New function.
261 (completion-at-point): Use it to track well-behavedness of
263 (completion-help-at-point): New command.
265 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
267 * vc/add-log.el (add-change-log-entry): Don't use whitespace
268 syntax class to search for whitespace on a single line
269 (Message-ID: <4D938140.4030905@redhat.com>).
271 2011-03-30 Leo Liu <sdl.web@gmail.com>
273 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
275 (edit-abbrevs-map): Bind them here.
276 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
278 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
280 * allout.el (allout-hide-by-annotation, allout-flag-region):
281 Reduce possibility of overlay leakage by making them volatile.
283 * allout-widgets.el (allout-widgets-tally): Define as nil so the
284 hash is not shared between buffers. Mode initialization is
285 responsible for giving it a useful starting value.
286 (allout-item-span): Reduce possibility of overlay leakage by
287 making them volatile.
288 (allout-widgets-count-buttons-in-region): Add diagnostic function
289 for tracking down button overlay leaks.
291 2011-03-29 Leo Liu <sdl.web@gmail.com>
293 * ido.el (ido-read-internal): Use the default history var
294 minibuffer-history if no HISTORY is specified.
296 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
298 * net/imap.el (imap-shell-open, imap-process-connection-type):
299 Use imap-process-connection-type for 'shell' streams as well as
300 Kerberos, SSL, other subprocesses.
302 2011-03-28 Leo Liu <sdl.web@gmail.com>
304 * abbrev.el (abbrev-table-empty-p): New function.
305 (prepare-abbrev-list-buffer): Place empty abbrev tables after
306 nonempty ones. (Bug#5937)
308 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
310 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
312 2011-03-27 Leo Liu <sdl.web@gmail.com>
314 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
315 for foreground and background colors.
316 (ansi-color-make-color-map): Adapt.
318 2011-03-25 Leo Liu <sdl.web@gmail.com>
320 * midnight.el (midnight-time-float): Remove. Note it calculates
321 the microsecond component incorrectly and seconds-to-time does the
323 Remove redundant (require 'timer).
325 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
326 (ido-completions): Remove unused arguments. (Bug#8329)
328 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
330 * minibuffer.el (completion--flush-all-sorted-completions):
331 Remove itself from hook.
332 (completion-at-point): Let the functions perform the completion
333 immediately and return nil or t.
334 * comint.el (comint-dynamic-complete-functions): Now identical to
335 completion-at-point-functions.
336 (comint-dynamic-list-input-ring): Remove unused var `index'.
337 (comint--match-partial-filename, comint--unquote&expand-filename):
338 New funs, split from comint-match-partial-filename.
339 (comint-dynamic-complete): Use completion-at-point.
340 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
342 2011-03-24 Drew Adams <drew.adams@oracle.com>
344 * thingatpt.el: Support `defun'.
346 2011-03-23 Leo Liu <sdl.web@gmail.com>
348 * abbrevlist.el: Move to obsolete/abbrevlist.el.
350 * help-mode.el (help-mode-finish): Tweak regexp.
352 2011-03-23 Glenn Morris <rgm@gnu.org>
354 * eshell/esh-opt.el (eshell-eval-using-options):
355 Do not bind unused local variable `eshell-option-stub'.
357 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
359 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
361 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
362 keymap variable in `with-no-warnings' to avoid a warning when the
363 keymap has been already `defconst'ed.
365 2011-03-22 Leo Liu <sdl.web@gmail.com>
367 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
368 encode all chars in abbrevs; otherwise use emacs-mule or
369 utf-8-emacs. (Bug#8308)
371 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
373 * simple.el (backward-delete-char-untabify):
374 Avoid warning about using `delete-backward-char'.
376 * image.el (image-type-file-name-regexps): Make it variable.
377 `imagemagick-register-types' modifies it, and the user may want
378 to add new extensions for known image types.
379 (imagemagick-register-types): Throw error if not using ImageMagick.
381 2011-03-22 Leo Liu <sdl.web@gmail.com>
383 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
384 located before rcirc-prompt-end-marker.
385 (rcirc-complete): Error if point is not after rcirc prompt.
386 Handle the case when table is nil.
387 (rcirc-user-authenticated): Define to fix compiler warning.
389 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
391 * custom.el (custom--inhibit-theme-enable): Make it affect only
392 custom-theme-set-variables and custom-theme-set-faces.
393 (provide-theme): Ignore custom--inhibit-theme-enable.
394 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
395 (custom-enabling-themes): Delete variable.
396 (enable-theme): Accept only loaded themes as arguments.
397 Ignore the special custom-enabled-themes variable.
398 (custom-enabled-themes): Forbid themes from setting this.
399 Eliminate use of custom-enabling-themes.
400 (custom-push-theme): Quote "changed" custom var entry.
402 2011-03-21 Leo Liu <sdl.web@gmail.com>
404 * ido.el (ido-read-internal): Add ido-selected to history instead
407 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
409 * subr.el (deferred-action-list, deferred-action-function):
412 2011-03-21 Leo Liu <sdl.web@gmail.com>
414 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
415 change on 2011-02-13 (bug#8309).
417 * minibuffer.el (read-file-name-function): Change default value.
418 (read-file-name--defaults): Rename from read-file-name-defaults.
419 (read-file-name-default): Rename from read-file-name.
420 (read-file-name): Call read-file-name-function.
422 2011-03-21 Glenn Morris <rgm@gnu.org>
424 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
427 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
429 * cus-theme.el: Add missing provide statement.
430 (customize-create-theme): Extract theme value correctly.
431 (custom-theme-visit-theme): Autoload.
432 (customize-create-theme): Prompt before inserting default faces.
434 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
436 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
437 units and musical notes.
439 2011-03-20 Leo <sdl.web@gmail.com>
441 * ido.el (ido-read-internal): Use completing-read-default.
442 (ido-completing-read): Fix compatibility with completing-read.
444 2011-03-20 Christian Ohler <ohler@gnu.org>
446 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
447 (ert-delete-all-tests): Use `called-interactively-p' rather than
449 (ert--make-xrefs-region): Respect END.
451 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
453 * dired-aux.el (dired-create-directory): Signal an error if the
454 directory already exists (Bug#8246).
456 * facemenu.el (list-colors-display): Call list-faces-display
457 inside with-help-window.
458 (list-colors-print): Use display property to align the final
459 column, instead of checking window-width.
461 2011-03-19 Eli Zaretskii <eliz@gnu.org>
463 * emerge.el (emerge-metachars): Separate value for ms-dos and
465 (emerge-protect-metachars): Quote correctly for ms-dos and
468 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
470 * info.el (info-initialize): Replace all uses of `:' with
471 path-separator for compatibility with non-Unix systems.
472 Cache quoting of path-separator. (Bug#8258)
474 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
476 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
477 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
478 (mouse-avoidance-mode): Fix typos in docstrings.
480 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
482 * startup.el (package-subdirectory-regexp): Move from package.el.
483 Omit \\` and \\', and let callers add them.
485 * emacs-lisp/package.el (package-strip-version)
486 (package-load-all-descriptors): Add \\` and \\' to
487 package-subdirectory-regexp before using it.
488 (package-untar-buffer): New arg DIR; ensure that file untars only
489 into this expected directory. Remove superfluous delete-region.
490 (package-unpack): Caller changed.
491 (package-tar-file-info): Use package-subdirectory-regexp.
493 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
495 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
496 diff-mode-shared-map (bug#8284).
497 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
499 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
501 * calendar/time-date.el (format-seconds): Use assoc instead of
502 assoc-string, since assoc-string doesn't exist in XEmacs.
504 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
506 * custom.el (custom-known-themes): Reflow docstring.
507 (custom-theme-load-path): Fix typo in docstring.
508 (load-theme): Fix typo in error message.
509 (custom-available-themes, custom-variable-theme-value):
510 Use `let', not `let*'.
512 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
514 * calc/README: Mention inclusion of musical notes.
516 * calc/calc-units.el (calc-lu-quant): Rename from
517 `calc-logunits-quantity'.
518 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
519 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
520 (calc-db): Rename from `calc-dblevel'.
521 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
522 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
523 (calc-np): Rename from `calc-nplevel'.
524 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
525 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
526 (calc-lu-plus): Rename from `calc-logunits-add'.
527 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
528 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
529 (calc-lu-minus): Rename from `calc-logunits-sub'.
530 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
531 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
532 (calc-lu-times): Rename from `calc-logunits-mul'.
533 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
534 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
535 (calc-lu-divide): Rename from `calc-logunits-div'.
536 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
537 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
539 * calc/calc-ext.el (calc-init-extensions): Update the names of the
540 functions being autoloaded.
542 * calc/calc.el (calc-lu-power-reference): Rename from
543 `calc-logunits-power-reference'.
544 (calc-lu-field-reference): Rename from
545 `calc-logunits-field-reference'.
547 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
549 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
551 * minibuffer.el (completion-all-sorted-completions):
552 Use :completion-cycle-penalty text property if present.
554 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
556 * allout.el (allout-yank-processing): Adjust for new rebulleting
557 regime so bullet being yanked is used without prompting the user
560 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
562 * startup.el (command-line): Warn the user that _emacs is deprecated.
564 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
566 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
567 (delphi-verbose, delphi-comment-face, delphi-string-face)
568 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
569 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
570 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
571 (delphi-new-comment-line, delphi-font-lock-defaults)
572 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
573 Fix typos in docstrings.
575 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
577 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
578 Invert the roles of character and string values for INSTEAD, so a
579 string is used for the more common case of a defaulting prompt.
581 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
583 * progmodes/ruby-mode.el (ruby-backward-sexp):
584 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
585 * play/gamegrid.el (gamegrid-make-face):
586 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
587 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
588 * notifications.el (notifications-notify):
589 * net/xesam.el (xesam-search-engines):
590 * net/quickurl.el (quickurl-list-insert):
591 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
593 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
595 * startup.el (command-line): Update package subdirectory regexp.
597 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
599 * allout.el (allout-abbreviate-flattened-numbering)
600 (allout-mode-deactivate-hook): Fix up obsolescence "date".
602 * subr.el (read-char-choice): Only show the cursor after the prompt,
603 not after the answer.
605 2011-03-15 Kevin Ryde <user42@zip.com.au>
607 * help-fns.el (variable-at-point): Skip leading quotes, if any
610 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
612 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
615 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
617 * shell.el (shell): When called interactively, offer to change the
618 shell file name on remote hosts.
620 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
622 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
623 integration for LDAP parameters. The host, base, user or binddn,
624 and secret tokens can be specified in a netrc file, for instance.
625 This is optional because an `auth-source' parameter must be
626 specified in the search attributes.
628 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
630 * help.el (describe-mode): Link to the mode's definition (bug#8185).
632 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
634 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
635 into declaration. Remove redundant and harmful binding.
637 2011-03-12 Eli Zaretskii <eliz@gnu.org>
639 * files.el (file-ownership-preserved-p): Pass `integer' as an
640 explicit 2nd argument to `file-attributes'. If the file's owner
641 is the Administrators group on Windows, and the current user is
642 Administrator, consider that a match.
644 * server.el (server-ensure-safe-dir): Consider server directory
645 safe on MS-Windows if its owner is the Administrators group while
646 the current Emacs user is Administrator. Use `=' to compare
647 numerical UIDs, since they could be integers or floats.
649 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
651 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
653 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
655 Sync with Tramp 2.2.1.
657 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
659 * net/trampver.el: Update release number.
661 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
663 * progmodes/compile.el (compilation--previous-directory): Fix up
664 various nil/dead-marker mismatches (bug#8014).
665 (compilation-directory-properties, compilation-error-properties):
666 Don't call it at a position past the one we're about to change.
668 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
669 Disable obsolescence warnings in the file that declares it.
671 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
673 * allout-widgets.el (allout-widgets-tally): Initialize
674 allout-widgets-tally as a hash table rather than nil to prevent
675 mode-line redisplay warnings.
676 Also, clarify the module description and fix a comment typo.
678 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
680 * help-fns.el (describe-variable): Don't complete keywords.
681 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
683 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
685 * emacs-lisp/package.el (package-version-join): Impose a standard
686 string representation for pre/alpha/beta version lists.
687 (package-unpack-single): Standardize the directory name by passing
688 it through package-version-join.
689 (package-strip-rcs-id): Accept any version string that does not
690 signal an error in version-to-list.
692 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
694 * simple.el (delete-trailing-whitespace): Return nil for the
695 benefit of `write-file-functions'.
697 2011-03-10 Glenn Morris <rgm@gnu.org>
699 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
701 * vc/vc-git.el (vc-git-program): New option.
702 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
703 (vc-git--call): Use it.
705 * eshell/esh-util.el (eshell-condition-case): Doc fix.
707 * cus-edit.el (Custom-newline): If no button at point, look
708 for a subgroup button at start-of-line. (Bug#2298)
710 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
712 2011-03-10 Julien Danjou <julien@danjou.info>
714 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
715 `cursor-type' is nil.
717 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
719 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
721 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
723 * allout.el Summary: Change so yank of distinctive-bullet items
724 preserves the existing header prefix, rebulleting it if necessary,
725 rather than replacing it. This is necessary for proper operation
726 of cooperative addons like allout-widgets.
727 (allout-make-topic-prefix, allout-rebullet-heading): Change
728 SOLICIT arg to INSTEAD, and interpret additionally a string value
729 as alternate bullet to be used, instead of prompting the user for
732 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
734 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
735 Do not use `tramp-file-name-port', because this returns also
736 `tramp-default-port'.
738 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
740 * net/rcirc.el (rcirc-handler-001): Remove useless
741 with-rcirc-process-buffer.
742 (rcirc-check-auth-status): Swap arguments to string-match.
744 2011-03-09 Glenn Morris <rgm@gnu.org>
746 * shell.el (shell-mode):
747 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
749 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
750 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
752 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
754 * emacs-lisp/package.el (package-refresh-contents)
755 (package-menu-execute): Use condition-case-no-debug.
757 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
759 * simple.el (shell-command-to-string): Use `process-file'.
761 * emacs-lisp/package.el (package-tar-file-info): Handle also
764 * emacs-lisp/package-x.el (package-upload-buffer-internal):
765 Use `equal' for upload base check.
767 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
769 * textmodes/texinfo.el (texinfo-environments):
770 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
772 2011-03-08 Glenn Morris <rgm@gnu.org>
774 * cus-start.el (cursor-in-non-selected-windows):
775 Fix :set quoting oddness. (Bug#8192)
777 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
778 in some setf expressions. (Bug#2159)
780 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
782 * custom.el (custom-available-themes): Return themes in
785 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
787 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
788 application of patch from Alan Mackenzie (Bug#7595).
790 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
792 * net/rcirc.el (rcirc-connect): Fix PASS bug.
794 2011-03-07 Glenn Morris <rgm@gnu.org>
796 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
797 Give an explicit error if failed to make writable. (Bug#6146)
799 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
801 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
802 Add optional `after-sunset' argument. (Bug#8190)
804 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
806 * play/morse.el (nato-alphabet, nato-region, denato-region):
807 New variable and functions. (Bug#2288)
808 (morse-region, unmorse-region): Barf if read-only.
810 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
812 * progmodes/gud.el (gdb-script-syntax-propertize-function):
813 Don't change the syntax of a \n that closes a comment (bug#8169).
815 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
817 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
819 (package--update-file): Doc fix. Accept relative file names.
820 (package--archive-contents-from-file): Remove the argument, since
821 it's necessarily always "archive-contents".
822 (package-maint-add-news-item): Pass relative file name args to
823 package--update-file.
824 (package-upload-buffer-internal): Prompt for a destination if
825 package-archive-upload-base is invalid. Create the directory if
827 (package-upload-buffer, package-upload-file): Doc fix.
829 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
831 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
832 and move isearch-yank-line to M-s C-e (Bug#8183).
834 2011-03-06 Alan Mackenzie <acm@muc.de>
836 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
837 (c-guess-basic-syntax): Move CASE 19 to a different place,
838 correctly to process template-args-cont lines.
840 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
842 * calc/calc-ext.el (calc-init-extensions):
843 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
844 and calc-nplevel, respectively. Add keybindings for calc-spn,
845 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
846 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
848 * calc/calc-units.el (calc-dblevel): Rename from
849 calc-logunits-dblevel.
850 (calc-nplevel): Rename from calc-logunits-nplevel.
851 (math-midi-round, math-freqp, math-midip, math-spnp)
852 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
853 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
854 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
855 (math-notes): New variable.
857 * calc/calc.el (calc-note-threshold): New variable.
859 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
861 * emacs-lisp/package.el (package-archives): Accept either ordinary
862 directory names, in addition to HTTP URLs.
863 (package--with-work-buffer): New macro. Handle normal directories.
864 (package-handle-response): Don't display the failing buffer.
865 (package-download-single, package-download-tar)
866 (package--download-one-archive): Use package--with-work-buffer.
867 (package-archive-base): Rename from package-archive-url.
869 2011-03-06 Glenn Morris <rgm@gnu.org>
871 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
872 (xmodmap-generic-mode): Respect generic-extras-enable-list.
874 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
876 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
878 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
880 * allout.el (allout-init, allout-prefixed-keybindings)
881 (allout-unprefixed-keybindings):
882 * progmodes/prolog.el (prolog-find-term):
883 Fix typos in docstrings.
885 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
887 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
889 2011-03-06 Kevin Ryde <user42@zip.com.au>
891 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
893 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
895 * window.el (one-window-p, walk-windows, display-buffer):
896 Doc fixes. (Bug#5567)
898 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
900 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
901 of the variable if it exists.
903 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
910 * net/tramp-cache.el:
911 * obsolete/fast-lock.el:
912 * textmodes/reftex.el:
913 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
915 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
917 * files.el (delete-directory, copy-directory, list-directory):
918 Use read-directory-name.
920 * find-file.el (ff-find-the-other-file):
921 * net/ange-ftp.el (ange-ftp-make-directory):
922 * printing.el (pr-interactive-dir):
923 * progmodes/ada-prj.el (ada-prj-load-directory):
924 * progmodes/ebnf2ps.el (ebnf-print-directory)
925 (ebnf-spool-directory, ebnf-eps-directory)
926 (ebnf-syntax-directory):
928 * speedbar.el (speedbar-create-directory):
929 * vc/emerge.el (emerge-merge-directories):
930 * vc/vc-dir.el (vc-dir):
931 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
933 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
935 * help-mode.el (help-buffer): If we are to return the current
936 buffer, signal an error if it's not in Help mode (Bug#8147).
938 2011-03-05 Reuben Thomas <rrt@sc3d.org>
940 * files.el (file-name-version-regexp): Handle backup files of the
941 form `foo.js.~HEAD~1~' (Bug#8159).
943 2011-03-05 Glenn Morris <rgm@gnu.org>
945 * eshell/esh-var.el: Don't require esh-test when compiling.
946 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
947 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
948 * eshell/esh-test.el: Move to ../../test/eshell.el.
950 2011-03-05 David Engster <deng@randomsample.de>
952 * files.el (save-some-buffers): Report the names of buffers saved
953 automatically due to buffer-save-without-query (Bug#8134).
955 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
957 * net/rcirc.el: Add QuakeNet authentication support.
958 (rcirc-authinfo, rcirc-check-auth-status)
959 (rcirc-authenticate): Support QuakeNet.
961 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
963 * net/rcirc.el: Add functionality to authenticate before
964 autojoining channels.
965 (rcirc-authenticate-before-join): New option.
966 (rcirc-authenticated-hook): New variable.
967 (rcirc-connect): Make local variable rcirc-user-authenticated.
968 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
969 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
971 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
972 Call rcirc-check-auth-status.
974 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
976 * net/soap-client.el (soap-namespace-put-link): Check if the target
977 name is fully qualified -- use only the name part.
978 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
979 types, treated the same as xsd:sequence. (Bug#8166)
981 2011-03-05 Eli Zaretskii <eliz@gnu.org>
983 * files.el (find-file-noselect): Don't ask about re-visiting
984 non-literally if the file is already visited in image-mode.
987 2011-03-05 Glenn Morris <rgm@gnu.org>
989 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
990 (eshell-mode): Use eshell-kill-buffer-function.
991 Run the -initialize functions independently of the -load-hooks.
992 * eshell/esh-proc.el (eshell-kill-process-function): New function.
993 (eshell-gather-process-output, eshell-sentinel)
994 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
995 Use eshell-kill-process-function.
996 * eshell/em-alias.el (eshell-alias-load-hook):
997 * eshell/em-banner.el (eshell-banner-load-hook):
998 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
999 * eshell/em-dirs.el (eshell-dirs-load-hook):
1000 * eshell/em-glob.el (eshell-glob-load-hook):
1001 * eshell/em-hist.el (eshell-hist-load-hook):
1002 * eshell/em-pred.el (eshell-pred-load-hook):
1003 * eshell/em-prompt.el (eshell-prompt-load-hook):
1004 * eshell/em-rebind.el (eshell-rebind-load-hook):
1005 * eshell/em-script.el (eshell-script-load-hook):
1006 * eshell/em-smart.el (eshell-smart-load-hook):
1007 * eshell/em-term.el (eshell-term-load-hook):
1008 * eshell/em-unix.el (eshell-unix-load-hook):
1009 * eshell/esh-arg.el (eshell-arg-load-hook):
1010 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1011 * eshell/esh-ext.el (eshell-ext-load-hook):
1012 * eshell/esh-io.el (eshell-io-load-hook):
1013 * eshell/esh-mode.el (eshell-exit-hook):
1014 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1015 * eshell/esh-var.el (eshell-var-load-hook):
1016 Set default hook values to nil. (Bug#5375)
1018 * eshell/esh-module.el (eshell-module-unload-hook)
1019 (eshell-modules-list): Remove leading * from defcustom docs.
1021 * eshell/esh-util.el (eshell-for): Make it obsolete.
1022 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1023 * eshell/em-dirs.el (eshell-save-some-last-dir):
1024 * eshell/em-hist.el (eshell-save-some-history)
1025 (eshell-hist-parse-modifier):
1026 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1027 (eshell-ls-entries):
1028 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1029 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1031 * eshell/esh-ext.el (eshell-find-interpreter):
1032 * eshell/esh-mode.el (eshell-mode):
1033 * eshell/esh-module.el (eshell-unload-extension-modules):
1034 * eshell/esh-proc.el (eshell-process-interact):
1035 * eshell/esh-test.el (eshell-test):
1036 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1037 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1038 (eshell-variables-list):
1039 * eshell/eshell.el (eshell-unload-all-modules):
1040 Replace eshell-for with dolist.
1042 2011-03-04 Glenn Morris <rgm@gnu.org>
1044 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1046 2011-03-04 Tom Tromey <tromey@redhat.com>
1048 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1050 2011-03-04 Glenn Morris <rgm@gnu.org>
1052 * outline.el (outline-regexp): No longer allow nil.
1053 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1055 * net/browse-url.el (browse-url):
1056 Handle deleted default-directory. (Bug#6077)
1058 * recentf.el (recentf-include-p): In case of a buggy predicate,
1059 err on the side of including, not excluding. (Bug#5843)
1061 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1063 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1066 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1068 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1069 if there is no node. (Bug#3261)
1071 2011-03-04 Leo <sdl.web@gmail.com>
1073 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1075 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1077 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1079 * cus-edit.el (custom-buffer-create-internal):
1080 Split search string before passing it to `customize-apropos' (bug#8136).
1082 2011-03-04 Drew Adams <drew.adams@oracle.com>
1084 * image-dired.el (image-dired-cmd-read-exif-data-options):
1085 Fix typo in docstring (bug#8156).
1087 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1089 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1091 2011-03-03 Christian Ohler <ohler@gnu.org>
1093 * emacs-lisp/ert.el (ert--explain-equal): New function.
1094 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1095 All callers changed.
1096 (ert--explain-equal-including-properties): Rename from
1097 `ert--explain-not-equal-including-properties'. All callers
1100 2011-03-03 Christian Ohler <ohler@gnu.org>
1102 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1103 (ert-char-for-test-result, ert-string-for-test-result)
1104 (ert-run-tests-batch, ert--print-test-for-ewoc):
1105 Handle `ert-test-quit'.
1107 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1109 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1110 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1112 2011-03-03 Glenn Morris <rgm@gnu.org>
1114 * files.el (file-truename): Doc fix. (Bug#2341)
1116 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1118 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1120 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1122 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1123 programs output backslashes. (Bug#7663)
1125 2011-03-03 Glenn Morris <rgm@gnu.org>
1127 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1128 (mail-mode): Remove mail-sent-via from the doc.
1129 (mail-sent-via): Make it obsolete. (Bug#1776)
1131 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1132 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1134 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1135 with no parents. (Bug#8025)
1137 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1139 * password-cache.el (password-in-cache-p): Add autoload.
1141 2011-03-02 Glenn Morris <rgm@gnu.org>
1143 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1144 * dired-x.el (Man-support-local-filenames): Autoload it.
1145 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1147 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1149 (dired-smart-shell-command): Just call dired-current-directory.
1151 * dired-x.el (dired-jump-other-window): Add autoload.
1152 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1153 (dired-default-directory-alist): Mark as risky.
1155 * dired-x.el (dired-omit-here-always): Make it obsolete.
1157 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1159 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1160 (artist-select-op-pen-line): New function.
1161 (artist-menu-map): New variable.
1162 (artist-mode-map): Add a menu to the menu-bar.
1164 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1166 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1169 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1171 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1172 (math-logunits-quant, math-logunits-level):
1173 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1175 (math-logunits-level): Extract units from ratio.
1177 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1179 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1181 2011-03-01 Glenn Morris <rgm@gnu.org>
1183 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1184 (diary-hebrew-birthday): Rename and rework functions added
1187 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1189 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1190 (diary-hebrew-birthday): New functions.
1192 2011-03-01 Glenn Morris <rgm@gnu.org>
1194 * dired.el (dired-safe-switches-p): Beef it up.
1195 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1197 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * dired.el (dired-safe-switches-p): New function.
1201 2011-03-01 Glenn Morris <rgm@gnu.org>
1203 * files.el (dir-locals-collect-variables):
1204 Add the ability to exclude subdirectories. (Bug#8100)
1206 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1208 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1210 * ido.el (ido-everywhere): Doc fix.
1211 (ido-mode): Doc fix.
1213 2011-02-28 Glenn Morris <rgm@gnu.org>
1215 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1217 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1219 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1222 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1224 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1226 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1228 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1229 Fix typos in docstrings.
1231 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1233 * dired-aux.el (dired-update-file-line):
1234 Fix 2010-11-09 change. (Bug#8131)
1236 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1238 * international/mule-cmds.el (set-default-coding-systems): Use the
1239 -unix variant of encoding in default-keyboard-coding-system.
1242 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1244 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1246 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1248 * term/screen.el: New file (Bug#2650).
1250 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1252 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1253 (pcase-mutually-exclusive-predicates): New var.
1254 (pcase--split-consp, pcase--split-pred): Use it.
1255 (pcase--split-equal, pcase--split-member): When splitting against
1256 a pure predicate, run it to know the outcome.
1257 (pcase--u1): Mark vars that are actually used.
1258 (pcase--q1): Avoid introducing unused vars.
1260 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1262 * calc/calc-ext.el (calc-init-extensions):
1263 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1265 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1268 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1269 argument is a variable.
1271 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1274 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1275 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1277 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1279 * password-cache.el (password-in-cache-p): Convenience function to
1280 check if a key is in the cache, even if the value is nil.
1282 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1284 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1285 (package--archive-contents-from-file): New functions.
1286 (package-update-news-on-upload): New var.
1287 (package-upload-buffer-internal): Extract archive-contents from
1288 package-archive-upload-base if it is not found at archive-url.
1289 Obey package-update-news-on-upload.
1290 (package-upload-buffer, package-upload-file): Doc fix.
1292 2011-02-24 Glenn Morris <rgm@gnu.org>
1294 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1295 the cache, and from non-file sources.
1297 * help-fns.el (describe-variable): Return consistent results when a
1298 dir-local from a file came from the cache or did not. (Bug#8095)
1299 If a dir-local has no associated file, say it came from a "directory".
1301 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1302 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1304 * files.el (dir-locals-find-file): Doc fix.
1305 Fix the check for cache elements that have no associated file,
1306 and the mtime check for those that do. (Bug#8095)
1308 * dired-x.el (dired-hack-local-variables):
1309 Handle interrupts during hacking local variables. (Bug#5216)
1311 * emacs-lisp/autoload.el (autoload-save-buffers)
1312 (autoload-find-destination, update-directory-autoloads):
1313 Avoid prompts when updating autoloads.
1315 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1317 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1319 2011-02-23 Kenichi Handa <handa@m17n.org>
1321 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1322 error when a multipart boundary in the nested multipart is found.
1324 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1327 2011-02-23 Glenn Morris <rgm@gnu.org>
1329 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1330 * dired-x.el (dired-omit-mode): Safe if boolean.
1331 (dired-enable-local-variables): Fix doc and custom type.
1332 (dired-enable-local-variables, dired-local-variables-file)
1333 (dired-hack-local-variables): Make obsolete.
1334 (dired-omit-here-always): Use dir-locals.el instead.
1336 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1338 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * help-fns.el (describe-function-1): Don't signal an error just because
1341 the DOC file disappeared.
1343 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1345 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1346 remote check to "ftp". (Bug#8089)
1348 2011-02-21 Alan Mackenzie <acm@muc.de>
1351 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1352 in macros finding their way into c-state-nonlit-pos-cache.
1353 Strengthen the comments.
1354 (c-state-dump): New commented out diagnostic routine.
1356 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1358 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1359 `field' property of `rfn-eshadow-overlay'.
1361 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1363 * net/netrc.el (netrc-parse): Comment fix.
1365 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1367 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1368 Autoload. Add optional arg FRAME, and pass it to color-values.
1369 (color-complement): Caller changed. Doc fix.
1370 (color-gradient): Rewrite for better clarity and efficiency.
1372 * faces.el (color-values): Use cond for clarity. Doc fix.
1374 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1376 (list-colors-sort-key, list-colors-print):
1377 Use color-normalized-values.
1379 2011-02-20 Drew Adams <drew.adams@oracle.com>
1381 * color.el: First part of merge from hexrgb.el.
1382 (color-rgb-to-hex): Rename from color-rgb->hex.
1383 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1384 saturation to zero if the value is too small.
1385 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1386 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1387 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1388 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1389 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1390 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1391 (color-cie-de2000): Doc fix.
1393 2011-02-20 Alan Mackenzie <acm@muc.de>
1395 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1396 locating the beginning of a macro. (Bug#7595)
1398 2011-02-20 Glenn Morris <rgm@gnu.org>
1400 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1403 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1404 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1406 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1407 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1409 * progmodes/hideshow.el (hs-find-block-beginning)
1410 (hs-hide-level-recursive): Ignore comments when parsing braces
1413 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1415 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1416 (vc-bzr-pull): Use it.
1418 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1420 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1421 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1422 but returning an alist. Ignore comments in bzr conffile.
1423 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1424 (vc-bzr-error-regex-alist): New var.
1425 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1427 * vc/vc-dispatcher.el (vc-do-async-command):
1428 Bind inhibit-read-only to t.
1430 * progmodes/compile.el (compilation--flush-directory-cache):
1431 Handle the case where cdr of compilation--flush-directory-cache
1432 points to no buffer, which can occur if we previously switched to
1433 compilation-mode in a pregenerated buffer.
1435 2011-02-19 Kenichi Handa <handa@m17n.org>
1437 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1438 get the header copy into the temporary buffer.
1439 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1440 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1441 buffer-file-coding-system to undecided.
1443 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1445 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1446 Document completion with asterisk and a substring.
1448 2011-02-19 Glenn Morris <rgm@gnu.org>
1450 * files.el (find-file-literally): Doc fix.
1452 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1454 * log-edit.el (log-edit-insert-changelog):
1455 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1457 2011-02-19 Glenn Morris <rgm@gnu.org>
1459 * dired-x.el: Don't require dired-aux.
1460 (dired-do-create-files, dired-mark-read-regexp)
1461 (dired-do-create-files-regexp): Autoload from dired-aux.
1463 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1464 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1466 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1467 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1469 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1470 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1471 (dired-clean-up-buffers-too): Declare.
1473 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1474 * dired.el (dired-initial-position): Merge dired-x's version here.
1475 (dired-find-subdir): Declare.
1477 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1478 * dired-aux.el (dired-add-entry): Give it a doc-string.
1479 Merge dired-x's dired-omit handling here.
1480 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1482 * international/mule-diag.el (list-input-methods-1):
1483 Indent all lines of multi-line doc-strings. (Bug#8066)
1485 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1487 Fix 2011-02-02 changes.
1489 * apropos.el (apropos-print): Call apropos-mode before setting up
1490 buffer variables. Use inhibit-read-only.
1492 * emacs-lisp/package.el (package--list-packages):
1493 Call package-menu-mode before setting up buffer variables.
1495 * play/solitaire.el (solitaire): Call solitaire-mode before
1496 setting up buffer variables. Use inhibit-read-only.
1498 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1500 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1501 Bind case-fold-search to nil when looking for end of here-doc.
1503 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1505 * image-mode.el (image-toggle-display-image):
1506 Set find-file-literally non-nil in buffers visiting binary image
1509 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1511 * files.el (cd): Make completion obey cd-path (bug#7924).
1513 2011-02-18 Glenn Morris <rgm@gnu.org>
1515 * progmodes/prolog.el: Don't require compile when compiling.
1516 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1517 (compilation-forget-errors, compilation-fake-loc)
1518 (compilation-parse-errors-function, compilation-error-list): Declare.
1519 (prolog-inferior-mode): Require 'compile.
1521 * emulation/cua-base.el (pc-selection-mode): Declare.
1523 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1524 (customize-object): Add autoload cookie.
1525 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1526 (eieio-browse, describe-class, eieio-describe-class)
1527 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1528 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1529 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1530 * Makefile.in (autoloads): Make eieio.el writable.
1532 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1533 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1534 (dired-hack-local-variables): Use inhibit-read-only.
1535 (dired-guess-default): Simplify.
1536 (dired-make-relative-symlink): Use dotimes.
1537 (dired-simultaneous-find-file): Use dolist.
1538 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1539 (dired-x-hands-off-my-keys): Doc fix.
1540 (dired-x-bind-find-file): Doc fix. Use remapping.
1541 (after-init-hook): No need to add dired-x-bind-find-file.
1542 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1543 No need to call expand-file-name.
1544 (dired-filename-at-point): Remove unused locals `end', `filename'.
1546 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1550 2011-02-18 Christian Ohler <ohler@gnu.org>
1552 * emacs-lisp/ert.el (ert--setup-results-buffer)
1553 (ert-results-pop-to-backtrace-for-test-at-point)
1554 (ert-results-pop-to-messages-for-test-at-point)
1555 (ert-results-pop-to-should-forms-for-test-at-point)
1556 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1557 were incorrect and unnecessary. This should make `make check'
1560 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1562 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1563 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1564 * lisp/allout.el: Remove commentary about remove encryption
1565 passphrase mnemonic support and verification.
1566 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1567 armored text using gpg1, and indicate that the gpg version *might*
1568 be the problem in the error message.
1570 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1572 * net/rcirc.el (rcirc-float-time): New function.
1573 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1574 (rcirc-ctcp-sender-PING): Use it.
1576 2011-02-17 Glenn Morris <rgm@gnu.org>
1578 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1579 (speedbar-update-flag, speedbar-fetch-etags-command)
1580 (speedbar-fetch-etags-arguments):
1581 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1582 (term-completion-autolist, term-completion-addsuffix)
1583 (term-completion-recexact, term-completion-fignore):
1584 * term/sup-mouse.el (sup-mouse-fast-select-window):
1585 * term/x-win.el (x-select-request-type):
1586 Convert some defvars with "*" to defcustoms.
1588 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1590 * vc/vc.el (vc-default-previous-version):
1591 Remove alias that points nowhere. (Bug#4496)
1593 * dired-x.el (dired-clean-up-after-deletion):
1594 kill-buffer does not need save-excursion.
1595 (dired-do-run-mail): Doc fix.
1596 (dired-filename-at-point): Doc fix.
1597 Use looking-at, and skip-chars rather than re search.
1599 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1601 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1603 * allout-widgets.el: New allout extension that shows allout
1604 outline structure with graphical widgets. 'allout-widgets'
1605 customize group is an 'allout' subgroup, for easy discovery.
1607 * allout.el: Include PGP and GnuPG in Keywords, and other
1608 commentary refinements.
1609 (allout-abbreviate-flattened-numbering): Rename to
1610 allout-flattened-numbering-abbreviation, and
1611 define-obsolete-variable-alias the old name.
1612 (allout-flattened-numbering-abbreviation): Rename from
1613 allout-abbreviate-flattened-numbering.
1614 (allout-mode-p): Include among autoloads, for use by other modes
1616 (allout-listify-exposed):
1617 Use allout-flattened-numbering-abbreviation.
1618 (allout-encrypt-string): Use set-buffer-multibyte directly.
1619 (allout-set-buffer-multibyte): Remove.
1621 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1623 * simple.el (just-one-space): Remove useless `or' call.
1625 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1627 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1628 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1629 (soap-decoded-multi-refs, soap-current-wsdl)
1630 (soap-encoded-namespaces): Rename CL-style *...* variables.
1632 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1634 * net/soap-client.el: Add "comm" and "hypermedia" to the
1635 keywords. Reflow too long lines.
1637 * net/soap-inspect.el: Ditto. Require 'cl.
1639 2011-02-16 Bastien Guerry <bzg@altern.org>
1641 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1642 in a `doctor-type' argument.
1644 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1646 * net/soap-client.el:
1647 * net/soap-inspect.el: New files.
1649 2011-02-16 Leo <sdl.web@gmail.com>
1651 * dired-x.el (dired-mode-map, dired-extra-startup):
1652 Remove dired-copy-filename-as-kill since it's already in dired.el.
1654 2011-02-16 Glenn Morris <rgm@gnu.org>
1656 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1657 Doc fixes. Add :set property, replacing top-level calls.
1658 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1659 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1660 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1661 (dired-clean-up-after-deletion): Use when and dolist.
1662 (dired-jump): Use unless and when.
1663 (dired-virtual): Use line-end-position.
1664 (dired-default-directory-alist): Rename from default-directory-alist.
1665 (dired-default-directory): Update for above name change.
1666 (dired-vm): Drop VM < 5 and simplify.
1667 (dired-buffer-more-recently-used-p): Rewrite.
1668 (dired-filename-at-point): Use when and or.
1669 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1672 2011-02-15 Glenn Morris <rgm@gnu.org>
1674 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1676 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1678 * vc/vc-git.el (vc-git-root-log-format): New option for
1679 customizing log format.
1680 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1681 (vc-git-log-view-mode): Use it.
1682 (vc-git-expanded-log-entry): New function.
1683 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1685 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1686 customizing log format.
1687 (vc-hg-print-log): Use it.
1688 (vc-hg-expanded-log-entry): New function.
1689 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1690 vc-hg-expanded-log-entry. Truncate lines in root log.
1692 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1694 * vc/log-view.el (log-view-mode-menu):
1695 Add log-view-toggle-entry-display.
1697 2011-02-14 Glenn Morris <rgm@gnu.org>
1699 * dired-x.el: Don't require man when compiling.
1700 (dired-omit-extensions, dired-local-variables-file)
1701 (dired-x-hands-off-my-keys): Make them defcustoms.
1702 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1703 (vm-visit-folder): Declare rather than defining.
1704 (dired-x-help-address, dired-x-variable-list): Remove.
1705 (dired-x-submit-report): Make it an obsolete alias.
1707 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1709 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1711 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1713 * net/imap.el: Bring it back.
1715 2011-02-13 Alan Mackenzie <acm@muc.de>
1717 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1718 narrow-to-region call that cuts context off the end (Bug#7722).
1720 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1721 Refactor nested if-forms with a simple cond.
1722 (c-forward-<>-arglist): Revert 2011-01-31 change.
1724 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1726 * vc/log-view.el: New command log-view-toggle-entry-display for
1727 toggling log entries between concise and detailed forms.
1728 (log-view-toggle-entry-display): New command.
1729 (log-view-mode-map): Bind RET to it.
1730 (log-view-expanded-log-entry-function): New variable.
1731 (log-view-current-entry, log-view-inside-comment-p)
1732 (log-view-current-tag): New functions.
1733 (log-view-toggle-mark-entry): Use log-view-current-entry and
1734 log-view-end-of-defun instead of searching directly with
1735 log-view-message-re.
1736 (log-view-end-of-defun): Likewise. Add optional ARG for
1737 compatibility with end-of-defun.
1738 (log-view-end-of-defun): Ignore comments and VC buttons.
1740 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1741 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1743 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1745 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1747 * net/imap-hash.el: Remove file.
1749 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1751 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1753 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1756 * net/tramp-imap.el: Remove file.
1758 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1760 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1761 widget library for buttons, just use button.el.
1763 * vc/log-view.el (log-view-mode-map): Don't inherit from
1766 2011-02-12 Glenn Morris <rgm@gnu.org>
1768 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1769 (nintersection, set-difference, nset-difference)
1770 (set-exclusive-or, nset-exclusive-or): Doc fix.
1772 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1774 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1775 :italic props, so that frame-set-background-mode works. (Bug#7966)
1777 * simple.el (next-error): Doc fix.
1779 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1781 * dired-aux.el (dired-create-files): Adapt destination name to
1782 match the new behavior of copy-directory.
1784 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1786 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1787 from rmail-dont-reply-to-names. Callers changed.
1788 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1789 (rmail-dont-reply-to): Make it an obsolete alias.
1791 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1792 nil, and make obsolete (Bug#7888).
1793 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1795 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1797 * mail/rmailsort.el (rmail-sort-by-correspondent)
1798 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1800 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1802 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1804 * files.el (copy-directory): New argument COPY-CONTENTS for
1805 copying directory contents into another existing directory.
1807 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1809 * minibuffer.el (completion-table-case-fold): New function for
1810 creating a case-insensitive completion table.
1812 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1814 * net/tramp.el (tramp-default-method): Also check if
1815 `auth-source-search' is bound.
1816 (tramp-read-passwd): Use `auth-source-search' instead of
1817 `auto-source-user-or-password'.
1819 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1820 `auto-source-user-or-password.
1821 (tramp-imap-passphrase-callback-function): Use it.
1823 * net/imap-hash.el: Autoload `auto-source-search' instead of
1824 `auto-source-user-or-password.
1825 (imap-hash-open-connection): Use it.
1827 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1828 `auto-source-user-or-password.
1829 (smtpmail-try-auth-methods): Use it.
1831 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1833 * emacs-lisp/package.el: Allow packages to be reinstalled.
1834 (package--write-file-no-coding): Remove EXCL arg.
1835 (package-unpack-single): Don't use it.
1837 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1839 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1840 in each sub directory.
1841 (vc-svn-registered): Use vc-svn-root.
1842 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1843 (vc-svn-repository-hostname): Use "svn info".
1845 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1847 * simple.el (delete-trailing-whitespace): New optional buffer
1850 2011-02-11 Bastien Guerry <bzg@altern.org>
1852 * files.el (basic-save-buffer): save unmodified buffers when
1853 the file pointed by buffer-file-name doesn't exist.
1855 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1857 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1859 2011-02-11 Glenn Morris <rgm@gnu.org>
1861 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1863 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1865 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1867 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * server.el (server-process-filter): Use pcase.
1871 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1873 (smie-indent--parent): Extend to "parent of arg".
1874 (smie-indent-inside-string): New function.
1875 (smie-indent-functions): Use it.
1877 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1878 bzr locking race condition.
1880 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1881 still valid before using it.
1883 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1884 `message' -> `compilation-message' rename (bug#8004).
1886 Move keymap initialization into declaration.
1887 * textmodes/enriched.el (enriched-mode-map):
1888 * textmodes/bib-mode.el (bib-mode-map):
1889 * term/lk201.el (lk201-function-map):
1890 * tar-mode.el (tar-mode-map):
1891 * replace.el (occur-mode-map):
1892 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1893 * progmodes/idlw-help.el (idlwave-help-mode-map):
1894 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1895 * play/solitaire.el (solitaire-mode-map):
1896 * play/snake.el (snake-mode-map, snake-null-map):
1897 * play/pong.el (pong-mode-map):
1898 * play/handwrite.el (menu-bar-handwrite-map):
1899 * play/gametree.el (gametree-mode-map):
1900 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1901 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1902 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1903 (newsticker--url-keymap):
1904 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1905 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1906 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1907 (menu-bar-edit-menu, menu-bar-custom-menu)
1908 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1909 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1910 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1911 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1912 (menu-bar-tools-menu, menu-bar-describe-menu)
1913 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1914 (menu-bar-help-menu):
1915 * mail/rmailsum.el (rmail-summary-mode-map):
1916 * kmacro.el (kmacro-step-edit-map):
1917 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1918 (ibuffer-mode-operate-map):
1919 * hi-lock.el (hi-lock-menu, hi-lock-map):
1920 * emulation/vip.el (vip-mode-map):
1921 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1922 * bookmark.el (bookmark-bmenu-mode-map):
1923 * help-mode.el (help-mode-map): Move initialization into declaration.
1925 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1927 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1928 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1929 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1930 (rcirc-cmd-me, rcirc-authenticate): Use them.
1932 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1934 * allout.el: Synopsis: Change allout user configuration so
1935 auto-activation is controlled solely by customization
1936 `allout-auto-activation'.
1938 (allout-auto-activation-helper, allout-setup): New autoloads
1939 implement new custom set procedure for allout-auto-activation.
1940 Also, explicitly invoke (allout-setup) after allout-auto-activation
1941 is custom-defined, to affect the settings in emacs sessions besides
1942 the few where allout-auto-activation customization is done.
1943 (allout-auto-activation): Use allout-auto-activation-helper to
1944 :set. Revise the docstring.
1945 (allout-init): Reduce functionality to just customizing
1946 allout-auto-activation, and mark obsolete.
1947 (allout-mode): Respect string values for allout-auto-activation.
1948 Run allout-after-copy-or-kill-hook without any args.
1949 (allout-mode, allout-layout, allout-default-layout)
1950 (outlineify-sticky): Adjust docstring for new scheme.
1951 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1952 should concentrate on the kill ring.
1954 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1956 * password-cache.el (password-cache-remove): Accept secrets that are
1959 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1962 of here-doc that immediately follows a comment.
1964 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1966 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1968 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1970 (rcirc-ctcp-sender-PING): New function.
1972 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1975 Remove the mark/nomark handling, and activate shift-select-mode instead.
1977 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1979 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1981 * calc/calc-units.el (math-logunits-quant): Add support for
1982 non-logarithmic units.
1984 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1986 * allout.el (allout-after-copy-or-kill-hook): New hook for
1987 extension-specific processing of killed text.
1988 (allout-mode): Include new allout-after-copy-or-kill-hook among
1990 (allout-kill-line, allout-kill-topic): Ensure that processing
1991 after kill happens even if barf-if-buffer-read-only is raised.
1992 Include new allout-after-copy-or-kill-hook among that subsequent
1994 (allout-deannotate-hidden): Actually remove the annotation text
1997 * allout.el (allout-listify-exposed): Copy text sans text properties.
1999 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2001 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2003 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2005 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2007 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2009 * calc/calc.el (calc-logunits-field-reference): Rename from
2010 `calc-default-field-reference-level'.
2011 (calc-logunits-power-reference): Rename from
2012 `calc-default-power-reference-level'.
2014 * calc/calc-units.el (math-logunits-quant): Rename from
2015 `math-logunits-level'
2016 (math-logunits-plus): Rename from math-logcombine.
2017 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2018 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2019 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2021 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2022 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2023 (calc-logunits-quantity): Rename from `calc-level'.
2024 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2025 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2026 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2027 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2028 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2031 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2032 (calc-ul-prefix-help): Remove.
2033 (calc-l-prefix-help): New function.
2034 (calc-full-help): Add reference to `calc-l-prefix-help'.
2036 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2038 * calc/README: Mention logarithmic units.
2040 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2042 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2043 non-ASCII characters (Bug#7925).
2045 2011-02-05 Glenn Morris <rgm@gnu.org>
2047 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2049 * calendar/diary-lib.el (diary-font-lock-keywords):
2050 Tweak diary-time-regexp match. (Bug#7891)
2052 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2053 (f90-mode): Use it for mode's `find-tag-default-function' property.
2055 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2057 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2059 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2061 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2064 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2066 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2067 font-lock-syntax-table remappings.
2068 (sh-here-doc-markers, sh-here-doc-re): Remove.
2069 (sh-font-lock-close-heredoc): Remove.
2070 (sh-syntax-propertize-here-doc): New function.
2071 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2072 instead of the sh-here-doc-re.
2073 (sh-font-lock-paren): Don't do anything in comments or strings.
2074 Handle line continuations. Accept a few more chars.
2075 Don't rely on the font-lock-syntax-table remappings.
2076 `esac' is not a valid pattern.
2077 (sh-syntax-propertize-function): Handle here-docs differently, so we
2078 don't bother syntax-propertizing the insides.
2080 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2081 Handle new bashisms ";&" and ";;&" (bug#7947).
2083 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2085 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2086 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2088 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2090 * net/tramp.el (tramp-postfix-method-format)
2091 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2092 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2093 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2094 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2095 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2098 2011-02-04 Sam Steingold <sds@gnu.org>
2100 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2102 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2104 * international/mule-util.el (with-coding-priority): Doc fix.
2106 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2108 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2110 2011-02-03 Sam Steingold <sds@gnu.org>
2112 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2113 Do not error out when `func' is nil.
2115 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2117 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2118 `tramp-default-remote-path' to the docstring.
2119 (tramp-get-remote-path): Suppress error message when `getconf
2122 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2124 2011-02-03 Glenn Morris <rgm@gnu.org>
2126 * vc/vc-hg.el (vc-hg-command): Doc fix.
2128 * term/w32-win.el (libpng-version): Declare for compiler.
2130 * msb.el: No need to load dired while compiling.
2132 * emacs-lisp/elint.el (elint-standard-variables):
2133 Remove a couple of built-ins that now have doc-strings.
2135 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2136 `require' is automatically `eval-and-compile'd.
2138 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2139 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2141 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2142 Move definition before use.
2143 (strokes-report-bug): Make it obsolete.
2145 2011-02-02 Sam Steingold <sds@gnu.org>
2147 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2148 from `special-mode', entering it makes the buffer read-only, so
2149 call it only when everything has been already inserted.
2150 * emacs-lisp/ert.el (ert--setup-results-buffer)
2151 (ert-results-pop-to-backtrace-for-test-at-point)
2152 (ert-results-pop-to-messages-for-test-at-point)
2153 (ert-results-pop-to-timings): Ditto.
2154 * emacs-lisp/package.el (package--list-packages): Ditto.
2155 * play/solitaire.el (solitaire): Ditto.
2157 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2159 * progmodes/compile.el: Make all faces inherit.
2160 (compilation-warning): Inherit from font-lock-variable-name-face.
2161 (compilation-info): Inherit from font-lock-type-face.
2162 (compilation-line-number): Reassign to font-lock-keyword-face.
2163 (compilation-column-number): Reassign to font-lock-doc-face.
2164 (compilation-leave-directory-face): Reassign to
2165 font-lock-builtin-face.
2167 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2169 * dired.el (dired-insert-directory): Don't invoke `ls' when
2170 ls-lisp.el is used to emulate it.
2172 2011-02-01 Julien Danjou <julien@danjou.info>
2174 * color.el (color-gradient): Add a color-gradient function.
2176 2011-02-01 Sam Steingold <sds@gnu.org>
2178 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2179 bind "z" to `kill-this-buffer'.
2180 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2181 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2182 (apropos-mode): Inherit from `special-mode'.
2183 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2184 * bookmark.el (bookmark-bmenu-mode): Define using
2185 `define-derived-mode' inheriting from `special-mode'.
2186 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2187 * image-mode.el (image-mode-map): Ditto.
2188 * replace.el (occur-mode): Define using
2189 `define-derived-mode' inheriting from `special-mode'.
2190 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2191 * calendar/diary-lib.el (diary-fancy-display-mode):
2192 Inherit from `special-mode-map'.
2193 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2194 Inherit from `special-mode'.
2195 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2197 (package-menu-mode): Define using `define-derived-mode'
2198 inheriting from `special-mode'.
2199 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2200 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2201 (xesam-mode-map): Define separately.
2202 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2203 * progmodes/compile.el (compilation-minor-mode-map)
2204 (compilation-mode-map): Inherit from `special-mode-map'.
2205 * vc/diff-mode.el (diff-mode-shared-map):
2206 Inherit from `special-mode-map'.
2207 * vc/log-view.el (log-view-mode-map): Add a comment.
2209 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2211 * custom.el (load-theme): Define return value. Drop use of
2212 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2213 (custom-theme-load-confirm): Scroll in the correct window.
2214 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2216 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2217 checkbox if load-theme fails.
2219 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2221 * progmodes/compile.el (compilation-next-error): Check there's
2222 a message before using it (bug#7941).
2224 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2226 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2227 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2228 of potential pivots.
2230 2011-01-31 Alan Mackenzie <acm@muc.de>
2232 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2233 Continue parsing if we encounter a naked # (Bug#7595).
2234 (c-beginning-of-statement): Avoid loop in locating the beginning
2235 of a macro. (Not actually committed until 2011-02-20, see above).
2237 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2239 * files.el (copy-directory): Fix arguments to recursive call.
2241 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2243 * files.el (copy-directory): If destination is an existing
2244 directory, copy into a subdirectory there.
2246 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2248 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2251 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2253 * image-dired.el (image-dired-mouse-display-image): No-op if no
2254 file is found (Bug#7817).
2256 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2258 2011-01-31 Kenichi Handa <handa@m17n.org>
2260 * international/quail.el (quail-keyboard-layout-alist):
2261 Remove superfluous SPC for "pc105-uk" (bug#7927).
2263 2011-01-31 Glenn Morris <rgm@gnu.org>
2265 * msb.el (msb-menu-bar-update-buffers): Update for changed
2266 argument handling of menu-bar-select-frame. (Bug#7902)
2268 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2270 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2271 to the recursion depth (Bug#7722).
2273 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2275 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2276 command-line-default-directory (Bug#7872).
2278 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * progmodes/compile.el (compilation--flush-directory-cache):
2281 New function, extracted from compilation--remove-properties.
2282 (compilation--remove-properties, compilation--parse-region): Use it.
2283 (compilation--previous-directory): Handle one more case.
2284 (compilation-enable-debug-messages): Remove.
2285 (compilation-parse-errors, compilation--flush-parse): Just remove the
2286 left over debug messages.
2288 2011-01-31 Sam Steingold <sds@gnu.org>
2290 * progmodes/compile.el (compilation-enable-debug-messages):
2291 Add a variable to make the parsing messages introduced in
2292 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2293 (compilation-parse-errors, compilation--flush-parse): Use it.
2295 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2297 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2298 (rcirc-nick-completion-format): New defcustom.
2299 (rcirc-complete): Use it.
2301 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2303 * net/rcirc.el: Clean log filenames (Bug#7933).
2304 (rcirc-log-write): Use convert-standard-filename.
2305 (rcirc-log-filename-function): Documentation updates.
2307 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2309 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2310 Check report-emacs-bug-can-use-osx-open and use that if t.
2311 (report-emacs-bug-can-use-osx-open): New function.
2312 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2313 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2315 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2317 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2318 updating Dired or VC-dir buffers after async command completes.
2320 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2321 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2323 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2324 completions if it exists. Use vc-set-async-update.
2325 (vc-git-pull): Use vc-set-async-update.
2327 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2328 read-shell-command. Use vc-set-async-update.
2329 (vc-hg-merge-branch): Use vc-set-async-update.
2331 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2333 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2334 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2337 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2339 * progmodes/compile.el: Avoid an N² behavior in grep.
2340 (compilation--previous-directory): New fun.
2341 (compilation--previous-directory-cache): New var.
2342 (compilation--remove-properties): Flush it.
2343 (compilation-directory-properties, compilation-error-properties):
2344 Use the new fun to speed up looking for the current directory.
2346 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2348 * vc/vc-hg.el (vc-hg-history): New var.
2349 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2350 (vc-hg-merge-branch): New function.
2352 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2353 the other way around.
2355 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2356 (vc-git-merge-branch): New functions.
2357 (vc-git-history): New var.
2359 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2361 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2363 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2364 vc-do-async-command.
2366 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2369 2011-01-28 Leo <sdl.web@gmail.com>
2371 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2372 highlighting to the "this function is advised" message.
2374 * help-mode.el (help-mode-finish): Apply highlighting here, to
2375 avoid clobbering by substitute-command-keys (Bug#6304).
2377 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2379 * woman.el (woman0-roff-buffer): Process roff escape sequences
2380 occurring prior to the first request (Bug#7843).
2382 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2384 * progmodes/compile.el: Don't use font-lock any more.
2385 (compilation-error-regexp-alist-alist): Change handling of makepp
2386 so it preserves the warning/error distinction on subsequent files.
2387 Simplify various rules.
2388 (compilation-directory-properties): Use font-lock-face.
2389 Add a compilation-message property.
2390 (compilation-internal-error-properties): Use font-lock-face.
2391 Don't set the compilation-debug property here.
2392 (compilation--put-prop, compilation--remove-properties)
2393 (compilation--parse-region, compilation--ensure-parse)
2394 (compilation--ensure-parse): New functions.
2395 (compilation-parse-errors): New function, largely inspired of
2396 compilation-mode-font-lock-keywords. Set compilation-debug here.
2397 (compilation--parsed): New var.
2398 (compilation--flush-parse): Use compilation--ensure-parse.
2399 (compilation-start): Don't call font-lock.
2400 (compilation-turn-on-font-lock): Remove.
2401 (compilation-setup): Don't set font-lock-extra-managed-props not change
2402 other font-lock settings, other than keywords.
2403 Don't activate font-lock-mode.
2404 Set change-major-mode-hook and before-change-functions.
2405 (compilation--unsetup): Remove properties and hooks.
2406 (compilation-next-single-property-change): New function.
2407 (compilation-next-error): Use it to parse when needed.
2408 (compile-goto-error): Parse buffer as needed.
2409 (compilation--compat-error-properties): Don't need a dummy `face'
2412 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2415 (compilation-process-setup-function): Fix docstring's false promises.
2416 (compilation-error-regexp-alist-alist): Catch omake's continuous
2417 recompilation message and avoid reuse of old markers.
2418 (compilation-parse-errors-function): Declare obsolete.
2419 (compilation-buffer-modtime): Remove.
2420 (compilation--make-cdrloc, compilation--loc->col)
2421 (compilation--loc->line, compilation--loc->file-struct)
2422 (compilation--loc->marker, compilation--loc->visited)
2423 (compilation--make-file-struct, compilation--file-struct->file-spec)
2424 (compilation--file-struct->formats)
2425 (compilation--file-struct->loc-tree): New macros. Use them.
2426 (compilation--message): New defstruct. Use them.
2427 (compilation-next-error-function): Don't mess with timestamps to try
2428 and guess when to reparse.
2430 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2433 (tex-old-error-file-name): New function,
2434 extracted from tex-compilation-parse-errors.
2435 (tex-compilation-parse-errors): Remove.
2436 (tex-error-regexp-alist): New var.
2437 (tex-shell): Use it to avoid compilation-parse-errors-function.
2439 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2440 (grep-mode-font-lock-keywords): Remove regexp that seems like
2441 a left-over from before we used compile.el.
2442 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2443 modifying the buffer within with-silent-modifications.
2445 * progmodes/compile.el: Cleanup text-properties namespace by using
2446 `compilation-message' instead of `message', `compilation-directory'
2447 instead of `directory', and `compilation-debug' instead of `debug'.
2448 (compilation-last-buffer, compilation-parsing-end)
2449 (compilation-error-list, compilation-old-error-list): Move to the
2450 compatibility part of the code.
2451 (compilation-error-properties): If `file' is a function, let it return
2453 (compilation-mode-font-lock-keywords): Be more conservative with the
2454 omake "^ *" pattern prefix, to try and minimize the risk of
2455 pathologically slow regexp matching.
2456 (compilation-start): Use inhibit-read-only.
2457 (compilation--unsetup): New function.
2458 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2459 (compilation-filter): Minor tweaks.
2460 (compilation-next-error-function): Try and avoid abusing variables.
2461 (compilation--flush-file-structure): New fun.
2462 (compilation-fake-loc): Use it to improve behavior when file is reused.
2463 (debug-ignored-errors): Add "Moved past last ...".
2464 (compilation--compat-error-properties)
2465 (compilation--compat-parse-errors): Rename by doubling the "-".
2467 Port features from the previous prolog.el to the new one.
2468 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2469 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2470 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2471 variable and use a function to compute the value dynamically.
2472 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2473 (prolog-continued-prompt-regexp): Remove, unused.
2474 (prolog-find-value-by-system): Try and use the value of prolog-system
2475 in the *prolog* buffer if it helps.
2476 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2477 (prolog-zip-on): ..and check prolog-system and version here instead.
2478 (prolog-inferior-self-insert-command): New command.
2479 (prolog-inferior-mode-map): Use it.
2480 (prolog-inferior-error-regexp-alist): New var.
2481 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2482 (prolog-input-filter): Use derived-mode-p.
2483 (prolog-inferior-guess-flavor): New function.
2484 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2485 make-comint to avoid running comint-mode twice.
2486 (prolog-inferior-buffer): New fun.
2487 (prolog-old-process-region, prolog-old-process-file):
2488 Don't call prolog-bsts here...
2489 (prolog-build-prolog-command): ...do it here instead.
2490 (prolog-old-process-region, prolog-old-process-file):
2491 Use compilation-fake-loc and compilation-forget-errors.
2492 (prolog-consult-compile-region): Use bolp.
2494 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2496 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2498 2011-01-27 Sam Steingold <sds@gnu.org>
2500 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2501 Remove "*server*" which is never created by emacs server.
2503 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2505 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2506 there are some diff switches.
2508 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2511 Copy change made to ruby-font-lock-syntactic-keywords.
2513 * htmlfontify.el: Make it obey the font-lock-face text property.
2514 Miscellaneous cleanup such as:
2515 - Don't hide expressions after a closing paren.
2516 - Move initial setq into let.
2517 - Hoist common parts out of ifs.
2518 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2519 (hfy-face-at): Use get-text-property instead.
2520 (hfy-prop-invisible-p): Use invisible-p if available.
2521 (htmlfontify-manual): Use \\[...].
2522 (hfy-html-quote-regex): Use [...].
2523 (hfy-combined-face-spec): Simplify.
2524 (hfy-compile-face-map): Don't presume point-min==1.
2525 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2526 match end of string.
2527 (hfy-text-p): η-reduce.
2528 (hfy-tags-for-file): Receive cache-hash directly.
2529 (hfy-mark-tag-names): Adjust call.
2531 2011-01-27 Glenn Morris <rgm@gnu.org>
2533 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2534 (msb-after-load-hook): Remove eval-after-load wackiness.
2536 2011-01-25 Sam Steingold <sds@gnu.org>
2538 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2539 literal "diff" (important for windows-nt).
2541 2011-01-25 Glenn Morris <rgm@gnu.org>
2543 * emacs-lisp/copyright.el (copyright-at-end-flag)
2544 (copyright-names-regexp): Add safety properties.
2545 (copyright-year-ranges): New option.
2546 (copyright-find-end): New function, split from copyright-update-year.
2547 (copyright-update-year): Use copyright-find-end.
2548 (copyright-fix-years): Optionally, convert years to ranges.
2549 Handle years continued over comment lines.
2550 Do not mess with the fill-prefix.
2551 Do not call copyright-update.
2552 (copyright-update-directory): Optionally, fix years rather than update.
2553 Skip directories. Find files with only safe local vars.
2555 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2557 * files.el (file-name-non-special): Only change buffer-file-name after
2558 insert-file-contents if it's `visit'ing the file (bug#7854).
2560 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2562 * dired.el (dired-revert): Doc fix (Bug#7758).
2564 * simple.el (line-move-visual): Doc fix (Bug#7594).
2566 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2568 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2569 here-doc which ends with an underscore.
2570 (ruby-mode-set-encoding): Skip shebang line always.
2571 (ruby-mode-map): Bind C-c C-c to comment-region.
2572 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2573 (ruby-forward-sexp): Stop after literal hash key labels.
2574 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2577 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2579 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2580 the correct buffer (Bug#7650).
2582 2011-01-25 Glenn Morris <rgm@gnu.org>
2584 * comint.el (comint-mode): Doc fix. (Bug#7897)
2586 * simple.el (do-auto-fill): Give it a doc string.
2588 * button.el (make-text-button): Doc fix. (See bug#7881)
2590 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2593 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2595 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2596 Handle ?" and friends differently (e.g. don't use backrefs).
2598 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2600 * calc/calc.el (calc-default-power-reference-level)
2601 (calc-default-field-reference-level): New variables.
2602 * calc/calc-units.el (math-standard-units): Add dB and Np.
2603 (math-logunits): New variable.
2604 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2605 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2606 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2608 (math-find-base-units-rec): Add entry for ln(10).
2609 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2610 (calc-ul-prefix-help): New function.
2611 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2612 functions. Add keybindings for new units functions.
2614 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2616 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2617 rcirc buffers. (Bug#4940)
2619 2011-01-22 Glenn Morris <rgm@gnu.org>
2621 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2622 split out from copyright-update-year.
2623 (copyright-update): Don't mess with the GPL version if we don't own the
2624 copyright. Update license regexp, and remove no longer needed
2626 (copyright-fix-years): Use copyright-find-copyright.
2628 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2630 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2632 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2634 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2635 (lm): Rename to landmark.
2636 (lm-test-run): Rename to landmark-test-run.
2638 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2640 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2641 "Case sensitive" menu item.
2643 2011-01-22 Roland McGrath <roland@frob.com>
2645 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2646 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2648 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2650 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2652 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2654 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2655 Assume foo(bar) is a manpage reference rather than some unquoted
2658 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2661 Suggested by Flo <sensorflo@gmail.com>.
2663 2011-01-22 Glenn Morris <rgm@gnu.org>
2665 * progmodes/compile.el (compilation-error-regexp-alist):
2666 Fix custom type. (Bug#7812)
2668 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2670 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2671 allout-number-siblings, in keeping with what obtained due to
2672 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2674 (allout-before-change-handler): Better expose spots affected by
2677 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2679 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2681 2011-01-22 Phil Hagelberg <phil@evri.com>
2683 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2684 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2685 (pcmpl-ssh-config-hosts): New function.
2686 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2687 pcmpl-ssh-known-hosts.
2689 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2691 * calc/calc-undo.el (calc-undo): Autoload it.
2692 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2693 and autoload for `calc-undo'.
2694 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2695 * calc/calc-prog.el:
2696 * calc/calc-graph.el:
2697 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2699 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2701 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2702 keybindings to `calc-undo'.
2704 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2706 Don't mess with *temp*.
2707 * obsolete/spell.el: Move from textmodes/spell.el.
2709 * term.el (term-read-input-ring):
2710 * startup.el (display-startup-echo-area-message):
2711 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2712 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2713 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2716 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2718 * allout.el (allout-institute-keymap): Use fset instead of
2719 reapplying defalias.
2721 (allout-hotspot-key-handler): Check for non-control-modified
2722 bindings for hotspot characters if there are no control-modified
2725 * allout.el: Summary - migrate to defining allout mode using
2726 define-minor-mode instead of defun. Significantly clean-up
2727 internal keymap provisions, refactoring and, in the process,
2728 removing a lot of accumulated cruft.
2730 allout-mode-map is now a keymap by virtue of being a defalias to
2731 allout-mode-map-value, which contains the actual keymap structure.
2733 (allout-mode): Use define-minor-mode rather than defun.
2734 Remove now-unnecessary minor-mode setup activities from the body.
2735 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2736 entry will be '(allout-mode . allout-mode-map) - see
2737 allout-mode-map-value, below. Adjust docstring to track changes.
2738 (allout-minor-mode): Remove this defalias, now that we're using
2740 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2741 keymap is allout-mode-map-value, via defalias.
2742 (allout-mode-map-value): The variable holding the actual mode
2743 keymap structure, by virtue of defalias from allout-mode-map.
2744 (allout-compose-and-institute-keymap): Rename from
2745 allout-bind-keys, and including the binding-composition
2746 functionality of the former produce-allout-mode-map and
2747 allout-setup-mode-map.
2748 (allout-institute-keymap): Take over the "setup" part of the former
2749 allout-setup-mode-map. Reassign allout-mode-map-value value and
2750 update the defalias.
2751 (allout-command-prefix, allout-prefixed-keybindings)
2752 (allout-unprefixed-keybindings):
2753 Use allout-compose-and-institute-keymap to process the bindings.
2754 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2755 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2756 user can customize if they want to use that binding.
2757 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2758 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2759 elided that, previously, instead of the one for \C-h.)
2760 (allout-hotspot-key-handler): Remove attempt to resolve the key
2761 through the literal key-string lookup on allout-keybindings-list.
2762 That probably hasn't worked for a Long Time, and removal of
2763 allout-keybindings-list further simplifies the keybindings situation.
2764 (allout-pre-command-business): Use allout-mode-map-value instead
2766 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2767 the bindings if they want to use a keybinding having a trailing
2768 \C-h. No deprecation needed since this feature was never in a release.
2769 (allout-keybindings-list): Remove. It's not been useful for a
2770 while. (See allout-hotspot-key-handler changes, above.)
2771 (produce-allout-mode-map): Remove. Consolidate into
2772 allout-compose-and-institute-keymap.
2773 (allout-mode-map-adjustments): Remove. No longer necessary with
2774 removal of allout-preempt-trailing-ctrl-h.
2775 (allout-setup-mode-map): Remove. Consolidate into
2776 allout-compose-and-institute-keymap and allout-institute-keymap.
2778 2011-01-20 Glenn Morris <rgm@gnu.org>
2780 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2782 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2784 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2786 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2788 * files.el (find-alternate-file, basic-save-buffer)
2789 (basic-save-buffer-2, revert-buffer, recover-file)
2790 (kill-buffer-ask, abort-if-file-too-large)
2791 (set-visited-file-name, write-file, backup-buffer)
2792 (basic-save-buffer, save-some-buffers):
2793 * dired-aux.el (dired-compress-file): Callers changed.
2795 2011-01-19 Glenn Morris <rgm@gnu.org>
2797 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2798 Also check the property status. (Bug#7861)
2800 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2802 * net/tramp.el (tramp-debug-message): Extend function exclude
2803 list. Use `regexp-opt'.
2805 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2807 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2808 highlighting doesn't spill over subsequent lines.
2810 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2811 keymap expression. Improve docstring.
2813 * electric.el (electric-indent-post-self-insert-function):
2814 Don't auto-indent for indent-to-left-margin, it's too often
2817 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2819 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2820 spaces if the frame was resized, so that the full visible buffer
2821 serves as canvas for strokes.
2823 2011-01-16 Glenn Morris <rgm@gnu.org>
2825 * info-xref.el (info-xref-docstrings): Replace cl function.
2826 Also skip directories.
2828 2011-01-16 Kevin Ryde <user42@zip.com.au>
2830 * info-xref.el: Version 3.
2831 (info-xref-check, info-xref-check-all): Move commentary details
2832 into docstrings for better visibility.
2833 Use compilation-mode for the results buffer.
2834 (info-xref-output, info-xref-output-error, info-xref-with-output)
2835 (info-xref-filename, info-xref-in-progress):
2836 New internals for this.
2837 (info-xref-check-list, info-xref-check-buffer)
2838 (info-xref-check-all-custom): Use those.
2839 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2840 (info-xref-output-heading): Rename from info-xref-filename-heading.
2841 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2842 (info-xref-filename-heading): Move to output managing section.
2843 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2844 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2845 (info-xref-subfile-p): Move to generic section with those two.
2846 (info-xref-check-node): New function split from
2847 info-xref-check-buffer, shared by info-xref-docstrings.
2848 (info-xref-goto-node-p): Move to a checking section with that func.
2849 (info-xref-unavail): New counter.
2850 (info-xref-check-node): Use it.
2851 (info-xref-with-output): Show count of unavailables at end of output.
2852 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2853 symlinks. Exclude .texi files. Exclude Emacs backup files.
2854 (info-xref-check-all-custom): Fix quietening viper-mode and
2855 gnus-registry-install -- use setq not let so as not to unbind
2858 2011-01-16 Juri Linkov <juri@jurta.org>
2860 * isearch.el (isearch-abort): Don't quit if search has
2861 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2863 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2865 * files.el (backup-buffer): Make last-resort backup file in
2866 .emacs.d (Bug#6953).
2868 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2869 make it with permission 700.
2871 2011-01-15 Kenichi Handa <handa@m17n.org>
2873 * mail/rmailmm.el (rmail-mime-insert-header):
2874 Set rmail-mime-coding-system to a cons whose car is the last coding
2875 system used to decode the header.
2876 (rmail-mime-find-header-encoding): New function.
2877 (rmail-mime-insert-decoded-text):
2878 Override rmail-mime-coding-system if it is a cons.
2879 (rmail-show-mime): If only a header part was decoded, find the
2880 coding system while ignoring mm-charset-override-alist.
2882 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2884 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2886 2011-01-15 Kenichi Handa <handa@m17n.org>
2888 * mail/rmailmm.el (rmail-mime-next-item)
2889 (rmail-mime-previous-item): Delete them.
2890 (rmail-mime-shown-mode): Recursively call for children.
2891 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2893 (rmail-mime-raw-mode): Recursively call for children.
2894 (rmail-mode-map): Change mapping of tab and backtab to
2895 forward-button and backward-button respectively.
2896 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2898 (rmail-mime-update-tagline): New function.
2899 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2900 body display is changed.
2901 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2902 (rmail-mime-image): Delete this button type.
2903 (rmail-mime-toggle): New button type.
2904 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2905 body display is changed. Change the save button label to "Save".
2906 Don't process show/hide button here.
2907 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2908 the body display is changed. Unconditionally call
2909 rmail-mime-insert for children.
2910 (rmail-mime-handle): Update `display' vector of the just inserted
2912 (rmail-mime-process): If mail-header-parse-content-type returns
2913 nil, use "text/plain" as the fallback type.
2914 (rmail-mime-insert): For raw-mode, recursively call
2915 rmail-mim-insert for children.
2916 (rmail-mime): Handle the case that the current buffer is not rmail
2917 buffer (e.g. in summary buffer).
2919 2011-01-15 Kenichi Handa <handa@m17n.org>
2921 * mail/rmailmm.el (rmail-mime-next-item)
2922 (rmail-mime-previous-item): Skip the body of a non-multipart
2923 entity if a tagline is shown.
2925 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2927 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2928 (tmm-prompt): Simplify.
2929 (tmm-add-prompt): Remove unused var `win'.
2931 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2932 to minor mode which used nil accidentally to mean "turn off".
2934 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2936 * net/tramp-sh.el (tramp-find-inline-compress)
2937 (tramp-get-inline-coding): Quote command after pipe symbol for
2938 local calls under W32. (Bug#6784)
2940 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2942 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2943 only when running under W32.
2945 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2947 * progmodes/grep.el (grep-compute-defaults): Quote the program
2948 file name after the pipe symbol in Grep templates. (Bug#6784)
2949 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2951 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2953 * buff-menu.el (Buffer-menu-buffer-list): New var.
2954 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2955 restricted buffer list is not lost on revert (Bug#7749).
2957 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2959 * net/ldap.el (ldap-search-internal): Discard stderr output.
2961 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2963 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2965 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2967 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2969 2011-01-15 Kenichi Handa <handa@m17n.org>
2971 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2972 part as a plain text.
2973 (rmail-mime-process-multipart): Set the default content-type to
2974 nil for unknown multipart subtypes (bug#7651).
2976 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2978 * hexl.el (hexl-mode-old-*): Remove.
2979 (hexl-mode--old-var-vals): New var to replace them.
2980 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2981 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2982 Use them to set local vars (bug#7846).
2983 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2984 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2985 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2987 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2988 (smerge-resolve--normalize-re): New var.
2989 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2990 (smerge-resolve): Use them.
2991 * newcomment.el (comment-only-p): New function.
2992 (comment-or-uncomment-region): Use it.
2994 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2996 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2997 table, get the value before switching to the output buffer. (Bug#7733)
2999 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3001 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3003 2011-01-14 Kim F. Storm <storm@cua.dk>
3005 * emulation/cua-base.el (cua--init-keymaps):
3006 Remap exchange-point-and-mark in cua-global-keymap.
3008 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3010 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3013 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3017 (easy-menu-create-menu, easy-menu-convert-item-1):
3018 Use :label rather than nil for labels. Use `case'.
3019 Add :enable as alias for :active.
3020 (easy-menu-binding): Obey :label.
3022 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3024 Use run-mode-hooks for major mode hooks (bug#513).
3025 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3026 Rename from reftex-toc-map.
3027 (reftex-toc-mode): Use define-derived-mode.
3028 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3029 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3030 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3031 (reftex-select-label-mode, reftex-select-bib-mode):
3032 Use define-derived-mode.
3033 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3034 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3035 Move init into delcaration.
3036 (reftex-index-mode, reftex-index-phrases-mode):
3037 Use define-derived-mode.
3038 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3039 speedbar-syntax-table. Move init into declaration.
3040 (speedbar-mode-map): Rename from speedbar-key-map.
3041 Move init into declaration.
3042 (speedbar-file-key-map): Move init into declaration.
3043 (speedbar-mode): Use define-derived-mode.
3044 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3045 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3046 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3047 (chart-face-list): Move initialization into declaration.
3048 (chart-mode): Use define-derived-mode.
3049 * calculator.el (calculator-mode-map): Move init into declaration.
3050 (calculator-mode): Use define-derived-mode.
3052 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3053 work for nested comments.
3055 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3056 (prolog-use-prolog-tokenizer-flag): Change default when
3057 syntax-propertize can be used.
3058 (prolog-syntax-propertize-function): New var.
3059 (prolog-mode-variables): Move make-local-variable into `set'.
3060 Don't make comment-column local since we don't set it.
3061 Set comment-add (as it was in previous prolog.el). Use dolist.
3062 Set syntax-propertize-function.
3063 (prolog-mode, prolog-inferior-mode):
3064 Call prolog(-inferior)-menu directly, not through the mode-hook.
3065 (prolog-buffer-module, prolog-indent-level)
3066 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3067 (prolog-comment-limits, prolog-goto-comment-column):
3068 Use line-(end|beginning)-position.
3069 (prolog-build-prolog-command): Tighten up regexp.
3070 (prolog-consult-compile): Move make-local-variable into `set'.
3071 (prolog-consult-compile-filter, prolog-goto-next-paren)
3072 (prolog-help-on-predicate, prolog-clause-info)
3073 (prolog-mark-predicate): Don't let+setq.
3074 (prolog-indent-line): Use indent-line-to.
3075 Only call prolog-goto-comment-column if necessary.
3076 (prolog-indent-level): Use bobp.
3077 (prolog-first-pos-on-line): Remove, not used any more.
3078 (prolog-in-string-or-comment): Use syntax-ppss if available.
3079 (prolog-help-on-predicate): Use read-string.
3080 (prolog-goto-predicate-info): Simplify.
3081 (prolog-read-predicate): Use `default' rather than `initial'.
3082 (prolog-temporary-file): Use make-temp-file to close a security hole.
3083 (prolog-toggle-sicstus-sd): New command.
3084 (prolog-electric-underscore, prolog-variables-to-anonymous):
3085 Use dynamic-scoping as it was meant.
3086 (prolog-menu): Move menu definitions to top-level.
3087 Use a toggle-button for Sicstus's source debugger.
3088 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3090 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3091 Move other menu definition to top-level.
3093 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3095 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3096 name. Keep original document's directory as default-directory
3098 (doc-view-initiate-display): Fall back to normal mode when
3099 doc-view-mode cannot be enabled, also when extracting the document
3100 text into a separate buffer (bug#6446).
3102 * simple.el (shell-command): Don't error out if shell command
3103 buffer contains text with non-nil read-only property when erasing
3106 2011-01-13 Kim F. Storm <storm@cua.dk>
3108 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3109 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3110 items when cycling through the matches.
3112 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3114 * dired-x.el (dired-omit-verbose): New defcustom that allows
3115 disabling the omit messages.
3116 (dired-omit-expunge): Use it.
3118 2011-01-13 Christian Ohler <ohler@gnu.org>
3120 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3122 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3124 * font-lock.el (font-lock-verbose): Default to nil.
3126 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3128 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3129 (compose-mail): New arg RETURN-ACTION.
3130 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3132 * mail/sendmail.el (mail-return-action): New var.
3133 (mail-mode): Make it buffer-local.
3134 (mail-bury): Obey it. Move special Rmail window handling to
3136 (mail, mail-setup): New arg RETURN-ACTION.
3137 (sendmail-user-agent-compose): Move from simple.el.
3139 * mail/rmail.el (rmail-mail-return): New function.
3140 (rmail-start-mail): Pass it to compose-mail.
3142 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3144 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3145 menus. Add menu item for customize-themes.
3147 * cus-theme.el (customize-themes):
3148 * emacs-lisp/package.el (package--list-packages):
3149 Use switch-to-buffer.
3151 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3153 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3155 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3157 * progmodes/prolog.el: Fix up coding convention and such.
3158 (prolog-indent-width): Use the same default as in
3159 previous prolog.el rather than tab-width which depends on which buffer
3160 is current when the file is loaded.
3161 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3163 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3164 (prolog-known-systems): Remove.
3165 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3166 Move initialization into declaration.
3167 (prolog-mode-map): Move initialization into declaration.
3168 Remove system-specific mode-map vars, since they referred to the same
3170 (prolog-mode-variables): Obey the user's preference w.r.t
3171 adaptive-fill-mode. Prefer symbol-value to `eval'.
3172 (prolog-mode-keybindings-edit): Add compatibility bindings.
3173 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3174 (mercury-mode-map): New var.
3175 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3176 (prolog-ensure-process, prolog-process-insert-string)
3177 (prolog-consult-compile): Use with-current-buffer.
3178 (prolog-guess-fill-prefix): Simplify data flow.
3179 (prolog-replace-in-string): New function to use instead of
3181 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3182 (prolog-uncomment-region): Use `uncomment-region' when available.
3183 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3184 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3185 of int-to-char and char-to-int.
3186 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3188 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3190 * progmodes/prolog.el: Replace by a whole new file.
3192 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3194 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3195 (declare-function, undefined, insert-for-yank)
3196 (replace-regexp-in-string): Follow checkdoc's recommendations.
3198 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3201 refreshing the diary buffer.
3203 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3205 * allout.el: Add 2011 to the file copyright.
3206 (allout-encrypt-string): Prevent encryption from adding an extra
3207 newline at the end of the topic body.
3208 (allout-version): Increment to 2.3.
3210 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3212 * net/dbus.el (dbus-unregister-service): Complete doc.
3213 Fix call of dbus-error signal.
3214 (dbus-register-property): Use `dont-register' keyword.
3216 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3218 * net/dbus.el (dbus-unregister-service): Translate returned
3219 integer into a symbol.
3220 (dbus-register-property): Use `dbus-register-service' to do the
3223 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3225 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3226 Suggested by Joakim Verona.
3228 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3230 * wid-edit.el (visibility): Replace :on-image and :off-image
3231 widget properties with :on-glyph and :off-glyph, for consistency
3232 with the `visibility' widget.
3233 (widget-toggle-value-create, widget-visibility-value-create):
3234 Merge into a single function `widget-toggle-value-create'.
3236 * cus-edit.el (custom-variable-value-create, custom-visibility)
3237 (custom-face-edit-value-create, custom-face-value-create):
3238 Replace :on-image and :off-image widget properties with :on-glyph and
3239 :off-glyph, for consistency with the `visibility' widget.
3241 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3243 * net/ldap.el (ldap-search-internal): Don't use eval.
3245 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3247 * subr.el (read-char-choice): Use read-key.
3249 * custom.el (custom-safe-themes): Rename from
3250 custom-safe-theme-files. Add :risky tag.
3251 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3252 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3254 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3256 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3257 from Search and add a label to Undo.
3259 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3260 inappropriate buttons and adding :vert-only tags.
3262 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3263 removal of Help tool-bar button. Remove Undo button for space.
3265 * info.el (info-tool-bar-map): Add :vert-only tags.
3267 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3269 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3270 image backend support. Either of them is fine.
3272 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3274 * subr.el (y-or-n-p): Doc fix.
3276 * custom.el (custom-safe-theme-files): New defcustom.
3277 (custom-theme-load-confirm): New function.
3278 (load-theme): Load theme using `load', confirming with
3279 custom-theme-load-confirm if necessary.
3281 * subr.el (read-char-choice): New function, factored out from
3282 dired-query and hack-local-variables-confirm.
3284 * dired-aux.el (dired-query):
3285 * files.el (hack-local-variables-confirm): Use it.
3287 * dired-aux.el (dired-compress-file):
3288 * files.el (abort-if-file-too-large, find-alternate-file)
3289 (set-visited-file-name, write-file, backup-buffer)
3290 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3291 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3292 Use new format string args for y-or-n-p and yes-or-no-p.
3294 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3296 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3297 [gcc-include]: Tighten file name match, add match for column
3299 [gnu]: Remove unused group.
3301 2011-01-08 Glenn Morris <rgm@gnu.org>
3303 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3305 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3307 2011-01-07 Sam Steingold <sds@gnu.org>
3309 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3310 the `explicit-shell-file-name' because that is the
3311 non-interactive shell.
3313 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3315 * subr.el (y-or-n-p): Accept format string args.
3317 2011-01-07 Glenn Morris <rgm@gnu.org>
3319 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3321 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3323 * allout.el (allout-back-to-current-heading): Ensure return to
3324 the visible containing topic, rather than a collapsed one.
3325 (allout-view-change-hook): Remove hook that was deprecated long ago.
3326 (allout-exposure-change-hook): Remove documentation remarks
3327 concerning removed allout-view-change-hook.
3328 (allout-flag-region): Remove invocation of and documentation
3329 remarks concerning allout-view-change-hook.
3331 2011-01-06 Glenn Morris <rgm@gnu.org>
3333 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3334 (vc-bzr-annotate-extract-revision-at-line):
3335 Handle authors with embedded spaces. (Bug#7792)
3337 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3339 * doc-view.el (doc-view-image-width): New variable.
3340 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3341 backend for PNG images, and do dynamic rescaling instead of
3342 reconverting the whole doc.
3344 2011-01-05 Glenn Morris <rgm@gnu.org>
3346 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3348 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3350 * allout.el: Reconcile with changes in line movement behavior for
3351 long text lines that cross more than a single physical window
3352 line, ie when truncate-lines is nil.
3353 (allout-next-visible-heading): Provide for change in line-move
3354 behavior on long lines when truncate-lines is nil. In that case,
3355 line-move can wind up on the same textual line when it moves to
3356 the next window line, and moving to the bullet position after the
3357 move yields zero advancement. Add logic to detect and compensate
3358 for the lack of progress.
3359 (allout-current-topic-collapsed-p): move-end-of-line respect for
3360 field boundaries is different when operating with body lines
3361 shorter than window width versus ones greater than window width,
3362 which can yield false negatives in this function. Avoid
3363 difference by applying move-end-of-line while field-text-motion is
3366 2011-01-04 Glenn Morris <rgm@gnu.org>
3368 * textmodes/rst.el (rst-compile-toolsets):
3369 Add pdf and s5 to option alist.
3371 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3373 * net/dbus.el (dbus-register-property): Add optional parameter
3374 dont-register-service. Updated docstring accordingly.
3376 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3378 * textmodes/rst.el (rst-compile-pdf-preview)
3379 (rst-compile-slides-preview): Remove extra line.
3381 2011-01-04 Glenn Morris <rgm@gnu.org>
3383 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3384 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3385 default to `prog' without a .py extension.
3386 (rst-compile-pdf-preview, rst-compile-slides-preview):
3387 Use program names from rst-compile-toolsets, rather than hard-coding.
3388 (rst-portable-mark-active-p): Fix presumed typo.
3390 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3392 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3393 libpng versions both before and after 1.4.0. (Bug#7716)
3395 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3397 * time.el (display-time-mode): Mention display-time-interval in
3398 the doc string. (Bug#7713)
3400 2011-01-02 Kenichi Handa <handa@m17n.org>
3402 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3403 condition-case and return an error message string if something
3405 (rmail-show-mime): Adjust for the above change. Insert the
3406 header by rmail-mime-insert-header.
3408 2011-01-02 Kenichi Handa <handa@m17n.org>
3410 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3411 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3412 (rmail-mime-mbox-buffer)
3413 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3414 (rmail-mime-entity): Argument changed. All codes handling an
3415 entity object are changed.
3416 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3418 (rmail-mime-entity-children, rmail-mime-entity-handler)
3419 (rmail-mime-entity-tagline): New functions.
3420 (rmail-mime-message-p): New function.
3421 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3422 (rmail-mime-entity-segment, rmail-mime-next-item)
3423 (rmail-mime-previous-item, rmail-mime-shown-mode)
3424 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3425 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3426 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3428 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3429 (rmail-mime-insert-decoded-text): New function.
3430 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3431 (rmail-mime-insert-image): Argument changed. Caller changed.
3432 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3433 (rmail-mime-set-bulk-data): New function.
3434 (rmail-mime-insert-bulk): Argument changed.
3435 (rmail-mime-multipart-handler): Return t.
3436 (rmail-mime-process-multipart): Argument changed.
3437 Handle "multipart/alternative" here.
3438 (rmail-mime-process): Argument changed.
3439 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3440 (rmail-mime-insert): Argument changed. Handle raw display mode.
3441 (rmail-mime): Argument changed. Handle toggling of raw display
3443 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3444 rmail-mime-view-buffer.
3445 (rmail-insert-mime-forwarded-message): Likewise.
3446 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3448 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3449 non-nil, handle the header in rmail-show-mime-function.
3451 2011-01-02 Leo <sdl.web@gmail.com>
3453 * help-fns.el (describe-variable): Fix previous change.
3455 2011-01-02 Juri Linkov <juri@jurta.org>
3457 * isearch.el (isearch-lazy-highlight-error): New variable.
3458 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3459 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3460 to the current value of `isearch-error' (Bug#7468).
3462 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3464 * help-fns.el (describe-variable): Don't emit trailing whitespace
3467 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3469 * textmodes/rst.el (rst-compile-pdf-preview)
3470 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3472 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3474 * emulation/edt-mapper.el: Override mapping of function keys so
3475 that the later call to read-key-sequence works.
3477 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3479 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3480 Unix EOLs. (Bug#7589)
3482 2011-01-02 Leo <sdl.web@gmail.com>
3484 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3485 if point is not behind eshell-last-output-end (Bug#7585).
3487 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * files.el (file-local-variables-alist):
3490 Make permanent-local (bug#7767).
3492 2011-01-02 Glenn Morris <rgm@gnu.org>
3494 * version.el (emacs-copyright): Set short copyright year to 2011.
3496 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3498 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3499 an existing temp buffer. (Bug#7746)
3501 2011-01-02 Glenn Morris <rgm@gnu.org>
3503 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3504 multiple addresses. (Bug#7760)
3506 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3508 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3509 do-auto-fill if everything points back to allout-auto-fill.
3510 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3511 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3513 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3515 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3518 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3520 * doc-view.el (doc-view-set-doc-type): New function refactored
3522 (doc-view-fallback-mode): New function.
3523 (doc-view-mode): Use it.
3524 (doc-view-mode-maybe): New function that checks if doc-view-mode
3525 can be used and falls back to the next best mode otherwise.
3527 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3528 DVI, OpenDocument, and MS Office files.
3530 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3532 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3534 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3536 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3537 on a copy of auto-mode-alist, because that deletes with side
3540 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3542 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3543 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3544 fallback instead of hard coding fundamental mode.
3546 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3548 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3549 Office) files also for searching.
3551 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3553 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3554 Office) files. Not yet enabled via auto-mode-list.
3555 (doc-view-unoconv-program): New custom variable.
3556 (doc-view-mode-p): Handle new odf document type.
3557 (doc-view-odf->pdf): New conversion function.
3558 (doc-view-convert-current-doc): Call it for odf files.
3559 (doc-view-mode): Recognize newly supported file extensions.
3561 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3563 * net/tramp.el (tramp-default-method-alist)
3564 (tramp-default-user-alist)
3565 (tramp-local-host-regexp, tramp-prefix-domain-format)
3566 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3569 * net/tramp-gvfs.el:
3571 * net/tramp-imap.el:
3573 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3574 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3576 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3578 * saveplace.el (save-place-alist-to-file): Save list sorted and
3579 pretty-printed, so that it is mergeable by line-based text merging,
3580 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3582 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3584 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3585 (allout-mode): Argument "toggle" => "force".
3586 Refine the docstring.
3587 Remove special provisions for reactivation, besides the 'force'
3589 Consolidate layout provisions coce directly into the activation
3590 condition branch, now that we've removed those provisions.
3591 (allout-unload-function): Explicitly activate the mode before
3592 deactivating, if it's initially deactivated.
3593 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3594 warnings for version of function used only where
3595 set-buffer-multibyte is unavailable.
3597 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3599 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3600 are handled by the menu-bar entries. As before, don't use
3601 :visibile to avoid changing the tool-bar.
3603 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3605 * net/secrets.el (secrets-delete-alias): New defun.
3607 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3609 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3610 methods, otherwise ~/.ssh/config would be ignored.
3612 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3614 * emacs-lisp/rx.el: Make it a superset of sregex.
3615 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3616 of args, add `regex' alias.
3617 (rx-info): Add arg to distinguish head and standalone forms.
3618 (rx-check, rx-form): Pass the corresponding arg.
3620 (rx-repeat): Make it work for any number of args.
3621 (rx-syntax): Make it accept syntax chars as is.
3622 * obsolete/sregex.el: Move from emacs-lisp/.
3623 * emacs-lisp/re-builder.el: Remove sregex support.
3624 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3626 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3628 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3629 PRIMARY first, then the clipboard. (Bug#7699)
3631 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3633 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3636 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3638 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3639 .emacs.elc (Bug#7530).
3641 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3642 image spec (Bug#7480).
3644 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3646 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3647 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3650 2010-12-20 Leo <sdl.web@gmail.com>
3652 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3653 always be performed (Bug#7680).
3655 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3657 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3658 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3661 * color.el: Move from gnus/.
3663 * vc/diff.el (diff-better-file-name): Function deleted.
3664 abbreviating file names causes problems with shell-quote-argument.
3665 (diff-no-select): Just use expand-file-name.
3667 * tool-bar.el (tool-bar--image-expression): New function.
3668 (tool-bar-local-item, tool-bar--image-exp): Use it.
3669 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3670 Use :enable instead of :visible to avoid changing the tool-bar
3671 configuration unnecessarily.
3673 * info.el (info-tool-bar-map): Add separators.
3675 2010-12-17 Ken Brown <kbrown@cornell.edu>
3677 * loadup.el: Use version numbers in Cygwin build.
3679 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3681 * ido.el (ido-file-internal): Ask for confirmation before
3682 overwriting an existing file (Bug#1238).
3684 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3686 * tool-bar.el (tool-bar-setup): Add separators.
3688 * menu-bar.el (featurep): Use menu-bar-separator.
3690 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3692 Migrate allout encryption provisions from pgg to epg.
3694 * allout.el (allout-toggle-current-subtree-encryption)
3695 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3696 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3697 for simpler universal argument interpretation.
3698 (allout-toggle-subtree-encryption): Adjust docstring to describe
3699 changed encryption provisions. Change fetch-pass to keymode-cue, for
3700 simpler universal argument interpretation. Remove provisions for
3701 handling key type and identity - they'll all be within
3702 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3703 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3704 for keypair recipients (universal argument > 1) and, in addition,
3705 associating the specified recipients with the outline (universal
3706 argument > 4) using a file local variable setting for
3707 'epa-file-encrypt-to'.
3708 Require epa, for recipients handling.
3709 Change how regexp filtering elements are named.
3710 Describe the problem with caching of incorrect symmetric-decryption
3712 Use the epa-passphrase-callback-function, in case the user is using
3714 Support saving of the selected keypair recipients when invoked with a
3716 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3718 Establish epg-context with armoring and default epg-protocol.
3719 Remove all passphrase cache, verification, and hinting code.
3720 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3721 No longer used, delete.
3722 (allout-mode): Adjust docstring to describe changed encryption
3723 provisions. Describe the problem with caching of incorrect
3724 symmetric-decryption keys.
3725 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3726 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3727 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3728 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3731 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3733 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3734 key selection prompt; make 'silent as default (Bug#7487).
3736 2010-12-16 Leo <sdl.web@gmail.com>
3738 * eshell/eshell.el (eshell-directory-name):
3739 Use locate-user-emacs-file (Bug#7578).
3741 2010-12-15 Glenn Morris <rgm@gnu.org>
3743 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3745 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3746 Scott Evans <gse@antisleep.com>
3748 * rect.el (rectange--default-line-number-format)
3749 (rectangle-number-line-callback): New functions.
3750 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3752 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3754 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3755 Delete unused variables.
3756 (move-to-column-force): Remove function obsolete since 21.2.
3758 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3760 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3761 (tramp-handle-insert-file-contents): Do not set permanent-local
3764 * net/tramp-cache.el (tramp-persistency-file-name):
3765 Use `locate-user-emacs-file' if fboundp.
3767 * net/tramp-sh.el (tramp-methods): Add "ksu".
3768 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3771 2010-12-14 Glenn Morris <rgm@gnu.org>
3773 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3774 (find-tag-marker-ring): Declare.
3775 (js-find-symbol): Require etags.
3777 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3779 (mail-alias-file): Don't autoload. Doc fix.
3780 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3781 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3782 Mark as obsolete, and risky.
3783 (mail-setup): Simplify.
3785 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3786 * mail/sendmail.el (build-mail-aliases): Update autoload.
3788 * dired.el (dired-trivial-filenames, dired-chown-program)
3789 (dired-auto-revert-buffer): Remove autoload cookies.
3790 * mail/sendmail.el (mail-recover-1): Require 'dired.
3792 * dired.el (dired-subdir-switches, dired-chown-program)
3793 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3794 Make into defcustoms.
3795 (dired-chown-program): Simplify initialization.
3797 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3799 2010-12-13 Romain Francoise <romain@orebokech.com>
3801 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3803 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3805 * net/netrc.el (netrc-point-at-eol): Remove the unused
3806 netrc-point-at-old and netrc-bound-and-true-p bindings.
3807 (netrc-parse): Cache the netrc contents.
3809 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3811 * subr.el (posn-col-row): Evaluate header-line-format in the
3812 context of the POSITION window's buffer.
3814 2010-12-13 Glenn Morris <rgm@gnu.org>
3816 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3817 (with-silent-modifications): Doc fixes.
3819 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3821 * net/tramp.el (tramp-action-password, tramp-process-actions):
3822 Revert previous from. Use `save-restriction'.
3824 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3826 * calendar/diary-lib.el (diary-list-sexp-entries):
3827 Handle case of no newline at end of file. (Bug#7536)
3829 2010-12-13 Glenn Morris <rgm@gnu.org>
3831 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3833 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3835 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3836 (tramp-process-actions): Do not widen.
3838 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3839 Protect buffer-modified value. (Bug#7557)
3841 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3843 * log-edit.el (log-edit-changelog-entries):
3844 Regexp quote filename. (Bug#7505)
3846 2010-12-13 Tom Breton <tehom@panix.com>
3848 * cus-edit.el (custom-save-all):
3849 Bind print-length and print-level to nil. (Bug#7581)
3851 2010-12-13 Glenn Morris <rgm@gnu.org>
3853 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3854 Run hooks to update menu contents. (Bug#7586)
3856 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3857 file names, for the sake of MS Windows. (Bug#7588)
3859 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3861 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3862 empty lines without a leading space.
3864 2010-12-13 Leo <sdl.web@gmail.com>
3866 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3867 while mapping over marks (Bug#6810).
3869 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3871 * image-dired.el (image-dired-db-file)
3872 (image-dired-temp-image-file, image-dired-gallery-dir)
3873 (image-dired-temp-rotate-image-file): Set default values relative
3874 to image-dired-dir (Bug#7518).
3876 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3878 * format.el (format-decode-run-method): Pass args FROM and TO, not
3879 point-min and point-max, to shell-command-on-region (Bug#7488).
3881 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3883 * frame.el (blink-cursor-mode): Make default t for ns.
3885 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3887 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3889 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3891 * comint.el (comint-dynamic-list-input-ring)
3892 (comint-dynamic-complete-filename)
3893 (comint-replace-by-expanded-filename)
3894 (comint-dynamic-simple-complete)
3895 (comint-dynamic-list-filename-completions)
3896 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3898 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3901 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3903 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3906 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3908 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3911 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3913 * files.el (file-relative-name): Handle UNC file names on
3914 DOS/Windows. (Bug#4674)
3916 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3918 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3919 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3920 (epg-context-set-passphrase-callback): Mention that the callback
3921 is not called when used with GnuPG 2.x.
3923 2010-12-13 Glenn Morris <rgm@gnu.org>
3925 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3926 Ensure ps-footer-font-size-internal is initialized.
3927 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3929 2010-12-13 Kenichi Handa <handa@m17n.org>
3931 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3932 within condition-case.
3933 (rmail-show-mime): Don't use condition-case.
3934 (rmail-search-mime-message): New function.
3935 (rmail-search-mime-message-function): Set to
3936 rmail-search-mime-message.
3938 2010-12-13 Leo <sdl.web@gmail.com>
3940 * ido.el (ido-common-initialization): New function. (bug#3274)
3942 (ido-completing-read): Call it.
3944 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3946 * bookmark.el (bookmark-name-from-full-record): Rename back to
3947 this original name from `bookmark-name-from-record' reverting part
3948 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3949 As Drew Adams pointed out, there was no reason to cause churn for
3950 third-party callers. (Bug#7609)
3952 2010-12-12 Alan Mackenzie <acm@muc.de>
3954 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3955 template arglist, check that the current language supports this.
3957 2010-12-11 Glenn Morris <rgm@gnu.org>
3959 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3960 state of the file matches. (Bug#7544)
3961 (vc-bzr-register, vc-bzr-checkin)
3962 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3963 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3965 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3967 2010-12-11 Karel Klíč <kklic@redhat.com>
3969 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3971 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3973 Derive from prog-mode, use derived-mode-p, and fix up various
3974 minor style issues in lisp/progmodes.
3976 * progmodes/vhdl-mode.el (vhdl-mode):
3977 * progmodes/verilog-mode.el (verilog-mode):
3978 * progmodes/vera-mode.el (vera-mode):
3979 * progmodes/sql.el (sql-mode):
3980 * progmodes/scheme.el (scheme-mode):
3981 * progmodes/perl-mode.el (perl-mode):
3982 * progmodes/octave-inf.el (inferior-octave-mode):
3983 * progmodes/autoconf.el (autoconf-mode):
3984 * progmodes/m4-mode.el (m4-mode):
3985 * progmodes/inf-lisp.el (inferior-lisp-mode):
3986 * progmodes/idlwave.el (idlwave-mode):
3987 * progmodes/icon.el (icon-mode):
3988 * progmodes/idlw-help.el (idlwave-help-mode):
3989 * progmodes/dcl-mode.el (dcl-mode):
3990 * progmodes/idlw-shell.el (idlwave-shell-mode):
3991 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3992 (ebrowse-member-mode, ebrowse-electric-position-mode):
3993 Use define-derived-mode.
3995 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3996 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3997 (xscheme-debugger-mode-p, xscheme-send-string-1):
3998 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3999 (tcl-load-file, tcl-restart-with-file):
4000 * progmodes/ps-mode.el (ps-run-running):
4001 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4002 * progmodes/js.el (js--get-all-known-symbols):
4003 * progmodes/inf-lisp.el (inferior-lisp-proc):
4004 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4005 (idlwave-template, idlwave-update-buffer-routine-info)
4006 (idlwave-update-current-buffer-info)
4007 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4008 (idlwave-scan-class-info, idlwave-fix-keywords)
4009 (idlwave-list-buffer-load-path-shadows):
4010 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4011 (idlwave-toolbar-remove):
4012 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4013 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4014 (idlwave-shell-menu-def):
4015 * progmodes/idlw-complete-structtag.el
4016 (idlwave-prepare-structure-tag-completion):
4017 * progmodes/gud.el (gud-set-buffer):
4018 * progmodes/f90.el (f90-backslash-not-special):
4019 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4021 * progmodes/xscheme.el (xscheme-start)
4022 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4023 * progmodes/which-func.el (which-function):
4024 * progmodes/vhdl-mode.el (vhdl-set-style):
4025 * progmodes/verilog-mode.el (verilog-set-compile-command)
4026 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4027 (verilog-set-define, verilog-auto-reeval-locals):
4028 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4029 * progmodes/simula.el (simula-mode):
4030 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4031 * progmodes/python.el (python-check, python-mode):
4032 * progmodes/prolog.el (prolog-mode-variables):
4033 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4034 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4035 * progmodes/delphi.el (delphi-mode):
4036 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4037 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4038 (c-font-lock-init): Move make-local-variable to their setq.
4040 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4041 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4043 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4044 (sh-set-shell): Don't set require-final-newline since it's already done
4046 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4047 since we never set it.
4048 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4049 Use read-string and standard prompt.
4050 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4051 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4052 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4053 (meta-common-mode-map): Rename from meta-mode-map.
4054 Remove C-m binding, which is a user preference, not mode specific.
4055 (meta-common-mode): New major mode; replace meta-common-initialization.
4056 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4057 around with font-lock.
4058 * progmodes/etags.el (select-tags-table-mode):
4059 Derive from special-mode.
4060 * progmodes/octave-mod.el (octave-mode):
4061 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4062 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4063 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4064 Let define-derived-mode do its job.
4065 * progmodes/cpp.el (cpp-edit-mode-map):
4066 Move initialization into declaration.
4067 (cpp-edit-mode): Use define-derived-mode.
4068 (cpp-edit-load): Use derived-mode-p.
4069 * progmodes/mixal-mode.el (mixal-mode):
4070 * progmodes/f90.el (f90-mode):
4071 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4072 require-final-newline since prog-mode does it already.
4073 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4074 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4075 * progmodes/antlr-mode.el: Require cc-mode upfront.
4076 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4078 (antlr-directory-dependencies, antlr-show-makefile-rules):
4080 (antlr-language-option): Don't assume point-min==1.
4081 (antlr-mode): Use define-derived-mode.
4082 * progmodes/ada-mode.el: Use derived-mode-p.
4083 (ada-mode): Use define-derived-mode.
4084 Use hack-local-variables-hook.
4086 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4089 (texinfo-mode): Don't disable adaptive-fill-mode.
4090 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4091 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4092 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4093 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4094 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4095 (texinfo-insert-@quotation, texinfo-insert-@samp)
4096 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4097 (texinfo-insert-@uref): Use define-skeleton.
4098 (texinfo-insert-@-with-arg): Delete.
4100 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4102 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4103 nil, do quote archive member names. (Bug#6144)
4105 2010-12-10 Glenn Morris <rgm@gnu.org>
4107 * files.el (diff-no-select): Declare.
4109 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4110 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4112 * comint.el (comint-input-ring-file-name): Doc fix.
4114 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4116 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4118 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4119 Use them instead of `nil' and `>', respectively.
4120 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4122 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4123 and menu-bar-positive-p instead of `nil' and `>', respectively.
4126 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4128 * whitespace.el (whitespace-newline-mode): Code fix.
4130 2010-12-09 Glenn Morris <rgm@gnu.org>
4132 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4133 Rename functions without commas, update callers.
4135 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4137 * whitespace.el (whitespace-cleanup-region):
4138 Clean up spaces before tabs. (Bug#7582)
4140 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4142 * bookmark.el: Adjust parameter names and doc strings to resolve
4143 confusion over whether "bookmark" meant a bookmark name or a
4144 bookmark record. Along the way, shorten one function's name for
4145 similar reasons. (Issue #7548)
4146 (bookmark-name-from-record): New name for
4147 `bookmark-name-from-full-record'. All callers changed.
4148 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4149 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4150 (bookmark-get-annotation, bookmark-set-annotation)
4151 (bookmark-get-filename, bookmark-set-filename)
4152 (bookmark-get-position, bookmark-set-position)
4153 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4154 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4155 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4156 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4157 Rename `bookmark' parameter to `bookmark-name-or-record', to
4158 clearly show its role, and shorten or adjust doc strings accordingly.
4159 (bookmark-set-name): Same, and pass the parameter directly to
4160 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4161 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4162 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4163 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4164 and in some cases shorten doc string accordingly.
4165 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4166 and `new-name', and adjust an internal variable to avoid confusion.
4167 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4168 parameter in doc string.
4170 2010-12-08 Glenn Morris <rgm@gnu.org>
4172 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4173 from gdb's history file. (Bug#7575)
4175 * mail/emacsbug.el (report-emacs-bug):
4176 Try to handle some other mail clients.
4178 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4180 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4181 Use string-prefix-p.
4182 (file-name-version-regexp): New var.
4183 (file-name-sans-versions):
4184 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4185 (jka-compr-get-compression-info): Use dolist.
4186 (jka-compr-compression-info-list): Don't bother specifying
4187 version/backup regexps.
4189 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4191 * simple.el (just-one-space): Make argument n default to 1 if
4194 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4196 * electric.el (electric-indent-post-self-insert-function):
4197 Delete trailing newlines even if we don't reindent.
4199 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * minibuffer.el (completion-at-point): Remove the `arg'.
4202 * bindings.el (complete-symbol): Move back from minibuffer.el.
4204 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4206 * simple.el (just-one-space): Delete newlines for negative arg.
4208 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4210 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4211 (ansi-color-filter-apply): Simplify.
4212 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4214 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4216 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4218 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4220 * dired.el (dired-use-ls-dired): Set default to a special
4221 "unspecified" value.
4222 (dired-insert-directory): When called the first time, check
4223 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4225 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4227 * replace.el: Add "collect" feature to occur.
4228 (occur-collect-regexp-history): New var.
4229 (occur-read-primary-args): Return a replace string for nlines,
4231 (occur): Extend the meaning of nlines.
4233 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4235 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4236 (which-func-update-1): Distinguish symbols from strings.
4237 (which-function): Stay within 80 columns.
4239 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4241 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4243 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4245 (comment-style): Use comment-styles's docs to describe values.
4247 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4249 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4250 and ns-show-prefs (Bug#7535).
4252 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4253 bindings (Bug#7535).
4255 2010-12-03 Glenn Morris <rgm@gnu.org>
4257 * nxml/nxml-mode.el: Require rng-nxml.
4258 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4259 Remove declarations.
4261 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4262 * nxml/rng-nxml.el, nxml/rng-valid.el:
4263 Remove leading `*' from defcustom docs.
4265 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4266 (normal-top-level-add-to-load-path, tty-handle-args):
4267 Convert comments to basic doc-strings.
4269 * net/browse-url.el (browse-url-url-at-point)
4270 (browse-url-default-browser): Remove autoload cookies.
4272 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4273 Remove more undefined cl functions.
4275 * vc/diff.el (diff-sentinel): Make new arguments optional.
4276 * ibuf-ext.el (diff-sentinel): Update declaration.
4278 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4280 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4281 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4282 (epg-context-set-passphrase-callback): Mention that the callback
4283 is not called when used with GnuPG 2.x.
4285 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4287 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4288 (tramp-file-name-port): Check also for `tramp-default-port'.
4289 (tramp-get-connection-name): New defun.
4290 (tramp-get-connection-process): Use it.
4291 (tramp-debug-message): Extend function exclude list.
4292 (tramp-drop-volume-letter): Fix doc string.
4294 * net/tramp-cmds.el: Remove solved todo item.
4297 * net/tramp-gvfs.el:
4299 * net/tramp-imap.el:
4300 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4301 and `tramp-default-user-alist', respectively.
4303 * net/tramp-gw.el (tramp-gw-open-connection):
4304 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4306 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4307 `tramp-file-name-port'.
4309 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4310 and "psftp". Exchange "%k" marker with options.
4311 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4312 Compute size of link target.
4313 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4314 `tramp-current-*' up due to gateway methods. Optimize computing of
4315 copy arguments. Use `tramp-get-connection-name' and
4316 `tramp-get-connection-buffer'. Improve debug messages.
4317 (tramp-compute-multi-hops): Remove port determination.
4318 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4320 * net/trampver.el: Update release number.
4322 2010-12-02 Glenn Morris <rgm@gnu.org>
4324 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4325 Avoid infinite loop over windows. (Bug#7492)
4327 * progmodes/flymake.el (flymake-check-file-limit):
4328 Allow nil to mean "no limit".
4329 (flymake-check-patch-master-file-buffer): Update for above change.
4330 Allow a .tex file-name extension to be optional.
4331 (flymake-master-tex-init): Also match \include statements.
4333 2010-11-30 Sam Steingold <sds@gnu.org>
4335 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4336 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4337 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4338 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4339 define-derived-mode').
4340 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4341 users who want to call `nxml-parent-document-set'.
4343 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4345 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4346 stand-alone lines, since that is handled by log-edit-match-to-eoh
4349 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4351 * dired.el (dired-get-filename): Replace backslashes with slashes
4352 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4353 * locate.el (locate-default-make-command-line): Don't consider
4354 drive letter and root directory part of
4355 `directory-listing-before-filename-regexp'. (Bug#7308)
4356 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4358 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4361 of :smie-open/close-alist.
4362 (smie-next-sexp): Make it accept a "start token" as argument.
4363 (smie-indent-keyword): Be careful not to misidentify tokens that span
4364 more than one line, as empty lines. Add argument `token'.
4366 2010-11-27 Kenichi Handa <handa@m17n.org>
4368 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4369 multipart subtypes, insert all as usual.
4371 * mail/rmail.el: Require rfc2047.
4373 2010-11-27 Kenichi Handa <handa@m17n.org>
4375 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4376 (rmail-mime-entity-disposition)
4377 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4378 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4379 (rmail-mime-save): Handle the case that the button's `data' is a
4381 (rmail-mime-insert-text): New function.
4382 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4383 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4384 (rmail-mime-insert-bulk): New function mostly copied from the old
4385 rmail-mime-bulk-handler.
4386 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4387 (rmail-mime-process-multipart): New function mostly copied from
4388 the old rmail-mime-multipart-handler.
4389 (rmail-mime-show): Just call rmail-mime-process.
4390 (rmail-mime-process): New function mostly copied from the old
4392 (rmail-mime-insert-multipart, rmail-mime-parse)
4393 (rmail-mime-insert, rmail-show-mime)
4394 (rmail-insert-mime-forwarded-message)
4395 (rmail-insert-mime-resent-message): New functions.
4396 (rmail-insert-mime-forwarded-message-function): Set to
4397 rmail-insert-mime-forwarded-message.
4398 (rmail-insert-mime-resent-message-function): Set to
4399 rmail-insert-mime-resent-message.
4401 * mail/rmailsum.el: Require rfc2047.
4402 (rmail-header-summary): Handle multiline Subject: field.
4403 (rmail-summary-line-decoder): Change the default to
4404 rfc2047-decode-string.
4406 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4407 (rmail-mime-feature): Change the default to `rmailmm'.
4408 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4409 (rmail-display-labels): Likewise.
4410 (rmail-show-message-1): Check rmail-enable-mime, and use
4411 rmail-show-mime-function for a MIME message. Decode the headers
4412 according to RFC2047.
4414 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4416 * progmodes/which-func.el (which-func-imenu-joiner-function):
4417 Return a string, as expected.
4418 (which-function-mode): Make sure we stop any previous timer before
4421 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4423 * net/tramp.el (tramp-default-method-alist)
4424 (tramp-default-user-alist, tramp-default-proxies-alist):
4425 Adapt custom options type. (Bug#7445)
4427 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4429 * progmodes/python.el: Add Ipython support (Bug#5390).
4430 (python-shell-prompt-alist)
4431 (python-shell-continuation-prompt-alist): New options.
4432 (python--set-prompt-regexp): New function.
4433 (inferior-python-mode, run-python, python-shell):
4434 Require ansi-color. Use python--set-prompt-regexp to set the comint
4435 prompt based on the Python interpreter.
4436 (python--prompt-regexp): New var.
4437 (python-check-comint-prompt)
4438 (python-comint-output-filter-function): Use it.
4439 (run-python): Use a pipe (Bug#5694).
4441 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4443 * progmodes/python.el (run-python): Doc fix.
4444 (python-keep-current-directory-in-path): New var (Bug#7454).
4446 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4448 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4449 Prompt user before actually printing.
4451 2010-11-27 Glenn Morris <rgm@gnu.org>
4453 * startup.el (package-enable-at-startup, package-initialize):
4454 Remove unnecessary declarations.
4456 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4458 * international/characters.el (glyphless-char-display-control):
4459 Exclude newline and TAB from the c0-control group.
4461 2010-11-27 Glenn Morris <rgm@gnu.org>
4463 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4464 (expand-mail-aliases): Remove unnecessary autoload.
4466 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4468 * shell.el (shell-dir-cookie-re): Move definition before use.
4470 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4471 Replace undefined CL functions.
4473 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4475 * simple.el (prog-mode): Set bidi-paragraph-direction to
4478 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4480 2010-11-26 Glenn Morris <rgm@gnu.org>
4482 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4483 diary-outlook-formats can be sensitive to calendar-date-style.
4484 (diary-outlook-formats): Simplify the default setting.
4485 (diary-from-outlook-internal): Pass subject and body as arguments.
4486 Use dolist rather than dotimes. Don't save the diary buffer.
4487 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4488 Pass subject and body as explicit arguments to the -internal function.
4490 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4492 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4493 parsing them. This makes mailto:...?subject=foo\nbar work.
4495 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4497 * vc/diff.el (diff): Fix last change.
4499 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4502 (pcase--dontcare-upats): New var.
4503 (pcase-let, pcase-let*): Generate better code.
4504 Accept the same bodies as `let'.
4505 (pcase-dolist): New macro.
4506 (pcase--trivial-upat-p): New helper function.
4507 (pcase--expand): Strip leading "(let nil" if any.
4509 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4511 * mail/mailclient.el (browse-url): Require.
4512 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4513 use the external browser function to send the mail (bug#7469).
4515 * net/browse-url.el (browse-url-browser-function): Revert the
4516 default back to the previous value, since the new value broke
4518 (browse-url-mailto-function): New variable for mailto: URLs.
4519 (browse-url): Use the new variable for mailto: URLs.
4521 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4523 * eshell/esh-cmd.el (eshell-parse-command):
4524 * eshell/esh-arg.el (eshell-parse-arguments):
4525 * eshell/em-script.el (eshell-source-file):
4526 Use with-silent-modifications.
4528 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4530 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4531 for a merge location.
4533 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4534 (vc-bzr-merge-branch): Always prompt.
4535 (vc-bzr-async-command): Use the full branch filename.
4537 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4539 * shell.el (shell): Use current-buffer by default if it's already
4540 a shell mode buffer and its process is dead.
4541 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4543 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4545 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4546 Mention that the keywords should be comma separated.
4548 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4550 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4551 Accept optional prefix arg meaning to prompt for a command.
4552 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4553 prefix arg meaning to prompt for a command.
4554 (vc-pull): Alias for vc-update.
4556 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4557 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4558 (vc-bzr-merge-branch): New functions, implementing merge-branch
4559 and pull operations.
4561 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * Makefile.in: Fix up last merge.
4565 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4566 (diff-sentinel): Get them as arguments instead.
4567 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4568 (diff-file-local-copy, diff-better-file-name): New funs.
4569 (diff-no-select): Rename from diff-into-buffer.
4570 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4571 Prefer closures to buffer-local variables.
4572 (diff): Adjust accordingly.
4573 (diff-buffer-with-file): Move from files.el.
4574 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4575 (diff-buffer-internal): Remove.
4576 (diff-buffer-buffer): Remove.
4577 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4578 the buffer name used, and so as not to mess up windows and frames.
4580 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4582 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4583 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4584 (diff-buffer-with-file): Use it.
4585 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4588 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4590 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4591 \ref's or \pageref's value as default instead of initial input.
4593 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4595 * files.el (backup-by-copying-when-mismatch): The default value is
4598 * startup.el (normal-top-level):
4599 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4600 `backup-by-copying-when-mismatch'.
4602 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4604 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4606 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4608 * progmodes/python.el (python-font-lock-keywords):
4609 Highlight top-level augmented assignments (Bug#6445).
4611 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4613 * term/ns-win.el (ns-right-control-modifier)
4614 (ns-right-command-modifier): Defvar them.
4616 * cus-start.el (all): Add ns-right-control-modifier and
4617 ns-right-command-modifier (Bug#7458).
4619 2010-11-20 Glenn Morris <rgm@gnu.org>
4621 * emacs-lisp/authors.el (authors-ignored-files)
4622 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4624 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4626 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4627 (report-emacs-bug-parse-query-results)
4628 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4629 keywords used for querying the bug database to show them in the
4630 existing bugs buffer.
4632 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4634 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4636 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4638 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4640 * international/characters.el (glyphless-char-display-control):
4641 Make it a defcustom, with update-glyphless-char-display as its
4643 (top level): Don't call update-glyphless-char-display.
4645 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4647 Sync with Tramp 2.2.0.
4649 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4650 `file-remote-p' (due to compatibility).
4652 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4653 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4655 * net/trampver.el: Update release number.
4657 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4659 * faces.el (glyphless-char): Define value for `pc'.
4661 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4663 Implemented a bug querying mechanism.
4664 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4665 (report-emacs-bug-create-existing-bugs-buffer)
4666 (report-emacs-bug-parse-query-results)
4667 (report-emacs-bug-query-existing-bugs): New functions.
4669 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4671 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4672 a \ref{} or \pageref{} macro, then use its value as initial input.
4674 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4676 * calc/calc-units.el (math-build-units-table-buffer):
4677 calc/README: Mention that the TeX specific units won't use the
4678 `tex' prefix in TeX mode.
4679 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4680 prefix for units in TeX mode.
4682 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4684 * simple.el (kill-new, kill-append, kill-region):
4685 * comint.el (comint-kill-region): Make the yank-handler argument
4688 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4691 that are both openers (resp. closers) and something else.
4692 (smie-grammar): Loosen definition of valid values.
4693 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4694 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4695 (smie-indent-after-keyword): Adjust users.
4696 (smie-indent-keyword): Don't indent empty lines.
4698 * vc-hg.el (vc-hg-program): New var.
4699 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4700 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4702 2010-11-18 Glenn Morris <rgm@gnu.org>
4704 * emacs-lisp/autoload.el (autoload-find-destination): The function
4705 coding-system-eol-type may return non-numeric values. (Bug#7414)
4707 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4709 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4711 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4713 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4715 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4717 * textmodes/picture.el (picture-mouse-set-point): Don't use
4718 posn-col-row; explicitly compute the motion based on the posn at
4719 the window-start (Bug#7390).
4721 2010-11-18 Glenn Morris <rgm@gnu.org>
4723 * novice.el (disabled-command-function):
4724 Fix 2009-11-15 change. (Bug#7384)
4726 2010-11-18 Glenn Morris <rgm@gnu.org>
4728 * calendar/calendar.el (diary-iso-date-forms): Make elements
4729 mutually exclusive. (Bug#7377)
4731 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4733 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4734 when filling the remaining "unconstrained" values.
4736 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4738 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4741 * files.el (safe-local-variable-p): Gracefully handle errors.
4743 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4744 Use smie-indent-virtual when indenting relative to an opener.
4745 (smie-rule-separator): Use smie-rule-parent.
4746 (smie-indent-keyword): Consult rules, even for openers at bol.
4747 (smie-indent-comment-close): Try to align closer's content.
4749 2010-11-18 Glenn Morris <rgm@gnu.org>
4751 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4753 2010-11-18 Glenn Morris <rgm@gnu.org>
4755 * printing.el (pr-menu-bind): Doc fix.
4757 * speedbar.el (speedbar-toggle-images): Doc fix.
4759 * progmodes/python.el (python-shell): Doc fix.
4761 * wid-edit.el (widget-field-use-before-change)
4762 (widget-use-overlay-change): Doc fixes.
4764 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4766 Minor cleanup to improve style.
4767 * textmodes/rst.el (rst-update-section): Use point-marker.
4768 (rst-get-decoration): Eliminate unneeded assignment.
4769 (rst-promote-region, rst-straighten-decorations)
4770 (rst-section-tree, rst-adjust): Use point-marker.
4771 (rst-toc-mode-mouse-goto): Avoid setq.
4772 (rst-shift-region-guts, rst-shift-region-left)
4773 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4774 (rst-convert-bullets-to-enumeration): Use copy-marker.
4776 * minibuffer.el (completion-fail-discreetly): New var.
4777 (completion--do-completion): Use it.
4779 * electric.el (electric-pair-pairs): New var.
4780 (electric-pair-post-self-insert-function): Use it.
4781 (electric-layout-post-self-insert-function): Don't insert a before
4782 newline unless it's actually needed.
4784 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4786 * progmodes/python.el (run-python): Explain why we remove the current
4787 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4789 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4791 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4793 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4794 (octave-mode-map): Don't bind ;, SPC, and LF.
4795 (octave-auto-indent, octave-auto-newline): Remove.
4796 (electric-layout-rules): Declare.
4797 (octave-mode): Set electric-layout-rules.
4798 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4799 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4800 (octave-electric-space): Remove.
4802 * electric.el (electric-layout-mode): New minor mode.
4803 (electric--after-char-pos): New function.
4804 (electric-indent-post-self-insert-function): Use it.
4805 (electric-layout-rules): New var.
4806 (electric-layout-post-self-insert-function): New function.
4807 (electric-indent-mode): Make them interact better.
4809 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4812 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4813 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4815 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4817 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4818 Make sure to check inside the word (Bug#6761).
4820 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4822 * startup.el (command-line): If the cursorColor resource is set,
4823 change the cursor face-spec (Bug#7392).
4825 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4827 The main features of the following allout.el changes are:
4828 - implement user customization for the allout key bindings
4829 - add a customization control by which the user can inhibit use of
4830 a trailing Ctrl-H, so by default it's reserved for use with
4831 describe-prefix-bindings
4832 - adapt to new version of called-interactively-p, while
4833 maintaining backwards compatibility with old version
4834 - fix hotspot navigation so i works properly with meta-modified keys.
4836 * allout.el (allout-keybindings, allout-bind-keys)
4837 (allout-keybindings-binding, allout-prefixed-keybindings)
4838 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4839 (allout-keybindings-list, allout-mode-map-adjustments)
4840 (allout-setup-mode-map): Establish allout-mode keymaps as user
4841 customizable settings, and also establish a customizable setting which
4842 regulates whether or not a trailing control-h is reserved for use with
4843 describe-prefix-bindings - and inhibit it by default, so that control-h
4844 *is* reserved for describe-prefix-bindings unless the user changes it.
4846 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4847 and accurately between modified and unmodified events, and handle
4848 modified events more comprehensively.
4850 * allout.el (allout-substring-no-properties):
4851 Alias to use or provide version of `substring-no-properties'.
4852 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4854 * allout.el (allout-next-single-char-property-change):
4855 Alias to use or provide version of `next-single-char-property-change'.
4856 (allout-annotate-hidden, allout-hide-by-annotation):
4857 Use `allout-next-single-char-property-change'.
4859 * allout.el (allout-select-safe-coding-system):
4860 Alias to use or provide version of `select-safe-coding-system'.
4861 (allout-toggle-subtree-encryption):
4862 Use `allout-select-safe-coding-system'.
4864 * allout.el (allout-set-buffer-multibyte):
4865 Alias to use or provide version of `set-buffer-multibyte'.
4866 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4868 * allout.el (allout-called-interactively-p): Macro for using the
4869 different versions of called-interactively-p identically, depending on
4870 the subroutine's argument signature.
4871 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4872 Use `(interactive "p")' instead of `(called-interactively-p)'.
4874 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4875 (allout-previous-visible-heading, allout-forward-current-level)
4876 (allout-backward-current-level, allout-show-children):
4877 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4879 * allout.el (allout-before-change-handler):
4880 Exempt edits to the (overlaid) character after the allout outline
4881 bullet from edit confirmation prompt.
4883 * allout.el (allout-add-resumptions):
4884 Ensure that it respects correct buffer for keybindings.
4886 * allout.el (allout-beginning-of-line):
4887 Use `allout-previous-single-char-property-change' alias for the sake of
4888 diverse compatibility.
4890 * allout.el (allout-end-of-line):
4891 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4893 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4895 * frame.el (frame-notice-user-settings): Don't clobber other
4896 user-set parameters when calling face-set-after-frame-default in
4897 response to background-color parameter (Bug#7373).
4899 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4901 * international/characters.el (glyphless-char-display-control):
4902 Rename from glyphless-char-control; all users changed. Doc fix.
4903 Signal an error if display method is not one of the recognized
4906 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4908 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4909 (tramp-compat-line-end-position): Remove them.
4911 * net/tramp.el (tramp-parse-rhosts-group)
4912 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4913 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4914 (tramp-parse-netrc-group, tramp-parse-putty-group)
4915 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4916 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4917 (tramp-sh-handle-file-selinux-context)
4918 (tramp-sh-handle-file-name-all-completions)
4919 (tramp-sh-handle-insert-directory)
4920 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4921 (tramp-wait-for-output, tramp-send-command-and-read)
4922 * net/tramp-smb.el (tramp-smb-read-file-entry)
4923 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4925 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4927 (tramp-remote-coding-commands): Add an alternative using "base64
4928 -d -i". This is needed for older base64 versions from GNU
4929 coreutils. Reported by Klaus Reichl
4930 <Klaus.Reichl@thalesgroup.com>.
4932 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4934 * simple.el (count-words-region): New function.
4936 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4938 * shell.el (shell-dir-cookie-re): New custom variable.
4939 (shell-dir-cookie-watcher): New function.
4941 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4942 and compilation-mode (bug#7350).
4944 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4945 highlight when one of them is empty.
4947 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4949 (skeleton-newline): New function.
4950 (skeleton-internal-1): Use it.
4952 * simple.el (open-line): `newline' may strip trailing space.
4954 2010-11-12 Kevin Ryde <user42@zip.com.au>
4956 * international/mule-cmds.el (princ-list): Use mapc.
4958 2010-11-12 Glenn Morris <rgm@gnu.org>
4960 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4961 Use it to replace all instances of "*Compile-Log*".
4963 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4965 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4968 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * progmodes/modula2.el: Use SMIE and skeleton.
4971 (m2-mode-syntax-table): (*..*) can be nested.
4972 Add //...\n. Fix paren syntax.
4973 (m2-mode-map): Remove LF and TAB bindings.
4974 (m2-indent): Add safety property.
4975 (m2-smie-grammar): New var.
4976 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4977 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4978 (m2-mode): Use define-derived-mode.
4979 (m2-newline, m2-tab): Remove.
4980 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4981 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4982 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4983 (m2-import): Use define-skeleton.
4985 2010-11-11 Glenn Morris <rgm@gnu.org>
4987 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4989 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4990 (ls-lisp-verbosity): Add custom :set-after property.
4991 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4992 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4993 (ls-lisp-insert-directory): Update caller.
4994 (ls-lisp-set-options): New function.
4995 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4998 * play/landmark.el (lm-prompt-for-move):
4999 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5001 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5003 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5004 (idlwave-study-twins): Prefix dynamic local variable `name'.
5005 (idlwave-routine-twin-compare): Update for above change.
5007 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5008 Prefix dynamic local variables `name', `kwd', and `link'.
5009 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5010 * progmodes/idlw-complete-structtag.el
5011 (idlwave-complete-structure-tag-help):
5012 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5013 (idlwave-complete-sysvar-tag-help)
5014 (idlwave-complete-class-structure-tag-help):
5015 Update for above name changes.
5017 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5019 * net/browse-url.el (browse-url-browser-function): Change the
5020 default to use `browse-url-mail' on mailto: URLs.
5022 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5024 * emacs-lisp/package.el (package-read-all-archive-contents):
5025 Reset package-archive-contents to nil before re-reading.
5027 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5029 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5030 already found as misspellings by (flyspell-large-region), just
5031 do highlighting (bug#7322).
5033 2010-11-10 Glenn Morris <rgm@gnu.org>
5035 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5037 * emulation/edt.el (edt-with-position): New macro.
5038 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5039 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5040 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5042 * emulation/tpu-extras.el (tpu-with-position): New macro.
5043 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5045 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5047 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5048 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5049 (texinfo-master-menu, texinfo-insert-node-lines)
5050 (texinfo-multiple-files-update):
5051 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5052 Use line-beginning-position.
5054 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5055 No recent Emacs supports system-type `emx'.
5057 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5058 (ada-command-separator, ada-default-prj-properties)
5059 (ada-find-any-references): Update for above name change.
5061 * dirtrack.el (dirtrack-directory-function)
5062 (dirtrack-canonicalize-function):
5063 * filecache.el (file-cache-completion-ignore-case)
5064 (file-cache-case-fold-search, file-cache-ignore-case):
5065 * term.el (serial-port-is-file-p): Cosmetic change.
5067 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5068 Remove non-existent `windows-95' system-type.
5069 * dired.el (dired-chown-program): Remove non-existent `linux'
5072 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5073 (ping-program-options): Remove non-existent `linux' system-type.
5075 * startup.el (package-initialize): Update declaration.
5077 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5078 (ls-lisp-handle-switches): Use time-less-p.
5079 (ls-lisp-format-time): Use float-time.
5081 * textmodes/remember.el (remember-time-to-seconds): Remove.
5082 (remember-store-in-mailbox): Use float-time.
5084 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5086 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5087 never a real function.
5088 (with-no-warnings): Remove compat stub, now unused.
5089 (time-less-p): Doc fix.
5090 (time-to-number-of-days): Simplify.
5092 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5094 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5095 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5096 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5097 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5098 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5100 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5101 (eshell-shuffle-files, eshell-shorthand-tar-command)
5102 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5103 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5104 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5105 Prefix dynamic local variable `matches'.
5107 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5108 Prefix dynamic local variable `skeleton'.
5110 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5112 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5113 in mail buffer; make yank-action always a command that yanks original
5116 2010-11-09 Glenn Morris <rgm@gnu.org>
5118 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5120 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5122 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5123 completion field (bug#7211).
5125 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5126 Fix handling of backslash escapes.
5127 (python-quote-syntax): Adjust accordingly.
5129 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5131 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5132 (vc-mtn-workfile-branch): Adjust to new output format.
5134 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * international/mule-cmds.el (princ-list): Mark as obsolete.
5138 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * emacs-lisp/smie.el: New package.
5142 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5144 * files.el (backup-by-copying-when-mismatch):
5145 Set `permanent-local' property.
5147 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5148 `permanent-local' property for `backup-by-copying-when-mismatch'.
5150 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5152 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5154 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5156 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5157 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5158 AUTOINOUT for SV style multidimensional arrays, bug294.
5159 Reported by Eric Mastromarchi.
5160 (verilog-preprocess): Use with-current-buffer and
5161 font-lock-fontify-buffer to cleanup style issues.
5163 2010-11-09 Glenn Morris <rgm@gnu.org>
5165 * locate.el (locate, locate-mode): Doc fixes.
5167 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5169 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5170 user for confirmation.
5171 (server-force-stop): Use it.
5172 (server-start): Use server-force-stop for kill-emacs-hook, to
5173 avoid user interaction while killing Emacs.
5175 2010-11-09 Glenn Morris <rgm@gnu.org>
5177 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5178 (meta-indent-line): Simplify.
5180 * vc/emerge.el (emerge-line-number-in-buf):
5181 * textmodes/ispell.el (ispell-region):
5182 * textmodes/fill.el (current-fill-column):
5183 * progmodes/xscheme.el (xscheme-send-current-line):
5184 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5185 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5186 * progmodes/sh-script.el (sh-handle-prev-do):
5187 * progmodes/meta-mode.el (meta-indent-line):
5188 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5190 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5191 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5192 * progmodes/fortran.el (fortran-looking-at-if-then):
5193 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5194 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5195 (cperl-find-pods-heres):
5196 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5197 * net/quickurl.el (quickurl-list-insert):
5198 * net/ldap.el (ldap-search-internal):
5199 * net/eudc.el (eudc-expand-inline):
5200 * mail/sendmail.el (sendmail-send-it):
5201 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5202 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5203 (viper-brac-function):
5204 * calc/calc-yank.el (calc-do-grab-region):
5205 * calc/calc-keypd.el (calc-keypad-press):
5206 * term.el (term-move-columns, term-insert-spaces):
5207 * speedbar.el (speedbar-highlight-one-tag-line):
5208 * simple.el (current-word):
5209 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5210 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5212 * hippie-exp.el (he-line-beg):
5213 * epa.el (epa--marked-keys):
5214 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5215 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5216 (dired-relist-entry):
5217 * buff-menu.el (Buffer-menu-buffer):
5218 * array.el (current-line):
5219 * allout.el (allout-resolve-xref)
5220 (allout-latex-verbatim-quote-curr-line):
5221 Replace yet more uses of end-of-line etc with line-end-position, etc.
5223 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5225 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5226 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5227 (checkdoc-syntax-table): Initialize in the declaration.
5228 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5229 the mode on unconditionally.
5231 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5232 (extent-end-position, extent-start-position): Remove setf method for
5233 non-existing functions (bug#7319).
5235 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5237 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5238 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5239 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5240 (smie-prec2->grammar): Rename from smie-prec2-levels.
5241 (smie-grammar): Rename from smie-op-levels.
5242 (smie-indent--hanging-p): Rename from smie-hanging-p.
5243 (smie-rule-hanging-p): New alias.
5244 (smie-indent--bolp): Rename from smie-bolp.
5245 (smie-indent--hanging-p): New alias.
5246 (smie--token): New dynamically bound variable.
5247 (smie-indent--parent): New function.
5248 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5249 (smie-rule-next-p): Rename from smie-next-p.
5250 (smie-rule-prev-p): Rename from smie-prev-p.
5251 (smie-rule-sibling-p, smie-rule-parent)
5252 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5253 (smie-rule-separator-outdent): New var.
5254 (smie-indent--rule): Merge with smie-indent--column.
5255 (smie-indent-forward-token, smie-indent-backward-token):
5256 Also recognize close parens.
5257 (smie-indent-keyword): Don't use smie-indent--column any more.
5258 (smie-indent-after-keyword): Ignore closers by default.
5259 (smie-indent-line): Use with-demoted-errors.
5260 * progmodes/octave-mod.el (octave-smie-grammar):
5261 Rename from octave-smie-op-levels.
5262 (octave-smie-rules): Adjust to new behavior.
5263 * progmodes/prolog.el (prolog-smie-grammar):
5264 Rename from prolog-smie-op-levels.
5266 2010-11-07 Glenn Morris <rgm@gnu.org>
5268 * eshell/esh-util.el (subst-char-in-string)
5269 (directory-files-and-attributes): These compatibility definitions are
5270 not needed on any version of Emacs since at least 21.4.
5272 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5273 (verilog-get-end-of-line): Remove.
5274 (verilog-within-string, verilog-re-search-forward-substr)
5275 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5276 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5277 Use point-at-bol, point-at-eol.
5278 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5280 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5281 (electric-pascal-terminate-line, pascal-set-auto-comments)
5282 (pascal-indent-paramlist, pascal-indent-declaration)
5283 (pascal-get-lineup-indent, pascal-func-completion)
5284 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5285 Use point-at-bol, point-at-eol.
5286 * progmodes/flymake.el (flymake-line-beginning-position)
5287 (flymake-line-end-position): Remove.
5288 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5289 * eshell/esh-util.el (line-end-position, line-beginning-position):
5290 Remove compat definitions.
5292 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5294 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5295 Use line-end-position.
5297 * emacs-lisp/chart.el (chart-zap-chars):
5298 * play/decipher.el (decipher-set-map):
5299 * progmodes/ada-mode.el (ada-get-current-indent)
5300 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5301 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5302 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5303 (ada-get-all-references):
5304 * progmodes/cperl-mode.el (cperl-electric-paren)
5305 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5306 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5307 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5308 (cperl-word-at-point-hard):
5309 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5310 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5311 (idlwave-shell-display-line):
5312 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5313 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5314 * progmodes/js.el (js--re-search-forward-inner)
5315 (js--re-search-backward-inner):
5316 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5317 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5318 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5319 * textmodes/flyspell.el (flyspell-process-localwords):
5320 * textmodes/ispell.el (ispell-buffer-local-parsing)
5321 (ispell-buffer-local-dict, ispell-buffer-local-words):
5322 Use point-at-bol and point-at-eol.
5324 * speedbar.el (speedbar-generic-item-info)
5325 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5326 (speedbar-add-indicator, speedbar-check-vc-this-line)
5327 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5328 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5329 Replace more uses of end-of-line etc with line-end-position.
5331 2010-11-06 Glenn Morris <rgm@gnu.org>
5333 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5334 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5335 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5336 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5337 (texinfo-multiple-files-update):
5338 * textmodes/table.el (table--probe-cell-left-up)
5339 (table--probe-cell-right-bottom):
5340 * textmodes/picture.el (picture-tab-search):
5341 * textmodes/page-ext.el (pages-copy-header-and-position)
5342 (pages-directory-for-addresses):
5343 * progmodes/vera-mode.el (vera-get-offset):
5344 * progmodes/simula.el (simula-calculate-indent):
5345 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5346 * progmodes/prolog.el (end-of-prolog-clause):
5347 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5348 * progmodes/icon.el (indent-icon-exp):
5349 * progmodes/etags.el (tag-re-match-p):
5350 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5351 * progmodes/ebnf2ps.el (ebnf-begin-file):
5352 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5353 (dcl-save-local-variable):
5354 * play/life.el (life-setup):
5355 * play/gametree.el (gametree-looking-at-ply):
5356 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5357 * mail/sendmail.el (mail-mode-auto-fill):
5358 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5359 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5360 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5361 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5362 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5363 * type-break.el (type-break-file-keystroke-count):
5364 * term.el (term-replace-by-expanded-history-before-point)
5365 (term-skip-prompt, term-extract-string):
5366 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5367 (speedbar-contract-line, speedbar-toggle-line-expansion)
5368 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5369 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5370 * sort.el (sort-skip-fields):
5371 * skeleton.el (skeleton-internal-list):
5372 * simple.el (line-move-finish, line-move-to-column):
5373 * shell.el (shell-forward-command):
5374 * misc.el (copy-from-above-command):
5375 * makesum.el (double-column):
5376 * ebuff-menu.el (electric-buffer-update-highlight):
5377 * dired.el (dired-move-to-end-of-filename):
5378 * dframe.el (dframe-popup-kludge):
5379 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5380 * arc-mode.el (archive-get-lineno):
5381 Use line-end-position and line-beginning-position.
5383 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5384 (idlwave-study-twins): Prefix dynamic local `class'.
5385 (idlwave-routine-twin-compare): Update for above name change.
5387 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5388 Use boundp tests to silence compiler. Update for changed name of
5389 bytecomp-filename variable.
5391 * emulation/viper-cmd.el (viper-read-string-with-history):
5392 Prefix dynamic local `initial'.
5393 (viper-minibuffer-standard-hook): Update for above name change.
5395 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5396 (elint-init-form): Update for above name change.
5398 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5399 local variables `cbeg' and `cend' a prefix.
5400 (mail-extr-voodoo): Update for above name change.
5402 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5403 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5404 (reftex-toc-promote-action): Doc fix.
5406 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5407 `prompt', `data' a prefix.
5408 (reftex-select-post-command-hook, reftex-select-callback)
5409 (reftex-select-mouse-accept, reftex-select-read-cite):
5410 Update for above name changes.
5412 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5413 `refstyle' to reftex-refstyle.
5414 (reftex-offer-label-menu): Update for above name change.
5415 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5416 `refstyle' name change.
5418 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5419 with with-current-buffer.
5420 (diff, template): Give dynamic local variables a prefix.
5421 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5422 (emerge-line-number-in-buf): Update for above name change.
5423 (emerge-combine-versions-internal): Rename local `template' to
5424 emerge-combine-template.
5425 (emerge-combine-versions-edit): Update for above name change.
5427 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5429 * textmodes/reftex-cite.el
5430 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5431 entries with whitespace after \bibitem.
5432 (reftex-create-bibtex-file): Match entries containing numbers and
5433 symbol constituents. Make sure that entries with whitespace at
5434 various places are found.
5436 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5438 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5440 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5442 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5444 2010-11-05 Glenn Morris <rgm@gnu.org>
5446 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5447 (woman2-roff-buffer): Give local variable `request' a prefix.
5448 (woman0-macro): Rename argument `request' in the same way.
5449 (woman-request): New name for `request' dynamic variable.
5450 (woman-unquote, woman-forward-arg): Update for above name change.
5451 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5452 (woman1-unquote): New name for `unquote' dynamic variable.
5453 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5454 (woman-translations): Rename from `translations'. No longer global.
5455 (woman2-tr, woman-translate): Update for above name change.
5456 (woman-translate): Check for bound variable.
5457 (woman2-roff-buffer): Give local variable `translations' a prefix.
5459 * play/doctor.el: Give all local variables a prefix. Update callers.
5460 (doc$, doctor-put-meaning): Use backquote.
5462 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5463 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5465 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5466 variables bytes, ptr, op a prefix.
5467 (disassemble-offset): Update for above change.
5469 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5471 * emacs-lisp/package.el (package-unpack): Remove no-op.
5472 (package--builtins, package--dir): Doc fix.
5473 (package-activate-1, package-activate, package-install)
5474 (package-compute-transaction): Fix error message.
5475 (package-delete): Use delete-directory. Omit system packages.
5476 (package-initialize): Set package-alist to nil first.
5477 (package-menu-mark-delete, package-menu-mark-install): Don't add
5478 symbols that are inconsistent with the package state.
5479 (package-menu-execute): Perform deletions and installations as
5480 single batch operations.
5482 2010-11-03 Glenn Morris <rgm@gnu.org>
5484 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5485 (props): Remove unnecessary declaration.
5487 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5488 set-process-query-on-exit-flag.
5490 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5491 (reftex-toc-do-promote): Remove unused local `mpos'.
5492 (reftex-toc-restore-region): Make `mpos' local to this function.
5494 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5496 * play/landmark.el (lm-losing-threshold): Correct spelling.
5497 (lm-human-plays): Use new name.
5499 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5500 (gomoku-human-plays): Use new name.
5502 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5503 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5504 (gomoku-score-trans-table, gomoku-winning-threshold)
5505 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5507 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5509 * emacs-lisp/package.el: Don't put built-in packages in
5510 package-alist, to avoid loading inefficiencies.
5511 (package-built-in-p): Make VERSION optional, and treat it as a
5512 minimum acceptable version.
5513 (package-activate): Search separately for built-in packages.
5514 Emit a warning if a dependency fails.
5515 (define-package): Handle most common case, where there is no
5516 obsolete package, first.
5517 (package-compute-transaction): Print required version in error.
5518 (package--initialized): New variable.
5519 (list-packages): Use it.
5520 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5521 built-in packages in packages-alist; keep it separate.
5522 Set package--initialized.
5523 (describe-package): Avoid activating packages as a side-effect.
5524 Search separately for built-in packages.
5525 (describe-package-1): Handle the case where an elpa package is
5526 simultaneously built-in and available/installed.
5527 (package-installed-p, package--generate-package-list):
5528 Search separately for built-in packages.
5529 (package-load-descriptor): Doc fix.
5531 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5534 Handle __DATA__ and __END__.
5536 2010-11-02 Noah Friedman <friedman@splode.com>
5538 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5539 nil, do not ask to recompile files that are not already compiled,
5540 and do not recompile them.
5542 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5544 * emacs-lisp/package.el (package-initialize): Ensure that
5545 obsoleted built-in packages are not in package-activated-list
5547 (describe-package-1): Make the "installed" status override
5550 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5552 * subr.el (version-separator, version-regexp-alist): Remove '*'
5554 (version-list-<=, version<=, version=): Doc fix.
5556 2010-11-01 Kenichi Handa <handa@m17n.org>
5558 * faces.el (glyphless-char): Inherit underline for tty.
5560 2010-11-01 Kenichi Handa <handa@m17n.org>
5562 Implement various display methods for glyphless characters.
5564 * international/characters.el (char-acronym-table): New variable.
5565 (glyphless-char-control): New variable.
5566 (update-glyphless-char-display): New function.
5568 * faces.el (glyphless-char): New face.
5570 2010-11-01 Glenn Morris <rgm@gnu.org>
5572 * calendar/holidays.el (general-holidays, oriental-holidays)
5573 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5574 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5575 the definitions of their targets.
5577 * emacs-lisp/smie.el (smie): New custom group.
5578 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5580 * faces.el (xw-defined-colors, x-setup-function-keys):
5581 * mouse-sel.el (x-select-text):
5582 * term/w32console.el (x-setup-function-keys): Update declarations.
5584 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5586 * textmodes/ispell.el (comment-add): Declare.
5588 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5591 * info.el (finder-keywords-hash, package-alist): Declare.
5593 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5595 * finder.el (finder-compile-keywords): Don't use intern-soft,
5596 since package names may not yet exist in the obarray.
5598 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5600 * vc/vc-arch.el (vc-arch-checkin):
5601 * vc/vc-cvs.el (vc-cvs-checkin):
5602 * vc/vc-mtn.el (vc-mtn-checkin):
5603 * vc/vc-rcs.el (vc-rcs-checkin):
5604 * vc/vc-sccs.el (vc-sccs-checkin):
5605 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5606 since 2010-04-21 commit by Stefan Monnier.
5608 2010-11-01 Glenn Morris <rgm@gnu.org>
5610 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5612 * startup.el (package-enable-at-startup, package-initialize):
5615 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5618 2010-10-31 Julien Danjou <julien@danjou.info>
5620 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5621 (byte-recompile-directory):
5622 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5623 Use `byte-recompile-file'.
5625 2010-10-31 Glenn Morris <rgm@gnu.org>
5627 * cus-start.el: Handle standard values via a keyword.
5628 Only set version property if specified.
5629 (cursor-in-non-selected-windows, menu-bar-mode)
5630 (tool-bar-mode, show-trailing-whitespace):
5631 Do not specify standard values.
5632 (transient-mark-mode, temporary-file-directory): Use :standard.
5634 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5636 * term/x-win.el (x-get-selection-value): New function that gets
5637 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5639 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5641 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5642 preserve owner and group when editing files. (Bug#7289)
5644 2010-10-31 Glenn Morris <rgm@gnu.org>
5646 * speedbar.el (speedbar-mode):
5647 * play/fortune.el (fortune-in-buffer, fortune):
5648 * play/gomoku.el (gomoku-mode):
5649 * play/landmark.el (lm-mode):
5650 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5651 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5653 * select.el (x-selection): Mark it as an obsolete alias.
5655 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5657 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5658 major-mode (bug#7284).
5660 2010-10-31 Glenn Morris <rgm@gnu.org>
5662 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5663 rather than just an unused variable that inherits from the real one.
5665 2010-10-31 Alan Mackenzie <acm@muc.de>
5667 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5668 This fixes bug #7185.
5670 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5672 * startup.el (command-line): Search for package directories, and
5673 don't load package.el if none are found.
5675 * emacs-lisp/package.el (describe-package, list-packages):
5676 Call package-initialize if it has not been called yet.
5678 2010-10-30 Alan Mackenzie <acm@muc.de>
5680 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5681 which fontifies the tail of an enum.
5682 (c-basic-matchers-after): Insert a call to the above new function.
5683 This fixes bug #7264.
5685 2010-10-30 Glenn Morris <rgm@gnu.org>
5687 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5688 tool-bar-mode, transient-mark-mode. (Bug#7306)
5689 Include the :set property in the dumped Emacs.
5691 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5693 SMIE: change indent rules format, improve smie-setup.
5694 * emacs-lisp/smie.el (smie-precs-precedence-table)
5695 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5696 Mark them pure so the tables gets built at compile time.
5697 (smie-bnf-precedence-table): Store the closer-alist in the table.
5698 (smie-prec2-levels): Preserve the closer-alist.
5699 (smie-blink-matching-open): Be more forgiving in case of indentation.
5700 (smie-hanging-p): Rename from smie-indent--hanging-p.
5701 (smie-bolp): Rename from smie-indent--bolp.
5702 (smie--parent, smie--after): New dynamic vars.
5703 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5704 (smie-indent-rules): Remove.
5705 (smie-indent--offset-rule): Remove fun.
5706 (smie-rules-function): New var.
5707 (smie-indent--rule): New fun.
5708 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5709 (smie-indent-exps): Use it.
5710 (smie-setup): Setup paren blinking; add keyword args for token
5711 functions; extract closer-alist from op-levels.
5712 (smie-indent-debug-log): Remove var.
5713 (smie-indent-debug): Remove fun.
5714 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5715 (prolog-smie-rules): New fun to replace it.
5716 (prolog-mode-variables): Simplify.
5717 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5718 it's setup automatically.
5719 (octave-smie-indent-rules): Remove.
5720 (octave-smie-rules): New fun to replace it.
5721 (octave-mode): Simplify.
5723 2010-10-29 Glenn Morris <rgm@gnu.org>
5725 * files.el (temporary-file-directory): Remove (already defined in C).
5726 * cus-start.el: Add temporary-file-directory.
5728 * abbrev.el (abbrev-mode):
5729 * composite.el (auto-composition-mode):
5730 * menu-bar.el (menu-bar-mode):
5731 * simple.el (transient-mark-mode):
5732 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5733 that they do not define the associated variables twice.
5734 * simple.el (transient-mark-mode): Remove defvar.
5735 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5736 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5737 Handle multiple groups, and also custom-delayed-init-variables.
5738 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5740 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5742 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5743 (pcase-if): Add one minor optimization.
5744 (pcase-split-equal): Rename from pcase-split-eq.
5745 (pcase-split-member): Rename from pcase-split-memq.
5746 (pcase-u1): Add strings to the member optimization.
5747 Add `guard' variant of predicates.
5748 (pcase-q1): Add string patterns.
5750 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5752 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5754 2010-10-28 Glenn Morris <rgm@gnu.org>
5756 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5757 Move menu-bar related settings to ../menu-bar.el.
5758 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5759 Move ns-specific settings here from term/ns-win.el.
5761 * simple.el (x-selection-owner-p): Remove unused declaration.
5763 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5765 * minibuffer.el (completion-cycling): New var (bug#7266).
5766 (minibuffer-complete, completion--do-completion):
5767 Use completion--flush-all-sorted-completions.
5768 (minibuffer-complete): Only cycle if completion-cycling is set.
5769 (completion--flush-all-sorted-completions): Unset completion-cycling.
5770 (minibuffer-force-complete): Set completion-cycling.
5771 (completion-all-sorted-completions): Move declaration before first use.
5773 2010-10-28 Leo <sdl.web@gmail.com>
5775 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5776 which changes the order of matches seen by users (bug#7231).
5778 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5780 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5781 Don't confuse -omega as "-o mega".
5783 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5785 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5786 (log-edit-author): New dynamic var.
5787 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5788 to return the author if different from committer.
5789 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5791 * play/landmark.el: Adjust commenting convention.
5792 (lm-nil-score): Rename from nil-score.
5793 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5794 (OOOOscore): Move into a let in lm-score-trans-table.
5795 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5797 * electric.el (electric-indent-chars): Autoload.
5798 * progmodes/octave-mod.el (octave-mode):
5799 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5800 (ruby-mode-abbrev-table): Merge initialization and declaration.
5802 2010-10-27 Glenn Morris <rgm@gnu.org>
5804 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5807 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5809 * term/ns-win.el: Restore require of cl when compiling.
5810 (menu-bar-final-items): Remove non-existent `windows' menu.
5811 (ns-handle-nxopen): Optionally handle the temp-case.
5812 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5813 (ns-insert-file, ns-find-file): Use `pop'.
5815 2010-10-26 Glenn Morris <rgm@gnu.org>
5817 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5819 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5821 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5823 * term/common-win.el (x-setup-function-keys): Remove most of the
5824 keymappings. Comment on the remaining ones.
5826 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5828 * server.el (server-port): New option. (Bug#854)
5829 (server-start): Use server-port.
5831 2010-10-26 Glenn Morris <rgm@gnu.org>
5833 * term/ns-win.el (ns-version-string): Remove unused declaration.
5834 (ns-invocation-args): Change to x-invocation-args.
5835 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5836 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5837 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5838 Use x-invocation-args instead of ns-invocation-args.
5839 (ns-initialize-window-system, handle-args-function-alist):
5840 Use x-handle-args instead of ns-handle-args.
5841 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5842 * startup.el (command-line-ns-option-alist): Replace
5843 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5844 ns-handle-iconic with the x- equivalents.
5846 * term/common-win.el (x-select-enable-clipboard):
5847 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5849 * term/ns-win.el: No need to require cl when compiling.
5850 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5851 (xw-defined-colors): Use the common-win definitions.
5852 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5853 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5854 * term/common-win.el (x-select-text, x-alternatives-map)
5855 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5856 * loadup.el [ns]: Load common-win.
5858 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5860 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5861 recipients; expand mail aliases (Bug#7280).
5863 2010-10-25 Glenn Morris <rgm@gnu.org>
5865 * term/common-win.el (x-handle-switch): Simplify with pop.
5866 Optionally handle numeric switches.
5867 (x-handle-numeric-switch): Just call x-handle-switch.
5868 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5869 (x-handle-name-switch, x-handle-display, x-handle-args):
5872 * term/ns-win.el: Do not require easymenu.
5873 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5874 <spell>: Move adjustments to menu-bar.el.
5875 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5876 <separator-undo, spell>: Move ns-win's adjustments here.
5877 * loadup.el [ns]: Do not load easymenu.
5879 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5881 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5884 * startup.el (fancy-startup-tail): Instead of using inline images,
5885 refer to image files from etc/.
5887 * wid-edit.el (checkbox): Likewise.
5888 (widget-image-find): Center image specs.
5890 2010-10-24 Glenn Morris <rgm@gnu.org>
5892 * term/ns-win.el (x-select-text): Doc fix.
5893 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5894 (x-select-text): Move to term/common-win.
5895 * term/w32-win.el (xw-defined-colors): Move to common-win.
5896 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5897 (x-setup-function-keys, x-select-text): Move to common-win.
5898 * term/common-win.el (x-select-text, x-alternatives-map)
5899 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5902 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5904 * net/mairix.el (mairix-searches-mode-map):
5905 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5907 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5909 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5910 auto-built for efficiency of execution and updating.
5911 (verilog-extended-complete-re): Support 'pure' fucntion & task
5912 declarations (these have no bodies).
5913 (verilog-beg-of-statement): General cleanup to enable support of
5914 'pure' fucntion & task declarations (these have no bodies).
5915 These efforts together fix Verilog bug210 from veripool; which was also
5916 noticed by Steve Pearlmutter.
5917 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5918 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5919 Support `elsif. Reported by Shankar Giri.
5920 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5921 attribute handling for lining up declarations and assignments.
5922 (verilog-beg-of-statement-1): Fix issue where continued declaration
5923 is indented differently if it is after a begin..end clock.
5924 (verilog-in-attribute-p, verilog-skip-backward-comments)
5925 (verilog-skip-forward-comment-p): Support proper treatment of
5926 attributes by indent code. Reported by Jeff Steele.
5927 (verilog-in-directive-p): Fix comment to correctly describe function.
5928 (verilog-backward-up-list, verilog-in-struct-region-p)
5929 (verilog-backward-token, verilog-in-struct-p)
5930 (verilog-in-coverage-p, verilog-do-indent)
5931 (verilog-pretty-declarations): Use verilog-backward-up-list as
5932 wrapper around backward-up-list inorder to properly skip comments.
5933 Reported by David Rogoff.
5934 (verilog-property-re, verilog-endcomment-reason-re)
5935 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5936 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5937 of if). Reported by Max Bjurling and
5938 (verilog-calc-1): Fix for clocking block in modport
5939 declaration. Reported by Brian Hunter.
5941 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5943 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5944 (verilog-gate-keywords, verilog-read-sub-decls)
5945 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5946 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5947 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5948 (verilog-read-decls): Fix spaces in V2K module parameters causing
5949 mis-identification as interfaces, bug287.
5950 (verilog-read-decls): Fix not treating "parameter string" as a
5951 parameter in AUTOINSTPARAM.
5952 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5953 treating `elsif similar to `endif inside AUTOSENSE.
5954 (verilog-do-indent): Implement correct automatic or static task or
5955 function end comment highlight. Reported by Steve Pearlmutter.
5956 (verilog-font-lock-keywords-2): Fix highlighting of single
5957 character pins, bug264. Reported by Michael Laajanen.
5958 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5959 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5960 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5961 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5962 (verilog-pretty-expr): Fix interactive arguments, bug272.
5963 Reported by Mark Johnson.
5964 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5965 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5966 bug269. Suggested by Gary Delp.
5967 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5968 (verilog-preprocessor, verilog-set-compile-command):
5969 Create verilog-preprocess and verilog-preprocessor to show
5970 preprocessed output.
5971 (verilog-get-beg-of-line, verilog-get-end-of-line)
5972 (verilog-modi-file-or-buffer, verilog-modi-name)
5973 (verilog-modi-point, verilog-within-string): Move defmacro's
5974 before first use to avoid warning. Reported by Steve Pearlmutter.
5975 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5976 (verilog-colorize-region, verilog-highlight-buffer)
5977 (verilog-highlight-includes, verilog-highlight-modules)
5978 (verilog-highlight-region, verilog-mode): Rename colorize to
5979 highlight to match other packages. Disable module highlighting,
5980 as received speed complaints, reenable for experimentation only
5981 using new verilog-highlight-modules.
5982 (verilog-read-decls): Fix regexp stack overflow in very large
5983 AUTO_TEMPLATEs, bug250.
5984 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5985 (verilog-scan): Create verilog-save-buffer-state to standardize
5986 making insignificant changes that shouldn't call hooks.
5987 (verilog-save-no-change-functions, verilog-save-scan-cache)
5988 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5989 Create verilog-save-no-change-functions to wrap verilog-scan
5990 preservation, and fix to work with nested preserved calls.
5991 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5992 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5993 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5994 (verilog-submit-bug-report): Update variable list to be complete.
5995 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5996 breaking on-the-fly font-locking.
5997 (verilog-colorize-buffer, verilog-colorize-include-files)
5998 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5999 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6000 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6001 AUTOINST cell instance name, middle mouse button now finds-file on
6002 it. Suggested by Brad Dobbie.
6003 (verilog-alw-get-temps, verilog-auto-reset)
6004 (verilog-auto-sense-sigs, verilog-read-always-signals)
6005 (verilog-read-always-signals-recurse): Fix loop indexes being
6006 AUTORESET. AUTORESET now assumes any variables in the
6007 initialization section of a for() should be ignored.
6008 Reported by Dan Dever.
6009 (verilog-error-font-lock-keywords)
6010 (verilog-error-regexp-emacs-alist)
6011 (verilog-error-regexp-xemacs-alist): Fix error detection of
6012 Cadence HAL, reported by David Asher. Repair drift between the
6013 three similar error variables.
6014 (verilog-modi-lookup, verilog-modi-lookup-cache)
6015 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6016 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6017 Fix slow verilog-auto expansion on very large files.
6018 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6019 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6020 "{1*2{...". Broke in last revision.
6021 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6022 submodule connections with replications "{#{a},#{b}}".
6024 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6026 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6027 Fix typo in docstring.
6029 2010-10-24 Kenichi Handa <handa@m17n.org>
6031 * face-remap.el (text-scale-adjust): Call read-event with a proper
6034 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6036 * emacs-lisp/unsafep.el: Don't mark functions that display
6037 messages as safe. Suggested by Johan Bockgård.
6039 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6042 Turn comments into docstrings.
6044 * minibuffer.el (completion--replace): Move point where it belongs
6045 when there's a common suffix (bug#7215).
6047 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6049 Merge read-color and facemenu-read-color (Bug#7242).
6051 * faces.el (read-color): Use the completion code from
6052 facemenu-read-color. Require match in completion. Doc fix.
6054 * facemenu.el (facemenu-read-color): Alias for read-color.
6055 (facemenu-set-foreground, facemenu-set-background):
6058 * frame.el (set-background-color, set-foreground-color)
6059 (set-cursor-color, set-mouse-color, set-border-color):
6062 2010-10-24 Leo <sdl.web@gmail.com>
6064 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6065 argument of delete-file and delete-directory (Bug#7011).
6067 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6069 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6072 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6074 * emacs-lisp/package.el (package--generate-package-list): Make the
6075 *Packages* buffer read-only.
6077 2010-10-24 Alan Mackenzie <acm@muc.de>
6079 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6080 result of `c-beginning-of-decl-1' between invocations of a lambda
6081 function (Bug #7265).
6083 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6085 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6086 executable is not available on the system (Bug#7268).
6088 2010-10-24 Glenn Morris <rgm@gnu.org>
6090 * select.el (selection-coding-system, next-selection-coding-system):
6091 Sync doc with C versions.
6093 * w32-vars.el (x-select-enable-clipboard):
6094 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6095 * term/common-win.el (x-select-enable-clipboard): Move here.
6097 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6098 definition of C variable.
6100 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6101 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6102 Don't redefine things that are defined in C.
6103 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6104 (show-trailing-whitespace, auto-hscroll-mode)
6105 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6106 Set up the appropriate custom properties.
6108 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6111 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6112 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6113 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6114 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6116 2010-10-23 Glenn Morris <rgm@gnu.org>
6118 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6121 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6122 Sync docs with C version.
6124 * term/ns-win.el (xw-defined-colors):
6125 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6127 * term/pc-win.el (x-select-enable-clipboard):
6128 * term/x-win.el (x-select-enable-clipboard):
6129 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6131 * comint.el (comint-password-prompt-regexp): Make it less vague.
6134 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6136 * help.el (finder-by-keyword): Remove unnecessary autoload.
6138 2010-10-22 Glenn Morris <rgm@gnu.org>
6140 * loadup.el: Unconditionally load float-sup.
6141 * paren.el (show-paren-delay):
6142 * emacs-lisp/float-sup.el:
6143 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6144 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6145 (lazy-lock-stealth-verbose): Assume float support.
6146 * ps-print.el: Assume float support on Emacs.
6147 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6148 Remove non-float branch.
6150 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6151 src/Makefile no longer being pre-processed.
6153 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * emacs-lisp/find-func.el (find-library): Use test-completion.
6157 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6159 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6161 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6163 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6164 space in stat format string.
6165 (tramp-send-command): Unset $PS1 when using here documents, in
6166 order not to get several prompts.
6167 (tramp-get-inline-coding): Return `nil' in case of errors.
6169 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6171 * hexl.el (hexl-mode, hexl-mode-exit):
6172 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6173 (hexl-revert-buffer-function): New function.
6174 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6176 2010-10-19 Alan Mackenzie <acm@muc.de>
6178 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6179 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6180 that these keywords aren't wrongly matched as identifiers.
6182 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6183 setting of c-new-BEG and c-new-END from c-before-change to
6184 c-after-change. (Bug#7181)
6186 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6188 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6191 * custom.el (custom-theme-set-variables): Likewise.
6192 (load-theme): Add custom-theme-set-faces and
6193 custom-theme-set-variables to safe-functions while loading.
6194 (custom-enabled-themes): Mark as risky.
6196 2010-10-18 Julien Danjou <julien@danjou.info>
6198 * bindings.el: Remove end dashes in default mode-line-format.
6200 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6202 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6203 to delete-forward-char.
6205 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6206 deletechar, and hence delete-forward-char.
6208 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * repeat.el (repeat): Use read-key (bug#6256).
6212 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6214 * emacs-lisp/unsafep.el: Don't mark functions that display
6215 messages as safe. Suggested by Johan Bockgård.
6217 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6219 * minibuffer.el (completion--replace): Move point where it belongs
6220 when there's a common suffix (bug#7215).
6222 2010-10-19 Kenichi Handa <handa@m17n.org>
6224 * international/characters.el: Add category '|' (word breakable)
6225 to fullwidth characters.
6227 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6229 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6230 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6231 order to make stat results a float. Patch by Andreas Schwab
6232 <schwab@linux-m68k.org>.
6234 2010-10-18 Julien Danjou <julien@danjou.info>
6236 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6237 hidden by `make-pointer-invisible'.
6239 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * files.el (locate-file-completion-table): Strip non-matching elements
6242 before checking length of list (bug#7238).
6244 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6246 * custom.el (custom-theme-set-variables): Mark as a safe function.
6247 (load-theme): Check forms using unsafep.
6249 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6251 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6253 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6254 Fix aspell data file searching (bug#7230).
6256 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6258 * cus-theme.el (custom-theme--migrate-settings): New var.
6259 (customize-create-theme): Allow editing the `user' theme.
6260 (custom-theme-add-variable, custom-theme-add-var-1)
6261 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6262 to the front of each variable or face widget.
6263 (custom-theme-write): Save theme settings in the correct order.
6264 Optionally, remove saved settings from user customizations.
6265 (custom-theme-write-variables, custom-theme-write-faces):
6266 Save only the checked widgets.
6267 (customize-themes): Add a link for migrating custom settings.
6269 * custom.el (custom-declare-theme, provide-theme):
6270 Use custom-theme-name-valid-p.
6271 (custom-theme-name-valid-p): Remove checks that are now
6272 unnecessary since themes no longer obey load-path.
6274 * cus-edit.el (custom-variable-value-create): For the simple
6275 style, hide documentation string when hidden.
6277 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6279 * cus-edit.el (custom-variable, custom-face): Combine the
6280 :inhibit-magic and :display-style properties into a single
6281 :custom-style property.
6282 (custom-toggle-hide-variable, custom-toggle-hide-face):
6283 New functions. If hiding an edited value, save it to :shown-value.
6284 (custom-variable-value-create, custom-face-value-create): Use them.
6285 (custom-magic-reset): Allow magic property to be unset.
6287 * custom.el: Custom themes no longer use load-path.
6288 (custom-theme-load-path): New option. Change built-in theme
6290 (custom-enabled-themes): Add custom-theme-load-path dependency.
6291 (custom-theme--load-path): New function.
6292 (load-theme, custom-available-themes): Use it.
6294 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6295 (customize-themes): Link to custom-theme-load-path variable.
6296 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6297 :custom-style property.
6299 * themes/*.el: Moved to etc/.
6301 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6303 * textmodes/reftex-cite.el
6304 (reftex-extract-bib-entries-from-thebibliography): Do not move
6305 point when searching for \bibitem entries. Match entries with
6306 spaces or tabs in front of arguments.
6308 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6310 * cus-theme.el (customize-create-theme): Delete overlays after
6311 erasing. If given a THEME arg, display only the faces of that arg
6312 instead of custom-theme--listed-faces.
6313 (custom-theme-variable-menu, custom-theme-variable-action)
6314 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6315 (custom-theme-add-variable, custom-theme-add-face): Apply value
6316 from the theme settings, instead of the current value.
6317 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6318 (custom-theme-visit-theme): Allow calling outside theme buffers.
6319 (custom-theme-merge-theme): Don't enable the theme when merging.
6320 (custom-theme-write-variables, custom-theme-write-faces): Use the
6321 :shown-value properties to save buffer values, not global ones.
6322 (customize-themes): Display a warning about user customizations.
6324 * cus-edit.el (custom-variable-value-create)
6325 (custom-face-value-create): Obey new special properties
6326 :shown-value and :inhibit-magic.
6328 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6330 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6331 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6334 2010-10-14 Kenichi Handa <handa@m17n.org>
6336 * mail/rmail.el (rmail-show-message-1): Catch an error of
6337 base64-decode-region and just show an error message (bug#7165).
6339 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6340 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6341 a font-spec (bug#7197).
6343 2010-10-14 Glenn Morris <rgm@gnu.org>
6345 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6347 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6349 * international/mule.el (define-coding-system):
6350 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6351 * composite.el (compose-region): Fix typo in docstring.
6353 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6355 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6356 only after checking the theme-face property.
6358 * faces.el (face-spec-reset-face): Reset all attributes in one
6359 single call to set-face-attribute.
6360 (face-spec-match-p): Make it a defsubst.
6361 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6362 (x-create-frame-with-faces, tty-create-frame-with-faces)
6363 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6364 frame-set-background-mode, since they are recomputed immediately
6365 afterwards in face-set-after-frame-default.
6366 (face-set-after-frame-default): Minor optimization.
6367 (cursor): Provide non-trivial defface spec.
6369 * custom.el (custom-theme-recalc-face): Simplify.
6371 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6373 * calc/calc-alg.el (math-var): Rename from `var'.
6374 (math-is-polynomial, math-is-poly-rec): Replace `var'
6377 * calc/calcalg2.el (math-var): Rename from `var'.
6378 (calcFunc-table, math-scan-for-limits): Replace `var'
6381 2010-10-13 Glenn Morris <rgm@gnu.org>
6383 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6385 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6387 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6389 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6391 * net/tls.el (tls-program): Remove spurious %s from openssl.
6392 (tls-starttls-switches): Remove starttls hack.
6393 (open-tls-stream): Ditto.
6394 (tls-find-starttls-argument): Ditto.
6396 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6398 * image.el (image-library-alist): Declare as obsolete alias.
6399 (image-type-available-p): Use `dynamic-library-alist'.
6401 * term/w32-win.el (dynamic-library-alist):
6402 Use instead of `image-library-alist'.
6404 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6406 * subr.el (last): Make it faster. (Bug#7174)
6408 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6410 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6412 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6414 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6415 (describe-theme-1): Extract doc from unloaded themes.
6417 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6419 * themes/tango-theme.el:
6420 * themes/tango-dark-theme.el:
6421 * themes/wheatgrass-theme.el: New files.
6423 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6425 * cus-theme.el (describe-theme, customize-themes)
6426 (custom-theme-save): New commands.
6427 (custom-new-theme-mode-map): Bind C-x C-s.
6428 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6429 (customize-create-theme): New optional arg THEME.
6430 (custom-theme-revert): Use it.
6431 (custom-theme-visit-theme): Remove dead code.
6432 (custom-theme-merge-theme): Use custom-available-themes.
6433 (custom-theme-write): Make interactive.
6434 (custom-theme-write): Use custom-theme-name-valid-p.
6435 (describe-theme-1, custom-theme-choose-revert)
6436 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6438 (custom-theme-allow-multiple-selections): New option.
6439 (custom-theme-choose-mode): New major mode.
6441 * custom.el (custom-theme-set-variables): Remove dead code.
6442 Obey custom--inhibit-theme-enable.
6443 (custom--inhibit-theme-enable): New var.
6444 (provide-theme): Obey it.
6445 (load-theme): Replace load with manual read/eval, in order to
6446 check for correctness. Use custom-theme-name-valid-p.
6447 (custom-theme-name-valid-p): New function.
6448 (custom-available-themes): Use it.
6450 * cus-edit.el (custom--initialize-widget-variables): New function.
6451 (Custom-mode): Use it.
6453 * cus-face.el (custom-theme-set-faces): Remove dead code.
6454 Obey custom--inhibit-theme-enable.
6456 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6458 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6460 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6462 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6464 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6465 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6466 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6468 * cus-start.el (all): ns-right-alternate-modifier is new.
6470 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * emacs-lisp/lisp.el (lisp-completion-at-point):
6473 Use emacs-lisp-mode-syntax-table for the whole function.
6475 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6477 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6478 instead of font-lock-mode before adding keywords.
6479 Remove hi-lock-mode off code. Remove inhibit hack.
6480 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6481 non-nil; removed hook inhibit hack.
6483 2010-10-12 Glenn Morris <rgm@gnu.org>
6485 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6486 (load-path-shadows-find): ... to this.
6487 (list-load-path-shadows): Update for above change.
6489 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6491 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6493 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6494 Fix comment for declare-function.
6496 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6498 * custom.el (custom-fix-face-spec): New function; code moved from
6499 custom-face-edit-fix-value.
6500 (custom-push-theme): Use it when checking if a face has been
6501 changed outside customize.
6502 (custom-available-themes): New function.
6503 (load-theme): Use it.
6505 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6507 * custom.el (custom-push-theme): Cleanup (use cond).
6508 (disable-theme): Recompute the saved-face property.
6509 (custom-theme-recalc-face): Follow face alias before setting prop.
6511 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6512 New variables, containing checkbox images.
6514 * startup.el (fancy-startup-tail):
6515 * wid-edit.el (checkbox): Use them.
6517 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6519 * shell.el (shell-mode-map):
6520 * progmodes/modula2.el (m2-mode-map):
6521 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6522 * play/mpuz.el (mpuz-mode-map):
6523 * play/landmark.el (lm-mode-map):
6524 * play/decipher.el (decipher-mode-map):
6525 * play/5x5.el (5x5-mode-map):
6526 * net/telnet.el (telnet-mode-map):
6527 * net/quickurl.el (quickurl-list-mode-map):
6528 * net/mairix.el (mairix-searches-mode-map):
6529 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6530 * net/dig.el (dig-mode-map):
6531 * mail/mspools.el (mspools-mode-map):
6532 * hexl.el (hexl-mode-map):
6533 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6534 (wordstar-C-o-map, wordstar-C-q-map):
6535 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6536 * emacs-lisp/chart.el (chart-map):
6537 * edmacro.el (edmacro-mode-map):
6538 * erc/erc-list.el (erc-list-menu-mode-map):
6539 * array.el (array-mode-map): Declare and define in one step.
6541 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6543 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6545 * epa.el (epa-passphrase-callback-function): Display filename
6546 passed as the 3rd arg.
6547 * epa-file.el (epa-file-passphrase-callback-function):
6548 Pass filename to epa-passphrase-callback-function.
6550 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6552 * cus-edit.el (custom-face-widget-to-spec)
6553 (custom-face-get-current-spec, custom-face-state): New functions.
6554 (custom-face-set, custom-face-mark-to-save)
6555 (custom-face-value-create, custom-face-state-set): Use them.
6557 * cus-theme.el (custom-theme--listed-faces): New var.
6558 (customize-create-theme): Use *Custom Theme* as the buffer name.
6559 Set revert-buffer-function. Optional arg BUFFER. Insert all
6560 faces listed in custom-theme--listed-faces.
6561 (custom-theme-revert): New function.
6562 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6564 (custom-theme-write): Prompt for theme name if empty.
6565 (custom-theme-write-variables): Use dolist.
6566 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6568 2010-10-09 Alan Mackenzie <acm@muc.de>
6570 Enhance fontification of declarators to take account of the
6571 presence/absence of "typedef".
6573 * cc-engine.el (c-forward-type): New &optional param
6575 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6576 presence of either or both of a "struct"-like keyword and "typedef".
6578 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6579 fontification of declarators which follow a "}".
6580 (c-font-lock-declarations): Fontify declarators according to the
6581 presence/absence of "typedef".
6583 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6585 (c-typedef-decl-key): New lang variable built from
6586 c-typedef-decl-kwds.
6588 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6590 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6591 since that's too annoying. Move the filter groups commands to
6594 * epa.el (epa-passphrase-callback-function): Say what we're
6595 querying the password for.
6597 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6598 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6600 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6602 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6603 (custom-magic-value-create): Pad button tags with spaces.
6604 (custom-face-edit): New variable.
6605 (custom-face-value-create): Determine whether to use the usual
6606 face editor here, instead of using custom-face-selected.
6607 Pass face defaults to custom-face-edit widget.
6608 (custom-face-selected, custom-display-unselected): Delete widgets.
6609 (custom-display-unselected-match): Function removed.
6610 (custom-face-set, custom-face-mark-to-save):
6611 Accept custom-face-edit widgets as the direct widget child.
6613 * wid-edit.el (widget--completing-widget): New var.
6614 (widget-default-complete): Bind it when doing completion.
6615 (widget-string-complete, widget-file-complete): Use it.
6617 2010-10-09 Glenn Morris <rgm@gnu.org>
6619 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6620 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6621 (holiday-hebrew-misc): Small simplifications.
6623 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6625 * net/browse-url.el: Don't require thingatpt, term, dired,
6626 executable, or w3-auto when compiling.
6627 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6629 (browse-url-text-emacs): Require term.
6631 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6633 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6635 2010-10-08 Glenn Morris <rgm@gnu.org>
6637 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6639 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6640 (shadows-compare-text-p): Make it an obsolete alias for...
6641 (load-path-shadows-compare-text): ... new name.
6642 (find-emacs-lisp-shadows): Update for above name change.
6643 (load-path-shadows-same-file-or-nonexistent): New name for the old
6644 shadow-same-file-or-nonexistent.
6646 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6648 * minibuffer.el (completion--some, completion--do-completion)
6649 (minibuffer-complete-and-exit, minibuffer-completion-help)
6650 (completion-basic-try-completion)
6651 (completion-basic-all-completions)
6652 (completion-pcm--find-all-completions): Use lexical-let to
6653 avoid some false matches in variable completion (Bug#7056)
6655 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6657 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6659 2010-10-08 Leo <sdl.web@gmail.com>
6661 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6662 return non-nil if the file exists (Bug#7090).
6664 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6666 * minibuffer.el (completion--replace):
6667 Better preserve markers (bug#7138).
6669 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6671 * server.el (server-process-filter): Doc fix.
6673 2010-10-08 Drew Adams <drew.adams@oracle.com>
6675 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6677 2010-10-08 Glenn Morris <rgm@gnu.org>
6679 * vc/ediff-wind.el (ediff-setup-control-frame):
6680 * vc/ediff-ptch.el (ediff-default-backup-extension):
6681 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6682 (ediff-exec-process): Remove system-types emx, windows-95.
6684 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6686 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6688 * cus-edit.el (custom-variable, custom-face): Doc fix.
6689 (custom-face-edit): Add value-create attribute.
6690 (custom-face-edit-value-create)
6691 (custom-face-edit-value-visibility-action): New functions.
6692 Hide unused face attributes by default, and add a visibility toggle.
6693 (custom-face-edit-deactivate): Show empty values with shadow face.
6694 (custom-face-selected): Only use this for face specs with default
6696 (custom-face-value-create): Cleanup.
6698 * wid-edit.el (widget-checklist-value-create): Use dolist.
6699 (widget-checklist-match-find): Make second arg optional.
6701 2010-10-07 Glenn Morris <rgm@gnu.org>
6703 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6706 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6707 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6708 load-path-shadows-mode, update references.
6709 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6710 Rename variable and button.
6711 (list-load-path-shadows): Update button caller.
6713 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6715 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6716 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6717 (smie-merge-prec2s): Handle those new entries.
6718 (smie-prec2-levels): Only set precedence to nil for actual
6720 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6721 that is now unnecessary.
6723 2010-10-07 Miles Bader <miles@gnu.org>
6725 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6727 2010-10-07 Glenn Morris <rgm@gnu.org>
6729 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6730 (mail-position-on-field): Remove declarations.
6731 (mail-position-on-field): Autoload it.
6732 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6733 and mail-header-end. Don't require sendmail.
6735 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6736 (shadow-mode): New mode.
6737 (shadow-find-file): New button.
6738 (list-load-path-shadows): Use shadow-mode and buttons.
6740 * iimage.el (iimage-version): Remove.
6741 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6742 Turn into defcustoms.
6743 (iimage-mode-map): Give it a doc string.
6745 * calendar/appt.el (appt-activate): Give a warning rather than an error
6746 if there is no diary-file.
6748 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6751 Use `tramp-handle-find-backup-file-name'.
6753 2010-10-06 Glenn Morris <rgm@gnu.org>
6755 * font-core.el (font-lock-defaults-alist): Remove variable.
6756 (font-lock-mode): Doc fix.
6757 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6758 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6759 (font-lock-set-defaults): Doc fix.
6760 Do not consult font-lock-defaults-alist.
6762 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6764 * emacs-lisp/cl.el: No longer provide cl-19.
6766 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6768 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6769 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6770 New defuns, taken from tramp-smb.el.
6771 (tramp-coding-system-change-eol-conversion)
6772 (tramp-set-process-query-on-exit-flag): Remove.
6774 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6775 (tramp-compat-coding-system-change-eol-conversion)
6776 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6779 * net/tramp-gvfs.el:
6780 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6781 by `tramp-compat-set-process-query-on-exit-flag'.
6783 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6784 Use `tramp-handle-directory-files-and-attributes',
6785 `tramp-handle-file-exists-p' and
6786 `tramp-handle-file-newer-than-file-p'.
6787 (tramp-imap-handle-file-exists-p)
6788 (tramp-imap-handle-file-executable-p)
6789 (tramp-imap-handle-file-readable-p)
6790 (tramp-imap-handle-directory-files-and-attributes)
6791 (tramp-imap-handle-file-newer-than-file-p): Remove.
6793 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6794 by `tramp-compat-set-process-query-on-exit-flag' and
6795 `tramp-coding-system-change-eol-conversion' by
6796 `tramp-compat-coding-system-change-eol-conversion'.
6798 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6799 Use `tramp-handle-directory-files-and-attributes',
6800 `tramp-handle-file-exists-p' and
6801 `tramp-handle-file-newer-than-file-p'.
6802 (tramp-smb-handle-directory-files-and-attributes)
6803 (tramp-smb-handle-file-exists-p)
6804 (tramp-smb-handle-file-newer-than-file-p): Remove.
6805 (tramp-smb-maybe-open-connection):
6806 Replace `tramp-set-process-query-on-exit-flag' by
6807 `tramp-compat-set-process-query-on-exit-flag'.
6809 2010-10-05 Glenn Morris <rgm@gnu.org>
6811 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6813 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6815 Continue reorganization of load dependencies. (Bug#7156)
6817 * net/tramp.el (tramp-handle-file-local-copy-hook)
6818 (tramp-delete-temp-file-function): Move down.
6819 (tramp-exists-file-name-handler): Move up.
6820 (tramp-register-file-name-handlers): Simplify autoload.
6821 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6822 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6823 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6824 (tramp-handle-file-name-completion)
6825 (tramp-handle-file-name-directory)
6826 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6827 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6828 (tramp-handle-find-backup-file-name)
6829 (tramp-handle-insert-file-contents, tramp-handle-load)
6830 (tramp-handle-substitute-in-file-name)
6831 (tramp-handle-unhandled-file-name-directory)
6832 (tramp-mode-string-to-int, tramp-local-host-p)
6833 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6835 * net/tramp-gvfs.el (top):
6836 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6838 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6839 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6841 2010-10-04 Glenn Morris <rgm@gnu.org>
6843 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6844 (appt-activate): Give status messages.
6846 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6848 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6849 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6850 `gnutls-negotiate' (formerly `starttls-negotiate').
6851 Remove trivial wrapper `starttls-open-stream'.
6853 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6855 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6856 log-outgoing commands.
6857 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6858 to create a buffer local revert-buffer-function variable.
6859 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6860 revert-buffer-function lambda.
6862 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6864 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6865 `gnutls-boot'. Make TYPE the only required parameter.
6866 Allow TRUSTFILES and KEYFILES to be lists.
6867 (open-ssl-stream): Use it.
6869 2010-10-03 Glenn Morris <rgm@gnu.org>
6871 * subr.el (directory-sep-char): Remove obsolete variable.
6872 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6875 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6876 * vc/vc.el (vc-static-header-alist): Doc fix.
6877 * vc/vc-cvs.el (vc-cvs-header):
6878 * vc/vc-rcs.el (vc-rcs-header):
6879 * vc/vc-sccs.el (vc-sccs-header):
6880 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6881 * obsolete/vc-mcvs.el (vc-mcvs-header):
6882 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6885 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6887 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6888 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6890 2010-10-03 Glenn Morris <rgm@gnu.org>
6892 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6894 * textmodes/rst.el (rst-font-lock-keywords-function):
6897 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6899 * printing.el: Drop Emacs 20 code.
6901 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6902 without having used appt.el already).
6904 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6905 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6906 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6908 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6909 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6911 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6912 (charset-width, find-charset-region, chars-in-region, forward-point)
6913 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6914 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6915 Remove compatibility cruft (none of these are used by ps*.el).
6917 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6919 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6921 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6923 * server.el (server-process-filter, server-return-error):
6924 Give emacsclient time to shut down after receiving an error string.
6926 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6928 * files.el (remote-file-name-inhibit-cache): New defcustom.
6930 * time.el (display-time-file-nonempty-p):
6931 Use `remote-file-name-inhibit-cache'.
6933 * net/tramp.el (tramp-completion-reread-directory-timeout):
6936 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6937 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6938 `remote-file-name-inhibit-cache'. Check also for an integer
6939 value. Add/increase counter when `tramp-verbose' >= 10.
6940 (tramp-set-file-property): Add/increase counter when
6941 `tramp-verbose' >= 10.
6943 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6944 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6945 (tramp-bug): Set tramp-autoload cookie. Report all interned
6946 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6947 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6948 characters only in strings.
6950 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6951 to backward compatibility.
6953 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6954 (tramp-handle-file-name-all-completions)
6955 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6956 (tramp-open-connection-setup-interactive-shell):
6957 Call `tramp-cleanup-connection' directly.
6959 2010-10-02 Glenn Morris <rgm@gnu.org>
6961 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6963 * subr.el (char-bytes): Remove obsolete function.
6965 * isearch.el (isearch-return-char): Remove obsolete function.
6967 * mouse.el: No longer provide mldrag.
6968 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6969 Remove obsolete aliases.
6971 * comint.el (comint-kill-output): Remove obsolete alias.
6973 * composite.el (decompose-composite-char): Remove obsolete function.
6974 * ps-def.el (decompose-composite-char): Remove unused function.
6976 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6978 * outline.el (outline-visible): Remove obsolete function.
6980 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6981 * faces.el (internal-find-face, internal-get-face)
6982 (frame-update-faces, frame-update-face-colors)
6983 (x-frob-font-weight, x-frob-font-slant)
6984 (internal-frob-font-weight, internal-frob-font-slant)
6985 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6986 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6987 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6989 * emulation/viper-util.el (viper-get-face):
6990 * obsolete/lucid.el (find-face, get-face): Use facep.
6991 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6992 Remove unused functions.
6993 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6995 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6996 delete tempfile if interrupted during compilation.
6998 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7000 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7002 (tls-program): Add --insecure to be consistent with the defaults from
7003 openssl s_client. Now all three commands are insecure.
7005 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7007 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7008 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7009 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7011 2010-10-01 Glenn Morris <rgm@gnu.org>
7013 * obsolete/sc.el: Remove file.
7015 * files.el (temporary-file-directory): On darwin, also try
7016 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7018 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7020 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7021 Let's not break compatibility gratuitously, shall we?
7023 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7025 * net/tls.el (tls-starttls-switches): New variable.
7026 (tls-find-starttls-argument): Use it.
7027 (open-tls-stream): Ditto.
7029 * net/netrc.el (netrc-credentials): Return the value of the "default"
7031 (netrc-machine): Ditto.
7033 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7035 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7037 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7039 * server.el (server-start): Don't write pid to the authentication file.
7040 (server-create-tty-frame): Don't send pid.
7041 (server-process-filter): Send pid at the start of every connection.
7043 2010-09-30 Glenn Morris <rgm@gnu.org>
7045 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7046 (show-all-diary-entries): Remove obsolete function aliases.
7048 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7049 Remove options, obsolete since 22.1.
7050 (appt-display-format, appt-display-message):
7051 Remove backwards-compatibility code.
7052 (appt-check): No longer check appt-issue-message.
7053 (appt-make-list): No longer autoload it. Doc fix. No longer
7054 activate the package.
7056 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7058 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7059 (starttls-negotiate): Just call boot, and let the handshake be
7060 triggered from the read loop.
7062 2010-09-29 Glenn Morris <rgm@gnu.org>
7064 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7065 not displaying the diary.
7066 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7067 * calendar/appt.el (appt-check): No longer need to kill diary.
7069 * calendar/diary-lib.el (diary-list-entries): Move the
7070 "Preparing..." message entirely here.
7071 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7072 messages to diary-list-entries.
7073 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7074 diary-display-function.
7076 * calendar/diary-lib.el (diary-include-other-diary-files):
7077 Trap some recursive includes.
7079 * calendar/appt.el (appt-activate): Check diary file.
7081 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7083 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7086 * calendar/time-date.el: No need to require cl for Emacs 21.
7088 2010-09-28 Glenn Morris <rgm@gnu.org>
7090 * calendar/appt.el (appt-check): Minor simplification.
7092 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7094 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7097 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7099 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7100 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7102 2010-09-27 Kenichi Handa <handa@m17n.org>
7104 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7107 2010-09-27 Kenichi Handa <handa@m17n.org>
7109 * international/mule.el (define-coding-system): Docstring fixed.
7111 * international/mule-diag.el (describe-character-set): Use princ
7112 with proper print-length and print-level instead of insert.
7114 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7116 * window.el (walk-windows): Doc fix (bug#7105).
7118 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * emacs-lisp/float-sup.el (e): Remove.
7122 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7124 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7126 (starttls-negotiate): Use it.
7128 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7130 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7133 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7137 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7139 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7141 * net/netrc.el (netrc-store-data): New function.
7143 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7145 * net/gnutls.el: GnuTLS glue code to set up a connection.
7147 2010-09-25 Julien Danjou <julien@danjou.info>
7149 * notifications.el: Call dbus-register-signal only if it is bound.
7151 2010-09-25 Glenn Morris <rgm@gnu.org>
7153 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7154 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7155 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7156 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7157 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7158 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7159 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7160 * eshell/esh-util.el, eshell/esh-var.el:
7161 Remove leading `*' from docs of faces and defcustoms.
7163 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7165 * eshell/em-ls.el (eshell-ls-archive-regexp):
7166 * eshell/esh-util.el (eshell-tar-regexp):
7167 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7168 * info.el (Info-suffix-list):
7169 * international/mule.el (auto-coding-alist):
7170 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7171 * progmodes/etags.el (tags-compression-info-list):
7172 Support xz compression.
7174 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7176 * files.el (get-free-disk-space): Don't assume the "df" output
7177 columns line up (Bug#6995).
7179 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7181 * finder.el (finder-unknown-keywords):
7182 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7183 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7185 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7187 * server.el (server-start): Revert part of 2010-08-08 change. Using
7188 address 127.0.0.1 for local host is now done in Fmake_network_process.
7190 2010-09-24 Glenn Morris <rgm@gnu.org>
7192 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7193 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7194 * textmodes/css-mode.el, textmodes/dns-mode.el:
7195 Move autoloaded auto-mode-alist entries to files.el.
7196 * files.el (auto-mode-alist): Move entries here.
7198 2010-09-23 Glenn Morris <rgm@gnu.org>
7200 * isearch.el (isearch-lazy-highlight-cleanup)
7201 (isearch-lazy-highlight-initial-delay)
7202 (isearch-lazy-highlight-interval)
7203 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7204 * net/net-utils.el (ipconfig-program-options):
7205 Move aliases to options before the associated definitions.
7207 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7209 * newcomment.el (comment-normalize-vars): Better test validity of
7212 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7215 (float-e): New name for `e'.
7216 (degrees-to-radians, radians-to-degrees):
7217 * calendar/solar.el (solar-longitude):
7218 * calculator.el (calculator-registers, calculator-funcall):
7219 * textmodes/artist.el (artist-spray-random-points):
7220 * play/bubbles.el (bubbles--initialize-images): Use new names.
7222 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7224 Update to CEDET 1.0's version of EIEIO.
7226 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7228 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7229 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7230 (class-precedence-list): If class is nil, return nil.
7231 (eieio-generic-call): If class of first input arg is nil, don't
7232 look up static methods, and do check for primary methods.
7233 (initialize-instance): See if the default needs to be evaluated
7234 during the constructor.
7235 (eieio-perform-slot-validation-for-default): Don't do the check
7236 for values that will eventually be evaluated.
7237 (eieio-eval-default-p): New function.
7238 (eieio-default-eval-maybe): Use it.
7240 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7242 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7243 method-invocation-order.
7244 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7245 (eieio-class-precedence-dfs): Compute class precedence list using
7247 (eieio-class-precedence-bfs): Compute class precedence list using
7249 (eieio-class-precedence-c3): Compute class precedence list using
7251 (class-precedence-list): New function.
7252 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7253 (inconsistent-class-hierarchy): New error symbol.
7254 (call-next-method): Stow the replacement argument list for future
7255 call-next-method invocations.
7257 2010-09-23 Glenn Morris <rgm@gnu.org>
7259 * calendar/appt.el (appt-check): If not displaying the diary,
7260 use (diary 1) to only get the entries we need.
7261 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7262 that it is in day order. (Bug#7019)
7264 * calendar/appt.el (appt-check): Rather than showing the diary,
7265 just turn off invisible display, and only if needed.
7267 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7269 2010-09-23 Glenn Morris <rgm@gnu.org>
7271 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7272 (byte-compile-defvar, byte-compile-cl-warn):
7273 Start warnings with lower-case, like the majority.
7275 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7277 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7279 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7280 * files.el (auto-mode-alist): Move ld-script entries here, further down
7283 * vc/add-log.el: Don't require timezone when compiling.
7284 (timezone-make-date-sortable): Autoload it.
7285 (change-log-sortable-date-at): Don't require timezone.
7286 Use `ignore-errors'.
7288 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7289 Move alias before definition, so it does not need autoloading.
7291 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7292 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7293 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7294 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7295 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7296 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7297 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7298 * textmodes/tex-mode.el, textmodes/two-column.el:
7299 Remove leading `*' from docs of defcustoms etc.
7301 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7303 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7305 2010-09-22 Dan Christensen <jdc@uwo.ca>
7307 * calendar/time-date.el (date-to-time): Try using parse-time-string
7308 first before using the slower timezone-make-date-arpa-standard.
7310 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7312 * calendar/time-date.el (format-seconds): Comment fix.
7314 2010-09-22 Glenn Morris <rgm@gnu.org>
7316 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7317 is not automatically buffer-local.
7319 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7322 (smie-indent-comment): Be more careful with comment-start-skip.
7323 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7324 (smie-indent-functions): Use them.
7326 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7328 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7330 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7332 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7333 tool-bar-position. Don't modify frame parameters here.
7334 (menu-bar-options-save): Add tool-bar-position.
7336 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7338 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7340 * textmodes/reftex-parse.el (reftex-what-macro)
7341 (reftex-context-substring): Let-bind forward-sexp-function to nil
7342 since we don't need/want to treat \begin...\end as a block (bug#7053).
7344 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7346 * simple.el (blink-matching-open): Use syntax-class.
7348 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7349 Set invisibility spec for pascal's outline mode.
7350 (pascal-outline-change): Clean up calling convention.
7351 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7353 * progmodes/prolog.el (prolog-smie-forward-token)
7354 (prolog-smie-backward-token): New functions.
7355 (prolog-mode-variables): Use them to parse "!," correctly.
7356 Set up smie-blink-matching for ".".
7358 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7360 (ispell-region, ispell-process-line): Update users.
7362 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7365 * textmodes/ispell.el: Fix commenting convention.
7366 (ispell-parse-output): Simplify, use push.
7367 (ispell-region): Use match-string-no-properties.
7368 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7369 (ispell-minor-mode): Use define-minor-mode.
7370 (ispell-message): Remove unused var `skip-regexp'.
7371 (ispell-add-per-file-word-list): Use dynamic let-binding.
7372 Try and use the proper comment marker.
7374 * mail/sendmail.el: Fix commenting convention.
7375 (sendmail-send-it): Use line-beginning-position.
7377 * help-fns.el (describe-variable): Add original value, if applicable.
7379 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7381 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7383 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7385 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7388 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7389 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7390 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7391 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7392 something like "." can also be a closer.
7393 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7394 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7395 Rename internal functions to use "--". Update callers.
7397 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7399 * fringe.el (fringe-styles): New var.
7400 (fringe-mode, fringe-query-style): Use it.
7402 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7404 * progmodes/sql.el: Version 2.8
7405 (sql-login-params): Update widget structure; changes still needed.
7406 (sql-product-alist): Add :list-all and :list-table features for
7407 SQLite, Postgres and MySQL products.
7408 (sql-redirect): Handle default value.
7409 (sql-execute, sql-execute-feature): New functions.
7410 (sql-read-table-name): New function.
7411 (sql-list-all, sql-list-table): New functions. User API.
7412 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7413 for above functions.
7414 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7415 for above functions.
7416 (sql-postgres-login-params): Add user and database defaults.
7417 (sql-buffer-live-p): Bug fix.
7418 (sql-product-history): New variable.
7419 (sql-read-product): New function. Use it.
7420 (sql-set-product, sql-product-interactive): Use it.
7421 (sql-connection-history): New variable.
7422 (sql-read-connection): New function. Use it.
7423 (sql-connect): New function.
7424 (sql-for-each-login): Redesign function interface.
7425 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7426 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7427 (sql-comint): Check for program. Existing live buffer.
7428 (sql-comint-postgres): Add port parameter.
7430 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * emacs-lisp/warnings.el: Fix commenting convention.
7433 (display-warning): Use special mode and make the buffer read-only.
7435 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7437 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7438 empty string when it follows a repeated or optional pattern.
7440 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7442 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7443 (indent-region): Use indent-according-to-mode.
7445 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7447 * fringe.el (fringe-mode): Doc fix.
7449 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7451 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7452 refreshing the preview buffer.
7454 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7456 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7457 (latex-syntax-propertize-rules): New consts; replace
7458 tex-font-lock-syntactic-keywords.
7459 (tex-env-mark, latex-env-before-change): New functions.
7460 (latex-electric-env-pair-mode): New minor mode.
7461 (tex-font-lock-verb): Change arguments; do move point.
7462 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7463 representation as a form of comment.
7464 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7465 (doctex-syntax-propertize-rules): New const; replaces
7466 doctex-font-lock-syntactic-keywords.
7467 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7469 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7470 (fortran-make-syntax-propertize-function): New function; replaces
7471 fortran-font-lock-syntactic-keywords.
7472 (fortran-mode): Use it.
7473 (fortran-line-length): Use it. Improve interactive spec.
7475 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7476 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7477 when adding surrounding \(..\).
7479 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7481 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7483 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7484 Use with-current-buffer.
7486 * isearch.el (isearch-face): Rename from `isearch'.
7487 (isearch-highlight): Use new name.
7489 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7491 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7492 5, for `half' width fringes. (Bug#6933)
7494 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7497 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7499 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7501 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7503 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7504 in calculating new frame position. Add more space between new and
7505 parent on the left (Bug#7048).
7507 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7509 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7512 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7514 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7516 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7517 obsolete alias for x-selection-value.
7519 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7521 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7523 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7526 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7528 * net/tramp-compat.el (tramp-compat-with-temp-message)
7529 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7530 (tramp-compat-process-put): New defuns.
7532 * net/tramp.el (top):
7533 * net/tramp-gvfs.el (top):
7534 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7536 * net/tramp.el (tramp-progress-reporter-update):
7537 Use `tramp-compat-funcall'.
7539 * net/tramp.el (tramp-process-actions):
7540 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7541 * net/tramp-sh.el (tramp-handle-vc-registered)
7542 (tramp-get-remote-stat, tramp-get-remote-readlink):
7543 Use `tramp-compat-with-temp-message'.
7545 * net/tramp-sh.el (top): Require 'cl.
7546 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7547 (tramp-open-connection-setup-interactive-shell):
7548 Use `tramp-compat-process-put'.
7550 2010-09-15 Alan Mackenzie <acm@muc.de>
7552 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7554 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7556 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7559 `lexical' for warnings related to lexical scoping.
7560 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7561 global vars which don't have a prefix and could hence affect lexical
7562 scoping in unrelated files.
7564 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7566 * net/imap.el: Revert back to version
7567 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7570 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7572 * obsolete/old-whitespace.el (whitespace-unload-function):
7573 Explicitly pass `obarray' to `unintern' to avoid a warning.
7575 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7577 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7578 Add `when' argument. Update callers.
7580 * subr.el (unintern): Declare the obarray arg mandatory.
7582 2010-09-14 Glenn Morris <rgm@gnu.org>
7584 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7587 * calendar/diary-lib.el (diary-included-files): New variable.
7588 (diary-list-entries): Maybe initialize diary-included-files.
7589 (diary-include-other-diary-files): Append to diary-included-files.
7590 * calendar/appt.el (appt-update-list): Also check the members of
7591 diary-included-files. (Bug#6999)
7592 (appt-check): Doc fix.
7594 2010-09-14 David Reitter <david.reitter@gmail.com>
7596 * simple.el (line-move-visual): Do not truncate goal column to
7597 integer size. (Bug#7020)
7599 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7601 * repeat.el (repeat): Allow repeating when the last event is a click.
7602 Suggested by Drew Adams (bug#6256).
7604 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7606 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7607 Replace setting HGRCPATH to "" by some less invasive --config options.
7609 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * font-lock.el (font-lock-beginning-of-syntax-function):
7614 2010-09-14 Glenn Morris <rgm@gnu.org>
7616 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7617 and tool-bar modes. (Bug#6211)
7618 (menu-bar-mode): Move setting of standard-value after the
7619 minor-mode definition, otherwise it seems to have no effect.
7621 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7623 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7624 Fix typo. (Bug#6976)
7626 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7628 * whitespace.el: Allow cleaning up blanks without blank
7629 visualization (Bug#6651). Adjust help window for
7630 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7631 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7632 (whitespace-style): Add new value 'face. Adjust docstring.
7633 (whitespace-space, whitespace-hspace, whitespace-tab):
7634 Adjust foreground property face.
7635 (whitespace-line-column): Adjust docstring and type declaration.
7636 (whitespace-style-value-list, whitespace-toggle-option-alist)
7637 (whitespace-help-text): Adjust const initialization.
7638 (whitespace-toggle-options, global-whitespace-toggle-options):
7640 (whitespace-display-window, whitespace-interactive-char)
7641 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7642 (whitespace-help-scroll): New fun.
7644 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7646 * calendar/time-date.el (format-seconds): Comment fix.
7648 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7650 * progmodes/sql.el: Version 2.7.
7651 (sql-buffer-live-p): Improve detection.
7652 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7653 (sql-set-sqli-buffer): Use it.
7654 (sql-product-interactive): Run `sql-set-sqli-hook'.
7655 (sql-rename-buffer): Code cleanup.
7656 (sql-redirect, sql-redirect-value): New functions. More to come.
7658 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7660 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.
7661 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7662 (TRAMP_SRC): New macro.
7663 ($(lisp)/net/tramp-loaddefs.el): New target.
7665 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7667 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7669 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7671 * net/tramp.el (top): Don't show loading message. Require just
7672 'tramp-compat, everything else is required there.
7673 Use `ignore-errors' where appropriate.
7674 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7675 (tramp-terminal-type, tramp-end-of-output)
7676 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7677 (tramp-completion-function-alist-ssh)
7678 (tramp-completion-function-alist-telnet)
7679 (tramp-completion-function-alist-su)
7680 (tramp-completion-function-alist-putty, tramp-remote-path)
7681 (tramp-remote-process-environment, tramp-sh-extra-args)
7682 (tramp-actions-before-shell, tramp-uudecode)
7683 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7684 (tramp-perl-file-attributes)
7685 (tramp-perl-directory-files-and-attributes)
7686 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7687 (tramp-perl-encode, tramp-perl-decode)
7688 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7689 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7690 (tramp-handle-make-symbolic-link, tramp-handle-load)
7691 (tramp-handle-file-name-as-directory)
7692 (tramp-handle-file-name-directory)
7693 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7694 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7695 (tramp-do-file-attributes-with-ls)
7696 (tramp-do-file-attributes-with-perl)
7697 (tramp-do-file-attributes-with-stat)
7698 (tramp-handle-set-visited-file-modtime)
7699 (tramp-handle-verify-visited-file-modtime)
7700 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7701 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7702 (tramp-handle-file-selinux-context)
7703 (tramp-handle-set-file-selinux-context)
7704 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7705 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7706 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7707 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7708 (tramp-handle-file-ownership-preserved-p)
7709 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7710 (tramp-handle-directory-files-and-attributes)
7711 (tramp-do-directory-files-and-attributes-with-perl)
7712 (tramp-do-directory-files-and-attributes-with-stat)
7713 (tramp-handle-file-name-all-completions)
7714 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7715 (tramp-handle-copy-file, tramp-handle-copy-directory)
7716 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7717 (tramp-do-copy-or-rename-file-via-buffer)
7718 (tramp-do-copy-or-rename-file-directly)
7719 (tramp-do-copy-or-rename-file-out-of-band)
7720 (tramp-handle-make-directory, tramp-handle-delete-directory)
7721 (tramp-handle-delete-file)
7722 (tramp-handle-dired-recursive-delete-directory)
7723 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7724 (tramp-handle-insert-directory)
7725 (tramp-handle-unhandled-file-name-directory)
7726 (tramp-handle-expand-file-name)
7727 (tramp-handle-substitute-in-file-name)
7728 (tramp-handle-executable-find, tramp-process-sentinel)
7729 (tramp-handle-start-file-process, tramp-handle-process-file)
7730 (tramp-handle-call-process-region, tramp-handle-shell-command)
7731 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7732 (tramp-handle-insert-file-contents)
7733 (tramp-handle-insert-file-contents-literally)
7734 (tramp-handle-find-backup-file-name)
7735 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7736 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7737 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7738 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7739 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7740 (tramp-find-file-exists-command, tramp-open-shell)
7741 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7742 (tramp-open-connection-setup-interactive-shell)
7743 (tramp-local-coding-commands, tramp-remote-coding-commands)
7744 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7745 (tramp-inline-compress-commands, tramp-find-inline-compress)
7746 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7747 (tramp-send-command, tramp-wait-for-output)
7748 (tramp-send-command-and-check, tramp-barf-unless-okay)
7749 (tramp-send-command-and-read, tramp-mode-string-to-int)
7750 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7751 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7752 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7753 (tramp-method-out-of-band-p, tramp-local-host-p)
7754 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7755 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7756 (tramp-get-test-command, tramp-get-test-nt-command)
7757 (tramp-get-file-exists-command, tramp-get-remote-ln)
7758 (tramp-get-remote-perl, tramp-get-remote-stat)
7759 (tramp-get-remote-readlink, tramp-get-remote-trash)
7760 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7761 (tramp-get-local-uid, tramp-get-local-gid)
7762 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7764 (tramp-methods, tramp-default-method-alist)
7765 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7766 Move initialization to tramp-sh.el.
7767 (tramp-temp-name-prefix): Make it a defconst.
7768 (tramp-dissect-file-name): Don't check anymore for multi-hop
7770 (tramp-debug-outline-regexp): Add a docstring.
7771 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7772 (tramp-get-debug-buffer): Use it.
7774 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7775 initialization forms.
7776 (tramp-set-connection-property): Don't protect `tramp-message'
7777 call, it isn't necessary any longer.
7778 (tramp-dump-connection-properties): Use `ignore-errors'.
7780 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7781 'password-cache and 'auth-source.
7783 * net/tramp-gvfs.el (top):
7784 * net/tramp-smb.el (top): Require 'tramp-sh.
7786 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7788 * net/tramp-sh.el: New file, derived from tramp.el.
7789 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7790 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7791 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7792 Use `ignore-errors' where appropriate.
7793 (tramp-sh-file-name-handler-alist): Rename from
7794 `tramp-file-name-handler-alist'.
7795 (tramp-send-command-and-check): Return t or nil. Remove all
7796 `zerop' checks, where called.
7797 (tramp-handle-set-file-modes)
7798 (tramp-do-copy-or-rename-file-directly)
7799 (tramp-handle-delete-directory, tramp-handle-delete-file)
7800 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7801 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7802 (tramp-get-remote-ln): Set tramp-autoload cookie.
7804 * net/tramp-fish.el: Remove file.
7806 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7808 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7809 buffer-file-name to avoid file-locking. (Bug#7026)
7811 2010-09-13 Julien Danjou <julien@danjou.info>
7813 * notifications.el (notifications-notify): Add support for
7814 image-path and sound-name.
7815 (notifications-specification-version): Add this variable.
7817 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7819 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7821 2010-09-12 Leo <sdl.web@gmail.com>
7823 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7824 (rcirc-completion-start): New variables.
7825 (rcirc-nick-completions): Rename to rcirc-completions.
7826 (rcirc-nick-completion-start-offset): Delete.
7827 (rcirc-completion-at-point): New function for constructing
7828 completion data for both nicks and irc commands. Add to
7829 completion-at-point-functions in rcirc mode.
7830 (rcirc-complete): Rename from rcirc-nick-complete; use
7831 rcirc-completion-at-point.
7832 (defun-rcirc-command): Update rcirc-client-commands.
7834 2010-09-11 Glenn Morris <rgm@gnu.org>
7836 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7837 atomically, to avoid parallel build errors. (Bug#4196)
7839 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7841 * progmodes/sql.el: Version 2.6
7842 (sql-dialect): Synonym for "sql-product".
7843 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7844 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7845 Set "sql-buffer" to buffer name not buffer object so multiple sql
7846 interactive buffers work properly. Reverts misguided changes in
7848 (sql-comint): Make sure different buffer name is used if "*SQL*"
7849 buffer is for a different product.
7850 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7852 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7853 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7854 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7855 Accept new buffer name or prompt for one.
7856 (sql-port): Default to zero.
7857 (sql-comint-mysql): Handle "sql-port" as a numeric.
7858 (sql-port-history): Delete unused variable.
7859 (sql-get-login): Default "sql-port" to a number.
7860 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7861 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7862 "sqlite3" executables.
7863 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7864 (sql-buffer-live-p): New function.
7865 (sql-mode-menu, sql-send-string): Use it.
7866 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7868 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7869 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7871 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7873 * net/netrc.el (netrc-credentials): New convenience function.
7875 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7877 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7878 to replace texinfo-font-lock-syntactic-keywords.
7879 (texinfo-mode): Use it.
7881 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7882 Use syntax-propertize-function.
7884 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7885 replace sgml-font-lock-syntactic-keywords.
7886 (sgml-mode): Use it.
7888 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7889 since we don't use it.
7891 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7893 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7895 (vhdl-fontify-buffer): Adjust.
7897 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7898 replace tcl-font-lock-syntactic-keywords.
7901 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7902 replace simula-font-lock-syntactic-keywords.
7903 (simula-mode): Use it.
7905 * progmodes/sh-script.el (sh-st-symbol): Remove.
7906 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7907 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7908 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7909 (sh-font-lock-paren): Set syntax-multiline.
7910 (sh-font-lock-syntactic-keywords): Remove.
7911 (sh-syntax-propertize-function): New function to replace it.
7914 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7915 Define while compiling.
7916 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7917 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7918 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7919 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7920 (ruby-here-doc-end-syntax): Only define when
7921 syntax-propertize is not available.
7922 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7924 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7925 (electric-indent-chars): Silence bytecompiler.
7926 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7927 electric-indent-chars.
7929 * progmodes/python.el (python-syntax-propertize-function): New var to
7930 replace python-font-lock-syntactic-keywords.
7931 (python-mode): Use it.
7932 (python-quote-syntax): Simplify and adjust to new use.
7934 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7935 replace perl-font-lock-syntactic-keywords.
7936 (perl-syntax-propertize-special-constructs): New fun to replace
7937 perl-font-lock-special-syntactic-constructs.
7938 (perl-font-lock-syntactic-face-function): New fun.
7939 (perl-mode): Use it.
7941 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7942 to replace octave-font-lock-close-quotes.
7943 (octave-syntax-propertize-function): New function to replace
7944 octave-font-lock-syntactic-keywords.
7945 (octave-mode): Use it.
7947 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7948 replaces mixal-font-lock-syntactic-keywords.
7949 (mixal-mode): Use it.
7951 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7952 New var; replaces makefile-font-lock-syntactic-keywords.
7953 (makefile-mode): Use it.
7954 (makefile-imake-mode): Adjust.
7956 * progmodes/js.el (js--regexp-literal): Define while compiling.
7957 (js-syntax-propertize-function): New var; replaces
7958 js-font-lock-syntactic-keywords.
7961 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7962 replaces gdb-script-font-lock-syntactic-keywords.
7963 (gdb-script-mode): Use it.
7965 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7966 (fortran--font-lock-syntactic-keywords): New var.
7967 (fortran-line-length): Update syntax-propertize-function and
7968 fortran--font-lock-syntactic-keywords.
7970 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7972 * progmodes/cfengine.el (cfengine-mode):
7973 Use syntax-propertize-function.
7974 (cfengine-font-lock-syntactic-keywords): Remove.
7976 * progmodes/autoconf.el (autoconf-mode):
7977 Use syntax-propertize-function.
7978 (autoconf-font-lock-syntactic-keywords): Remove.
7980 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7981 (ada-after-change-function, ada-initialize-syntax-table-properties)
7982 (ada-handle-syntax-table-properties): Only define when
7983 syntax-propertize is not available.
7984 (ada-mode): Use syntax-propertize-function.
7986 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7987 (font-lock-fontify-syntactic-keywords-region): Move handling of
7988 font-lock-syntactically-fontified to...
7989 (font-lock-default-fontify-region): ...here.
7990 Let syntax-propertize-function take precedence.
7991 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7993 * emacs-lisp/syntax.el (syntax-propertize-function)
7994 (syntax-propertize-chunk-size, syntax-propertize--done)
7995 (syntax-propertize-extend-region-functions): New vars.
7996 (syntax-propertize-wholelines, syntax-propertize-multiline)
7997 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7998 (syntax-propertize): New functions.
7999 (syntax-propertize-rules): New macro.
8000 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8001 (syntax-ppss): Call syntax-propertize.
8003 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8005 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8007 * textmodes/ispell.el (ispell-init-process): Improve comments.
8008 XEmacs compatibility changes regarding (add-hook) 'local option
8009 and (set-process-query-on-exit-flag).
8011 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8013 * net/tramp-cache.el (tramp-parse-connection-properties):
8014 Set tramp-autoload cookie.
8016 2010-09-09 Glenn Morris <rgm@gnu.org>
8018 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8019 (imagemagick-register-types): Doc fix.
8021 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8023 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8025 * progmodes/js.el (require): Require is already "eval-and-compile".
8026 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8027 (js--re-search-backward): Use js--re-search-forward.
8029 * progmodes/fortran.el (fortran-line-length): Don't recompute
8030 syntactic keywords redundantly a second time.
8032 * progmodes/ada-mode.el: Replace "(set '" with setq.
8033 (ada-mode): Simplify.
8034 (ada-create-case-exception, ada-adjust-case-interactive)
8035 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8036 (ada-search-ignore-string-comment, ada-move-to-start)
8037 (ada-move-to-end): Use with-syntax-table.
8039 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8040 (font-lock-unfontify-region, font-lock-default-fontify-region):
8041 Update usage correspondingly.
8042 (font-lock-fontify-syntactic-keywords-region):
8043 Set parse-sexp-lookup-properties buffer-locally here.
8044 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8046 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8048 2010-09-08 Glenn Morris <rgm@gnu.org>
8050 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8051 Error if not compiled with -DBYTE_CODE_METER.
8053 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8054 Ignore dir-locals-file.
8056 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8058 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8060 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8061 for the `gnu' messages.
8062 (compilation-set-skip-threshold): New command.
8063 (compilation-start): Use \' rather than $.
8064 (compilation-forget-errors): Use clrhash.
8066 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8068 * textmodes/ispell.el (ispell-valid-dictionary-list):
8071 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8073 Migrate to Tramp 2.2. Rearrange load dependencies.
8074 (Bug#1529, Bug#5448, Bug#5705)
8076 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8077 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8078 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8080 * net/tramp.el (top): Remove all other tramp-* loads except
8081 tramp-compat.el. Remove all changes to tramp-unload-hook for
8082 other tramp-* packages. Rearrange defun order. Change calls of
8083 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8084 `tramp-compat-octal-to-decimal' to new function names.
8085 (tramp-terminal-type, tramp-initial-end-of-output)
8086 (tramp-methods, tramp-foreign-file-name-handler-alist)
8087 (tramp-tramp-file-p, tramp-completion-mode-p)
8088 (tramp-send-command-and-check, tramp-get-remote-path)
8089 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8090 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8091 (with-file-property, with-connection-property): Move to
8093 (tramp-local-call-process, tramp-decimal-to-octal)
8094 (tramp-octal-to-decimal): Move to tramp-compat.el.
8095 (tramp-handle-shell-command): Do not require 'shell.
8096 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8098 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8100 * net/tramp-cache.el (top): Require 'tramp. Add to
8101 `tramp-unload-hook'.
8102 (tramp-cache-data, tramp-get-file-property)
8103 (tramp-set-file-property, tramp-flush-file-property)
8104 (tramp-flush-directory-property, tramp-get-connection-property)
8105 (tramp-set-connection-property, tramp-flush-connection-property)
8106 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8108 (with-file-property, with-connection-property): New defuns, moved
8110 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8113 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8114 (tramp-version): Set tramp-autoload cookie.
8116 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8117 changes to tramp-unload-hook for other tramp-* packages. Add to
8118 `tramp-unload-hook'.
8119 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8120 (tramp-compat-call-process): New defuns, moved from tramp.el.
8122 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8123 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8124 Add to `tramp-unload-hook'. Change call of
8125 `tramp-compat-decimal-to-octal' to new function name.
8126 (tramp-fish-method): Make it a defconst.
8127 (tramp-fish-file-name-p): Make it a defsubst.
8128 (tramp-fish-method, tramp-fish-file-name-handler)
8129 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8131 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8132 `tramp-foreign-file-name-handler-alist'. Add to
8133 `tramp-unload-hook'.
8134 (tramp-ftp-method): Make it a defconst.
8135 (tramp-ftp-file-name-p): Make it a defsubst.
8136 (tramp-ftp-method, tramp-ftp-file-name-handler)
8137 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8139 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8140 `tramp-foreign-file-name-handler-alist'. Add to
8141 `tramp-unload-hook'. Change checks, whether package can be
8143 (tramp-gvfs-file-name-p): Make it a defsubst.
8144 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8145 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8146 (tramp-gvfs-handle-file-directory-p): New defun.
8147 (tramp-gvfs-file-name-handler-alist): Use it.
8149 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8150 `tramp-foreign-file-name-handler-alist'. Add to
8151 `tramp-unload-hook'.
8152 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8153 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8155 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8156 (tramp-gw-open-connection): Set tramp-autoload cookie.
8158 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8159 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8160 Add to `tramp-unload-hook'. Change checks, whether package can be
8162 (tramp-imap-file-name-p): Make it a defsubst.
8163 (tramp-imap-method, tramp-imaps-method)
8164 (tramp-imap-file-name-handler)
8165 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8167 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8168 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8169 Add to `tramp-unload-hook'. Change checks, whether package can be
8170 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8172 (tramp-smb-tunnel-method): Make it a defconst.
8173 (tramp-smb-file-name-p): Make it a defsubst.
8174 (tramp-smb-method, tramp-smb-file-name-handler)
8175 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8177 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8178 (tramp-uuencode-region): Set tramp-autoload cookie.
8180 * net/trampver.el (top) Add to `tramp-unload-hook'.
8181 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8182 cookie. Update release number.
8184 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8186 * textmodes/ispell.el (ispell-start-process): Make sure original
8187 arg list is properly initialized (Bug#6993, Bug#6994).
8189 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8191 * files.el (directory-abbrev-alist): Use \` as default regexp.
8193 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8194 chars like - or ] (bug#6984).
8195 (rx-any-condense-range): Explode 2-char ranges.
8197 2010-09-06 Glenn Morris <rgm@gnu.org>
8199 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8201 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8203 * textmodes/bibtex.el:
8204 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8206 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8209 since no callers use it.
8210 (imap-message-get): Ditto.
8211 (imap-message-put): Ditto.
8212 (imap-mailbox-map): Ditto.
8213 (imap-mailbox-put): Ditto.
8214 (imap-mailbox-get): Ditto.
8215 (imap-mailbox-get): Revert last change for this function.
8217 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8219 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8220 callers to use `imap-fetch' instead. According to the comments, this
8221 should be safe, since all other IMAP clients use the 1:* syntax.
8222 (imap-enable-exchange-bug-workaround): Remove.
8223 (imap-debug): Remove -- doesn't seem very useful.
8225 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8227 * net/imap.el (imap-log): New convenience function used throughout
8228 instead of repeating the same code all over the place.
8230 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8232 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8233 when mouse-drag-copy-region is non-nil (Bug#6956).
8235 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8237 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8238 Improve regexps (Bug#6987).
8239 (dired-sort-toggle): Search more robustly for -t flag.
8241 * files.el (get-free-disk-space): Search more robustly for
8242 "available" column. Suggested by Ehud Karni
8243 <ehud@unix.mvs.co.il>.
8245 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8247 * international/uni-bidi.el:
8248 * international/uni-category.el:
8249 * international/uni-combining.el:
8250 * international/uni-decimal.el:
8251 * international/uni-mirrored.el:
8252 * international/uni-name.el: Regenerate.
8254 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8256 * electric.el (electric-indent-post-self-insert-function):
8257 Don't reindent with a sloppy indentation function.
8259 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8260 border case in change-log-mode.
8262 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8264 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8265 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8266 Recognize leading tab in gcc-include regexp. Ignore names with
8267 leading "from" or "in" in gnu regexp (Bug#6937).
8269 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8271 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8272 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8273 (ispell-start-process): Avoid setq and simplify logic.
8274 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8275 (kill-buffer-hook): Don't use it globally with code that uses
8276 expand-file-name since that may call kill-buffer via
8277 code_conversion_restore.
8279 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8281 * emacs-lisp/package.el (package-directory-list): Only call
8282 file-name-nondirectory on a string.
8284 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8286 * emacs-lisp/package.el (package--download-one-archive):
8287 Ensure that archive-contents is valid before saving it.
8288 (package-activate-1, package-mark-obsolete, define-package)
8289 (package-compute-transaction, package-list-maybe-add): Use push.
8291 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8293 Use SMIE's blink-paren for octave-mode.
8294 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8295 Backslashes do not escape single-quotes, single-quotes do.
8296 (octave-block-else-regexp, octave-block-end-regexp)
8297 (octave-block-match-alist): Remove.
8298 (octave-smie-bnf-table): New var, with old content.
8299 (octave-smie-op-levels): Use it.
8300 (octave-smie-closer-alist): New var.
8301 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8302 (octave-blink-matching-block-open): Remove.
8303 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8304 (octave-electric-space): Let self-insert-command run expand-abbrev and
8307 * electric.el (electricity): New group.
8308 (electric-indent-chars): New var.
8309 (electric-indent-post-self-insert-function): New fun.
8310 (electric-indent-mode): New minor mode.
8311 (electric-pair-skip-self): New custom.
8312 (electric-pair-post-self-insert-function): New function.
8313 (electric-pair-mode): New minor mode.
8315 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8316 calcAlg-blink-matching-open.
8317 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8318 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8319 Use the new blink-matching-check-function.
8321 Provide blink-matching support to SMIE.
8322 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8323 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8324 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8326 * simple.el (newline): Fix last change to properly remove itself from
8329 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8331 * simple.el (newline): Eliminate optimization.
8332 Use post-self-insert-hook to set hard-newline and things before
8333 running post-self-insert-hook.
8334 (blink-matching-check-mismatch): New function.
8335 (blink-matching-check-function): New variable.
8336 (blink-matching-open): Use them.
8337 Skip back forward over prefix chars skipped by forward-sexp.
8338 Don't check if the parens are backslash escaped.
8339 (blink-paren-post-self-insert-function): Check backslash escaping here.
8341 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8343 * emacs-lisp/package.el (package-menu-mode-map):
8344 Change package-menu-revert bindings to revert-buffer.
8345 (package-menu-mode): Set revert-buffer-function.
8346 (package-menu-revert): Doc fix.
8348 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8350 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8351 `default-directory' unless using Ispell per-directory personal
8352 dictionaries and not in a mini-buffer under XEmacs.
8353 (kill-buffer-hook): Do not kill ispell process on exit when
8354 `ispell-process-directory' is "~/". (Bug#6143)
8356 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8358 * simple.el (kill-new): Call interprogram-cut-function with only
8361 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8362 Remove cut buffer from error message.
8364 * term/x-win.el (x-select-text):
8365 * term/pc-win.el (x-selection-value):
8366 * term/ns-win.el (x-selection-value):
8367 * eshell/em-term.el:
8368 * w32-fns.el (x-get-selection-value):
8369 * mouse-sel.el (mouse-sel-set-selection-function):
8370 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8372 * term/x-win.el: Update documentation for x-last-selected-text-*.
8373 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8374 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8375 (x-select-text): Remove argument PUSH, update documentation.
8376 Remove cut-buffer code.
8377 (x-selection-value-internal): Was previously x-selection-value.
8378 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8379 Update documentation, remove cut-buffer code.
8380 Call x-selection-value-internal.
8381 (x-clipboard-yank): Call x-selection-value-internal.
8382 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8384 * term/pc-win.el (x-last-selected-text):
8385 x-cut-buffer-or-selection-value renamed to x-selection-value
8386 (x-select-text): Remove argument PUSH, update documentation.
8388 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8389 x-cut-buffer-or-selection-value renamed to x-selection-value
8390 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8391 (x-select-text): Remove argument PUSH, update documentation.
8393 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8395 * w32-fns.el (x-last-selected-text):
8396 x-cut-buffer-or-selection-value renamed to x-selection-value.
8397 (x-cut-buffer-max): Remove.
8398 (x-select-text): Remove argument PUSH, update documentation.
8400 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8402 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8404 * mouse-sel.el (mouse-sel-get-selection-function):
8405 x-cut-buffer-or-selection-value renamed to x-selection-value.
8406 (x-select-text): Remove optional push.
8408 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8410 * simple.el (blink-paren-function): Move from C to here.
8411 (blink-paren-post-self-insert-function): New function.
8412 (post-self-insert-hook): Use it.
8414 * emacs-lisp/pcase.el (pcase-split-memq):
8415 Fix overenthusiastic optimisation.
8416 (pcase-u1): Handle the case of a lambda pred.
8418 2010-08-31 Kenichi Handa <handa@m17n.org>
8420 * international/mule-cmds.el (standard-display-european-internal):
8421 Setup standard-display-table for 8-bit characters by storing 8-bit
8422 characters in the element vector.
8424 * disp-table.el (standard-display-8bit):
8425 Setup standard-display-table for 8-bit characters by storing 8-bit
8426 characters in the element vector.
8427 (standard-display-european): Likewise.
8429 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8431 * textmodes/nroff-mode.el (nroff-view): New command.
8432 (nroff-mode-map): Bind it to C-c C-c.
8434 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8436 * emacs-lisp/smie.el (smie-down-list): New command.
8438 Remove old indentation and navigation code on octave-mode.
8439 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8440 smie-down-list rather than add a binding for octave-down-block.
8441 (octave-mark-block, octave-blink-matching-block-open):
8442 Rely on forward-sexp-function.
8443 (octave-fill-paragraph): Don't narrow, so you can use
8444 indent-according-to-mode.
8445 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8446 (octave-in-block-p, octave-re-search-forward-kw)
8447 (octave-re-search-backward-kw, octave-indent-calculate)
8448 (octave-end-as-array-index-p, octave-block-end-offset)
8449 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8450 (octave-down-block, octave-backward-up-block, octave-up-block)
8451 (octave-before-magic-comment-p, octave-indent-line): Remove.
8453 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8455 * emacs-lisp/package.el (package--read-archive-file): Just use
8456 `read', to avoid copying an additional string.
8457 (package-menu-mode): Set header-line-format here.
8458 (package-menu-refresh, package-menu-revert): Signal an error if
8459 not in the Package Menu.
8460 (package-menu-package-list): New var.
8461 (package--generate-package-list): Operate on the current buffer;
8462 don't assume that it is *Packages*, since the user may rename it.
8463 Allow persistent package listings and sort keys using
8464 package-menu-package-list and package-menu-package-sort-key.
8465 (package-menu--version-predicate): Fix version calculation.
8466 (package-menu-sort-by-column): Don't select the window.
8467 (package--list-packages): Create the *Packages* buffer.
8468 Set package-menu-package-list-key.
8469 (list-packages): Sorting by status is now the default.
8470 (package-buffer-info): Use match-string-no-properties.
8471 (define-package): Add a &rest argument for future proofing, but
8473 (package-install-from-buffer, package-install-buffer-internal):
8474 Merge into a single function, package-install-from-buffer.
8475 (package-install-file): Change caller.
8477 * finder.el: Load finder-inf using `require'.
8478 (finder-list-matches): Sorting by status is now the default.
8479 (finder-compile-keywords): Simpify printing.
8481 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8483 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8484 (octave-mode-map): Remove special bindings for forward/backward-block
8485 and octave-backward-up-block. Use smie-close-block.
8486 (octave-continuation-marker-regexp): New var.
8487 (octave-continuation-regexp): Use it.
8488 (octave-operator-table, octave-smie-op-levels)
8489 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8490 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8491 (octave-mode): Use SMIE.
8492 (octave-close-block): Delete.
8494 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8496 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8497 CLIPBOARD, not in PRIMARY. (Bug#6944)
8499 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8501 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8503 (smie-indent-column): Allow indirection through variables.
8505 * composite.el (save-buffer-state): Delete, unused.
8506 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8507 (font-lock-default-fontify-region): Use with-syntax-table.
8508 * jit-lock.el (with-buffer-unmodified): Remove.
8509 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8511 Use `declare' in defmacros.
8512 * window.el (save-selected-window):
8513 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8514 * progmodes/python.el (def-python-skeleton):
8515 * net/dbus.el (dbus-ignore-errors):
8516 * jka-cmpr-hook.el (with-auto-compression-mode):
8517 * international/mule.el (with-category-table):
8518 * emacs-lisp/timer.el (with-timeout):
8519 * emacs-lisp/lisp-mnt.el (lm-with-file):
8520 * emacs-lisp/eieio.el (with-slots):
8521 * emacs-lisp/easymenu.el (easy-menu-define):
8522 * emacs-lisp/debug.el (debugger-env-macro):
8523 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8524 (Multiple-value-call, Multiple-value-prog1):
8525 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8526 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8527 edebug rule to definition.
8528 * emacs-lisp/lisp-mode.el (save-selected-window)
8529 (with-current-buffer, combine-after-change-calls)
8530 (with-output-to-string, with-temp-file, with-temp-buffer)
8531 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8532 (dolist, dotimes, when, unless):
8533 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8535 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8537 * finder.el: Require `package'.
8538 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8539 (finder-package-info): Var deleted.
8540 (finder-keywords-hash, finder--builtins-alist): New vars.
8541 (finder-compile-keywords): Compute package--builtins and
8542 finder-keywords-hash instead of finder-keywords-hash, respecting
8543 the "Package" header.
8544 (finder-unknown-keywords, finder-list-matches):
8545 Use finder-keywords-hash and package--list-packages.
8546 (finder-mode): Don't set font-lock-defaults.
8547 (finder-exit): We don't use "*Finder-package*" and "*Finder
8548 Category*" buffers anymore.
8550 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8551 (package--builtins): Set default value to nil.
8552 (package-initialize): Load precomputed value of package--builtins
8554 (package-alist, package-compute-transaction)
8555 (package-download-transaction): Improve docstring.
8556 (package-read-all-archive-contents): Do not change
8557 package--builtins here.
8558 (list-packages): Make package-list-packages an alias for this.
8559 Sort by status by default.
8560 (package--list-packages): Add optional PACKAGES arg.
8561 (describe-package-1): Use font-lock-face property. For built-in
8562 packages, insert file commentary.
8563 (package--generate-package-list): Rename from
8564 package-list-packages-internal; all callers changed. Add optional
8565 PACKAGES arg. Add alphabetical sort fallbacks.
8566 (package-menu--version-predicate, package-menu--status-predicate)
8567 (package-menu--description-predicate)
8568 (package-menu--name-predicate): New functions.
8570 * info.el (Info-finder-find-node): Search package-alist instead of
8571 finder-package-info.
8573 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8575 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8577 (version-to-list): Handle versions like "10.3d".
8579 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8581 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8582 (macroexp-accumulate): Use `declare'.
8584 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8586 * whitespace.el (whitespace-style): Adjust type declaration.
8588 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8590 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8592 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8594 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8597 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8599 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8600 (js-paren-indent-offset, js-square-indent-offset)
8601 (js-curly-indent-offset): New options.
8602 (js--proper-indentation): Use them.
8604 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8606 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8607 instead of inspecting font-lock properties (Bug#6916).
8609 2010-08-26 David Reitter <david.reitter@gmail.com>
8611 * server.el (server-visit-files): Run pre-command-hook and
8612 post-command-hook for each buffer while it is current (Bug#6910).
8613 (server-execute): Do not run hooks here.
8615 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8617 Sync with Tramp 2.1.19.
8619 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8620 Protect deleting tmpfile.
8621 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8623 * net/tramp.el (tramp-handle-expand-file-name)
8624 (tramp-completion-handle-file-name-all-completions)
8625 (tramp-completion-handle-file-name-completion):
8626 Use `tramp-connectable-p'.
8628 * net/trampver.el: Update release number.
8630 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8632 * help.el (help-map): Bind `C-h P' to describe-package.
8634 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8636 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8637 when downloading archives.
8638 (describe-package-1): Add package commentary.
8639 (package-install-button-action): New function.
8640 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8641 (package-menu-view-commentary): Function removed.
8642 (package-list-packages-internal): Hide the `package' package too.
8644 2010-08-25 Kenichi Handa <handa@m17n.org>
8646 * language/misc-lang.el ("Arabic"): New language environment.
8647 Setup composition-function-table for Arabic characters.
8649 * international/fontset.el (setup-default-fontset): Fix typo for
8650 arabic OTF spec (fini->fina).
8652 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8654 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8657 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8659 * whitespace.el: Allow cleaning up blanks without blank
8660 visualization (Bug#6651). Adjust help window for
8661 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8662 instead of whitespace-line-column (from EmacsWiki). New version
8664 (whitespace-style): Add new value 'face. Adjust docstring.
8665 (whitespace-space, whitespace-hspace, whitespace-tab):
8666 Adjust foreground property face.
8667 (whitespace-line-column): Adjust docstring and type declaration.
8668 (whitespace-style-value-list, whitespace-toggle-option-alist)
8669 (whitespace-help-text): Adjust const initialization.
8670 (whitespace-toggle-options, global-whitespace-toggle-options):
8672 (whitespace-display-window, whitespace-interactive-char)
8673 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8674 (whitespace-help-scroll): New fun.
8676 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8678 * emacs-lisp/package.el (list-packages): Alias for
8679 package-list-packages.
8681 2010-08-24 Kevin Ryde <user42@zip.com.au>
8683 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8686 * progmodes/ruby-mode.el (ruby): Add defgroup.
8688 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8690 * progmodes/python.el: Add Ipython support (Bug#5390).
8691 (python-shell-prompt-alist)
8692 (python-shell-continuation-prompt-alist): New options.
8693 (python--set-prompt-regexp): New function.
8694 (inferior-python-mode, run-python, python-shell):
8695 Require ansi-color. Use python--set-prompt-regexp to set the comint
8696 prompt based on the Python interpreter.
8697 (python--prompt-regexp): New var.
8698 (python-check-comint-prompt)
8699 (python-comint-output-filter-function): Use it.
8700 (run-python): Use a pipe (Bug#5694).
8702 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8704 * progmodes/python.el (python-send-region): Send a different
8705 Python command if Ipython is in use.
8706 (python-check-version): Use a Python command to find the version.
8708 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8710 * mouse.el (mouse-yank-primary): Avoid setting primary when
8711 deactivating the mark (Bug#6872).
8713 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8715 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8716 with "else" (Bug#3991).
8718 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8720 * net/dbus.el: Accept UNIX domain sockets as bus address.
8721 (top): Don't initialize `dbus-registered-objects-table' anymore,
8722 this is done in dbusbind.c.
8723 (dbus-check-event): Adapt test for bus.
8724 (dbus-return-values-table, dbus-unregister-service)
8725 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8728 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8730 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8732 2010-08-22 Juri Linkov <juri@jurta.org>
8734 * simple.el (read-extended-command): New function with the logic
8735 for `completing-read' moved to Elisp from `execute-extended-command'.
8736 Use `function-called-at-point' in `minibuffer-default-add-function'
8737 to get a command name for M-n (bug#5364, bug#5214).
8739 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8741 * startup.el (command-line-1): Issue warning for ignored arguments
8742 --unibyte, etc (Bug#6886).
8744 2010-08-22 Leo <sdl.web@gmail.com>
8746 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8747 (ignore, bright, dim, keyword): Split list of nicknames before
8748 passing to rcirc-add-or-remove (Bug#6894).
8750 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8752 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8754 2010-08-22 Leo <sdl.web@gmail.com>
8756 Fix buffer-list rename&refresh after killing a buffer in ido.
8757 * ido.el: Revert Óscar's.
8758 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8759 Remember the buffers at head, rather than their name.
8760 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8762 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8763 Stefan Monnier <monnier@iro.umontreal.ca>
8765 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8766 extra backslash added to each line (bug#6890).
8768 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8770 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8772 2010-08-22 Glenn Morris <rgm@gnu.org>
8774 * menu-bar.el (menu-bar-games-menu): Add landmark.
8776 2010-08-22 Glenn Morris <rgm@gnu.org>
8778 * align.el (align-regexp): Make group and spacing arguments
8779 use the interactive defaults when non-interactive. (Bug#6698)
8781 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8782 expansion, so as not to need sendmail.
8783 (mail-text-start): Remove declaration.
8784 (rmail-retry-failure): Require sendmail.
8786 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8788 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8790 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8792 * progmodes/flymake.el (flymake-start-syntax-check-process):
8793 Use `start-file-process' in order to let it run also on remote hosts.
8795 2010-08-22 Kenichi Handa <handa@m17n.org>
8797 * files.el: Add `word-wrap' as safe local variable.
8799 2010-08-22 Glenn Morris <rgm@gnu.org>
8801 * woman.el (woman-translate): Case matters. (Bug#6849)
8803 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8805 * simple.el (kill-region): Doc fix (Bug#6787).
8807 2010-08-22 Glenn Morris <rgm@gnu.org>
8809 * calendar/diary-lib.el (diary-header-line-format):
8810 Fit it to the window, not the frame.
8812 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8814 * subr.el (ignore-errors): Add debug declaration.
8816 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8818 * whitespace.el (whitespace-color-off): Remove post-command-hook
8821 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8825 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8827 * cus-edit.el (custom-group-value-create): Add extra newline
8828 before end line (Bug#6876).
8830 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8832 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8833 when extending it. Before killing on the second click, check if
8834 the buffer is the correct one. Doc fix.
8835 (mouse-secondary-save-then-kill): Allow usage without first
8836 calling mouse-start-secondary, by defaulting to point. Don't save
8837 an empty secondary selection. Doc fix.
8839 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8841 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8842 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8844 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8845 Adjust initialization.
8846 (whitespace-bob-marker, whitespace-eob-marker)
8847 (whitespace-buffer-changed): New vars.
8848 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8849 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8850 (whitespace-post-command-hook, whitespace-display-char-on):
8852 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8853 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8855 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8857 * files.el (locate-file-completion-table): Only list the .el and .elc
8858 extensions if there's no other choice (bug#5955).
8860 * facemenu.el (facemenu-self-insert-data): New var.
8861 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8863 (facemenu-add-face): Use them.
8865 * simple.el (blink-matching-open): Obey forward-sexp-function.
8867 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8869 * simple.el (prog-mode-map): New var.
8870 (prog-indent-sexp): New command.
8872 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8874 * progmodes/prolog.el (smie): Require.
8876 * emacs-lisp/smie.el (smie-default-backward-token)
8877 (smie-default-forward-token): Strip properties.
8878 (smie-next-sexp): Be more careful with associative operators.
8879 (smie-forward-sexp-command): Generalize.
8880 (smie-backward-sexp-command): Simplify.
8881 (smie-closer-alist): New var.
8882 (smie-close-block): New command.
8883 (smie-indent-debug-log): New var.
8884 (smie-indent-offset-rule): Add a few more cases.
8885 (smie-indent-column): New function.
8886 (smie-indent-after-keyword): Use it.
8887 (smie-indent-keyword): Use it.
8888 Fix up the opener code's point position.
8889 (smie-indent-comment): Only applies at BOL.
8890 (smie-indent-debug): New command.
8892 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8893 declarations that are useful before running the macro.
8895 2010-08-18 Joakim Verona <joakim@verona.se>
8897 * image.el (imagemagick-types-inhibit): New variable.
8898 (imagemagick-register-types): New function.
8899 * image-mode.el (image-transform-properties): New function.
8900 (image-transform-set-scale, image-transform-fit-to-height)
8901 (image-transform-set-rotation, image-transform-set-resize)
8902 (image-transform-fit-to-width, image-transform-fit-to-height):
8904 (image-toggle-display-image): Support image transforms.
8906 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8908 * image.el (create-animated-image): Don't add heuristic mask to image
8911 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8913 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8914 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8916 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8918 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8920 Font-lock '...' strings, plus various simplifications and fixes.
8921 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8922 (octave-font-lock-close-quotes): New function.
8923 (octave-font-lock-syntactic-keywords): New var.
8924 (octave-mode): Use it. Set beginning-of-defun-function.
8925 (octave-mode-map): Don't override the <foo>-defun commands.
8926 (octave-mode-menu): Pass it directly to easy-menu-define;
8927 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8928 (octave-block-match-alist): Fix up last change so that
8929 octave-close-block uses the more specific keyword.
8930 (info-lookup-mode): Silence byte-compiler.
8931 (octave-beginning-of-defun): Not interactive any more.
8933 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8934 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8935 (octave-completion-at-point-function): Make sure point is within
8937 (octave-reindent-then-newline-and-indent):
8938 Use reindent-then-newline-and-indent.
8939 (octave-add-octave-menu): Remove.
8941 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8943 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8944 (report-emacs-bug-can-use-xdg-email): New functions.
8945 (report-emacs-bug): Set can-xdg-email to result of
8946 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8947 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8950 * net/browse-url.el (browse-url-default-browser): Add cond
8951 for browse-url-xdg-open.
8952 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8954 2010-08-17 Glenn Morris <rgm@gnu.org>
8956 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8957 (c-fontify-recorded-types-and-refs): Define for compiler.
8958 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8961 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8964 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8966 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8968 (tramp-handle-process-file): Call the program in a subshell, in
8969 order to preserve working directory.
8970 (tramp-action-password): Hide password prompt before next run.
8971 (tramp-process-actions): Widen connection buffer for the trace.
8973 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8975 * net/rcirc.el (rcirc-log-process-buffers): New option.
8976 (rcirc-print): Use it.
8977 (rcirc-generate-log-filename): New function.
8978 (rcirc-log-filename-function): Change default to
8979 rcirc-generate-log-filename (Bug#6828).
8981 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8983 * simple.el (deactivate-mark): If select-active-regions is `only',
8984 only set selection for temporarily active regions.
8986 * cus-start.el: Change defcustom for select-active-regions.
8988 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8990 * mouse.el (mouse--drag-set-mark-and-point): New function.
8991 (mouse-drag-track): Use LOCATION arg to push-mark.
8992 Use mouse--drag-set-mark-and-point to take click-count into
8993 consideration when updating point and mark (Bug#6840).
8995 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8997 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8998 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9000 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9002 * font-lock.el (lisp-font-lock-keywords-2):
9003 Add combine-after-change-calls, condition-case-no-debug,
9004 with-demoted-errors, and with-silent-modifications (Bug#6025).
9006 2010-08-14 Kevin Ryde <user42@zip.com.au>
9008 * emacs-lisp/copyright.el (copyright-update-year)
9009 (copyright-update): Temporary switch-to-buffer to ensure the
9010 buffer change being queried is visible (Bug#5394).
9012 2010-08-14 Tom Tromey <tromey@redhat.com>
9014 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9017 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9019 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9022 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9024 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9025 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9026 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9027 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9028 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9029 Call menu-bar-set-tool-bar-position.
9031 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9034 comment style (bug#6834).
9035 * progmodes/scheme.el (scheme-mode-syntax-table):
9036 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9037 "b" flag in "' 14b" syntax.
9039 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9040 for (un)commenting the region and performing completion.
9041 (octave-mode-menu): Use standard commands for help and completion.
9042 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9043 (octave-mode): Use define-derived-mode.
9044 Set completion-at-point-functions and don't set columns.
9045 Don't disable adaptive-fill-regexp.
9046 (octave-describe-major-mode, octave-comment-region)
9047 (octave-uncomment-region, octave-comment-indent)
9048 (octave-indent-for-comment): Remove.
9049 (octave-indent-calculate): Rename from calculate-octave-indent.
9050 (octave-indent-line, octave-fill-paragraph): Update caller.
9051 (octave-initialize-completions): No need to make an alist.
9052 (octave-completion-at-point-function): New function.
9053 (octave-complete-symbol): Use it.
9054 (octave-insert-defun): Use define-skeleton.
9056 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9057 (octave-mode-map): Use comment-dwim (bug#6829).
9059 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9061 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9062 indentation of inserted comment.
9064 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9066 * faces.el (region): Add type gtk that uses gtk colors.
9068 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9069 Handle theme-name change.
9071 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9073 * progmodes/sql.el: Version 2.5
9074 (sql-product-alist): Add :prompt-cont-regexp property for several
9076 (sql-prompt-cont-regexp): New variable.
9077 (sql-output-newline-count, sql-output-by-send):
9078 New variables. Record number of newlines in input text.
9079 (sql-send-string): Handle multiple filters and count newlines.
9080 (sql-send-magic-terminator): Count terminator newline.
9081 (sql-interactive-remove-continuation-prompt): Filters output to
9082 remove continuation prompts; one for each newline.
9083 (sql-interactive-mode): Set up new variables, prompt regexp and
9085 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9086 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9088 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9090 * emacs-lisp/pcase.el: New file.
9092 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9094 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9095 as here-document, otherwise the command could exceed maximum
9096 length of command line.
9097 (tramp-handle-vc-registered): Call script accordingly.
9098 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9100 2010-08-10 Kenichi Handa <handa@m17n.org>
9102 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9105 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9107 * emacs-lisp/package.el (package-version-split)
9108 (package--version-first-nonzero, package-version-compare):
9110 (package-directory-list, package-load-all-descriptors)
9111 (package--built-in, package-activate, define-package)
9112 (package-installed-p, package-compute-transaction)
9113 (package-read-all-archive-contents)
9114 (package--add-to-archive-contents, package-buffer-info)
9115 (package-tar-file-info, package-list-packages-internal):
9116 Use version-to-list and version-list-*.
9118 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9119 Use version-to-list.
9120 (package-upload-buffer-internal): Use version-list-<=.
9122 2010-08-09 Kenichi Handa <handa@m17n.org>
9124 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9127 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9129 * tutorial.el (tutorial--default-keys): C-d is now bound to
9130 delete-forward-char (Bug#6826).
9132 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9133 for `double' value of mouse-1-click-follows-link (Bug#6807).
9135 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9137 * replace.el (replace-highlight): Bind isearch-forward and
9138 isearch-error, ensuring that highlighting is updated if the user
9139 switches the search direction (Bug#6808).
9141 * isearch.el (isearch-lazy-highlight-forward): New var.
9142 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9143 (isearch-lazy-highlight-update): Use it.
9145 2010-08-08 Kenichi Handa <handa@m17n.org>
9147 * international/mule.el (define-charset): Store NAME as :base property.
9148 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9149 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9150 current priority. Force using the designation of the specific
9151 charset by adding `charset' text property. Improve the whole algorithm.
9153 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9155 * emulation/pc-select.el (pc-selection-mode-hook)
9156 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9157 (pc-selection-mode): Fix typos in docstrings.
9159 2010-08-08 Kenichi Handa <handa@m17n.org>
9161 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9162 ctext-non-standard-encodings-alist here.
9164 * international/mule.el (ctext-non-standard-encodings-alist):
9165 Add "koi8-r" and "microsoft-cp1251".
9166 (ctext-standard-encodings): New variable.
9167 (ctext-non-standard-encodings-table): List only elements for
9168 non-standard encodings.
9169 (ctext-pre-write-conversion): Adjust for the above change.
9170 Check ctext-standard-encodings.
9172 * international/mule-conf.el (compound-text): Doc fix.
9173 (ctext-no-compositions): Doc fix.
9174 (compound-text-with-extensions): Doc fix.
9176 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9178 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9180 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9182 * progmodes/which-func.el (which-func-format): Split help-echo text
9183 into lines, like other mode-line tooltips.
9185 * server.el (server-start): When using TCP sockets, force IPv4
9186 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9188 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9190 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9192 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9194 * term.el (term-delimiter-argument-list): Reflow docstring.
9195 (term-read-input-ring, term-write-input-ring, term-send-input)
9196 (term-bol, term-erase-in-display, serial-supported-or-barf):
9197 Fix typos in docstrings.
9199 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9201 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9203 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9205 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9207 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9209 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9210 Fix typo in docstring (bug#6747).
9212 2010-08-08 Leo <sdl.web@gmail.com>
9214 * eshell/esh-io.el (eshell-get-target): Better detection of
9215 read-only file (Bug#6762).
9217 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9219 * align.el (align-default-spacing): Doc fix.
9220 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9222 2010-08-08 Stephen Peters <speters@itasoftware.com>
9224 * calendar/icalendar.el
9225 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9226 (icalendar--get-weekday-numbers): New.
9227 (icalendar--convert-recurring-to-diary): Handle multiple byday
9228 values in weekly rules. (Bug#6766)
9230 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9232 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9233 (icalendar--create-uid, icalendar-export-region)
9234 (icalendar--parse-summary-and-rest): Code formatting.
9236 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9238 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9239 to italicize headers.
9240 (calc-highlight-selections-with-faces): New variable.
9241 (calc-selected-face, calc-nonselected-face): New faces.
9243 * calc/calccomp.el (math-comp-highlight-string): Use
9244 `calc-highlight-selections-with-faces' to determine how to highlight
9247 * calc/calc-sel.el (calc-show-selections): Change message to when
9248 using faces to highlight selections.
9250 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9252 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9253 Add SQLite 3 keywords, functions and datatypes.
9254 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9257 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9259 * simple.el (select-active-regions): Move to keyboard.c.
9260 (deactivate-mark): Used saved-region-selection.
9261 (select-active-region): Function removed.
9262 (activate-mark, set-mark, push-mark-command)
9263 (handle-shift-selection): Don't call it.
9264 (keyboard-quit): Avoid adding the region to the window selection.
9266 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9267 select-active-regions implementation.
9268 (mouse-yank-at-click): Doc fix.
9270 * cus-start.el: Add custom declaration for select-active-regions.
9272 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9274 * simple.el (delete-forward-char): Doc fix.
9276 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9277 after reading the tutorial.
9279 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9281 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9282 Fix for the case that a C style comment has its delimiters alone on
9283 their respective lines. (Bug#193)
9285 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9287 * net/tramp.el (tramp-handle-start-file-process): Set connection
9289 (tramp-process-sentinel): Use it for flushing the cache.
9290 We cannot do it via the process buffer, the buffer could be deleted
9291 already when running the sentinel.
9293 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9295 * comint.el (comint-mode): Make directory tracking functions
9296 functional on remote files. (Bug#6764)
9298 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9300 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9302 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9304 * emacs-lisp/find-gc.el (find-gc-source-files):
9305 Rename unexec.c => unexcoff.c.
9307 * emacs-lisp/authors.el (authors-fixed-entries):
9308 Rename unexec.c => unexcoff.c.
9310 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9312 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9313 cache, not only file cache.
9314 (tramp-process-sentinel): New defun.
9315 (tramp-handle-start-file-process): Use it, in order to invalidate
9318 2010-08-03 Leo <sdl.web@gmail.com>
9320 * server.el (server-start): Simplify loop.
9322 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9324 * frame.el (screen-height, screen-width, set-screen-width)
9325 (set-screen-height): Remove ancient compatibility aliases.
9327 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9328 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9330 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9331 that change current buffer.
9333 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9335 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9336 beginning of the string. Use `string-match-p'. (Bug#6765)
9338 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9340 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9342 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9344 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9345 (package--builtins): Tweak descriptions.
9346 (package-print-package): Upcase descriptions if necessary.
9347 Show all built-in packages in font-lock-builtin-face.
9348 (package-list-packages-internal): Omit "emacs" package.
9349 Show status of built-in packages as "built-in".
9351 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9353 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9354 before killing to preserve the primary selection (Bug#6701).
9356 * term/x-win.el (x-select-text): Doc fix.
9358 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9360 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9361 (objc-font-lock-extra-types):
9362 * progmodes/cc-mode.el (c-basic-common-init):
9363 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9364 (c++-make-template-syntax-table)
9365 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9366 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9367 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9368 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9369 * progmodes/cc-fonts.el (c-make-inverse-face)
9370 (c-basic-matchers-after):
9371 * progmodes/cc-engine.el (c-forward-keyword-clause)
9372 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9373 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9374 (c-guess-continued-construct, c-guess-basic-syntax):
9375 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9376 The above functions were modified or created.
9378 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9380 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9382 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9384 * files.el (bidi-paragraph-direction): Define safe local values.
9386 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9387 language-info-alist. Remove outdated FIXME in a comment.
9389 2010-07-31 Alan Mackenzie <acm@muc.de>
9391 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9392 Auto-fill broken in C/C++ modes.
9394 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9396 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9397 (menu-bar-showhide-tool-bar-menu-customize-disable)
9398 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9399 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9400 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9401 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9402 make a menu for Options => toolbar that can move it.
9404 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9406 * emacs-lisp/package-x.el (package--make-rss-entry):
9407 (package-maint-add-news-item, package--update-news)
9408 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9410 * emacs-lisp/package.el (package-archive-url): Rename from
9412 (package-install): Doc fix.
9413 (package-download-single, package-download-tar, package-install)
9414 (package-menu-view-commentary): Callers changed.
9416 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9418 * net/tramp.el (tramp-handle-start-file-process): Check only for
9419 `remote-tty' process property.
9420 (tramp-open-shell): Don't check for tty.
9421 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9424 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9427 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9429 * emacs-lisp/package.el (package-load-list, package-archives)
9430 (package-archive-contents, package-user-dir)
9431 (package-directory-list, package--builtins, package-alist)
9432 (package-activated-list, package-obsolete-alist): Mark as risky.
9434 2010-07-28 Phil Hagelberg <phil@evri.com>
9436 Add support for non-default package repositories.
9437 * emacs-lisp/package.el (package-archive-base): Var deleted.
9438 (package-archives): New variable.
9439 (package-archive-contents): Doc fix.
9440 (package-load-descriptor): Do nothing if descriptor file is missing.
9441 (package--write-file-no-coding): New function.
9442 (package-unpack-single): Use it.
9443 (package-archive-id): New function.
9444 (package-download-single, package-download-tar)
9445 (package-menu-view-commentary): Use it.
9446 (package-installed-p): Make second argument optional.
9447 (package-read-all-archive-contents): New function.
9448 (package-initialize): Use it.
9449 (package-read-archive-contents): Add ARCHIVE argument.
9450 (package--add-to-archive-contents): New function.
9451 (package-install): Don't call package-read-archive-contents.
9452 (package--download-one-archive): Store archive file in a
9453 subdirectory of package-user-dir.
9454 (package-menu-execute): Remove spurious line movement.
9456 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9458 * cus-start.el (tool-bar-style): Add text-image-horiz.
9460 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9462 * progmodes/gud.el (gud-common-init): Check for remoteness of
9463 `file', and not of `default-directory'.
9465 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9467 * net/tramp.el (tramp-methods): Move hostname to the end in all
9468 ssh `tramp-login-args'.
9469 (tramp-verbose): Describe verbose level 9.
9470 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9471 (tramp-open-connection-setup-interactive-shell): Trace stty
9472 settings if `tramp-verbose' >= 9.
9473 (tramp-handle-start-file-process): Implement tty setting.
9474 (Bug#4604, Bug#6360)
9476 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9477 `tramp-verbose' to 9.
9479 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9481 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9482 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9483 Remove references to package `lisp-re' (bug#4369).
9485 2010-07-27 Tom Tromey <tromey@redhat.com>
9487 * progmodes/js.el (js-mode):
9488 * progmodes/make-mode.el (makefile-mode):
9489 * progmodes/simula.el (simula-mode):
9490 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9492 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9494 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9496 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9497 (display-time-world-buffer-name, display-time-world-mode-map):
9498 Fix typos in docstrings.
9500 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9502 * image-mode.el (image-display-size): New function.
9503 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9504 (image-mode-fit-frame): Use it (Bug#6639).
9506 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9508 * dired.el (dired-buffers-for-dir): Handle list values of
9509 dired-directory (Bug#6636).
9511 2010-07-26 Sam Steingold <sds@gnu.org>
9513 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9514 Do not call `x-get-selection' the second time, reuse the value.
9516 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9518 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9519 which consist of control chars only. Suggested by Richard Stallman.
9521 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9523 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9524 exists before passing an error to find-file-not-found-functions
9527 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9529 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9530 Remove leading nil element, adjust values.
9531 (tetris-shapes, tetris-shape-scores):
9532 Change representation of shapes and remove some redundancy.
9533 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9534 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9535 Adjust for working with new representation of shapes.
9536 (tetris-shape-rotations): New function.
9537 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9538 (tetris-rotate-prev, tetris-rotate-next):
9539 Adjust for working with the new version of tetris-test-shape.
9541 2010-07-23 Markus Triska <markus.triska@gmx.at>
9543 * progmodes/ps-mode.el: Use comint (bug#5954).
9544 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9545 (ps-mode-other-newline): Simplify.
9546 (ps-run-mode): Derive from comint-mode instead of
9547 fundamental-mode, yielding input history etc.
9548 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9549 (ps-run-send-string): Adapt for comint-mode.
9550 (ps-run-newline): Remove now unneeded function.
9552 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9554 * net/tramp.el (tramp-methods): Move hostname to the end in all
9555 plink `tramp-login-args'.
9557 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9559 * net/tramp.el (tramp-open-shell): New defun.
9560 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9563 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9565 * net/tramp.el (tramp-file-name-regexp-unified)
9566 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9567 not regard the volume letter as remote filename. (Bug#5447)
9569 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9571 * custom.el (custom-declare-variable): Give a clearer error message
9572 when the docstring is missing (bug#6476).
9574 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9576 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9577 (sql-login-params): New widget definition.
9578 (sql-oracle-login-params, sql-mysql-login-params)
9579 (sql-solid-login-params, sql-sybase-login-params)
9580 (sql-informix-login-params, sql-ingres-login-params)
9581 (sql-ms-login-params, sql-postgres-login-params)
9582 (sql-interbase-login-params, sql-db2-login-params)
9583 (sql-linter-login-params): Use it.
9584 (sql-sqlite-login-params): Use it; Define "database" parameter as
9586 (sql-sqlite-program): Change to "sqlite3".
9587 (sql-comint-sqlite): Make sure database name is complete.
9588 (sql-for-each-login): New function.
9589 (sql-connect, sql-save-connection): Use it.
9590 (sql-get-login-ext): New function.
9591 (sql-get-login): Use it.
9592 (sql-make-alternate-buffer-name): Handle :file parameters.
9594 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9596 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9597 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9599 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9601 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9603 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9605 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9607 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9609 * net/tramp.el (tramp-get-ls-command)
9610 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9613 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9615 * progmodes/sql.el: Version 2.3.
9616 (sql-connection-alist): Change keys from symbols to strings;
9617 enhanced the widget definition.
9618 (sql-mode-menu): Add submenu to select connections.
9619 (sql-interactive-mode-menu): Add "Save Connection" item.
9620 (sql-add-product): Fix menu item.
9621 (sql-get-product-feature): Improved error handling.
9622 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9623 (sql-make-alternate-buffer-name): Simplified.
9624 (sql-product-interactive): Handle missing product.
9625 (sql-connect): Support string keys, minor improvements.
9626 (sql-save-connection): New function.
9627 (sql-connection-menu-filter): New function.
9629 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9631 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9632 (tramp-open-connection-setup-interactive-shell):
9633 Apply workaround for IRIX64 bug. Move argument of last
9634 `tramp-send-command' where it belongs to.
9636 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9638 * net/tramp.el (tramp-perl-file-attributes)
9639 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9640 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9641 front of `login-args'.
9643 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9645 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9646 Set `show-trailing-whitespace' to nil.
9647 (display-time-world-display): Simplify.
9649 2010-07-18 Alan Mackenzie <acm@muc.de>
9651 Enhance `c-file-style' in file/directory local variables.
9652 * progmodes/cc-mode.el (c-count-cfss): New function.
9653 (c-before-hack-hook): Call `c-set-style' differently according to
9654 whether c-file-style was set in file or directory local
9657 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9659 * progmodes/sql.el: Version 2.2.
9660 (sql-product, sql-user, sql-database, sql-server, sql-port):
9661 Use defcustom :safe keyword rather than putting safe-local-variable
9663 (sql-password): Use defcustom :risky keyword rather than putting
9664 risky-local-variable property.
9665 (sql-oracle-login-params, sql-sqlite-login-params)
9666 (sql-solid-login-params, sql-sybase-login-params)
9667 (sql-informix-login-params, sql-ingres-login-params)
9668 (sql-ms-login-params, sql-postgres-login-params)
9669 (sql-interbase-login-params, sql-db2-login-params)
9670 (sql-linter-login-params): Add `port' option.
9671 (sql-get-product-feature): Add NO-INDIRECT parameter.
9672 (sql-comint-oracle, sql-comint-sybase)
9673 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9674 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9675 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9676 (sql-comint-linter): Rename sql-connect-* functions to
9678 (sql-product-alist, sql-mode-menu): Rename as above and
9679 :sqli-connect-func to :sqli-comint-func.
9680 (sql-connection): New variable.
9681 (sql-interactive-mode): Set it.
9682 (sql-connection-alist): New variable.
9683 (sql-connect): New function.
9684 (sql--alt-buffer-part, sql--alt-if-not-empty)
9685 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9687 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9689 * image-mode.el (image-bookmark-make-record): Do not set context
9690 in an image (Bug#6650).
9692 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9694 * simple.el (select-active-region): New function.
9695 (push-mark-command, set-mark, activate-mark)
9696 (handle-shift-selection): Use it.
9697 (deactivate-mark): Don't check for size of region.
9699 * mouse.el (mouse-drag-track): Use select-active-region.
9701 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9703 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9706 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9708 * term/x-win.el (x-select-enable-primary): Change default to nil.
9709 (x-select-enable-clipboard): Add :version keyword.
9711 * mouse.el (mouse-drag-copy-region):
9712 * simple.el (select-active-regions): Likewise.
9714 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9716 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9717 (vc-coding-system-for-diff): Use it to decide whether to inherit
9718 from the file the EOL format for reading the diffs of that file.
9721 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9723 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9724 unibyte, so compressed attachments are not compressed again.
9726 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9728 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9729 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9730 (tramp-find-shell): Simplify setting connection property.
9731 (tramp-get-ls-command): Make test for "--color=never" stronger.
9733 2010-07-15 Simon South <ssouth@member.fsf.org>
9735 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9736 blocks within record declarations (i.e. variant parts) correctly.
9738 2010-07-15 Simon South <ssouth@member.fsf.org>
9740 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9741 over literal tokens when parsing so newlines aren't "absorbed" by
9742 single-line comments. Corrects the indentation of case blocks
9743 that have a comment on the first line.
9745 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9747 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9748 by Drew Adams (Bug#5504).
9750 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9752 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9753 now that Unicode is used (Bug#6594).
9755 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9757 * term/x-win.el (x-select-enable-clipboard): Default to t.
9758 (x-initialize-window-system): Don't overwrite Paste menu item.
9760 * simple.el (select-active-regions): Default to t.
9761 (push-mark-command): Don't overwrite primary with empty string.
9763 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9764 (mouse-drag-copy-region): Default to nil.
9766 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9767 Cut/Copy/Paste menu bar items.
9769 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9771 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9772 Patch applied by Karl Fogel.
9774 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9775 and `bookmark-current-buffer' if they have been already set in
9776 another buffer (e.g gnus-art).
9778 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9779 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9781 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9783 * bookmark.el (bookmark-make-record-default): Allow unneeded
9784 information to be omitted from the record.
9786 Adjust declarations and calls:
9788 * info.el (bookmark-make-record-default): Adjust declaration.
9789 (Info-bookmark-make-record): Adjust call.
9791 * woman.el (bookmark-make-record-default): Adjust declaration.
9792 (woman-bookmark-make-record): Adjust call.
9794 * man.el (bookmark-make-record-default): Adjust declaration.
9795 (Man-bookmark-make-record): Adjust call.
9797 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9799 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9801 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9803 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9804 This is also from Thierry Volpiatto's patch in bug #6444. However,
9805 because it was extraneous to the functional change in that patch,
9806 and causes a re-indendation, I am committing it separately.
9808 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9810 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9811 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9812 Patch applied by Karl Fogel (Bug#6444).
9814 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9816 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9818 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9820 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9821 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9822 (ns-alternatives-map): Change S-tab binding to backtab
9825 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9828 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9830 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9833 * language/tv-util.el (tai-viet-re): Remove format.
9835 2010-07-12 Kenichi Handa <handa@m17n.org>
9837 * language/hebrew.el: Remove no-byte-compile declaration.
9838 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9839 composition-function-table for 3-character looking back.
9840 (hebrew-font-get-precomposed): New function.
9841 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9843 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9845 * mouse.el (mouse-drag-track): Handle select-active-regions
9848 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9850 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9851 empty argument to gvfs-copy.
9853 2010-07-10 Glenn Morris <rgm@gnu.org>
9855 * calendar/calendar.el (calendar-week-end-day): New function.
9856 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9857 Respect calendar-week-start-day. (Bug#6606)
9858 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9859 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9860 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9861 respect calendar-week-start-day.
9863 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9865 * simple.el (use-region-p): Doc fix (Bug#6607).
9867 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9870 Add regexps for cucumber and ruby.
9872 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9874 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9875 (epa-file-insert-file-contents): Hack to prevent
9876 find-file from opening empty buffer when decryption failed
9879 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9881 * textmodes/ispell.el (ispell-alternate-dictionary):
9882 Use file-readable-p.
9883 Return nil if no word-list is found at default locations.
9884 (ispell-complete-word-dict): Default to nil.
9885 (ispell-command-loop): Use 'word-list' when using lookup-words.
9886 (lookup-words): Use ispell-complete-word-dict or
9887 ispell-alternate-dictionary. Check for word-list availability
9888 and handle errors if needed with better messages (Bug#6539).
9889 (ispell-complete-word): Use ispell-complete-word-dict or
9890 ispell-alternate-dictionary.
9892 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9894 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9895 builtins (BufferError, BytesWarning, WindowsError; callables
9896 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9898 2010-07-07 Glenn Morris <rgm@gnu.org>
9900 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9901 (zone-shift-left): Ignore intangibility, and any errors from
9903 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9904 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9905 deleting, and copying text properties.
9906 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9907 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9908 to point-max is hard.
9909 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9910 (zone-fill-out-screen): Ignore intangibility.
9912 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9914 * menu-bar.el (menu-bar-mode):
9915 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9918 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9919 word/line selection (Bug#6565).
9921 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9923 * net/dbus.el (dbus-send-signal): Declare function.
9925 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9927 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9928 (dbus-register-property): New optional argument EMITS-SIGNAL.
9929 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9931 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9933 * mouse.el (mouse-drag-overlay): Variable deleted.
9934 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9935 (mouse--remap-link-click-p): New function.
9936 (mouse-drag-track): Handle dragging by using temporary Transient
9937 Mark mode, instead of a special overlay.
9938 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9941 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9944 2010-07-02 Juri Linkov <juri@jurta.org>
9946 * autoinsert.el (auto-insert-alist): Fix readability
9947 by using dotted pair notation for lambda.
9949 2010-07-02 Juri Linkov <juri@jurta.org>
9951 * faces.el (read-face-name): Rename arg `string-describing-default'
9952 to `default'. Doc fix. Display the default value in quotes
9953 in the prompt. With empty input, return the `default' arg,
9954 unless the default value is a string (in which case return nil).
9955 (describe-face): Replace the string `default' arg of `read-face-name'
9956 with the symbol `default'.
9958 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9960 * emulation/viper-cmd.el (viper-delete-backward-char)
9961 (viper-del-backward-char-in-insert)
9962 (viper-del-backward-char-in-replace, viper-change)
9963 (viper-backward-indent): Replace delete-backward-char with
9964 delete-char (Bug#6552).
9966 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9968 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9970 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9972 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9973 argument passed to frame-creation-function (Bug#5378).
9975 * faces.el (x-handle-named-frame-geometry)
9976 (x-handle-reverse-video, x-create-frame-with-faces)
9977 (face-set-after-frame-default, tty-create-frame-with-faces):
9978 Don't separately consult default-frame-alist. It is now passed as the
9981 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9983 * startup.el (command-line): Don't call tool-bar-setup in a
9986 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9988 * ruler-mode.el (ruler--save-header-line-format): New fun.
9989 (ruler-mode): Use it as a setter function, so as not to overwrite
9990 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9992 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9994 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9995 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9996 (vc-log-outgoing): Use it.
9997 (vc-diff-internal): Set diff-vc-backend.
9999 * vc/diff-mode.el (diff-vc-backend): New var.
10001 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10003 * dynamic-setting.el (font-setting-change-default-font):
10004 Remove call to message.
10006 2010-06-28 Kenichi Handa <handa@m17n.org>
10008 * international/quail.el (quail-insert-kbd-layout): Fix the
10009 showing of untranslated characters.
10011 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10013 * simple.el (delete-active-region): New option.
10014 (delete-backward-char): Implement in Lisp.
10015 (delete-forward-char): New command.
10017 * mouse.el (mouse-region-delete-keys): Delete.
10018 (mouse-show-mark): Simplify.
10020 * bindings.el (global-map): Bind delete and DEL, the former to
10021 delete-forward-char.
10023 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10025 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10026 (ruby-mode): Bind indent-line-function (Bug#5119).
10028 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10030 * startup.el (command-line): Recognize "0" X resource value.
10032 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10034 * startup.el (command-line): Use X resources to set the value of
10035 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10037 * menu-bar.el (menu-bar-mode):
10038 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10039 Set init-value to t.
10041 * frame.el (frame-notice-user-settings): Don't change
10042 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10043 vice versa (Bug#2249).
10045 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10047 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10049 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10051 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10052 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10054 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10055 default directories are expanded (Bug#6143).
10057 2010-06-24 Juri Linkov <juri@jurta.org>
10059 * minibuffer.el (completions-format): Change default from nil to
10060 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10062 2010-06-24 Juri Linkov <juri@jurta.org>
10064 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10065 buffer-locally to lambda that re-runs the vc diff command.
10068 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10070 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10071 echo area is in use (Bug#3412).
10073 2010-06-22 Glenn Morris <rgm@gnu.org>
10075 * textmodes/texinfmt.el (texinfo-format-region)
10076 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10077 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10078 (texinfo-format-option, texinfo-noindent):
10079 Use line-beginning-position and line-end-position.
10081 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10082 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10083 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10086 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10088 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10089 forward-line fallout.
10091 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10093 * mouse.el (mouse-appearance-menu): Add docstring.
10095 * help.el (describe-key): Print up-event using key-description.
10097 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10099 * net/zeroconf.el (zeroconf-resolve-service)
10100 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10101 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10103 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10105 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10107 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10109 Avoid displaying files with a nil state in vc-dir.
10110 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10111 cases that cause insertion.
10112 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10115 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10117 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10119 2010-06-29 Leo <sdl.web@gmail.com>
10121 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10123 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10125 * generic-x.el (bat-generic-mode): Fix regexp for command line
10126 switches (Bug#5719).
10128 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10130 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10131 of nconc to avoid pure storage error (Bug#6239).
10133 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10135 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10136 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10137 bindings of bookmark-automatically-show-annotations (Bug#6515).
10139 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10141 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10142 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10144 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10146 * comint.el (make-comint, make-comint-in-buffer): Mention return
10147 value in the docstrings. (Bug#6498)
10149 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10151 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10152 since it is not present when using some non-default switches.
10154 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10156 * simple.el (compose-mail): Fix doc string to refer to
10157 `compose-mail-user-agent-warnings', instead of to the
10158 nonexistent `compose-mail-check-user-agent'.
10160 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10162 Fix an indentation bug:
10164 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10165 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10166 of existing values.
10168 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10169 (c-clear->-pair-props-if-match-before): now return t when they've
10170 cleared properties, nil otherwise.
10171 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10172 by taking account of the existing value.
10174 * progmodes/cc-defs.el
10175 (c-clear-char-property-with-value-function): Fix this to clear the
10176 property rather than overwriting it with nil.
10178 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10180 * emacs-lisp/package.el (package-print-package): Add link to
10181 package description via describe-package.
10182 (describe-package-1): List package requirements. Add button to
10183 perform installation.
10184 (package-menu-describe-package): New command.
10186 * help-mode.el (help-package): New button type.
10188 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10190 * emacs-lisp/package.el: Move package-list-packages binding to
10192 (describe-package, describe-package-1, package--dir): New funs.
10193 (package-activate-1): Use package--dir.
10195 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10197 * help-mode.el (help-package-def): New button type.
10199 * menu-bar.el: Move package-list-packages binding here from
10202 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10204 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10206 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * emacs-lisp/edebug.el (edebug-read-list):
10209 Phase out old-style backquotes.
10211 2010-06-17 Juri Linkov <juri@jurta.org>
10213 * help-mode.el (help-mode): Set buffer-local variable
10214 revert-buffer-function to help-mode-revert-buffer.
10215 (help-mode-revert-buffer): New function.
10217 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10218 before popping to "*info*" (like in other Info functions).
10219 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10220 old-history-forward. Pop to old-buffer-name or "*info*" to
10221 recreate the killed buffer. Set Info-history-forward from
10222 old-history-forward.
10223 (Info-breadcrumbs-depth): Add :group and :version.
10225 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10227 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10229 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10231 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10232 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10234 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10236 * emacs-lisp/package.el (package-menu-mode-map):
10237 Move initialization into declaration.
10239 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10241 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10243 * emacs-lisp/package.el (package-archive-base): Point to
10245 (package-enable, package-load-list): New defcustoms.
10246 (package-user-dir, package-directory-list): Turn into defcustoms.
10247 Don't include package-user-dir in package-directory-list.
10248 (package--builtins-base): Don't include Emacs as a "package".
10249 (package-subdirectory-regexp): New var.
10250 (package-load-all-descriptors, package-compute-transaction)
10251 (package-download-transaction): Obey package-load-list.
10252 (package-activate-1): Rename from package-do-activate.
10253 (package-list-packages-internal): Check package-load-list.
10254 (package-load-descriptor, package-generate-autoloads)
10255 (package-unpack, package-unpack-single)
10256 (package--read-archive-file, package-delete):
10257 Use expand-file-name.
10259 * emacs-lisp/package-x.el: New file. Package uploading
10260 functionality split out from package.el.
10262 * startup.el (command-line): Load packages after reading init file.
10264 2010-06-17 Tom Tromey <tromey@redhat.com>
10266 * emacs-lisp/package.el: New file.
10268 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10270 Fix vc-annotate for renamed files when using Git.
10271 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10272 ls-files. Doe not pass the object as a file name to cat-file, it
10273 is not a file name.
10274 (vc-git-annotate-command): Pass the file name using -- to avoid
10275 ambiguity with the revision.
10276 (vc-git-previous-revision): Pass a relative file name.
10278 2010-06-22 Glenn Morris <rgm@gnu.org>
10280 * progmodes/js.el (js-mode-map): Use standard capitalization and
10281 ellipses for menu entries.
10283 * wid-edit.el (widget-complete): Doc fix.
10285 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10287 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10289 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10291 Fix annotating other revisions for renamed files in vc-annotate.
10292 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10293 VC backend. Use it when non-nil.
10294 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10297 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10298 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10299 Do not pass the file name to the 'previous-revision call when we
10300 don't want a file diff. (Bug#6489)
10302 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10304 Fix finding revisions for renamed files in vc-annotate.
10305 * vc/vc.el (vc-find-revision): Add an optional argument for
10306 the VC backend. Use it when non-nil.
10307 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10308 backend to vc-find-revision. (Bug#6487)
10310 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10312 Fix reading file names in Git annotate buffers.
10313 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10314 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10316 2010-06-20 Alan Mackenzie <acm@muc.de>
10318 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10319 in file local variables, set it first.
10321 2010-06-19 Glenn Morris <rgm@gnu.org>
10323 * descr-text.el (describe-char-unicode-data): Insert separating
10324 space when needed. (Bug#6422)
10326 * progmodes/idlwave.el (idlwave-action-and-binding):
10327 Fix typo in 2009-12-03 change. (Bug#6450)
10329 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10331 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10332 handling for `lambda' (misunderstanding).
10334 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10336 * calc/calc-poly.el (math-accum-factors): Make sure that
10337 constants aren't distributed after they are factored out.
10339 2010-06-16 Juri Linkov <juri@jurta.org>
10341 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10342 `list-colors-print'. (Bug#6332)
10344 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10346 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10349 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10351 * font-lock.el (font-lock-major-mode): Rename from
10352 font-lock-mode-major-mode to distinguish it from
10353 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10354 (font-lock-set-defaults):
10355 * font-core.el (font-lock-default-function): Adjust users.
10356 (font-lock-mode): Don't set it at all.
10358 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10360 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10362 2010-06-16 Glenn Morris <rgm@gnu.org>
10364 * calendar/appt.el (appt-time-msg-list): Doc fix.
10365 (appt-check): Let-bind appt-warn-time.
10366 (appt-add): Make the 3rd argument optional.
10367 Simplify argument names. Doc fix. Check for integer WARNTIME.
10368 Only add WARNTIME to the output list if non-nil.
10370 2010-06-16 Ivan Kanis <apple@kanis.eu>
10372 * calendar/appt.el (appt-check): Let the 3rd element of
10373 appt-time-msg-list specify the warning time.
10374 (appt-add): Add new argument with the warning time. (Bug#5176)
10376 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10378 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10379 older than version 1.6. (Bug#6361)
10381 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10383 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10384 used by cl-do-arglist. (Bug#6408)
10386 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10388 * textmodes/ispell.el (ispell-dictionary-base-alist):
10389 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10390 Suggested by Rolando Pereira (bug#6434).
10392 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10394 * facemenu.el (list-colors-sort): Doc fix.
10396 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10398 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10400 2010-06-14 Juri Linkov <juri@jurta.org>
10402 Add sort option `list-colors-sort'. (Bug#6332)
10403 * facemenu.el (color-rgb-to-hsv): New function.
10404 (list-colors-sort): New defcustom.
10405 (list-colors-sort-key): New function.
10406 (list-colors-display): Doc fix. Sort list according to the option
10407 `list-colors-sort'.
10408 (list-colors-print): Add HSV values to `help-echo' property of
10411 2010-06-14 Juri Linkov <juri@jurta.org>
10413 * compare-w.el: Move to the "vc" subdirectory.
10415 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * image-mode.el (image-mode-map): Remap left-char and right-char.
10419 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10421 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10423 * term/common-win.el (x-colors): Add all the color names defined
10424 in rgb.txt (Bug#6332).
10426 * facemenu.el (list-colors-print): Don't print extra names if it
10427 will overflow the window width.
10429 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10432 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10434 * files.el (make-directory): Doc fix (bug#6396).
10436 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10438 * net/tramp.el (tramp-remote-process-environment): Protect version
10439 string by apostroph.
10440 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10442 (tramp-file-name-for-operation): Add `call-process-region'.
10443 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10445 * net/tramp-compat.el (top): Do not autoload
10446 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10447 only when `start-file-process' is not bound.
10448 (tramp-advice-file-expand-wildcards): Do not use
10449 `tramp-handle-file-remote-p'.
10450 (tramp-compat-make-temp-file): Handle the case, that
10451 `make-temp-file' has no third argument EXTENSION.
10453 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10455 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10457 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10459 2010-06-11 Juri Linkov <juri@jurta.org>
10461 * finder.el (finder-known-keywords): Add keyword "vc"
10462 for version control.
10464 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10465 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10466 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10467 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10469 2010-06-11 Juri Linkov <juri@jurta.org>
10471 Move version control related files to the "vc" subdirectory.
10472 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10473 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10474 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10475 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10476 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10477 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10478 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10479 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10480 Move files to the "vc" subdirectory.
10482 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10484 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10487 2010-06-11 Stephen Eglen <stephen@gnu.org>
10489 * shell.el: Bind `shell-resync-dirs' to M-RET.
10491 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10493 * notifications.el: Move file from lisp/net, because it is
10494 supposed to talk locally to the user.
10496 2010-06-10 Julien Danjou <julien@danjou.info>
10498 * net/notifications.el (notifications-on-action-signal)
10499 (notifications-on-closed-signal): Pass notification id as first
10500 argument to the callback functions. Add docstrings.
10501 (notifications-notify): Fix docstring.
10503 2010-06-10 Glenn Morris <rgm@gnu.org>
10505 * emacs-lisp/authors.el (authors-ignored-files)
10506 (authors-valid-file-names): Add some files.
10508 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10510 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10511 merge conflict, giving preference to the emacs-23 version of the code.
10513 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10515 * emacs-lisp/advice.el (ad-compile-function):
10516 Define warning-suppress-types before we let-bind it (bug#6275).
10518 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10519 declare it, make it buffer-local and permanent-local (bug#6324).
10520 (vc-resynch-window): Adjust name.
10521 * vc-hooks.el (vc-find-file-hook): Adjust name.
10523 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10525 * net/notifications.el (notifications-notify): Fix docstring.
10527 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10529 Update to Unicode 6.0.0 beta.
10530 * international/charprop.el: Update copyright.
10531 * international/mule-cmds.el (ucs-names): Update character ranges.
10532 * international/uni-bidi.el:
10533 * international/uni-category.el:
10534 * international/uni-combining.el:
10535 * international/uni-comment.el:
10536 * international/uni-decimal.el:
10537 * international/uni-decomposition.el:
10538 * international/uni-digit.el:
10539 * international/uni-lowercase.el:
10540 * international/uni-mirrored.el:
10541 * international/uni-name.el:
10542 * international/uni-numeric.el:
10543 * international/uni-old-name.el:
10544 * international/uni-titlecase.el:
10545 * international/uni-uppercase.el: Regenerate.
10547 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10549 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10550 (smie-precs-precedence-table): Fix typo in docstring.
10552 * vc-mtn.el (log-edit-extract-headers): Declare function.
10554 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10556 * net/notifications.el (dbus-register-signal): Declare function.
10557 (notifications-notify): Fix typos and reflow docstring.
10559 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10561 Improve VC create/retrieve tag/branch.
10562 * vc.el (vc-create-tag): Do not read the directory name for VCs
10563 with repository revision granularity. Adjust the tag/branch
10564 prompt. Reset VC properties.
10565 (vc-retrieve-tag): Do not read the directory name for VCs
10566 with repository revision granularity. Reset VC properties.
10568 2010-06-09 Julien Danjou <julien@danjou.info>
10570 * net/notifications.el: New file.
10572 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10574 Add optional support for resetting VC properties.
10575 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10576 call vc-file-clearprops when true.
10577 (vc-resynch-buffer): Add new optional argument, pass it down.
10578 (vc-resynch-buffers-in-directory): Likewise.
10580 Improve support for special markup in the VC commit message.
10581 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10582 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10583 * vc-git.el (vc-git-checkin):
10584 * vc-bzr.el (vc-bzr-checkin): Likewise.
10586 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10588 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10589 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10591 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10593 * iimage.el: Remove images as soon as the underlying text is modified.
10594 (iimage-modification-hook): New function.
10595 (iimage-mode-buffer): Use it.
10597 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10599 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10600 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10601 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10602 (smie-indent-keyword): Add handling of open-paren keywords.
10603 (smie-indent-comment-continue): Don't assume comment-continue.
10605 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10607 * window.el (pop-to-buffer): Remove the conditional that
10608 compares new-window and old-window, so it will reselect
10609 the selected window unconditionally.
10610 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10612 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10614 * emacs-lisp/smie.el (smie-indent-offset-after)
10615 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10616 (smie-indent-after-keyword): Use them.
10617 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10618 (smie-indent-keyword): Tweak the black magic.
10619 (smie-indent-comment-continue): Strip comment-continue before use.
10620 (smie-indent-functions): Indent comments before keywords.
10622 2010-06-06 Juri Linkov <juri@jurta.org>
10624 * isearch.el (isearch-lazy-highlight-search): Fix looping
10625 by checking for empty match. This syncs this loop with the
10626 similar loop in `isearch-search'. (Bug#6362)
10628 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10630 * net/dbus.el (dbus-register-method): Declare function.
10631 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10632 (dbus-introspect): Doc fix.
10633 (dbus-event-bus-name, dbus-introspect-get-interface)
10634 (dbus-introspect-get-argument): Reflow docstrings.
10636 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10638 vc-log-incoming/vc-log-outgoing fixes for Git.
10639 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10640 incoming/outgoing logs.
10641 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10642 instead of vc-git-compute-remote.
10643 (vc-git-compute-remote): Remove.
10645 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10647 * term/common-win.el (x-colors): Add "dark green" and "dark
10648 turquoise" (Bug#6332).
10650 2010-06-04 Juri Linkov <juri@jurta.org>
10652 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10653 Instead of setting `replace' to t and replacing the same string
10654 with itself, don't do certain actions when
10655 kill-do-not-save-duplicates is non-nil and string is equal to car
10656 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10657 interprogram-paste strings to kill-ring, and don't push the input
10658 argument `string' to kill-ring.
10659 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10661 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10663 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10665 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10667 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10668 (tramp-gvfs-handler-mounted-unmounted)
10669 (tramp-gvfs-connection-mounted-p): Handle default-location.
10671 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10672 move files to trash.
10674 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10676 * international/mule-cmds.el (nonascii-insert-offset)
10677 (nonascii-translation-table): Add obsolescence information.
10679 * international/mule.el (make-translation-table-from-vector): Doc fix.
10681 2010-06-03 Glenn Morris <rgm@gnu.org>
10683 * desktop.el (desktop-clear-preserve-buffers):
10684 Add "*Warnings*" buffer. (Bug#6336)
10686 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10688 vc-log-incoming/vc-log-outgoing improvements for Git.
10689 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10691 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10693 Add bindings for vc-log-incoming and vc-log-outgoing.
10694 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10695 and vc-log-outgoing.
10696 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10697 and vc-log-outgoing.
10699 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10701 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10702 (rcirc-handler-366): Always sort nicknames.
10704 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10706 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10708 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10710 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10712 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10715 (rcirc-sort-nicknames-join): Avoid setq.
10717 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10719 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10720 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10721 (rcirc-handler-366): Use them.
10723 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10725 Split smie-indent-calculate into more manageable chunks.
10726 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10727 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10728 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10729 (smie-indent-exps): Extract from smie-indent-calculate.
10730 (smie-indent-functions): New var.
10731 (smie-indent-functions): Use them.
10733 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10735 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10736 (smie-indent-calculate): Simplify and cleanup.
10738 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10740 * net/tramp-gvfs.el (top): Require url-util.
10741 (tramp-gvfs-mount-point): Remove.
10742 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10744 (with-tramp-dbus-call-method): Format trace message.
10745 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10746 Implement backup call, when operation on local files fails.
10747 Use progress reporter. Flush properties of changed files.
10748 (tramp-gvfs-handle-make-directory): Make more traces.
10749 (tramp-gvfs-url-file-name): Hexify file name in url.
10750 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10751 into account for the resulting file name.
10752 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10753 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10754 (tramp-gvfs-handler-mounted-unmounted)
10755 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10756 attribute "default_location". Set "prefix" property.
10757 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10758 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10759 exists. Raise an error, if not (due to a corresponding answer
10760 "no" in interactive questions, for example).
10762 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10764 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10766 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10768 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10769 right-*. (Bug#6265)
10771 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10773 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10774 * vc-git.el (vc-git-compute-remote): New function.
10775 (vc-git-log-outgoing): Use it instead of hard coding a value.
10776 (vc-git-log-incoming): New function.
10778 Improve state updating for VC tag commands.
10779 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10780 to update the state of all buffers in the directory.
10782 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10784 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10787 `file-directory-p' to the filename part rather than to the whole text.
10789 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10791 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10793 2010-05-31 Drew Adams <drew.adams@oracle.com>
10795 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10797 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10799 * subr.el (momentary-string-display): Just use read-event to read
10800 the exit event (Bug#6238).
10802 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10804 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10806 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10808 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10809 Suggested by Eli Zaretskii <eliz@gnu.org>.
10811 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10813 * minibuffer.el (completion-file-name-table): Don't return a boundary
10814 past the end of `string' (bug#6299).
10815 (completion--file-name-table): Delegate to completion-file-name-table
10816 for the `boundaries' case.
10818 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10820 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10823 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10824 `path-separator', but maintain compatibility with Emacs 20.2.
10826 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10828 * server.el (server-process-filter): Receive parent-id argument
10830 (server-create-window-system-frame): New arg. Pass parent-id as
10833 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10835 Bidi-sensitive word movement with arrow keys.
10836 * subr.el (right-arrow-command, left-arrow-command): Move to
10839 * bindings.el (right-char, left-char): Move from subr.el and
10840 rename from right-arrow-command and left-arrow-command.
10841 (right-word, left-word): New functions.
10842 (global-map) <right>: Bind to right-char.
10843 (global-map) <left>: Bind to left-char.
10844 (global-map) <C-right>: Bind to right-word.
10845 (global-map) <C-left>: Bind to left-word.
10847 * ls-lisp.el (ls-lisp-classify-file): New function.
10848 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10849 (ls-lisp-classify): Call ls-lisp-classify-file.
10850 (insert-directory): Remove blanks from switches.
10852 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10854 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10855 (ansi-color-drop-regexp): New constant.
10856 (ansi-color-apply, ansi-color-filter-region)
10857 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10858 (ansi-color-apply): Build string list before calling concat.
10860 2010-05-28 Juri Linkov <juri@jurta.org>
10862 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10863 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10866 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10868 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10869 to ignored backtrace functions.
10870 (with-progress-reporter): Expand docstring.
10871 (tramp-handle-delete-file): Implement TRASH argument.
10872 (tramp-get-remote-trash): New defun.
10874 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10876 * net/tramp-compat.el (tramp-compat-delete-file):
10877 Use `symbol-value' for backward compatibility.
10879 * net/tramp.el (tramp-handle-make-symbolic-link)
10880 (tramp-handle-load)
10881 (tramp-do-copy-or-rename-file-via-buffer)
10882 (tramp-do-copy-or-rename-file-directly)
10883 (tramp-do-copy-or-rename-file-out-of-band)
10884 (tramp-handle-process-file, tramp-handle-call-process-region)
10885 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10886 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10887 (tramp-delete-temp-file-function): Use `delete-file' instead
10888 of `tramp-compat-delete-file'.
10890 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10891 (tramp-fish-handle-make-symbolic-link)
10892 (tramp-fish-handle-process-file): Use `delete-file' instead
10893 of `tramp-compat-delete-file'.
10895 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10896 Use `delete-file' instead of `tramp-compat-delete-file'.
10898 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10899 Use `delete-file' instead of `tramp-compat-delete-file'.
10901 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10902 Use `delete-file' instead of `tramp-compat-delete-file'.
10904 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10905 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10906 (tramp-smb-handle-write-region): Use `delete-file' instead of
10907 `tramp-compat-delete-file'.
10908 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10910 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10912 * dired.el (dired-delete-file): New arg TRASH.
10913 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10914 (dired-do-flagged-delete, dired-do-delete): Use trash.
10916 * speedbar.el (speedbar-item-delete): Allow trashing.
10918 * files.el (delete-directory): New arg TRASH.
10920 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10921 (ange-ftp-rename-remote-to-remote)
10922 (ange-ftp-rename-local-to-remote)
10923 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10924 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10926 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10929 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10930 handle new TRASH arg of `delete-file'.
10932 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10933 (tramp-handle-make-symbolic-link, tramp-handle-load)
10934 (tramp-do-copy-or-rename-file-via-buffer)
10935 (tramp-do-copy-or-rename-file-directly)
10936 (tramp-do-copy-or-rename-file-out-of-band)
10937 (tramp-handle-process-file, tramp-handle-call-process-region)
10938 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10939 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10940 (tramp-delete-temp-file-function): Use null TRASH arg in
10941 tramp-compat-delete-file call.
10943 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10944 (tramp-fish-handle-delete-file)
10945 (tramp-fish-handle-make-symbolic-link)
10946 (tramp-fish-handle-process-file): Use null TRASH arg in
10947 `tramp-compat-delete-file' call.
10949 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10950 arg in `tramp-compat-delete-file' call.
10952 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10953 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10954 `tramp-compat-delete-file' call.
10956 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10957 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10958 `tramp-compat-delete-file' call.
10960 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10961 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10962 (tramp-smb-handle-write-region): Use null TRASH arg in
10963 tramp-compat-delete-file call.
10964 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10965 (tramp-smb-handle-delete-file): Rename arg.
10967 * diff.el (diff-sentinel):
10968 * epg.el (epg--make-temp-file, epg-decrypt-string)
10969 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10970 * jka-compr.el (jka-compr-partial-uncompress)
10971 (jka-compr-call-process, jka-compr-write-region):
10972 * server.el (server-sentinel): Remove optional arg from
10973 delete-file, reverting 2010-05-03 change.
10975 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10977 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10978 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10980 2010-05-27 Kenichi Handa <handa@m17n.org>
10982 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10983 element of GSTRING is nil.
10985 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * emacs-lisp/smie.el (smie-forward-token-function)
10988 (smie-backward-token-function): New vars.
10989 (smie-backward-sexp, smie-forward-sexp)
10990 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10991 (smie-default-backward-token): Rename from smie-backward-token and
10993 (smie-default-forward-token): Rename from smie-forward-token and
10995 (smie-next-sexp): Handle nil results from next-token.
10996 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10998 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11000 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11001 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11003 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11005 * htmlfontify.el (hfy-face-resolve-face): New function.
11006 (hfy-face-to-style): Use it (Bug#6279).
11008 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11010 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11011 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11013 2010-05-26 Glenn Morris <rgm@gnu.org>
11015 * emulation/edt.el (edt-load-keys): Use locate-library.
11017 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11019 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11020 (log-edit-changelog-entries): Doc fix.
11021 (log-edit-changelog-insert-entries): Args changed.
11022 Rename relative filenames in ChangeLog entries. Delete tabs.
11023 (log-edit-insert-changelog-entries): Reorganize return value of
11024 `log-edit-changelog-entries' to pass filenames to
11025 log-edit-changelog-insert-entries.
11027 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11029 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11030 `image-dired-dired-insert-marked-thumbs' to
11031 `image-dired-dired-toggle-marked-thumbs'.
11033 * image-dired.el: Require cl when compiling.
11034 (image-dired-dired-toggle-marked-thumbs): Rename from
11035 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11036 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11037 to 'no-dir. Skip files whose names don't match
11038 `image-file-name-regexp'. When file has a thumbnail overlay,
11039 delete it. (Bug#5270)
11041 2010-05-25 Juri Linkov <juri@jurta.org>
11043 * image-mode.el (image-mode): Add image-after-revert-hook to
11045 (image-after-revert-hook): New function. (Bug#5669)
11047 2010-05-25 Juri Linkov <juri@jurta.org>
11049 * image.el (image-animated-p): When delay between animated images
11050 is 0, set it to 10 (0.1 sec). (Bug#6258)
11052 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11054 * net/tramp.el (tramp-handle-insert-directory): Don't use
11055 `forward-word', its default syntax could be changed.
11057 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11059 * net/tramp.el (tramp-progress-reporter-update): New defun.
11060 (with-progress-reporter): Use it.
11061 (tramp-process-actions):
11062 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11063 Preserve current message, in order to let progress reporter continue
11064 afterwards. (Bug#6257)
11066 2010-05-25 Glenn Morris <rgm@gnu.org>
11068 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11071 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11073 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11074 (rcirc-default-full-name): Change to "unknown".
11075 (rcirc-user-name-history): Add variable.
11077 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11078 Jonathan Rockway <jon@jrock.us>
11080 * net/rcirc.el (rcirc-server-alist): Add :pass.
11081 (rcirc): When prompting for connection parameters, also prompt for
11082 username and password.
11083 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11084 value to server when connecting.
11086 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11088 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11089 (smie-merge-prec2s): Pass the tables as separate args.
11090 (smie-bnf-precedence-table): Adjust call accordingly.
11091 (smie-prec2-levels): Set levels at the end.
11093 Replace Lisp calls to delete-backward-char by delete-char.
11094 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11095 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11096 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11097 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11098 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11099 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11100 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11101 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11102 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11103 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11104 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11105 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11106 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11107 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11108 delete-backward-char by calls to delete-char.
11110 2010-05-25 Kenichi Handa <handa@m17n.org>
11112 * language/hebrew.el (hebrew-shape-gstring): New function.
11113 Register it in composition-function-table for all Hebrew combining
11116 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11118 * epa.el (epa--select-keys): Don't explicitly delete the window since
11119 that can fail (e.g. sole window in frame). Use dedication instead.
11121 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11123 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11125 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11127 * image.el (image-refresh): Define as an alias for image-flush.
11129 * image-mode.el (image-toggle-display-image): Caller changed.
11131 2010-05-21 Juri Linkov <juri@jurta.org>
11133 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11134 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11135 whitespace, call wildcard-to-regexp on substrings and concat them
11136 with "\\|". (Bug#6114)
11138 2010-05-21 Alan Mackenzie <acm@muc.de>
11140 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11141 Replace parameter `here' with `here-' and `here-plus', which sandwich
11142 any pertinent CPP construct.
11143 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11144 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11145 CPP construct from taking part in the scanning.
11147 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11149 * net/tramp.el (tramp-do-copy-or-rename-file)
11150 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11151 Tune `with-progress-reporter' messages.
11152 (tramp-handle-vc-registered):
11153 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11154 (tramp-fish-handle-insert-file-contents)
11155 (tramp-fish-maybe-open-connection):
11156 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11157 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11158 (tramp-imap-handle-insert-file-contents)
11159 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11161 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11163 * add-log.el (change-log-font-lock-keywords):
11164 Highlight all authors in multi-author entries.
11166 * smerge-mode.el (smerge-refine-ignore-whitespace)
11167 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11168 Fix typos in docstrings.
11169 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11171 2010-05-21 Glenn Morris <rgm@gnu.org>
11173 * progmodes/fortran.el (fortran-mode):
11174 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11176 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11177 having a relative path in src/Makefile.in.
11179 2010-05-20 Kevin Ryde <user42@zip.com.au>
11181 * help-mode.el (help-make-xrefs): For Info node links turn
11182 newlines into spaces. Link node names with newlines are matched
11183 by help-xref-info-regexp and buttonized, this change ensures they
11184 can be followed successfully with RET. (Bug#6206)
11186 2010-05-20 Juri Linkov <juri@jurta.org>
11188 * locate.el (locate): Use pop-to-buffer instead of
11189 switch-to-buffer-other-window. (Bug#6204)
11191 2010-05-20 Juri Linkov <juri@jurta.org>
11193 * replace.el (replace-highlight): Fix lazy-highlighting
11194 for `M-s w str M-% str RET'.
11196 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11198 * isearch.el (isearch-yank-word-or-char): Pull next subword
11199 when `subword-mode' is activated. (Bug#6220)
11201 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11203 * isearch.el (isearch-update-post-hook): New hook.
11204 (isearch-update): Use the new hook. (Bug#6225)
11206 2010-05-20 Juri Linkov <juri@jurta.org>
11208 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11209 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11212 2010-05-20 Juri Linkov <juri@jurta.org>
11214 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11217 2010-05-20 Juri Linkov <juri@jurta.org>
11219 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11220 FILE-NAME to read from the minibuffer when called interactively
11221 with prefix argument instead of using buffer-file-name.
11222 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11224 * dired.el: Update autoloads.
11226 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11228 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11229 nxml-finish-element, for consistency with SGML mode.
11231 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11232 octave-close-block.
11234 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11236 * composite.el: Require cl when compiling.
11237 (reference-point-alist, compose-gstring-for-graphic)
11238 (compose-gstring-for-terminal): Fix typos in docstrings.
11240 2010-05-19 Juri Linkov <juri@jurta.org>
11242 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11243 set-window-parameter.
11245 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11247 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11249 (tramp-maybe-open-connection): Use it.
11251 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11253 * simple.el (move-end-of-line): Make sure we are at line beginning
11254 before backing up to end of previous line.
11256 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11258 * password-cache.el (password-cache-remove): Fix docstring.
11260 * net/secrets.el: Autoload the widget functions.
11261 (secrets-search-items, secrets-create-item)
11262 (secrets-get-attributes, secrets-expand-item): Attributes will be
11263 stored on the password database without leading ":", as all other
11264 clients do as well.
11265 (secrets-mode): Fix docstring.
11266 (secrets-show-secrets): Provide it as autoloaded command only when
11267 D-Bus support is available. Check existence of Secret Service API.
11269 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11271 * indent.el (indent-region): Deactivate region (bug#6200).
11273 2010-05-19 Glenn Morris <rgm@gnu.org>
11275 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11277 2010-05-19 Kenichi Handa <handa@m17n.org>
11279 * composite.el: Register compose-gstring-for-graphic in
11280 composition-function-table only for combining characters (Mn, Mc, Me).
11282 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11284 * calc/calc-trail.el (calc-trail-isearch-forward)
11285 (calc-trail-isearch-backward): Ensure that the new window
11286 point is set correctly.
11288 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11290 * subr.el (read-quoted-char): Resolve modifiers after key
11291 remapping (bug#6212).
11293 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11295 Add visualization code for secrets.
11296 * net/secrets.el (secrets-mode): New major mode.
11297 (secrets-show-secrets, secrets-show-collections)
11298 (secrets-expand-collection, secrets-expand-item)
11299 (secrets-tree-widget-after-toggle-function)
11300 (secrets-tree-widget-show-password): New defuns.
11302 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11304 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11305 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11306 handled in smie-next-sexp.
11307 (smie-indent-calculate): Provide a starting indentation (so the
11308 recursion is well-founded ;-).
11310 Fix handling of non-associative equal levels.
11311 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11312 when it's not needed.
11313 (smie-op-left, smie-op-right): New functions.
11314 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11315 Better handle equal levels to distinguish the associative case from
11316 the "multi-keyword construct" case.
11317 (smie-backward-sexp, smie-forward-sexp): Use it.
11319 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11321 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11323 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11324 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11326 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11328 Provide a simple generic indentation engine and use it for Prolog.
11329 * emacs-lisp/smie.el: New file.
11330 * progmodes/prolog.el (prolog-smie-op-levels)
11331 (prolog-smie-indent-rules): New var.
11332 (prolog-mode-variables): Use them to configure SMIE.
11333 (prolog-indent-line, prolog-indent-level): Remove.
11335 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11337 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11338 order before computing the averages.
11340 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11342 * calc/calc-vec.el (calc-histogram):
11343 (calcFunc-histogram): Allow vectors as inputs.
11344 (math-vector-avg): New function.
11346 * calc/calc-ext.el (math-group-float): Have the number of digits
11347 being grouped depend on the radix (Bug#6189).
11349 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11351 * version.el (emacs-copyright, emacs-version): Don't define here,
11352 now that emacs.c defines it.
11354 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11356 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11357 "Describe Language Environment" menu item.
11359 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11361 Bidi-sensitive movement with arrow keys.
11362 * subr.el (right-arrow-command, left-arrow-command): New functions.
11364 * bindings.el (global-map): Bind them to right and left arrow keys.
11366 Don't override standard definition of convert-standard-filename.
11367 * files.el (convert-standard-filename):
11368 Call w32-convert-standard-filename and dos-convert-standard-filename on
11369 the corresponding systems.
11371 * w32-fns.el (w32-convert-standard-filename): Rename from
11372 convert-standard-filename. Doc fix.
11374 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11375 (convert-standard-filename): Don't defalias.
11376 (register-name-alist, make-register, register-value)
11377 (set-register-value, intdos): Obsolete aliases for the
11378 corresponding dos-* functions and variables.
11379 (dos-intdos): Add a doc string.
11381 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11383 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11384 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11385 (math-compose-tex-func):
11386 * calc/calccomp.el (math-compose-expr):
11387 * calc/calc-ext.el (math-format-flat-expr-fancy):
11388 * calc/calc-store.el (calc-read-var-name):
11389 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11391 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11392 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11393 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11394 (math-standard-units): Add units.
11396 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11398 * progmodes/asm-mode.el (asm-mode):
11399 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11401 * pcomplete.el (pcomplete-completions-at-point): New function,
11402 extracted from pcomplete-std-complete.
11403 (pcomplete-std-complete): Use it.
11405 2010-05-15 Glenn Morris <rgm@gnu.org>
11407 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11408 Remove references to CVS, RCS and Old directories.
11410 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11412 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11415 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11418 (sh-mode-syntax-table): Give it a default value instead.
11419 (sh-header-marker): Make buffer-local.
11420 (sh-mode): Move make-local-variable to the corresponding setq.
11421 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11422 Use complete-with-action.
11424 * simple.el (prog-mode): New (abstract) major mode.
11425 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11426 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11428 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11430 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11431 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11432 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11433 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11434 (sql-escape-newlines-filter, sql-input-sender)
11435 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11437 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11439 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11441 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11442 latex-open-block and C-c / to latex-close-block.
11444 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11445 and C-c C-e to sgml-close-tag.
11447 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11449 * net/tramp.el (with-progress-reporter): Create reporter object
11450 only when the message would be displayed. Handle nested calls.
11451 (tramp-handle-load, tramp-handle-file-local-copy)
11452 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11453 (tramp-maybe-send-script, tramp-find-shell):
11454 Use `with-progress-reporter'.
11455 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11458 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11459 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11460 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11461 Use `with-progress-reporter'.
11463 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11465 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11466 process everytime when spellchecking from the minibuffer (bug#6143).
11468 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11470 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11472 * dos-fns.el: Add "dos-" prefix for namespace control.
11473 (convert-standard-filename): Define as alias for
11474 dos-convert-standard-filename but only if applicable.
11476 2010-05-12 Alan Mackenzie <acm@muc.de>
11478 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11479 Push the mark at the start of these functions when appropriate.
11481 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11483 * minibuffer.el (completion-cycle-threshold): New custom var.
11484 (completion--do-completion): Use it.
11485 (minibuffer-complete): Use cycling if appropriate.
11487 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11489 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11490 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11492 2010-05-11 Juri Linkov <juri@jurta.org>
11494 * scroll-all.el (scroll-all-check-to-scroll):
11495 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11497 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11499 * iimage.el (iimage-mode-map): Move initialization into declaration.
11500 (iimage-mode-buffer): Use with-silent-modifications.
11501 Simplify calling convention. Adjust callers.
11502 (iimage-mode): Don't run hook redundantly.
11504 * minibuffer.el (completion-pcm--pattern->regex):
11505 Fix last change (bug#6160).
11507 2010-05-10 Juri Linkov <juri@jurta.org>
11509 Remove nodes visited during Isearch from the Info history.
11510 * info.el (Info-isearch-initial-history)
11511 (Info-isearch-initial-history-list): New variables.
11512 (Info-isearch-start): Record initial values of
11513 Info-isearch-initial-history and Info-isearch-initial-history-list.
11514 Add Info-isearch-end to isearch-mode-end-hook.
11515 (Info-isearch-end): New function.
11517 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11519 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11520 format string, in order to work around a bug in pdksh.
11521 Reported by Gilles Pion <gpion@lfdj.com>.
11522 (tramp-handle-verify-visited-file-modtime): Do not send a command
11523 when the connection is not established.
11524 (tramp-handle-set-file-times): Simplify the check for utc.
11526 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11528 Fix use of `filter-buffer-substring' (rework previous change).
11529 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11530 (cua-repeat-replace-region):
11531 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11532 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11533 (cua-cut-region-to-global-mark): Use it.
11535 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11537 * progmodes/sql.el: Version 2.1.
11538 (sql-product-alist): Redesign structure of product info.
11539 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11540 (sql-port, sql-port-history): New variables.
11541 (sql-interactive-product): New variable.
11542 (sql-send-terminator): New variable.
11543 (sql-imenu-generic-expression): Add "Types" imenu entry.
11544 (sql-oracle-login-params, sql-sqlite-login-params)
11545 (sql-mysql-login-params, sql-solid-login-params)
11546 (sql-sybase-login-params, sql-informix-login-params)
11547 (sql-ingres-login-params, sql-ms-login-params)
11548 (sql-postgres-login-params, sql-interbase-login-params)
11549 (sql-db2-login-params, sql-linter-login-params)
11550 (sql-oracle-scan-on): New variables.
11551 (sql-mode-map): Add C-c C-i to start interactive mode.
11552 (sql-mode-menu): Update existing menu entries.
11553 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11554 (sql-mode-oracle-font-lock-keywords)
11555 (sql-mode-postgres-font-lock-keywords)
11556 (sql-mode-ms-font-lock-keywords)
11557 (sql-mode-sybase-font-lock-keywords)
11558 (sql-mode-informix-font-lock-keywords)
11559 (sql-mode-interbase-font-lock-keywords)
11560 (sql-mode-ingres-font-lock-keywords)
11561 (sql-mode-solid-font-lock-keywords)
11562 (sql-mode-mysql-font-lock-keywords)
11563 (sql-mode-sqlite-font-lock-keywords)
11564 (sql-mode-db2-font-lock-keywords)
11565 (sql-mode-linter-font-lock-keywords): Update initialization to
11566 reduce run-time complexity.
11567 (sql-add-product, sql-del-product): New functions.
11568 (sql-set-product-feature, sql-get-product-feature): New functions.
11569 (sql-product-font-lock): Update product API.
11570 (sql-add-product-keywords): New function.
11571 (sql-highlight-product): Update product API.
11572 (sql-help-list-products): New function.
11573 (sql-help): Dynamically lists free and non-free products.
11574 (sql-get-login): Correct bug in handling history and added
11576 (sql-copy-column): Copy without properties.
11577 (sqli-input-sender): Apply filters to SQLi input.
11578 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11579 Implement as a filter.
11580 (sql-escape-newlines-filter): Implement as a filter.
11581 (sql-remove-tabs-filter): New function.
11582 (sql-send-magic-terminator): New function.
11583 (sql-send-string): Implement magic terminator.
11584 (sql-send-region): Use `sql-send-string'.
11585 (sql-interactive-mode): Use product API.
11586 (sql-product-interactive): Use product API.
11587 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11588 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11589 (sql-db2, sql-linter): Use `sql-product-interactive'.
11590 (sql-connect): New function.
11591 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11592 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11593 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11594 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11597 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11599 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11600 New custom variable.
11601 (completion-pcm--string->pattern): Use it.
11602 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11603 Make it handle any symbol as `any'.
11604 (completion-pcm--merge-completions): Extract common suffix for the new
11605 `prefix' symbol as well.
11606 (completion-substring--all-completions): Use the new `prefix' symbol.
11608 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11610 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11612 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11613 (tramp-compat-funcall): New defmacro.
11614 (tramp-compat-line-beginning-position)
11615 (tramp-compat-line-end-position)
11616 (tramp-compat-temporary-file-directory)
11617 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11618 (tramp-compat-copy-file, tramp-compat-copy-directory)
11619 (tramp-compat-delete-file, tramp-compat-delete-directory)
11620 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11621 * net/tramp.el (top, with-progress-reporter)
11622 (tramp-rfn-eshadow-setup-minibuffer)
11623 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11624 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11625 (tramp-completion-mode-p, tramp-check-for-regexp)
11626 (tramp-open-connection-setup-interactive-shell)
11627 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11628 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11629 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11630 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11631 (tramp-reporter-dump-variable, tramp-load-report-modules)
11632 (tramp-append-tramp-buffers)
11633 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11635 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11637 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11639 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11640 buffer-modtime. Adjust users.
11642 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11644 * international/mule.el (auto-coding-alist): Only purecopy
11645 car of each item, not the whole list (Bug#6083).
11647 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11649 * progmodes/js.el (js-mode): Make paragraph variables local before
11650 calling c-setup-paragraph-variables (Bug#6071).
11652 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11654 * composite.el (compose-region, reference-point-alist): Fix typos
11655 in the doc strings.
11657 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11659 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11660 gnuplot's "set" command.
11662 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11664 * abbrev.el (last-abbrev-text): Doc fix.
11665 (abbrev-prefix-mark): Don't escape parenthesis.
11667 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11669 * composite.el (find-composition): Doc fix.
11671 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11673 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11674 (sql-oracle-program, sql-sqlite-options)
11675 (sql-query-placeholders-and-send): Doc fixes.
11676 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11677 (sql-imenu-generic-expression, sql-buffer)
11678 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11679 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11680 (sql-mode-sybase-font-lock-keywords)
11681 (sql-mode-informix-font-lock-keywords)
11682 (sql-mode-interbase-font-lock-keywords)
11683 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11684 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11685 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11686 (sql-product-feature, sql-highlight-product)
11687 (comint-line-beginning-position, sql-rename-buffer)
11688 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11689 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11690 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11691 Fix typos in docstrings.
11693 2010-05-08 Juri Linkov <juri@jurta.org>
11695 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11696 property instead of `invisible' and `after-string' (bug#5998).
11698 2010-05-08 Juri Linkov <juri@jurta.org>
11700 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11702 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11704 * filecache.el (file-cache-add-directory-list)
11705 (file-cache-add-directory-recursively): Fix typos in docstrings.
11707 2010-05-08 Kenichi Handa <handa@m17n.org>
11709 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11710 (gujarati-composable-pattern): Fix typo.
11712 2010-05-08 Kenichi Handa <handa@m17n.org>
11714 * language/indian.el (oriya-composable-pattern)
11715 (tamil-composable-pattern, malayalam-composable-pattern):
11716 Add two-part vowels to "v" (vowel sign).
11718 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11720 * files.el (copy-directory): Handle symlinks (Bug#5982).
11722 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11724 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11725 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11728 2010-05-08 Glenn Morris <rgm@gnu.org>
11730 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11732 * minibuffer.el (completion-at-point): Doc fix.
11734 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11736 * electric.el (Electric-command-loop): Minor tweak.
11738 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11739 better with dedicated windows.
11741 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11743 * Version 23.2 released.
11745 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11746 Stefan Monnier <monnier@iro.umontreal.ca>
11748 Highlight vendor specific properties.
11749 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11750 (css-proprietary-property): New face.
11751 (css-font-lock-keywords): Use them.
11753 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11755 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11757 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11759 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11760 * files.el (auto-mode-alist): Remove redundant entries.
11762 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11763 * simple.el (auto-save-mode): Move from files.el.
11764 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11766 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11768 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11770 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11772 * mail/binhex.el (binhex-decode-region-internal)
11773 * mail/uudecode.el (uudecode-decode-region-internal)
11774 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11775 (dns-read-type, dns-query)
11776 * pgg-parse.el (pgg-parse-armor)
11777 * pgg.el (pgg-verify-region)
11778 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11781 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11783 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11785 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11787 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11788 * emulation/cua-base.el (cua-repeat-replace-region):
11789 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11790 (cua-cut-region-to-global-mark):
11791 Remove text properties with `set-text-properties'.
11793 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11795 * net/tramp.el (top, with-progress-reporter):
11796 Use `symbol-function' inside `funcall'.
11798 * net/tramp-compat.el (tramp-compat-file-attributes)
11799 (tramp-compat-delete-file, tramp-compat-delete-directory):
11800 Handle only `wrong-number-of-arguments' error.
11802 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11803 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11806 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11808 * minibuffer.el (completion--sreverse, completion--common-suffix):
11810 (completion-pcm--merge-completions): Extract common suffix when safe.
11812 * emacs-lisp/easy-mmode.el (define-minor-mode):
11813 Make :variable more flexible.
11814 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11816 2010-05-05 Juri Linkov <juri@jurta.org>
11818 Add `slow' and `history' tags to the desktop data.
11820 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11821 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11822 (Info-finder-find-node): Require `finder.el' to be able
11823 to restore node from the desktop.
11824 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11825 data `Info-history' and `slow' tag in the assoc list.
11826 (Info-restore-desktop-buffer): Don't restore nodes with the
11827 `slow' tag. Restore `Info-history'.
11829 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11831 Add FORCE argument to `delete-file'.
11833 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11834 forcing to delete the temporary file.
11835 (ange-ftp-delete-file): Add FORCE arg.
11836 (ange-ftp-rename-remote-to-remote)
11837 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11838 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11839 Force file deletion.
11841 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11843 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11844 (tramp-handle-make-symbolic-link, tramp-handle-load)
11845 (tramp-do-copy-or-rename-file-via-buffer)
11846 (tramp-do-copy-or-rename-file-directly)
11847 (tramp-do-copy-or-rename-file-out-of-band)
11848 (tramp-handle-process-file, tramp-handle-call-process-region)
11849 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11850 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11851 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11853 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11854 (tramp-fish-handle-make-symbolic-link)
11855 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11857 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11858 Use `tramp-compat-delete-file'.
11860 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11861 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11863 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11864 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11866 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11867 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11868 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11869 Use `tramp-compat-delete-file'.
11871 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11874 * subr.el (add-minor-mode): Use push.
11875 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11876 * emulation/edt.el (edt-select-mode): Simplify.
11878 Use define-minor-mode in more cases.
11879 * term/tvi970.el (tvi970-set-keypad-mode):
11880 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11881 (normal-erase-is-backspace-mode):
11882 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11883 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11884 (get-scroll-bar-mode): New function.
11885 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11887 Use define-minor-mode for less obvious cases.
11888 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11889 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11890 * international/iso-ascii.el (iso-ascii-mode):
11891 * frame.el (auto-raise-mode, auto-lower-mode):
11892 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11894 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11896 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11897 in order to see error messages for failed logins.
11899 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11901 * diff.el (diff-sentinel):
11903 * epg.el (epg--make-temp-file, epg-decrypt-string)
11904 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11906 * jka-compr.el (jka-compr-partial-uncompress)
11907 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11909 * server.el (server-sentinel): Use delete-file's new FORCE arg
11912 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11914 Use define-minor-mode where applicable.
11915 * view.el (view-mode):
11916 * type-break.el (type-break-query-mode)
11917 (type-break-mode-line-message-mode):
11918 * textmodes/reftex.el (reftex-mode):
11919 * term/vt100.el (vt100-wide-mode):
11920 * tar-mode.el (tar-subfile-mode):
11921 * savehist.el (savehist-mode):
11922 * ibuf-ext.el (ibuffer-auto-mode):
11923 * composite.el (auto-composition-mode):
11924 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11925 Use define-minor-mode.
11926 (vhdl-mode): Use static mode-line format.
11927 (vhdl-mode-line-update): Delete.
11928 (vhdl-create-mode-menu, vhdl-activate-customizations)
11929 (vhdl-hs-minor-mode): Don't bother calling it.
11931 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11933 * simple.el (with-wrapper-hook): Move.
11934 (buffer-substring-filters): Mark obsolete.
11935 (filter-buffer-substring-functions): New variable.
11936 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11938 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11939 Michael Albinus <michael.albinus@gmx.de>
11941 Implement compression for inline methods.
11943 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11944 (tramp-copy-size-limit): Allow also nil.
11945 (tramp-inline-compress-commands): New defconst.
11946 (tramp-find-inline-compress, tramp-get-inline-compress)
11947 (tramp-get-inline-coding): New defuns.
11948 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11949 replaced by `tramp-get-inline-coding'.
11950 (tramp-handle-file-local-copy, tramp-handle-write-region)
11951 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11953 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11955 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11956 Remove unused functions.
11958 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11959 Set find-tag-default-function as a variable rather than a property.
11961 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11962 * progmodes/etags.el (tags-completion-at-point-function):
11963 Remove left over interactive spec. Add autoloading stub.
11964 (complete-tag): Use tags-completion-at-point-function.
11966 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11968 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11970 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11972 * ido.el (ido-init-completion-maps): Remove C-v binding.
11973 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11975 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11977 * minibuffer.el (tags-completion-at-point-function): New function.
11978 (completion-at-point-functions): Use it.
11980 * progmodes/etags.el (complete-tag): Revert last change.
11982 2010-04-29 Alan Mackenzie <acm@muc.de>
11984 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11985 off-by-one error (in end of macro position).
11987 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11989 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11990 firefox is absent. Don't autoload.
11991 (browse-url-galeon-program): Don't autoload.
11993 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11995 * bindings.el (complete-symbol): Move into minibuffer.el.
11997 * minibuffer.el (complete-tag): Move from etags.el. If tags
11998 completion cannot be performed, return nil instead of signalling
12000 (completion-at-point): Make it an alias for complete-symbol.
12001 (complete-symbol): Move from bindings.el, and replace with the
12002 body of completion-at-point.
12004 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12006 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12008 * net/tramp.el (tramp-remote-selinux-p): New defun.
12009 (tramp-handle-file-selinux-context)
12010 (tramp-handle-set-file-selinux-context): Use it.
12012 2010-04-28 Sam Steingold <sds@gnu.org>
12014 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12015 `safe-local-variable' if the value is a string or a symbol with
12016 the property `bug-reference-url-format'.
12018 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12020 * progmodes/bug-reference.el (bug-reference-url-format):
12021 Revert 2010-04-27 change due to security risk.
12023 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12025 Make it possible to locally disable a globally enabled mode.
12026 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12027 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12028 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12029 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12030 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12031 that subsequent hooks get a chance to disable it.
12033 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12035 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12036 Avoid re-enabling a minor mode after the user turned the minor mode
12037 off if MODE-enable-in-buffers is run twice (typically once from
12038 fundamental-mode's after-change-major-mode-hook and a second time from
12039 run-mode-hook's own after-change-major-mode-hook).
12041 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12043 2010-04-27 Sam Steingold <sds@gnu.org>
12045 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12046 `safe-local-variable' if the value is a string or a function, as
12047 documented and implemented on 2010-04-02.
12049 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12051 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12052 when method is 'kill.
12054 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12056 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12057 condition in default directory check.
12058 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12059 Kill ispell process when killing its associated buffer.
12061 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12063 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12064 but we aren't using it.
12066 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12068 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12069 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12071 2010-04-24 Glenn Morris <rgm@gnu.org>
12073 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12074 Ignore VCS-ignore files, and deleted nextstep preferences files.
12075 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12076 (authors-ambiguous-files): New list.
12077 (authors-valid-file-names): Add some deleted files.
12078 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12079 (authors-disambiguate-file-name): New function. (Bug#5501)
12080 (authors-canonical-file-name): Doc fix.
12081 Don't warn about obsolete files.
12082 (authors-canonical-file-name, authors-scan-el):
12083 Use authors-disambiguate-file-name.
12085 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12086 Add autoload cookies.
12087 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12088 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12089 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12090 They have definitions / compiler macros in cl.el.
12091 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12092 Replace manual autoloads with generated ones.
12093 (htmlfontify-unload-rgb-file): Remove autoload.
12094 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12096 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12098 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12099 (byte-compile-setq-default): Optimize for the
12100 single-var case and don't call byte-compile-form in this case to avoid
12101 inf-loop with byte-compile-set-default.
12103 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12105 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12107 Implement SELINUX backends.
12109 * net/tramp.el (tramp-file-name-handler-alist):
12110 Add `file-selinux-context' and `set-file-selinux-context'.
12111 (tramp-handle-file-selinux-context)
12112 (tramp-handle-set-file-selinux-context): New defuns.
12113 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12114 Handle PRESERVE-SELINUX-CONTEXT.
12116 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12117 Add `file-selinux-context' and `set-file-selinux-context'.
12118 (tramp-gvfs-handle-file-selinux-context)
12119 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12120 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12122 * net/ange-ftp.el (ange-ftp-copy-file):
12123 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12124 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12125 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12126 Add PRESERVE-SELINUX-CONTEXT.
12128 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12130 Synchronize with Tramp repository.
12132 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12133 (tramp-action-process-alive, tramp-action-out-of-band)
12134 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12135 (tramp-exists-file-name-handler): Fix docstring.
12136 (with-progress-reporter): New defmacro.
12137 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12138 (tramp-maybe-open-connection): Use it.
12140 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12142 Detect ssh 'ControlMaster' argument automatically in some cases.
12144 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12145 (tramp-default-method): Use it.
12147 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12149 * net/tramp.el (tramp-handle-copy-file): Add new optional
12150 parameter `preserve-selinux-context'.
12151 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12153 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12155 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12156 Ensure, that non remote files are still checked. Oops.
12158 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12162 * icomplete.el (icomplete-completions): Use `non-essential'.
12164 * net/tramp.el (tramp-connectable-p): New defun.
12165 (tramp-handle-expand-file-name)
12166 (tramp-completion-handle-file-name-all-completions)
12167 (tramp-completion-handle-file-name-completion): Use it.
12169 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12171 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12173 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12175 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12177 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12179 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12182 * info.el (info-tool-bar-map): Add labels.
12184 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12186 * cus-edit.el (custom-commands): Add labels for tool bar.
12187 (custom-buffer-create-internal, Custom-mode): Adjust for
12188 labels in custom-commands.
12190 * dynamic-setting.el: Renamed from font-setting.el.
12192 2010-04-21 John Wiegley <jwiegley@gmail.com>
12194 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12195 toggles the use of virtual buffers.
12196 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12197 (ido-toggle-virtual-buffers): New function.
12199 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12201 Use `define-derived-mode'; fix window selection; doc fixes.
12202 * play/tetris.el (tetris, tetris-update-speed-function)
12203 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12204 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12205 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12206 (tetris-pause-game): Fix typos in docstrings.
12207 (tetris-mode-map, tetris-null-map):
12208 Move initialization into declaration.
12209 (tetris-mode): Define with `define-derived-mode';
12210 set show-trailing-whitespace to nil.
12211 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12213 2010-04-21 Karel Klíč <kklic@redhat.com>
12215 * files.el (backup-buffer): Handle SELinux context, and return it
12216 if a backup was made by renaming.
12217 (backup-buffer-copy): Set SELinux context to the target file.
12218 (basic-save-buffer): Set SELinux context of the newly written file.
12219 (basic-save-buffer-1): Now it also returns any SELinux context.
12220 (basic-save-buffer-2): Set SELinux context of the newly created file,
12222 * net/tramp.el (tramp-file-name-for-operation):
12223 Add file-selinux-context.
12225 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12227 Make the log-edit comments use RFC822 format throughout.
12229 * vc.el (vc-checkin, vc-modify-change-comment):
12230 Adjust to new vc-start/finish-logentry.
12231 (vc-find-conflicted-file): New command.
12232 (vc-transfer-file): Adjust to new vc-checkin.
12233 (vc-next-action): Improve scoping.
12235 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12236 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12238 * vc-git.el (vc-git-log-edit-mode): Remove.
12239 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12240 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12242 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12243 (vc-start-logentry): Remove argument `extra'.
12244 (vc-finish-logentry): Remove extra args.
12246 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12247 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12248 (vc-bzr-conflicted-files): New function.
12250 * log-edit.el (log-edit-extra-flags)
12251 (log-edit-before-checkin-process): Remove.
12252 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12253 (log-edit-headers-alist): New var.
12254 (log-edit-header-contents-regexp): New const.
12255 (log-edit-match-to-eoh): New function.
12256 (log-edit-font-lock-keywords): Use them.
12257 (log-edit): Insert a "Summary:" header as default.
12258 (log-edit-mode): Mark font-lock rules as case-insensitive.
12259 (log-edit-done): Cleanup headers.
12260 (log-view-process-buffer): Remove.
12261 (log-edit-extract-headers): New function to replace it.
12263 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12265 * subr.el (default-direction-reversed): Remove obsolescence info.
12267 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12269 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12272 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12273 I.e. include text after point in the completion region.
12274 Also, return nil when we're not after/in a symbol.
12276 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12277 default enable-multibyte-characters.
12279 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12281 * international/mule.el: Help the user choose a valid coding-system.
12282 (read-buffer-file-coding-system): New function.
12283 (set-buffer-file-coding-system): Use it. Prompt the user if the
12284 coding-system cannot encode all the chars.
12286 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12287 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12288 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12289 Don't use *vc-bzr-shelve*.
12291 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12293 Fix the version number for added files.
12294 * vc-hg.el (vc-hg-working-revision): Check if the file is
12295 registered after hg parent fails (Bug#5961).
12297 2010-04-19 Glenn Morris <rgm@gnu.org>
12299 * htmlfontify.el (htmlfontify-buffer)
12300 (htmlfontify-copy-and-link-dir): Autoload entry points.
12302 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12304 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12305 name relative to the project root (Bug#5960).
12307 2010-04-19 Glenn Morris <rgm@gnu.org>
12309 * vc-git.el (vc-git-print-log): Doc fix.
12311 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12313 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12315 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12317 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12318 default settings (Bug#5928).
12320 2010-04-19 Glenn Morris <rgm@gnu.org>
12322 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12324 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12326 2010-04-19 Kenichi Handa <handa@m17n.org>
12328 * language/indian.el (malayalam-composable-pattern): Fix previous
12329 change (add U+0D4D "SIGN VIRAMA").
12330 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12331 (tamil-composable-pattern): Fix typo in the regexp.
12332 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12333 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12334 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12336 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12338 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12339 paragraph-separate (Bug#5821).
12341 2010-04-19 Juri Linkov <juri@jurta.org>
12343 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12345 * info.el (Info-find-node-2): Comment out code that skips
12347 (Info-mouse-follow-link): New command.
12348 (Info-link-keymap): New keymap.
12349 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12350 Return a string with links instead of inserting breadcrumbs
12351 to the Info buffer.
12352 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12353 Instead of putting the `invisible' text property over the Info
12354 header, make an overlay over the Info header with the `invisible'
12355 property and `after-string' set to the string returned by
12356 `Info-breadcrumbs'.
12358 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12360 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12361 Reported by monkey@sandpframing.com.
12363 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12365 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12366 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12367 available in the "keyseq cache" any more.
12369 * custom.el (defcustom): Add edebug spec.
12371 2010-04-18 Juri Linkov <juri@jurta.org>
12373 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12375 * view.el (view-file, view-buffer): Move test for special mode-class
12376 from view-file to view-buffer.
12378 * tar-mode.el (tar-extract): Turn if's into one cond
12379 like in arc-mode.el.
12381 2010-04-18 Juri Linkov <juri@jurta.org>
12383 Add 7z archive format support (bug#5475).
12385 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12386 (archive-7z-extract): New defcustom.
12387 (archive-find-type): Add magic string for 7z.
12388 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12389 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12390 `buffer' arg of `call-process'.
12391 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12392 call the function `archive-7z-extract' with the variable
12393 `archive-7z-extract' let-bound to `archive-zip-extract'.
12394 (archive-7z-summarize, archive-7z-extract): New functions.
12396 * international/mule.el (auto-coding-alist):
12397 * files.el (auto-mode-alist): Add 7z file extension.
12399 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12401 * loadup.el: Setup hash-cons for pure data.
12403 Fix duplicate entries in cedet's loaddefs.el files.
12404 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12405 Should make most file-local generated-autoload-file unnecessary.
12406 (print-readably): Silence warnings.
12407 (autoload-find-destination): Take load-name as an arg to make sure
12408 it's the same as the one that will be in the file.
12409 (autoload-generate-file-autoloads): Adjust to above changes.
12410 Try to make the dataflow a bit simpler.
12412 * cvs-status.el (cvs-refontify): Remove unused.
12414 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12416 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12418 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12419 twos-complement mode.
12421 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12423 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12424 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12425 (calc-inverse): Add "Option" to message, as appropriate.
12426 (calc-hyperbolic): Add "Option" to message, as appropriate.
12427 (calc-option, calc-is-option): New functions.
12429 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12430 (calc-option-prefix-help): New function.
12432 * calc/calc-misc.el (calc-help): Add "Option" entry.
12434 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12435 (calc-option-flag): New variable.
12436 (calc-do): Set `calc-option-flag to nil.
12437 (calc-set-mode-line): Add "Opt " as appropriate.
12439 2010-04-16 Juri Linkov <juri@jurta.org>
12441 Move scrolling commands from simple.el to window.el
12442 because their primitives are implemented in window.c.
12444 * simple.el (scroll-error-top-bottom)
12445 (scroll-up-command, scroll-down-command, scroll-up-line)
12446 (scroll-down-line, scroll-other-window-down)
12447 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12448 * window.el (scroll-error-top-bottom)
12449 (scroll-up-command, scroll-down-command, scroll-up-line)
12450 (scroll-down-line, scroll-other-window-down)
12451 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12452 Move from simple.el to window.el because their primitives are
12453 implemented in window.c.
12455 2010-04-16 Juri Linkov <juri@jurta.org>
12457 * isearch.el (isearch-lookup-scroll-key): Check both
12458 `isearch-scroll' and `scroll-command' properties.
12459 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12461 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12463 * simple.el (scroll-up-command, scroll-down-command)
12464 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12466 2010-04-15 Juri Linkov <juri@jurta.org>
12468 * simple.el (scroll-up-command, scroll-down-command)
12469 (scroll-up-line, scroll-down-line): Put `scroll-command'
12470 property on the these symbols. Remove them from
12471 `scroll-preserve-screen-position-commands'.
12473 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12474 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12475 Remove it from `scroll-preserve-screen-position-commands'.
12477 * isearch.el (isearch-allow-scroll): Doc fix.
12479 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12481 * net/tramp.el (tramp-error-with-buffer): Don't show the
12482 connection buffer when we are in completion mode.
12483 (tramp-file-name-handler): Catch the error for some operations
12484 when we are in completion mode. This gives the user the chance to
12485 correct the file name in the minibuffer.
12487 2010-04-15 Glenn Morris <rgm@gnu.org>
12489 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12491 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12493 Simplify by using `define-derived-mode'.
12494 * info.el (Info-mode):
12495 * calendar/todo-mode.el (todo-mode):
12496 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12497 (gomoku-mode-map): Move initialization into declaration.
12499 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12502 * ido.el (ido-file-name-all-completions-1):
12503 * minibuffer.el (minibuffer-completion-help):
12504 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12506 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12508 * simple.el (non-essential): New var.
12510 Add a new field `location' to bookmarks for non-file bookmarks.
12511 * bookmark.el (bookmark-location): Use the new field, if present.
12512 (bookmark-insert-location): Undo last change, not needed any more.
12513 * man.el (Man-bookmark-make-record):
12514 * woman.el (woman-bookmark-make-record): Add `location' field.
12516 2010-04-14 Juri Linkov <juri@jurta.org>
12518 * simple.el (scroll-error-top-bottom): New defcustom.
12519 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12521 * emulation/pc-select.el (pc-select-override-scroll-error):
12522 Obsolete in favor of `scroll-error-top-bottom'.
12524 2010-04-14 Juri Linkov <juri@jurta.org>
12526 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12527 `scroll-up-command' and `M-v' to `scroll-down-command'.
12529 * emulation/cua-rect.el (cua--init-rectangles):
12530 * forms.el (forms--change-commands):
12531 * image-mode.el (image-mode-map):
12532 Remap scroll-down-command and scroll-up-command
12533 in addition to scroll-down and scroll-up.
12535 2010-04-14 Juri Linkov <juri@jurta.org>
12537 * mwheel.el (scroll-preserve-screen-position-commands):
12538 Add mwheel-scroll to this list of commands.
12540 * simple.el (scroll-preserve-screen-position-commands):
12541 Add scroll-up-command, scroll-down-command, scroll-up-line,
12542 scroll-down-line to this list of commands.
12544 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12546 * obsolete/complete.el: Move from lisp/complete.el.
12548 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12550 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12551 to the minor mode function now turns the mode ON unconditionally.
12553 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12555 * vc-dir.el (vc-dir-kill-line): New command.
12556 (vc-dir-mode-map): Bind it to C-k.
12558 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12560 * woman.el: Add bookmark declarations to silence the compiler.
12561 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12562 step to compatibility between man and woman bookmarks.
12563 Adjust for Man-default-bookmark-title renaming.
12564 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12566 * man.el: Add bookmark declarations to silence the compiler.
12567 (Man-name-local-regexp): Make it match NAME as well.
12568 (Man-getpage-in-background): Return the buffer.
12569 (Man-notify-when-ready): Use `case'.
12570 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12571 Don't hardcode "NAME". Simplify.
12572 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12573 Rename from Man-bookmark-make-record.
12574 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12575 we have the actual man-args. Use Man-getpage-in-background rather
12576 than `man' since the arg is already processed. Let bookmark.el do the
12577 window handling. Only wait for the relevant process.
12578 Don't forget to autoload.
12580 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12582 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12584 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12586 (woman-mode): Setup bookmark support.
12588 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12589 (man-bookmark-jump): New functions.
12590 (Man-mode): Setup bookmark support.
12592 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12594 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12595 recognize ssh-keygen prompt (Bug#2817).
12597 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12599 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12601 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12603 Synchronize with Tramp repository.
12605 * net/tramp.el (tramp-completion-function-alist)
12606 (tramp-file-name-regexp, tramp-chunksize)
12607 (tramp-local-coding-commands, tramp-remote-coding-commands):
12609 (tramp-remote-process-environment): Use `format' instead of `concat'.
12610 (tramp-handle-directory-files-and-attributes)
12611 (tramp-get-remote-path): Use `copy-tree'.
12612 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12613 compatibility: Use `completion-ignore-case' if
12614 `read-file-name-completion-ignore-case' does not exist.
12615 (tramp-do-copy-or-rename-file-directly): Do not use
12616 `tramp-handle-file-remote-p'.
12617 (tramp-do-copy-or-rename-file-out-of-band):
12618 Use `tramp-compat-delete-directory'.
12619 (tramp-do-copy-or-rename-file-out-of-band)
12620 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12621 Use `format-spec-make'.
12622 (tramp-find-foreign-file-name-handler)
12623 (tramp-advice-make-auto-save-file-name)
12624 (tramp-set-auto-save-file-modes): Remove superfluous check for
12625 `stringp'. This is done inside `tramp-tramp-file-p'.
12626 (tramp-debug-outline-regexp): New defconst.
12627 (tramp-get-debug-buffer): Use it.
12628 (tramp-check-for-regexp): Use (forward-line 1).
12629 (tramp-set-auto-save-file-modes): Adapt version check.
12631 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12632 Wrap call of `featurep' for 2nd argument.
12633 (tramp-compat-make-temp-file): Simplify fallback implementation.
12634 (tramp-compat-copy-tree): Remove function.
12635 (tramp-compat-delete-directory): Provide implementation for older
12638 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12639 Do not use `tramp-fish-handle-file-attributes.
12641 * net/trampver.el: Update release number.
12643 2010-04-10 Glenn Morris <rgm@gnu.org>
12645 * progmodes/compile.el (compilation-save-buffers-predicate):
12646 Add missing :version tag.
12648 2010-04-09 Sam Steingold <sds@gnu.org>
12650 * progmodes/compile.el (compilation-save-buffers-predicate):
12651 Remove the "autoload" cookie.
12653 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12654 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12655 and `bug-reference-prog-mode' can be used in hooks directly.
12657 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12659 Add --author support to git commit.
12660 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12661 (vc-git-log-edit-mode): New minor mode.
12662 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12665 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12667 * vc-hooks.el, vc-git.el: Improve documentation comments.
12669 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12671 Fix some of the problems in defsubst* (bug#5728).
12672 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12673 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12675 2010-04-07 Sam Steingold <sds@gnu.org>
12677 * progmodes/compile.el (compilation-save-buffers-predicate):
12678 New custom variable.
12679 (compile, recompile): Pass it to `save-some-buffers'.
12681 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12683 * wid-edit.el (widget-choose): Move cursor to the second line of
12684 the buffer (Bug#5695).
12686 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12688 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12689 * vc.el (vc-print-log-setup-buttons): New function split out from
12690 vc-print-log-internal.
12691 (vc-log-internal-common): New function, a parametrized version of
12692 vc-print-log-internal.
12693 (vc-print-log-internal): Just call vc-log-internal-common with the
12695 (vc-incoming-outgoing-internal):
12696 (vc-log-incoming, vc-log-outgoing): New functions.
12697 (vc-log-view-type): New permanent local variable.
12699 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12701 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12702 of the dynamic bound vc-short-log.
12703 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12705 * vc-git.el (vc-git-log-outgoing): New function.
12706 (vc-git-log-view-mode): Use vc-log-view-type instead
12707 of the dynamic bound vc-short-log.
12709 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12710 of the dynamic bound vc-short-log. Highlight the tag.
12711 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12712 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12713 (vc-hg-incoming-mode): Remove.
12714 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12716 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12718 Fix default-directory for vc-root-diff.
12719 * vc.el (vc-root-diff): Bind default-directory to the root
12720 directory for the diff command.
12722 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12724 * progmodes/verilog-mode.el (verilog-forward-sexp):
12725 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12726 word keywords, suggested by Steve Pearlmutter.
12727 (verilog-pretty-declarations): Support lineup of declarations in
12729 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12730 fix bug for /* / comments.
12731 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12732 Speed up and simplfy as this is never called with a bound.
12733 (verilog-pretty-declarations): Enhance to line up declarations
12734 inside a parameter list, suggested by Alan Morgan.
12735 (verilog-pretty-expr): Tune assignment regular expression match
12736 string for corner cases; also use markers instead of character
12737 number as indent changes the later.
12739 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12741 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12742 as missing keyword.
12743 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12744 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12745 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12746 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12748 (verilog-keywords):
12749 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12750 1800-2009 keywords, including "global.".
12752 2010-04-06 John Wiegley <jwiegley@gmail.com>
12754 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12755 appearing in buffer list (if a live buffer name matched a recentf
12756 file basename). Should use uniquify to offer a real solution.
12758 2010-04-06 John Wiegley <jwiegley@gmail.com>
12760 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12761 comment to code, and add a :version tag.
12762 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12764 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12766 Enable recentf-mode if using virtual buffers.
12767 * ido.el (recentf-list): Declare for byte-compiler.
12768 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12769 (ido-make-buffer-list): Simplify.
12770 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12772 2010-04-05 Juri Linkov <juri@jurta.org>
12774 Scrolling commands which scroll a line instead of full screen.
12775 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12777 * simple.el (scroll-up-line, scroll-down-line): New commands.
12778 Put property isearch-scroll=t on them.
12780 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12783 2010-04-05 Juri Linkov <juri@jurta.org>
12785 Scrolling commands which do not signal errors at top/bottom.
12786 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12788 * simple.el (scroll-up-command, scroll-down-command): New commands.
12789 Put property isearch-scroll=t on them.
12791 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12792 `scroll-down-command' and [next] from `scroll-up' to
12793 `scroll-up-command'.
12795 * emulation/cua-base.el: Put property CUA=move on
12796 `scroll-up-command' and `scroll-down-command'.
12797 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12798 and `scroll-down-command' to `cua-scroll-down'.
12800 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12802 * help.el (describe-mode): Return nil.
12804 2010-04-04 John Wiegley <jwiegley@gmail.com>
12806 * ido.el (ido-use-virtual-buffers): New variable to indicate
12807 whether "virtual buffer" support is enabled for IDO.
12808 (ido-virtual): Face used to indicate virtual buffers in the list.
12809 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12810 exists, but a virtual buffer of that name does (which would be why
12811 it was in the list), recreate the buffer by reopening the file.
12812 (ido-make-buffer-list): If virtual buffers are being used, call
12813 `ido-add-virtual-buffers-to-list' before the make list hook.
12814 (ido-virtual-buffers): New variable which contains a copy of the
12815 current contents of the `recentf-list', albeit pared down for the
12816 sake of speed, and with proper faces applied.
12817 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12818 create a list of "virtual buffers" to present to the user in
12819 addition to the currently open set. Note that this logic could
12820 get rather slow if that list is too large. With the default
12821 `recentf-max-saved-items' of 200, there is little speed penalty.
12823 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12825 * font-lock.el: Require CL when compiling.
12826 (font-lock-turn-on-thing-lock): Use `case'.
12828 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12830 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12833 2010-04-02 Juri Linkov <juri@jurta.org>
12835 * ehelp.el (electric-help-orig-major-mode):
12836 New buffer-local variable.
12837 (electric-help-mode): Set it to original major-mode. Doc fix.
12838 (with-electric-help): Use `electric-help-orig-major-mode' instead
12839 of (default-value 'major-mode). Doc fix.
12840 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12842 2010-04-02 Sam Steingold <sds@gnu.org>
12844 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12845 `vc-hg-command' with a list of flags.
12847 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12848 Also accept "patch" and "RFE".
12849 (bug-reference-fontify): `bug-reference-url-format' can also be a
12850 function to be able to handle the bug kind.
12851 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12853 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12855 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12856 value to fboundp, it may not be a symbol.
12858 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12860 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12862 2010-03-31 Juri Linkov <juri@jurta.org>
12864 * simple.el (next-line, previous-line): Re-throw a signal
12865 with `signal' instead of using `ding'.
12866 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12868 2010-03-31 Juri Linkov <juri@jurta.org>
12870 * simple.el (keyboard-escape-quit): Raise deselecting the active
12871 region higher than exiting the minibuffer.
12872 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12874 2010-03-31 Juri Linkov <juri@jurta.org>
12876 * image.el (image-animated-p): Use `image-metadata' instead of
12877 `image-extension-data'. Get GIF extenstion data from metadata
12878 property `extension-data'.
12880 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * simple.el (append-to-buffer): Simplify.
12884 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12886 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12887 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12889 2010-03-31 Kenichi Handa <handa@m17n.org>
12891 * language/sinhala.el (composition-function-table): Fix regexp for
12892 the new Unicode specification.
12894 * language/indian.el (devanagari-composable-pattern)
12895 (tamil-composable-pattern, kannada-composable-pattern)
12896 (malayalam-composable-pattern): Adjust for the new Unicode
12898 (bengali-composable-pattern, gurmukhi-composable-pattern)
12899 (gujarati-composable-pattern, oriya-composable-pattern)
12900 (telugu-composable-pattern): New variables to cope with the new
12901 Unicode specification. Use them in composition-function-table.
12903 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12905 Make tmm-menubar work for the Buffers menu again (bug#5726).
12906 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12907 vectors rather than cons cells, as used in menu-bar-update-buffers.
12909 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12911 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12912 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12913 electric punctuation for "{}();,:" (Bug#5586).
12915 * mail/sendmail.el (mail-default-directory): Doc fix.
12917 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12919 * mail/sendmail.el (mail-default-directory): Doc fix.
12921 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12923 * subr.el (version-regexp-alist, version-to-list)
12924 (version-list-<, version-list-=, version-list-<=)
12925 (version-list-not-zero, version<, version<=, version=): Doc fix.
12928 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12930 * vc.el (vc-root-diff): Doc fix.
12932 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12934 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12936 * simple.el (append-to-buffer): Fix last change.
12938 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12940 * simple.el (append-to-buffer): Ensure that point is preserved if
12941 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12944 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12946 * files.el (auto-mode-case-fold): Change default to t.
12948 2010-03-30 Juri Linkov <juri@jurta.org>
12950 * dired-x.el (dired-omit-mode): Doc fix.
12952 2010-03-30 Juri Linkov <juri@jurta.org>
12954 * replace.el (occur-accumulate-lines): Move occur-engine related
12955 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12956 to be located after `occur-engine'.
12958 2010-03-30 Juri Linkov <juri@jurta.org>
12960 Make occur handle multi-line matches cleanly with context.
12961 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12963 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12964 (occur-engine): Add local variables `ret', `prev-after-lines',
12965 `prev-lines'. Use more arguments for `occur-context-lines'.
12966 Set first elem of its returned list to `data', and the second elem
12967 to `prev-after-lines'. Don't print the separator line.
12968 In the end, print remaining context after-lines.
12969 (occur-context-lines): Add new arguments `begpt', `endpt',
12970 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12971 after-lines of the previous match with before-lines of the
12972 current match and not overlap them. Return a list with two
12973 values: the output line and the list of context after-lines.
12975 2010-03-30 Juri Linkov <juri@jurta.org>
12977 * replace.el (occur-accumulate-lines): Fix a bug where the first
12978 context line at the beginning of the buffer was missing.
12980 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12982 * files.el: Make bidi-display-reordering safe variable for boolean
12985 2010-03-29 Phil Hagelberg <phil@evri.com>
12986 Chong Yidong <cyd@stupidchicken.com>
12988 * subr.el: Extend progress reporters to perform "spinning".
12989 (progress-reporter-update, progress-reporter-do-update):
12990 Handle non-numeric value arguments.
12991 (progress-reporter--pulse-characters): New var.
12993 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12995 * progmodes/compile.el (compilation-start): Fix regexp detection
12996 of initial cd command (Bug#5771).
12998 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13000 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13002 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13004 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13005 * progmodes/gdb-mi.el: Restore.
13006 * progmodes/gdb-ui.el: Remove.
13007 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13009 2010-03-25 Glenn Morris <rgm@gnu.org>
13011 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13012 all dired buffers, even tramp ones. (Bug#5755)
13014 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13016 Add "union tags" in mpc.el.
13017 * mpc.el: Remove backward compatibility code.
13018 (mpc-browser-tags): Change default.
13019 (mpc--find-memoize-union-tags): New var.
13020 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13021 (mpc-cmd-find): Handle the case where the playlist does not exist.
13023 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13024 (mpc-cmd-add): Use mpc-cmd-flush.
13025 (mpc-tagbrowser-tag-name): New fun.
13026 (mpc-tagbrowser-buf): Use it.
13027 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13029 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13032 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13033 Use replace-regexp-in-string.
13034 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13035 (makefile-imake-mode-syntax-table): Move init into defvar.
13036 (makefile-mode): Use define-derived-mode.
13038 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13039 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13040 not be present any more.
13042 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13044 * faces.el (set-face-attribute): Fix typo in docstring.
13045 (face-valid-attribute-values): Reflow docstring.
13047 2010-03-24 Glenn Morris <rgm@gnu.org>
13049 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13051 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13053 * indent.el (indent-for-tab-command): Doc fix.
13055 2010-03-24 Alan Mackenzie <acm@muc.de>
13057 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13058 Fix off-by-one error. Fixes bug #5747.
13060 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13062 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13063 (image-dired-read-comment): Doc fix.
13065 * json.el (json-object-type, json-array-type, json-key-type)
13066 (json-false, json-null, json-read-number):
13067 * minibuffer.el (completion-in-region-functions):
13068 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13069 (cal-tex-cursor-week):
13070 * emacs-lisp/trace.el (trace-function):
13071 * eshell/em-basic.el (eshell/printnl):
13072 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13073 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13074 * obsolete/levents.el (allocate-event, event-key, event-object)
13075 (event-point, event-process, event-timestamp, event-to-character)
13076 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13077 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13078 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13079 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13080 (reftex-highlight-selection): Fix typos in docstrings.
13082 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13084 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13086 2010-03-24 Glenn Morris <rgm@gnu.org>
13088 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13089 2008-02-13 without comment; mark it obsolete.
13090 (rmail-highlight-headers): Use rmail-highlight-face once more.
13092 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13094 * woman.el (woman2-process-escapes): Only consume the newline if
13095 the filler character is on a line by itself (Bug#5729).
13097 2010-03-24 Kenichi Handa <handa@m17n.org>
13099 * language/indian.el (devanagari-composable-pattern): Add more
13102 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13104 * net/trampver.el: Update release number.
13106 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13108 * net/tramp.el (tramp-find-executable):
13109 Use `tramp-get-connection-buffer'. Make the regexp for checking
13110 output of "wc -l" more robust.
13111 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13112 (tramp-open-connection-setup-interactive-shell): Remove workaround
13113 for OpenSolaris bug, it is not needed anymore.
13115 2010-03-24 Glenn Morris <rgm@gnu.org>
13117 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13119 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13121 * files.el (auto-mode-alist): Accept more verilog file patterns.
13123 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13125 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13127 2010-03-24 Glenn Morris <rgm@gnu.org>
13129 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13130 log-edit-before-checkin-process.
13132 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13134 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13136 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13137 (log-view-process-buffer, log-edit-extra-flags): Declare.
13139 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13141 2010-03-23 Sam Steingold <sds@gnu.org>
13143 Fix bug#5620: recalculate all markers on compilation buffer
13144 modifications, not on file modifications.
13145 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13146 variable: the buffer modification time, for buffers not associated with
13148 (compilation-mode): Create it.
13149 (compilation-filter): Update it.
13150 (compilation-next-error-function): Use it instead of
13151 `visited-file-modtime' for timestamp.
13153 2010-03-23 Juri Linkov <juri@jurta.org>
13155 Implement Occur multi-line matches.
13156 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13158 * replace.el (occur): Doc fix.
13159 (occur-engine): Set `begpt' to the beginning of the first line.
13160 Set `endpt' to the end of the last match line. At first, count
13161 line numbers between `origpt' and `begpt'. Split out code from
13162 `out-line' variable to new let-bindings `match-prefix' and
13163 `match-str'. In `out-line' add non-numeric prefix to all
13164 non-first lines of multi-line matches. Finally, count lines
13165 between `begpt' and `endpt' and add to `lines'.
13167 2010-03-23 Juri Linkov <juri@jurta.org>
13169 * replace.el (occur-accumulate-lines, occur-engine):
13170 Use `occur-engine-line' instead of duplicate code.
13171 (occur-engine-line): New function created from duplicate code
13172 in `occur-accumulate-lines' and `occur-engine'.
13174 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13175 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13177 2010-03-23 Juri Linkov <juri@jurta.org>
13179 * finder.el: Remove TODO tasks.
13181 * info.el (Info-finder-find-node): Add node "all"
13182 with all package info. Handle a list of multiple keywords
13183 separated by comma.
13184 (info-finder): In interactive use with a prefix argument,
13185 use `completing-read-multiple' to read a list of keywords
13186 separated by comma.
13188 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13190 Add a new completion style `substring'.
13191 * minibuffer.el (completion-basic--pattern): New function.
13192 (completion-basic-try-completion, completion-basic-all-completions):
13194 (completion-substring--all-completions)
13195 (completion-substring-try-completion)
13196 (completion-substring-all-completions): New functions.
13197 (completion-styles-alist): New style `substring'.
13199 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13201 Get rid of .elc files after removal of the corresponding .el.
13202 * Makefile.in (compile-clean): New target.
13203 (compile-main): Use it.
13205 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13207 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13208 don't do make there. When compiling with separate object dir, there
13209 is no Makefile there.
13211 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13213 Get rid of the ELCFILES abomination, again.
13214 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13215 (all, compile): Don't call compile-last.
13216 (compile-main): Build the "elcfiles" list dynamically.
13217 (compile-targets): New (internal) target.
13219 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13221 * Makefile.in (top_srcdir): Define.
13222 (abs_top_builddir): Define.
13223 (srcdir): Don't append `/..'.
13224 (EMACS): Use ${abs_top_builddir}.
13225 (all, compile, compile-always, compile-last): Don't set emacswd.
13226 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13228 (lisp): Use $(srcdir) instead of @srcdir@.
13230 2010-03-21 Juri Linkov <juri@jurta.org>
13232 Fix message of multi-line occur regexps and multi-buffer header lines.
13233 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13235 * replace.el (occur-1): Don't display regexp if it is longer
13236 than window-width. Use `query-replace-descr' to display regexp.
13237 (occur-engine): Don't display regexp in the buffer header for
13238 multi-buffer occur. Display a separate header line with total
13239 match count and regexp for multi-buffer occur.
13240 Use `query-replace-descr' to display regexp.
13242 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13244 * net/secrets.el: Fix parenthesis.
13245 (secrets-enabled): Fix parenthesis.
13247 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13249 Use more relative file and directory names.
13250 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13251 (setwins, setwins_almost, setwins_for_subdirs):
13252 Don't `cd'; output relative names.
13253 (all, compile, compile-always, compile-last): Set emacswd.
13254 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13255 Just cd to the lisp source dir so we can use relative file names.
13257 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13259 2010-03-20 Glenn Morris <rgm@gnu.org>
13261 * textmodes/rst.el: Use faces for font-lock customization, and make the
13262 old -face variables obsolete.
13263 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13264 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13265 (rst-block-face, rst-external-face, rst-definition-face)
13266 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13267 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13269 (rst-font-lock-keywords-function): Update for above changes.
13271 2010-03-20 Juri Linkov <juri@jurta.org>
13274 * obsolete/s-region.el: Move to obsolete.
13276 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13278 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13280 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13282 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13284 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13286 Add special markup processing for commit logs.
13287 * log-edit.el (log-edit-extra-flags): New variable.
13288 (log-edit): Add new argument MODE. Use that mode when non-nil
13289 instead of the log-view-mode.
13290 (log-view-process-buffer): New function.
13292 * vc.el: Document that the checkin method takes optional
13293 arguments. Document new backend specific method: log-view-mode.
13294 (vc-default-log-edit-mode): New function.
13295 (vc-checkin): Use a backend specific log-view-mode.
13296 Pass extra arguments to the checkin method.
13297 (vc-modify-change-comment): Pass a dummy extra argument.
13299 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13301 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13302 (vc-finish-logentry): Process the log buffer before passing it
13303 down. Pass log-edit-extra-flags.
13305 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13307 (log-edit-extra-flags, log-edit-before-checkin-process):
13310 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13312 (log-edit-extra-flags, log-edit-before-checkin-process):
13314 (vc-hg-log-edit-mode): New derived mode.
13316 * vc-arch.el (vc-arch-checkin):
13317 * vc-cvs.el (vc-cvs-checkin):
13318 * vc-git.el (vc-git-checkin):
13319 * vc-mtn.el (vc-mtn-checkin):
13320 * vc-rcs.el (vc-rcs-checkin):
13321 * vc-sccs.el (vc-sccs-checkin):
13322 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13324 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13326 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13329 2010-03-19 Glenn Morris <rgm@gnu.org>
13331 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13333 2010-03-18 Glenn Morris <rgm@gnu.org>
13335 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13337 * replace.el (query-replace-history): Give it a doc string.
13338 (map-query-replace-regexp): Use query-replace-from-history-variable
13339 and query-replace-to-history-variable.
13341 * mail/hashcash.el (declare-function): Remove duplicate definition.
13343 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13344 Make it an obsolete alias for report-emacs-bug-address.
13345 (message-strip-special-text-properties): Declare.
13346 (report-emacs-bug): Remove test for a pretest bug address.
13347 Combine message-mode-specific code.
13349 * mail/supercite.el: Don't require sendmail.
13350 (mh-in-header-p): Declare rather than using with-no-warnings.
13351 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13352 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13354 * calendar/cal-french.el: Convert to utf-8.
13356 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13359 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13361 * net/secrets.el (secrets-enabled): New variable. Use it instead
13364 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13366 * net/secrets.el (top): Register the D-Bus signals only when the
13367 service "org.freedesktop.secrets" can be pinged.
13368 Provide subfeature `enabled'.
13370 2010-03-14 Juri Linkov <juri@jurta.org>
13372 Add finder unknown keywords.
13374 * finder.el (finder-unknown-keywords): New function.
13376 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13377 to create a Finder node with unknown keywords.
13379 2010-03-14 Juri Linkov <juri@jurta.org>
13381 * finder.el (finder-compile-keywords): Replace `princ' with
13382 `prin1' on a list of symbols interned from keyword strings.
13384 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13385 a comma, then split keywords using a comma and optional whitespace.
13386 Otherwise, split by whitespace.
13394 * progmodes/mixal-mode.el: Fix keywords.
13396 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13398 * Makefile.in (ELCFILES): Add net/secrets.elc.
13400 * net/secrets.el: New file.
13402 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13404 * facemenu.el (list-colors-display, list-colors-print): New arg
13405 callback. Use it to allow selecting colors.
13407 * wid-edit.el (widget-image-insert): Insert image prop even if the
13408 current display is non-graphic.
13409 (widget-field-value-set): New fun.
13410 (editable-field): Use it.
13411 (widget-field-value-get): Clean up unused var.
13412 (widget-color-value-create, widget-color--choose-action):
13413 New funs. Allow using list-colors-display to choose color.
13415 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13417 * cus-edit.el: Resort topmost custom groups.
13418 (custom-buffer-sort-alphabetically): Default to t.
13419 (customize-apropos): Use apropos-parse-pattern.
13420 (custom-search-field): New var.
13421 (custom-buffer-create-internal): Add custom-apropos search field.
13422 (custom-add-parent-links): Don't display parent doc.
13423 (custom-group-value-create): Don't sort top-level custom group.
13424 (custom-magic-value-create): Show visibility button before option name.
13426 (custom-variable-state): New fun, from custom-variable-state-set.
13427 (custom-variable-state-set): Use it.
13428 (custom-group-value-create): Hide options with standard values
13429 using the :hidden-states property. Use progress reporter.
13431 (custom-show): Simplify.
13432 (custom-visibility): Disable images by default.
13433 (custom-variable): New property :hidden-states.
13434 (custom-variable-value-create): Enable images for
13435 custom-visibility widgets. Use :hidden-states property to
13436 determine initial visibility.
13438 * wid-edit.el (widget-image-find): Give images center ascent.
13439 (visibility): Add :on-image and :off-image properties.
13440 (widget-visibility-value-create): Use them.
13442 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13444 * cus-edit.el (processes): Remove from development group.
13445 (oop, hypermedia): Delete group.
13446 (comm): Promote to top-level group.
13448 * net/browse-url.el (browse-url):
13449 * net/xesam.el (xesam):
13450 * net/tramp.el (tramp):
13451 * net/goto-addr.el (goto-address):
13452 * net/ange-ftp.el (ange-ftp): Put in comm group.
13454 * view.el (view): Remove from editing group.
13456 * uniquify.el (uniquify): Put in files group.
13458 * net/browse-url.el (browse-url):
13459 * ps-print.el (postscript): Put in external group.
13461 * cus-edit.el (outlines):
13462 * textmodes/text-mode.el (text-mode-hook):
13463 * textmodes/table.el (table):
13464 * textmodes/picture.el (picture):
13465 * outline.el (outlines): Put in wp group.
13467 * nxml/nxml-mode.el (nxml): Remove from wp group.
13469 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13471 * mail/metamail.el (metamail): Remove from hypermedia group.
13473 * cus-edit.el (abbrev):
13474 * whitespace.el (whitespace):
13475 * vcursor.el (vcursor):
13476 * reveal.el (reveal):
13477 * hl-line.el (hl-line): Put in convenience group.
13479 * epg-config.el (epg): Put in data group.
13481 * emulation/pc-select.el (pc-select): Put in emulations group.
13483 * calculator.el (calculator): Put in applications group.
13485 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13487 Add .dir-locals.el support for file-less buffers.
13488 * files.el (hack-local-variables): Split out code to apply local
13489 variable settings ...
13490 (hack-local-variables-apply): ... here. New function.
13491 (hack-dir-local-variables): Use the default directory for when the
13492 buffer does not have an associated file.
13493 (hack-dir-local-variables-non-file-buffer): New function.
13494 * diff-mode.el (diff-mode):
13495 * vc-annotate.el (vc-annotate-mode):
13496 * vc-dir.el (vc-dir-mode):
13497 * log-edit.el (log-edit-mode):
13498 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13500 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13502 Add support for shelving snapshots and for showing shelves.
13503 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13504 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13506 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13507 (vc-bzr-extra-menu-map): Map them.
13509 2010-03-11 Glenn Morris <rgm@gnu.org>
13511 * cus-edit.el (customize-changed-options-previous-release):
13514 * image.el (image-animate-max-time): Fix :version tag.
13516 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13520 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13522 * vc-git.el (vc-git-revision-table): Include remote branches.
13524 2010-03-10 Kim F. Storm <storm@cua.dk>
13526 Animated image API.
13527 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13529 * image.el (image-animate-max-time): New defcustom.
13530 (image-animated-types): New defconst.
13531 (create-animated-image, image-animate-timer)
13532 (image-animate-start, image-animate-stop, image-animate-timeout)
13533 (image-animated-p): New functions.
13535 * image-mode.el (image-toggle-display-image):
13536 Replace `create-image' with `create-animated-image'.
13538 2010-03-09 Miles Bader <miles@gnu.org>
13540 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13541 instead of "format:"; this ensures that the output is
13542 newline-terminated.
13544 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13546 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13547 that all errors are caught, and that the return value is always a
13550 2010-03-08 Kenichi Handa <handa@m17n.org>
13552 * language/misc-lang.el (windows-1256): New coding system.
13553 (cp1256): New alias of windows-1256 (bug#5690).
13555 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13557 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13558 call to rfc822-bad-address. (Bug#5692)
13560 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13562 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13563 Use vc-git-root as default directory for revision path (Bug#5657).
13565 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13567 * calculator.el (calculator): Don't bind split-window-keep-point
13570 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13572 * vc-git.el: Re-flow to fit into 80 columns.
13573 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13574 Remove spurious `quote' element in each case alternative.
13575 (vc-git-show-log-entry): Use prog1.
13576 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13578 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13580 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13582 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13584 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13585 definition, not the name (Bug#5481).
13587 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13589 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13590 argument with a local variable. (Bug#5670)
13592 2010-03-02 Juri Linkov <juri@jurta.org>
13594 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13596 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13598 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13599 error when FILENAME and NEWNAME are existing remote directories.
13601 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13602 parameter DIR-FLAG.
13604 2010-03-02 Glenn Morris <rgm@gnu.org>
13606 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13607 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13609 2010-03-01 Kenichi Handa <handa@m17n.org>
13611 * language/burmese.el (burmese-composable-pattern): Rename from
13612 myanmar-composable-pattern.
13614 * international/characters.el (script-list):
13615 * international/fontset.el (script-representative-chars):
13616 Change myanmar to burmese.
13617 (otf-script-alist): Likewise.
13618 (setup-default-fontset): Likewise. Re-fix :otf spec.
13620 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13622 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13624 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13626 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13628 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13630 * net/tramp.el (tramp-handle-write-region): START can be a string.
13631 Take care in the checks. Reported by Dan Davison
13632 <davison@stats.ox.ac.uk>.
13634 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13636 * net/dbus.el (dbus-introspect, dbus-get-property)
13637 (dbus-set-property, dbus-get-all-properties):
13638 Use `dbus-call-method' when noninteractive. (Bug#5645)
13640 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13642 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13643 * emacs-lisp/elint.el (elint-add-required-env):
13644 * calendar/icalendar.el (icalendar--add-diary-entry):
13645 * calc/calcalg2.el (math-tracing-integral):
13646 * files.el (recover-session-finish): Use with-current-buffer
13647 instead of save-excursion.
13649 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13651 Fix in-buffer completion when after-change-functions modify the buffer.
13652 * minibuffer.el (completion--replace): New function.
13653 (completion--do-completion): Use it and use relative movement.
13655 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13657 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13659 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13661 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13662 Allow the characters _<> in the stack entry (Bug#5653).
13664 2010-02-26 Kenichi Handa <handa@m17n.org>
13666 * language/burmese.el: Fix entries in composition-function-table.
13667 (myanmar-composable-pattern): New variable.
13669 * international/fontset.el (setup-default-fontset): Add an entry
13672 * international/characters.el (script-list): Add Myanmar
13675 2010-02-26 Glenn Morris <rgm@gnu.org>
13677 * custom.el (custom-initialize-delay): Doc fix.
13679 * mail/sendmail.el (send-mail-function): Autoload the call
13680 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13682 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13684 * files.el (hack-local-variables-filter): For eval forms, also
13685 check safe-local-variable-p (Bug#5636).
13687 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13689 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13690 setting the modes by `ignore-errors'. It might fail, for example
13691 if the file is not owned by the user but the group.
13692 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13694 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13696 * files.el (directory-listing-before-filename-regexp):
13697 Use stricter matching for iso-style dates, to avoid false matches with
13698 date-like filenames (Bug#5597).
13700 * htmlfontify.el (htmlfontify): Doc fix.
13702 * eshell/eshell.el (eshell): Doc fix.
13704 * startup.el (fancy-about-screen): In mode-line, apply
13705 mode-line-buffer-id face only to the buffer name (Bug#5613).
13707 2010-02-20 Kevin Ryde <user42@zip.com.au>
13709 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13710 In `watcom' anchor regexp to start of line, to avoid slowness
13713 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13715 * subr.el (remove-yank-excluded-properties): Explain in a comment
13716 why `category' property is removed.
13718 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13720 * isearch.el (isearch-update-post-hook, isearch-update):
13721 Revert 2010-02-17 change.
13723 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13725 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13726 (icalendar--convert-weekly-to-ical)
13727 (icalendar--convert-yearly-to-ical)
13728 (icalendar--convert-block-to-ical)
13729 (icalendar--convert-cyclic-to-ical)
13730 (icalendar--convert-anniversary-to-ical): Take care of time
13731 specifications where hour has 1-digit only (Bug#5549).
13733 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13735 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13736 of disassemble output in GDB 7.1.
13738 2010-02-19 Glenn Morris <rgm@gnu.org>
13740 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13741 property. (Bug#5593)
13743 2010-02-18 Sam Steingold <sds@gnu.org>
13745 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13747 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13749 Use abbreviated file names in bookmarks (bug#5591).
13750 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13751 calls to expand-file-name.
13752 (bookmark-relocate): Use abbreviated file names in bookmarks.
13753 (bookmark-load): Use abbreviated file names in messages.
13755 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13757 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13758 expand "." and "..". Reported by Thierry Volpiatto
13759 <thierry.volpiatto@gmail.com>.
13761 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13763 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13764 permissions of the temporary file to "0600". In case the remote
13765 file has no read permissions for the owner, there might be
13766 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13768 22010-02-18 Glenn Morris <rgm@gnu.org>
13770 * emacs-lisp/authors.el (authors-renamed-files-alist):
13771 Add entries for INSTALL.CVS.
13773 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13775 * vc-bzr.el: Fix typo in Known Bugs section.
13777 * isearch.el (isearch-update-post-hook): New hook.
13778 (isearch-update): Use the new hook.
13780 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13782 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13783 Fix errors in copying directories.
13784 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13785 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13786 (tramp-handle-delete-file)
13787 (tramp-handle-dired-recursive-delete-directory)
13788 (tramp-handle-write-region): Flush also the cache for the upper
13791 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13793 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13795 * cus-edit.el (hardware): Doc fix.
13797 * man.el (man): Add to external custom group.
13799 * delim-col.el (columns): Move to wp custom group.
13801 * doc-view.el (doc-view): Add to data custom group.
13803 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13805 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13806 by ispell-parse-output (Bug#5575).
13808 2010-02-16 Kenichi Handa <handa@m17n.org>
13810 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13811 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13812 (skkdic-convert): Use `euc-japan' coding system for writing.
13814 2010-02-16 Glenn Morris <rgm@gnu.org>
13816 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13817 tex-main-file before using it. (Bug#5562)
13819 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13821 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13822 warnings, since it is annoying for the user to see them each time he
13825 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13827 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13828 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13829 instead of PROC for caching "first-password-request". Otherwise,
13830 new processes would not profit from passwords already entered.
13832 * net/tramp-cache.el (tramp-dump-connection-properties):
13833 Don't save "first-password-request" property.
13835 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13837 * outline.el (outline-head-from-level):
13838 * simple.el (with-wrapper-hook):
13839 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13840 (elint-defun, elint-buffer-env, elint-top-form-logged)
13841 (elint-unbound-variable):
13842 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13843 Fix typos in docstrings.
13845 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13847 * files.el (insert-directory): When WILDCARD-REGEXP and
13848 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13849 whole directory. (Bug#5551)
13851 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13852 dired's alignment sanity. (Bug#5516)
13854 2010-02-14 Juri Linkov <juri@jurta.org>
13856 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13857 Remove remaining ^H with their preceding chars. (Bug#5566)
13859 2010-02-13 Glenn Morris <rgm@gnu.org>
13861 * simple.el (transpose-subr): Give it a doc-string.
13863 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13866 2010-02-12 Juri Linkov <juri@jurta.org>
13868 * arc-mode.el (archive-unique-fname): Make directories for nested
13869 archives. (Bug#5540)
13871 2010-02-12 Juri Linkov <juri@jurta.org>
13873 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13875 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13877 * subr.el (copy-overlay): Handle deleted overlays.
13879 * man.el (Man-completion-table): Don't signal an error if we can't run
13880 manual-program (bug#4056).
13882 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13884 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13886 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13888 * info.el (Info-bookmark-jump): Simplify.
13890 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13891 (bookmark-default-handler): Accept new bookmark field `buffer'.
13893 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13895 * iswitchb.el (iswitchb-completions): Revert last change.
13897 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13899 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13900 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13901 This prevents file names like "~/" being listed literally.
13903 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13905 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13906 Remove dead code. (Bug#5546)
13908 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13910 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13911 correctly (Bug#5548).
13913 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13915 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13916 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13918 2010-02-08 Kenichi Handa <handa@m17n.org>
13920 * international/mule-util.el (with-coding-priority): Add autoload
13921 cookie for putting `lisp-indent-function'.
13923 2010-02-07 Glenn Morris <rgm@gnu.org>
13925 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13926 Move F2003 named interfaces from keywords-2 to keywords-1, and
13927 use function-name-face rather than constant-face.
13928 Simplify "abstract interface" regexp.
13930 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13932 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13933 ID-FORMAT. Pass it to `file-attributes'.
13935 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13937 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13939 * faces.el (set-face-attribute): Allow calling
13940 internal-set-lisp-face-attribute with 'unspecified family and
13941 foundry argument (Bug#5536).
13943 2010-02-07 Glenn Morris <rgm@gnu.org>
13945 * progmodes/f90.el (f90-font-lock-keywords-2)
13946 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13947 Handle F2003 named interfaces.
13949 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13951 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13952 beg and end before calling c-get-state-before-change-functions.
13954 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13956 * vc-bzr.el (vc-bzr-dir-extra-headers):
13957 Disable the pending merges header.
13959 2010-02-05 Juri Linkov <juri@jurta.org>
13961 * doc-view.el (doc-view-mode):
13962 * image-mode.el (image-mode): Put property mode-class=special.
13965 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13967 * vc-svn.el (vc-svn-revision-table): New function.
13969 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13971 * net/ange-ftp.el (ange-ftp-insert-directory):
13972 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13973 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13974 Handle also directories. (Bug#5478)
13976 2010-02-05 Glenn Morris <rgm@gnu.org>
13978 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13980 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13982 * startup.el (command-line-1): Convert options beginning with a
13983 single dash as well (Bug#5519).
13985 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13987 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13988 * minibuffer.el (completion-initials-expand): Only check the presence
13989 of delims *within* the boundaries, since otherwise the / delim is
13990 always found for files.
13992 Fix up various corner case problems.
13993 * doc-view.el (doc-view-last-page-number): New function.
13994 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13995 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13996 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13997 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13998 (doc-view-convert-current-doc): Don't create the resolution.el file
14000 (doc-view-pdf/ps->png): Do it here instead.
14001 (doc-view-already-converted-p): Check that resolution.el is present.
14002 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14003 windows that are not yet showing images.
14005 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14007 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14008 `dired-uncache' for every elemnt which is an absolute file name.
14010 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14011 directory, handle its directory component.
14012 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14013 function is called permanently and creates noise, otherwise.
14015 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14016 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14017 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14019 2010-02-04 David Burger <dburger@google.com> (tiny change)
14021 * macros.el (apply-macro-to-region-lines):
14022 Minor simplification. (Bug#5485)
14024 2010-02-04 Glenn Morris <rgm@gnu.org>
14026 * mail/rmail.el (rmail-show-message-1): Handle malformed
14027 quoted-printable text. (Bug#5441)
14029 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14031 * simple.el (visual-line-mode): Capitalize lighter.
14033 2010-02-03 John Wiegley <jwiegley@gmail.com>
14035 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14036 list of files considered for "virtual buffer" completions.
14038 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14040 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14041 also in case of (and (not full) (not wildcard)). This is needed
14042 when dired is called with a list of files, which are not in
14043 `default-directory'. (Bug#5478)
14045 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14049 2010-02-02 Juri Linkov <juri@jurta.org>
14051 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14052 from unidiff to allow function-line after @@.
14054 2010-02-02 Juri Linkov <juri@jurta.org>
14056 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14057 '(RCS SCCS) with inverted condition.
14059 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14061 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14064 2010-02-01 Juri Linkov <juri@jurta.org>
14066 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14067 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14068 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14069 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14071 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14073 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14074 (doc-view-revert-buffer): New command.
14075 (doc-view-mode-map): Use it.
14077 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14079 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14080 pending merge is detected.
14082 2010-01-31 Juri Linkov <juri@jurta.org>
14084 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14085 beginning of interactive spec like all other grep commands do.
14086 Put "all" in front of "gz". (Bug#5260)
14088 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14090 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14092 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14094 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14095 regexp is incorrect (Bug#5476).
14097 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14099 * net/tramp.el (tramp-handle-insert-directory): Handle also
14100 symlinks, when FILENAME is not in `default-directory'.
14102 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14104 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14105 FILE is not in `default-directory'. (Bug#5478)
14107 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14108 of SWITCHES. Handle the case, FILENAME is not in
14109 `default-directory'. (Bug#5478)
14110 (tramp-register-file-name-handlers): Add safe-magic property.
14112 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14114 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14117 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14119 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14120 (flymake-master-make-header-init): Add other C++ filename masks.
14121 (flymake-find-possible-master-files)
14122 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14124 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14126 Fix some busybox annoyances.
14128 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14129 not responding." string.
14130 (tramp-open-connection-setup-interactive-shell): Dump stty
14131 settings. Enable "neveropen" arg for all `tramp-send-command'
14132 calls. Handle "=" in variable values properly.
14133 (tramp-find-inline-encoding): Raise an error, when no encoding is
14135 (tramp-wait-for-output): Check, whether PROC buffer is available.
14136 Remove spurious " ^H" sequences, sent by busybox.
14137 (tramp-get-ls-command): Suppress coloring, if possible.
14139 2010-01-28 Glenn Morris <rgm@gnu.org>
14141 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14143 * log-edit.el (log-edit-strip-single-file-name): Add missing
14144 :safe, :group, and :version tags.
14146 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14148 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14149 buffers. (Bug#5477)
14151 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14153 * files.el (delete-directory): Handle moving to trash without
14154 first doing recursion (Bug#5436).
14156 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14158 * vc-hooks.el (vc-path): Mark as obsolete.
14160 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14162 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14165 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14167 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14169 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14171 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14173 * vc-bzr.el (vc-bzr-revision-table): New function.
14175 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14177 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14178 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14180 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14182 Remove support for adding --signoff on commit.
14183 Future support will use an incompatible generic mechanism.
14184 * vc-git.el (vc-git-add-signoff): Remove variable.
14185 (vc-git-toggle-signoff): Remove function.
14186 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14188 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14189 Rename from xterm-set-background-mode. Return t if the background mode
14191 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14192 earlier, call it again in case the background mode has changed.
14194 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14196 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14199 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14201 * emacs-lisp/assoc.el (aelement): Doc fix.
14202 (aput, adelete, amake): Use lexical-let (Bug#5450).
14204 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14206 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14207 is the same as subprogram call, not declaration. (Bug#5435).
14209 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14211 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14212 (tramp-smb-maybe-open-connection): Use it.
14214 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14216 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14218 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14221 just because we see "encoding: 8bit".
14222 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14224 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14226 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14228 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14230 * jka-compr.el (jka-compr-load): If load-file is not in
14231 load-history, try its file-truename version. (bug#5447)
14233 2010-01-21 Alan Mackenzie <acm@muc.de>
14235 Fix a situation where deletion of a cpp construct throws an error.
14236 * progmodes/cc-engine.el (c-invalidate-state-cache):
14237 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14238 special cpp construct is still in the buffer.
14239 (c-parse-state): Record the special cpp with markers, not numbers.
14241 2010-01-21 Kenichi Handa <handa@m17n.org>
14243 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14244 process last-command-event, as it is now decoded first (Bug#5380).
14246 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14248 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14250 2010-01-20 Glenn Morris <rgm@gnu.org>
14252 * indent.el (tab-always-indent): Fix custom-type.
14254 2010-01-19 Alan Mackenzie <acm@muc.de>
14256 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14257 buffer throws "args out of range".
14258 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14259 playing the role of delimiter.
14261 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14263 * progmodes/ada-mode.el: Fix bug#5400.
14264 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14265 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14266 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14267 Improve comments in "is" portion. Handle null procedure declaration.
14268 (ada-move-to-end): Improve doc string.
14270 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14272 * ido.el (ido-cur-list): Initialize to nil.
14273 Remove obsolete information from commentary.
14274 (ido-choice-list): Initialize to nil.
14275 (ido-get-bufname): Reject minibuffers.
14276 (ido-make-buffer-list): If "default" is a nonexistent
14277 buffer, ignore it, as per the function's comment.
14278 (ido-kill-buffer-internal): New function.
14279 (ido-kill-buffer-at-head): Use it.
14280 (ido-visit-buffer): Likewise.
14282 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14284 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14286 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14288 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14289 Fix typos in chart titles.
14291 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14292 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14293 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14294 (describe-class, eieio-describe-generic, describe-generic):
14295 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14296 (eieio-speedbar-expand):
14297 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14298 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14299 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14300 (viper-del-backward-char-in-replace, viper-backward-indent)
14301 (viper-brac-function, viper-register-to-point, viper-submit-report):
14302 * net/tramp.el (tramp-remote-coding-commands):
14303 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14304 Fix typos in docstrings.
14306 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14308 * mail/sendmail.el (mail-yank-original): Set the mark if the
14309 specified function for yanking does not do it.
14311 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14313 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14315 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14316 resyncing a directory.
14318 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14320 * progmodes/ada-mode.el: Fix bug#1920.
14321 (ada-ident-re): Delete ., allow multibyte characters.
14322 (ada-goto-label-re): New; matches goto labels.
14323 (ada-block-label-re): New; matches block labels.
14324 (ada-label-re): New; matches both.
14325 (ada-named-block-re): Delete; callers changed to use
14326 `ada-block-label-re' instead.
14327 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14328 Use `ada-block-label-re'.
14329 (ada-indent-on-previous-lines): Improve handling of goto labels.
14330 (ada-get-indent-block-start): Special-case block label.
14331 (ada-get-indent-label): Split into `ada-indent-block-label' and
14332 `ada-indent-goto-label'.
14333 (ada-goto-stmt-start, ada-goto-next-non-ws):
14334 Optionally ignore goto labels.
14335 (ada-goto-next-word): Simplify.
14336 (ada-indent-newline-indent-conditional): Insert newline before
14337 trying to fix indentation; doc fix.
14339 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14341 * calc/calc.el (calc-command-flags): Give it an initial value.
14343 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14345 * files.el (minibuffer-with-setup-hook):
14346 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14347 (artist-key-draw-continously, artist-key-do-continously-continously)
14348 (artist-key-set-point-continously, artist-mouse-draw-continously):
14349 Fix typos in docstrings.
14351 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14353 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14354 Never return t (Bug#3898).
14356 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14358 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14359 can parse the output of the external commands (Bug#5279).
14361 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14363 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14365 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14367 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14369 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14371 * startup.el (command-line): Remove unused --icon-type arg.
14372 Handle --display arg, passing it to command-line-1 (Bug#5392).
14374 2010-01-16 Mario Lang <mlang@delysid.org>
14376 * emacs-lisp/chart.el (chart-translate-namezone):
14377 * textmodes/artist.el (artist-compute-popup-menu-table):
14378 Remove duplicated words in doc-strings.
14380 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14382 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14383 to mairix-search to suppress threading (Bug#5342).
14385 2010-01-15 Kenichi Handa <handa@m17n.org>
14387 * international/mule-cmds.el (canonicalize-coding-system-name):
14388 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14390 2010-01-15 Glenn Morris <rgm@gnu.org>
14392 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14394 * wid-edit.el (widget-keymap): Doc fix.
14396 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14397 former seems to be more widely accepted by various svn versions.
14399 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14401 * find-cmd.el (find-constituents):
14402 * vc-arch.el (vc-arch-root):
14403 * window.el (window-body-height, pop-up-frames):
14404 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14405 * progmodes/ada-stmt.el (ada-if):
14406 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14407 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14408 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14409 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14411 * progmodes/flymake.el (flymake-post-syntax-check):
14412 Fix typo in error message.
14414 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14416 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14417 which is always a string. (Bug#5313)
14419 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14421 * progmodes/ada-xref.el (ada-default-prj-properties):
14422 Simplify previous change.
14424 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14426 * progmodes/ada-xref.el (ada-default-prj-properties):
14427 Default ada_project_path to $ADA_PROJECT_PATH.
14429 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14431 * progmodes/ada-mode.el (ada-create-keymap):
14432 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14434 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14436 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14437 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14438 (ada-get-current-indent, ada-imenu-generic-expression)
14439 (ada-which-function): Check for it.
14441 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14443 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14444 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14446 2010-01-14 Glenn Morris <rgm@gnu.org>
14448 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14450 2010-01-14 Kenichi Handa <handa@m17n.org>
14452 * composite.el (auto-composition-mode): Make it a buffer local
14453 variable (permanent-local).
14454 (auto-composition-function): Set the default value to
14455 auto-compose-chars.
14456 (auto-composition-mode): Make it a simple function, not a minor mode.
14457 (global-auto-composition-mode): Likewise.
14458 (turn-on-auto-composition-if-enabled): Delete it.
14460 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14462 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14464 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14466 * files.el (copy-directory): Compute target for recursive
14467 directories with identical names. (Bug#5343)
14469 2010-01-12 Glenn Morris <rgm@gnu.org>
14471 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14472 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14474 2010-01-11 Sam Steingold <sds@gnu.org>
14476 * imenu.el (imenu-default-create-index-function): Detect infinite
14477 loops caused by imenu-prev-index-position-function.
14479 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14481 * htmlfontify.el (htmlfontify-load-rgb-file)
14482 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14483 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14484 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14485 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14486 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14487 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14488 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14489 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14490 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14491 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14492 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14493 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14494 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14495 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14496 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14497 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14498 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14499 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14500 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14501 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14502 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14503 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14504 backslash-quoting from parentheses, etc.
14506 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14508 * progmodes/js.el: Autoload javascript-mode alias.
14510 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14512 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14513 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14514 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14515 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14516 Fix typos in docstrings.
14517 (ffap-url-regexp): Doc fix.
14518 (ffap-at-mouse): Fix typo in message.
14520 2010-01-11 Glenn Morris <rgm@gnu.org>
14522 * version.el (emacs-copyright): Set copyright year to 2010.
14524 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14526 * format.el (format-annotate-function): Only set
14527 write-region-post-annotation-function after running to-fn so as not to
14528 affect nested write-region calls (bug#5273).
14530 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14532 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14535 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14537 * man.el (Man-goto-section): Signal error if the section is not
14540 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14542 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14543 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14545 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14547 * progmodes/compile.el: Don't treat compile-command as safe if
14548 compilation-read-command might be nil (Bug#4218).
14550 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14552 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14555 2010-01-08 Kenichi Handa <handa@m17n.org>
14557 * international/fontset.el (build-default-fontset-data):
14558 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14560 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14562 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14563 to `create-file-buffer' as it expects, not just a buffer name.
14564 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14565 to help uniquify. (Bug#3224)
14567 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14569 * font-setting.el (font-setting-change-default-font): Use user-spec
14572 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14574 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14576 2010-01-05 Tom Tromey <tromey@redhat.com>
14578 * progmodes/python.el (python-font-lock-keywords):
14579 Handle qualified decorators (Bug#881).
14581 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14583 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14584 in a lightweight checkout.
14586 2010-01-05 Kenichi Handa <handa@m17n.org>
14588 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14590 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14592 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14594 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14596 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14597 checkouts. (Bug#618)
14598 (vc-bzr-log-view-mode): Also highlight the author.
14599 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14600 (vc-bzr-shelve-menu-map):
14601 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14602 (vc-bzr-shelve-apply): Make prompt more explicit.
14604 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14606 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14607 They are valid characters in URL paths (rfc3986), and at least
14608 Firefox does not understand the encoded version (Bug#3166).
14610 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14612 * progmodes/octave-mod.el (octave-end-keywords)
14613 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14614 Add "end" keyword (Bug#3061).
14615 (octave-end-as-array-index-p): New function.
14616 (calculate-octave-indent): Use it.
14618 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14620 * bookmark.el: Consistently put the text property on the bookmark name.
14621 (bookmark-bmenu-marks-width): Bump back to 2, to include
14623 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14624 property on the bookmark name, instead of not putting it at all.
14625 (bookmark-bmenu-list): Fix where we put the text property.
14627 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14629 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14630 for showing buffer modified state (as added in the previous change).
14632 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14634 * bookmark.el: Show modified state of bookmark buffer more accurately.
14635 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14636 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14637 (with-buffer-modified-unmodified): New macro.
14638 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14639 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14640 Use new macro to preserve the buffer modified state.
14642 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14644 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14645 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14646 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14647 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14648 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14649 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14650 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14652 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14654 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14655 Make the lines in the generated doc string shorter. (Bug#4668)
14657 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14659 * net/rcirc.el: Add follow-link binding (Bug#4738).
14661 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14663 * Makefile.in (bzr-update): Rename from cvs-update.
14664 (cvs-update): New target for backward compatibility.
14666 * makefile.w32-in (bzr-update): Rename from cvs-update.
14667 (cvs-update): New target for backward compatibility.
14669 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14671 * bookmark.el: Remove gratuitous gratitude.
14673 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14675 * bookmark.el (bookmark-bmenu-any-marks): New function.
14676 (bookmark-bmenu-save): Clear buffer modification if no marks.
14678 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14680 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14681 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14682 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14683 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14685 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14686 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14687 To: emacs-devel {_AT_} gnu.org
14688 Subject: bookmark.el bug report
14689 Date: Mon, 28 Dec 2009 14:19:16 +0800
14690 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14692 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14694 * bookmark.el: Improvements suggested by Drew Adams:
14695 (bookmark-bmenu-ensure-position): New name for
14696 `bookmark-bmenu-check-position'. Just ensure the position,
14697 don't return any meaningful value.
14698 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14701 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14703 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14704 (bookmark-yank-point, bookmark-bmenu-check-position):
14705 Fix typos in docstrings.
14706 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14707 (bookmark-name-from-full-record, bookmark-get-position)
14708 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14709 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14710 Remove useless quoting of parenthesis, etc. in docstrings.
14712 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14713 (ediff-append-custom-diff): Fix typo in error message.
14714 (ediff-meta-mark-equal-files): Fix typos in messages.
14716 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14718 * net/imap-hash.el (imap-hash-make): Doc fix.
14719 (imap-hash-test): Fix typo in error message; reflow docstring.
14720 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14721 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14722 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14723 Fix typos in docstrings.
14724 (imap-hash-open-connection): Fix typo in error message.
14726 * play/gomoku.el (gomoku): Fix typos in docstring.
14728 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14729 (gdb-jsonify-buffer): Fix typos in docstring.
14730 (gdb-goto-breakpoint): Fix typo in error message.
14731 ("Display Other Windows"): Fix typo in help message.
14732 (gdb-speedbar-expand-node): Fix typo in question.
14734 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14735 (idlwave-html-system-help-location, idlwave-html-help-location)
14736 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14737 (idlwave-help-browser-generic-args, idlwave-help-directory)
14738 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14739 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14740 (idlwave-online-help, idlwave-help-html-link)
14741 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14742 Fix typos in docstrings.
14743 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14745 (idlwave-help-assistant-start): Fix typo in error message.
14747 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14748 (octave-electric-space): Fix typos in docstrings.
14750 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14752 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14754 2010-01-01 Juri Linkov <juri@jurta.org>
14756 * comint.el (comint-input-ring-size): Make it a defcustom and
14757 increase the default to 500 (Bug#5148).
14759 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14761 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14762 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14763 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14765 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14767 Show working revision correctly for mercurial.
14768 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14769 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14771 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14773 Declare some functions for the byte-compiler.
14774 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14775 (speedbar-timer-fn, speedbar-change-expand-button-char)
14776 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14778 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14780 This changeset reverts GDB Graphical Interface to use annotations.
14781 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14783 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14785 Make vc-dir work on subdirectories of the bzr root.
14786 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14787 Return file names relative to it.
14788 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14789 relative directory to vc-bzr-after-dir-status.
14791 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14793 * font-lock.el (font-lock-refresh-defaults): New function, which
14794 can be used to let font-lock react to external changes in
14795 variables like font-lock-defaults and keywords.
14796 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14798 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14800 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14802 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14804 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14806 Supersede color.diff settings in git log (bug#5211).
14808 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14809 escape chars in its output when the user has color.diff set to `always'.
14810 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14812 2009-12-26 Kevin Ryde <user42@zip.com.au>
14814 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14815 node. Keep previous "Index" name to work with past coreutils too.
14817 * man.el (man): Revise docstring a bit to show -a and -l as
14818 examples. Add -k description since support for it has otherwise
14819 been a secret. (Further to bug#3717.)
14820 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14821 "no matches" rather than "Can't find manpage", as the latter reads
14822 like -k was interpreted as a page name, which is not so. (Bug#5431)
14824 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14826 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14827 switches. Check also for //SUBDIRED// line.
14829 2009-12-25 Kenichi Handa <handa@m17n.org>
14831 * language/indian.el (devanagari-composable-pattern): Fix to
14832 handle ZWNJ and ZWJ. Use it in composition-function-table for
14834 (malayalam-composable-pattern): Fix previous change.
14836 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14838 * ps-print.el (ps-face-attributes): It was not returning the
14839 attribute face for faces specified as string. Reported by harven
14840 <harven@free.fr>. (Bug#5254)
14841 (ps-print-version): New version 7.3.5.
14843 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14845 * calendar/icalendar.el (icalendar--convert-tz-offset):
14846 Fix timezone names.
14847 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14848 (icalendar--add-diary-entry): Remove the trailing blank that
14849 diary-make-entry inserts.
14851 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14853 Make `file-expand-wildcards' work for remote files.
14855 * files.el (file-expand-wildcards): In case of remote files, check
14856 only local file name part for wildcards. Provide feature 'files
14857 and subfeature 'remote-wildcards. (Bug#5198)
14859 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14860 if there is already an established connection.
14861 (tramp-advice-file-expand-wildcards): Remove it.
14863 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14864 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14865 Activate advice for older GNU Emacs versions. (Bug#5237)
14867 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14869 Some doc fixes (more needed).
14871 * find-cmd.el (find-constituents): Reflow docstring.
14872 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14873 (find-generic): Doc fix.
14875 2009-12-17 Juri Linkov <juri@jurta.org>
14877 Fix regression from 23.1 to allow multiple modes in Local Variables.
14879 * files.el (hack-local-variables-filter): While ignoring duplicates,
14880 don't take `mode' into account.
14881 (hack-local-variables-filter, hack-dir-local-variables):
14882 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14884 2009-12-17 Juri Linkov <juri@jurta.org>
14886 Make `dired-diff' safer. (Bug#5225)
14888 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14889 `current' or when `file' is a directory of the `current' file.
14891 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14893 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14894 unconditionally preloaded files.
14896 2009-12-16 Juri Linkov <juri@jurta.org>
14898 Revert to old 23.1 logic of using the file at the mark as default.
14899 * dired-aux.el (dired-diff): Use the file at the mark as default
14900 if it's not the same as the current file, and the target dir is
14901 the current dir or the mark is active. Add the current file
14902 as the arg of `dired-dwim-target-defaults'. Use the default file
14903 in the prompt. (Bug#5225)
14905 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14907 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14908 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14909 (tramp-check-for-regexp): Check also, when an echoing shell stops
14910 to echo sent commands.
14912 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14914 * Makefile.in: Revert last change (Bug#5191).
14916 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14918 * vc-hg.el (vc-hg-print-log): Fix argument order.
14919 (vc-hg-working-revision): Make sure the command is executed in a
14920 known environment so that we can parse the output. (Bug#4417)
14922 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14924 * progmodes/python.el (python-symbol-completions): Remove text
14925 properties from symbol string before calling python-send-receive.
14927 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14929 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14930 when there are values for both file and line. (Bug#5060)
14932 2009-12-14 Juri Linkov <juri@jurta.org>
14934 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14935 whitespace after the file name of the first line of unified format,
14936 because git-diff doesn't output whitespace and file modification time
14937 after the file name.
14939 2009-12-14 David Kastrup <dak@gnu.org>
14941 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14942 check if it already has the `display' property added by
14943 `Info-display-images-node', and not put the `invisible' property
14946 2009-12-13 Glenn Morris <rgm@gnu.org>
14948 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14949 (report-emacs-bug): In message-mode, sort manually before storing
14950 original report text. (Bug#5178)
14951 Remove superfluous save-excursion.
14953 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14955 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14956 when responding to "GetAll" properties.
14958 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14960 * simple.el (compose-mail): Remove mail-setup-with-from from
14961 customization checks.
14963 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14965 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14966 RAR archives created on Unix systems.
14968 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14970 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14971 the varalias that was accidentally removed by the 2009-11-19 change
14974 2009-12-12 Kenichi Handa <handa@m17n.org>
14976 * language/indian.el (indian-compose-regexp): New function.
14977 (malayalam-composable-pattern): Fix the pattern.
14978 (composition-function-table): Set malayalam-composable-pattern for
14979 Malayalam characters.
14981 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14983 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14984 rather than down-mouse-1, based on follow-link conventions.
14986 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14989 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14991 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14992 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14993 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14994 (verilog-leap-to-head, verilog-backward-token):
14995 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14997 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14999 * progmodes/verilog-mode.el (verilog-auto-lineup)
15000 (verilog-nameable-item-re): Cleanup user-visible spelling and
15001 documentation errors. One reported by Gary Delp.
15002 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15003 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15004 package, bug195. Reported by Pierre-David Pfister.
15006 2009-12-11 Glenn Morris <rgm@gnu.org>
15008 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15010 * mail/emacsbug.el: No longer require sendmail.
15011 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15012 (report-emacs-bug-orig-text): Doc fix.
15013 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15014 New local variables, to adapt to different mail-user-agents.
15015 (report-emacs-bug): Fix test for a gnu.org address.
15016 Use overlays for emphasis, since font-lock defeats 'face property.
15017 Pretest bugs also end up at the newsgroup these days.
15018 Stop message-mode stripping text properties.
15019 Set and use the new buffer-local variables.
15020 (report-emacs-bug-hook): Add doc-string.
15021 Remove some unnecessary save-excursions and simplify.
15022 Use the appropriate hook and send-command.
15024 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15025 capitalization of some menu entries.
15027 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15029 * whitespace.el (whitespace-display-char-on):
15030 Ensure `buffer-display-table' is unique when two or more windows are
15031 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15034 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15036 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15037 characters in the Attribute field.
15039 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15041 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15043 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15045 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15046 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15047 Disregard autoload-excludes.
15048 (update-directory-autoloads): Obey autoload-excludes here instead.
15049 But don't store its contents in no-autoloads and remove entries that
15050 refer to excludes files.
15052 2009-12-10 Glenn Morris <rgm@gnu.org>
15054 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15055 (expand-mail-aliases): Define for compiler.
15057 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15058 Define for compiler.
15060 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15061 appropriate for the mail-user-agent in use.
15063 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15065 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15067 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15069 Fix short log parsing and fontification.
15070 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15071 Fix fontification for the [merge] label.
15073 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15075 Drop some properties to avoid surprises (bug#5002).
15076 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15077 (hfy-fontify-buffer): Use it.
15079 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15082 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15083 Adjust all callers.
15084 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15085 args compulsory. Adjust callers.
15086 (ffap-gopher-at-point): Remove unused var `name'.
15088 Get rid of the ELCFILES abomination.
15089 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15090 (compile-elcfiles): New phony target.
15091 (compile-main): Compute ELCFILES dynamically.
15092 (compile-clean): New target to remove left-over elc files.
15093 (compile, all): Use it.
15095 2009-12-09 Kenichi Handa <handa@etlken>
15097 * international/mule-diag.el: Require help-mode instead of help-fns.
15099 2009-12-09 Kenichi Handa <handa@m17n.org>
15101 * international/mule-cmds.el (ucs-names): Supply sufficiently
15102 fine ranges instead of pre-calculating accurate ranges.
15103 Iterate with bigger gc-cons-threshold.
15105 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15107 Add support for stashing a snapshot of the current tree.
15108 * vc-git.el (vc-git-stash-snapshot): New function.
15109 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15111 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15113 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15114 instead of `(beginning|end)-of-line'.
15116 2009-12-08 Glenn Morris <rgm@gnu.org>
15118 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15120 * Makefile.in (ELCFILES): Regenerate.
15122 2009-12-07 Juri Linkov <juri@jurta.org>
15124 Don't lazy-highlight the comint output in history Isearch mode.
15126 * comint.el (comint-history-isearch-search): Instead of
15127 `comint-line-beginning-position', use `comint-after-pmark-p'
15128 to check if point if before the process mark, and go to
15129 `process-mark' in this case.
15131 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15133 * textmodes/tex-mode.el (latex-complete)
15134 (latex-indent-or-complete): Remove.
15135 (latex-mode): Set completion-at-point-functions instead.
15137 Provide a standard completion command and hook it into TAB.
15138 * minibuffer.el (completion-at-point-functions): New var.
15139 (completion-at-point): New command.
15140 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15141 * progmodes/python.el (python-mode-map): Use completion-at-point.
15142 (python-completion-at-point): Rename from python-partial-symbol and
15143 adjust for use in completion-at-point-functions.
15144 (python-mode): Setup completion-at-point for Python completion.
15145 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15146 extracted from lisp-complete-symbol.
15147 (lisp-complete-symbol): Use it.
15148 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15149 setup completion-at-point for Elisp completion.
15150 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15151 Use completion-at-point.
15152 * ielm.el (ielm-map): Use completion-at-point.
15153 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15154 * progmodes/sym-comp.el: Move to...
15155 * obsolete/sym-comp.el: Move from progmodes.
15157 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15159 Prevent save-buffer in Rmail buffers from using the coding-system
15160 of the current message, and from clobbering the encoding mnemonics
15161 in the mode line (Bug#4623).
15163 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15165 (rmail-message-encoding): New variable.
15166 (rmail-write-region-annotate): Record the encoding of the current
15167 message in rmail-message-encoding.
15168 (rmail-after-save-hook): New function, restores the encoding of
15169 the current message after the message collection is saved.
15171 2009-12-07 Juri Linkov <juri@jurta.org>
15173 * progmodes/grep.el (grep-read-files): Use `completing-read'
15174 instead of `read-string'. Set its `collection' arg to
15175 `read-file-name-internal'. (Bug#4301)
15177 2009-12-07 Juri Linkov <juri@jurta.org>
15179 Correctly restore original Isearch point. (Bug#4994)
15181 * isearch.el (isearch-mode): Move `isearch-push-state' after
15182 `(run-hooks 'isearch-mode-hook)'.
15183 (isearch-cancel): When `isearch-push-state-function' is defined,
15184 let-bind `isearch-cmds' to the first state (the last element of
15185 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15186 function and restores the original point). Otherwise, move point
15187 to `isearch-opoint'.
15189 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15191 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15192 chars that don't have names, so the table can be built much faster at
15195 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15197 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15198 change. Suggested by David Kastrup.
15200 * simple.el (compose-mail): Check for incompatibilities and warn.
15201 (compose-mail-user-agent-warnings): New option.
15203 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15205 Support showing a single log entry from vc-annotate.
15206 * vc.el (print-log): Add a new argument: START-REVISION.
15207 (vc-print-log-internal): Add a new optional argument and
15208 pass it to the backend.
15209 (vc-print-log, vc-print-root-log): Adjust callers.
15210 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15211 buffer already displays the requested log entry, use it.
15212 Otherwise display only the log entry in question.
15213 * vc-svn.el (vc-svn-print-log):
15214 * vc-mtn.el (vc-mtn-print-log):
15215 * vc-hg.el (vc-hg-state):
15216 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15217 (vc-git-show-log-entry): Return t on success.
15218 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15219 (vc-bzr-show-log-entry): Return t on success.
15220 * vc-rcs.el (vc-rcs-print-log):
15221 * vc-sccs.el (vc-sccs-print-log):
15222 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15224 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15226 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15227 Add menus to the meta mode. (Bug#5043)
15229 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15231 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15234 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15236 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15238 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15239 Berbain <raphael.berbain@gmail.com>.
15241 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15243 (tramp-initial-end-of-output): New defconst.
15244 (tramp-methods, tramp-find-shell)
15245 (tramp-open-connection-setup-interactive-shell)
15246 (tramp-maybe-open-connection): Use it.
15247 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15248 Handle existence of `#' and `$'.
15250 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15251 Use `tramp-initial-end-of-output'.
15253 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15255 Get the background mode from the terminal for xterm, and set
15257 * term/xterm.el (xterm-set-background-mode): New function.
15258 (terminal-init-xterm): Use it in case xterm supports background
15259 color queries. Recompute faces after getting the background
15262 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15264 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15265 number comment back on its own line, for easier parsing.
15267 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15269 Make it work for non-file buffers (bug#5102).
15270 * doc-view.el (doc-view-current-cache-dir):
15271 Use doc-view-buffer-file-name rather than buffer-file-name.
15272 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15274 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15276 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15277 author field is too short.
15279 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15281 * vc-git.el (vc-git-print-log): Handle a limit argument.
15282 Display the short log in graph form and with labels.
15283 (vc-git-log-view-mode): Handle labels.
15285 Make vc-revert change VC state from 'added to 'unregistered.
15286 * vc-git.el (vc-git-revert): Call git reset first.
15288 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15290 * net/newst-backend.el, net/newst-plainview.el:
15291 * net/newst-reader.el, net/newst-ticker.el:
15292 * net/newst-treeview.el, net/newsticker.el:
15293 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15295 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15297 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15299 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15300 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15301 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15302 Update annotation regexp.
15304 * simple.el (beginning-of-visual-line): Constrain to field
15305 boundaries (Bug#5106).
15307 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15309 * xml.el (xml-substitute-numeric-entities):
15310 Move newsticker--decode-numeric-entities in newst-backend.el to
15311 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15312 * net/newst-backend.el (newsticker--parse-generic-feed)
15313 (newsticker--parse-generic-items)
15314 (newsticker--decode-numeric-entities):
15315 Move newsticker--decode-numeric-entities in newst-backend.el to
15316 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15318 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15320 * progmodes/js.el (js--js-not): Add null to the list of values.
15322 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15324 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15326 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15328 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15329 delimiter if it is at the end of the current line.
15330 (bibtex-generate-url-list): Fix docstring.
15332 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15334 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15335 minibuffer's content with itself.
15336 Fold the confirm-after-completion case into the `confirm' case.
15337 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15339 2009-12-06 Kevin Ryde <user42@zip.com.au>
15341 * ffap.el (ffap-rfc-path): Make this a defcustom since
15342 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15344 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15345 manuals, similar to existing setup for help-mode. (Bug#3913.)
15347 2009-12-05 Juri Linkov <juri@jurta.org>
15349 Save and restore dired buffer's point positions too. (Bug#4880)
15351 * dired.el (dired-save-positions): Return in the first element
15352 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15354 (dired-restore-positions): First restore buffer's position.
15355 While restoring window's positions, check if window still displays
15356 the original buffer.
15358 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15360 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15363 * shell.el (shell): Require ansi-color (Bug#5113).
15365 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15367 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15369 2009-12-05 Alan Mackenzie <acm@muc.de>
15371 * progmodes/cc-mode.el (c-before-hack-hook)
15372 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15373 `c-file-style' to work again. This reversion restores the current
15374 software to its state in Emacs 23.1. (Bug#4146)
15376 2009-12-05 Kevin Ryde <user42@zip.com.au>
15378 * textmodes/sgml-mode.el (sgml-lexical-context):
15379 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15381 2009-12-05 Juri Linkov <juri@jurta.org>
15383 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15384 for virtual nodes. (Bug#4147)
15385 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15386 when moving from a virtual node.
15387 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15388 (Info-mode): Add `Info-virtual-index' to the docstring.
15390 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15392 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15393 track of the buffer position of the end of a BibTeX entry as this
15394 position may change during reformatting.
15395 (bibtex-format-entry): Remove whitespace before processing
15396 numerical fields so that we recognize the latter properly.
15397 (bibtex-reformat): Do not use push which changes the global value
15398 of bibtex-entry-format.
15399 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15400 (bibtex-field-re-init): Replace only space characters by regexp
15402 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15403 (bibtex-initialize): Also update bibtex-strings.
15404 (bibtex-kill-field): Preserve white space at end of entry.
15405 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15406 Update bibtex-reference-keys.
15408 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15410 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15411 point after a star, if that's the only place where modifications can
15414 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15416 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15419 2009-12-04 Juri Linkov <juri@jurta.org>
15421 * proced.el (proced): Call `(proced-update t)' to update process
15422 information instead of only running proced-post-display-hook.
15423 (proced-send-signal): Add a leading space to the buffer name
15424 " *Marked Processes*" to make this buffer ephemeral.
15426 2009-12-04 Juri Linkov <juri@jurta.org>
15428 * dired.el (dired-auto-revert-buffer): New defcustom.
15429 (dired-internal-noselect): Use it.
15431 2009-12-04 Juri Linkov <juri@jurta.org>
15433 Change roles of modes and functions in image-mode.el (Bug#5062).
15435 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15436 in `auto-mode-alist'.
15437 (image-mode-previous-major-mode): New variable.
15438 (image-minor-mode-map): Rename from `image-mode-text-map'.
15439 (image-mode): Move graceful error-handling code from
15440 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15441 (image-minor-mode): Remove all image-handling code.
15442 Replace `image-mode-text-map' with `image-minor-mode-map'.
15443 Check for `image-type' in mode-line format string.
15444 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15445 (image-mode-as-text): New function with most code from
15446 `image-mode-maybe'.
15447 (image-toggle-display-text): Move code that removes image
15448 properties from `image-toggle-display' to here.
15449 (image-toggle-display-image): New function with code that adds
15450 image properties copied from `image-toggle-display'.
15451 (image-toggle-display): Remove most code with leaving only code
15452 that toggles between `image-mode-as-text' and `image-mode'.
15454 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15456 * net/newst-treeview.el
15457 (newsticker--treeview-list-highlight-start): Restored call to
15458 save-excursion: Selected item was stuck.
15459 (newsticker--treeview-list-select): New.
15460 (newsticker--treeview-item-show-text)
15461 (newsticker--treeview-item-show)
15462 (newsticker--treeview-item-update): Use new
15463 newsticker-treeview-item-mode.
15464 (newsticker-treeview-update): Keep current item.
15465 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15466 (newsticker--treeview-first-feed): Doc change.
15467 (newsticker-treeview-list-menu)
15468 (newsticker-treeview-item-menu): Add menu entries.
15469 (newsticker-treeview-item-mode): New.
15471 * net/newst-backend.el (newsticker-customize): Delete other
15474 2009-12-04 Sam Steingold <sds@gnu.org>
15476 * log-view.el (log-view-mode-map): "q" calls quit-window,
15477 like in all the other non-self-insert buffers.
15479 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15482 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15483 key decoding rather than do it manually via last-input-event +
15485 (term-exec): Use delete-and-extract-region.
15486 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15487 (term-process-pager): Remove unused var `i'.
15488 (term-dynamic-simple-complete): Make obsolete.
15489 (serial-update-config-menu): Remove unused vars `y' and `str'.
15490 (term-update-mode-line): Remove unused var `temp'.
15492 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15494 Limit the number of log entries displayed by default.
15495 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15496 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15497 using a prefix argument.
15499 2009-12-03 Glenn Morris <rgm@gnu.org>
15501 * progmodes/idlwave.el (class): Restore still useful declaration.
15503 2009-12-03 Alan Mackenzie <acm@muc.de>
15505 Enhance `c-parse-state' to run efficiently in "brace deserts".
15507 * progmodes/cc-mode.el (c-basic-common-init):
15508 Call c-state-cache-init.
15509 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15510 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15511 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15513 * progmodes/cc-langs.el (c-before-font-lock-function):
15514 c-extend-and-neutralize-syntax-in-CPP has been renamed
15515 c-neutralize-syntax-in-and-mark-CPP.
15517 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15518 with `category' properties now, not `syntax-table' ones.
15520 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15521 enhanced (but slower) version of c-end-of-macro that won't land
15522 inside a literal or on another awkward character.
15523 (c-state-cache-too-far, c-state-cache-start)
15524 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15525 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15526 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15527 (c-state-min-scan-pos, c-state-brace-pair-desert)
15528 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15529 buffer local variables.
15530 (c-state-literal-at, c-state-lit-beg)
15531 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15532 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15533 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15534 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15535 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15536 (c-renarrow-state-cache)
15537 (c-append-lower-brace-pair-to-state-cache)
15538 (c-state-push-any-brace-pair, c-append-to-state-cache)
15539 (c-remove-stale-state-cache)
15540 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15541 (c-invalidate-state-cache-1, c-parse-state-1)
15542 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15543 (c-parse-state): Enhance and refactor.
15544 (c-debug-parse-state): Amend to deal with all the new variables.
15546 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15547 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15548 modify to use category text properties rather than syntax-table ones.
15549 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15550 to switch off/on the syntactic paren property of C++ template
15551 delimiters using the category property.
15552 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15553 template delims suppressed.
15554 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15555 New constant/macros which apply category properties to the start
15556 and end of preprocessor constructs.
15557 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15558 "comment out" the syntactic value of characters in preprocessor
15560 (c-with-cpps-commented-out)
15561 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15562 with characters in all or all but one preprocessor constructs
15565 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15567 * proced.el (proced-filter-alist): Use regexp-quote.
15569 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15572 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15573 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15574 arguments. Expand `default-directory'.
15576 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15577 the benefit of returning an expanded localname.
15578 (tramp-tramp-file-p): Handle the case NAME is not a string.
15580 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15582 Add support for bzr shelve/unshelve.
15583 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15584 (vc-bzr-extra-menu-map): New variables.
15585 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15586 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15587 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15588 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15589 (vc-bzr-dir-extra-headers): Display shelves.
15591 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15593 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15595 * textmodes/bibtex.el (bibtex-complete-internal):
15596 Use completion-in-region.
15597 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15599 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15601 Support applying stashes. Improve UI.
15602 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15603 (vc-git-stash-apply, vc-git-stash-pop)
15604 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15605 (vc-git-stash-menu): New functions.
15606 (vc-git-stash-menu-map): New variable.
15607 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15609 2009-12-03 Glenn Morris <rgm@gnu.org>
15611 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15612 (vc-print-log-internal): Fix previous change.
15613 (vc-revert): Correct pluralization.
15615 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15617 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15618 it to be an alist any more.
15619 (makefile-complete): Use completion-in-region.
15621 * progmodes/octave-mod.el (octave-complete-symbol):
15622 Use completion-in-region.
15625 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15626 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15627 (idlwave-complete-class): Don't quote lambda.
15628 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15629 (idlwave-mode-map): Move initialization into declaration.
15630 (idlwave-action-and-binding): Use backquotes.
15631 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15633 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15634 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15635 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15636 `parts', and `all-parts'.
15637 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15638 (idlwave-convert-xml-system-routine-info): Remove unused string
15640 (idlwave-display-user-catalog-widget): Use dolist.
15641 (idlwave-scanning-lib): Declare dynamically-scoped var.
15642 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15643 (completion-highlight-first-word-only): Declare to silence bytecomp.
15644 (idlwave-popup-select): Tighten scope of `resp'.
15645 (idlwave-find-struct-tag): Remove unused var `beg'.
15646 (idlwave-after-load-rinfo-hook): Declare.
15647 (idlwave-sintern-class-info): Remove unused var `taglist'.
15648 (idlwave-find-class-definition): Remove unused var `list'.
15649 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15650 (idlwave-what-module-find-class): Remove unused var `classes'.
15652 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15654 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15656 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15658 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15659 buffers visited. Remove redundant current-buffer-saving.
15661 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15663 Use completion-in-buffer and remove uses of dynamic scoping.
15664 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15665 (pascal-buffer-to-use, pascal-flag): Don't declare.
15666 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15667 (pascal-get-completion-decl, pascal-keyword-completion):
15668 Add `pascal-str' argument, save-excursion,
15669 return the found completions, and don't filter with pascal-pred.
15670 (pascal-completion-cache): New var.
15671 (pascal-completion): Don't switch buffer any more (it was never
15672 necessary). Don't save-excursion any more (it's done by the called
15673 subroutines). Use a cache to avoid redundant computations.
15674 Use complete-with-action rather than pascal-completion-response and
15675 let it apply the predicate as well.
15676 (pascal-complete-word): Use completion-in-buffer when
15677 pascal-toggle-completions is nil.
15678 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15680 (pascal-comp-defun): Don't change buffer any more.
15681 Use complete-with-action rather than pascal-completion-response and
15682 let it apply the predicate as well.
15683 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15686 2009-12-02 Kenichi Handa <handa@m17n.org>
15688 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15689 shape for all Indic scripts.
15691 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15693 Use completion-in-buffer.
15694 * wid-edit.el (widget-field-text-end): New function.
15695 (widget-field-value-get): Use it.
15696 (widget-string-complete, widget-file-complete)
15697 (widget-color-complete): Use it and completion-in-region.
15698 (widget-complete): Don't narrow the buffer.
15700 2009-12-02 Glenn Morris <rgm@gnu.org>
15702 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15703 (rmail-select-summary): Use rmail-pop-to-buffer.
15704 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15705 rmail-pop-to-buffer, to prevent horizontal splits.
15707 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15708 save-excursion with save-current-buffer.
15709 Widen before searching. (Bug#5093)
15710 (diary-list-sexp-entries): Remove superfluous save-excursion.
15712 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15714 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15717 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15719 * ido.el (ido-file-internal): Handle filenames at point that do
15720 not have a directory part. (Bug#5049)
15722 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15724 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15725 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15727 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15729 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15730 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15733 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15735 * comint.el (comint-insert-input): Ignore clicks to the right of
15736 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15738 * vc.el (vc-print-log-internal): Don't wait for the process to
15739 terminate before setting up the major mode.
15741 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15744 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15747 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15749 2009-12-01 Glenn Morris <rgm@gnu.org>
15751 * window.el (window--display-buffer-2): Fix previous changes.
15753 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15755 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15757 2009-12-01 Glenn Morris <rgm@gnu.org>
15759 * Makefile.in (ELCFILES): Add mpc.elc.
15761 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15763 * mpc.el: New file.
15765 2009-12-01 Glenn Morris <rgm@gnu.org>
15767 * window.el (window-to-use): Define for compiler.
15769 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15770 consistent with others (no final period).
15772 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15773 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15775 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15777 Make vc-print-log buttons work.
15778 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15780 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15782 * savehist.el (savehist-autosave-interval): Allow setting to nil
15783 through customize. (Bug#5056)
15785 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15787 Fix references to jit-lock properties.
15788 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15789 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15790 (perl-font-lock-special-syntactic-constructs):
15791 Quote jit-lock-defer-multiline property.
15793 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15795 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15797 2009-11-30 Juri Linkov <juri@jurta.org>
15799 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15800 value `buffer' of `multi-isearch-next-buffer-current-function'.
15801 Use `(current-buffer)' when `buffer' is nil.
15802 (multi-isearch-next-buffer-from-list): Don't fallback to
15803 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15805 2009-11-30 Juri Linkov <juri@jurta.org>
15807 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15808 of buffers with `get-buffer' to `multi-isearch-buffers'.
15809 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15810 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15811 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15812 FILES with `expand-file-name' converting relative file names
15813 to absolute. Doc fix. (Bug#4727)
15815 2009-11-30 Juri Linkov <juri@jurta.org>
15817 * misearch.el (multi-isearch-read-buffers)
15818 (multi-isearch-read-matching-buffers): New functions.
15819 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15820 Use them in the `interactive' spec. Doc fix.
15821 (multi-isearch-read-files, multi-isearch-read-matching-files):
15823 (multi-isearch-files, multi-isearch-files-regexp):
15824 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15826 2009-11-30 Juri Linkov <juri@jurta.org>
15828 * doc-view.el (doc-view-continuous):
15829 Rename from `doc-view-continuous-mode'.
15830 (doc-view-menu): Move "Toggle display" to the top.
15831 Add submenu "Continuous" with radio buttons "Off"/"On"
15832 and "Save as Default".
15833 (doc-view-scroll-up-or-next-page)
15834 (doc-view-scroll-down-or-previous-page)
15835 (doc-view-next-line-or-next-page)
15836 (doc-view-previous-line-or-previous-page):
15837 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15839 2009-11-30 Juri Linkov <juri@jurta.org>
15841 * comint.el (comint-mode-map): Rebind `M-r' from
15842 `comint-previous-matching-input' to
15843 `comint-history-isearch-backward-regexp'.
15844 Unbind `M-s' to allow global key binding `M-s'.
15845 Add menu items for `comint-history-isearch-backward' and
15846 `comint-history-isearch-backward-regexp'. (Bug#3746)
15848 2009-11-30 Juri Linkov <juri@jurta.org>
15850 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15851 For def=recenter, replace `recenter' with `recenter-top-bottom'
15852 that is called with `this-command' and `last-command' let-bound
15853 to `recenter-top-bottom'. When the last `def' was not `recenter',
15854 set `recenter-last-op' to nil. (Bug#4981)
15856 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15858 Minor cleanup and simplification.
15859 * filecache.el (file-cache-add-directory)
15860 (file-cache-add-directory-recursively)
15861 (file-cache-add-from-file-cache-buffer)
15862 (file-cache-delete-file-regexp, file-cache-delete-directory)
15863 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15864 (file-cache-temp-minibuffer-message): Delete function.
15865 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15867 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15868 Don't signal an error when bumping into EOB in tr, s, or y.
15870 2009-11-29 Juri Linkov <juri@jurta.org>
15872 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15875 * descr-text.el (describe-char-unidata-list): Use lowercase name
15876 for "Unicode name" like in other tags.
15878 2009-11-29 Juri Linkov <juri@jurta.org>
15880 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15881 New compatibility macro.
15882 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15884 2009-11-29 Juri Linkov <juri@jurta.org>
15886 Add defcustom to define the cycling order of `recenter-top-bottom'.
15889 * window.el (recenter-last-op): Doc fix.
15890 (recenter-positions): New defcustom.
15891 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15892 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15894 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15896 Improve integration of Tramp and ange-ftp in eshell.
15898 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15899 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15900 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15902 * eshell/esh-util.el (top): Require also Tramp when compiling.
15903 (eshell-directory-files-and-attributes): Check for FTP remote
15905 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15906 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15907 (eshell-file-attributes): Handle ".". Return `entry'.
15909 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15910 (ange-ftp-directory-files-and-attributes)
15911 (ange-ftp-real-directory-files-and-attributes): New defuns.
15913 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15914 shell with "exec" when possible. This prevents trailing prompts
15915 in `start-file-process'.
15917 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15919 Try and remove assumptions about point-min==1.
15920 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15921 (rng-compute-mode-line-string): Show the validation percentage in
15922 terms of the narrowed text, not the widened text.
15923 (rng-do-some-validation): Don't catch internal errors when debugging.
15924 (rng-first-error): Simplify.
15925 (rng-after-change-function): Remove work around. AFAIK the bug has
15926 been fixed a while ago.
15928 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15929 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15931 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15933 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15934 `cd' doesn't always do it for us (bug#5067).
15936 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15937 on 2009-10-25 as part of some other change (bug#5067).
15939 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15941 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15943 (byte-compile-warnings): Use byte-compile-warning-types.
15944 (byte-compile-save-excursion): Warn about use of set-buffer right
15945 after save-excursion.
15947 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15948 the excursion as well.
15950 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15952 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15953 providing a Tramp related implementation of "su" and "sudo".
15954 (eshell-unix-initialize): Add "su" and "sudo".
15956 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15958 * net/socks.el (socks-send-command): Convert binary request to
15959 unibyte before sending. This fixes mishandling of some port
15960 numbers such as 129.
15962 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15964 * help.el (describe-bindings-internal): Remove `interactive'.
15966 * man.el (Man-completion-table): Trim a terminating "(".
15967 Remove the space between name page a section.
15968 Add the command's description on the `help-echo' property.
15969 Remove `process-connection-type' binding since it's unused by
15971 Provide completion for the "<section> <name>" format as well.
15972 (Man-default-man-entry): Remove spurious var shadowing the argument.
15974 2009-11-26 Kevin Ryde <user42@zip.com.au>
15976 * log-view.el: Add "Keywords: tools", since its other keywords
15977 aren't in finder-known-keywords, and following vc.el.
15979 * sha1.el (sha1-string-external): default-directory "/" in case
15980 otherwise non-existent. process-connection-type pipe for touch of
15981 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15983 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15985 Misc coding convention cleanups.
15986 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15987 hfy-init-kludge-hooks.
15988 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15989 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15990 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15992 (hfy-slant, hfy-weight): Use tables rather than code.
15993 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15994 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15995 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15996 (hfy-face-to-css): Remove `nconc' with single arg.
15997 (hfy-p-to-face-lennart): Use `or'.
15998 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15999 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16000 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16001 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16002 (hfy-force-fontification): Use run-hooks.
16004 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16006 Various minor fixes.
16007 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16008 Javascript belongs in the header, not the body.
16009 (hfy-javascript): Remove.
16010 (hfy-fontify-buffer): Don't insert it any more.
16011 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16012 Fix bug in invis handling when there were no invis props in a chunk.
16014 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16016 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16018 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16020 * finder.el (finder-mode-map): Add a menu.
16022 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16024 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16025 "unsigned" structs.
16027 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16028 fork" statement better.
16030 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16032 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16033 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16034 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16035 Reported by Clay Douglass.
16037 (verilog-auto-inst, verilog-auto-star-safe)
16038 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16039 Fix removing "// Interfaces" when saving .* expansions.
16040 Reported by Pierre-David Pfister.
16042 2009-11-26 Glenn Morris <rgm@gnu.org>
16044 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16047 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16049 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16050 Really use previous revision.
16052 2009-11-25 Kevin Ryde <user42@zip.com.au>
16054 * man.el (Man-completion-table): default-directory "/" in case
16055 doesn't otherwise exist. process-environment COLUMNS=999 so as
16056 not to truncate long names. process-connection-type pipe to avoid
16057 any chance of hitting the pseudo-tty TIOCGWINSZ.
16058 (man): completion-ignore-case t for friendliness and since man
16059 itself is case-insensitive on the command line.
16060 Further to Bug#3717.
16062 * arc-mode.el: Add "Keywords: files", so the details in its
16063 commentary can be reached from finder-by-keyword.
16064 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16065 editing mode, but it's comms related and sgml-mode.el has "comm"
16067 * textmodes/bibtex-style.el: Add "Keywords: tex".
16068 * international/isearch-x.el, international/ja-dic-cnv.el:
16069 * international/ja-dic-utl.el, international/kkc.el:
16070 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16072 2009-11-25 Juri Linkov <juri@jurta.org>
16074 * man.el (Man-completion-table): Modify regexp to include
16075 section names to completion strings. (Bug#3717)
16077 2009-11-25 Juri Linkov <juri@jurta.org>
16079 Search recursively in gzipped files. (Bug#4982)
16081 * progmodes/grep.el (grep-highlight-matches): Add new options
16082 `always' and `auto'. Doc fix.
16083 (grep-process-setup): Check `grep-highlight-matches' for
16084 `auto-detect' to determine the need to compute grep defaults.
16085 Move Windows/DOS specific --colors settings handling
16086 to `grep-compute-defaults'. Check `grep-highlight-matches'
16087 to get the value of "--color=".
16088 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16089 has the value `auto-detect'. Move Windows/DOS specific settings
16090 from `grep-process-setup'.
16091 (zrgrep): New command with alias `rzgrep'.
16093 2009-11-25 Juri Linkov <juri@jurta.org>
16095 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16096 to nil instead of switching off view-mode. (Bug#4896)
16098 2009-11-25 Juri Linkov <juri@jurta.org>
16100 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16102 * mwheel.el (mwheel-scroll-up-function)
16103 (mwheel-scroll-down-function): New defvars.
16104 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16105 `scroll-up', and `mwheel-scroll-down-function' instead of
16108 * doc-view.el (doc-view-scroll-up-or-next-page)
16109 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16110 Use this ARG in the call to image-scroll-up/image-scroll-down.
16111 Change `interactive' spec to "P". Goto next/previous page only
16112 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16113 SPC/DEL case). Doc fix.
16114 (doc-view-next-line-or-next-page)
16115 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16117 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16118 `doc-view-scroll-up-or-next-page', and buffer-local
16119 `mwheel-scroll-down-function' to
16120 `doc-view-scroll-down-or-previous-page'.
16122 2009-11-25 Juri Linkov <juri@jurta.org>
16124 Provide additional default values (directories at other Dired
16125 windows) via M-n in the minibuffer of some Dired commands.
16127 * dired-aux.el (dired-diff, dired-compare-directories)
16128 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16129 `minibuffer-default' in `minibuffer-with-setup-hook'.
16130 (dired-dwim-target-directory): Find a window that displays Dired
16131 buffer instead of failing when the next window is not Dired.
16132 Use `get-window-with-predicate' to find for the next Dired window.
16133 (dired-dwim-target-defaults): New function.
16135 * ediff-util.el (ediff-read-file-name):
16136 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16137 in `minibuffer-with-setup-hook'.
16139 2009-11-25 Juri Linkov <juri@jurta.org>
16141 Provide additional default values (file name at point or at the
16142 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16144 * minibuffer.el (read-file-name-defaults): New function.
16145 (read-file-name): Reset `minibuffer-default' to nil when
16146 it duplicates initial input `insdef'.
16147 Bind `minibuffer-default-add-function' to lambda that
16148 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16149 (minibuffer-insert-file-name-at-point): New command.
16151 * files.el (file-name-at-point-functions): New defcustom.
16152 (find-file-default): Remove defvar.
16153 (find-file-read-args): Don't use `find-file-default'.
16154 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16155 to `read-file-name'.
16156 (find-file-literally): Use `read-file-name' with
16157 `confirm-nonexistent-file-or-buffer'.
16159 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16161 * dired.el (dired-read-dir-and-switches):
16162 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16163 to `read-file-name'.
16164 (dired-file-name-at-point): New function.
16165 (dired-mode): Add hook `dired-file-name-at-point' to
16166 `file-name-at-point-functions'.
16168 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16170 Really make the *Completions* window soft-dedicated (bug#5030).
16171 * window.el (window--display-buffer-2): Add `dedicated' argument.
16172 (display-buffer): Pass it when needed so the dedicated flag is set
16173 after calling set-window-buffer, which would otherwise reset it.
16175 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16177 * progmodes/meta-mode.el (meta-complete-symbol):
16178 * progmodes/etags.el (complete-tag):
16179 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16180 Use completion-in-region.
16182 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16183 (dabbrev-completion): Use completion-in-region.
16184 (dabbrev--abbrev-at-point): Simplify regexp.
16186 * abbrev.el (abbrev--before-point): Use word-motion functions
16187 if :regexp is not specified (bug#5031).
16189 * subr.el (string-prefix-p): New function.
16191 * man.el (Man-completion-cache): New var.
16192 (Man-completion-table): Use it.
16194 * vc.el (vc-print-log-internal): Make `limit' optional for better
16195 compatibility (e.g. with vc-annotate.el).
16197 2009-11-24 Kevin Ryde <user42@zip.com.au>
16199 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16200 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16202 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16203 when .el source file not found or other error.
16205 2009-11-24 Markus Triska <markus.triska@gmx.at>
16207 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16209 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16211 Handle the [back] button properly (bug#4979).
16212 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16213 Use help-setup-xref, help-buffer, and with-help-window.
16214 (describe-char): Add `buffer' argument.
16215 Pass proper command to help-setup-xref. Don't meddle with
16216 help-xref-stack-item directly.
16217 (describe-text-category): Use with-help-window and help-buffer.
16219 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16220 for the displayed buffer (bug#4887).
16222 * man.el (Man-completion-table): New function.
16225 2009-11-24 David Reitter <david.reitter@gmail.com>
16227 * vc-git.el (vc-git-registered): Use checkout directory (where
16228 .git is) rather than the file's directory and a relative path spec
16229 to work around a bug in git.
16231 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16233 Improve handling of processes on remote hosts.
16235 * eshell/esh-util.el (eshell-path-env): New defvar.
16236 (eshell-parse-colon-path): New defun.
16237 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16239 * eshell/esh-ext.el (eshell-search-path):
16240 Use `eshell-parse-colon-path'.
16241 (eshell-remote-command): Remove argument HANDLER.
16242 (eshell-external-command): Check for FTP remote connection.
16244 * eshell/esh-proc.el (eshell-gather-process-output):
16245 Use `file-truename', in order to start also symlinked files.
16246 Apply `start-file-process' instead of `start-process'.
16247 Shorten `command' to the local file name part.
16249 * eshell/em-cmpl.el (eshell-complete-commands-list):
16250 Use `eshell-parse-colon-path'.
16252 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16254 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16255 to `eshell-directory-change-hook'.
16257 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16259 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16260 because it could be enabled automatically if view-read-only is non-nil.
16262 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16264 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16265 made on 2009-11-22.
16267 2009-11-24 Glenn Morris <rgm@gnu.org>
16269 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16270 deleted variable bookmark-bmenu-bookmark-column.
16272 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16274 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16276 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16278 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16279 two slashes to the "file:" prefix.
16280 (browse-url-file-url): De-munge Cygwin filenames before passing
16281 them to Windows browser.
16282 (browse-url-default-windows-browser): Use call-process.
16284 2009-11-23 Juri Linkov <juri@jurta.org>
16286 Implement DocView Continuous mode. (Bug#4896)
16287 * doc-view.el (doc-view-continuous-mode): New defcustom.
16288 (doc-view-mode-map): Bind C-n/<down> to
16289 `doc-view-next-line-or-next-page', C-p/<up> to
16290 `doc-view-previous-line-or-previous-page'.
16291 (doc-view-next-line-or-next-page)
16292 (doc-view-previous-line-or-previous-page): New commands.
16294 2009-11-23 Juri Linkov <juri@jurta.org>
16296 Implement Isearch in comint input history. (Bug#3746)
16297 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16298 `isearch-mode-hook'.
16299 (comint-history-isearch): New defcustom.
16300 (comint-history-isearch-backward)
16301 (comint-history-isearch-backward-regexp): New commands.
16302 (comint-history-isearch-message-overlay): New buffer-local variable.
16303 (comint-history-isearch-setup, comint-history-isearch-end)
16304 (comint-goto-input, comint-history-isearch-search)
16305 (comint-history-isearch-message, comint-history-isearch-wrap)
16306 (comint-history-isearch-push-state)
16307 (comint-history-isearch-pop-state): New functions.
16309 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16311 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16313 (tramp-handle-make-symbolic-link)
16314 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16316 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16317 (tramp-handle-process-file): Use it.
16319 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16321 * window.el (move-to-window-line-last-op): Remove.
16322 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16324 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16326 Make M-r mirror the new cycling behavior of C-l.
16327 * window.el (move-to-window-line-last-op): New var.
16328 (move-to-window-line-top-bottom): New command.
16329 (global-map): Bind M-r move-to-window-line-top-bottom.
16331 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16333 * dired-x.el (dired-guess-shell-alist-default):
16334 Support xz format. (Bug#4953)
16336 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16338 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16339 last-command-char/last-command-event.
16340 (viper-prefix-arg-value): Do correct conversion of event-char for
16343 * emulation/viper-util.el, emulation/viper.el:
16344 Use viper-last-command-char instead of
16345 last-command-char/last-command-event.
16347 * ediff-init.el, ediff-mult.el, ediff-util.el:
16348 Replace last-command-char and last-command-event
16349 with (ediff-last-command-char) everywhere.
16351 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16352 created in fundamental mode.
16354 * ediff.el (ediff-version): Revert the change of interactive-p to
16355 called-interactively-p.
16357 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16359 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16360 generation from word-movement command names.
16362 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16364 * cus-start.el (all): Add native condition for font-use-system-font.
16366 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16368 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16369 Correct the patch from 2009-11-18. (Bug#3910)
16371 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16373 * progmodes/subword.el: Rename from lisp/subword.el.
16375 * subword.el: Rename to progmodes/subword.el.
16377 * Makefile.in (ELCFILES): Adapt to subword.el move.
16379 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16380 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16383 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16384 (bookmark-bmenu-show-filenames): Use push.
16385 (bookmark-bmenu-hide-filenames): Use local var instead of
16386 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16387 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16388 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16389 filenames now that the bookmark names are always available.
16391 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16394 (bookmark-search-pattern): Move and leave unbound.
16395 (bookmark-bmenu-mode-map): Change binding.
16396 (bookmark-read-search-input): Simplify.
16397 Don't use text-char-description. Don't error on non-char events.
16398 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16399 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16400 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16401 Use a local var for the timer.
16402 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16403 (i.e. bookmark-bmenu-search).
16405 2009-11-21 Glenn Morris <rgm@gnu.org>
16407 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16409 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16411 * net/browse-url.el (browse-url-default-windows-browser):
16412 Use cygstart for cygwin.
16414 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16416 * bookmark.el: Formatting and doc fixes only:
16417 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16418 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16419 Minor grammar and punctuation fixes in doc string.
16420 (bookmark-read-search-input): Adjust to fit within 80 columns.
16422 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16424 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16425 (c-backward-into-nomenclature): Adapt to subword renaming.
16427 * subword.el (subword-forward, subword-backward, subword-mark)
16428 (subword-kill, subword-backward-kill, subword-transpose)
16429 (subword-downcase, subword-upcase, subword-capitalize)
16430 (subword-forward-internal, subword-backward-internal):
16431 Rename from forward-subword, backward-subword, mark-subword,
16432 kill-subword, backward-kill-subword, transpose-subwords,
16433 downcase-subword, upcase-subword, capitalize-subword,
16434 forward-subword-internal, backward-subword-internal.
16436 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16438 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16440 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16442 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16443 (bookmark-bmenu-filter-alist-by-regexp)
16444 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16445 (bookmark-bmenu-search): New command.
16446 (bookmark-bmenu-mode-map): Bind it.
16448 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16450 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16451 backward-subword to quit the byte-compiler.
16453 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16455 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16457 * progmodes/cc-cmds.el (c-update-modeline)
16458 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16459 Refer to subword.el functions instead of cc-subword.el.
16461 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16462 subword.el functions instead of cc-subword.el.
16464 * progmodes/cc-subword.el: Rename to subword.el.
16465 * subword.el: Rename from progmodes/cc-subword.el.
16466 (subword-mode-map): Rename from c-subword-mode-map.
16467 (subword-mode): Rename from c-subword-mode.
16468 (global-subword-mode): New global minor mode.
16469 (forward-subword): Rename from c-forward-subword.
16470 (backward-subword): Rename from c-backward-subword.
16471 (mark-subword): Rename from c-mark-subword.
16472 (kill-subword): Rename from c-kill-subword.
16473 (backward-kill-subword): Rename from c-backward-kill-subword.
16474 (transpose-subwords): Rename from c-tranpose-subword.
16475 (downcase-subword): Rename from c-downcase-subword.
16476 (capitalize-subword): Rename from c-capitalize-subword.
16477 (forward-subword-internal): Rename from c-forward-subword-internal.
16478 (backward-subword-internal): Rename from c-backward-subword-internal.
16480 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16482 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16483 from a dired buffer.
16484 (vc-dired-deduce-fileset): New function.
16485 (vc-root-diff, vc-print-root-log): Use it.
16487 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16488 nil LIMIT argument to vc-print-log-internal.
16490 2009-11-20 Glenn Morris <rgm@gnu.org>
16492 * Makefile.in (ELCFILES): Regenerate.
16494 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16496 * calc/calc.el (calc-set-mode-line):
16497 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16498 (math-format-number): Rename `math-format-complement-signed' to
16499 `math-format-twos-complement'.
16501 * calc/calc-bin.el (math-format-twos-complement): Rename from
16502 math-format-complement-signed.
16503 (calc-radix): Rename `calc-complement-signed-mode' to
16504 `calc-twos-complement-mode'.
16505 (calc-octal-radix, calc-hex-radix): Add an argument for
16508 * calc/calc-embed.el (calc-embedded-mode-vars):
16509 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16511 * calc/calc-ext.el (calc-init-extensions):
16512 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16513 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16515 * calc/calc-units.el (math-build-units-table-buffer):
16516 Let `calc-twos-complement-mode' be nil.
16518 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16521 * calc/calc-vec.el (calcFunc-vunpack):
16522 * calc/calc-aent.el (calc-do-calc-eval):
16523 * calc/calc-forms.el (math-format-date):
16524 * calc/calc-graph.el (calc-graph-plot):
16525 * calc/calc-math.el (math-use-emacs-fn):
16526 * calc/calccomp.el (math-compose-expr):
16527 Let `calc-twos-complement-mode' be nil.
16529 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16531 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16532 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16533 * minibuffer.el (completion-in-region-functions): New hook.
16534 (completion-in-region): New function.
16535 * emacs-lisp/lisp.el (lisp-complete-symbol):
16536 * pcomplete.el (pcomplete-std-complete): Use it.
16538 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16540 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16541 (latex-complete-alist): New vars.
16542 (latex-string-prefix-p, latex-complete-bibtex-keys)
16543 (latex-complete-envnames, latex-complete-refkeys)
16544 (latex-complete-data): New functions.
16545 (latex-complete, latex-indent-or-complete): New commands.
16547 * window.el (display-buffer-mark-dedicated): New var.
16548 (display-buffer): Obey it.
16549 * minibuffer.el (minibuffer-completion-help): Use it.
16551 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16553 * filecache.el (file-cache-add-file): Use push and cons.
16554 (file-cache-delete-file-regexp): Use push.
16555 (file-cache-complete): Use completion-in-region.
16557 * simple.el (with-wrapper-hook): Fix thinko.
16559 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16560 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16561 Use with-current-buffer and string-to-number.
16562 (hfy-fallback-colour-values): Use assoc-string.
16563 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16564 (hfy-face-at): Remove unused var `found-face'.
16565 (hfy-compile-stylesheet): Remove unused var `css'.
16566 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16568 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16569 Use with-current-buffer.
16570 (hfy-text-p): Use expand-file-name and fewer setq.
16572 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16574 * htmlfontify.el, hfy-cmap.el: New files.
16576 2009-11-19 Juri Linkov <juri@jurta.org>
16578 * minibuffer.el (completions-format): New defcustom.
16579 (completion--insert-strings): Implement vertical format.
16581 * simple.el (switch-to-completions): Move point to the first
16582 completion when point was at the beginning of the buffer.
16584 2009-11-19 Juri Linkov <juri@jurta.org>
16586 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16588 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16590 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16592 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16593 (mail-signature): Change default to t.
16594 (mail-from-style): Deprecate `system-default' value.
16595 (mail-insert-from-field): For default value of mail-from-style,
16596 default to `angles' unless `angles' needs quoting and `parens'
16598 (mail-citation-prefix-regexp): Use citation regexp from
16601 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16603 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16604 Set variables for computing the prompt for reading password.
16606 2009-11-19 Glenn Morris <rgm@gnu.org>
16608 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16610 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16612 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16613 (newsticker-treeview-listwindow-height): Fix custom type.
16615 2009-11-19 Kenichi Handa <handa@m17n.org>
16617 * descr-text.el (describe-char-padded-string): Compose with TAB
16618 only if there's a font for CH.
16619 (describe-char): Fix the condition for detecting a trivial composition.
16621 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16623 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16624 more accurate version of the regexp. (Bug#3910)
16626 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16628 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16630 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16632 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16633 (font-setting-change-default-font): Fix typo in docstring.
16635 2009-11-18 Alan Mackenzie <acm@muc.de>
16637 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16639 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16641 * font-setting.el (font-use-system-font): Move ...
16643 * cus-start.el (all): ... to here.
16645 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16647 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16648 Don't set `ad-return-value' if `ad-do-it' doesn't.
16650 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16653 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16655 * menu-bar.el: Put "Use system font" in Option-menu.
16656 (menu-bar-options-save): Add font-use-system-font.
16658 * loadup.el: If feature system-font-setting or font-render-setting is
16659 there, load font-setting.
16661 * Makefile.in (ELCFILES): Add font-settings.el.
16662 * font-setting.el: New file.
16664 2009-11-17 Glenn Morris <rgm@gnu.org>
16666 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16668 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16669 Preserve point in the list buffer. (Bug#4939)
16671 (newsticker--treeview-list-update-highlight)
16672 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16674 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16676 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16679 * calc/calc-ext.el (calc-init-extensions): Remove references to
16682 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16684 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16685 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16688 2009-11-16 Kevin Ryde <user42@zip.com.au>
16690 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16691 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16693 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16694 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16695 Ignore trailing spaces by omit-nulls to split-string (fixing
16696 regression from Emacs 21 due to the incompatible split-string
16697 change). (Bug #4928.)
16699 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16701 * vc.el (vc-log-show-limit): Default to 2000.
16702 (vc-print-log-internal): Insert buttons to request more entries
16703 when limiting the output.
16705 * vc-sccs.el (vc-sccs-print-log):
16706 * vc-rcs.el (vc-rcs-print-log):
16707 * vc-cvs.el (vc-cvs-print-log):
16708 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16711 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16713 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16714 error when `tramp-gvfs-dbus-event-vector' is set.
16715 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16717 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16719 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16721 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16723 * net/dbus.el (dbus-unregister-service): New defun.
16724 (dbus-register-property): Register the handlers of
16725 "org.freedesktop.DBus.Properties" for SERVICE.
16726 (dbus-property-handler): Fix docstring.
16728 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16730 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16731 Quote doc string reference in defvaralias as it is not in special form.
16732 (byte-compile-output-docform): Doc fix.
16734 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16736 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16737 (calc-complement-signed-mode): New variables.
16738 (calc-set-mode-line): Add indicator for twos-complements.
16739 (math-format-number): Format twos-complement notation.
16741 * calc/calc-bin.el (calc-word-size): Reset the variables
16742 `math-2-word-size' and `math-half-2-word-size'.
16743 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16744 (calc-symclip): New functions.
16746 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16748 * calc/calc-embed.el (calc-embedded-mode-vars):
16749 Add `calc-complement-signed-mode' to the list of modes.
16751 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16752 (calc-b-oper-keys): Add `calc-symclip' to list.
16754 * calc/calc-ext.el (math-read-number-fancy): Read complement
16756 (calc-init-extensions): Add binding for `calc-symclip'.
16757 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16759 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16761 (calc-modes-menu): Add item for twos complement mode.
16763 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16765 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16767 * register.el (jump-to-register, insert-register): Handle Semantic
16768 tags. From commented-out advice in semantic/senator.el.
16770 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16772 * vc.el (vc-log-show-limit): New variable.
16773 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16774 when using a prefix argument.
16775 (vc-print-log-internal): Add new argument LIMIT.
16777 * vc-svn.el (vc-svn-print-log):
16778 * vc-mtn.el (vc-mtn-print-log):
16779 * vc-hg.el (vc-hg-print-log):
16780 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16781 pass it to the log command when set. Make the BUFFER argument
16784 * vc-sccs.el (vc-sccs-print-log):
16785 * vc-rcs.el (vc-rcs-print-log):
16786 * vc-git.el (vc-git-print-log):
16787 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16788 ignore it. Make the BUFFER argument non-optional.
16790 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16792 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16794 * dired.el (dired-mode-map): Move encryption items to "Operate"
16797 * strokes.el (strokes-update-window-configuration): Make strokes
16798 buffer current before erasing (Bug#4906).
16800 2009-11-15 Juri Linkov <juri@jurta.org>
16802 * simple.el (set-mark-default-inactive): Add :type, :group
16803 and :version. (Bug#4876)
16805 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16807 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16808 (archive-unique-fname): ... here. (Bug#4929)
16810 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16812 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16815 * novice.el (disabled-command-function): Add useful args.
16816 Setup the help buffer so that [back] works.
16817 Remove redundant call to help-mode.
16818 (disabled-command-function): Use `case'.
16819 (en/disable-command): New function extracted from enable-command.
16820 (enable-command, disable-command): Use it.
16822 2009-11-14 Glenn Morris <rgm@gnu.org>
16824 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16825 constants. (Bug#4913)
16827 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16829 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16831 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16832 defined in C that have no doc-strings. (Bug#1063)
16834 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16836 * cus-edit.el (data, files):
16837 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16839 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16841 * simple.el (shell-command): Doc fix (Bug#4891).
16843 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16845 2009-11-14 Glenn Morris <rgm@gnu.org>
16847 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16848 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16849 If they are already loaded, eval-after-load will do the right thing.
16851 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16854 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16856 * simple.el (x-selection-owner-p): Declare.
16857 (read-mail-command): Use custom radio type rather than choice.
16858 (completion-no-auto-exit): Doc fix.
16860 * custom.el (defgroup):
16861 * epg-config.el (epg): Doc fixes.
16863 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16865 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16866 * international/ccl.el (define-ccl-program): Do not purecopy the
16867 docstring, defconst does it anyway.
16869 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16871 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16874 * x-dnd.el (x-dnd-maybe-call-test-function):
16875 * window.el (split-window-vertically):
16876 * whitespace.el (whitespace-help-on):
16877 * vc-rcs.el (vc-rcs-consult-headers):
16878 * userlock.el (ask-user-about-lock-help)
16879 (ask-user-about-supersession-help):
16880 * type-break.el (type-break-force-mode-line-update):
16881 * time-stamp.el (time-stamp-conv-warn):
16882 * terminal.el (te-set-output-log, te-more-break, te-filter)
16883 (te-sentinel, terminal-emulator):
16884 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16885 (term-write-input-ring, term-check-source, term-start-output-log):
16886 (term-display-buffer-line, term-dynamic-list-completions):
16887 (term-ansi-make-term, serial-term):
16888 * subr.el (selective-display):
16889 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16890 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16891 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16892 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16893 (speedbar-remove-localized-speedbar-support)
16894 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16895 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16896 (speedbar-buffers-line-directory):
16897 * simple.el (shell-command-on-region, append-to-buffer)
16898 (prepend-to-buffer):
16899 * shadowfile.el (shadow-save-todo-file):
16900 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16901 (scroll-bar-maybe-set-window-start):
16902 * sb-image.el (speedbar-image-dump):
16903 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16904 (load-save-place-alist-from-file):
16905 * ps-samp.el (ps-print-message-from-summary):
16906 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16907 (ps-background-image, ps-begin-job, ps-do-despool):
16908 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16909 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16910 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16911 (pr-call-process, pr-file-list, pr-interface-save):
16912 * novice.el (disabled-command-function)
16913 (enable-command, disable-command):
16914 * mouse.el (mouse-buffer-menu-alist):
16915 * mouse-copy.el (mouse-kill-preserving-secondary):
16916 * macros.el (kbd-macro-query):
16917 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16918 * informat.el (batch-info-validate):
16919 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16920 * hippie-exp.el (try-expand-dabbrev-visible):
16921 * help-mode.el (help-make-xrefs):
16922 * help-fns.el (describe-variable):
16923 * generic-x.el (bat-generic-mode-run-as-comint):
16924 * finder.el (finder-mouse-select):
16925 * find-dired.el (find-dired-sentinel):
16926 * filesets.el (filesets-file-close):
16927 * files.el (list-directory):
16928 * faces.el (list-faces-display, describe-face):
16929 * facemenu.el (list-colors-display):
16930 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16931 * epg.el (epg--process-filter, epg-cancel):
16932 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16933 (epa--read-signature-type):
16934 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16935 (emerge-file-names):
16936 * ehelp.el (electric-helpify):
16937 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16938 * ediff-vers.el (rcs-ediff-view-revision):
16939 * ediff-util.el (ediff-setup):
16940 * ediff-mult.el (ediff-append-custom-diff):
16941 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16943 * echistory.el (Electric-command-history-redo-expression):
16944 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16945 * disp-table.el (describe-display-table):
16946 * dired.el (dired-find-buffer-nocreate):
16947 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16948 * dabbrev.el (dabbrev--same-major-mode-p):
16949 * chistory.el (list-command-history):
16950 * apropos.el (apropos-documentation):
16951 * allout.el (allout-obtain-passphrase):
16952 (allout-copy-exposed-to-buffer):
16953 (allout-verify-passphrase): Use with-current-buffer.
16955 2009-11-13 Glenn Morris <rgm@gnu.org>
16957 * Makefile.in (ELCFILES): Regenerate.
16959 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16961 * net/dbus.el (dbus-registered-objects-table): Rename from
16962 `dbus-registered-functions-table', because it contains also properties.
16963 (dbus-unregister-object): Unregister also properties.
16964 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16965 Use a timeout of 500 msec, in order to not block.
16966 (dbus-register-property, dbus-property-handler): New defuns.
16968 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16970 * simple.el (minibuffer-default-add-completions): Drop deprecated
16973 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16975 * textmodes/artist.el (artist-mouse-choose-operation):
16976 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16977 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16978 (artist-compute-up-event-key): New function.
16979 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16981 2009-11-13 Kenichi Handa <handa@m17n.org>
16983 * language/japan-util.el: Make sure that the value of jisx0208
16984 property is jisx0208 character.
16986 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16988 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16989 car or each item, not the whole list.
16991 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16993 * minibuffer.el (minibuffer-completion-help):
16994 Use minibuffer-hide-completions.
16996 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16998 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16999 (dired-revert): Use them (bug#4880).
17001 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17003 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17005 2009-11-12 Juri Linkov <juri@jurta.org>
17007 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17009 (find-file-literally-at-point): Alias of `ffap-literally'.
17011 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17013 * textmodes/ispell.el (ispell-skip-region-alist):
17014 * textmodes/css-mode.el (auto-mode-alist):
17015 * progmodes/compile.el (auto-mode-alist):
17016 * international/mule.el (ctext-non-standard-encodings-alist)
17017 (ctext-non-standard-encodings-regexp):
17018 * simple.el (shell-command-switch, text-read-only):
17019 * replace.el (occur-mode-map):
17020 * paths.el (rmail-file-name):
17021 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17022 * find-file.el (ff-special-constructs):
17023 * files.el (file-name-handler-alist):
17024 * composite.el: Purecopy strings.
17026 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17028 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17030 * widget.el (define-widget): Purecopy the docstring.
17031 * international/mule-cmds.el (charset): Do not purecopy the
17032 docstring here, define-widget does it.
17034 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17035 * textmodes/bibtex-style.el (auto-mode-alist):
17036 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17037 * progmodes/compile.el (compile-command):
17038 * language/korea-util.el (default-korean-keyboard):
17039 * international/mule-conf.el (file-coding-system-alist):
17040 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17041 * tooltip.el (tooltip-frame-parameters):
17042 * newcomment.el (comment-end, comment-padding):
17043 * dired.el (dired-trivial-filenames):
17044 * comint.el (comint-file-name-prefix): Purecopy initial values.
17046 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17048 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17049 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17051 (tramp-advice-make-auto-save-file-name)
17052 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17053 after removing the advice.
17055 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17057 * progmodes/grep.el (grep-regexp-alist):
17058 * international/mule-cmds.el (iso-2022-control-alist):
17059 * emacs-lisp/timer.el (timer-duration-words):
17060 * subr.el (version-separator, version-regexp-alist):
17061 * minibuffer.el (completion-styles-alist):
17062 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17063 Change defvars to defconsts.
17065 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17066 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17067 * international/mule-conf.el: Allow to be byte compiled.
17069 * international/mule.el (define-charset): Purecopy props.
17070 (load-with-code-conversion): Purecopy doc string and file name.
17071 (put-charset-property): Purecopy strings.
17072 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17074 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17075 (define-char-code-property): Correctly purecopy the table.
17077 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17079 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17081 * subr.el (add-hook): Purecopy strings.
17082 (eval-after-load): Purecopy load-history-regexp and the form.
17084 * custom.el (custom-declare-group): Purecopy load-file-name.
17086 * subr.el (menu-bar-separator): New defconst.
17087 * net/eudc.el (eudc-tools-menu):
17088 * international/mule-cmds.el (set-coding-system-map)
17089 (mule-menu-keymap):
17090 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17091 * vc-hooks.el (vc-menu-map):
17092 * replace.el (occur-mode-map):
17093 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17094 (menu-bar-edit-menu, menu-bar-goto-menu)
17095 (menu-bar-custom-menu, menu-bar-showhide-menu)
17096 (menu-bar-options-menu, menu-bar-tools-menu)
17097 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17098 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17099 (menu-bar-help-menu):
17100 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17101 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17103 * term/x-win.el (x-gtk-stock-map):
17104 * progmodes/vera-mode.el (auto-mode-alist):
17105 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17106 (inferior-lisp-program, inferior-lisp-load-command):
17107 * progmodes/hideshow.el (hs-special-modes-alist):
17108 * progmodes/gud.el (same-window-regexps):
17109 * progmodes/grep.el (grep-program, find-program, xargs-program):
17110 * net/telnet.el (same-window-regexps):
17111 * net/rlogin.el (same-window-regexps):
17112 * language/ethiopic.el (font-ccl-encoder-alist):
17113 * vc-sccs.el (vc-sccs-master-templates):
17114 * vc-rcs.el (vc-rcs-master-templates):
17115 * subr.el (cl-assertion-failed):
17116 * simple.el (next-error-overlay-arrow-position):
17117 * lpr.el (lpr-command):
17118 * locate.el (locate-ls-subdir-switches):
17119 * info.el (same-window-regexps, info)
17120 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17121 * image-mode.el (image-mode, auto-mode-alist):
17122 * hippie-exp.el (hippie-expand-ignore-buffers):
17123 * format.el (format-alist):
17124 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17126 * facemenu.el (facemenu-keybindings):
17127 * dired.el (dired-listing-switches, dired-chown-program):
17128 * diff.el (diff-switches, diff-command):
17129 * cus-edit.el (same-window-regexps):
17130 * bindings.el (mode-line-mule-info)
17131 (mode-line-buffer-identification): Purecopy strings.
17133 2009-11-11 Juri Linkov <juri@jurta.org>
17135 * simple.el (dired-get-filename) <declare-function>:
17136 Tell the byte-compiler about dired-get-filename.
17137 (shell-command): In Dired mode, get filename from the current line
17138 as the default value.
17140 2009-11-10 Glenn Morris <rgm@gnu.org>
17142 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17143 * calendar/holidays.el, progmodes/cperl-mode.el:
17144 Update x-popup-menu declarations.
17146 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17147 (list-load-path-shadows): Use dolist.
17148 (list-load-path-shadows): Use with-current-buffer.
17150 2009-11-10 Juri Linkov <juri@jurta.org>
17152 * minibuffer.el (read-file-name): Support a list of default values
17153 in `default-filename'. Use the first file name where only one
17154 element is required. Doc fix.
17156 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17158 * net/dbus.el (dbus-unregister-object): Release service, if no
17159 other method is registered for it.
17161 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17163 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17164 bookmark-sort-flag is non-nil (Bug#4653).
17166 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17168 * emulation/cua-base.el: Add CUA property to some CC mode commands
17171 2009-11-08 Kevin Ryde <user42@zip.com.au>
17173 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17174 at end of sentence (Bug#4818).
17176 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17178 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17179 Handle "see declaration of" MSFT statements (Bug#4100).
17181 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17183 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17184 (tramp-advice-file-expand-wildcards): Unload via
17185 `ad-remove-advice'.
17187 * net/trampver.el: Update release number.
17189 2009-11-08 Kevin Ryde <user42@zip.com.au>
17191 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17194 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17196 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17197 in order to keep context in SELinux.
17199 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17201 * dired-aux.el (dired-query): Place cursor in echo area and allow
17204 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17205 menu item if not on a directory (Bug#4701).
17207 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17209 Sync with Tramp 2.1.17.
17211 * net/tramp.el (tramp-handle-copy-directory): Don't use
17212 `file-remote-p' (due to compatibility).
17214 * net/tramp-compat.el (tramp-compat-copy-directory)
17215 (tramp-compat-delete-directory): New defuns.
17217 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17218 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17219 Use `tramp-compat-delete-directory'.
17221 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17222 (tramp-smb-handle-delete-directory):
17223 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17225 * net/trampver.el: Update release number.
17227 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17229 * tar-mode.el (tar-copy): Call write-region on the right buffer
17232 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17233 by hand, if necessary (Bug#4878).
17235 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17237 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17238 align size column (Bug#4839).
17240 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17243 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17245 * progmodes/ld-script.el (auto-mode-alist):
17246 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17248 * cus-face.el (custom-declare-face): Purecopy face spec.
17250 2009-11-06 Kenichi Handa <handa@m17n.org>
17252 * international/uni-bidi.el: Re-generated.
17253 * international/uni-category.el: Re-generated.
17254 * international/uni-combining.el: Re-generated.
17255 * international/uni-mirrored.el: Re-generated.
17257 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17259 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17260 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17261 (tex-start-options, slitex-run-command, latex-run-command)
17262 (tex-run-command, tex-directory):
17263 * textmodes/ispell.el (ispell-html-skip-alists)
17264 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17265 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17266 (adaptive-fill-regexp):
17267 * textmodes/dns-mode.el (auto-mode-alist):
17268 * progmodes/python.el (interpreter-mode-alist):
17269 * progmodes/etags.el (tags-compression-info-list):
17270 * progmodes/etags.el (tags-file-name):
17271 * net/browse-url.el (browse-url-galeon-program)
17272 (browse-url-firefox-program):
17273 * mail/sendmail.el (mail-signature-file)
17274 (mail-citation-prefix-regexp):
17275 * international/mule-conf.el (eight-bit):
17276 * international/latexenc.el (latex-inputenc-coding-alist):
17277 * international/fontset.el (x-pixel-size-width-font-regexp):
17278 * emacs-lisp/warnings.el (warning-type-format):
17279 * emacs-lisp/trace.el (trace-buffer):
17280 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17281 (emacs-lisp-mode-map):
17282 * calendar/holidays.el (holiday-solar-holidays)
17283 (holiday-bahai-holidays, holiday-islamic-holidays)
17284 (holiday-christian-holidays, holiday-hebrew-holidays)
17285 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17286 (hebrew-holidays-1, holiday-oriental-holidays)
17287 (holiday-general-holidays):
17288 * x-dnd.el (x-dnd-known-types):
17289 * tool-bar.el (tool-bar):
17290 * startup.el (site-run-file):
17291 * shell.el (shell-dumb-shell-regexp):
17292 * rfn-eshadow.el (file-name-shadow-tty-properties)
17293 (file-name-shadow-properties):
17294 * paths.el (remote-shell-program, news-directory):
17295 * mouse.el ([C-down-mouse-3]):
17296 * menu-bar.el (menu-bar-tools-menu):
17297 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17298 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17299 (jka-compr-compression-info-list):
17300 * isearch.el (search-whitespace-regexp):
17301 * image-file.el (image-file-name-extensions):
17302 * find-dired.el (find-ls-option):
17303 * files.el (directory-listing-before-filename-regexp)
17304 (directory-free-space-args, insert-directory-program)
17305 (list-directory-brief-switches, magic-fallback-mode-alist)
17306 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17307 (automount-dir-prefix):
17308 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17309 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17310 (face-font-registry-alternatives, face-font-registry-alternatives)
17311 (face-font-family-alternatives):
17312 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17313 (facemenu-foreground-menu, facemenu-face-menu):
17314 * epa-hook.el (epa-file-name-regexp):
17315 * dnd.el (dnd-protocol-alist):
17316 * textmodes/rst.el (auto-mode-alist):
17317 * button.el (default-button): Purecopy strings.
17319 2009-11-06 Glenn Morris <rgm@gnu.org>
17321 * Makefile.in (ELCFILES): Update.
17323 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17325 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17326 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17328 * nxml/xsd-regexp.el (xsdre-gen-categories):
17329 * nxml/xmltok.el (xmltok-parse-entity):
17330 * nxml/rng-parse.el (rng-parse-validate-file):
17331 * nxml/rng-maint.el (rng-format-manual)
17332 (rng-manual-output-force-new-line):
17333 * nxml/rng-loc.el (rng-save-schema-location-1):
17334 * nxml/rng-cmpct.el (rng-c-parse-file):
17335 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17336 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17338 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17340 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17341 Remove extra save-excursions and make-variable-buffer-local's.
17342 Suggested by Stefan Monnier.
17344 (verilog-getopt-file, verilog-module-inside-filename-p)
17345 (verilog-set-define): Merge GNU 1.35 and repair changes from
17346 switching to using with-current-buffer.
17348 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17349 being treated as a number and confusing AUTORESET.
17350 Reported by Dan Dever.
17352 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17353 Add verilog-auto-ignore-concat to fix backward compatibility with
17354 older verilog-modes. Reported by Dan Katz.
17356 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17357 containing closing anchors "...$".
17359 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17360 Reported by Wade Smith.
17362 (verilog-batch-execute-func): Comment on function usage.
17364 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17366 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17369 (verilog-label-re, verilog-calc-1): Support proper indent of named
17372 (verilog-backward-token, verilog-basic-complete-re)
17373 (verilog-beg-of-statement, verilog-indent-re): Support proper
17374 indent of the assert statement at the beginning of a block of text.
17376 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17377 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17380 2009-11-05 Glenn Morris <rgm@gnu.org>
17382 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17383 Emacs 19. (Bug#1531)
17384 (byte-compile-fix-header): Update for the above change.
17385 Drop test for epoch::version.
17387 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17388 * cus-dep.el (custom-make-dependencies):
17389 * finder.el (finder-compile-keywords):
17390 Use autoload-rubric's feature argument.
17392 * calendar/diary-lib.el (top-level): Make load behave more like require.
17394 * vc-git.el (vc-git-stash-map): Move definition before use.
17396 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17398 * custom.el (custom-declare-group): Purecopy standard-value.
17399 (custom-declare-group): Purecopy custom-prefix.
17401 * international/mule.el (load-with-code-conversion):
17402 Call do-after-load-evaluation unconditionally.
17404 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17406 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17408 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17410 2009-11-04 Glenn Morris <rgm@gnu.org>
17412 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17413 (byte-compile-compatibility): Remove option.
17414 (byte-compile-close-variables, byte-compile-fix-header)
17415 (byte-compile-insert-header, byte-compile-output-docform)
17416 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17417 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17418 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17419 (byte-compile-insert, byte-compile-defun):
17420 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17421 (byte-defop-compiler19): Remove.
17422 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17423 used by anything. Replace all calls with byte-defop-compiler.
17425 2009-11-04 Juri Linkov <juri@jurta.org>
17427 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17428 (menu-bar-options-menu): Don't quote the `prop' arg of
17429 `menu-bar-make-mm-toggle'.
17431 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17433 * calendar/calendar.el (cal-loaddefs):
17434 * calendar/diary-lib.el (diary-loaddefs):
17435 * calendar/holidays.el (hol-loaddefs):
17436 * eshell/esh-module.el (esh-groups): Load rather than require.
17438 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17440 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17442 (todo-top-priorities): Only display-buffer when called interactively.
17443 (todo-item-start): Don't save excursion point.
17444 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17445 (todo-insert-item-here, todo-file-item, todo-remove-item):
17446 Adjust uses of todo-item-start and todo-item-end.
17448 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17449 (autoload-rubric): Don't use any more.
17451 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17452 and only put a prop if it is non-nil.
17454 2009-11-03 Juri Linkov <juri@jurta.org>
17456 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17457 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17459 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17460 and "Menu" to make top-level menu item visually one unit (like
17461 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17462 multi-word menu items). Fix :help string for quit-window.
17464 2009-11-03 Glenn Morris <rgm@gnu.org>
17466 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17467 (byte-compile-file-form-define-abbrev-table)
17468 (byte-compile-file-form-custom-declare-variable)
17469 (byte-compile-variable-ref, byte-compile-defvar):
17470 Whether or not a warning is enabled should only affect whether we issue
17471 the warning, not whether or not we collect the relevant data.
17472 Eg warnings can be turned on and off throughout the course of a file.
17474 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17475 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17477 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17479 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17480 * play/mpuz.el (mpuz-create-buffer):
17481 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17482 (lm-print-y,s,noise, lm-print-w0, lm-init):
17483 * play/gomoku.el (gomoku-prompt-for-move):
17484 * play/fortune.el (fortune-in-buffer):
17485 * play/dissociate.el (dissociated-press):
17486 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17487 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17488 * mail/supercite.el (sc-eref-show):
17489 * mail/smtpmail.el (smtpmail-send-it):
17490 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17491 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17492 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17493 (rmail-summary-goto-msg, rmail-summary-expunge)
17494 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17495 (rmail-summary-add-label, rmail-summary-output-menu)
17496 (rmail-summary-output-body):
17497 * mail/rfc822.el (rfc822-addresses):
17498 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17499 * mail/mailpost.el (post-mail-send-it):
17500 * mail/hashcash.el (hashcash-generate-payment):
17501 * mail/feedmail.el (feedmail-run-the-queue)
17502 (feedmail-queue-send-edit-prompt-help-first)
17503 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17504 (feedmail-deduce-address-list):
17505 * eshell/esh-ext.el (eshell-remote-command):
17506 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17507 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17508 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17509 (viper-save-string-in-file, viper-valid-marker):
17510 * emulation/viper-keym.el (viper-toggle-key):
17511 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17512 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17513 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17514 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17515 (viper-exec-form-in-emacs, viper-brac-function):
17516 * emulation/viper.el (viper-delocalize-var):
17517 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17518 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17519 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17520 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17521 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17522 * emulation/edt.el (edt-electric-helpify):
17523 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17524 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17525 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17526 (cua-indent-to-global-mark-column):
17527 * calendar/diary-lib.el (calendar-mark-1):
17528 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17529 Use with-current-buffer.
17530 * emulation/viper.el (viper-delocalize-var): Use dolist.
17532 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17534 * comint.el (comint-replace-by-expanded-history-before-point):
17535 Replace !! with the previous input string literally (Bug#1795).
17537 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17539 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17540 to be made up of whitespace.
17542 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17544 * minibuffer.el (read-file-name): Don't use file dialogs for
17545 remote directories (Bug#99).
17547 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17549 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17551 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17553 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17554 instead of deleting the window or frame.
17556 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17558 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17559 Support face colors.
17561 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17562 New function. Support face colors (Bug#1168).
17563 (tex-common-initialization): Use it.
17565 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17566 mode allows it (Bug#1168).
17568 2009-10-31 Juri Linkov <juri@jurta.org>
17570 * facemenu.el (list-colors-display): Don't mark buffer as
17571 modified (Bug#3948).
17573 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17575 * international/mule-diag.el (list-character-sets-1):
17576 Minor message fix (Bug#3526).
17578 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17579 Fix face property (Bug#4834).
17580 (etags-list-tags, etags-tags-apropos-additional)
17581 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17584 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17587 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17589 * textmodes/two-column.el (2C-split):
17590 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17591 * textmodes/tex-mode.el (tex-set-buffer-directory):
17592 * textmodes/spell.el (spell-region, spell-string):
17593 * textmodes/reftex.el (reftex-erase-buffer):
17594 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17595 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17596 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17597 (reftex-select-item):
17598 * textmodes/reftex-ref.el (reftex-label-info-update)
17599 (reftex-offer-label-menu):
17600 * textmodes/reftex-index.el (reftex-index-change-entry)
17601 (reftex-index-phrases-info):
17602 * textmodes/reftex-global.el (reftex-create-tags-file)
17603 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17604 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17605 (reftex-view-crossref-from-bibtex):
17606 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17607 (reftex-extract-bib-entries-from-thebibliography)
17608 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17609 * textmodes/refbib.el (r2b-capitalize-title):
17610 (r2b-convert-buffer, r2b-help):
17611 * textmodes/page-ext.el (pages-directory)
17612 (pages-directory-goto-with-mouse):
17613 * textmodes/bibtex.el (bibtex-validate-globally):
17614 * textmodes/bib-mode.el (bib-capitalize-title):
17615 * textmodes/artist.el (artist-clear-buffer, artist-system):
17616 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17617 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17618 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17619 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17620 (xscheme-send-control-g-interrupt, xscheme-start-process)
17621 (xscheme-process-sentinel, xscheme-cd):
17622 * progmodes/verilog-mode.el (verilog-read-always-signals)
17623 (verilog-set-define, verilog-getopt-file)
17624 (verilog-module-inside-filename-p):
17625 * progmodes/sh-script.el:
17626 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17627 (python-pdbtrack-grub-for-buffer, python-execute-file):
17628 * progmodes/octave-inf.el (inferior-octave):
17629 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17630 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17631 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17632 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17633 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17634 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17635 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17636 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17637 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17638 (idlwave-shell-examine-display, idlwave-shell-run-region)
17639 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17640 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17641 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17642 (idlwave-help-get-help-buffer):
17643 * progmodes/gud.el (gud-basic-call, gud-find-class)
17644 (gud-tooltip-activate-mouse-motions-if-enabled):
17645 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17646 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17647 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17648 (ebrowse-tags-next-file):
17649 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17650 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17651 (ebnf-eps-finish-and-write):
17652 * progmodes/cpp.el (cpp-edit-save):
17653 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17654 * progmodes/cc-defs.el (c-emacs-features):
17655 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17656 (antlr-directory-dependencies):
17657 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17658 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17659 (ada-find-any-references, ada-make-filename-from-adaname)
17660 (ada-make-body-gnatstub):
17661 * obsolete/rnews.el (news-list-news-groups):
17662 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17663 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17664 * net/rcirc.el (rcirc-debug):
17665 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17666 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17667 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17668 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17669 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17670 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17671 (newsticker--treeview-list-clear-highlight)
17672 (newsticker--treeview-list-update-highlight)
17673 (newsticker--treeview-list-highlight-start)
17674 (newsticker--treeview-tree-update-highlight)
17675 (newsticker--treeview-get-selected-item)
17676 (newsticker-treeview-mark-list-items-old)
17677 (newsticker--treeview-set-current-node):
17678 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17679 * net/newst-backend.el (newsticker--get-news-by-funcall)
17680 (newsticker--get-news-by-wget, newsticker--image-get)
17681 (newsticker--image-sentinel):
17682 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17683 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17684 (eudc-ph-close-session):
17685 * net/eudc.el (eudc-save-options):
17686 * language/thai-word.el (thai-update-word-table):
17687 * language/japan-util.el (japanese-string-conversion):
17688 * international/titdic-cnv.el (tsang-quick-converter)
17689 (ziranma-converter, ctlau-converter):
17690 * international/mule-cmds.el (describe-language-environment):
17691 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17692 (skkdic-convert-postfix, skkdic-convert-prefix):
17693 (skkdic-convert-okuri-nasi, skkdic-convert):
17694 * emacs-lisp/re-builder.el (reb-update-overlays):
17695 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17696 * emacs-lisp/gulp.el (gulp-send-requests):
17697 * emacs-lisp/find-gc.el (trace-call-tree):
17698 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17699 (eieio-describe-generic):
17700 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17701 * emacs-lisp/edebug.el (edebug-outside-excursion):
17702 * emacs-lisp/debug.el (debugger-make-xrefs):
17703 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17704 * emacs-lisp/chart.el (chart-new-buffer):
17705 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17706 Use with-current-buffer.
17707 * textmodes/artist.el (artist-system): Don't call
17708 copy-sequence on a fresh string.
17709 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17711 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17713 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17714 is no item to edit. (Bug#4820)
17715 (todo-top-priorities): Restore point and restore narrowing in Todo
17718 2009-10-31 Glenn Morris <rgm@gnu.org>
17720 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17721 (comint-last-output-start, comint-last-input-start)
17722 (comint-last-input-end): Don't defvar when compiling.
17723 (ange-ftp-process-file): Use bound-and-true-p.
17725 * pcmpl-rpm.el (top-level): Move provide statement to end.
17726 (pcmpl-rpm): Remove unused custom group.
17728 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17730 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17732 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17733 (byte-compile-warnings): Add `constants' as an option.
17734 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17735 (display-call-tree): Update for byte-compile-fdefinition possibly
17736 returning `(macro lambda ...)'. (Bug#4778)
17737 (byte-compile-variable-ref, byte-compile-setq-default):
17738 Respect `constants' member of byte-compile-warnings.
17740 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17742 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17743 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17746 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17748 * textmodes/ispell.el (ispell-skip-region-alist):
17749 * international/mule-conf.el (eight-bit):
17750 * international/fontset.el (font-encoding-alist):
17751 * startup.el (pure-space-overflow-message):
17752 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17753 * paths.el (gnus-nntp-service, rmail-spool-directory)
17754 (term-file-prefix):
17755 * files.el (save-some-buffers-action-alist):
17756 * cmuscheme.el (same-window-buffer-names):
17757 * ielm.el (same-window-buffer-names):
17758 * shell.el (same-window-buffer-names):
17759 * mail/sendmail.el (same-window-buffer-names):
17760 * progmodes/inf-lisp.el (same-window-buffer-names):
17761 * bindings.el (mode-line-client)
17762 (mode-line-column-line-number-mode-map):
17763 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17764 (tibetan-precomposed-regexp): Purecopy string arguments.
17766 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17768 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17769 (calcDigit-nondigit):
17770 * calc/calc-yank.el (calc-copy-to-buffer):
17771 * calc/calc-units.el (calc-invalidate-units-table):
17772 * calc/calc-trail.el (calc-trail-yank):
17773 * calc/calc-store.el (calc-insert-variables):
17774 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17775 * calc/calc-prog.el (calc-read-parse-table):
17776 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17777 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17778 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17779 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17780 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17781 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17782 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17783 * calc/calc-ext.el (calc-realign):
17784 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17785 (calc-embedded-finish-edit, calc-embedded-make-info)
17786 (calc-embedded-finish-command, calc-embedded-stack-change):
17787 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17789 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17790 shell-dynamic-complete-filename in preference to
17791 comint-dynamic-complete-filename.
17793 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17794 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17795 Don't consider whether the display supports colors.
17796 (bookmark-import-new-list): Use dolist.
17797 (bookmark-bmenu-mode-map): Move initialization into declaration.
17798 (bookmark-bmenu-list): Use dolist, simplify.
17799 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17800 (menu-bar-final-items): Use push.
17802 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17804 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17805 it works on remote files.
17806 (vc-hg-diff): Don't pass any `--cwd' argument.
17808 2009-10-27 Kevin Ryde <user42@zip.com.au>
17810 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17811 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17812 (Further to Bug#3921).
17814 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17816 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17817 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17818 calling `tramp-imap-put-file'. Add file size to the call.
17819 (tramp-imap-get-file-entries): Compute also user name, file size,
17821 (tramp-imap-handle-insert-directory): Insert uid and gid.
17822 (tramp-imap-handle-file-attributes): Transform uid and gid
17823 according to `id-format'.
17824 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17825 size in header X-Size.
17827 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17829 * simple.el (transpose-subr): Give clearer error when the mark
17830 is not set. (Bug#4807)
17832 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17834 * net/tramp.el (tramp-perl-file-truename): New defconst.
17835 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17836 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17837 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17838 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17840 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17841 Ignore `dired-call-process'.
17842 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17844 2009-10-26 Julian Scheid <julians37@gmail.com>
17846 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17847 (tramp-get-remote-readlink): New defun.
17848 (tramp-handle-file-truename): Use it.
17849 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17850 file exists if cache value present.
17851 (tramp-check-cached-permissions): New defun.
17852 (tramp-handle-file-readable-p): Use it.
17853 (tramp-handle-file-writable-p): Likewise.
17854 (tramp-handle-file-executable-p): Likewise.
17855 (tramp-handle-file-name-all-completions): Try using Perl to get
17856 partial completions. When perl not available, combine `cd' and
17857 `ls' into single remote operation and use shell expansion to get
17858 partial remote directory contents. Set `file-exists-p' cache for
17859 directory and any files returned by ls. Change cache handling to
17860 support partial directory contents. Use error message emitted by
17861 remote `cd' or Perl code for local tramp-error.
17862 (tramp-do-copy-or-rename-file-directly): Avoid separate
17863 tramp-send-command-and-check call.
17864 (tramp-handle-process-file): Merge three remote ops into one.
17865 Do not flush all caches when `process-file-side-effects' is set.
17866 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17867 file-attributes shows uid/gid to be set already.
17869 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17871 * textmodes/tex-mode.el (tex-dvi-view-command)
17872 (tex-show-queue-command, tex-open-quote):
17873 * progmodes/ruby-mode.el (auto-mode-alist)
17874 (interpreter-mode-alist): Purecopy strings.
17876 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17878 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17879 string for the hook, keymap and abbrev table.
17881 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17883 * x-dnd.el (x-dnd-xdnd-to-action):
17884 * startup.el (fancy-startup-text, fancy-about-text): Change to
17885 defconst from defvar.
17887 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17889 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17890 Purecopy initialization strings.
17892 * mail/sendmail.el (mail-header-separator)
17893 (mail-personal-alias-file):
17894 * mail/rmail.el (rmail-default-dont-reply-to-names)
17895 (rmail-ignored-headers, rmail-retry-ignored-headers)
17896 (rmail-highlighted-headers, rmail-secondary-file-directory)
17897 (rmail-secondary-file-regexp):
17898 * files.el (null-device, file-name-invalid-regexp)
17899 (locate-dominating-stop-dir-regexp)
17900 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17901 (interpreter-mode-alist): Use mapcar instead of mapc.
17903 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17905 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17906 (completion-ignored-extensions):
17907 (debug-ignored-errors): Purecopy strings.
17909 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17911 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17912 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17913 (pcomplete--here): Use push.
17915 * subr.el (all-completions): Declare the 4th arg obsolete.
17917 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17919 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17920 (pcomplete-unquote-argument): New function.
17921 (pcomplete--common-suffix): Always pay attention to case.
17922 (pcomplete--table-subvert): Quote and unquote the text.
17923 (pcomplete--common-quoted-suffix): New function.
17924 (pcomplete-std-complete): Use it and pcomplete-begin.
17926 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17927 we're inside a dedicated or minibuffer window.
17929 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17931 * bookmark.el: Update documentation, especially documentation
17932 of `bookmark-alist' and of the bookmark file format.
17933 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17935 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17937 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17938 keybindings apply to the mail buffer (Bug#4003). Shrink help
17941 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17942 (global-whitespace-mode, global-whitespace-newline-mode)
17943 (whitespace-toggle-options, global-whitespace-toggle-options):
17944 Doc fix (Bug#3660).
17946 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17947 of xmltok-start before the end tag was inserted (Bug#2840).
17949 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17950 patterns that are preceded by an open-paren (Bug#1320).
17952 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17954 * files.el (delete-directory): Delete symlinks to directories with
17955 delete-file (Bug#4739).
17957 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17959 * vc.el (vc-backend-for-registration): Rename from
17960 vc-get-backend-for-registration. Update callers.
17962 * international/mule-cmds.el (set-language-info-alist):
17964 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17965 (charset): Purecopy the name.
17966 (define-char-code-property): Purecopy string arguments.
17968 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17969 Purecopy string arguments.
17971 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17972 * ediff-hook.el (menu-bar-ediff-menu):
17973 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17974 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17976 2009-10-24 Glenn Morris <rgm@gnu.org>
17978 * comint.el (comint-dynamic-list-completions):
17979 * term.el (term-dynamic-list-completions): Use choose-completion rather
17980 than obsolete alias mouse-choose-completion.
17982 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17983 file-cache-choose-completion.
17984 (file-cache-choose-completion): Handle an optional event argument.
17985 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17987 * progmodes/octave-mod.el (octave-complete-symbol):
17988 Use choose-completion if mouse-choose-completion is ever removed.
17990 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17993 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17996 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17998 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18000 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18001 Ignore `pred' now that we receive one.
18002 Handle test-completion specially.
18004 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18006 * vc.el (vc-responsible-backend): Throw an error if not backend is
18007 found. Remove the REGISTER argument. Move the code dealing with
18009 (vc-get-backend-for-registration): ... here. New function.
18010 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18011 of vc-responsible-backend, pass the file name instead of the
18014 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18016 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18018 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18019 (pcomplete-comint-setup): Don't modify a global var via
18020 accidental side-effects.
18021 (pcomplete-shell-setup): Adjust call accordingly.
18022 (pcomplete-parse-comint-arguments): Use push.
18024 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18026 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18027 Allow uncapitalized info node names (Bug#3921).
18029 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18030 to the DEBUG file (Bug#3781).
18032 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18034 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18035 dictionary entry (Bug#4579).
18037 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18039 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18040 from `rfn-eshadow-update-overlay-hook' when unloading.
18041 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18042 "rsyncc". Adjust doc string.
18043 (tramp-temp-buffer-file-name): New buffer-local defvar.
18044 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18045 Keep temporary file when indicated by method ("rsync" and
18047 (tramp-handle-write-region): Handle APPEND.
18048 (tramp-delete-temp-file-function): New defun. Added to
18049 `kill-buffer-hook'.
18051 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18053 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18055 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18057 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18058 (color-name-rgb-alist, tty-standard-colors)
18059 (tty-color-mode-alist): Change to defconst.
18061 * simple.el (mark-inactive): Purecopy message.
18063 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18064 (global-map, yank-menu):
18065 * textmodes/ispell.el (ispell-menu-map):
18066 * net/eudc.el (eudc-tools-menu):
18067 * international/mule-cmds.el (describe-language-environment-map)
18068 (setup-language-environment-map, set-coding-system-map)
18069 (mule-menu-keymap):
18070 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18071 * replace.el (occur-mode-map):
18072 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18074 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18076 * calc/calc.el (math-read-number, math-read-number-simple):
18077 Use `save-match-data'.
18079 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18081 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18082 rather than fiddling with global-map bindings, since it should only
18083 affect per-terminal settings.
18084 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18086 * minibuffer.el (completion-table-with-terminator): Allow to specify
18087 the terminator-regexp.
18089 * simple.el (switch-to-completions): Look for *Completions* in other
18092 * pcomplete.el: Allow the use of completion-tables.
18093 (pcomplete-std-complete): New command.
18094 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18095 (pcomplete--here): Use a function for `form' rather than an expression,
18096 so it can be byte-compiled.
18097 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18098 Add edebug declaration.
18099 (pcomplete-show-completions): Remove unused var `curbuf'.
18100 (pcomplete-do-complete, pcomplete-stub):
18101 Don't assume `completions' is a list of strings any more.
18103 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18105 * find-dired.el (find-name-arg): Fix typo in docstring.
18107 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18109 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18110 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18112 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18115 * comint.el (comint-read-input-ring, comint-write-input-ring)
18116 (comint-substitute-in-file-name)
18117 (comint-dynamic-complete-as-filename)
18118 (comint-dynamic-simple-complete)
18119 (comint-dynamic-list-filename-completions)
18120 (comint-dynamic-list-completions)
18121 (comint-redirect-results-list-from-process): Minor simplifications.
18123 2009-10-21 Kevin Ryde <user42@zip.com.au>
18125 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18126 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18127 the first form. And insert a blank line after ";;; Code" since
18128 that's usual style. (Bug#4612)
18130 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18132 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18134 * minibuffer.el (completion-table-with-terminator): Properly implement
18135 boundaries, in case `terminator' appears in the suffix.
18136 (completion--embedded-envvar-table): Don't return boundaries if
18137 there's no valid completion. Simplify.
18138 (completion-file-name-table): New completion table extracted from
18139 completion--file-name-table.
18140 (completion--file-name-table): Use it.
18141 (read-file-name-predicate): Declare obsolete.
18142 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18143 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18144 completion-file-name-table, and use the `pred' argument.
18145 * files.el (locate-file-completion-table): Use the `pred' arg rather
18146 than read-file-name-predicate.
18147 (abbreviate-file-name): Use \` rather than ^ for BOS.
18149 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18151 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18152 vc-responsible-backend to register, it causes problems.
18154 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18156 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18158 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18160 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18161 (tramp-smb-handle-file-attributes): Use it.
18162 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18163 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18164 `mapcar'. Use `tramp-smb-get-stat-capability'.
18165 Add `dired-filename' text properties.
18166 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18167 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18170 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18172 * subr.el (read-key-delay): Reduce to 0.01.
18173 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18176 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18178 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18180 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18181 (Info-menu): Remove unused vars `last' and `completions'.
18182 (Info-index-nodes): Remove unused var `node'.
18184 * info.el (Info-complete-menu-item): Use complete-with-action.
18186 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18188 Make vc-annotate work through copies and renames.
18189 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18190 Return the file name too.
18191 (vc-annotate-revision-at-line)
18192 (vc-annotate-find-revision-at-line)
18193 (vc-annotate-revision-previous-to-line)
18194 (vc-annotate-show-log-revision-at-line): Update to get the file
18195 name from vc-annotate-extract-revision-at-line.
18196 (vc-annotate-show-diff-revision-at-line-internal): Change the
18197 argument to mean whether to show a file diff or not. Get the file
18198 name from vc-annotate-extract-revision-at-line.
18199 (vc-annotate-show-diff-revision-at-line):
18200 Update vc-annotate-show-diff-revision-at-line call.
18201 (vc-annotate-warp-revision): Add an optional file argument.
18203 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18204 (vc-git-annotate-extract-revision-at-line): Also return the file
18207 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18208 command. Remove unused code.
18209 (vc-hg-annotate-re): Update to match --follow output.
18210 (vc-hg-annotate-extract-revision-at-line): Also return the file
18213 * vc.el: Update annotate-extract-revision-at-line documentation.
18215 2009-10-18 Kevin Ryde <user42@zip.com.au>
18217 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18218 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18220 * net/browse-url.el (browse-url): Identify alist with "consp and
18221 not functionp" and let all other things go down the `apply' leg,
18222 as suggested by Stefan. (Further to bug#4531.)
18224 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18226 * minibuffer.el (read-file-name): Check for repeat before putting
18227 a default argument in file-name-history (Bug#4657).
18229 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18230 read syntax (Bug#4737).
18232 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18234 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18236 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18237 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18238 entries and make note of obsolete tags.
18240 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18242 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18244 2009-10-18 Glenn Morris <rgm@gnu.org>
18246 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18247 grep, so that binary files (eg international/uni-bidi.el) can match.
18248 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18249 now, and in any case the file header format has changed.
18251 2009-10-17 Glenn Morris <rgm@gnu.org>
18253 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18254 (flyspell-get-word, flyspell-large-region)
18255 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18257 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18259 * Makefile.in (ELCFILES): Add ede/shell.
18261 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18263 * term/common-win.el (x-colors): Purecopy it.
18265 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18267 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18268 permissive for when the buffer is empty.
18269 (tar-header-block-tokenize): Decode the username and groupname.
18270 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18272 2009-10-17 Eric Ludlam <zappo@gnu.org>
18274 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18275 contains multibyte characters, choose first applicable coding
18276 system automatically.
18278 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18280 * international/mule-cmds.el (select-safe-coding-system): If the file
18281 has a coding cookie, use it regardless of any other setting (bug#4712).
18283 2009-10-17 Glenn Morris <rgm@gnu.org>
18285 * foldout.el (foldout-mouse-swallow-events):
18286 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18288 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18289 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18290 (dired-keep-marker-symlink, dired-dwim-target)
18291 (dired-copy-preserve-time): Do not autoload these defcustoms.
18293 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18294 messages from messing up the file coding. (Bug#4623)
18296 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18298 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18299 if no match is found for the current dictionary. (Bug#4578)
18301 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18302 optional, since that is how it is documented, and this is often called
18303 with a nil argument. (Bug#4577)
18304 (flyspell-external-point-words, flyspell-auto-correct-word)
18305 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18306 (flyspell-word-search-backward): Remove nil argument in calls to
18307 flyspell-get-word, since it is not needed now.
18309 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18311 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18313 2009-10-16 Glenn Morris <rgm@gnu.org>
18315 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18317 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18319 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18320 (ange-ftp-file-size): New function.
18321 (ange-ftp-file-attributes): Use it.
18323 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18325 * net/tramp-smb.el (tramp-smb-version): New defvar.
18326 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18329 2009-10-16 Glenn Morris <rgm@gnu.org>
18331 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18332 Maybe copy some custom properties from old to new name. (Bug#4706)
18334 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18336 * subr.el (error, sit-for, start-process-shell-command)
18337 (start-file-process-shell-command): Set the calling convention
18338 after the function definition.
18340 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18342 * subr.el (error, sit-for, start-process-shell-command)
18343 (start-file-process-shell-command): Use the new
18344 set-advertised-calling-convention feature.
18346 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18348 * international/ucs-normalize.el (ucs-normalize-version):
18350 (check-range): Adjust for Unicode 5.2.
18352 2009-10-15 Juri Linkov <juri@jurta.org>
18354 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18355 to the `menu-item' format.
18357 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18359 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18360 if the environment variable does not exist.
18362 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18363 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18365 (tramp-smb-handle-add-name-to-file)
18366 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18367 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18368 (tramp-smb-handle-file-attributes)
18369 (tramp-smb-do-file-attributes-with-stat)
18370 (tramp-smb-handle-file-local-copy)
18371 (tramp-smb-handle-insert-directory)
18372 (tramp-smb-handle-make-directory)
18373 (tramp-smb-handle-make-directory-internal)
18374 (tramp-smb-handle-make-symbolic-link)
18375 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18376 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18377 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18378 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18379 Handle long file names.
18380 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18381 process is running.
18382 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18383 Read share names with "-g" option.
18385 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18387 * net/rcirc.el (rcirc-view-log-file): New command.
18388 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18389 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18392 2009-10-15 Glenn Morris <rgm@gnu.org>
18394 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18395 from the second command-line argument.
18396 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18397 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18398 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18399 w32-batch-update-autoloads.
18400 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18401 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18403 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18404 the headers cannot be located. Simplify, subtracting superflous
18407 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18409 Replace completion-base-size by completion-base-position to fix bugs
18410 such as (bug#4699).
18411 * simple.el (completion-base-position): New var.
18412 (completion-base-size): Mark as obsolete.
18413 (choose-completion): Make it work for mouse events as well.
18414 Pass the new base-position to choose-completion-string.
18415 (choose-completion-guess-base-position): New function, extracted from
18416 choose-completion-delete-max-match.
18417 (choose-completion-delete-max-match): Use it. Make obsolete.
18418 (choose-completion-string): Use the new base-position info.
18419 (completion-root-regexp): Delete.
18420 (completion-setup-function): Preserve completion-base-position.
18421 Eliminate obsolete base-size manipulation.
18422 * minibuffer.el (display-completion-list): Don't mess with base-size.
18423 (minibuffer-completion-help): Set completion-base-position instead.
18424 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18426 * textmodes/bibtex.el (bibtex-complete):
18427 * emacs-lisp/crm.el (crm--choose-completion-string):
18428 Adjust to new calling convention.
18429 * complete.el (partial-completion-mode): Use minibufferp to avoid
18430 bumping into incompatible change to choose-completion-string-functions.
18431 * ido.el (ido-choose-completion-string): Make its calling convention
18433 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18434 base-size manipulation.
18435 (comint-dynamic-list-input-ring): Use dotimes and push.
18436 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18437 fundamental-mode. Use `or'.
18439 2009-10-14 Juri Linkov <juri@jurta.org>
18441 * misearch.el (multi-isearch-next-buffer-from-list)
18442 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18444 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18446 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18449 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18450 string we return is all made up of text from the completions rather
18451 than part from the completions and part from the input (bug#4219).
18453 * ido.el (ido-everywhere): Use define-minor-mode.
18455 * buff-menu.el (list-buffers, ctl-x-map):
18456 Mark the entry points with ;;;###autoload cookies.
18458 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18460 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18461 correctly in the detached head case.
18462 (vc-git-print-log): Remove unused binding.
18464 * vc.el (vc-responsible-backend): When a directory is passed for
18465 for registration create a VC repository if no backend is
18466 responsible for the directory argument.
18467 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18469 * vc.el: Move comments about RCS and SCCS ...
18471 * vc-sccs.el: ... here, respectively.
18473 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18475 * minibuffer.el (completion--file-name-table): Return nil if there's
18476 no file completion, even if substitute-in-file-name changed
18477 the string (bug#4708).
18479 2009-10-13 Juri Linkov <juri@jurta.org>
18481 * files-x.el (read-file-local-variable-value): Don't filter out
18482 minor modes from mode name completion (bug#4664).
18484 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18486 * international/mule-cmds.el (ucs-names): Remove exclusion of
18487 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18489 2009-10-13 Kenichi Handa <handa@m17n.org>
18491 * international/uni-name.el: Regenerated.
18493 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18495 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18496 should be automatically buffer-local, but isn't.)
18498 2009-10-12 Sam Steingold <sds@gnu.org>
18500 * progmodes/compile.el (compilation-next-error-function): Fix the
18501 timestamps if the buffer has been visited before.
18502 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18503 non-anchored patterns, like the perl one (bug#3928).
18505 2009-10-12 Glenn Morris <rgm@gnu.org>
18507 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18510 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18512 * proced.el (proced-unload-function): New function.
18514 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18515 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18518 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18520 2009-10-11 Juri Linkov <juri@jurta.org>
18522 * files-x.el (read-file-local-variable-value):
18523 Provide default value only for bound variables (bug#4664).
18525 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18527 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18528 connection methods like smb.
18530 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18533 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18534 (tramp-smb-file-name-handler-alist): Add handlers for
18535 `add-name-to-file', `make-symbolic-link'.
18536 (tramp-smb-handle-add-name-to-file)
18537 (tramp-smb-do-file-attributes-with-stat)
18538 (tramp-smb-handle-make-symbolic-link)
18539 (tramp-smb-get-cifs-capabilities): New defuns.
18540 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18541 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18542 (tramp-smb-handle-file-local-copy)
18543 (tramp-smb-handle-make-directory-internal)
18544 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18545 The file name syntax depends on cifs capabilities.
18546 (tramp-smb-handle-file-attributes):
18547 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18548 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18549 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18551 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18553 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18554 (eieio-defclass): Apply deftype handler and setf-method properties
18556 (eieio-add-new-slot): Avoid union function from cl library.
18557 (eieio--typep): New function.
18558 (eieio-perform-slot-validation): Use it.
18560 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18562 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18563 Update documentation to refer to the variables documented in r1.135.
18566 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18568 * bookmark.el (Info-suffix-list): Remove this unused variable.
18569 (bookmark-current-point): Remove this obsolete variable.
18570 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18571 Adjust for removal of bookmark-current-point.
18573 (bookmarks-already-loaded, bookmark-current-buffer)
18574 (bookmark-yank-point): Document. (Bug#4188)
18576 2009-10-10 Glenn Morris <rgm@gnu.org>
18578 * frame.el (frame-height): Doc fix.
18580 * calendar/calendar.el (calendar-split-width-threshold): New option.
18581 (calendar-basic-setup): Use calendar-split-width-threshold.
18583 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18585 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18586 Ideographic Supplement" range (U+1F200..U+1F2FF).
18588 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18590 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18591 since the list will have been rebuilt anyway. (Bug#4349)
18593 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18595 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18596 (bookmark-bmenu-execute-deletions): Don't save here, as
18597 bookmark-delete will now do so if necessary.
18598 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18601 2009-10-09 Glenn Morris <rgm@gnu.org>
18603 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18605 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18607 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18608 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18609 argument now, so the two function's behaviors will match. (Bug#3645)
18611 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18613 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18614 (tramp-file-name-real-host, tramp-file-name-port):
18615 Apply `save-match-data'.
18617 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18618 case both directories are remote.
18619 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18620 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18622 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18624 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18626 2009-10-07 Glenn Morris <rgm@gnu.org>
18628 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18631 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18633 * files-x.el (read-file-local-variable): Include some
18634 non-user-variables in the completion table (bug#4664).
18636 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18638 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18641 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18642 (tramp-smb-file-name-handler-alist): Add handler for
18643 `copy-directory', `expand-file-name', `set-file-modes'.
18644 (tramp-smb-handle-copy-directory)
18645 (tramp-smb-handle-expand-file-name)
18646 (tramp-smb-handle-set-file-modes): New defuns.
18647 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18648 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18650 (tramp-smb-handle-insert-directory): Don't flush the cache.
18651 (tramp-smb-maybe-open-connection): Check for samba client and
18654 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18656 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18657 to not error out of search for "^lisp=" fails.
18659 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18661 * makefile.w32-in (WINS_UPDATES): New macro.
18662 (custom-deps, finder-data, autoloads): Use it.
18664 2009-10-07 Glenn Morris <rgm@gnu.org>
18666 * Makefile.in (autoloads): Revert previous change.
18667 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18668 the list of preloaded files passed on the command-line, get
18669 it from src/Makefile.
18671 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18672 show the original buffer rather than a random one.
18674 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18676 * help.el (describe-no-warranty): Place point in a slightly better
18677 position in the GPLv3 text.
18679 2009-10-06 Sam Steingold <sds@gnu.org>
18681 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18682 the comm attribute is present before calling regexp-quote.
18684 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18686 * play/animate.el (animate-string): For good effect, make sure
18687 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18689 * play/animate.el (animate-sequence, animate-birthday-present):
18690 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18692 2009-10-06 Glenn Morris <rgm@gnu.org>
18694 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18696 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18697 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18698 (batch-update-autoloads): Process a string value of autoload-excludes,
18699 set during the build process.
18700 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18702 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18703 inside with-parsed... macro so that `v' is defined.
18705 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18706 * progmodes/fortran.el (fortran-end-of-block)
18707 (fortran-beginning-of-block):
18708 Also push mark in the macro case.
18710 * emerge.el (emerge-show-file-name):
18711 * calc/calc.el (calc-quit):
18712 * calc/calc-misc.el (calc-big-or-small):
18713 * calc/calc-graph.el (calc-graph-view):
18714 * calc/calc-ext.el (calc-reset):
18715 * calendar/calendar.el (calendar-basic-setup):
18716 Use window-full-height-p.
18718 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18719 header we don't understand, don't insert another. (Bug#4624)
18720 If changing mime charset, insert the new one in the right place.
18722 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18724 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18725 (cal-tex-cursor-month): Correctly increment the end date for diary and
18726 holiday listing. (Bug#4626)
18728 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18730 * help-fns.el (describe-function-1): Don't burp if the function is not
18733 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18735 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18736 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18737 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18738 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18740 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18741 (eieio-default-superclass): Reflow docstrings.
18742 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18743 (eieio-unbind-method-implementations, defmethod)
18744 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18745 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18746 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18747 (eieio-slot-originating-class-p, eieio-slot-name-index)
18748 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18749 (constructor, initialize-instance, no-next-method, object-print)
18750 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18751 Fix typos in docstrings.
18752 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18753 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18754 (next-method-p): Doc fixes.
18755 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18756 Fix typos in error messages.
18757 (eieio-defmethod): Fix typo in description of generic method.
18759 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18760 (eieio-persistent-save-interactive, slot-missing):
18761 Fix typos in docstrings.
18762 (eieio-instance-inheritor-slot-boundp): Doc fix.
18764 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18765 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18767 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18768 (eieio-custom-object-apply-reset):
18769 Fix typos in docstrings and error messages.
18771 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18772 Fix typo in docstring.
18774 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18775 (eieio-browse-tree): Doc fix.
18776 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18777 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18778 Fix typos in docstrings.
18780 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18781 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18782 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18783 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18786 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18788 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18789 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18790 Set log-view-vc-backend so that diff can work.
18792 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18794 (vc-diff-internal): Autoload this instead of vc-version-diff.
18796 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18798 * simple.el (eval-expression): Doc fix.
18800 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18802 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18804 * files.el (directory-files-no-dot-files-regexp): New defconst.
18805 (delete-directory): Use it.
18806 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18808 * net/tramp.el (tramp-verbose): Fix docstring.
18809 (tramp-methods): Add recursive option to `tramp-copy-args'.
18810 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18811 "scp1_old", "scp2_old", "rsync", "rsyncc".
18812 (tramp-default-method): Check also for `auth-source-user-or-password'.
18813 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18814 Add handler for `copy-directory'.
18815 (tramp-handle-copy-directory): New defun.
18816 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18817 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18818 Optimize sent command.
18820 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18822 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18823 window if necessary.
18825 * calendar/calendar.el (calendar-basic-setup): Don't call
18826 switch-to-buffer in a dedicated window.
18828 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18830 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18831 don't do anything related to relocating, just return nil.
18832 (bookmark-error-no-filename): New error.
18833 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18834 bookmark has no file. Don't even attempt to handle things that
18835 are not files; the whole point of custom handlers is to keep that
18836 knowledge elsewhere anyway. Tighten some comments.
18837 (bookmark-file-or-variation-thereof): Remove now-unused function.
18838 (bookmark-location): Doc string fix.
18841 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18843 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18844 don't use a file dialog, because they usually don't know how to read
18845 a directory target from the user. (Bug#4230)
18846 Also, make sure the prompt can display directories as well as files.
18848 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18850 * bookmark.el (bookmark-set, bookmark-buffer-name):
18851 Improve doc strings. (Bug#1193)
18853 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18855 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18856 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18857 (bookmark-get-annotation, bookmark-set-annotation)
18858 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18859 (bookmark-set-position, bookmark-get-front-context-string)
18860 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18861 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18862 (bookmark-jump-other-window, bookmark-handle-bookmark)
18863 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18864 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18865 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18866 Improve doc strings to say whether bookmark can be a string or
18867 a record or both, and make other consistency and clarity fixes.
18868 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18869 (bookmark-default-annotation-text, bookmark-yank-word)
18870 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18871 (bookmark-import-new-list, bookmark-maybe-rename)
18872 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18873 (bookmark-bmenu-bookmark): Give these doc strings.
18874 (bookmark-bmenu-check-position): Give this a doc string, but also
18875 add a FIXME comment about how the function may be pointless.
18876 (bookmark-default-handler): Rework doc string and change a
18877 parameter name, to clarify that this takes a bookmark record
18878 not a bookmark name.
18879 (bookmark-set): Change a parameter name to indicate its meaning,
18880 and improve the doc string a bit.
18883 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18885 * bookmark.el (bookmark-alist): Document the new `handler' element
18886 in the param alist.
18887 (bookmark-make-record-function): Adjust documentation for above.
18890 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18892 * info.el (Info-bookmark-make-record): Document this function.
18893 (Info-bookmark-jump): Document with a doc string, not just a comment.
18896 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18898 * files.el (copy-directory): New defun.
18900 * dired-aux.el (dired-copy-file-recursive): Use it.
18902 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18904 * files-x.el (modify-dir-local-variable)
18905 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18908 * recentf.el (recentf-unload-function): New function.
18910 2009-10-04 Glenn Morris <rgm@gnu.org>
18912 * window.el (window-full-height-p): Add doc string.
18914 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18916 * window.el (window-full-height-p): New function. (Bug#4543)
18918 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18920 * vc.el: Remove commented out code.
18921 (vc-derived-from-dir-mode): Remove, unused.
18922 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18924 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18926 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18927 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18928 there could be recursive loading when `default-directory' is a
18929 remote file name. (Bug#4614)
18931 2009-10-03 Glenn Morris <rgm@gnu.org>
18933 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18935 (calendar-generate-window): Test for shrinkability rather than width.
18937 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18938 reusing existing buffers, in case we happen to visit two files with the
18939 same basename. (Bug#4593)
18941 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18943 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18944 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18945 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18946 subdirs of cedet as well.
18947 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18949 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18951 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18952 Obey advertised-signature-table.
18954 * help-fns.el (help-function-arglist): Don't check
18955 advertised-signature-table.
18956 (describe-function-1): Do it here instead so it also applies to subrs.
18958 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18960 * simple.el (start-file-process): Say in the doc-string, that file
18961 handlers might not support pty association, if PROGRAM is nil.
18963 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18964 HOST and USER are strings. They are nil, when there are
18965 incomplete entries in ~/.netrc, for example.
18966 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18967 root directory ("device busy" error otherwise).
18969 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18970 Flush file properties of created directory.
18972 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18974 * makefile.w32-in (WINS_BASIC): Remove cedet.
18975 (WINS_CEDET): Add cedet.
18976 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18978 2009-10-02 Kevin Ryde <user42@zip.com.au>
18980 * net/browse-url.el (browse-url): Pass any symbol in
18981 browse-url-browser-function to `apply', since if you've mistakenly put
18982 an unbound symbol then the error is clearer. (Bug#4531)
18984 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18986 * allout.el (allout-init, allout-back-to-current-heading)
18987 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18988 (allout-ascend, allout-up-current-level, allout-end-of-level)
18989 (allout-previous-visible-heading, allout-forward-current-level)
18990 (allout-backward-current-level, allout-show-children):
18991 * apropos.el (apropos-describe-plist):
18992 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18993 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18994 * completion.el (add-completion, add-permanent-completion):
18995 * descr-text.el (describe-text-category, describe-char):
18996 * desktop.el (desktop-lazy-abort):
18997 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18998 * dired.el (dired-build-subdir-alist):
18999 * ediff.el (ediff-version):
19000 * elide-head.el (elide-head, elide-head-show):
19001 * emerge.el (emerge-version):
19003 * face-remap.el (variable-pitch-mode):
19004 * faces.el (describe-face):
19005 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19007 * files.el (find-file-existing, auto-save-mode):
19008 * font-lock.el (font-lock-fontify-buffer):
19009 * help-fns.el (describe-function, describe-variable)
19010 (describe-syntax, describe-categories):
19011 * help.el (view-lossage, describe-bindings, describe-key)
19013 * hexl.el (hexl-current-address):
19014 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19015 * info.el (Info-goto-emacs-key-command-node):
19016 * log-edit.el (log-edit-insert-cvs-template)
19017 (log-edit-insert-cvs-rcstemplate):
19018 * menu-bar.el (menu-bar-mode):
19019 * mouse.el (mouse-appearance-menu):
19020 * newcomment.el (comment-indent-new-line):
19021 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19022 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19023 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19024 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19025 * recentf.el (recentf-mode):
19026 * savehist.el (savehist-mode, savehist-save):
19027 * shadowfile.el (shadow-copy-files):
19028 * simple.el (kill-ring-save, next-line, previous-line)
19029 (normal-erase-is-backspace-mode):
19030 * strokes.el (strokes-update-window-configuration)
19031 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19032 (strokes-xpm-for-stroke):
19033 * time.el (emacs-uptime, emacs-init-time):
19034 * tutorial.el (tutorial--describe-nonstandard-key)
19035 (tutorial--detailed-help):
19036 * type-break.el (type-break-mode)
19037 (type-break-mode-line-message-mode, type-break-query-mode)
19038 (type-break-guesstimate-keystroke-threshold):
19039 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19040 * version.el (emacs-version):
19041 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19042 * winner.el (winner-mode):
19043 * calendar/timeclock.el (timeclock-in, timeclock-out)
19044 (timeclock-status-string, timeclock-change)
19045 (timeclock-workday-remaining-string)
19046 (timeclock-workday-elapsed-string)
19047 (timeclock-when-to-leave-string):
19048 * calendar/todo-mode.el (todo-add-category):
19049 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19050 * emacs-lisp/autoload.el (update-file-autoloads):
19051 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19052 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19053 (checkdoc-message-text, checkdoc-defun):
19054 * emacs-lisp/debug.el (debugger-list-functions):
19055 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19056 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19057 (eieio-describe-generic):
19058 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19059 * emacs-lisp/shadow.el (list-load-path-shadows):
19060 * emulation/cua-base.el (cua-mode):
19061 * emulation/edt.el (edt-set-scroll-margins):
19062 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19063 (tpu-toggle-regexp, tpu-toggle-search-direction)
19064 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19065 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19066 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19067 (viper-set-parsing-style-toggling-macro)
19068 (viper-set-emacs-state-searchstyle-macros):
19069 * emulation/viper.el (viper-set-hooks):
19070 * eshell/esh-mode.el (eshell-truncate-buffer):
19071 * international/mule-cmds.el (prefer-coding-system)
19072 (describe-input-method, describe-language-environment):
19073 * international/mule-diag.el (list-character-sets)
19074 (describe-character-set, describe-coding-system)
19075 (describe-fontset, list-fontsets, list-input-methods):
19076 * mail/sendmail.el (mail-signature):
19077 * net/ange-ftp.el (ange-ftp-copy-file):
19078 * net/browse-url.el (browse-url):
19079 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19080 * net/quickurl.el (quickurl-add-url):
19081 * net/rcirc.el (names, topic):
19082 * net/xesam.el (xesam-mode):
19083 * play/5x5.el (5x5-new-game):
19084 * play/yow.el (apropos-zippy):
19085 * progmodes/ada-mode.el (ada-mode-version):
19086 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19088 (f90-beginning-of-block):
19089 * progmodes/fortran.el (fortran-end-of-block)
19090 (fortran-beginning-of-block):
19091 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19092 * progmodes/python.el (python-describe-symbol, python-shell):
19093 * term/ns-win.el (ns-print-buffer):
19094 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19095 * textmodes/flyspell.el (flyspell-mode-on):
19096 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19097 (pages-directory-for-addresses):
19098 * textmodes/table.el (table-recognize-cell)
19099 (table-query-dimension, table-generate-source)
19100 (table-insert-sequence, table--warn-incompatibility):
19101 * textmodes/tex-mode.el (tex-validate-buffer):
19102 * textmodes/texinfmt.el (texinfmt-version)
19103 (texinfo-format-buffer):
19104 Use `called-interactively-p' instead of `interactive-p'.
19106 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19108 * image-mode.el (image-toggle-display):
19109 * emacs-lisp/elp.el (elp-instrument-function):
19110 * emacs-lisp/advice.el (ad-make-advised-definition):
19111 * emacs-lisp/easy-mmode.el (define-minor-mode):
19112 * net/browse-url.el (browse-url-maybe-new-window):
19113 * progmodes/sh-script.el (sh-learn-buffer-indent):
19114 Pass new argument 'any to `called-interactively-p'.
19116 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19118 * international/uni-bidi.el:
19119 * international/uni-category.el:
19120 * international/uni-combining.el:
19121 * international/uni-comment.el:
19122 * international/uni-decimal.el:
19123 * international/uni-decomposition.el:
19124 * international/uni-digit.el:
19125 * international/uni-lowercase.el:
19126 * international/uni-mirrored.el:
19127 * international/uni-name.el:
19128 * international/uni-numeric.el:
19129 * international/uni-old-name.el:
19130 * international/uni-titlecase.el:
19131 * international/uni-uppercase.el:
19132 Regenerate from Unicode 5.2.0 data.
19134 2009-10-01 Glenn Morris <rgm@gnu.org>
19136 * Makefile.in (ELCFILES): Regenerate.
19138 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19140 * subr.el (interactive-p): Mark obsolete.
19141 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19142 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19143 advertised-signature-table for subroutines as well.
19145 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19146 (set-advertised-calling-convention): New function.
19147 (make-obsolete, define-obsolete-function-alias)
19148 (make-obsolete-variable, define-obsolete-variable-alias):
19149 Make the optional-ness of `when' obsolete.
19150 (define-obsolete-face-alias): Make `when' non-optional.
19151 * help-fns.el (help-function-arglist):
19152 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19153 Use advertised-signature-table.
19155 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19157 * files.el (delete-directory): New defun. The original function
19158 in fileio.c has been renamed to `delete-directory-internal'.
19160 * dired.el (dired-delete-file): Call `delete-directory' with
19161 RECURSIVE parameter.
19163 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19164 parameter RECURSIVE. Implementation is missing.
19166 * net/tramp.el (tramp-handle-make-directory): Flush upper
19167 directory's file properties.
19168 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19169 (tramp-handle-dired-recursive-delete-directory): Flush directory
19170 properties after the remove command only.
19172 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19173 Handle optional parameter RECURSIVE.
19175 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19176 Handle optional parameter RECURSIVE.
19178 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19179 connection timeout.
19180 (tramp-smb-handle-delete-directory): Handle optional parameter
19183 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19185 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19186 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19187 (byte-compile-defmacro): Use backquotes.
19189 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19191 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19192 has no associated file.
19193 (vc-resynch-buffer): Use vc-dir-buffers.
19195 2009-10-01 Glenn Morris <rgm@gnu.org>
19197 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19198 (chart-file-count):
19199 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19200 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19201 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19202 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19203 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19204 (eieio-copy-parents-into-subclass, make-instance, class-children)
19205 (eieio-generic-form):
19207 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19208 match-data. (Bug#4555).
19210 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19211 rather than parsing it as a regexp. This relaxes the layout
19212 requirements and makes errors easier to detect.
19213 (check-declare-verify): Check file is regular.
19214 (check-declare-directory): Doc fix.
19215 * subr.el (declare-function): Doc fix.
19217 * ibuffer.el (ibuffer-format-qualifier):
19218 * isearch.el (hi-lock-regexp-okay):
19219 * calc/calc.el (math-zerop):
19220 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19221 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19222 Remove unused declarations.
19224 2009-09-30 Eric Ludlam <zappo@gnu.org>
19226 * emacs-lisp/eieio.el (boolean-p): Delete.
19228 2009-09-30 Glenn Morris <rgm@gnu.org>
19230 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19232 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19233 filename is not a string.
19235 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19237 * files.el (safe-local-eval-forms): Fix typo.
19239 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * vc-hooks.el (vc-dir-buffers): New var.
19242 (vc-state-refresh): New function.
19243 (vc-state): Use it.
19244 (vc-after-save): Always ask the backend to recompute the new state.
19245 Always call vc-dir if necessary, using vc-dir-buffers.
19246 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19247 Use vc-dir-buffers.
19248 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19249 (vc-dir-prepare-status-buffer, vc-dir-update)
19250 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19251 Don't call expand-file-name on default-directory.
19253 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19255 * speedbar.el (speedbar-item-delete):
19256 * calc/calc-prog.el (calc-kbd-if):
19257 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19259 * epa.el (epa-key-list-mode-map):
19260 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19262 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19263 (hs-show-hook): Fix typo in docstring.
19265 2009-09-29 Glenn Morris <rgm@gnu.org>
19267 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19268 file-name-nondirectory call preventing location of cedet files.
19269 (check-declare-verify): Use literal search rather than re-search.
19270 Add basic defmethod and defclass, and define-overloadable-function.
19272 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19273 Use tramp-compat-file-attributes rather than nonexistent
19274 tramp-compat-handle-file-attributes.
19276 * Makefile.in (lisptagsfiles4): New.
19277 (AUTOGENEL): Add cedet loaddefs files.
19278 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19279 (update-elclist, compile-always, backup-compiled-files)
19280 (bootstrap-clean): Add yet another directory level.
19281 (update-elclist): Use LC_COLLATE rather than COLLATE.
19282 (ELCFILES): Update, via `make update-elclist'.
19284 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19286 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19287 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19288 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19290 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19292 * Makefile.in (lisptagsfiles3): Define.
19293 (TAGS, TAGS-LISP): Use it.
19294 (update-elclist): Add third directory level to look for elc files.
19295 (compile-always): Likewise.
19296 (backup-compiled-files): Likewise.
19297 (bootstrap-clean): Likewise.
19298 (ELCFILES): Update.
19300 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19302 * Makefile.in (ELCFILES): Add CEDET files.
19304 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19306 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19308 * net/tramp.el (top): Require tramp-imap.
19310 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19311 Use `tramp-compat-handle-file-attributes'.
19313 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19315 * net/tramp-imap.el: New package.
19317 2009-09-28 Eric Ludlam <zappo@gnu.org>
19319 * emacs-lisp/chart.el:
19320 * emacs-lisp/eieio-base.el:
19321 * emacs-lisp/eieio-comp.el:
19322 * emacs-lisp/eieio-custom.el:
19323 * emacs-lisp/eieio-datadebug.el:
19324 * emacs-lisp/eieio-opt.el:
19325 * emacs-lisp/eieio-speedbar.el:
19326 * emacs-lisp/eieio.el: New files.
19328 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19330 * whitespace.el (whitespace-trailing-regexp)
19331 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19334 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19336 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19339 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19340 menu-bar-ediff-menu.
19342 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19343 define-overloadable-function.
19345 * progmodes/autoconf.el: Provide autoconf as well, so that this
19346 file can be `require'd.
19348 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19350 * emacs-lisp/autoload.el (generated-autoload-feature)
19351 (generated-autoload-load-name): New vars.
19352 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19353 (make-autoload): Recognize define-overloadable-function and
19354 defclass forms (for EIEIO).
19356 * Makefile.in (update-subdirs): Exclude cedet directory.
19358 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19360 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19362 * faces.el: Default light-background background for region face to
19363 ns_selection_color under NS.
19365 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19367 * net/imap-hash.el: New library, see NEWS.
19369 * Makefile.in (ELCFILES): Add imap-hash.el.
19371 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19373 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19374 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19375 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19376 definition where the docstring could be taken for the return value.
19378 2009-09-26 Glenn Morris <rgm@gnu.org>
19380 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19381 Add option to only show images below a certain size.
19382 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19383 save-excursion calls.
19385 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19387 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19388 subdirectories) and eieio.
19390 2009-09-26 Alan Mackenzie <acm@muc.de>
19392 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19393 Correct buggy bracketing. (Bug#4289)
19395 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19396 character constants (as case labels). (Bug#4289)
19398 2009-09-25 Juri Linkov <juri@jurta.org>
19400 * files.el (safe-local-eval-forms): Allow time-stamp in
19401 before-save-hook (Bug#4554).
19403 2009-09-25 Drew Adams <drew.adams@oracle.com>
19405 * menu-bar.el (list-buffers-directory): Doc fix.
19407 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19409 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19410 Try and avoid copying twice the same paragraph.
19411 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19412 Remove save-excursion.
19413 (log-edit-changelog-entry): Do it here instead.
19415 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19417 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19418 when available, instead of hardcoding mode names. Doc fix.
19420 * menu-bar.el (list-buffers-directory): Add docstring.
19421 Make automatically buffer-local.
19423 * dired.el (dired-mode):
19424 * files.el (cd-absolute):
19425 * pcvs.el (cvs-temp-buffer):
19426 * pcvs-util.el (cvs-get-buffer-create):
19427 * shell.el (shell-mode):
19428 * vc-dir.el (vc-dir-mode):
19429 Don't make `list-buffers-directory' buffer local.
19431 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19433 * comint.el (comint-exec, comint-run, make-comint):
19434 Doc fixes (Bug#4542).
19436 2009-09-25 Glenn Morris <rgm@gnu.org>
19438 * mail/rmailmm.el (rmail-mime): New custom group.
19439 Move all defcustoms in this file into this group.
19440 (rmail-mime-media-type-handlers-alist): Revert previous change.
19441 (rmail-mime-show-images): New option.
19442 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19443 references to it, since it wasn't actually used for anything.
19444 (rmail-mime-insert-image): New function.
19445 (rmail-mime-image): Use rmail-mime-insert-image.
19446 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19447 obey the value of `rmail-mime-show-images' option. Print the size of
19450 2009-09-25 David Engster <deng@randomsample.de>
19452 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19454 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19456 * whitespace.el: Does not highlight trailing spaces While point is
19457 at end of line. Does not highligt spaces at beginning of buffer
19458 while point is at beginning of buffer. Does not highlight spaces
19459 at end of buffer while point is at end of buffer. (Bug#4177)
19461 (whitespace-display-mappings): Adjust initialization.
19462 (whitespace-point, whitespace-font-lock-refontify): New vars.
19463 (whitespace-color-on, whitespace-color-off): Adjust code.
19464 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19465 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19466 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19468 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19470 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19472 * textmodes/sgml-mode.el: Remove xml-mode alias.
19474 * files.el (auto-mode-alist, conf-mode-maybe)
19475 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19477 2009-09-24 Alan Mackenzie <acm@muc.de>
19479 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19480 c-forward-conditionals, but it doesn't move point and doesn't set
19482 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19483 (c-down-conditional-with-else, c-backward-conditional)
19484 (c-forward-conditional): Refactor to use c-scan-conditionals.
19486 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19488 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19489 (help-default-arg-highlight): Remove.
19490 (help-highlight-arg): New function.
19491 (help-do-arg-highlight): Use it.
19492 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19494 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19497 Undo last change, which didn't fix the problem and introduced others.
19499 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19501 * progmodes/gdb-mi.el: Don't require speedbar.
19502 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19504 2009-09-24 Glenn Morris <rgm@gnu.org>
19506 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19508 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19510 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19511 there is no newline after the final mime boundary. (Bug#4539)
19512 Move markers on insertion so that any buttons inserted don't end up in
19513 the next part of a multipart message.
19514 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19515 (rmail-mime-bulk-handler): Optionally handle images.
19516 (rmail-mime-image): New button action.
19517 (rmail-mime-image-handler): New function.
19518 (rmail-mime-mode): New mode.
19519 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19521 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19523 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19524 than just dropping elements from it (bug#4504).
19526 * term.el (term-set-scroll-region): Don't move cursor any more.
19527 (term-handle-ansi-escape): Call term-goto here instead.
19528 Suggested by Ivan Kanis <apple@kanis.eu>.
19530 * term.el: Require CL.
19531 (term-ansi-reset): New function.
19532 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19533 (term-handle-colors-array): Simplify.
19535 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19537 * allout.el (allout-overlay-interior-modification-handler)
19538 (allout-obtain-passphrase):
19539 * epa-file.el (epa-file-write-region):
19540 * ps-print.el (ps-begin-job):
19541 * vc-hooks.el (vc-toggle-read-only):
19542 * vc-rcs.el (vc-rcs-rollback):
19543 * vc-sccs.el (vc-sccs-rollback):
19544 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19545 (vc-version-diff, vc-revert, vc-rollback):
19546 * wdired.el (wdired-check-kill-buffer):
19547 * emacs-lisp/authors.el (authors):
19548 * net/socks.el (socks-open-connection):
19549 * net/zeroconf.el (zeroconf-service-add-hook):
19550 * obsolete/vc-mcvs.el (vc-mcvs-register):
19551 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19552 (gdb-select-frame):
19553 * progmodes/grep.el (lgrep, rgrep):
19554 * progmodes/idlw-help.el (idlwave-help-check-locations)
19555 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19556 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19557 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19558 (reftex-toc-rename-label): Fix typos in error messages.
19560 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19561 (dired-copy-how-to-fn): Doc fix.
19562 (dired-files-attributes, dired-read-shell-command):
19563 Fix typos in docstrings.
19565 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19566 (dired-x-find-file-other-window): Reflow docstrings.
19567 (dired-omit-marker-char, dired-read-shell-command)
19568 (dired-x-submit-report): Fix typos in docstrings.
19570 * shell.el (shell-mode-hook):
19571 * view.el (View-scroll-line-forward):
19572 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19573 Fix typos in docstrings.
19575 * net/dig.el (dig-invoke): Fix typo in docstring.
19576 (query-dig): Reflow docstring.
19578 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19579 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19580 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19581 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19582 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19583 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19584 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19585 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19586 (idlwave-completion-map, idlwave-current-indent)
19587 (idlwave-custom-ampersand-surround, idlwave-customize)
19588 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19589 (idlwave-define-abbrev, idlwave-determine-class-special)
19590 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19591 (idlwave-end-block-reg, idlwave-end-of-statement)
19592 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19593 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19594 (idlwave-explicit-class-listed, idlwave-file-header)
19595 (idlwave-fill-paragraph, idlwave-find-class-definition)
19596 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19597 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19598 (idlwave-in-quote, idlwave-indent-action-table)
19599 (idlwave-indent-expand-table, idlwave-indent-line)
19600 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19601 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19602 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19603 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19604 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19605 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19606 (idlwave-outlawed-buffers, idlwave-popup-select)
19607 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19608 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19609 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19610 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19611 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19612 (idlwave-statement-type, idlwave-struct-skip)
19613 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19614 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19615 (idlwave-what-module-find-class): Fix typos in docstrings.
19616 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19617 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19618 (idlwave-find-module, idlwave-find-structure-definition)
19619 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19620 (idlwave-list-load-path-shadows, idlwave-next-statement)
19621 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19622 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19623 (idlwave-template): Reflow docstrings.
19625 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19626 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19627 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19628 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19629 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19630 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19631 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19632 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19633 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19634 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19635 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19636 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19637 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19638 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19639 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19640 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19641 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19642 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19643 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19644 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19645 Fix typos in docstrings.
19646 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19647 (idlwave-shell-hide-output, idlwave-shell-mode)
19648 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19651 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19653 2009-09-24 Ivan Kanis <apple@kanis.eu>
19655 * term.el (term-bold-attribute): New var.
19656 (term-handle-colors-array): Use it.
19658 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19660 * progmodes/gdb-mi.el (gdb-version): New variable.
19661 (gdb-non-stop-handler): Set gdb-version.
19662 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19663 Condition "--thread" option on gdb-version.
19664 (gdb-invalidate-threads): Remove unused argument.
19666 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19668 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19669 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19671 2009-09-23 Glenn Morris <rgm@gnu.org>
19673 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19674 replying to mail without References or Message-Id. (Bug#4525)
19676 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19678 * term/ns-win.el (ns-reg-to-script): New variable.
19680 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19682 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19684 2009-09-22 Sam Steingold <sds@gnu.org>
19686 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19687 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19688 to 1 because hg returns status 1 when nothing is found.
19689 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19691 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19693 * textmodes/fill.el: Convert to utf-8 encoding.
19694 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19697 * add-log.el (change-log-fill-forward-paragraph): New function.
19698 (change-log-mode): Use it so fill-region DTRT.
19699 Set fill-indent-according-to-mode here rather than in
19700 change-log-fill-paragraph.
19701 (change-log-fill-paragraph): Remove.
19703 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19705 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19706 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19708 2009-09-22 Glenn Morris <rgm@gnu.org>
19710 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19711 the scroll-bar scroll the calendar window rather than the buffer.
19713 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19714 commands that move point (as opposed to scrolling).
19716 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19718 * emacs-lisp/elint.el (elint): New custom group.
19719 (elint-log-buffer): Make it a defcustom.
19720 (elint-scan-preloaded, elint-ignored-warnings)
19721 (elint-directory-skip-re): New options.
19722 (elint-builtin-variables): Doc fix.
19723 (elint-preloaded-env): New variable.
19724 (elint-unknown-builtin-args): Add an entry for encode-time.
19725 (elint-extra-errors): Make it a variable rather than a constant.
19726 (elint-preloaded-skip-re): New constant.
19727 (elint-directory): Skip files matching elint-directory-skip-re.
19728 (elint-features): New variable, local to linted buffers.
19729 (elint-update-env): Initialize elint-features. Possibly add
19730 elint-preloaded-env to the buffer's environment.
19731 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19733 (elint-init-form): New function, extracted from elint-init-env.
19734 Make non-list forms a warning rather than an error.
19735 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19736 easy-menu-define, put that adds an error-condition, and provide.
19737 When requiring cl, also require cl-macs. Really require cl, to handle
19738 some cl macros. Store required libraries in the list elint-features,
19739 so as not to re-load them. Treat cc-require like require.
19740 (elint-init-env): Call elint-init-form to do the work.
19741 Handle eval-and-compile and such like.
19742 (elint-add-required-env): Do not clear messages.
19743 (elint-special-forms): Add handlers for function, defalias, if, when,
19745 (elint-form): Add optional argument to ignore elint-special-forms,
19746 useful to prevent recursive calls from handlers. Doc fix.
19747 Respect elint-ignored-warnings.
19748 (elint-form): Respect elint-ignored-warnings.
19749 (elint-bound-variable, elint-bound-function): New variables.
19750 (elint-unbound-variable): Respect elint-bound-variable.
19751 (elint-get-args): Respect elint-bound-function.
19752 (elint-check-cond-form): Add some simple handling for (f)boundp and
19754 (elint-check-defalias-form): New handler.
19755 (elint-check-let-form): Make an empty let a warning rather than an
19757 (elint-check-setq-form): Make an empty setq a warning rather than an
19758 error. Respect elint-ignored-warnings.
19759 (elint-check-defvar-form): Accept null doc-strings.
19760 (elint-check-conditional-form): New handler. Does some simple-minded
19761 checking of featurep and (f)boundp tests.
19762 (elint-put-function-args): New function.
19763 (elint-initialize): Use elint-scan-doc-file rather than
19764 elint-find-builtin-variables. Use elint-put-function-args.
19765 Possibly scan preloaded-file-list.
19766 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19767 extend to handle functions as well.
19769 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19771 * linum.el (linum-delete-overlays, linum-update-window):
19772 Do not modify the right margin. (Bug#3971)
19774 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19776 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19777 Use nxml-mode instead of xml-mode.
19779 2009-09-21 Kevin Ryde <user42@zip.com.au>
19781 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19783 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19785 * net/dig.el (dig-mode): Use define-derived-mode.
19787 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19789 * vc-dispatcher.el (vc-do-command): Return the process object in
19790 the asynchronous case. Use when instead of if. Do not run
19791 vc-exec-after to display a message if not enabled. (Bug#4463)
19793 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19794 properties to the stash strings.
19795 (vc-git-stash-list): Return a list of strings.
19796 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19797 (vc-git-stash-show-at-point): New functions.
19798 (vc-git-stash-map): New keymap.
19800 * register.el (ctl-x-r-map): Define the keys here instead of
19803 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19805 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19806 list, to workaround performance problem (bug#4485).
19808 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19810 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19812 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19814 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19815 Document that this option is not recommended to use.
19817 2009-09-19 Glenn Morris <rgm@gnu.org>
19819 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19822 * calc/calc-alg.el (var):
19823 * calc/calcalg2.el (var): Define for compiler.
19825 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19827 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19828 Doc fix (Bug#3932).
19830 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19832 * time-stamp.el (time-stamp-month-dd-yyyy)
19833 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19834 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19835 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19836 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19837 Remove functions that have been obsolete since 1995 (Bug#4436).
19839 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19840 indent buffer only if called interactively (Bug#4452).
19842 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19843 Eli Zaretskii <eliz@gnu.org>
19845 This fixes bug#4197 (merged to bug#865, though not identical).
19846 * server.el (server-auth-dir): Add docstring note about FAT32.
19847 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19848 but warn against using them.
19850 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19852 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19853 older GDB where there is no has_more field.
19855 2009-09-19 Glenn Morris <rgm@gnu.org>
19857 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19859 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19861 * files.el (auto-mode-alist): Change default for XML files to nXML
19864 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19866 * server.el (server-ensure-safe-dir): Pass 'integer
19867 to `file-attributes', as suggested.
19869 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19871 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19872 (dired-query): Use read-key.
19874 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19876 * cus-start.el (ns-use-qd-smoothing): Remove.
19878 2009-09-18 Glenn Morris <rgm@gnu.org>
19880 * allout.el (top-level): Remove unnecessary progn.
19882 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19884 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19885 definition of abbrev table.
19887 * speedbar.el (speedbar-track-mouse):
19888 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19889 * net/eudc.el (eudc-expand-inline):
19890 * net/newst-backend.el (newsticker--cache-read-feed):
19891 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19892 condition-case handlers.
19894 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19896 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19897 (gdb-var-list): Add an element for has_more field.
19898 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19899 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19900 (gdb-var-update-handler-1): Parse output of dynamic variable
19901 objects (STL containers).
19902 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19903 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19905 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19907 (gud-speedbar-buttons): Make node expandable if expression "has more"
19910 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19912 * startup.el (emacs-quick-startup): Remove variable and all uses.
19913 (command-line): Set `inhibit-x-resources' instead.
19914 (command-line-1): Use `inhibit-x-resources' instead.
19916 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19918 * subr.el: Fix last change to avoid using the `unless' macro,
19919 which breaks bootstrapping.
19921 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19923 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19924 extended definitions, in case we reload subr.el after having
19926 (eval-next-after-load): Mark as obsolete.
19928 2009-09-17 Juri Linkov <juri@jurta.org>
19930 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19931 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19932 (menu-bar-showhide-menu, menu-bar-tools-menu)
19933 (menu-bar-describe-menu, menu-bar-help-menu)
19934 (minibuffer-local-completion-map, minibuffer-local-map):
19937 2009-09-17 Glenn Morris <rgm@gnu.org>
19939 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19940 arguments, whether or not it has a handler.
19942 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19944 * simple.el (hard-newline): Give it a doc-string.
19946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19947 (lisp-mode-syntax-table): Give them doc-strings.
19949 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19951 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19952 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19953 (menu-bar-options-menu, menu-bar-showhide-menu)
19954 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19955 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19956 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19957 (menu-bar-options-menu, menu-bar-tools-menu)
19958 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19959 (menu-bar-help-menu):
19960 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19963 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19964 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19965 calls for the menu names and :help.
19967 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19969 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19970 to :minor-mode-function (bug#4455).
19972 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19974 * startup.el (command-line): Initialize the window-system after
19975 processing the command-line.
19977 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19978 page-delimiter matches the empty string.
19980 2009-09-16 Glenn Morris <rgm@gnu.org>
19982 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19983 byte-compile-not-obsolete-var. It's a list now.
19984 (byte-compile-not-obsolete-funcs): New variable.
19985 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19986 byte-compile-not-obsolete-funcs.
19987 (byte-compile-variable-ref, byte-compile-defvar): Update for
19988 byte-compile-not-obsolete-vars name-change and list nature.
19989 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19990 and variables behind (f)boundp tests.
19991 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19993 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19995 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19997 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19999 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20000 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20003 2009-09-15 Stephen Eglen <stephen@gnu.org>
20005 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20006 the virtual-buffers, use the name of the buffer specified by
20007 find-file-noselect, as the match may be a symlink. (This was a
20008 problem if the target and the symlink had different names.)
20010 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20012 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20014 * desktop.el (desktop-path): Check user-emacs-directory.
20016 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20018 * loadup.el: Use after-load-functions to GC after loading each file.
20019 Remove the explicit GC calls that used to be sprinkled around.
20021 * subr.el (after-load-functions): New hook.
20022 (do-after-load-evaluation): Run it. Use string-match-p to detect
20023 `obsolete' packages, rather than painfully extracting the relevant
20026 2009-09-15 Glenn Morris <rgm@gnu.org>
20028 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20029 free variable `doc'.
20031 * dired.el (dired-mode-map): Add menu entry for async shell command.
20033 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20034 variables, also consider the .elc files, since the .el files are
20035 normally gzipped (subsequent code locates the .el.gz from the .elc).
20037 * calc/calc-prog.el (arglist): Define for compiler.
20039 * calendar/diary-lib.el (diary-display-function): Change the default to
20041 (body): Define for compiler.
20043 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20044 (byte-compile-file-form, byte-compile-lambda)
20045 (byte-compile-top-level-body, byte-compile-form)
20046 (byte-compile-variable-ref, byte-compile-setq)
20047 (byte-compile-setq-default, byte-compile-body)
20048 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20049 (batch-byte-compile): Give some more local variables with common names
20050 a "bytecomp-" prefix to avoid masking warnings about free variables.
20052 * startup.el (command-line-1): Give local variables with common names a
20053 distinguishing prefix, so as not to hide free variable warnings during
20056 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20057 clever and add a suffix to make a unique name, just let the user decide
20058 whether or not to overwrite it. If the input is a directory, write the
20059 default filename to that directory. (Bug#4388)
20060 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20061 is a filename-as-a-directory.
20063 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * textmodes/page.el (what-page): Don't move to beginning of line.
20066 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20068 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20070 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20072 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20074 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20075 * help.el (help-for-help-internal): Add purecopy calls for text.
20077 * vc.el (top): print-log method now takes an optional SHORTLOG
20078 argument. Add a new method: root.
20079 (vc-root-diff, vc-print-root-log): New functions.
20080 (vc-log-short-style): New variable.
20081 (vc-print-log-internal): Add support for showing short logs.
20083 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20084 vc-print-root-log and vc-print-root-diff.
20086 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20087 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20088 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20091 * vc-cvs.el (vc-cvs-print-log):
20092 * vc-mtn.el (vc-mtn-print-log):
20093 * vc-rcs.el (vc-rcs-print-log):
20094 * vc-sccs.el (vc-sccs-print-log):
20095 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20096 that is ignored for now.
20098 * vc-mtn.el (vc-mtn-annotate-command):
20099 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20101 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20103 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20104 to function-key-map, and give them ascii-character property.
20105 * term/x-win.el (x-alternatives-map):
20106 * term/ns-win.el (ns-alternatives-map):
20107 * term/internal.el (msdos-key-remapping-map):
20108 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20110 2009-09-14 Glenn Morris <rgm@gnu.org>
20112 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20113 temp-buffers (2009-09-12).
20115 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20117 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20118 the new read-key function.
20120 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20122 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20123 is defined (Bug#4405).
20125 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20127 * recentf.el (recentf-cleanup): Use a hash table to find
20128 duplicates (Bug#4407).
20130 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20132 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20133 kp-0 to ascii equivalents (Bug#4325).
20135 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20137 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20139 * eshell/em-hist.el:
20140 * eshell/em-dirs.el (eshell-complete-user-reference):
20141 Declare pcomplete functions and variables to avoid compiler warnings.
20143 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20145 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20146 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20147 * eshell/em-alias.el (eshell-aliases-file):
20148 * eshell/em-hist.el (eshell-history-file-name):
20149 Use expand-file-name instead of concat to make file names (Bug#4308).
20151 2009-09-13 Glenn Morris <rgm@gnu.org>
20153 * ediff-merg.el (ediff-do-merge):
20154 * filesets.el (filesets-run-cmd):
20155 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20156 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20157 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20158 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20159 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20160 Replace empty `let's with `progn'.
20162 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20164 * mail/sendmail.el (send-mail-function):
20165 * tooltip.el (tooltip-mode):
20166 * simple.el (transient-mark-mode):
20167 * rfn-eshadow.el (file-name-shadow-mode):
20168 * frame.el (blink-cursor-mode):
20169 * font-core.el (global-font-lock-mode):
20170 * files.el (temporary-file-directory)
20171 (small-temporary-file-directory, auto-save-file-name-transforms):
20172 * epa-hook.el (auto-encryption-mode):
20173 * composite.el (global-auto-composition-mode):
20174 Use custom-initialize-delay.
20175 * startup.el (command-line): Don't explicitly call
20176 custom-reevaluate-setting for all the above vars.
20177 * custom.el (custom-initialize-safe-set)
20178 (custom-initialize-safe-default): Delete.
20180 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20182 * term/x-win.el (x-initialize-window-system):
20183 * term/w32-win.el (w32-initialize-window-system):
20184 * term/ns-win.el (ns-initialize-window-system): Don't call
20185 mouse-wheel-mode since it's enabled globally by default already.
20187 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20188 actually define the variable, but only silences the byte-compiler.
20189 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20190 before looking it up.
20191 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20194 2009-09-12 Glenn Morris <rgm@gnu.org>
20196 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20198 (elint-add-required-env): Don't beep on error.
20199 (elint-forms): In case of error, return ENV unchanged.
20200 (elint-init-env): Skip non-list forms.
20201 (elint-log): Handle unknown file positions.
20203 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20205 * epg.el (epg-make-context): Add autoload cookie.
20206 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20207 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20208 (epg-verify-string, epg-start-sign, epg-sign-file)
20209 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20210 (epg-encrypt-string, epg-start-export-keys)
20211 (epg-export-keys-to-file, epg-export-keys-to-string)
20212 (epg-start-import-keys, epg-import-keys-from-file)
20213 (epg-import-keys-from-string, epg-start-receive-keys)
20214 (epg-receive-keys, epg-import-keys-from-server)
20215 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20216 (epg-sign-keys, epg-start-generate-key)
20217 (epg-generate-key-from-file, epg-generate-key-from-string):
20218 Remove autoload cookie.
20220 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20222 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20223 reevaluation of trash-directory.
20225 * mwheel.el: Fix last change.
20226 (mouse-wheel-mode): New defvar.
20227 (mouse-wheel-mode): Remove autoload cookie.
20229 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20231 * mwheel.el (mwheel-installed-bindings): New var.
20232 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20233 the bindings we set last time. Use custom-initialize-delay.
20234 * loadup.el: Load mwheel after term/*-win.el.
20235 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20236 and mouse-wheel-up-event now that their first evaluation is done
20237 sufficiently late to be correct.
20239 * startup.el (tutorial-directory): Make it a defcustom.
20240 Use custom-initialize-delay rather than eval-at-startup to set it.
20241 * image.el (image-load-path): Make it a defcustom.
20242 Use custom-initialize-delay rather than eval-at-startup to set it.
20243 * subr.el (eval-at-startup): Remove.
20244 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20246 * subr.el (do-after-load-evaluation): Warn the user after loading an
20249 2009-09-12 Glenn Morris <rgm@gnu.org>
20251 * proced.el (proced-mark-alt): Remove alias.
20252 (proced-mode-map): Remove proced-mark-alt.
20254 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20255 Elint file and directory. Remove initialization entry.
20257 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20259 (elint-current-buffer): Set mode-line-process.
20260 (elint-init-env): Handle define-derived-mode.
20261 Fix declare-function with unspecified arglist. Guard against odd
20262 defalias statements (eg iso-insert's 8859-1-map).
20263 (elint-add-required-env): Use a temp buffer.
20264 (elint-form): Just print the function/macro name, not the whole form.
20265 Return env unchanged if we fail to parse a macro.
20266 (elint-forms): Guard against parse errors.
20267 (elint-output): New function, to handle batch mode.
20268 (elint-log-message): Add optional argument. Use elint-output.
20269 (elint-set-mode-line): New function.
20271 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20273 * emacs-lisp/elp.el (elp-not-profilable): Add more
20274 functions (Bug#4233).
20276 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20278 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20279 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20281 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20283 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20284 (gdb-var-list-children): Use json parsing.
20286 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20288 * progmodes/js.el (js--proper-indentation): Handle the case where
20289 char-before is null. Reported by Deniz Dogan.
20291 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20293 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20295 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20297 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20298 (epg-digest-algorithm-alist): Add SHA224.
20299 (epg-context-set-passphrase-callback)
20300 (epg-context-set-progress-callback): Add description about
20303 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20305 * custom.el (custom-delayed-init-variables): New var.
20306 (custom-initialize-delay): New function.
20307 * startup.el (command-line): "Re"evaluate all vars in
20308 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20309 explicitly any more.
20310 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20311 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20313 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20315 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20317 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20318 (gdb-var-update-handler): Use json parsing.
20320 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20322 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20323 decode annotated text, regardless of language environment. (Bug#2741)
20325 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20327 * Makefile.in (autoloads): Make rmail.el writable as well.
20329 2009-09-11 Glenn Morris <rgm@gnu.org>
20331 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20333 * dired.el: Regenerate with extracted autoloads.
20334 * Makefile.in (autoloads): Make dired.el writable.
20336 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20337 * ibuffer.el: Regenerate with extracted autoloads.
20338 * Makefile.in (autoloads): Make ibuffer.el writable.
20340 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20341 * version.el (emacs-copyright, emacs-major-version)
20342 (emacs-minor-version): Reformat doc-strings for make-docfile.
20344 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20345 functions and variables, since they must be stuff specific to some other
20347 (apropos-print): Make mouse-click message less specific about button.
20349 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20350 that records where a macro was defined.
20351 * help-fns.el (describe-function-1): Mention if a function has a
20353 * help-mode.el (help-function-cmacro): New button.
20355 * locate.el (top-level): Always require dired.
20356 (locate-mode-map): Initialize inside the defvar.
20358 * net/ange-ftp.el (dired-compress-file): Declare.
20359 (ange-ftp-dired-compress-file): Add doc string.
20361 * term/ns-win.el (x-display-name, x-setup-function-keys):
20362 Unify doc-strings with X versions.
20364 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20366 * emulation/crisp.el (crisp-mode-map): Move initialization
20368 (crisp-mode): Use define-minor-mode.
20370 * progmodes/xscheme.el (xscheme-evaluation-commands):
20371 Put a :advertised-binding property rather than using
20372 advertised-xscheme-send-previous-expression.
20373 (advertised-xscheme-send-previous-expression): Declare obsolete.
20374 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20376 (crisp-mode): Add corresponding bindings to
20377 undo's :advertised-binding instead.
20378 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20379 than using dired-advertised-find-file.
20380 (dired-advertised-find-file):
20381 * simple.el (advertised-undo):
20382 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20383 (widget-keymap): Put a :advertised-binding property rather
20384 than using advertised-widget-backward.
20385 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20386 than using advertised-undo.
20387 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20389 2009-09-10 Simon South <ssouth@slowcomputing.org>
20391 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20392 Mark mode is enabled and region is active; otherwise indent or
20393 insert TAB as usual.
20394 (delphi-mode): Update description of TAB-key binding.
20396 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20398 * subr.el (define-key-rebound-commands): Mark obsolete.
20399 * startup.el (precompute-menubar-bindings): Remove.
20400 (normal-top-level): Remove obsolete code that tried to precompute
20402 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20403 define-key-rebound-commands and precompute-menubar-bindings.
20405 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20407 * net/imap.el (imap-interactive-login): Better messages.
20408 (imap-open): Fix bug with renamed buffer on reconnect.
20409 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20410 for easier debugging and cleaner code. On successful (guessed based on
20411 server capabilities) secondary authentication, set imap-state
20413 (imap-last-authenticator): Define imap-last-authenticator as a variable
20416 2009-09-10 Glenn Morris <rgm@gnu.org>
20418 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20420 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20421 (byte-compile-file-form-autoload): Don't warn about unknown functions
20422 where the autoload statement comes after the use.
20423 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20424 that any handlers inside the body (eg require) are in turn respected.
20426 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20429 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20430 and syntax and abbrev tables basic docs, if they don't have any.
20432 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20434 * international/mule-cmds.el (top-level): Require cl when compiling.
20435 (view-hello-file): Use default-value rather than
20436 default-enable-multibyte-characters.
20438 * progmodes/fortran.el: Move all safe and risky properties into the
20441 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20442 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20443 * mail/undigest.el:
20444 Put autoloads in rmail.el rather than loaddefs.el.
20445 * mail/rmail.el: Regenerate with extracted autoloads.
20447 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20448 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20450 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20452 Reported in thread for Bug#4375.
20453 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20454 "-data-evaluate-expression" instead of print.
20455 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20456 (gdb-tooltip-print): Parse output from above MI command.
20457 (gdb): Revert 2009-08-11 change. User should detach inferior
20460 Remove the word "separate" from IO functions as inferior
20461 output is now never displayed in the GUD buffer.
20463 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20465 * startup.el (command-line-normalize-file-name): On Windows and
20466 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20468 2009-09-10 Juri Linkov <juri@jurta.org>
20470 * isearch.el (isearch-text-char-description): Propertize escape
20471 character sequences with the `escape-glyph' face. (Bug#4344)
20473 * simple.el (shell-command): Set asynchronous process filter to
20474 `comint-output-filter'. (Bug#4343)
20476 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20477 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20478 the list. Move "asm" to the bottom.
20479 (grep-find-ignored-directories): Add `choice' with nil value
20480 to empty the list easily.
20481 (grep-find-ignored-files): New option.
20482 (grep-files-history): Set to nil by default instead of '("ch" "el").
20483 (grep-compute-defaults): Add "<X>" to `grep-template'.
20484 (grep-read-files): Bind new local variables `default-alias' and
20485 `default-extension'. Use a list of default values for the file prompt.
20486 (lgrep): Add `--exclude=' command line options composed from
20487 `grep-find-ignored-files'.
20488 (rgrep): Add `-name' command line options composed from
20489 `grep-find-ignored-files'. (Bug#4301)
20491 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20493 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20496 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20498 * calendar/time-date.el (autoload):
20499 Expand define-obsolete-function-alias into defalias and make-obsolete
20500 for old Emacsen that Gnus supports.
20501 (with-no-warnings): Define it for old Emacsen.
20502 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20504 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20505 float-time is available; suppress compile warning for time-to-seconds.
20507 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20509 * net/imap.el (imap-message-map): Docstring fix.
20511 2009-09-09 Glenn Morris <rgm@gnu.org>
20513 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20514 line numbers too. (Bug#4374)
20516 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20518 * smerge-mode.el (smerge-remove-props, smerge-refine):
20519 Use with-silent-modifications (bug#4342).
20521 * subr.el (with-silent-modifications): New macro.
20523 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20525 * files.el (top-level): Require `cl' when compiling.
20527 2009-09-07 Glenn Morris <rgm@gnu.org>
20529 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20531 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20532 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20534 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20536 * vc-git.el (vc-git-annotate-command): Use separator to parse
20537 arguments correctly.
20539 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20541 * proced.el (proced-mode): Doc fix.
20543 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20545 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20547 (tramp-do-file-attributes-with-ls): Check for file existence at
20549 (tramp-do-file-attributes-with-stat): Likewise.
20550 (tramp-convert-file-attributes): Return nil when attr is nil.
20552 2009-09-05 Glenn Morris <rgm@gnu.org>
20554 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20555 properties to this button.
20556 (diary-fancy-display): Don't extend the button to the final newline.
20557 (diary-fancy-display-mode): Continue to define "q" as a local key.
20559 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20562 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20564 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20565 (byte-compile-dest-file-function): New option.
20566 (byte-compile-dest-file): Doc fix.
20567 Obey byte-compile-dest-file-function.
20568 (byte-compile-cl-file-p): New function.
20569 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20570 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20571 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20572 than for file being previously loaded.
20573 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20574 (byte-compile-file-form-require): Handle the case where requiring a file
20575 indirectly causes CL to be loaded.
20577 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20579 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20580 before killing the old buffer, since by the time `kill-buffer' is
20581 run so many buffer variables have been set to nil that it may not
20582 behave as expected. (Bug#4061)
20584 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20586 * files.el (find-alternate-file): If the old buffer is modified
20587 and visiting a file, behave similarly to `kill-buffer' when
20588 killing it, thus reverting to the pre-1.878 behavior; see
20589 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20590 for discussion. Also, consult `buffer-file-name' as a variable
20591 not as a function, for consistency with the rest of the code.
20593 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20595 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20596 also when adding a new directory.
20598 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20601 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20603 * files.el (locate-file-completion-table): Make it provide boundary
20604 information, so partial-completion works better.
20606 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20608 * mail/footnote.el (Footnote-text-under-cursor):
20609 Check footnote-text-marker-alist before using it (bug#4324).
20611 2009-09-04 Glenn Morris <rgm@gnu.org>
20613 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20614 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20615 * play/solitaire.el, play/tetris.el:
20616 Remove leading * from defcustom and defface docs.
20618 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20620 (diary-fancy-overriding-map): New variable.
20621 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20624 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20627 2009-09-03 Glenn Morris <rgm@gnu.org>
20629 * arc-mode.el (archive-mode):
20630 * dos-fns.el (set-default-process-coding-system):
20631 * man.el (Man-getpage-in-background):
20632 * menu-bar.el (menu-bar-describe-menu):
20633 * server.el (server-process-filter):
20634 * startup.el (command-line):
20635 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20636 * w32-fns.el (set-default-process-coding-system):
20637 * x-dnd.el (x-dnd-handle-file-name):
20638 * international/mule-cmds.el (mule-menu-keymap)
20639 (set-default-coding-systems, language-info-alist, set-language-info)
20640 (set-language-environment, standard-display-european-internal)
20641 (set-locale-environment):
20642 * international/mule-diag.el (mule-diag):
20643 * mail/emacsbug.el (report-emacs-bug):
20644 * mail/rmail.el (rmail-mode):
20645 * mail/sendmail.el (mail-setup):
20646 Use default-value rather than default-enable-multibyte-characters.
20648 * progmodes/f90.el: Move all safe properties into the defcustoms.
20649 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20651 * calendar/appt.el (appt-check):
20652 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20653 (diary-check-diary-file, diary-list-entries)
20654 (diary-include-other-diary-files, diary-simple-display)
20655 (diary-fancy-display, diary-print-entries)
20656 (diary-mark-included-diary-files, diary-make-entry):
20657 Don't call substitute-in-file-name on diary-file.
20659 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20660 Stefan Monnier <monnier@iro.umontreal.ca>
20662 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20663 (footnote-mode-map): Move initialization into the declaration.
20664 (footnote-minor-mode-map): Define it rather than changing global-map.
20665 (footnote-mode): Use define-minor-mode.
20667 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20669 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20670 (tramp-do-file-attributes-with-perl)
20671 (tramp-do-file-attributes-with-stat): Rename from
20672 `tramp-handle-file-attributes-with-*'.
20673 (tramp-handle-file-attributes): Use them.
20674 (tramp-do-directory-files-and-attributes-with-perl)
20675 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20676 `tramp-handle-directory-files-and-attributes-with-*'.
20677 (tramp-handle-directory-files-and-attributes): Use them.
20678 (tramp-method-out-of-band-p): Additional parameter SIZE.
20679 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20680 (tramp-handle-write-region): Use it.
20681 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20682 (tramp-handle-vc-registered): Check, whether the first run did
20683 return files to be tested.
20684 (tramp-advice-make-auto-save-file-name): Do not call directly
20685 `tramp-handle-make-auto-save-file-name', because this would bypass
20686 the locking mechanism.
20688 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20689 (file-remote-p, process-file, start-file-process, set-file-times)
20690 (tramp-compat-file-attributes): Compatibility functions shall not
20691 call directly `tramp-handle-*', because this would bypass the
20693 (tramp-compat-number-sequence): New defun.
20695 2009-09-02 Glenn Morris <rgm@gnu.org>
20697 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20698 alias for float-time.
20699 (time-to-number-of-days): In Emacs, use float-time.
20700 * net/newst-backend.el (time-add): Suppress warnings from compat
20702 * time.el (emacs-uptime, emacs-init-time):
20703 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20704 Use float-time rather than time-to-seconds.
20706 * minibuffer.el (completion-initials-expand): Fix typo.
20708 * faces.el (modeline, modeline-inactive, modeline-highlight)
20709 (modeline-buffer-id):
20710 * info.el (info-menu-5): Mark these face aliases as obsolete.
20712 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20714 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20716 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20717 no "--thread" option.
20718 (gdb-stopped): Don't print "Switched to thread" message when it is
20721 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20723 * minibuffer.el (completion-try-completion)
20724 (completion-all-completions): Remove ill-defined (and
20725 mistakenly installed and luckily never used nor documented)
20726 `completion-styles' property.
20727 (completion-initials-expand, completion-initials-all-completions)
20728 (completion-initials-try-completion): New functions.
20729 (completion-styles-alist): Add doc to each entry.
20730 Add new `initials' entry.
20732 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20734 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20735 MI command -var-evaluate-expression.
20736 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20737 and tweak for case of string child.
20738 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20740 2009-09-01 Glenn Morris <rgm@gnu.org>
20742 * add-log.el (change-log-date-face, change-log-name-face)
20743 (change-log-email-face, change-log-file-face, change-log-list-face)
20744 (change-log-conditionals-face, change-log-function-face)
20745 (change-log-acknowledgement-face):
20746 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20747 (custom-modified-face, custom-set-face, custom-changed-face)
20748 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20749 (custom-documentation-face, custom-state-face, custom-comment-face)
20750 (custom-comment-tag-face, custom-variable-tag-face)
20751 (custom-variable-button-face, custom-face-tag-face)
20752 (custom-group-tag-face-1, custom-group-tag-face):
20753 * diff-mode.el (diff-header-face, diff-file-header-face)
20754 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20755 (diff-added-face, diff-changed-face, diff-function-face)
20756 (diff-context-face, diff-nonexistent-face):
20757 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20758 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20759 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20760 (Info-title-4-face):
20761 * isearch.el (isearch-lazy-highlight-face):
20762 * log-view.el (log-view-file-face, log-view-message-face):
20763 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20764 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20765 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20767 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20768 (smerge-base-face, smerge-markers-face):
20769 * wid-edit.el (widget-documentation-face, widget-button-face)
20770 (widget-field-face, widget-single-line-field-face)
20771 (widget-inactive-face, widget-button-pressed-face):
20772 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20773 (woman-addition-face):
20774 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20775 (eshell-ls-executable-face, eshell-ls-readonly-face)
20776 (eshell-ls-unreadable-face, eshell-ls-special-face)
20777 (eshell-ls-missing-face, eshell-ls-archive-face)
20778 (eshell-ls-backup-face, eshell-ls-product-face)
20779 (eshell-ls-clutter-face):
20780 * eshell/em-prompt.el (eshell-prompt-face):
20781 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20782 * obsolete/old-whitespace.el (whitespace-highlight-face):
20783 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20784 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20785 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20786 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20787 (antlr-font-lock-literal-face):
20788 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20789 (ebrowse-root-class-face, ebrowse-file-name-face)
20790 (ebrowse-default-face, ebrowse-member-attribute-face)
20791 (ebrowse-member-class-face, ebrowse-progress-face):
20792 * progmodes/make-mode.el (makefile-space-face):
20793 * progmodes/sh-script.el (sh-heredoc-face):
20794 * textmodes/flyspell.el (flyspell-incorrect-face)
20795 (flyspell-duplicate-face):
20796 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20797 * textmodes/texinfo.el (texinfo-heading-face):
20798 Mark face aliases with "-face" suffix as obsolete.
20800 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20803 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20804 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20805 easy-menu-define wants to modify these.
20807 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20809 * net/browse-url.el (browse-url-file-url):
20810 * term/internal.el (dos-codepage-setup):
20811 Use default-value rather than default-enable-multibyte-characters.
20813 * progmodes/etags.el (etags-goto-tag-location):
20814 * progmodes/flymake.el (flymake-highlight-line)
20815 (flymake-goto-file-and-line, flymake-goto-line):
20816 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20817 (gdb-goto-breakpoint):
20818 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20819 * progmodes/python.el (python-find-function)
20820 (python-pdbtrack-track-stack-file):
20821 * progmodes/verilog-mode.el (verilog-surelint-off):
20822 * term/ns-win.el (ns-open-file-select-line):
20823 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20824 Use forward-line rather than goto-line.
20826 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20827 * textmodes/reftex-index.el (reftex-display-index):
20828 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20829 * textmodes/reftex-toc.el (reftex-toc):
20830 Remove unnecessary bindings of default-major-mode (all are followed by
20831 major-mode check and possible mode switch).
20833 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20835 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20836 Handle watchpoints (bug#4282).
20837 (def-gdb-thread-buffer-command): Enable thread to be selected by
20838 clicking without selecting threads buffer first.
20839 (gdb-current-context-command): Use selected frame so that "up",
20840 "down" etc work in the GUD buffer.
20841 (gdb-update): Find selected frame before rendering stack buffer.
20842 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20844 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20846 * progmodes/sym-comp.el (displayed-completions): Remove.
20847 (symbol-complete): Use minibuffer-complete.
20849 2009-08-31 Glenn Morris <rgm@gnu.org>
20851 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20853 * apropos.el (apropos-symbols-internal):
20854 Handle (obsolete) face aliases.
20856 * faces.el (describe-face): Adjust the output format to be more like
20857 describe-variable, and to mention (obsolete) face aliases.
20858 Adjust the whitespace so that help-setup-xref works.
20860 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20861 * calendar/diary-lib.el (diary-button-face):
20862 Mark these face aliases as obsolete.
20864 * calendar/calendar.el (calendar-today): Doc fix.
20866 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20868 * progmodes/gdb-mi.el (gdb-control-all-threads)
20869 (gdb-control-current-thread): Force tool bar update.
20870 (gdb-non-stop-handler): New function.
20871 (gdb-init-1): Use it to test if non-stop mode is supported.
20872 Remove unused gdbmi buffer type.
20874 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20876 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20877 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20879 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20881 * comint.el (comint-exec-1): Check command is non-null first.
20882 Part of gdb-mi.el change (2009-08-28).
20884 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20886 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20888 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20890 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20891 instead of `dolist' to avoid a recursive require when bootstrapping.
20893 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20895 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20897 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20899 * net/imap.el (imap-send-command): Simplify.
20900 (imap-wait-for-tag): point-max -> buffer-size.
20902 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20904 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20905 with constant argument.
20907 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20909 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20911 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20912 Change default, since most of our files don't have a history.
20913 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20916 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20919 * calc/calc.el: Improve commenting convention.
20920 (calc-digit-map, toplevel): Simplify.
20922 * comint.el (comint-insert-input): Be careful to only set point if we
20923 don't delegate to some other command.
20925 * proced.el (proced-signal-list): Make it an alist.
20926 (proced-grammar-alist): Capitalize names.
20927 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20928 Disable undo manually and make it read-only.
20929 Use completion-annotate-function.
20931 * minibuffer.el (minibuffer-message): If the current buffer is not
20932 a minibuffer, insert the message in the echo area rather than at the
20934 (completion-annotate-function): New variable.
20935 (minibuffer-completion-help): Use it.
20936 (completion--embedded-envvar-table): Environment vars are
20937 always case-sensitive.
20939 2009-08-30 Glenn Morris <rgm@gnu.org>
20941 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20942 from fortran-current-defun.
20943 (fortran-beginning-of-subprogram): Be more precise about finding the
20944 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20945 (fortran-end-of-subprogram): Simplify.
20946 (fortran-current-defun): Use fortran-start-prog-re.
20948 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20950 * subr.el (do-after-load-evaluation): Simplify.
20952 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20954 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20956 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20957 (vc-rcs-print-log): Use it.
20959 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20961 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20963 * paths.el (abbrev-file-name): Move to abbrev.el.
20964 * abbrev.el (abbrev-file-name): Move from paths.el.
20965 Obey user-emacs-directory.
20966 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20967 user-emacs-directory.
20968 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20969 abbrev-file-name and calc-settings-file any more.
20970 * startup.el (command-line): Recompute abbrev-file-name and
20971 abbreviated-home-dir.
20972 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20973 of the special code for when C-h bindings haven't been changed.
20974 (display-startup-echo-area-message): Use with-current-buffer.
20975 (command-line-1): Use a list of strings, rather than a list of lists
20976 of strings for longopts.
20978 * files.el (get-free-disk-space): Use / for default-directory.
20980 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20981 Use with-current-buffer.
20983 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20984 Recognize immutable variables like most-positive-fixnum.
20985 (byte-compile-setq-default): Check and warn if trying to assign
20986 to an immutable variable, or a non-variable.
20988 * progmodes/cc-vars.el (c-comment-continuation-stars):
20989 * progmodes/cc-engine.el (c-looking-at-bos):
20990 * progmodes/cc-cmds.el (c-toggle-auto-state)
20991 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20992 (c-comment-line-break-function): Add version of obsolescence.
20994 2009-08-28 Juri Linkov <juri@jurta.org>
20996 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20997 associated with `archive-mode'.
20999 * image.el (image-type-header-regexps): Use only JPEG magic number
21000 to determine JPEG images, and don't use `image-jpeg-p' because
21001 Emacs can display non-JFIF non-Exif JPEG images.
21003 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21005 * arc-mode.el (archive-mode):
21006 * emacs-lisp/re-builder.el (re-builder-unload-function):
21007 Protect against the default value of `major-mode' being nil.
21009 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21011 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21012 Fix typos in docstrings.
21014 * progmodes/js.el (js--macro-decl-re): Doc fix.
21015 (js--plain-method-re, js--split-name): Refloc docstring.
21016 (js--class-styles, js--make-merged-item, js--splice-into-items):
21017 Fix typos in docstrings; reflow docstrings.
21018 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21019 (js--variable-decl-matcher, js--inside-pitem-p)
21020 (js--parse-state-at-point, js--get-all-known-symbols)
21021 (js--symbol-history, js-find-symbol, js--js-references)
21022 (js--moz-interactor, js--js-encode-value, js--read-tab):
21023 Fix typos in docstrings.
21025 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21027 * textmodes/reftex.el (reftex-get-file-buffer-force):
21028 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21029 * emulation/viper.el (viper-go-away, viper-set-hooks):
21030 * emacs-lisp/re-builder.el (re-builder-unload-function):
21031 * emacs-lisp/bytecomp.el (byte-compile-file):
21032 * ses.el (ses-unload-function):
21033 * hexl.el (hexl-find-file):
21034 * files.el (normal-mode):
21035 * ehelp.el (with-electric-help):
21036 * autoinsert.el (auto-insert-alist):
21037 * arc-mode.el (archive-mode):
21038 Use (default-value 'major-mode) instead of default-major-mode.
21040 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21041 * international/mule.el (load-with-code-conversion):
21042 * emacs-lisp/debug.el (debug):
21043 * ediff-vers.el (ediff-rcs-get-output-buffer):
21044 * dired.el (dired-internal-noselect): Don't let-bind
21045 default-major-mode around code that doesn't use it.
21046 E.g. buffer creation via get-buffer-create doesn't use it.
21048 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21050 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21051 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21052 when writing the temp file. Otherwise, epa-file gets confused.
21053 (tramp-register-file-name-handlers): Make it a defun. Move also
21054 `epa-file-handler' to the front of `file-name-handler-alist'.
21056 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21058 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21059 start right after a ^M.
21060 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21061 (tramp-completion-file-name-regexp-separate)
21062 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21063 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21064 Don't modify last-coding-system-used by accident.
21065 (tramp-completion-file-name-handler): Apply the checks here,
21066 instead during registration.
21067 (tramp-register-file-name-handlers): Rename from
21068 `tramp-register-file-name-handler'. Register both
21069 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21070 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21072 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21074 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21075 Remove variable ...
21076 (gdb-init-1, gdb-display-separate-io-buffer)
21077 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21079 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21080 (gdb-inferior-filter): Use comint-output-filter to stop
21081 echoing and remove ^M characters.
21083 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21085 * emulation/viper-init.el (viper-restore-cursor-type):
21086 * emulation/cua-base.el (cua--update-indications):
21087 Replace default-cursor-type with (default-value 'cursor-type).
21089 * mail/sendmail.el (mail-recover-1):
21090 * international/mule-diag.el (describe-current-coding-system-briefly)
21091 (describe-current-coding-system):
21092 * international/mule-cmds.el (select-safe-coding-system)
21093 (select-message-coding-system)
21094 (set-language-environment-coding-systems, set-locale-environment):
21095 * hexl.el (hexl-insert-multibyte-char):
21096 * dos-w32.el (find-buffer-file-type-coding-system):
21097 * simple.el (what-cursor-position):
21098 Replace uses of default-buffer-file-coding-system
21099 with (default-value 'buffer-file-coding-system).
21101 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21102 Replace uses of default-cursor-in-non-selected-windows
21103 with (default-value 'cursor-in-non-selected-windows).
21104 Use with-current-buffer.
21106 * mail/feedmail.el: Use CL macros.
21107 (feedmail-run-the-queue, feedmail-send-it-immediately):
21108 * dos-w32.el (find-buffer-file-type): Replace uses of
21109 default-buffer-file-type with (default-value 'buffer-file-type).
21111 2009-08-28 Glenn Morris <rgm@gnu.org>
21113 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21114 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21115 Use default-value of major-mode rather than default-major-mode.
21117 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21119 * Makefile.in (update-elcfiles): Report left over elc files.
21121 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21122 expand-file-name and with-current-buffer.
21123 (mail-get-names, mail-directory): Use with-current-buffer.
21125 * vc.el (vc-read-revision): New function.
21126 (vc-version-diff, vc-merge): Use it.
21128 2009-08-27 Sam Steingold <sds@gnu.org>
21130 * simple.el (kill-do-not-save-duplicates): New user option.
21131 (kill-new): When it is non-nil, and the new string is the same as
21132 the latest kill, set replace to t to avoid duplicates in kill-ring.
21134 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21136 * net/tramp.el (tramp-handle-process-file): Do not flush all
21137 caches when `process-file-side-effects' is set.
21138 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21139 instead of `tramp-find-file-exists-command'.
21140 Unset `process-file-side-effects'.
21142 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21144 * net/tramp.el (tramp-methods): New method "rsyncc".
21145 (top): Add completion function for "rsyncc".
21146 (tramp-message-show-message): New defvar.
21147 (tramp-message, tramp-error): Use it.
21148 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21150 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21151 `tramp-methods' entry `copy-env' of "rsyncc".
21152 (tramp-vc-registered-read-file-names): New defconst.
21153 (tramp-vc-registered-file-names): New defvar.
21154 (tramp-handle-vc-registered): Implement optimization strategy.
21155 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21156 (tramp-vc-file-name-handler): New defun.
21157 (tramp-get-ls-command, tramp-get-test-command)
21158 (tramp-get-file-exists-command, tramp-get-remote-ln)
21159 (tramp-get-remote-perl, tramp-get-remote-stat)
21160 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21162 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21163 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21165 (tramp-get-file-property): Check for timestamps in
21166 `tramp-cache-inhibit-cache'.
21167 (tramp-set-file-property): Write timestamp.
21169 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21171 * language/japan-util.el (japanese-symbol-table): Add entries for
21174 * international/characters.el: Add category `j' to cp932-2-byte.
21176 2009-08-27 Kenichi Handa <handa@m17n.org>
21178 * international/fontset.el (build-default-fontset-data): New macro.
21179 (setup-default-fontset): Use build-default-fontset-data for CJK,
21180 tibetan, ethiopic, and ipa.
21182 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21184 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21185 (enable-multibyte-characters): Not customizable any more.
21187 * subr.el (default-mode-line-format, default-header-line-format)
21188 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21189 (default-direction-reversed, default-truncate-lines)
21190 (default-left-margin, default-tab-width, default-case-fold-search)
21191 (default-left-margin-width, default-right-margin-width)
21192 (default-left-fringe-width, default-right-fringe-width)
21193 (default-fringes-outside-margins, default-scroll-bar-width)
21194 (default-vertical-scroll-bar, default-indicate-empty-lines)
21195 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21196 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21197 (default-scroll-down-aggressively, default-fill-column)
21198 (default-cursor-type, default-buffer-file-type)
21199 (default-cursor-in-non-selected-windows)
21200 (default-buffer-file-coding-system, default-major-mode)
21201 (default-enable-multibyte-characters): Mark as obsolete.
21203 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21205 * vc-dir.el (vc-dir-update): Remove debug helper.
21207 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21209 2009-08-26 Sam Steingold <sds@gnu.org>
21211 * simple.el (save-interprogram-paste-before-kill): New user option.
21212 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21213 save the interprogram-paste into kill-ring before overriding it
21214 with the Emacs kill.
21216 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21218 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21219 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21220 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21221 and move to vc-rcs.el.
21222 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21224 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21225 (vc-rcs-update-changelog): Remove.
21226 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21227 and move to vc-rcs.el.
21229 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21230 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21232 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21233 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21234 vc.el, renamed to be RCS specific.
21236 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21238 (vc-cvs-update-changelog): Move here from vc.el.
21240 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21243 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21245 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21247 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21249 * vc-git.el (vc-git-register): Use "git add" for directories.
21250 (vc-git-stash, vc-git-stash-show): New functions.
21251 (vc-git-extra-menu-map): Bind them.
21253 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21254 directory correctly in case the item is a directory itself.
21256 * vc.el: Document the desired behavior for reverted files in the
21258 (vc-default-prettify-state-info): Remove function, unused.
21260 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21262 2009-08-26 Glenn Morris <rgm@gnu.org>
21264 * bindings.el (standard-mode-line-format): Reposition dashes in
21265 which-func entry. (Bug#4217)
21267 * files.el (enable-local-variables, enable-local-eval)
21268 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21270 (auto-mode-alist, ignored-local-variables)
21271 (save-some-buffers-action-alist): Move risky declarations to the
21273 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21274 (font-lock-defaults, format-alist, imenu--index-alist)
21275 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21276 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21277 (mode-line-modified, mode-line-mule-info, mode-line-position)
21278 (mode-line-process, mode-line-remote, outline-level)
21279 (parse-time-rules, rmail-output-file-alist)
21280 (special-display-buffer-names, vc-mode):
21281 Move risky declarations to the relevant files.
21282 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21283 (mode-line-modified, mode-line-process, mode-line-position)
21284 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21285 * font-core.el (font-lock-defaults):
21286 * format.el (format-alist):
21287 * vc-hooks.el (vc-mode):
21288 * window.el (special-display-buffer-names):
21289 * international/mule-cmds.el (input-method-alist):
21290 Define riskiness here (dumped file) rather than in files.el.
21291 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21292 * imenu.el (imenu-generic-expression, imenu--index-alist):
21293 * outline.el (outline-level):
21294 * time.el (display-time-string):
21295 * calendar/parse-time.el (parse-time-rules):
21296 * mail/rmailout.el (rmail-output-file-alist):
21297 Autoload riskiness here, rather than placing in files.el.
21299 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21301 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21303 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21305 * simple.el (process-file-side-effects): New defvar.
21307 * dired-aux.el (dired-show-file-type):
21308 * vc.el (vc-diff-internal):
21309 * vc-arch.el (vc-arch-diff):
21310 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21311 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21312 * vc-git.el (vc-git-registered, vc-git-working-revision)
21313 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21314 (vc-git--empty-db-p):
21315 * vc-hooks.el (vc-user-login-name):
21316 * vc-svn.el (vc-svn-registered, vc-svn-state)
21317 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21318 * progmodes/grep.el (grep-probe): Let-bind
21319 `process-file-side-effects' with nil.
21321 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21323 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21324 daemon. Replace ping by checking for running service for bluez
21325 and zeroconf. (Bug#4239)
21327 2009-08-25 Kevin Ryde <user42@zip.com.au>
21329 * net/dig.el (dig): Add autoload cookie.
21331 2009-08-25 Glenn Morris <rgm@gnu.org>
21333 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21334 load-history for absolute file-names.
21335 (byte-compile-file-form-require): Warn about use of the cl package.
21337 * format.el (format-alist): Doc fix.
21339 * play/bubbles.el (top-level): Don't require cl at run-time.
21341 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21344 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21346 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21348 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21350 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21352 * calc/calc-alg.el (math-trig-rewrite)
21353 (math-hyperbolic-trig-rewrite): New functions.
21354 (calc-simplify): Simplify trig functions when asked.
21356 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21358 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21360 2009-08-24 Kenichi Handa <handa@m17n.org>
21362 * language/ind-util.el (mapthread): Delete it.
21363 (combinatorial): New function.
21364 (indian--puthash-cv): Use combinatorial instead of mapthread.
21366 2009-08-22 Kevin Ryde <user42@zip.com.au>
21368 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21369 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21370 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21371 Clarify docstring that the value is strings not symbols.
21372 (checkdoc-list-of-strings-p): New function.
21374 2009-08-22 Glenn Morris <rgm@gnu.org>
21376 * files.el (auto-mode-alist):
21377 * hippie-exp.el (he-concat-directory-file-name):
21378 * lpr.el (lpr-windows-system, printer-name):
21379 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21380 * ps-print.el (ps-windows-system):
21381 * startup.el (command-line):
21382 * emulation/viper-ex.el (viper-glob-function):
21383 * international/mule-cmds.el (set-language-environment-coding-systems):
21384 * net/ange-ftp.el (ange-ftp-write-region):
21385 * obsolete/fast-lock.el (fast-lock-cache-name):
21386 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21387 unisoft-unix, vax-vms, win32, w32.
21389 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21390 given name if the pattern is not more specific.
21392 * calendar/lunar.el (lunar-phase-names): New option.
21393 (lunar-phase): Doc fix.
21394 (lunar-cycles-per-year): New constant.
21395 (lunar-index): New function.
21396 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21397 (lunar-phase-name): Use lunar-phase-names.
21398 (calendar-lunar-phases): Use format.
21399 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21401 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21402 Copy imenu-example--name-and-position function here for own use.
21403 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21405 * bs.el (bs--redisplay):
21406 * cus-edit.el (custom-redraw):
21407 * ibuffer.el (ibuffer-bury-buffer):
21408 * server.el (server-goto-line-column):
21409 * startup.el (command-line-1):
21410 * strokes.el (strokes-xpm-for-stroke):
21411 * term.el (term-display-buffer-line):
21412 * view.el (View-goto-line):
21413 * calc/calc.el (calc-do, calc-trail-buffer):
21414 * play/gamegrid.el (gamegrid-add-score-insecure):
21415 * progmodes/ada-mode.el (ada-compile-goto-error):
21416 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21417 (ebrowse-select-1st-to-9nth):
21418 * progmodes/cperl-mode.el (cperl-time-fontification):
21419 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21420 * progmodes/gud.el (gud-display-line):
21421 (idlwave-shell-display-line):
21422 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21423 * progmodes/make-mode.el (makefile-browser-toggle):
21424 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21425 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21426 * textmodes/picture.el (picture-draw-rectangle):
21427 * textmodes/reftex-index.el (reftex-index-goto-letter):
21428 (reftex-select-jump-to-previous):
21429 * textmodes/reftex-sel.el (reftex-find-start-point)
21430 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21431 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21432 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21433 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21434 * textmodes/two-column.el (2C-associated-buffer):
21435 Use forward-line rather than goto-line.
21437 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21440 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21441 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21442 (quick-check-list-to-regexp): Declare.
21444 * progmodes/make-mode.el (makefile-browser-insert-selection):
21445 Use goto-char rather than goto-line.
21447 * progmodes/prolog.el (compilation-error-regexp-alist)
21448 (compilation-forget-errors): Declare.
21450 2009-08-22 Juri Linkov <juri@jurta.org>
21452 * progmodes/grep.el (lgrep, rgrep): At the beginning
21453 set `dir' to `default-directory' unless `dir' is a non-nil
21454 readable directory. (Bug#4052)
21455 (lgrep, rgrep): Change a weird way to report an error
21456 from using `read-string' to using `error'.
21457 Instead of using interactive arguments in the function body,
21458 add new argument `confirm'.
21460 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21462 * textmodes/remember.el (remember-buffer):
21463 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21464 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21465 (icalendar-extract-ical-from-buffer):
21466 * net/newst-treeview.el (newsticker-groups-filename):
21467 * net/newst-backend.el (newsticker-cache-filename):
21468 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21469 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21470 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21471 (speedbar-buffers-line-path, speedbar-path-line)
21472 (speedbar-buffers-line-path):
21473 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21475 * epa.el (epa-display-verify-result):
21476 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21478 2009-08-21 Glenn Morris <rgm@gnu.org>
21480 * progmodes/js.el (inferior-moz-process): Fix declaration.
21482 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21484 * obsolete/rnewspost.el (news-mail-reply):
21485 Use goto-char rather than goto-line.
21487 * term/ns-win.el (ns-open-file-select-line):
21488 Use line-beginning-position rather than goto-line.
21490 * apropos.el (apropos-command):
21491 * ehelp.el (electric-helpify):
21492 * printing.el (pr-show-setup):
21493 * strokes.el (strokes-help):
21494 * tutorial.el (tutorial--describe-nonstandard-key)
21495 (tutorial--detailed-help):
21496 * woman.el (woman-mini-help, woman-display-extended-fonts):
21497 * calc/calc-help.el (calc-describe-key):
21498 * emulation/edt.el (edt-electric-helpify):
21499 * international/mule-diag.el (mule-diag):
21500 * play/yow.el (apropos-zippy):
21501 * progmodes/python.el (python-describe-symbol):
21502 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21503 * textmodes/table.el (*table--cell-describe-mode)
21504 (*table--cell-describe-bindings):
21505 Use help-print-return-message rather than the now obsolete alias.
21507 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21508 (calendar-cursor-to-visible-date):
21509 * play/5x5.el (5x5-position-cursor):
21510 * play/decipher.el (decipher):
21511 * play/gomoku.el (gomoku-goto-xy):
21512 * play/landmark.el (lm-goto-xy):
21513 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21514 (mpuz-paint-digit):
21515 Use forward-line, not goto-line.
21517 * mail/rmail.el (rmail-obsolete): Delete custom group.
21518 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21519 (rmail-remote-password, rmail-remote-password-required):
21520 Remove unneeded :set-after and :set properties.
21522 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21524 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21526 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21528 * loadup.el: Remove leftover macos code.
21530 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21531 Explicitly pass the date format to git blame so that user local
21532 so that the output format can be parsed.
21534 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21536 * net/dbus.el (top): Don't check for (getenv
21537 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21539 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21541 * log-edit.el (log-edit-strip-single-file-name): New var.
21542 (log-edit-insert-changelog): Use it. Bug#3571.
21544 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21546 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21549 * help.el (help-print-return-message): Rename from
21550 print-help-return-message.
21552 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21553 cvs-mode-map parent hack.
21554 (log-view-mode): Derive from special-mode.
21556 * linum.el (linum-mode): window-size-change-functions is redundant.
21557 Adapt to new window-configuration-change-hook behavior.
21558 (linum-after-size, linum-after-config): Remove.
21560 * imenu.el (imenu-example--name-and-position)
21561 (imenu-example--lisp-extract-index-name)
21562 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21565 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21566 (inferior-prolog-mode): Use it.
21567 (inferior-prolog-load-file): Reset list of errors.
21569 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21571 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21573 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21575 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21577 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21578 is running already.
21580 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21582 * subr.el (listify-key-sequence-1): Use normal syntax since those
21583 integers are nowadays always represented by the same (positive) number
21585 (read-key-empty-map): New const.
21586 (read-key-delay): New var.
21587 (read-key): New function.
21588 (force-mode-line-update): Use with-current-buffer.
21589 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21590 (start-process-shell-command, start-file-process-shell-command):
21591 Discourage the use of command-args.
21593 2009-08-19 Glenn Morris <rgm@gnu.org>
21595 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21597 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21599 * simple.el (choose-completion-string): Don't rely on
21600 minibuffer-completing-file-name and ad-hoc checks to decide whether
21601 to continue completion or not.
21603 * minibuffer.el (minibuffer-hide-completions): New function.
21604 (completion--do-completion): Use it.
21605 (completions-annotations): New face.
21606 (completion--insert-strings): Use it.
21607 (completion-pcm--delim-wild-regex): Add docstring.
21608 (completion-pcm--string->pattern): Add support for 0-width delimiters
21609 in completion-pcm--delim-wild-regex.
21611 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21613 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21614 Remove unused var `buffer-modified-p'.
21616 * minibuffer.el (completion--do-completion): Move point for the #b001
21617 case as well (bug#4176).
21618 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21620 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21622 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21623 and :session buses.
21625 2009-08-18 Kenichi Handa <handa@m17n.org>
21627 * international/ucs-normalize.el (ucs-normalize-version):
21629 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21630 (utf-8-hfs): Make it perform normalization on encoding too.
21632 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21633 (sentence-end-without-space): Delete duplicated chars.
21634 (sentence-end-base): Likewise.
21636 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21637 (html-mode): Delete duplicated chars from sentence-end-base.
21639 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21640 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21642 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21644 * files.el (hack-one-local-variable): If the mode function is for
21645 a minor mode, pass it an argument (Bug#4148).
21647 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21649 * net/tramp.el (tramp-register-completion-file-name-handler):
21650 Check also for (member 'partial-completion completion-styles).
21652 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21654 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21657 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21659 * progmodes/cperl-mode.el: Merge upstream 6.2.
21660 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21661 (cperl-forward-re): Check cperl-brace-recursing.
21662 (cperl-highlight-charclass): New function.
21663 (cperl-find-pods-heres): Use it.
21664 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21665 (cperl-beautify-regexp-piece): Fix column calculation.
21666 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21667 (cperl-beautify-level): Don't process entire regexp.
21668 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21670 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21671 (cperl-init-faces): Build a list in the normal way.
21673 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21675 * calendar/parse-time.el (parse-time-string-chars): Save match
21678 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21680 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21681 (sql-product): Use it.
21682 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21683 (sql-set-product): Add completion.
21684 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21685 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21686 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21687 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21688 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21689 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21690 (sql-highlight-db2-keywords): Remove.
21691 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21692 (sql-highlight-product): Use derived-mode-p.
21693 (sql-set-sqli-buffer): Use with-current-buffer.
21694 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21697 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21699 * term.el: Fix commenting convention, turn comments into docstrings.
21701 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21703 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21705 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21707 * calendar/parse-time.el (parse-time-string-chars): Compute using
21708 character classes, to handle non-ascii characters (Bug#3190).
21710 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21712 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21713 another heredoc if the user adds another < (Bug#3226).
21715 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21716 Don't initialize based on window-system (Bug#4124).
21718 * facemenu.el (facemenu-read-color): Use a completion function
21719 that accepts any defined color, such as RGB triplets (Bug#3677).
21721 * files.el (get-free-disk-space): Change fallback default
21722 directory to /. Expand DIR argument before switching to fallback.
21723 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21725 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21727 * files.el (load-library): Doc fix.
21729 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21731 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21732 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21733 incremental search string.
21735 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21738 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21739 (ediff-merge-region-is-non-clash)
21740 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21741 Also check if the job is really a merge job.
21743 * ediff.el (ediff-current-file): New function.
21745 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21747 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21749 (js-insert-and-indent): Delete function.
21750 (js-mode-map): Don't bind keys to js-insert-and-indent.
21751 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21752 (js-end-of-defun): Rename from js--end-of-defun.
21753 (js-auto-indent-flag): Delete variable.
21755 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21757 * progmodes/js.el: Remove proclaim statement.
21758 Defvar which-func-imenu-joiner-function to silence compiler.
21760 * files.el (auto-mode-alist): Use js-mode for .js files.
21762 * progmodes/js2-mode.el: Remove file.
21764 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21766 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21768 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21770 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21771 Karl Landstrom <karl.landstrom@brgeight.se>
21773 * progmodes/js.el: New file.
21775 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21777 * timezone.el (timezone-parse-date): Add ability to understand ISO
21778 basic format (minimal separators) dates in addition to the
21779 already-supported extended format dates.
21781 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21783 * international/ucs-normalize.el: Add a `coding' file variable.
21785 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21787 2009-08-14 Sam Steingold <sds@gnu.org>
21789 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21791 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21793 * faces.el (help-argument-name): Define it here instead of
21794 help-fns.el, because in daemon mode help-fns.el may be loaded when
21795 faces are still uninitialized (Bug#1078).
21797 * help-fns.el (help-argument-name): Move defface to faces.el.
21799 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21801 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21802 create buffer with a pty but no process so that GDB can make the
21803 inferior the controlling process.
21805 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21807 * international/ucs-normalize.el: New file.
21809 2009-08-13 Richard Stallman <rms@gnu.org>
21811 * mail/rmail.el (rmail-get-attr-names):
21812 Accept an attribute header that is too short.
21814 * mail/rmail.el (rmail-forget-messages):
21815 Ignore nil elt in rmail-message-vector. Use dotimes.
21817 * progmodes/compile.el (compilation-goto-locus):
21818 Use next-error-move-function.
21820 * simple.el (next-error-move-function): New variable.
21822 2009-08-12 Juri Linkov <juri@jurta.org>
21824 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21825 always non-nil. (Bug#4052)
21827 * replace.el (read-regexp): Return empty string when
21828 `default-value' is nil.
21829 (keep-lines-read-args): Don't use empty string as the
21830 default value for `read-regexp'. (Bug#2495)
21832 2009-08-12 Juri Linkov <juri@jurta.org>
21834 * international/mule-cmds.el (ucs-insert): Change arguments
21835 from `arg' to `character', `count', `inherit' to be the same
21836 as in `insert-char'. Doc fix. (Bug#4039)
21838 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21840 2009-08-12 Juri Linkov <juri@jurta.org>
21842 * files-x.el: New file.
21844 * files.el: Move code that deals with adding/deleting
21845 file/directory-local variables to files-x.el.
21847 * Makefile.in (ELCFILES): Add files-x.elc.
21849 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21851 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21852 to use `goto-line'.
21853 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21855 (gdb-invalidate-disassembly): Do not refresh upon receiving
21856 'update signal. Instead, update all disassembly buffers only after
21858 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21859 (gdb-starting): Move -data-list-register-names...
21860 (gdb-stopped): ...here so it's sent when first thread stops.
21861 (gdb-registers-handler-custom): Do nothing if register names are
21864 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21865 from `gdb-mi.el' to avoid extra tangling.
21867 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21868 change which breaks `gud-def' definitions used in `gdb'.
21869 (gdb-update-gud-running): No extra fuss for updating frame number.
21871 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21873 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21874 (describe-language-environment-map, setup-language-environment-map)
21875 (set-coding-system-map): Move initialization into declaration.
21876 (set-language-info-alist): Last arg to define-key-after can be skipped.
21878 * international/quail.el (quail-completion-1): Simplify.
21879 (quail-define-rules): Use slightly more compact code.
21880 (quail-insert-decode-map): Propertize keys, compact columns.
21882 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21885 2009-08-10 Miles Bader <miles@gnu.org>
21887 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21888 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21889 (js2-instance-member, js2-private-member, js2-private-function-call)
21890 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21891 (js2-magic-paren, js2-external-variable):
21892 Remove "-face" suffix from face names.
21893 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21894 (js2-highlight-undeclared-vars, js2-peek-token)
21895 (js2-parse-function-params, js2-mode-show-errors)
21896 (js2-mode-show-warnings, js2-make-magic-delimiter)
21897 (js2-mode-highlight-magic-parens): Update to use new face names.
21899 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21901 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21902 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21904 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21906 * subr.el: Provide hashtable-print-readable.
21908 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21909 hs-c-like-adjust-block-beginning.
21910 (hs-hide-block-at-point): Stop hiding at the beginning of
21911 hs-block-end-regexp (Bug#700).
21913 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21915 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21917 (gdb-registers-handler-custom): Do not fail when register names
21920 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21922 * progmodes/gdb-mi.el (gdb-control-all-threads)
21923 (gdb-control-current-thread): Interactive setters for
21924 `gdb-gud-control-all-threads' to use in menu.
21925 (gdb-show-run-p): Show «Go» when process is not active.
21926 (gud-tool-bar-map): Add non-stop/A,T indicator.
21927 Uses gud/thread.xpm and gud/all.xpm.
21929 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21931 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21932 (nslookup-font-lock-keywords): Make it a variable.
21933 (net-utils-mode): New mode for viewing diagnostic network output.
21934 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21935 (net-utils-run-simple): New function.
21936 (ifconfig, iwconfig, netstat, arp, route): Use it.
21938 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21940 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21941 (gdb-memory-set-address, def-gdb-set-positive-number)
21942 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21943 after changing settings.
21944 (gdb-invalidate-disassembly): Update when first shown.
21945 (gdb-edit-locals-value): Fix.
21946 (gdb-registers-handler-custom): Print registers in right order and
21947 allow changing register values (only for current thread yet).
21948 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21949 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21950 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21951 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21952 Thread info in mode name.
21953 (gdb-registers-mode-map): TAB to switch to locals.
21955 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21957 * mail/rmail.el (rmail-add-mbox-headers)
21958 (rmail-set-message-counters-counter): Search for
21959 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21961 2009-08-08 Glenn Morris <rgm@gnu.org>
21963 * Makefile.in (ELCFILES): Update.
21965 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21967 * mail/sendmail.el (mail-yank-original):
21968 Set buffer-file-coding-system from the one used by the message whose
21971 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21972 to "windows" when "pgnuplot" is used.
21973 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21974 Don't call accept-process-output if "pgnuplot" is used.
21975 (calc-graph-init): Don't send -display and -geometry to
21976 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21977 running "pgnuplot -V" with shell-command-to-string.
21979 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21982 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21984 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21987 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21989 * vc-dispatcher.el (vc-resynch-window): Update comment.
21991 * term.el (term-handle-ansi-escape): Add comments with the
21992 terminfo capabilities implemented.
21994 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21996 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21997 (gdb-var-create-handler): Rewritten using JSON parser.
21998 (gdb-propertize-header): Move earlier.
21999 (gdb-set-header): Remove to avoid duplication.
22000 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22001 Refresh disassembly buffers only after threads list have been
22003 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22006 2009-08-04 Juri Linkov <juri@jurta.org>
22008 * files.el: Commands to add/delete file/directory-local variables.
22009 (read-file-local-variable, read-file-local-variable-value)
22010 (read-file-local-variable-mode, modify-file-local-variable)
22011 (modify-file-local-variable-prop-line)
22012 (modify-dir-local-variable): New functions.
22013 (add-file-local-variable, delete-file-local-variable)
22014 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22015 (add-dir-local-variable, delete-dir-local-variable)
22016 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22017 (copy-dir-locals-to-file-locals-prop-line): New commands.
22019 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22021 * abbrev.el (insert-abbrev-table-description): Prettify output.
22022 Suggested by Karl Chen.
22024 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22026 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22027 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22028 (gdb-overlay-arrow-position, gdb-thread-position)
22029 (gdb-disassembly-position): Declare variables.
22030 (gdb-wait-for-pending): Function now.
22031 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22032 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22033 compilation goes smoothly.
22034 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22035 (gdb-non-stop-setting): New customization setting which replaces
22036 `gdb-non-stop' so changing it doesn't break active GDB session.
22037 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22038 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22039 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22040 (gdb-show-threads-by-default): New customization options.
22041 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22043 (gdb-get-buffer-create): Send buffers update signal when they are
22045 (gdb-invalidate-locals, gdb-invalidate-registers)
22046 (gdb-invalidate-breakpoints)
22047 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22048 (gdb-invalidate-memory): Accept update signal.
22049 (gdb-current-context-command): Use --frame option.
22050 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22051 Implement `gdb-frame-number' selection logic.
22052 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22053 whether to show GUD toolbar buttons.
22054 (gdb-thread-exited): Unselect current thread when it exits.
22055 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22056 (gdb-mark-line): Routine which sets overlay arrow or inverses
22057 video on fringeless displays.
22058 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22059 to build aligned columns of data in GDB buffers and set text
22060 properties line-by-line.
22061 (gdb-invalidate-breakpoints)
22062 (gdb-breakpoints-list-handler-custom)
22063 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22064 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22065 (gdb-registers-handler-custom): Align data columns.
22066 (gdb-locals-handler-custom): Now prints data like in variable
22068 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22069 Remove confusing buttons.
22070 (gdb-invalidate-threads): Append --frame.
22071 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22072 between breakpoints/threads buffers.
22073 (gdb-set-window-buffer): Now can ignore dedicated windows.
22074 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22075 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22076 (def-gdb-thread-buffer-gud-command): Replaces
22077 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22078 for fine thread control.
22079 (gdb-preempt-existing-or-display-buffer): New function used to
22080 display bound buffers without breaking window layout.
22081 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22082 (gdb-select-frame): New version of `gdb-frames-select' which now
22083 sets `gdb-frame-number' so commands may use --frame option instead
22084 of inner debugger state.
22085 (gdb-frame-handler): Do not set `gdb-frame-number'.
22086 (gdb-threads-mode-map): Select threads with mouse.
22088 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22089 avoid compilation warning.
22090 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22093 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22094 Argument `key' renamed to `buffer-type'.
22095 (gdb-current-context-buffer-name): Do not add thread info to
22096 buffer name when no thread is selected.
22097 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22098 command (bug 3794).
22099 (gdb-thread-selected): Handle `=thread-selected' notification.
22100 (gdb-wait-for-pending): New macro to deal with congestion problems.
22101 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22103 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22104 This fixes problem similar to one described in bug 3947.
22105 (gud-menu-map): More menu items.
22106 (gdb-init-1): Reset `gdb-thread-number' to nil.
22108 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22111 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22112 (gdb-current-context-command): Do not append --thread if
22113 `gdb-thread-number' is nil.
22114 (gdb-running-threads-count, gdb-stopped-threads-count):
22116 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22117 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22118 New customization options.
22119 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22121 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22122 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22123 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22124 set `gdb-thread-number' and update `gud-running' properly.
22125 (gdb-running): Update threads list when new threads appear.
22126 (gdb-stopped): Support non-stop operation and new thread switching
22128 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22129 (gdb-json-partial-output): New set of JSON routines.
22130 (def-gdb-auto-update-trigger): New `signal-list' optional
22132 (gdb-thread-list-handler-custom): Update `gud-running',
22133 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22134 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22135 (gdb-continue-thread, gdb-step-thread): New commands for fine
22136 thread execution control.
22137 (gud-menu-map): New menu items to switch non-stop options.
22138 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22139 (gdb-send): Mimic RET properly (bug 3794).
22141 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22142 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22144 (def-gdb-auto-update-handler): New nopreserve optional argument.
22145 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22147 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22148 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22149 (gdb-parent-mode): New mode to derive other GDB modes from.
22150 (gdb-display-disassembly-for-thread)
22151 (gdb-frame-disassembly-for-thread): New commands for threads
22154 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22155 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22156 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22157 (gdb-update): We now store all GDB buffers in a list so that they
22158 can be updated by traversing a list instead of calling invalidate
22159 triggers explicitly.
22160 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22161 pair for GDB buffer.
22162 (gdb-stack-buffer-name): Add thread information.
22163 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22164 handle pending triggers.
22165 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22166 (def-gdb-thread-buffer-simple-command)
22167 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22168 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22169 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22170 New commands which show buffers bound to thread.
22171 (gdb-stack-list-locals-regexp): Remove unused regexp.
22173 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22174 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22175 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22176 to (gud-comint-buffer) in *-buffer-name functions
22177 because (gdb-get-target-string) already does that.
22178 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22179 (gdb-changed-registers-handler): Rewritten without regexps.
22181 * progmodes/gdb-mi.el: Basic thread selection support.
22182 (gdb-thread-number): New variable.
22183 (gdb-current-context-command): New macro which adds --thread
22185 (gdb-threads-mode-map): Select thread with SPC.
22186 (gdb-thread-list-handler-custom): Mark current thread with overlay
22187 arrow. Synchronize GDB thread and Emacs thread.
22188 (gdb-select-thread): New command which selects current thread.
22189 (gdb-invalidate-frames, gdb-invalidate-locals)
22190 (gdb-invalidate-registers): Use --thread option.
22192 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22194 * net/tramp.el (top): Make check for tramp-gvfs loading more
22196 (tramp-handle-insert-file-contents): `unwind-protect' must be
22197 inside `with-parsed-tramp-file-name'.
22199 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22202 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22204 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22205 directory if CLASSPATH is not set.
22207 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22209 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22211 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22213 2009-08-02 Kevin Ryde <user42@zip.com.au>
22215 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22216 Update freshmeat link. Delete newsforge.com as it seems gone.
22218 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22220 * select.el (x-set-selection): Doc fix (Bug#4021).
22222 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22224 * help-fns.el (describe-variable): Treat list return values from
22225 dir-locals-find-file properly (Bug#4005).
22227 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22229 * net/tramp.el (tramp-debug-message): Print also microseconds.
22231 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22233 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22235 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22236 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22239 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22240 (tramp-get-file-property): Use it.
22242 * autorevert.el (auto-revert-handler):
22243 Allow `auto-revert-tail-mode' for remote files.
22245 2009-08-02 Jason Rumney <jasonr@gnu.org>
22247 * minibuffer.el (read-file-name): Treat confirm options to
22248 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22250 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22252 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22253 (font-lock-variable-name-face, font-lock-constant-face):
22254 Darken the colors for light backgrounds.
22256 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22258 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22259 month names. (Bug#3987)
22261 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22263 * simple.el (line-move-finish): Pass whole number to
22264 line-move-to-column.
22265 (line-move-visual): Perform hscroll to the recorded position.
22267 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22269 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22271 2009-07-29 Alan Mackenzie <acm@muc.de>
22273 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22275 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22277 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22278 (gdb-place-breakpoints): Use full path when setting breakpoints.
22280 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22282 * calc/calc.el (calc-mode-map): Add keybinding for
22283 `calc-transpose-lines'.
22285 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22287 * calc/calc-misc.el (calc-transpose-lines): New function.
22289 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22291 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22292 Simplify check for out-of-band methods.
22293 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22294 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22296 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22298 * vc-git.el (vc-git-checkin): Fix typo.
22300 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22302 * progmodes/js2-mode.el: New file.
22304 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22306 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22307 (gud-menu-map): Adjust tooltip accordingly.
22309 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22311 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22312 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22314 * add-log.el (change-log-mode-map): Add a menu.
22316 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22318 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22319 function returns nil.
22320 (dbus-handle-event): Handle special return value :ignore.
22321 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22323 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22325 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22328 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22332 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22334 * term/pc-win.el (x-display-name, x-colors)
22335 (x-select-enable-clipboard, x-select-text): Doc fix.
22337 * term/common-win.el (x-display-name, x-colors): Doc fix.
22339 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22340 (xw-defined-colors): Doc fix.
22342 * w32-fns.el (x-select-text, x-setup-function-keys)
22343 (x-get-selection, x-set-selection): Doc fix.
22345 * term/x-win.el (x-select-text, x-setup-function-keys)
22346 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22348 * select.el (x-set-selection): Doc fix.
22350 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22352 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22353 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22354 "IsNSSSupportAvailable" method is not available.
22355 Reported by Steve Youngs <steve@sxemacs.org>.
22357 2009-07-24 Kenichi Handa <handa@m17n.org>
22359 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22360 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22361 (build-unicode-category-table): Fix range checks.
22363 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22365 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22366 the buffer we try to sync is current when calling
22369 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22370 not show up to date files.
22372 2009-07-24 Glenn Morris <rgm@gnu.org>
22374 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22375 Add autoload cookies. If necessary, initialize.
22376 (elint-log): Handle non-file buffers.
22377 (elint-initialize): Add optional argument to reinitialize.
22378 (elint-find-builtin-variables): Save excursion.
22380 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22382 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22385 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22387 * vc.el (vc-print-log-internal): New function, split out from ...
22388 (vc-print-log): ... here.
22389 (vc-dir-move-to-goal-column): Declare.
22391 * vc-git.el (vc-git-add-signoff): New variable.
22392 (vc-git-checkin): Use it.
22393 (vc-git-toggle-signoff): New function.
22394 (vc-git-extra-menu-map): Bind it to menu.
22395 (vc-git--run-command-string): Accept a nil FILE argument.
22396 (vc-git-stash-list): New function.
22397 (vc-git-dir-extra-headers): Use it.
22399 2009-07-23 Glenn Morris <rgm@gnu.org>
22401 * help-fns.el (describe-variable): Describe ignored and risky local
22402 variables in a similar way to that in which we describe safe ones.
22404 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22405 (byte-compile-output-file-form, byte-compile-output-docform)
22406 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22407 Give some more local variables with common names a "bytecomp-" prefix,
22408 so as not to shadow things during compilation.
22409 * emacs-lisp/cl-macs.el (load-time-value)
22410 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22411 `outbuffer' to `bytecomp-outbuffer'.
22413 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22414 since the next two variables cover them automatically now.
22415 (elint-builtin-variables, elint-autoloaded-variables): New.
22416 (elint-unknown-builtin-args): Remove all members, since they can be
22417 parsed automatically now.
22418 (elint-extra-errors): New.
22419 (elint-env-add-env, elint-env-add-macro): Use cadr.
22420 (elint-current-buffer): Use or. Change final message.
22421 (elint-get-top-forms): Use line-end-position.
22422 (elint-init-env): Use cadr. Handle autoload, declare-function,
22424 (elint-add-required-env): Doc fix. Use or. Standardize error.
22425 (regexp-assoc): Remove unused function.
22426 (elint-top-form): Set elint-current-pos, to record the start of the
22427 top-level form, for compilation-mode.
22428 (elint-form): Trap errors in macro expansion. Use dolist.
22429 (elint-unbound-variable): Use elint-builtin-variables and
22430 elint-autoloaded-variables.
22431 (elint-get-args): Use cadr, or.
22432 (elint-check-cond-form): Use dolist, cadr.
22433 (elint-check-condition-case-form): Doc fix. Use cadr.
22434 Use elint-extra-errors.
22435 (elint-log): New function.
22436 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22437 Distinguish errors and warnings.
22438 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22439 Use a bytecomp-style format.
22440 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22441 (elint-get-log-buffer): Use compilation mode. Disable undo.
22442 Don't truncate lines.
22443 (elint-initialize): Set builtin and autoloaded variable lists.
22444 Only process elint-unknown-builtin-args if non-nil.
22445 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22447 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22449 2009-07-22 Kevin Ryde <user42@zip.com.au>
22451 * net/newst-backend.el (newsticker--parse-atom-1.0)
22452 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22453 (newsticker--parse-rss-1.0):
22454 * progmodes/idlwave.el (idlwave-mode):
22455 * progmodes/idlw-shell.el (idlwave-shell-mode):
22456 * progmodes/vera-mode.el (vera-mode):
22457 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22458 * progmodes/vhdl-mode.el (vhdl-mode):
22459 * textmodes/table.el (table-generate-source)
22460 (table--warn-incompatibility):
22461 Hyperlink urls in docstrings with URL `...'.
22463 2009-07-22 Glenn Morris <rgm@gnu.org>
22465 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22466 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22467 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22468 Remove leading * from defcustom docs.
22470 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22472 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22474 (list-load-path-shadows): Optionally, just return shadows as a string.
22476 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22478 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22480 * mail/rmailedit.el (rmail-edit-mode):
22481 Use auto-save-include-big-deletions.
22483 * mail/rmail.el (rmail-variables):
22484 Use auto-save-include-big-deletions.
22486 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22489 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22491 * calc/calc.el (calc-undo-length): New variable.
22492 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22494 2009-07-21 Richard Stallman <rms@gnu.org>
22496 * files.el (auto-save-mode): Handle buffer-save-size = -2
22499 2009-07-21 Glenn Morris <rgm@gnu.org>
22501 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22503 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22505 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22506 silence compiler. Instead...
22507 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22508 (ps-print-ensure-fontified): Update for above function name changes.
22510 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22511 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22512 silence compiler. Instead...
22513 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22514 (mh-show-buffer): Only define for compiler.
22515 (pr-mh-current-message): Update for above function name changes.
22517 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22519 (find-file-noselect, insert-file-1): Update for above change.
22521 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22523 * mail/mailclient.el (mailclient-send-it): Fix message.
22525 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22526 (edebug-eval): Check cl-debug-env is bound.
22527 (print-level, print-circle): Don't redefine built-in variables.
22529 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22530 (custom-print-vectors): Remove old comments from doc.
22532 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22533 (emerge-version): Make the variable an obsolete alias for the
22534 emacs-version variable. Make the function obsolete.
22535 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22536 Emerge options, rather than merging in into the main Options menu.
22537 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22538 and auto advance modes. Disable edit/fast items when not relevant.
22540 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22542 * term/vt420.el (terminal-init-vt420): Fix typo.
22544 2009-07-20 Sam Steingold <sds@gnu.org>
22546 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22547 variable (removed from compile.el on 2004-03-11).
22549 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22551 * files.el (hack-local-variables-filter): Fix last change.
22553 2009-07-19 Juri Linkov <juri@jurta.org>
22555 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22556 (dir-local-variables-alist): New buffer-local variable.
22557 (hack-local-variables-filter): If variable is not dir-local,
22558 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22559 because file-local overrides dir-local.
22560 (c-postprocess-file-styles) <declare-function>:
22561 Remove obsolete declaration.
22562 (hack-dir-local-variables): Add dir-local variable/value pair to
22563 `dir-local-variables-alist' and remove duplicates. Doc fix.
22565 * help-fns.el (describe-variable): Add information about
22566 file-local and dir-local variables.
22568 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22570 * files.el (hack-local-variables-filter): Rewrite.
22572 2009-07-19 Glenn Morris <rgm@gnu.org>
22574 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22575 Silence compiler by only defining on XEmacs.
22577 * international/mule.el (auto-coding-regexp-alist): Only match
22578 BABYL... at the start of buffer, not of lines. (Bug#3790)
22580 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22581 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22582 (cal-menu-context-mouse-menu): Doc fix.
22584 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22586 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22588 2009-07-18 Juri Linkov <juri@jurta.org>
22590 * info.el: Virtual Info keyword finder.
22591 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22592 (Info-finder-file): New variable.
22593 (Info-finder-find-file): New function.
22594 (finder-known-keywords, finder-package-info)
22595 (find-library-name, lm-commentary): Use defvar and
22596 declare-function to silence compiler warnings.
22597 (Info-finder-find-node): New function.
22598 (info-finder): New command.
22600 * subr.el (process-kill-buffer-query-function): New function.
22601 (add-hook)<kill-buffer-query-functions>: Add hook
22602 `process-kill-buffer-query-function'.
22604 2009-07-18 Alan Mackenzie <acm@muc.de>
22606 * progmodes/cc-mode.el (c-before-hack-hook)
22607 (c-postprocess-file-styles): Give invocation of `c-set-style'
22608 DONT-OVERRIDE parameter of t. Already set style variables will
22609 thus not be overridden by style settings given by `c-file-syle'.
22611 * files.el (hack-local-variables-filter): Remove entries with
22612 duplicate keys from `file-local-variables-alist'.
22614 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22616 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22617 x-set-selection if display-selections-p returns nil for the
22620 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22622 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22624 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22626 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22627 Accept nil in addition to a regexp.
22628 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22629 Accept nil in addition to a regexp.
22630 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22631 buffers that have an associated file. Handle nil values of
22632 desktop-buffers-not-to-save and desktop-files-not-to-save.
22635 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22636 (x-disown-selection-internal): New functions.
22638 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22640 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22642 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22643 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22645 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22647 * simple.el (set-mark): Revert last change.
22649 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22651 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22652 rendering of pngs is not possible instead of messaging a long
22655 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22657 * w32-fns.el (x-selection-owner-p): New function.
22659 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22660 (mouse-yank-at-click, mouse-yank-primary):
22661 If select-active-regions is non-nil, deactivate the mark before
22664 * simple.el (deactivate-mark, set-mark): Only save selection if we
22667 2009-07-17 Kenichi Handa <handa@m17n.org>
22669 * case-table.el (describe-buffer-case-table): Fix for the case
22670 that KEY is a cons.
22672 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22674 * vc-rcs.el (vc-rcs-find-file-hook):
22675 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22677 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22679 * net/tramp.el (tramp-wait-for-output): Handle the case when
22680 commands do not return a newline but a null byte before the shell
22683 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22685 * term/ns-win.el (ns-set-alpha): Don't declare.
22686 (ns-set-background-alpha): Remove function.
22688 2009-07-16 Kevin Ryde <user42@zip.com.au>
22690 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22691 y-or-n-p, for safety.
22693 2009-07-16 Richard Stallman <rms@gnu.org>
22695 * files.el (auto-save-mode): If buffer-saved-size is -2,
22698 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22699 (rmail-retry-ignored-headers): Add more uninteresting fields.
22701 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22703 * net/rcirc.el (rcirc): Use history variables.
22704 (rcirc-server-name-history, rcirc-nick-name-history)
22705 (rcirc-server-port-history): New variables.
22707 2009-07-15 Kenichi Handa <handa@m17n.org>
22709 * international/mule-cmds.el (set-language-environment-charset):
22710 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22713 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22714 Delete unibyte-display.
22716 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22718 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22720 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22722 * simple.el (deactivate-mark): Optional argument FORCE.
22723 (set-mark): Use deactivate-mark.
22725 * info.el (Info-search): No need to check transient-mark-mode
22726 before calling deactivate-mark.
22728 * select.el (x-set-selection): Doc fix.
22729 (x-valid-simple-selection-p): Allow buffer values.
22730 (xselect--selection-bounds): Handle buffer values.
22731 Suggested by David De La Harpe Golden.
22733 * mouse.el (mouse-set-region, mouse-drag-track):
22734 Call copy-region-as-kill before setting the mark, to let
22735 select-active-regions work.
22737 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22739 * simple.el (deactivate-mark): If select-active-regions is
22740 non-nil, copy the selection data into a string.
22741 (activate-mark): If select-active-regions is non-nil, set the
22742 selection to the current buffer.
22743 (set-mark): Update selection if select-active-regions is non-nil.
22745 * select.el (x-valid-simple-selection-p): Allow buffer values.
22747 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22749 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22750 and more featureful message-mode.
22752 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22754 * select.el (x-set-selection): Doc fix.
22755 (x-valid-simple-selection-p): Disallow selection data consisting
22756 of a list or cons of integers, since that is not used.
22757 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22758 (xselect-convert-to-string, xselect-convert-to-length)
22759 (xselect-convert-to-filename, xselect-convert-to-charpos)
22760 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22762 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22764 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22765 output in -break-info command (Emacs bug #3794).
22767 2009-07-14 Glenn Morris <rgm@gnu.org>
22769 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22770 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22771 (edebug-print-length, edebug-print-level, edebug-print-circle)
22772 (edebug-sit-for-seconds, edebug-view-outside)
22773 (edebug-bounce-point, edebug-set-global-break-condition)
22774 (edebug-Go-nonstop-mode, edebug-trace-mode)
22775 (edebug-Trace-fast-mode, edebug-continue-mode)
22776 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22777 (edebug-visit-eval-list): Doc fixes.
22779 * subr.el (def-edebug-spec): Doc fix.
22781 2009-07-14 Kenichi Handa <handa@m17n.org>
22783 * international/characters.el: Fix setting of category ?C.
22785 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22787 * term/ns-win.el (x-select-font): defalias x-select-font to
22788 ns-popup-font-panel instead of generate-fontset-menu.
22790 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22792 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22794 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22796 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22797 the PK\003\004 header (Bug#3770).
22799 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22801 * pcomplete.el (pcomplete-comint-setup): Check for
22802 shell-dynamic-complete-filename too.
22804 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22806 * simple.el (temporary-goal-column): Change the value for
22807 line-move-visual to a cons cell.
22808 (line-move-visual): Record or set the window hscroll, if
22809 necessary (Bug#3494).
22810 (line-move-1): Handle cons value of temporary-goal-column.
22812 2009-07-11 Kenichi Handa <handa@m17n.org>
22814 * international/mule-diag.el (describe-character-set): Don't show
22817 2009-07-10 Sam Steingold <sds@gnu.org>
22819 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22820 Omake sometimes indents the errors it prints, so allow all
22821 regexps to start with spaces.
22823 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22825 * cus-edit.el (customize-changed-options-previous-release):
22826 Bump value to 22.1. (Bug#3804)
22828 2009-07-08 Sam Steingold <sds@gnu.org>
22830 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22831 to be a cons cell (test . ignored-directory) to selectively ignore
22832 some directories depending on the location of the search.
22834 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22836 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22837 remote user is root, on the local host.
22838 (tramp-local-host-p): Either the local user or the remote user
22839 must be root. (Bug#3771)
22841 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22843 * progmodes/gdb-mi.el (gdb): Remove description of
22844 gdb-use-separate-io-buffer.
22845 (menu): Don't allow toggling of or enable
22846 gdb-use-separate-io-buffer from menubar.
22848 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22850 * mail/unrmail.el (unrmail): Make sure the message ends with two
22851 newlines (Bug#3769).
22853 2009-07-08 Glenn Morris <rgm@gnu.org>
22855 * calendar/calendar.el (calendar-current-date): Rework previous change.
22857 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22859 * calendar/calendar.el (calendar-current-date):
22860 Add an optional argument giving an offset from today.
22862 2009-07-08 Glenn Morris <rgm@gnu.org>
22864 * tutorial.el (tutorial--describe-nonstandard-key):
22865 Adjust the message for when a key has been unbound.
22866 (help-with-tutorial): Hide the arch-tag.
22868 2009-07-08 Kenichi Handa <handa@m17n.org>
22870 * international/fontset.el (setup-default-fontset): For each
22871 script, append (not set) font-specs.
22873 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22876 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22878 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22879 -data-list-register-names to ...
22880 (gdb-starting): ... here because GDB 7.0 requires execution to
22881 have started when using this MI command.
22882 (gdb-set-header): New function to distinguish select and
22883 unselected tabs in gdb buffers.
22884 (gdb-propertize-header): New macro that uses gdb-set-header.
22885 (gdb-breakpoints-header, gdb-locals-header): Use it.
22886 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22888 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22890 * Makefile.in (ELCFILES): Remove fadr.elc.
22892 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22894 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22895 may contain frame information, so `string-match' should be used.
22896 (gdb-update): Disassembly is invalidated through
22897 `gdb-get-selected-frame'.
22898 (gdb-pad-string): New function to pad string with spaces.
22899 (gdb-invalidate-disassembly): Invalidate only if the buffer
22901 (gdb-disassembly-handler-custom): Column alignment.
22902 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22904 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22906 (gdb-frame-handler): Match convention to for disassembly buffer
22908 (gdb-stack-list-frames-handler): Rewritten without regexps.
22909 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22910 not highlight breakpoints without line information.
22911 (gdb-input): Add trailing newline to command.
22913 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22915 (gdb-breakpoints-list-handler-custom): Replacement for
22916 `gdb-break-list-handler'. Using real parser instead of regexps
22918 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22919 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22920 to place breakpoints.
22921 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22923 (gdb-disassembly-handler-custom): Show overlay arrow.
22924 (gdb-disassembly-place-breakpoints): Show breakpoints in
22925 disassembly buffer.
22926 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22927 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22928 instead of parsing breakpoints buffer. Fixed old menu references
22933 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22934 (gdb-memory-address): New variable which holds top address of
22935 memory page shown in memory buffer.
22936 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22937 New customization variables.
22939 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22940 display the memory buffer.
22941 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22942 buffer display parameters.
22943 (def-gdb-memory-format, gdb-memory-format-binary)
22944 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22945 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22946 Functions for setting memory buffer format.
22947 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22948 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22949 unit size used in memory buffer.
22950 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22951 Switch to next/previous page of memory buffer.
22952 Now using (bindat-get-field) instead of fadr functions.
22954 2009-07-07 Sam Steingold <sds@gnu.org>
22956 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22957 non-top-level files.
22959 2009-07-07 Kenichi Handa <handa@m17n.org>
22961 * international/mule-cmds.el (reset-language-environment):
22962 Put the highset priority to the charset iso-8859-1.
22964 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22966 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22967 to the end of the line when locating the block (Bug#700).
22969 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22971 * net/tramp.el (tramp-handle-write-region): Flush file properties
22972 in case of short track.
22974 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22976 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22977 Coded custom representation of verilog error regular expressions
22978 to work with Emacs-22's new format.
22979 (verilog-error-regexp-xemacs-alist): Coded custom representation
22980 of verilog error regular expressions to work with XEmacs format.
22981 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22982 error recognition into XEmacs.
22983 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22984 error recognition into Emacs-22.
22986 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22988 * woman.el: Remove stand-alone closing parentheses.
22989 (woman-file-name, woman2-format-paragraphs)
22990 (woman-leave-blank-lines): Code cleanup.
22991 (woman-use-own-frame): Change default to nil.
22992 (woman-italic, woman-bold, woman-unknown, woman-addition):
22993 Change defaults to inherit from default faces.
22994 (woman2-process-escapes): Consume the newline after a stand-alone
22995 filler character (Bug#3651).
22997 2009-07-06 Glenn Morris <rgm@gnu.org>
22999 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23000 (top-level): Move provide to the end.
23001 (ffap): Remove defunct URL from custom group.
23003 * subr.el (eval-after-load): Doc fix.
23005 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23007 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23008 `calc-embedded-word' is called twice.
23010 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23012 * files.el (find-alternate-file-other-window, find-alternate-file):
23013 Obey confirm-nonexistent-file-or-buffer.
23015 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23017 * dired-aux.el (dired-show-file-type): Handle remote files.
23019 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23021 * desktop.el (desktop-globals-to-save):
23022 Add file-name-history (Bug#2750).
23024 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23026 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23028 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23030 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23031 property on entire argument since this is what eshell-lisp-command
23034 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23036 * net/tramp-gvfs.el (tramp-gvfs-methods)
23037 (tramp-gvfs-zeroconf-domain)
23038 (tramp-bluez-discover-devices-timeout): Add version flag.
23039 (tramp-gvfs-handler-mounted-unmounted)
23040 (tramp-gvfs-connection-mounted-p): Polish handling of
23041 incompatibilities between GVFS 0.2 and 1.0.
23043 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23045 * cus-start.el (all): Add make-pointer-invisible.
23047 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23049 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23050 formatted correctly.
23052 2009-07-02 Juri Linkov <juri@jurta.org>
23054 * info.el: Virtual Info files and nodes.
23055 (Info-virtual-files, Info-virtual-nodes): New variables.
23056 (Info-current-node-virtual): New variable.
23057 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23059 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23060 to check for a virtual file instead of checking a fixed list
23062 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23063 instead of ad-hoc processing of "dir" and (apropos history toc).
23064 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23065 instead of ad-hoc processing of "dir" and (apropos history toc).
23066 Reread a file when moving from a virtual node.
23067 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23068 (Info-directory-toc-nodes, Info-directory-find-file)
23069 (Info-directory-find-node): New functions.
23070 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23071 (Info-history): Move part of code to
23072 `Info-history-find-node'.
23073 (Info-history-toc-nodes, Info-history-find-file)
23074 (Info-history-find-node): New functions.
23075 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23076 (Info-toc): Move part of code to `Info-toc-find-node'.
23077 (Info-toc-find-node): New function.
23078 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23079 the current Info file name to references because now the node
23080 "*TOC*" belongs to the same Info manual.
23081 (Info-toc-build): Rename from `Info-build-toc'.
23082 (Info-toc-nodes): Rename input argument `file' to `filename'.
23083 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23084 instead of ad-hoc processing of ("dir" apropos history toc).
23085 (Info-index-nodes): Use Info-virtual-file-p
23086 to check for a virtual file instead of checking a fixed list
23088 (Info-index-node): Add check for `Info-current-node-virtual'.
23089 Raise `save-match-data' higher up the tree to contain
23090 `search-forward' too (bug fix).
23091 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23092 (Info-virtual-index-nodes): New variable.
23093 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23094 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23095 (Info-apropos-file, Info-apropos-nodes): New variables.
23096 (Info-apropos-toc-nodes, Info-apropos-find-file)
23097 (Info-apropos-find-node, Info-apropos-matches): New functions.
23098 (info-apropos): Move part of code to `Info-apropos-find-node' and
23099 `Info-apropos-matches'.
23100 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23101 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23102 for a virtual file instead of checking a fixed list of node names.
23104 * simple.el (async-shell-command): New command.
23106 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23108 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23109 instead of `mount-info'.
23111 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23113 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23114 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23116 2009-07-02 Kenichi Handa <handa@m17n.org>
23118 * international/mule.el (set-keyboard-coding-system): Force *-unix
23119 coding-system to avoid eol conversion.
23121 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23124 Add handler for `process-file', `shell-command' and
23125 `start-file-process'.
23126 (tramp-gvfs-handle-shell-command)
23127 (tramp-gvfs-handle-start-file-process)
23128 (tramp-gvfs-handle-process-file): New defuns.
23129 (tramp-synce-list-devices): Simplify check for existence of property.
23131 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23133 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23135 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23137 * language/korean.el (set-language-info-alist): Add korean-cp949,
23140 2009-07-01 Kenichi Handa <handa@m17n.org>
23142 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23144 * international/encoded-kb.el: Deleted.
23146 * international/mule.el (set-keyboard-coding-system): Perform the
23147 necessary setup here instead of calling encoded-kbd-setup-display.
23149 2009-07-01 Glenn Morris <rgm@gnu.org>
23151 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23153 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23155 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23157 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23159 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23160 Handle also the 'rename case, when setting file modes. (Bug#3712)
23161 (tramp-default-file-modes): Remove execute permissions.
23163 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23164 (top): Add a default for "synce" in `tramp-default-user-alist'.
23165 Add completion function for "synce" method.
23166 (tramp-hal-service, tramp-hal-path-manager)
23167 (tramp-hal-interface-manager, tramp-hal-interface-device):
23169 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23170 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23173 * net/trampver.el: Update release number.
23175 2009-06-30 Kenichi Handa <handa@m17n.org>
23177 * international/fontset.el (setup-default-fontset): Add CJK fonts
23178 for symbols and the other miscellaneous characters.
23180 * language/korea-util.el (setup-korean-environment-internal):
23181 Make char-width-table suitable for Korean environments.
23182 (exit-korean-environment): Cancel above.
23184 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23185 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23186 setup-function to make char-width-table suitable for respective
23187 environments, and an exit-function to cancel that.
23189 * language/japan-util.el (setup-japanese-environment-internal):
23190 Call use-cjk-char-width-table with arg `ja_JP'.
23192 * international/characters.el (cjk-char-width-table): Delete it.
23193 (cjk-char-width-table-list): New variable.
23194 (use-cjk-char-width-table): New arg local-name.
23195 (use-default-char-width-table): Fix for the case that Emacs is
23196 already using the default char-width-table.
23198 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23200 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23201 modes mandatory. (Bug#3712)
23203 2009-06-29 Alan Mackenzie <acm@muc.de>
23205 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23206 correction between the visible width of TABs and their number of bytes.
23208 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23210 * server.el (server-buffer-done): Prevent kill-buffer from
23211 prompting by clearing the buffer modification flag (Bug#3696).
23213 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23215 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23216 (verilog-endcomment-reason-re): Support unique case and priority case.
23217 (verilog-basic-complete-re): Support localparam lineup.
23218 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23219 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23221 (verilog-leap-to-case-head): Now support *nested* unique &
23222 priority case statements.
23223 (verilog-auto-lineup): Make just declarations the default (as it
23225 (verilog-leap-to-case-head): Support priority/unique case statements.
23226 (verilog-auto-lineup): Rework to give users radio buttons to
23227 select the various styles of automatic lineup.
23228 (verilog-error-regexp-alist): Rework to support the XEmacs style
23229 of error regular expressions from compilers, lint tools &
23230 simulators. Note that GNU Emacs has made it impossible for a mode
23231 to load such things.
23232 (electric-verilog-terminate-line, verilog-indent-declaration)
23233 (verilog-auto-wiure): Rework for radio button selection of
23234 auto-lineup selection of specification of auto lineup.
23235 (verilog-beg-of-statement-1): Redesign to support proper operation
23236 in additional code, based on testing with auto-lineup.
23237 (verilog-calculate-indent, assignments & declarations)
23238 (verilog-backward-token): Enhance to support auto-lineup of
23239 assignments & declarations.
23240 (verilog-in-directive-p, verilog-at-struct-p): New function for
23241 easy test of whether we are.
23242 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23243 to support safe execution at almost anyline.
23244 (verilog-calc-1): Properly support indenting deep inside generate
23246 (verilog-init-font): Remove definition & use of verilog-init-font,
23247 as it is redundant with font-lock-defaults.
23248 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23249 to avoid circular calls if syntax-ppss is a function (as is the
23250 case now in 22.x GNU Emacs) as that function would sometimes call
23251 itself, leading to (nearly) infinite recursion.
23252 (verilog-ovm-begin-re, verilog-ovm-end-re)
23253 (verilog-ovm-statement-re, verilog-leap-to-head)
23254 (verilog-backward-token): Add support for OVM macros. Some are
23255 complete statements, and others open and close scopes like begin
23257 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23258 (verilog-defun-level-generate-only-re): Really fix the defun-list
23260 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23261 coverpoint, constraint and cross statements.
23262 (verilog-defun-level-list, verilog-generate-defun-level-list)
23263 (verilog-all-defun-level-list): Redo these specifications - it is
23264 too hard to support eval-when compile aggregation of lists also
23265 built at when-compile time.
23266 (verilog-defun-level-list): Place defconsts of variables used in
23267 building regular expressions which are built in eval-when-compile
23268 bodies in the same eval-when-compile body to facilitate compile
23270 (verilog-beg-block-re-ordered): Support indenting
23271 virtual/protected tasks and functions.
23272 (verilog-defun-level-list, verilog-in-generate-region-p)
23273 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23274 indentation of some module items (generate items).
23275 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23276 across virtual/protected tasks and functions.
23278 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23280 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23281 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23282 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23283 in concatenations. Reported by Yishay Belkind.
23284 (verilog-auto-ascii-enum): Support one-hot state machines in
23285 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23286 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23287 modport in AUTOINST and add vl-modport for users.
23288 Reported by David Rogoff.
23289 (verilog-auto-inout-module, verilog-auto-inst)
23290 (verilog-decls-get-interfaces, verilog-insert-definition)
23291 (verilog-insert-one-definition, verilog-read-decls)
23292 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23293 (verilog-sig-modport, verilog-signals-combine-bus)
23294 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23295 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23296 Suggested by David Rogoff.
23297 (verilog-repair-open-comma): Fix non-insertion of comma when
23298 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23299 (verilog-make-width-expression): Simplify [A-1:0] expression
23300 widths to just {A{1'b0}}.
23301 (verilog-mode): Cleanup checkdoc warnings.
23302 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23303 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23304 inputs/outputs or data type. Suggested by Vasu Kandadi.
23305 (next-error-last-buffer): Fix byte-compiler warning.
23306 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23307 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23308 or shell command text during AUTO expansion. Suggested by Tad Truex.
23309 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23310 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23311 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23312 in AUTOINOUT. Reported by Matthew Lovell.
23313 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23314 causing use of <= assignments. Reported by Alex Reed.
23315 (verilog-read-decls): Fix triand, trior, wand, wor to be
23316 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23317 (verilog-extended-complete-re): Support import "DPI-C" functions.
23318 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23319 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23320 (verilog-insert-date, verilog-insert-year)
23321 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23322 Windows systems. Reported by Michael Potts.
23323 (verilog-read-module-name): Fix AUTOINST when the child module
23324 declaration's name is a tick define. Reported by Elliot Mednick.
23325 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23326 passed to next parameter's definition. Reported by Bruce T.
23327 (verilog-read-decls): Fix detecting "parameter int" when using
23328 AUTOINSTPARAM. Reported by Bruce T.
23329 (verilog-goto-defun): Fix goto not finding modules unless first
23330 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23331 (verilog-mode): Expand -f flag arguments on entry to mode so
23332 verilog-goto-defun will work. Reported by Lawrence Butcher.
23333 (verilog-getopt): Expand environment variables in -f file
23334 arguments. Suggested by Lawrence Butcher.
23335 (verilog-set-define): Fix "Symbol's value as variable is void"
23336 when reading enumerations.
23337 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23338 Suggested by Stephen Peltan.
23339 (verilog-read-defines): Fix reading of enumerations in include
23340 files. Reported by Steve Peltan.
23342 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23344 * files.el (trash-directory): Fix defcustom type.
23346 2009-06-28 Juri Linkov <juri@jurta.org>
23348 * help-fns.el (describe-function-1): Correctly locate adviced
23349 functions in hyperlink (Bug#2438).
23351 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23353 * files.el (trash-directory): Change default to nil.
23354 (move-file-to-trash): If trash-directory is nil and
23355 system-move-file-to-trash is unbound, perform freedesktop-style
23358 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23360 * files.el (move-file-to-trash): Add freedesktop trash
23363 2009-06-28 Glenn Morris <rgm@gnu.org>
23365 * autorevert.el (global-auto-revert-non-file-buffers)
23366 (global-auto-revert-mode): Doc fixes.
23368 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23370 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23372 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23374 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23375 opened an X connection before calling x-get-resource (Bug#3194).
23377 * play/doctor.el: Remove reference to obsolete website.
23378 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23380 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23382 Remove find-file-not-found-hook VC method. (Bug#2757)
23383 * vc-hooks.el (vc-file-not-found-hook)
23384 (vc-default-find-file-not-found-hook): Remove functions.
23385 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23386 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23389 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23391 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23393 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23394 compatibility function for `looking-back'.
23396 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23397 Use `ispell-looking-back'.
23399 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23401 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23402 rather than `filename'.
23404 2009-06-23 Miles Bader <miles@gnu.org>
23406 * face-remap.el (text-scale-set): New function.
23408 2009-06-23 Glenn Morris <rgm@gnu.org>
23410 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23412 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23414 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23416 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23418 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23419 Simplify Persian conditionals.
23421 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23422 variable `filename'.
23424 * comint.el (comint-insert-input): Doc fix.
23426 * Makefile.in (ELCFILES): Fix typo in previous change.
23428 2009-06-23 Miles Bader <miles@gnu.org>
23430 * cus-start.el: Add entry for `recenter-redisplay'.
23432 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23434 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23435 Add an optional argument for the backend, use it instead of
23436 calling vc-backend.
23437 (vc-mode-line): Add an optional argument for the backend.
23438 Pass the backend to vc-state and vc-working-revision. Move code for
23439 special handling for vc-state being a buffer to ...
23441 * vc-rcs.el (vc-rcs-find-file-hook):
23442 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23444 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23445 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23446 vc-stay-local-p and vc-mode-line calls.
23448 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23449 (vc-cvs-diff, vc-cvs-annotate-command)
23450 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23451 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23452 vc-mode-line calls.
23454 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23456 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23457 backend when calling vc-mode-line.
23458 (vc-register): Do not create a closure for calling the vc register
23459 function, call it directly.
23461 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23463 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23464 to make it obvious item can be clicked.
23466 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23468 2009-06-23 Kenichi Handa <handa@m17n.org>
23470 * language/korea-util.el (korean-key-bindings): Change the binding
23471 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23474 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23476 Sync with Tramp 2.1.16.
23478 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23480 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23481 when a loading of a package fails. Completion function for rsync
23482 is `tramp-completion-function-alist-ssh'.
23483 (all): Replace all calls of `split-string' and
23484 `tramp-split-string' by `tramp-compat-split-string'.
23485 (tramp-default-method): Use `tramp-compat-process-running-p'.
23486 (tramp-default-proxies-alist): Allow also Lisp forms.
23487 (tramp-remote-path): Add choice "Private Directories".
23488 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23489 (tramp-domain-regexp): Allow also "-", "_" and ".".
23490 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23491 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23492 (tramp-debug-message): Insert header line in debug buffer.
23493 (tramp-handle-directory-files-and-attributes-with-stat):
23494 Care about filenames with spaces, or starting with "-".
23495 (tramp-handle-dired-uncache): New defun.
23496 (tramp-handle-insert-directory): Don't flush the directory from
23497 cache, this is handled by `dired-uncache' now.
23498 (tramp-handle-insert-file-contents): Improve error handling.
23499 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23500 Quote `tramp-end-of-output'.
23501 (tramp-action-password): Improve trace message.
23502 (tramp-check-for-regexp): Both echoes must be present, before removing.
23503 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23504 (tramp-compute-multi-hops): Eval cons cells of
23505 `tramp-default-proxies-alist'.
23506 (tramp-maybe-open-connection): Use the same command pattern for
23507 first hop and further hops.
23508 (tramp-wait-for-output): Remove handling of newlines.
23509 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23510 (tramp-split-string): Remove function. It is handled in
23513 * net/tramp-cmds.el (tramp-bug):
23514 Recommend `tramp-cleanup-all-connections' in the bug mail.
23516 * net/tramp-compat.el (tramp-compat-split-string)
23517 (tramp-compat-process-running-p): New defuns.
23519 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23520 for `dired-uncache'.
23522 * net/tramp-gvfs.el: New package.
23524 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23525 Add handler for `dired-uncache'.
23526 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23528 * net/trampver.el: Update release number. Make version check fit
23531 2009-06-22 Jim Meyering <meyering@redhat.com>
23533 Automatically handle .xz suffix (XZ-compressed files), too.
23534 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23535 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23537 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23538 Nick Roberts <nickrob@snap.net.nz>
23540 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23541 repository (http://sphinx.net.ru/hg/gdb-mi/).
23543 2009-06-22 Glenn Morris <rgm@gnu.org>
23545 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23546 `mode' and `eval' entries. (Bug#3430)
23548 * Makefile.in (ELCFILES): Add fadr.elc.
23550 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23551 differing behavior of \n and ^ in strings. (Bug#3385)
23553 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23555 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23557 (lisp-indent-function): Make it a defcustom.
23559 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23561 * progmodes/gdb-ui.el: Replace with ...
23562 * progmodes/gdb-mi.el: ... this file.
23563 * progmodes/gud.el: Modify for gdb-mi.el.
23565 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23567 * fadr.el: New file.
23569 See ChangeLog.14 for earlier changes.
23571 ;; Local Variables:
23575 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23577 This file is part of GNU Emacs.
23579 GNU Emacs is free software: you can redistribute it and/or modify
23580 it under the terms of the GNU General Public License as published by
23581 the Free Software Foundation, either version 3 of the License, or
23582 (at your option) any later version.
23584 GNU Emacs is distributed in the hope that it will be useful,
23585 but WITHOUT ANY WARRANTY; without even the implied warranty of
23586 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23587 GNU General Public License for more details.
23589 You should have received a copy of the GNU General Public License
23590 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.