1 2011-03-23 Leo Liu <sdl.web@gmail.com>
3 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5 * help-mode.el (help-mode-finish): Tweak regexp.
7 2011-03-23 Glenn Morris <rgm@gnu.org>
9 * eshell/esh-opt.el (eshell-eval-using-options):
10 Do not bind unused local variable `eshell-option-stub'.
12 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17 keymap variable in `with-no-warnings' to avoid a warning when the
18 keymap has been already `defconst'ed.
20 2011-03-22 Leo Liu <sdl.web@gmail.com>
22 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23 encode all chars in abbrevs; otherwise use emacs-mule or
24 utf-8-emacs. (Bug#8308)
26 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28 * simple.el (backward-delete-char-untabify):
29 Avoid warning about using `delete-backward-char'.
31 * image.el (image-type-file-name-regexps): Make it variable.
32 `imagemagick-register-types' modifies it, and the user may want
33 to add new extensions for known image types.
34 (imagemagick-register-types): Throw error if not using ImageMagick.
36 2011-03-22 Leo Liu <sdl.web@gmail.com>
38 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
39 located before rcirc-prompt-end-marker.
40 (rcirc-complete): Error if point is not after rcirc prompt.
41 Handle the case when table is nil.
42 (rcirc-user-authenticated): Define to fix compiler warning.
44 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
46 * custom.el (custom--inhibit-theme-enable): Make it affect only
47 custom-theme-set-variables and custom-theme-set-faces.
48 (provide-theme): Ignore custom--inhibit-theme-enable.
49 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
50 (custom-enabling-themes): Delete variable.
51 (enable-theme): Accept only loaded themes as arguments. Ignore
52 the special custom-enabled-themes variable.
53 (custom-enabled-themes): Forbid themes from setting this.
54 Eliminate use of custom-enabling-themes.
55 (custom-push-theme): Quote "changed" custom var entry.
57 2011-03-21 Leo Liu <sdl.web@gmail.com>
59 * ido.el (ido-read-internal): Add ido-selected to history instead
62 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
64 * subr.el (deferred-action-list, deferred-action-function):
67 2011-03-21 Leo Liu <sdl.web@gmail.com>
69 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
70 change on 2011-02-13 (bug#8309).
72 * minibuffer.el (read-file-name-function): Change default value.
73 (read-file-name--defaults): Rename from read-file-name-defaults.
74 (read-file-name-default): Rename from read-file-name.
75 (read-file-name): Call read-file-name-function.
77 2011-03-21 Glenn Morris <rgm@gnu.org>
79 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
82 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
84 * cus-theme.el: Add missing provide statement.
85 (customize-create-theme): Extract theme value correctly.
86 (custom-theme-visit-theme): Autoload.
87 (customize-create-theme): Prompt before inserting default faces.
89 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
91 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
92 units and musical notes.
94 2011-03-20 Leo <sdl.web@gmail.com>
96 * ido.el (ido-read-internal): Use completing-read-default.
97 (ido-completing-read): Fix compatibility with completing-read.
99 2011-03-20 Christian Ohler <ohler@gnu.org>
101 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
102 (ert-delete-all-tests): Use `called-interactively-p' rather than
104 (ert--make-xrefs-region): Respect END.
106 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
108 * dired-aux.el (dired-create-directory): Signal an error if the
109 directory already exists (Bug#8246).
111 * facemenu.el (list-colors-display): Call list-faces-display
112 inside with-help-window.
113 (list-colors-print): Use display property to align the final
114 column, instead of checking window-width.
116 2011-03-19 Eli Zaretskii <eliz@gnu.org>
118 * emerge.el (emerge-metachars): Separate value for ms-dos and
120 (emerge-protect-metachars): Quote correctly for ms-dos and
123 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
125 * info.el (info-initialize): Replace all uses of `:' with
126 path-separator for compatibility with non-Unix systems.
127 Cache quoting of path-separator. (Bug#8258)
129 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
131 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
132 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
133 (mouse-avoidance-mode): Fix typos in docstrings.
135 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
137 * startup.el (package-subdirectory-regexp): Move from package.el.
138 Omit \\` and \\', and let callers add them.
140 * emacs-lisp/package.el (package-strip-version)
141 (package-load-all-descriptors): Add \\` and \\' to
142 package-subdirectory-regexp before using it.
143 (package-untar-buffer): New arg DIR; ensure that file untars only
144 into this expected directory. Remove superfluous delete-region.
145 (package-unpack): Caller changed.
146 (package-tar-file-info): Use package-subdirectory-regexp.
148 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
150 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
151 diff-mode-shared-map (bug#8284).
152 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
154 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
156 * calendar/time-date.el (format-seconds): Use assoc instead of
157 assoc-string, since assoc-string doesn't exist in XEmacs.
159 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
161 * custom.el (custom-known-themes): Reflow docstring.
162 (custom-theme-load-path): Fix typo in docstring.
163 (load-theme): Fix typo in error message.
164 (custom-available-themes, custom-variable-theme-value):
165 Use `let', not `let*'.
167 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
169 * calc/README: Mention inclusion of musical notes.
171 * calc/calc-units.el (calc-lu-quant): Rename from
172 `calc-logunits-quantity'.
173 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
174 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
175 (calc-db): Rename from `calc-dblevel'.
176 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
177 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
178 (calc-np): Rename from `calc-nplevel'.
179 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
180 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
181 (calc-lu-plus): Rename from `calc-logunits-add'.
182 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
183 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
184 (calc-lu-minus): Rename from `calc-logunits-sub'.
185 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
186 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
187 (calc-lu-times): Rename from `calc-logunits-mul'.
188 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
189 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
190 (calc-lu-divide): Rename from `calc-logunits-div'.
191 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
192 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
194 * calc/calc-ext.el (calc-init-extensions): Update the names of the
195 functions being autoloaded.
197 * calc/calc.el (calc-lu-power-reference): Rename from
198 `calc-logunits-power-reference'.
199 (calc-lu-field-reference): Rename from
200 `calc-logunits-field-reference'.
202 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
204 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
206 * minibuffer.el (completion-all-sorted-completions):
207 Use :completion-cycle-penalty text property if present.
209 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
211 * allout.el (allout-yank-processing): Adjust for new rebulleting
212 regime so bullet being yanked is used without prompting the user
215 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
217 * startup.el (command-line): Warn the user that _emacs is deprecated.
219 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
221 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
222 (delphi-verbose, delphi-comment-face, delphi-string-face)
223 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
224 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
225 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
226 (delphi-new-comment-line, delphi-font-lock-defaults)
227 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
228 Fix typos in docstrings.
230 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
232 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
233 Invert the roles of character and string values for INSTEAD, so a
234 string is used for the more common case of a defaulting prompt.
236 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
238 * progmodes/ruby-mode.el (ruby-backward-sexp):
239 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
240 * play/gamegrid.el (gamegrid-make-face):
241 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
242 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
243 * notifications.el (notifications-notify):
244 * net/xesam.el (xesam-search-engines):
245 * net/quickurl.el (quickurl-list-insert):
246 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
248 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
250 * startup.el (command-line): Update package subdirectory regexp.
252 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
254 * allout.el (allout-abbreviate-flattened-numbering)
255 (allout-mode-deactivate-hook): Fix up obsolescence "date".
257 * subr.el (read-char-choice): Only show the cursor after the prompt,
258 not after the answer.
260 2011-03-15 Kevin Ryde <user42@zip.com.au>
262 * help-fns.el (variable-at-point): Skip leading quotes, if any
265 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
267 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
270 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
272 * shell.el (shell): When called interactively, offer to change the
273 shell file name on remote hosts.
275 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
277 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
278 integration for LDAP parameters. The host, base, user or binddn,
279 and secret tokens can be specified in a netrc file, for instance.
280 This is optional because an `auth-source' parameter must be
281 specified in the search attributes.
283 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
285 * help.el (describe-mode): Link to the mode's definition (bug#8185).
287 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
289 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
290 into declaration. Remove redundant and harmful binding.
292 2011-03-12 Eli Zaretskii <eliz@gnu.org>
294 * files.el (file-ownership-preserved-p): Pass `integer' as an
295 explicit 2nd argument to `file-attributes'. If the file's owner
296 is the Administrators group on Windows, and the current user is
297 Administrator, consider that a match.
299 * server.el (server-ensure-safe-dir): Consider server directory
300 safe on MS-Windows if its owner is the Administrators group while
301 the current Emacs user is Administrator. Use `=' to compare
302 numerical UIDs, since they could be integers or floats.
304 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
306 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
308 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
310 Sync with Tramp 2.2.1.
312 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
314 * net/trampver.el: Update release number.
316 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
318 * progmodes/compile.el (compilation--previous-directory): Fix up
319 various nil/dead-marker mismatches (bug#8014).
320 (compilation-directory-properties, compilation-error-properties):
321 Don't call it at a position past the one we're about to change.
323 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
324 Disable obsolescence warnings in the file that declares it.
326 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
328 * allout-widgets.el (allout-widgets-tally): Initialize
329 allout-widgets-tally as a hash table rather than nil to prevent
330 mode-line redisplay warnings.
331 Also, clarify the module description and fix a comment typo.
333 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
335 * help-fns.el (describe-variable): Don't complete keywords.
336 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
338 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
340 * emacs-lisp/package.el (package-version-join): Impose a standard
341 string representation for pre/alpha/beta version lists.
342 (package-unpack-single): Standardize the directory name by passing
343 it through package-version-join.
344 (package-strip-rcs-id): Accept any version string that does not
345 signal an error in version-to-list.
347 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
349 * simple.el (delete-trailing-whitespace): Return nil for the
350 benefit of `write-file-functions'.
352 2011-03-10 Glenn Morris <rgm@gnu.org>
354 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
356 * vc/vc-git.el (vc-git-program): New option.
357 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
358 (vc-git--call): Use it.
360 * eshell/esh-util.el (eshell-condition-case): Doc fix.
362 * cus-edit.el (Custom-newline): If no button at point, look
363 for a subgroup button at start-of-line. (Bug#2298)
365 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
367 2011-03-10 Julien Danjou <julien@danjou.info>
369 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
370 `cursor-type' is nil.
372 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
374 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
376 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
378 * allout.el Summary: Change so yank of distinctive-bullet items
379 preserves the existing header prefix, rebulleting it if necessary,
380 rather than replacing it. This is necessary for proper operation
381 of cooperative addons like allout-widgets.
382 (allout-make-topic-prefix, allout-rebullet-heading): Change
383 SOLICIT arg to INSTEAD, and interpret additionally a string value
384 as alternate bullet to be used, instead of prompting the user for
387 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
389 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
390 not use `tramp-file-name-port', because this returns also
391 `tramp-default-port'.
393 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
395 * net/rcirc.el (rcirc-handler-001): Remove useless
396 with-rcirc-process-buffer.
397 (rcirc-check-auth-status): Swap arguments to string-match.
399 2011-03-09 Glenn Morris <rgm@gnu.org>
401 * shell.el (shell-mode):
402 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
404 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
405 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
407 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
409 * emacs-lisp/package.el (package-refresh-contents)
410 (package-menu-execute): Use condition-case-no-debug.
412 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
414 * simple.el (shell-command-to-string): Use `process-file'.
416 * emacs-lisp/package.el (package-tar-file-info): Handle also
419 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
420 `equal' for upload base check.
422 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
424 * textmodes/texinfo.el (texinfo-environments):
425 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
427 2011-03-08 Glenn Morris <rgm@gnu.org>
429 * cus-start.el (cursor-in-non-selected-windows):
430 Fix :set quoting oddness. (Bug#8192)
432 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
433 in some setf expressions. (Bug#2159)
435 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
437 * custom.el (custom-available-themes): Return themes in
440 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
442 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
443 application of patch from Alan Mackenzie (Bug#7595).
445 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
447 * net/rcirc.el (rcirc-connect): Fix PASS bug.
449 2011-03-07 Glenn Morris <rgm@gnu.org>
451 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
452 Give an explicit error if failed to make writable. (Bug#6146)
454 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
456 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
457 Add optional `after-sunset' argument. (Bug#8190)
459 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
461 * play/morse.el (nato-alphabet, nato-region, denato-region):
462 New variable and functions. (Bug#2288)
463 (morse-region, unmorse-region): Barf if read-only.
465 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
467 * progmodes/gud.el (gdb-script-syntax-propertize-function):
468 Don't change the syntax of a \n that closes a comment (bug#8169).
470 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
472 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
474 (package--update-file): Doc fix. Accept relative file names.
475 (package--archive-contents-from-file): Remove the argument, since
476 it's necessarily always "archive-contents".
477 (package-maint-add-news-item): Pass relative file name args to
478 package--update-file.
479 (package-upload-buffer-internal): Prompt for a destination if
480 package-archive-upload-base is invalid. Create the directory if
482 (package-upload-buffer, package-upload-file): Doc fix.
484 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
486 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
487 and move isearch-yank-line to M-s C-e (Bug#8183).
489 2011-03-06 Alan Mackenzie <acm@muc.de>
491 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
492 (c-guess-basic-syntax): Move CASE 19 to a different place,
493 correctly to process template-args-cont lines.
495 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
497 * calc/calc-ext.el (calc-init-extensions):
498 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
499 and calc-nplevel, respectively. Add keybindings for calc-spn,
500 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
501 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
503 * calc/calc-units.el (calc-dblevel): Rename from
504 calc-logunits-dblevel.
505 (calc-nplevel): Rename from calc-logunits-nplevel.
506 (math-midi-round, math-freqp, math-midip, math-spnp)
507 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
508 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
509 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
510 (math-notes): New variable.
512 * calc/calc.el (calc-note-threshold): New variable.
514 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
516 * emacs-lisp/package.el (package-archives): Accept either ordinary
517 directory names, in addition to HTTP URLs.
518 (package--with-work-buffer): New macro. Handle normal directories.
519 (package-handle-response): Don't display the failing buffer.
520 (package-download-single, package-download-tar)
521 (package--download-one-archive): Use package--with-work-buffer.
522 (package-archive-base): Rename from package-archive-url.
524 2011-03-06 Glenn Morris <rgm@gnu.org>
526 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
527 (xmodmap-generic-mode): Respect generic-extras-enable-list.
529 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
531 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
533 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
535 * allout.el (allout-init, allout-prefixed-keybindings)
536 (allout-unprefixed-keybindings):
537 * progmodes/prolog.el (prolog-find-term):
538 Fix typos in docstrings.
540 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
542 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
544 2011-03-06 Kevin Ryde <user42@zip.com.au>
546 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
548 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
550 * window.el (one-window-p, walk-windows, display-buffer):
551 Doc fixes. (Bug#5567)
553 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
555 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
556 of the variable if it exists.
558 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
565 * net/tramp-cache.el:
566 * obsolete/fast-lock.el:
567 * textmodes/reftex.el:
568 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
570 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
572 * files.el (delete-directory, copy-directory, list-directory):
573 Use read-directory-name.
575 * find-file.el (ff-find-the-other-file):
576 * net/ange-ftp.el (ange-ftp-make-directory):
577 * printing.el (pr-interactive-dir):
578 * progmodes/ada-prj.el (ada-prj-load-directory):
579 * progmodes/ebnf2ps.el (ebnf-print-directory)
580 (ebnf-spool-directory, ebnf-eps-directory)
581 (ebnf-syntax-directory):
583 * speedbar.el (speedbar-create-directory):
584 * vc/emerge.el (emerge-merge-directories):
585 * vc/vc-dir.el (vc-dir):
586 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
588 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
590 * help-mode.el (help-buffer): If we are to return the current
591 buffer, signal an error if it's not in Help mode (Bug#8147).
593 2011-03-05 Reuben Thomas <rrt@sc3d.org>
595 * files.el (file-name-version-regexp): Handle backup files of the
596 form `foo.js.~HEAD~1~' (Bug#8159).
598 2011-03-05 Glenn Morris <rgm@gnu.org>
600 * eshell/esh-var.el: Don't require esh-test when compiling.
601 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
602 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
603 * eshell/esh-test.el: Move to ../../test/eshell.el.
605 2011-03-05 David Engster <deng@randomsample.de>
607 * files.el (save-some-buffers): Report the names of buffers saved
608 automatically due to buffer-save-without-query (Bug#8134).
610 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
612 * net/rcirc.el: Add QuakeNet authentication support.
613 (rcirc-authinfo, rcirc-check-auth-status)
614 (rcirc-authenticate): Support QuakeNet.
616 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
618 * net/rcirc.el: Add functionality to authenticate before
619 autojoining channels.
620 (rcirc-authenticate-before-join): New option.
621 (rcirc-authenticated-hook): New variable.
622 (rcirc-connect): Make local variable rcirc-user-authenticated.
623 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
624 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
626 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
627 Call rcirc-check-auth-status.
629 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
631 * net/soap-client.el (soap-namespace-put-link): Check if the target
632 name is fully qualified -- use only the name part.
633 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
634 types, treated the same as xsd:sequence. (Bug#8166)
636 2011-03-05 Eli Zaretskii <eliz@gnu.org>
638 * files.el (find-file-noselect): Don't ask about re-visiting
639 non-literally if the file is already visited in image-mode.
642 2011-03-05 Glenn Morris <rgm@gnu.org>
644 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
645 (eshell-mode): Use eshell-kill-buffer-function.
646 Run the -initialize functions independently of the -load-hooks.
647 * eshell/esh-proc.el (eshell-kill-process-function): New function.
648 (eshell-gather-process-output, eshell-sentinel)
649 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
650 Use eshell-kill-process-function.
651 * eshell/em-alias.el (eshell-alias-load-hook):
652 * eshell/em-banner.el (eshell-banner-load-hook):
653 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
654 * eshell/em-dirs.el (eshell-dirs-load-hook):
655 * eshell/em-glob.el (eshell-glob-load-hook):
656 * eshell/em-hist.el (eshell-hist-load-hook):
657 * eshell/em-pred.el (eshell-pred-load-hook):
658 * eshell/em-prompt.el (eshell-prompt-load-hook):
659 * eshell/em-rebind.el (eshell-rebind-load-hook):
660 * eshell/em-script.el (eshell-script-load-hook):
661 * eshell/em-smart.el (eshell-smart-load-hook):
662 * eshell/em-term.el (eshell-term-load-hook):
663 * eshell/em-unix.el (eshell-unix-load-hook):
664 * eshell/esh-arg.el (eshell-arg-load-hook):
665 * eshell/esh-cmd.el (eshell-cmd-load-hook):
666 * eshell/esh-ext.el (eshell-ext-load-hook):
667 * eshell/esh-io.el (eshell-io-load-hook):
668 * eshell/esh-mode.el (eshell-exit-hook):
669 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
670 * eshell/esh-var.el (eshell-var-load-hook):
671 Set default hook values to nil. (Bug#5375)
673 * eshell/esh-module.el (eshell-module-unload-hook)
674 (eshell-modules-list): Remove leading * from defcustom docs.
676 * eshell/esh-util.el (eshell-for): Make it obsolete.
677 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
678 * eshell/em-dirs.el (eshell-save-some-last-dir):
679 * eshell/em-hist.el (eshell-save-some-history)
680 (eshell-hist-parse-modifier):
681 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
683 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
684 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
686 * eshell/esh-ext.el (eshell-find-interpreter):
687 * eshell/esh-mode.el (eshell-mode):
688 * eshell/esh-module.el (eshell-unload-extension-modules):
689 * eshell/esh-proc.el (eshell-process-interact):
690 * eshell/esh-test.el (eshell-test):
691 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
692 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
693 (eshell-variables-list):
694 * eshell/eshell.el (eshell-unload-all-modules):
695 Replace eshell-for with dolist.
697 2011-03-04 Glenn Morris <rgm@gnu.org>
699 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
701 2011-03-04 Tom Tromey <tromey@redhat.com>
703 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
705 2011-03-04 Glenn Morris <rgm@gnu.org>
707 * outline.el (outline-regexp): No longer allow nil.
708 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
710 * net/browse-url.el (browse-url):
711 Handle deleted default-directory. (Bug#6077)
713 * recentf.el (recentf-include-p): In case of a buggy predicate,
714 err on the side of including, not excluding. (Bug#5843)
716 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
718 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
721 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
723 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
724 if there is no node. (Bug#3261)
726 2011-03-04 Leo <sdl.web@gmail.com>
728 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
730 * time.el (display-time-world-list): Fix typo. (Bug#7571)
732 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
734 * cus-edit.el (custom-buffer-create-internal):
735 Split search string before passing it to `customize-apropos' (bug#8136).
737 2011-03-04 Drew Adams <drew.adams@oracle.com>
739 * image-dired.el (image-dired-cmd-read-exif-data-options):
740 Fix typo in docstring (bug#8156).
742 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
744 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
746 2011-03-03 Christian Ohler <ohler@gnu.org>
748 * emacs-lisp/ert.el (ert--explain-equal): New function.
749 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
751 (ert--explain-equal-including-properties): Renamed from
752 `ert--explain-not-equal-including-properties'. All callers
755 2011-03-03 Christian Ohler <ohler@gnu.org>
757 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
758 (ert-char-for-test-result, ert-string-for-test-result)
759 (ert-run-tests-batch, ert--print-test-for-ewoc):
760 Handle `ert-test-quit'.
762 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
764 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
765 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
767 2011-03-03 Glenn Morris <rgm@gnu.org>
769 * files.el (file-truename): Doc fix. (Bug#2341)
771 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
773 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
775 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
777 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
778 programs output backslashes. (Bug#7663)
780 2011-03-03 Glenn Morris <rgm@gnu.org>
782 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
783 (mail-mode): Remove mail-sent-via from the doc.
784 (mail-sent-via): Make it obsolete. (Bug#1776)
786 * progmodes/grep.el (grep-highlight-matches): Doc fix.
787 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
789 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
790 with no parents. (Bug#8025)
792 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
794 * password-cache.el (password-in-cache-p): Add autoload.
796 2011-03-02 Glenn Morris <rgm@gnu.org>
798 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
799 * dired-x.el (Man-support-local-filenames): Autoload it.
800 (dired-guess-shell-alist-default): Also handle Red Hat's man.
802 * dired-x.el (dired-default-directory-alist, dired-default-directory):
804 (dired-smart-shell-command): Just call dired-current-directory.
806 * dired-x.el (dired-jump-other-window): Add autoload.
807 (dired-default-directory-alist, dired-default-directory): Doc fixes.
808 (dired-default-directory-alist): Mark as risky.
810 * dired-x.el (dired-omit-here-always): Make it obsolete.
812 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
814 * textmodes/artist.el (artist-curr-go): Default to pen-line.
815 (artist-select-op-pen-line): New function.
816 (artist-menu-map): New variable.
817 (artist-mode-map): Add a menu to the menu-bar.
819 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
821 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
824 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
826 (math-logunits-add, math-logunits-mul, math-logunits-divide):
827 (math-logunits-quant, math-logunits-level):
828 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
830 (math-logunits-level): Extract units from ratio.
832 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
834 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
836 2011-03-01 Glenn Morris <rgm@gnu.org>
838 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
839 (diary-hebrew-birthday): Rename and rework functions added
842 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
844 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
845 (diary-hebrew-birthday): New functions.
847 2011-03-01 Glenn Morris <rgm@gnu.org>
849 * dired.el (dired-safe-switches-p): Beef it up.
850 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
852 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
854 * dired.el (dired-safe-switches-p): New function.
856 2011-03-01 Glenn Morris <rgm@gnu.org>
858 * files.el (dir-locals-collect-variables):
859 Add the ability to exclude subdirectories. (Bug#8100)
861 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
863 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
865 * ido.el (ido-everywhere): Doc fix.
868 2011-02-28 Glenn Morris <rgm@gnu.org>
870 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
872 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
874 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
877 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
879 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
881 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
883 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
884 Fix typos in docstrings.
886 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
888 * dired-aux.el (dired-update-file-line):
889 Fix 2010-11-09 change. (Bug#8131)
891 2011-02-28 Eli Zaretskii <eliz@gnu.org>
893 * international/mule-cmds.el (set-default-coding-systems): Use the
894 -unix variant of encoding in default-keyboard-coding-system.
897 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
899 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
901 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
903 * term/screen.el: New file (Bug#2650).
905 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
907 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
908 (pcase-mutually-exclusive-predicates): New var.
909 (pcase--split-consp, pcase--split-pred): Use it.
910 (pcase--split-equal, pcase--split-member): When splitting against
911 a pure predicate, run it to know the outcome.
912 (pcase--u1): Mark vars that are actually used.
913 (pcase--q1): Avoid introducing unused vars.
915 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
917 * calc/calc-ext.el (calc-init-extensions):
918 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
920 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
923 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
924 argument is a variable.
926 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
928 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
929 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
930 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
932 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
934 * password-cache.el (password-in-cache-p): Convenience function to
935 check if a key is in the cache, even if the value is nil.
937 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
939 * emacs-lisp/package-x.el (package--archive-contents-from-url)
940 (package--archive-contents-from-file): New functions.
941 (package-update-news-on-upload): New var.
942 (package-upload-buffer-internal): Extract archive-contents from
943 package-archive-upload-base if it is not found at archive-url.
944 Obey package-update-news-on-upload.
945 (package-upload-buffer, package-upload-file): Doc fix.
947 2011-02-24 Glenn Morris <rgm@gnu.org>
949 * files-x.el (modify-dir-local-variable): Handle dir-locals from
950 the cache, and from non-file sources.
952 * help-fns.el (describe-variable): Return consistent results when a
953 dir-local from a file came from the cache or did not. (Bug#8095)
954 If a dir-local has no associated file, say it came from a "directory".
956 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
957 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
959 * files.el (dir-locals-find-file): Doc fix.
960 Fix the check for cache elements that have no associated file,
961 and the mtime check for those that do. (Bug#8095)
963 * dired-x.el (dired-hack-local-variables):
964 Handle interrupts during hacking local variables. (Bug#5216)
966 * emacs-lisp/autoload.el (autoload-save-buffers)
967 (autoload-find-destination, update-directory-autoloads):
968 Avoid prompts when updating autoloads.
970 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
972 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
974 2011-02-23 Kenichi Handa <handa@m17n.org>
976 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
977 error when a multipart boundary in the nested multipart is found.
979 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
982 2011-02-23 Glenn Morris <rgm@gnu.org>
984 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
985 * dired-x.el (dired-omit-mode): Safe if boolean.
986 (dired-enable-local-variables): Fix doc and custom type.
987 (dired-enable-local-variables, dired-local-variables-file)
988 (dired-hack-local-variables): Make obsolete.
989 (dired-omit-here-always): Use dir-locals.el instead.
991 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
993 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
995 * help-fns.el (describe-function-1): Don't signal an error just because
996 the DOC file disappeared.
998 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1000 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1001 remote check to "ftp". (Bug#8089)
1003 2011-02-21 Alan Mackenzie <acm@muc.de>
1006 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1007 in macros finding their way into c-state-nonlit-pos-cache.
1008 Strengthen the comments.
1009 (c-state-dump): New commented out diagnostic routine.
1011 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1013 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1014 `field' property of `rfn-eshadow-overlay'.
1016 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1018 * net/netrc.el (netrc-parse): Comment fix.
1020 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1022 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1023 Autoload. Add optional arg FRAME, and pass it to color-values.
1024 (color-complement): Caller changed. Doc fix.
1025 (color-gradient): Rewrite for better clarity and efficiency.
1027 * faces.el (color-values): Use cond for clarity. Doc fix.
1029 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1031 (list-colors-sort-key, list-colors-print):
1032 Use color-normalized-values.
1034 2011-02-20 Drew Adams <drew.adams@oracle.com>
1036 * color.el: First part of merge from hexrgb.el.
1037 (color-rgb-to-hex): Rename from color-rgb->hex.
1038 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1039 saturation to zero if the value is too small.
1040 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1041 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1042 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1043 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1044 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1045 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1046 (color-cie-de2000): Doc fix.
1048 2011-02-20 Alan Mackenzie <acm@muc.de>
1050 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1051 locating the beginning of a macro. (Bug#7595)
1053 2011-02-20 Glenn Morris <rgm@gnu.org>
1055 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1058 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1059 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1061 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1062 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1064 * progmodes/hideshow.el (hs-find-block-beginning)
1065 (hs-hide-level-recursive): Ignore comments when parsing braces
1068 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1070 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1071 (vc-bzr-pull): Use it.
1073 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1075 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1076 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1077 but returning an alist. Ignore comments in bzr conffile.
1078 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1079 (vc-bzr-error-regex-alist): New var.
1080 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1082 * vc/vc-dispatcher.el (vc-do-async-command):
1083 Bind inhibit-read-only to t.
1085 * progmodes/compile.el (compilation--flush-directory-cache):
1086 Handle the case where cdr of compilation--flush-directory-cache
1087 points to no buffer, which can occur if we previously switched to
1088 compilation-mode in a pregenerated buffer.
1090 2011-02-19 Kenichi Handa <handa@m17n.org>
1092 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1093 get the header copy into the temporary buffer.
1094 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1095 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1096 buffer-file-coding-system to undecided.
1098 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1100 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1101 Document completion with asterisk and a substring.
1103 2011-02-19 Glenn Morris <rgm@gnu.org>
1105 * files.el (find-file-literally): Doc fix.
1107 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1109 * log-edit.el (log-edit-insert-changelog):
1110 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1112 2011-02-19 Glenn Morris <rgm@gnu.org>
1114 * dired-x.el: Don't require dired-aux.
1115 (dired-do-create-files, dired-mark-read-regexp)
1116 (dired-do-create-files-regexp): Autoload from dired-aux.
1118 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1119 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1121 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1122 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1124 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1125 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1126 (dired-clean-up-buffers-too): Declare.
1128 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1129 * dired.el (dired-initial-position): Merge dired-x's version here.
1130 (dired-find-subdir): Declare.
1132 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1133 * dired-aux.el (dired-add-entry): Give it a doc-string.
1134 Merge dired-x's dired-omit handling here.
1135 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1137 * international/mule-diag.el (list-input-methods-1):
1138 Indent all lines of multi-line doc-strings. (Bug#8066)
1140 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1142 Fix 2011-02-02 changes.
1144 * apropos.el (apropos-print): Call apropos-mode before setting up
1145 buffer variables. Use inhibit-read-only.
1147 * emacs-lisp/package.el (package--list-packages):
1148 Call package-menu-mode before setting up buffer variables.
1150 * play/solitaire.el (solitaire): Call solitaire-mode before
1151 setting up buffer variables. Use inhibit-read-only.
1153 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1155 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1156 Bind case-fold-search to nil when looking for end of here-doc.
1158 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1160 * image-mode.el (image-toggle-display-image):
1161 Set find-file-literally non-nil in buffers visiting binary image
1164 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1166 * files.el (cd): Make completion obey cd-path (bug#7924).
1168 2011-02-18 Glenn Morris <rgm@gnu.org>
1170 * progmodes/prolog.el: Don't require compile when compiling.
1171 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1172 (compilation-forget-errors, compilation-fake-loc)
1173 (compilation-parse-errors-function, compilation-error-list): Declare.
1174 (prolog-inferior-mode): Require 'compile.
1176 * emulation/cua-base.el (pc-selection-mode): Declare.
1178 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1179 (customize-object): Add autoload cookie.
1180 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1181 (eieio-browse, describe-class, eieio-describe-class)
1182 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1183 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1184 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1185 * Makefile.in (autoloads): Make eieio.el writable.
1187 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1188 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1189 (dired-hack-local-variables): Use inhibit-read-only.
1190 (dired-guess-default): Simplify.
1191 (dired-make-relative-symlink): Use dotimes.
1192 (dired-simultaneous-find-file): Use dolist.
1193 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1194 (dired-x-hands-off-my-keys): Doc fix.
1195 (dired-x-bind-find-file): Doc fix. Use remapping.
1196 (after-init-hook): No need to add dired-x-bind-find-file.
1197 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1198 No need to call expand-file-name.
1199 (dired-filename-at-point): Remove unused locals `end', `filename'.
1201 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1205 2011-02-18 Christian Ohler <ohler@gnu.org>
1207 * emacs-lisp/ert.el (ert--setup-results-buffer)
1208 (ert-results-pop-to-backtrace-for-test-at-point)
1209 (ert-results-pop-to-messages-for-test-at-point)
1210 (ert-results-pop-to-should-forms-for-test-at-point)
1211 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1212 were incorrect and unnecessary. This should make `make check'
1215 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1217 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1218 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1219 * lisp/allout.el: Remove commentary about remove encryption
1220 passphrase mnemonic support and verification.
1221 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1222 armored text using gpg1, and indicate that the gpg version *might*
1223 be the problem in the error message.
1225 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1227 * net/rcirc.el (rcirc-float-time): New function.
1228 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1229 (rcirc-ctcp-sender-PING): Use it.
1231 2011-02-17 Glenn Morris <rgm@gnu.org>
1233 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1234 (speedbar-update-flag, speedbar-fetch-etags-command)
1235 (speedbar-fetch-etags-arguments):
1236 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1237 (term-completion-autolist, term-completion-addsuffix)
1238 (term-completion-recexact, term-completion-fignore):
1239 * term/sup-mouse.el (sup-mouse-fast-select-window):
1240 * term/x-win.el (x-select-request-type):
1241 Convert some defvars with "*" to defcustoms.
1243 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1245 * vc/vc.el (vc-default-previous-version):
1246 Remove alias that points nowhere. (Bug#4496)
1248 * dired-x.el (dired-clean-up-after-deletion):
1249 kill-buffer does not need save-excursion.
1250 (dired-do-run-mail): Doc fix.
1251 (dired-filename-at-point): Doc fix.
1252 Use looking-at, and skip-chars rather than re search.
1254 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1256 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1258 * allout-widgets.el: New allout extension that shows allout
1259 outline structure with graphical widgets. 'allout-widgets'
1260 customize group is an 'allout' subgroup, for easy discovery.
1262 * allout.el: Include PGP and GnuPG in Keywords, and other
1263 commentary refinements.
1264 (allout-abbreviate-flattened-numbering): Rename to
1265 allout-flattened-numbering-abbreviation, and
1266 define-obsolete-variable-alias the old name.
1267 (allout-flattened-numbering-abbreviation): Rename from
1268 allout-abbreviate-flattened-numbering.
1269 (allout-mode-p): Include among autoloads, for use by other modes
1271 (allout-listify-exposed):
1272 Use allout-flattened-numbering-abbreviation.
1273 (allout-encrypt-string): Use set-buffer-multibyte directly.
1274 (allout-set-buffer-multibyte): Remove.
1276 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1278 * simple.el (just-one-space): Remove useless `or' call.
1280 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1282 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1283 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1284 (soap-decoded-multi-refs, soap-current-wsdl)
1285 (soap-encoded-namespaces): Rename CL-style *...* variables.
1287 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1289 * net/soap-client.el: Add "comm" and "hypermedia" to the
1290 keywords. Reflow too long lines.
1292 * net/soap-inspect.el: Ditto. Require 'cl.
1294 2011-02-16 Bastien Guerry <bzg@altern.org>
1296 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1297 in a `doctor-type' argument.
1299 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1301 * net/soap-client.el:
1302 * net/soap-inspect.el: New files.
1304 2011-02-16 Leo <sdl.web@gmail.com>
1306 * dired-x.el (dired-mode-map, dired-extra-startup):
1307 Remove dired-copy-filename-as-kill since it's already in dired.el.
1309 2011-02-16 Glenn Morris <rgm@gnu.org>
1311 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1312 Doc fixes. Add :set property, replacing top-level calls.
1313 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1314 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1315 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1316 (dired-clean-up-after-deletion): Use when and dolist.
1317 (dired-jump): Use unless and when.
1318 (dired-virtual): Use line-end-position.
1319 (dired-default-directory-alist): Rename from default-directory-alist.
1320 (dired-default-directory): Update for above name change.
1321 (dired-vm): Drop VM < 5 and simplify.
1322 (dired-buffer-more-recently-used-p): Rewrite.
1323 (dired-filename-at-point): Use when and or.
1324 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1327 2011-02-15 Glenn Morris <rgm@gnu.org>
1329 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1331 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1333 * vc/vc-git.el (vc-git-root-log-format): New option for
1334 customizing log format.
1335 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1336 (vc-git-log-view-mode): Use it.
1337 (vc-git-expanded-log-entry): New function.
1338 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1340 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1341 customizing log format.
1342 (vc-hg-print-log): Use it.
1343 (vc-hg-expanded-log-entry): New function.
1344 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1345 vc-hg-expanded-log-entry. Truncate lines in root log.
1347 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1349 * vc/log-view.el (log-view-mode-menu):
1350 Add log-view-toggle-entry-display.
1352 2011-02-14 Glenn Morris <rgm@gnu.org>
1354 * dired-x.el: Don't require man when compiling.
1355 (dired-omit-extensions, dired-local-variables-file)
1356 (dired-x-hands-off-my-keys): Make them defcustoms.
1357 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1358 (vm-visit-folder): Declare rather than defining.
1359 (dired-x-help-address, dired-x-variable-list): Remove.
1360 (dired-x-submit-report): Make it an obsolete alias.
1362 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1364 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1366 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1368 * net/imap.el: Bring it back.
1370 2011-02-13 Alan Mackenzie <acm@muc.de>
1372 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1373 narrow-to-region call that cuts context off the end (Bug#7722).
1375 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1376 Refactor nested if-forms with a simple cond.
1377 (c-forward-<>-arglist): Revert 2011-01-31 change.
1379 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1381 * vc/log-view.el: New command log-view-toggle-entry-display for
1382 toggling log entries between concise and detailed forms.
1383 (log-view-toggle-entry-display): New command.
1384 (log-view-mode-map): Bind RET to it.
1385 (log-view-expanded-log-entry-function): New variable.
1386 (log-view-current-entry, log-view-inside-comment-p)
1387 (log-view-current-tag): New functions.
1388 (log-view-toggle-mark-entry): Use log-view-current-entry and
1389 log-view-end-of-defun instead of searching directly with
1390 log-view-message-re.
1391 (log-view-end-of-defun): Likewise. Add optional ARG for
1392 compatibility with end-of-defun.
1393 (log-view-end-of-defun): Ignore comments and VC buttons.
1395 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1396 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1398 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1400 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1402 * net/imap-hash.el: Remove file.
1404 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1406 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1408 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1411 * net/tramp-imap.el: Remove file.
1413 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1415 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1416 widget library for buttons, just use button.el.
1418 * vc/log-view.el (log-view-mode-map): Don't inherit from
1421 2011-02-12 Glenn Morris <rgm@gnu.org>
1423 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1424 (nintersection, set-difference, nset-difference)
1425 (set-exclusive-or, nset-exclusive-or): Doc fix.
1427 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1429 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1430 :italic props, so that frame-set-background-mode works. (Bug#7966)
1432 * simple.el (next-error): Doc fix.
1434 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1436 * dired-aux.el (dired-create-files): Adapt destination name to
1437 match the new behavior of copy-directory.
1439 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1441 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1442 from rmail-dont-reply-to-names. Callers changed.
1443 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1444 (rmail-dont-reply-to): Make it an obsolete alias.
1446 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1447 nil, and make obsolete (Bug#7888).
1448 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1450 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1452 * mail/rmailsort.el (rmail-sort-by-correspondent)
1453 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1455 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1457 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1459 * files.el (copy-directory): New argument COPY-CONTENTS for
1460 copying directory contents into another existing directory.
1462 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1464 * minibuffer.el (completion-table-case-fold): New function for
1465 creating a case-insensitive completion table.
1467 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1469 * net/tramp.el (tramp-default-method): Also check if
1470 `auth-source-search' is bound.
1471 (tramp-read-passwd): Use `auth-source-search' instead of
1472 `auto-source-user-or-password'.
1474 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1475 `auto-source-user-or-password.
1476 (tramp-imap-passphrase-callback-function): Use it.
1478 * net/imap-hash.el: Autoload `auto-source-search' instead of
1479 `auto-source-user-or-password.
1480 (imap-hash-open-connection): Use it.
1482 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1483 `auto-source-user-or-password.
1484 (smtpmail-try-auth-methods): Use it.
1486 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1488 * emacs-lisp/package.el: Allow packages to be reinstalled.
1489 (package--write-file-no-coding): Remove EXCL arg.
1490 (package-unpack-single): Don't use it.
1492 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1494 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1495 in each sub directory.
1496 (vc-svn-registered): Use vc-svn-root.
1497 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1498 (vc-svn-repository-hostname): Use "svn info".
1500 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1502 * simple.el (delete-trailing-whitespace): New optional buffer
1505 2011-02-11 Bastien Guerry <bzg@altern.org>
1507 * files.el (basic-save-buffer): save unmodified buffers when
1508 the file pointed by buffer-file-name doesn't exist.
1510 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1512 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1514 2011-02-11 Glenn Morris <rgm@gnu.org>
1516 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1518 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1520 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1522 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1524 * server.el (server-process-filter): Use pcase.
1526 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1528 (smie-indent--parent): Extend to "parent of arg".
1529 (smie-indent-inside-string): New function.
1530 (smie-indent-functions): Use it.
1532 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1533 bzr locking race condition.
1535 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1536 still valid before using it.
1538 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1539 `message' -> `compilation-message' rename (bug#8004).
1541 Move keymap initialization into declaration.
1542 * textmodes/enriched.el (enriched-mode-map):
1543 * textmodes/bib-mode.el (bib-mode-map):
1544 * term/lk201.el (lk201-function-map):
1545 * tar-mode.el (tar-mode-map):
1546 * replace.el (occur-mode-map):
1547 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1548 * progmodes/idlw-help.el (idlwave-help-mode-map):
1549 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1550 * play/solitaire.el (solitaire-mode-map):
1551 * play/snake.el (snake-mode-map, snake-null-map):
1552 * play/pong.el (pong-mode-map):
1553 * play/handwrite.el (menu-bar-handwrite-map):
1554 * play/gametree.el (gametree-mode-map):
1555 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1556 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1557 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1558 (newsticker--url-keymap):
1559 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1560 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1561 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1562 (menu-bar-edit-menu, menu-bar-custom-menu)
1563 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1564 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1565 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1566 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1567 (menu-bar-tools-menu, menu-bar-describe-menu)
1568 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1569 (menu-bar-help-menu):
1570 * mail/rmailsum.el (rmail-summary-mode-map):
1571 * kmacro.el (kmacro-step-edit-map):
1572 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1573 (ibuffer-mode-operate-map):
1574 * hi-lock.el (hi-lock-menu, hi-lock-map):
1575 * emulation/vip.el (vip-mode-map):
1576 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1577 * bookmark.el (bookmark-bmenu-mode-map):
1578 * help-mode.el (help-mode-map): Move initialization into declaration.
1580 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1582 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1583 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1584 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1585 (rcirc-cmd-me, rcirc-authenticate): Use them.
1587 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1589 * allout.el: Synopsis: Change allout user configuration so
1590 auto-activation is controlled solely by customization
1591 `allout-auto-activation'.
1593 (allout-auto-activation-helper, allout-setup): New autoloads
1594 implement new custom set procedure for allout-auto-activation.
1595 Also, explicitly invoke (allout-setup) after allout-auto-activation
1596 is custom-defined, to affect the settings in emacs sessions besides
1597 the few where allout-auto-activation customization is done.
1598 (allout-auto-activation): Use allout-auto-activation-helper to
1599 :set. Revise the docstring.
1600 (allout-init): Reduce functionality to just customizing
1601 allout-auto-activation, and mark obsolete.
1602 (allout-mode): Respect string values for allout-auto-activation.
1603 Run allout-after-copy-or-kill-hook without any args.
1604 (allout-mode, allout-layout, allout-default-layout)
1605 (outlineify-sticky): Adjust docstring for new scheme.
1606 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1607 should concentrate on the kill ring.
1609 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1611 * password-cache.el (password-cache-remove): Accept secrets that are
1614 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1617 of here-doc that immediately follows a comment.
1619 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1621 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1623 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1625 (rcirc-ctcp-sender-PING): New function.
1627 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1629 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1630 Remove the mark/nomark handling, and activate shift-select-mode instead.
1632 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1634 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1636 * calc/calc-units.el (math-logunits-quant): Add support for
1637 non-logarithmic units.
1639 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1641 * allout.el (allout-after-copy-or-kill-hook): New hook for
1642 extension-specific processing of killed text.
1643 (allout-mode): Include new allout-after-copy-or-kill-hook among
1645 (allout-kill-line, allout-kill-topic): Ensure that processing
1646 after kill happens even if barf-if-buffer-read-only is raised.
1647 Include new allout-after-copy-or-kill-hook among that subsequent
1649 (allout-deannotate-hidden): Actually remove the annotation text
1652 * allout.el (allout-listify-exposed): Copy text sans text properties.
1654 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1656 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1658 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1660 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1662 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1664 * calc/calc.el (calc-logunits-field-reference): Rename from
1665 `calc-default-field-reference-level'.
1666 (calc-logunits-power-reference): Rename from
1667 `calc-default-power-reference-level'.
1669 * calc/calc-units.el (math-logunits-quant): Rename from
1670 `math-logunits-level'
1671 (math-logunits-plus): Rename from math-logcombine.
1672 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1673 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1674 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1676 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1677 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1678 (calc-logunits-quantity): Rename from `calc-level'.
1679 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1680 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1681 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1682 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1683 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1686 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1687 (calc-ul-prefix-help): Remove.
1688 (calc-l-prefix-help): New function.
1689 (calc-full-help): Add reference to `calc-l-prefix-help'.
1691 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1693 * calc/README: Mention logarithmic units.
1695 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1697 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1698 non-ASCII characters (Bug#7925).
1700 2011-02-05 Glenn Morris <rgm@gnu.org>
1702 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1704 * calendar/diary-lib.el (diary-font-lock-keywords):
1705 Tweak diary-time-regexp match. (Bug#7891)
1707 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1708 (f90-mode): Use it for mode's `find-tag-default-function' property.
1710 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1712 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1714 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1716 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1719 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1722 font-lock-syntax-table remappings.
1723 (sh-here-doc-markers, sh-here-doc-re): Remove.
1724 (sh-font-lock-close-heredoc): Remove.
1725 (sh-syntax-propertize-here-doc): New function.
1726 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1727 instead of the sh-here-doc-re.
1728 (sh-font-lock-paren): Don't do anything in comments or strings.
1729 Handle line continuations. Accept a few more chars.
1730 Don't rely on the font-lock-syntax-table remappings.
1731 `esac' is not a valid pattern.
1732 (sh-syntax-propertize-function): Handle here-docs differently, so we
1733 don't bother syntax-propertizing the insides.
1735 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1736 Handle new bashisms ";&" and ";;&" (bug#7947).
1738 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1740 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1741 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1743 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1745 * net/tramp.el (tramp-postfix-method-format)
1746 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1747 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1748 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1749 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1750 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1753 2011-02-04 Sam Steingold <sds@gnu.org>
1755 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1757 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1759 * international/mule-util.el (with-coding-priority): Doc fix.
1761 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1763 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1765 2011-02-03 Sam Steingold <sds@gnu.org>
1767 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1768 Do not error out when `func' is nil.
1770 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1772 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1773 `tramp-default-remote-path' to the docstring.
1774 (tramp-get-remote-path): Suppress error message when `getconf
1777 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1779 2011-02-03 Glenn Morris <rgm@gnu.org>
1781 * vc/vc-hg.el (vc-hg-command): Doc fix.
1783 * term/w32-win.el (libpng-version): Declare for compiler.
1785 * msb.el: No need to load dired while compiling.
1787 * emacs-lisp/elint.el (elint-standard-variables):
1788 Remove a couple of built-ins that now have doc-strings.
1790 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1791 `require' is automatically `eval-and-compile'd.
1793 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1794 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1796 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1797 Move definition before use.
1798 (strokes-report-bug): Make it obsolete.
1800 2011-02-02 Sam Steingold <sds@gnu.org>
1802 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1803 from `special-mode', entering it makes the buffer read-only, so
1804 call it only when everything has been already inserted.
1805 * emacs-lisp/ert.el (ert--setup-results-buffer)
1806 (ert-results-pop-to-backtrace-for-test-at-point)
1807 (ert-results-pop-to-messages-for-test-at-point)
1808 (ert-results-pop-to-timings): Ditto.
1809 * emacs-lisp/package.el (package--list-packages): Ditto.
1810 * play/solitaire.el (solitaire): Ditto.
1812 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1814 * progmodes/compile.el: Make all faces inherit.
1815 (compilation-warning): Inherit from font-lock-variable-name-face.
1816 (compilation-info): Inherit from font-lock-type-face.
1817 (compilation-line-number): Reassign to font-lock-keyword-face.
1818 (compilation-column-number): Reassign to font-lock-doc-face.
1819 (compilation-leave-directory-face): Reassign to
1820 font-lock-builtin-face.
1822 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1824 * dired.el (dired-insert-directory): Don't invoke `ls' when
1825 ls-lisp.el is used to emulate it.
1827 2011-02-01 Julien Danjou <julien@danjou.info>
1829 * color.el (color-gradient): Add a color-gradient function.
1831 2011-02-01 Sam Steingold <sds@gnu.org>
1833 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1834 bind "z" to `kill-this-buffer'.
1835 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1836 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1837 (apropos-mode): Inherit from `special-mode'.
1838 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1839 * bookmark.el (bookmark-bmenu-mode): Define using
1840 `define-derived-mode' inheriting from `special-mode'.
1841 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1842 * image-mode.el (image-mode-map): Ditto.
1843 * replace.el (occur-mode): Define using
1844 `define-derived-mode' inheriting from `special-mode'.
1845 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1846 * calendar/diary-lib.el (diary-fancy-display-mode):
1847 Inherit from `special-mode-map'.
1848 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1849 Inherit from `special-mode'.
1850 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1852 (package-menu-mode): Define using `define-derived-mode'
1853 inheriting from `special-mode'.
1854 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1855 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1856 (xesam-mode-map): Define separately.
1857 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1858 * progmodes/compile.el (compilation-minor-mode-map)
1859 (compilation-mode-map): Inherit from `special-mode-map'.
1860 * vc/diff-mode.el (diff-mode-shared-map):
1861 Inherit from `special-mode-map'.
1862 * vc/log-view.el (log-view-mode-map): Add a comment.
1864 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1866 * custom.el (load-theme): Define return value. Drop use of
1867 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1868 (custom-theme-load-confirm): Scroll in the correct window.
1869 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1871 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1872 checkbox if load-theme fails.
1874 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1876 * progmodes/compile.el (compilation-next-error): Check there's
1877 a message before using it (bug#7941).
1879 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1881 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1882 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1883 of potential pivots.
1885 2011-01-31 Alan Mackenzie <acm@muc.de>
1887 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1888 Continue parsing if we encounter a naked # (Bug#7595).
1889 (c-beginning-of-statement): Avoid loop in locating the beginning
1890 of a macro. (Not actually committed until 2011-02-20, see above).
1892 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1894 * files.el (copy-directory): Fix arguments to recursive call.
1896 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1898 * files.el (copy-directory): If destination is an existing
1899 directory, copy into a subdirectory there.
1901 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1903 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1906 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1908 * image-dired.el (image-dired-mouse-display-image): No-op if no
1909 file is found (Bug#7817).
1911 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1913 2011-01-31 Kenichi Handa <handa@m17n.org>
1915 * international/quail.el (quail-keyboard-layout-alist):
1916 Remove superfluous SPC for "pc105-uk" (bug#7927).
1918 2011-01-31 Glenn Morris <rgm@gnu.org>
1920 * msb.el (msb-menu-bar-update-buffers): Update for changed
1921 argument handling of menu-bar-select-frame. (Bug#7902)
1923 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1925 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1926 to the recursion depth (Bug#7722).
1928 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1930 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1931 command-line-default-directory (Bug#7872).
1933 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * progmodes/compile.el (compilation--flush-directory-cache):
1936 New function, extracted from compilation--remove-properties.
1937 (compilation--remove-properties, compilation--parse-region): Use it.
1938 (compilation--previous-directory): Handle one more case.
1939 (compilation-enable-debug-messages): Remove.
1940 (compilation-parse-errors, compilation--flush-parse): Just remove the
1941 left over debug messages.
1943 2011-01-31 Sam Steingold <sds@gnu.org>
1945 * progmodes/compile.el (compilation-enable-debug-messages):
1946 Add a variable to make the parsing messages introduced in
1947 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1948 (compilation-parse-errors, compilation--flush-parse): Use it.
1950 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1952 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1953 (rcirc-nick-completion-format): New defcustom.
1954 (rcirc-complete): Use it.
1956 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1958 * net/rcirc.el: Clean log filenames (Bug#7933).
1959 (rcirc-log-write): Use convert-standard-filename.
1960 (rcirc-log-filename-function): Documentation updates.
1962 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1964 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1965 Check report-emacs-bug-can-use-osx-open and use that if t.
1966 (report-emacs-bug-can-use-osx-open): New function.
1967 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1968 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1970 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1972 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1973 updating Dired or VC-dir buffers after async command completes.
1975 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1976 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1978 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1979 completions if it exists. Use vc-set-async-update.
1980 (vc-git-pull): Use vc-set-async-update.
1982 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1983 read-shell-command. Use vc-set-async-update.
1984 (vc-hg-merge-branch): Use vc-set-async-update.
1986 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1988 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1989 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1992 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1994 * progmodes/compile.el: Avoid an N² behavior in grep.
1995 (compilation--previous-directory): New fun.
1996 (compilation--previous-directory-cache): New var.
1997 (compilation--remove-properties): Flush it.
1998 (compilation-directory-properties, compilation-error-properties):
1999 Use the new fun to speed up looking for the current directory.
2001 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2003 * vc/vc-hg.el (vc-hg-history): New var.
2004 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2005 (vc-hg-merge-branch): New function.
2007 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2008 the other way around.
2010 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2011 (vc-git-merge-branch): New functions.
2012 (vc-git-history): New var.
2014 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2016 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2018 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2019 vc-do-async-command.
2021 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2024 2011-01-28 Leo <sdl.web@gmail.com>
2026 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2027 highlighting to the "this function is advised" message.
2029 * help-mode.el (help-mode-finish): Apply highlighting here, to
2030 avoid clobbering by substitute-command-keys (Bug#6304).
2032 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2034 * woman.el (woman0-roff-buffer): Process roff escape sequences
2035 occurring prior to the first request (Bug#7843).
2037 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2039 * progmodes/compile.el: Don't use font-lock any more.
2040 (compilation-error-regexp-alist-alist): Change handling of makepp
2041 so it preserves the warning/error distinction on subsequent files.
2042 Simplify various rules.
2043 (compilation-directory-properties): Use font-lock-face.
2044 Add a compilation-message property.
2045 (compilation-internal-error-properties): Use font-lock-face.
2046 Don't set the compilation-debug property here.
2047 (compilation--put-prop, compilation--remove-properties)
2048 (compilation--parse-region, compilation--ensure-parse)
2049 (compilation--ensure-parse): New functions.
2050 (compilation-parse-errors): New function, largely inspired of
2051 compilation-mode-font-lock-keywords. Set compilation-debug here.
2052 (compilation--parsed): New var.
2053 (compilation--flush-parse): Use compilation--ensure-parse.
2054 (compilation-start): Don't call font-lock.
2055 (compilation-turn-on-font-lock): Remove.
2056 (compilation-setup): Don't set font-lock-extra-managed-props not change
2057 other font-lock settings, other than keywords.
2058 Don't activate font-lock-mode.
2059 Set change-major-mode-hook and before-change-functions.
2060 (compilation--unsetup): Remove properties and hooks.
2061 (compilation-next-single-property-change): New function.
2062 (compilation-next-error): Use it to parse when needed.
2063 (compile-goto-error): Parse buffer as needed.
2064 (compilation--compat-error-properties): Don't need a dummy `face'
2067 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2070 (compilation-process-setup-function): Fix docstring's false promises.
2071 (compilation-error-regexp-alist-alist): Catch omake's continuous
2072 recompilation message and avoid reuse of old markers.
2073 (compilation-parse-errors-function): Declare obsolete.
2074 (compilation-buffer-modtime): Remove.
2075 (compilation--make-cdrloc, compilation--loc->col)
2076 (compilation--loc->line, compilation--loc->file-struct)
2077 (compilation--loc->marker, compilation--loc->visited)
2078 (compilation--make-file-struct, compilation--file-struct->file-spec)
2079 (compilation--file-struct->formats)
2080 (compilation--file-struct->loc-tree): New macros. Use them.
2081 (compilation--message): New defstruct. Use them.
2082 (compilation-next-error-function): Don't mess with timestamps to try
2083 and guess when to reparse.
2085 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2087 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2088 (tex-old-error-file-name): New function,
2089 extracted from tex-compilation-parse-errors.
2090 (tex-compilation-parse-errors): Remove.
2091 (tex-error-regexp-alist): New var.
2092 (tex-shell): Use it to avoid compilation-parse-errors-function.
2094 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2095 (grep-mode-font-lock-keywords): Remove regexp that seems like
2096 a left-over from before we used compile.el.
2097 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2098 modifying the buffer within with-silent-modifications.
2100 * progmodes/compile.el: Cleanup text-properties namespace by using
2101 `compilation-message' instead of `message', `compilation-directory'
2102 instead of `directory', and `compilation-debug' instead of `debug'.
2103 (compilation-last-buffer, compilation-parsing-end)
2104 (compilation-error-list, compilation-old-error-list): Move to the
2105 compatibility part of the code.
2106 (compilation-error-properties): If `file' is a function, let it return
2108 (compilation-mode-font-lock-keywords): Be more conservative with the
2109 omake "^ *" pattern prefix, to try and minimize the risk of
2110 pathologically slow regexp matching.
2111 (compilation-start): Use inhibit-read-only.
2112 (compilation--unsetup): New function.
2113 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2114 (compilation-filter): Minor tweaks.
2115 (compilation-next-error-function): Try and avoid abusing variables.
2116 (compilation--flush-file-structure): New fun.
2117 (compilation-fake-loc): Use it to improve behavior when file is reused.
2118 (debug-ignored-errors): Add "Moved past last ...".
2119 (compilation--compat-error-properties)
2120 (compilation--compat-parse-errors): Rename by doubling the "-".
2122 Port features from the previous prolog.el to the new one.
2123 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2124 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2125 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2126 variable and use a function to compute the value dynamically.
2127 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2128 (prolog-continued-prompt-regexp): Remove, unused.
2129 (prolog-find-value-by-system): Try and use the value of prolog-system
2130 in the *prolog* buffer if it helps.
2131 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2132 (prolog-zip-on): ..and check prolog-system and version here instead.
2133 (prolog-inferior-self-insert-command): New command.
2134 (prolog-inferior-mode-map): Use it.
2135 (prolog-inferior-error-regexp-alist): New var.
2136 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2137 (prolog-input-filter): Use derived-mode-p.
2138 (prolog-inferior-guess-flavor): New function.
2139 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2140 make-comint to avoid running comint-mode twice.
2141 (prolog-inferior-buffer): New fun.
2142 (prolog-old-process-region, prolog-old-process-file):
2143 Don't call prolog-bsts here...
2144 (prolog-build-prolog-command): ...do it here instead.
2145 (prolog-old-process-region, prolog-old-process-file):
2146 Use compilation-fake-loc and compilation-forget-errors.
2147 (prolog-consult-compile-region): Use bolp.
2149 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2151 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2153 2011-01-27 Sam Steingold <sds@gnu.org>
2155 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2156 Remove "*server*" which is never created by emacs server.
2158 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2160 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2161 there are some diff switches.
2163 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2165 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2166 Copy change made to ruby-font-lock-syntactic-keywords.
2168 * htmlfontify.el: Make it obey the font-lock-face text property.
2169 Miscellaneous cleanup such as:
2170 - Don't hide expressions after a closing paren.
2171 - Move initial setq into let.
2172 - Hoist common parts out of ifs.
2173 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2174 (hfy-face-at): Use get-text-property instead.
2175 (hfy-prop-invisible-p): Use invisible-p if available.
2176 (htmlfontify-manual): Use \\[...].
2177 (hfy-html-quote-regex): Use [...].
2178 (hfy-combined-face-spec): Simplify.
2179 (hfy-compile-face-map): Don't presume point-min==1.
2180 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2181 match end of string.
2182 (hfy-text-p): η-reduce.
2183 (hfy-tags-for-file): Receive cache-hash directly.
2184 (hfy-mark-tag-names): Adjust call.
2186 2011-01-27 Glenn Morris <rgm@gnu.org>
2188 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2189 (msb-after-load-hook): Remove eval-after-load wackiness.
2191 2011-01-25 Sam Steingold <sds@gnu.org>
2193 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2194 literal "diff" (important for windows-nt).
2196 2011-01-25 Glenn Morris <rgm@gnu.org>
2198 * emacs-lisp/copyright.el (copyright-at-end-flag)
2199 (copyright-names-regexp): Add safety properties.
2200 (copyright-year-ranges): New option.
2201 (copyright-find-end): New function, split from copyright-update-year.
2202 (copyright-update-year): Use copyright-find-end.
2203 (copyright-fix-years): Optionally, convert years to ranges.
2204 Handle years continued over comment lines.
2205 Do not mess with the fill-prefix.
2206 Do not call copyright-update.
2207 (copyright-update-directory): Optionally, fix years rather than update.
2208 Skip directories. Find files with only safe local vars.
2210 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2212 * files.el (file-name-non-special): Only change buffer-file-name after
2213 insert-file-contents if it's `visit'ing the file (bug#7854).
2215 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2217 * dired.el (dired-revert): Doc fix (Bug#7758).
2219 * simple.el (line-move-visual): Doc fix (Bug#7594).
2221 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2223 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2224 here-doc which ends with an underscore.
2225 (ruby-mode-set-encoding): Skip shebang line always.
2226 (ruby-mode-map): Bind C-c C-c to comment-region.
2227 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2228 (ruby-forward-sexp): Stop after literal hash key labels.
2229 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2232 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2234 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2235 the correct buffer (Bug#7650).
2237 2011-01-25 Glenn Morris <rgm@gnu.org>
2239 * comint.el (comint-mode): Doc fix. (Bug#7897)
2241 * simple.el (do-auto-fill): Give it a doc string.
2243 * button.el (make-text-button): Doc fix. (See bug#7881)
2245 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2247 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2248 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2250 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2251 Handle ?" and friends differently (e.g. don't use backrefs).
2253 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2255 * calc/calc.el (calc-default-power-reference-level)
2256 (calc-default-field-reference-level): New variables.
2257 * calc/calc-units.el (math-standard-units): Add dB and Np.
2258 (math-logunits): New variable.
2259 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2260 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2261 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2263 (math-find-base-units-rec): Add entry for ln(10).
2264 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2265 (calc-ul-prefix-help): New function.
2266 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2267 functions. Add keybindings for new units functions.
2269 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2271 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2272 rcirc buffers. (Bug#4940)
2274 2011-01-22 Glenn Morris <rgm@gnu.org>
2276 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2277 split out from copyright-update-year.
2278 (copyright-update): Don't mess with the GPL version if we don't own the
2279 copyright. Update license regexp, and remove no longer needed
2281 (copyright-fix-years): Use copyright-find-copyright.
2283 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2285 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2287 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2289 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2290 (lm): Rename to landmark.
2291 (lm-test-run): Rename to landmark-test-run.
2293 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2295 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2296 "Case sensitive" menu item.
2298 2011-01-22 Roland McGrath <roland@frob.com>
2300 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2301 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2303 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2305 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2307 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2309 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2310 Assume foo(bar) is a manpage reference rather than some unquoted
2313 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2316 Suggested by Flo <sensorflo@gmail.com>.
2318 2011-01-22 Glenn Morris <rgm@gnu.org>
2320 * progmodes/compile.el (compilation-error-regexp-alist):
2321 Fix custom type. (Bug#7812)
2323 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2325 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2326 allout-number-siblings, in keeping with what obtained due to
2327 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2329 (allout-before-change-handler): Better expose spots affected by
2332 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2334 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2336 2011-01-22 Phil Hagelberg <phil@evri.com>
2338 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2339 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2340 (pcmpl-ssh-config-hosts): New function.
2341 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2342 pcmpl-ssh-known-hosts.
2344 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2346 * calc/calc-undo.el (calc-undo): Autoload it.
2347 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2348 and autoload for `calc-undo'.
2349 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2350 * calc/calc-prog.el:
2351 * calc/calc-graph.el:
2352 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2354 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2356 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2357 keybindings to `calc-undo'.
2359 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2361 Don't mess with *temp*.
2362 * obsolete/spell.el: Move from textmodes/spell.el.
2364 * term.el (term-read-input-ring):
2365 * startup.el (display-startup-echo-area-message):
2366 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2367 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2368 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2371 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2373 * allout.el (allout-institute-keymap): Use fset instead of
2374 reapplying defalias.
2376 (allout-hotspot-key-handler): Check for non-control-modified
2377 bindings for hotspot characters if there are no control-modified
2380 * allout.el: Summary - migrate to defining allout mode using
2381 define-minor-mode instead of defun. Significantly clean-up
2382 internal keymap provisions, refactoring and, in the process,
2383 removing a lot of accumulated cruft.
2385 allout-mode-map is now a keymap by virtue of being a defalias to
2386 allout-mode-map-value, which contains the actual keymap structure.
2388 (allout-mode): Use define-minor-mode rather than defun.
2389 Remove now-unnecessary minor-mode setup activities from the body.
2390 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2391 entry will be '(allout-mode . allout-mode-map) - see
2392 allout-mode-map-value, below. Adjust docstring to track changes.
2393 (allout-minor-mode): Remove this defalias, now that we're using
2395 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2396 keymap is allout-mode-map-value, via defalias.
2397 (allout-mode-map-value): The variable holding the actual mode
2398 keymap structure, by virtue of defalias from allout-mode-map.
2399 (allout-compose-and-institute-keymap): Rename from
2400 allout-bind-keys, and including the binding-composition
2401 functionality of the former produce-allout-mode-map and
2402 allout-setup-mode-map.
2403 (allout-institute-keymap): Take over the "setup" part of the former
2404 allout-setup-mode-map. Reassign allout-mode-map-value value and
2405 update the defalias.
2406 (allout-command-prefix, allout-prefixed-keybindings)
2407 (allout-unprefixed-keybindings):
2408 Use allout-compose-and-institute-keymap to process the bindings.
2409 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2410 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2411 user can customize if they want to use that binding.
2412 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2413 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2414 elided that, previously, instead of the one for \C-h.)
2415 (allout-hotspot-key-handler): Remove attempt to resolve the key
2416 through the literal key-string lookup on allout-keybindings-list.
2417 That probably hasn't worked for a Long Time, and removal of
2418 allout-keybindings-list further simplifies the keybindings situation.
2419 (allout-pre-command-business): Use allout-mode-map-value instead
2421 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2422 the bindings if they want to use a keybinding having a trailing
2423 \C-h. No deprecation needed since this feature was never in a release.
2424 (allout-keybindings-list): Remove. It's not been useful for a
2425 while. (See allout-hotspot-key-handler changes, above.)
2426 (produce-allout-mode-map): Remove. Consolidate into
2427 allout-compose-and-institute-keymap.
2428 (allout-mode-map-adjustments): Remove. No longer necessary with
2429 removal of allout-preempt-trailing-ctrl-h.
2430 (allout-setup-mode-map): Remove. Consolidate into
2431 allout-compose-and-institute-keymap and allout-institute-keymap.
2433 2011-01-20 Glenn Morris <rgm@gnu.org>
2435 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2437 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2439 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2441 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2443 * files.el (find-alternate-file, basic-save-buffer)
2444 (basic-save-buffer-2, revert-buffer, recover-file)
2445 (kill-buffer-ask, abort-if-file-too-large)
2446 (set-visited-file-name, write-file, backup-buffer)
2447 (basic-save-buffer, save-some-buffers):
2448 * dired-aux.el (dired-compress-file): Callers changed.
2450 2011-01-19 Glenn Morris <rgm@gnu.org>
2452 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2453 Also check the property status. (Bug#7861)
2455 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2457 * net/tramp.el (tramp-debug-message): Extend function exclude
2458 list. Use `regexp-opt'.
2460 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2462 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2463 highlighting doesn't spill over subsequent lines.
2465 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2466 keymap expression. Improve docstring.
2468 * electric.el (electric-indent-post-self-insert-function):
2469 Don't auto-indent for indent-to-left-margin, it's too often
2472 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2474 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2475 spaces if the frame was resized, so that the full visible buffer
2476 serves as canvas for strokes.
2478 2011-01-16 Glenn Morris <rgm@gnu.org>
2480 * info-xref.el (info-xref-docstrings): Replace cl function.
2481 Also skip directories.
2483 2011-01-16 Kevin Ryde <user42@zip.com.au>
2485 * info-xref.el: Version 3.
2486 (info-xref-check, info-xref-check-all): Move commentary details
2487 into docstrings for better visibility.
2488 Use compilation-mode for the results buffer.
2489 (info-xref-output, info-xref-output-error, info-xref-with-output)
2490 (info-xref-filename, info-xref-in-progress):
2491 New internals for this.
2492 (info-xref-check-list, info-xref-check-buffer)
2493 (info-xref-check-all-custom): Use those.
2494 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2495 (info-xref-output-heading): Rename from info-xref-filename-heading.
2496 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2497 (info-xref-filename-heading): Move to output managing section.
2498 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2499 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2500 (info-xref-subfile-p): Move to generic section with those two.
2501 (info-xref-check-node): New function split from
2502 info-xref-check-buffer, shared by info-xref-docstrings.
2503 (info-xref-goto-node-p): Move to a checking section with that func.
2504 (info-xref-unavail): New counter.
2505 (info-xref-check-node): Use it.
2506 (info-xref-with-output): Show count of unavailables at end of output.
2507 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2508 symlinks. Exclude .texi files. Exclude Emacs backup files.
2509 (info-xref-check-all-custom): Fix quietening viper-mode and
2510 gnus-registry-install -- use setq not let so as not to unbind
2513 2011-01-16 Juri Linkov <juri@jurta.org>
2515 * isearch.el (isearch-abort): Don't quit if search has
2516 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2518 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2520 * files.el (backup-buffer): Make last-resort backup file in
2521 .emacs.d (Bug#6953).
2523 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2524 make it with permission 700.
2526 2011-01-15 Kenichi Handa <handa@m17n.org>
2528 * mail/rmailmm.el (rmail-mime-insert-header):
2529 Set rmail-mime-coding-system to a cons whose car is the last coding
2530 system used to decode the header.
2531 (rmail-mime-find-header-encoding): New function.
2532 (rmail-mime-insert-decoded-text):
2533 Override rmail-mime-coding-system if it is a cons.
2534 (rmail-show-mime): If only a header part was decoded, find the
2535 coding system while ignoring mm-charset-override-alist.
2537 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2539 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2541 2011-01-15 Kenichi Handa <handa@m17n.org>
2543 * mail/rmailmm.el (rmail-mime-next-item)
2544 (rmail-mime-previous-item): Delete them.
2545 (rmail-mime-shown-mode): Recursively call for children.
2546 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2548 (rmail-mime-raw-mode): Recursively call for children.
2549 (rmail-mode-map): Change mapping of tab and backtab to
2550 forward-button and backward-button respectively.
2551 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2553 (rmail-mime-update-tagline): New function.
2554 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2555 body display is changed.
2556 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2557 (rmail-mime-image): Delete this button type.
2558 (rmail-mime-toggle): New button type.
2559 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2560 body display is changed. Change the save button label to "Save".
2561 Don't process show/hide button here.
2562 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2563 the body display is changed. Unconditionally call
2564 rmail-mime-insert for children.
2565 (rmail-mime-handle): Update `display' vector of the just inserted
2567 (rmail-mime-process): If mail-header-parse-content-type returns
2568 nil, use "text/plain" as the fallback type.
2569 (rmail-mime-insert): For raw-mode, recursively call
2570 rmail-mim-insert for children.
2571 (rmail-mime): Handle the case that the current buffer is not rmail
2572 buffer (e.g. in summary buffer).
2574 2011-01-15 Kenichi Handa <handa@m17n.org>
2576 * mail/rmailmm.el (rmail-mime-next-item)
2577 (rmail-mime-previous-item): Skip the body of a non-multipart
2578 entity if a tagline is shown.
2580 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2583 (tmm-prompt): Simplify.
2584 (tmm-add-prompt): Remove unused var `win'.
2586 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2587 to minor mode which used nil accidentally to mean "turn off".
2589 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2591 * net/tramp-sh.el (tramp-find-inline-compress)
2592 (tramp-get-inline-coding): Quote command after pipe symbol for
2593 local calls under W32. (Bug#6784)
2595 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2597 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2598 only when running under W32.
2600 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2602 * progmodes/grep.el (grep-compute-defaults): Quote the program
2603 file name after the pipe symbol in Grep templates. (Bug#6784)
2604 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2606 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2608 * buff-menu.el (Buffer-menu-buffer-list): New var.
2609 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2610 restricted buffer list is not lost on revert (Bug#7749).
2612 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2614 * net/ldap.el (ldap-search-internal): Discard stderr output.
2616 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2618 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2620 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2622 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2624 2011-01-15 Kenichi Handa <handa@m17n.org>
2626 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2627 part as a plain text.
2628 (rmail-mime-process-multipart): Set the default content-type to
2629 nil for unknown multipart subtypes (bug#7651).
2631 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * hexl.el (hexl-mode-old-*): Remove.
2634 (hexl-mode--old-var-vals): New var to replace them.
2635 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2636 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2637 Use them to set local vars (bug#7846).
2638 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2639 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2640 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2642 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2643 (smerge-resolve--normalize-re): New var.
2644 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2645 (smerge-resolve): Use them.
2646 * newcomment.el (comment-only-p): New function.
2647 (comment-or-uncomment-region): Use it.
2649 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2651 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2652 table, get the value before switching to the output buffer. (Bug#7733)
2654 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2658 2011-01-14 Kim F. Storm <storm@cua.dk>
2660 * emulation/cua-base.el (cua--init-keymaps):
2661 Remap exchange-point-and-mark in cua-global-keymap.
2663 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2665 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2668 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2670 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2672 (easy-menu-create-menu, easy-menu-convert-item-1):
2673 Use :label rather than nil for labels. Use `case'.
2674 Add :enable as alias for :active.
2675 (easy-menu-binding): Obey :label.
2677 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2679 Use run-mode-hooks for major mode hooks (bug#513).
2680 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2681 Rename from reftex-toc-map.
2682 (reftex-toc-mode): Use define-derived-mode.
2683 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2684 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2685 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2686 (reftex-select-label-mode, reftex-select-bib-mode):
2687 Use define-derived-mode.
2688 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2689 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2690 Move init into delcaration.
2691 (reftex-index-mode, reftex-index-phrases-mode):
2692 Use define-derived-mode.
2693 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2694 speedbar-syntax-table. Move init into declaration.
2695 (speedbar-mode-map): Rename from speedbar-key-map.
2696 Move init into declaration.
2697 (speedbar-file-key-map): Move init into declaration.
2698 (speedbar-mode): Use define-derived-mode.
2699 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2700 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2701 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2702 (chart-face-list): Move initialization into declaration.
2703 (chart-mode): Use define-derived-mode.
2704 * calculator.el (calculator-mode-map): Move init into declaration.
2705 (calculator-mode): Use define-derived-mode.
2707 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2708 work for nested comments.
2710 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2711 (prolog-use-prolog-tokenizer-flag): Change default when
2712 syntax-propertize can be used.
2713 (prolog-syntax-propertize-function): New var.
2714 (prolog-mode-variables): Move make-local-variable into `set'.
2715 Don't make comment-column local since we don't set it.
2716 Set comment-add (as it was in previous prolog.el). Use dolist.
2717 Set syntax-propertize-function.
2718 (prolog-mode, prolog-inferior-mode):
2719 Call prolog(-inferior)-menu directly, not through the mode-hook.
2720 (prolog-buffer-module, prolog-indent-level)
2721 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2722 (prolog-comment-limits, prolog-goto-comment-column):
2723 Use line-(end|beginning)-position.
2724 (prolog-build-prolog-command): Tighten up regexp.
2725 (prolog-consult-compile): Move make-local-variable into `set'.
2726 (prolog-consult-compile-filter, prolog-goto-next-paren)
2727 (prolog-help-on-predicate, prolog-clause-info)
2728 (prolog-mark-predicate): Don't let+setq.
2729 (prolog-indent-line): Use indent-line-to.
2730 Only call prolog-goto-comment-column if necessary.
2731 (prolog-indent-level): Use bobp.
2732 (prolog-first-pos-on-line): Remove, not used any more.
2733 (prolog-in-string-or-comment): Use syntax-ppss if available.
2734 (prolog-help-on-predicate): Use read-string.
2735 (prolog-goto-predicate-info): Simplify.
2736 (prolog-read-predicate): Use `default' rather than `initial'.
2737 (prolog-temporary-file): Use make-temp-file to close a security hole.
2738 (prolog-toggle-sicstus-sd): New command.
2739 (prolog-electric-underscore, prolog-variables-to-anonymous):
2740 Use dynamic-scoping as it was meant.
2741 (prolog-menu): Move menu definitions to top-level.
2742 Use a toggle-button for Sicstus's source debugger.
2743 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2745 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2746 Move other menu definition to top-level.
2748 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2750 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2751 name. Keep original document's directory as default-directory
2753 (doc-view-initiate-display): Fall back to normal mode when
2754 doc-view-mode cannot be enabled, also when extracting the document
2755 text into a separate buffer (bug#6446).
2757 * simple.el (shell-command): Don't error out if shell command
2758 buffer contains text with non-nil read-only property when erasing
2761 2011-01-13 Kim F. Storm <storm@cua.dk>
2763 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2764 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2765 items when cycling through the matches.
2767 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2769 * dired-x.el (dired-omit-verbose): New defcustom that allows
2770 disabling the omit messages.
2771 (dired-omit-expunge): Use it.
2773 2011-01-13 Christian Ohler <ohler@gnu.org>
2775 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2777 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2779 * font-lock.el (font-lock-verbose): Default to nil.
2781 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2783 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2784 (compose-mail): New arg RETURN-ACTION.
2785 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2787 * mail/sendmail.el (mail-return-action): New var.
2788 (mail-mode): Make it buffer-local.
2789 (mail-bury): Obey it. Move special Rmail window handling to
2791 (mail, mail-setup): New arg RETURN-ACTION.
2792 (sendmail-user-agent-compose): Move from simple.el.
2794 * mail/rmail.el (rmail-mail-return): New function.
2795 (rmail-start-mail): Pass it to compose-mail.
2797 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2799 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2800 menus. Add menu item for customize-themes.
2802 * cus-theme.el (customize-themes):
2803 * emacs-lisp/package.el (package--list-packages):
2804 Use switch-to-buffer.
2806 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2808 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2810 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * progmodes/prolog.el: Fix up coding convention and such.
2813 (prolog-indent-width): Use the same default as in
2814 previous prolog.el rather than tab-width which depends on which buffer
2815 is current when the file is loaded.
2816 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2818 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2819 (prolog-known-systems): Remove.
2820 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2821 Move initialization into declaration.
2822 (prolog-mode-map): Move initialization into declaration.
2823 Remove system-specific mode-map vars, since they referred to the same
2825 (prolog-mode-variables): Obey the user's preference w.r.t
2826 adaptive-fill-mode. Prefer symbol-value to `eval'.
2827 (prolog-mode-keybindings-edit): Add compatibility bindings.
2828 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2829 (mercury-mode-map): New var.
2830 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2831 (prolog-ensure-process, prolog-process-insert-string)
2832 (prolog-consult-compile): Use with-current-buffer.
2833 (prolog-guess-fill-prefix): Simplify data flow.
2834 (prolog-replace-in-string): New function to use instead of
2836 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2837 (prolog-uncomment-region): Use `uncomment-region' when available.
2838 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2839 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2840 of int-to-char and char-to-int.
2841 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2843 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2845 * progmodes/prolog.el: Replace by a whole new file.
2847 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2850 (declare-function, undefined, insert-for-yank)
2851 (replace-regexp-in-string): Follow checkdoc's recommendations.
2853 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2855 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2856 refreshing the diary buffer.
2858 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2860 * allout.el: Add 2011 to the file copyright.
2861 (allout-encrypt-string): Prevent encryption from adding an extra
2862 newline at the end of the topic body.
2863 (allout-version): Increment to 2.3.
2865 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2867 * net/dbus.el (dbus-unregister-service): Complete doc.
2868 Fix call of dbus-error signal.
2869 (dbus-register-property): Use `dont-register' keyword.
2871 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2873 * net/dbus.el (dbus-unregister-service): Translate returned
2874 integer into a symbol.
2875 (dbus-register-property): Use `dbus-register-service' to do the
2878 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2880 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2881 Suggested by Joakim Verona.
2883 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2885 * wid-edit.el (visibility): Replace :on-image and :off-image
2886 widget properties with :on-glyph and :off-glyph, for consistency
2887 with the `visibility' widget.
2888 (widget-toggle-value-create, widget-visibility-value-create):
2889 Merge into a single function `widget-toggle-value-create'.
2891 * cus-edit.el (custom-variable-value-create, custom-visibility)
2892 (custom-face-edit-value-create, custom-face-value-create):
2893 Replace :on-image and :off-image widget properties with :on-glyph and
2894 :off-glyph, for consistency with the `visibility' widget.
2896 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2898 * net/ldap.el (ldap-search-internal): Don't use eval.
2900 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2902 * subr.el (read-char-choice): Use read-key.
2904 * custom.el (custom-safe-themes): Rename from
2905 custom-safe-theme-files. Add :risky tag.
2906 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2907 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2909 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2911 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2912 from Search and add a label to Undo.
2914 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2915 inappropriate buttons and adding :vert-only tags.
2917 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2918 removal of Help tool-bar button. Remove Undo button for space.
2920 * info.el (info-tool-bar-map): Add :vert-only tags.
2922 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2924 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2925 image backend support. Either of them is fine.
2927 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2929 * subr.el (y-or-n-p): Doc fix.
2931 * custom.el (custom-safe-theme-files): New defcustom.
2932 (custom-theme-load-confirm): New function.
2933 (load-theme): Load theme using `load', confirming with
2934 custom-theme-load-confirm if necessary.
2936 * subr.el (read-char-choice): New function, factored out from
2937 dired-query and hack-local-variables-confirm.
2939 * dired-aux.el (dired-query):
2940 * files.el (hack-local-variables-confirm): Use it.
2942 * dired-aux.el (dired-compress-file):
2943 * files.el (abort-if-file-too-large, find-alternate-file)
2944 (set-visited-file-name, write-file, backup-buffer)
2945 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2946 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2947 Use new format string args for y-or-n-p and yes-or-no-p.
2949 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2951 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2952 [gcc-include]: Tighten file name match, add match for column
2954 [gnu]: Remove unused group.
2956 2011-01-08 Glenn Morris <rgm@gnu.org>
2958 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2960 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2962 2011-01-07 Sam Steingold <sds@gnu.org>
2964 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2965 the `explicit-shell-file-name' because that is the
2966 non-interactive shell.
2968 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2970 * subr.el (y-or-n-p): Accept format string args.
2972 2011-01-07 Glenn Morris <rgm@gnu.org>
2974 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2976 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2978 * allout.el (allout-back-to-current-heading): Ensure return to
2979 the visible containing topic, rather than a collapsed one.
2980 (allout-view-change-hook): Remove hook that was deprecated long ago.
2981 (allout-exposure-change-hook): Remove documentation remarks
2982 concerning removed allout-view-change-hook.
2983 (allout-flag-region): Remove invocation of and documentation
2984 remarks concerning allout-view-change-hook.
2986 2011-01-06 Glenn Morris <rgm@gnu.org>
2988 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2989 (vc-bzr-annotate-extract-revision-at-line):
2990 Handle authors with embedded spaces. (Bug#7792)
2992 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2994 * doc-view.el (doc-view-image-width): New variable.
2995 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2996 backend for PNG images, and do dynamic rescaling instead of
2997 reconverting the whole doc.
2999 2011-01-05 Glenn Morris <rgm@gnu.org>
3001 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3003 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3005 * allout.el: Reconcile with changes in line movement behavior for
3006 long text lines that cross more than a single physical window
3007 line, ie when truncate-lines is nil.
3008 (allout-next-visible-heading): Provide for change in line-move
3009 behavior on long lines when truncate-lines is nil. In that case,
3010 line-move can wind up on the same textual line when it moves to
3011 the next window line, and moving to the bullet position after the
3012 move yields zero advancement. Add logic to detect and compensate
3013 for the lack of progress.
3014 (allout-current-topic-collapsed-p): move-end-of-line respect for
3015 field boundaries is different when operating with body lines
3016 shorter than window width versus ones greater than window width,
3017 which can yield false negatives in this function. Avoid
3018 difference by applying move-end-of-line while field-text-motion is
3021 2011-01-04 Glenn Morris <rgm@gnu.org>
3023 * textmodes/rst.el (rst-compile-toolsets):
3024 Add pdf and s5 to option alist.
3026 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3028 * net/dbus.el (dbus-register-property): Add optional parameter
3029 dont-register-service. Updated docstring accordingly.
3031 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3033 * textmodes/rst.el (rst-compile-pdf-preview)
3034 (rst-compile-slides-preview): Remove extra line.
3036 2011-01-04 Glenn Morris <rgm@gnu.org>
3038 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3039 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3040 default to `prog' without a .py extension.
3041 (rst-compile-pdf-preview, rst-compile-slides-preview):
3042 Use program names from rst-compile-toolsets, rather than hard-coding.
3043 (rst-portable-mark-active-p): Fix presumed typo.
3045 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3047 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3048 libpng versions both before and after 1.4.0. (Bug#7716)
3050 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3052 * time.el (display-time-mode): Mention display-time-interval in
3053 the doc string. (Bug#7713)
3055 2011-01-02 Kenichi Handa <handa@m17n.org>
3057 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3058 condition-case and return an error message string if something
3060 (rmail-show-mime): Adjust for the above change. Insert the
3061 header by rmail-mime-insert-header.
3063 2011-01-02 Kenichi Handa <handa@m17n.org>
3065 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3066 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3067 (rmail-mime-mbox-buffer)
3068 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3069 (rmail-mime-entity): Argument changed. All codes handling an
3070 entity object are changed.
3071 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3073 (rmail-mime-entity-children, rmail-mime-entity-handler)
3074 (rmail-mime-entity-tagline): New functions.
3075 (rmail-mime-message-p): New function.
3076 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3077 (rmail-mime-entity-segment, rmail-mime-next-item)
3078 (rmail-mime-previous-item, rmail-mime-shown-mode)
3079 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3080 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3081 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3083 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3084 (rmail-mime-insert-decoded-text): New function.
3085 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3086 (rmail-mime-insert-image): Argument changed. Caller changed.
3087 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3088 (rmail-mime-set-bulk-data): New function.
3089 (rmail-mime-insert-bulk): Argument changed.
3090 (rmail-mime-multipart-handler): Return t.
3091 (rmail-mime-process-multipart): Argument changed.
3092 Handle "multipart/alternative" here.
3093 (rmail-mime-process): Argument changed.
3094 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3095 (rmail-mime-insert): Argument changed. Handle raw display mode.
3096 (rmail-mime): Argument changed. Handle toggling of raw display
3098 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3099 rmail-mime-view-buffer.
3100 (rmail-insert-mime-forwarded-message): Likewise.
3101 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3103 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3104 non-nil, handle the header in rmail-show-mime-function.
3106 2011-01-02 Leo <sdl.web@gmail.com>
3108 * help-fns.el (describe-variable): Fix previous change.
3110 2011-01-02 Juri Linkov <juri@jurta.org>
3112 * isearch.el (isearch-lazy-highlight-error): New variable.
3113 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3114 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3115 to the current value of `isearch-error' (Bug#7468).
3117 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3119 * help-fns.el (describe-variable): Don't emit trailing whitespace
3122 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3124 * textmodes/rst.el (rst-compile-pdf-preview)
3125 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3127 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3129 * emulation/edt-mapper.el: Override mapping of function keys so
3130 that the later call to read-key-sequence works.
3132 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3134 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3135 Unix EOLs. (Bug#7589)
3137 2011-01-02 Leo <sdl.web@gmail.com>
3139 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3140 if point is not behind eshell-last-output-end (Bug#7585).
3142 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3144 * files.el (file-local-variables-alist):
3145 Make permanent-local (bug#7767).
3147 2011-01-02 Glenn Morris <rgm@gnu.org>
3149 * version.el (emacs-copyright): Set short copyright year to 2011.
3151 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3153 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3154 an existing temp buffer. (Bug#7746)
3156 2011-01-02 Glenn Morris <rgm@gnu.org>
3158 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3159 multiple addresses. (Bug#7760)
3161 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3163 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3164 do-auto-fill if everything points back to allout-auto-fill.
3165 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3166 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3168 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3170 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3173 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3175 * doc-view.el (doc-view-set-doc-type): New function refactored
3177 (doc-view-fallback-mode): New function.
3178 (doc-view-mode): Use it.
3179 (doc-view-mode-maybe): New function that checks if doc-view-mode
3180 can be used and falls back to the next best mode otherwise.
3182 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3183 DVI, OpenDocument, and MS Office files.
3185 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3187 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3189 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3191 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3192 on a copy of auto-mode-alist, because that deletes with side
3195 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3197 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3198 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3199 fallback instead of hard coding fundamental mode.
3201 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3203 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3204 Office) files also for searching.
3206 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3208 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3209 Office) files. Not yet enabled via auto-mode-list.
3210 (doc-view-unoconv-program): New custom variable.
3211 (doc-view-mode-p): Handle new odf document type.
3212 (doc-view-odf->pdf): New conversion function.
3213 (doc-view-convert-current-doc): Call it for odf files.
3214 (doc-view-mode): Recognize newly supported file extensions.
3216 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3218 * net/tramp.el (tramp-default-method-alist)
3219 (tramp-default-user-alist)
3220 (tramp-local-host-regexp, tramp-prefix-domain-format)
3221 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3224 * net/tramp-gvfs.el:
3226 * net/tramp-imap.el:
3228 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3229 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3231 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3233 * saveplace.el (save-place-alist-to-file): Save list sorted and
3234 pretty-printed, so that it is mergeable by line-based text merging,
3235 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3237 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3239 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3240 (allout-mode): Argument "toggle" => "force".
3241 Refine the docstring.
3242 Remove special provisions for reactivation, besides the 'force'
3244 Consolidate layout provisions coce directly into the activation
3245 condition branch, now that we've removed those provisions.
3246 (allout-unload-function): Explicitly activate the mode before
3247 deactivating, if it's initially deactivated.
3248 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3249 warnings for version of function used only where
3250 set-buffer-multibyte is unavailable.
3252 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3254 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3255 are handled by the menu-bar entries. As before, don't use
3256 :visibile to avoid changing the tool-bar.
3258 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3260 * net/secrets.el (secrets-delete-alias): New defun.
3262 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3264 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3265 methods, otherwise ~/.ssh/config would be ignored.
3267 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * emacs-lisp/rx.el: Make it a superset of sregex.
3270 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3271 of args, add `regex' alias.
3272 (rx-info): Add arg to distinguish head and standalone forms.
3273 (rx-check, rx-form): Pass the corresponding arg.
3275 (rx-repeat): Make it work for any number of args.
3276 (rx-syntax): Make it accept syntax chars as is.
3277 * obsolete/sregex.el: Move from emacs-lisp/.
3278 * emacs-lisp/re-builder.el: Remove sregex support.
3279 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3281 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3283 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3284 PRIMARY first, then the clipboard. (Bug#7699)
3286 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3288 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3291 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3293 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3294 .emacs.elc (Bug#7530).
3296 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3297 image spec (Bug#7480).
3299 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3301 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3302 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3305 2010-12-20 Leo <sdl.web@gmail.com>
3307 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3308 always be performed (Bug#7680).
3310 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3312 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3313 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3316 * color.el: Move from gnus/.
3318 * vc/diff.el (diff-better-file-name): Function deleted.
3319 abbreviating file names causes problems with shell-quote-argument.
3320 (diff-no-select): Just use expand-file-name.
3322 * tool-bar.el (tool-bar--image-expression): New function.
3323 (tool-bar-local-item, tool-bar--image-exp): Use it.
3324 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3325 Use :enable instead of :visible to avoid changing the tool-bar
3326 configuration unnecessarily.
3328 * info.el (info-tool-bar-map): Add separators.
3330 2010-12-17 Ken Brown <kbrown@cornell.edu>
3332 * loadup.el: Use version numbers in Cygwin build.
3334 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3336 * ido.el (ido-file-internal): Ask for confirmation before
3337 overwriting an existing file (Bug#1238).
3339 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3341 * tool-bar.el (tool-bar-setup): Add separators.
3343 * menu-bar.el (featurep): Use menu-bar-separator.
3345 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3347 Migrate allout encryption provisions from pgg to epg.
3349 * allout.el (allout-toggle-current-subtree-encryption)
3350 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3351 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3352 for simpler universal argument interpretation.
3353 (allout-toggle-subtree-encryption): Adjust docstring to describe
3354 changed encryption provisions. Change fetch-pass to keymode-cue, for
3355 simpler universal argument interpretation. Remove provisions for
3356 handling key type and identity - they'll all be within
3357 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3358 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3359 for keypair recipients (universal argument > 1) and, in addition,
3360 associating the specified recipients with the outline (universal
3361 argument > 4) using a file local variable setting for
3362 'epa-file-encrypt-to'.
3363 Require epa, for recipients handling.
3364 Change how regexp filtering elements are named.
3365 Describe the problem with caching of incorrect symmetric-decryption
3367 Use the epa-passphrase-callback-function, in case the user is using
3369 Support saving of the selected keypair recipients when invoked with a
3371 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3373 Establish epg-context with armoring and default epg-protocol.
3374 Remove all passphrase cache, verification, and hinting code.
3375 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3376 No longer used, delete.
3377 (allout-mode): Adjust docstring to describe changed encryption
3378 provisions. Describe the problem with caching of incorrect
3379 symmetric-decryption keys.
3380 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3381 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3382 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3383 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3386 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3388 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3389 key selection prompt; make 'silent as default (Bug#7487).
3391 2010-12-16 Leo <sdl.web@gmail.com>
3393 * eshell/eshell.el (eshell-directory-name):
3394 Use locate-user-emacs-file (Bug#7578).
3396 2010-12-15 Glenn Morris <rgm@gnu.org>
3398 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3400 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3401 Scott Evans <gse@antisleep.com>
3403 * rect.el (rectange--default-line-number-format)
3404 (rectangle-number-line-callback): New functions.
3405 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3407 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3409 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3410 Delete unused variables.
3411 (move-to-column-force): Remove function obsolete since 21.2.
3413 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3415 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3416 (tramp-handle-insert-file-contents): Do not set permanent-local
3419 * net/tramp-cache.el (tramp-persistency-file-name):
3420 Use `locate-user-emacs-file' if fboundp.
3422 * net/tramp-sh.el (tramp-methods): Add "ksu".
3423 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3426 2010-12-14 Glenn Morris <rgm@gnu.org>
3428 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3429 (find-tag-marker-ring): Declare.
3430 (js-find-symbol): Require etags.
3432 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3434 (mail-alias-file): Don't autoload. Doc fix.
3435 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3436 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3437 Mark as obsolete, and risky.
3438 (mail-setup): Simplify.
3440 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3441 * mail/sendmail.el (build-mail-aliases): Update autoload.
3443 * dired.el (dired-trivial-filenames, dired-chown-program)
3444 (dired-auto-revert-buffer): Remove autoload cookies.
3445 * mail/sendmail.el (mail-recover-1): Require 'dired.
3447 * dired.el (dired-subdir-switches, dired-chown-program)
3448 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3449 Make into defcustoms.
3450 (dired-chown-program): Simplify initialization.
3452 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3454 2010-12-13 Romain Francoise <romain@orebokech.com>
3456 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3458 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3460 * net/netrc.el (netrc-point-at-eol): Remove the unused
3461 netrc-point-at-old and netrc-bound-and-true-p bindings.
3462 (netrc-parse): Cache the netrc contents.
3464 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3466 * subr.el (posn-col-row): Evaluate header-line-format in the
3467 context of the POSITION window's buffer.
3469 2010-12-13 Glenn Morris <rgm@gnu.org>
3471 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3472 (with-silent-modifications): Doc fixes.
3474 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3476 * net/tramp.el (tramp-action-password, tramp-process-actions):
3477 Revert previous from. Use `save-restriction'.
3479 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3481 * calendar/diary-lib.el (diary-list-sexp-entries):
3482 Handle case of no newline at end of file. (Bug#7536)
3484 2010-12-13 Glenn Morris <rgm@gnu.org>
3486 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3488 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3490 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3491 (tramp-process-actions): Do not widen.
3493 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3494 Protect buffer-modified value. (Bug#7557)
3496 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3498 * log-edit.el (log-edit-changelog-entries):
3499 Regexp quote filename. (Bug#7505)
3501 2010-12-13 Tom Breton <tehom@panix.com>
3503 * cus-edit.el (custom-save-all):
3504 Bind print-length and print-level to nil. (Bug#7581)
3506 2010-12-13 Glenn Morris <rgm@gnu.org>
3508 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3509 Run hooks to update menu contents. (Bug#7586)
3511 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3512 file names, for the sake of MS Windows. (Bug#7588)
3514 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3516 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3517 empty lines without a leading space.
3519 2010-12-13 Leo <sdl.web@gmail.com>
3521 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3522 while mapping over marks (Bug#6810).
3524 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3526 * image-dired.el (image-dired-db-file)
3527 (image-dired-temp-image-file, image-dired-gallery-dir)
3528 (image-dired-temp-rotate-image-file): Set default values relative
3529 to image-dired-dir (Bug#7518).
3531 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3533 * format.el (format-decode-run-method): Pass args FROM and TO, not
3534 point-min and point-max, to shell-command-on-region (Bug#7488).
3536 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3538 * frame.el (blink-cursor-mode): Make default t for ns.
3540 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3542 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3544 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3546 * comint.el (comint-dynamic-list-input-ring)
3547 (comint-dynamic-complete-filename)
3548 (comint-replace-by-expanded-filename)
3549 (comint-dynamic-simple-complete)
3550 (comint-dynamic-list-filename-completions)
3551 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3553 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3556 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3558 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3561 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3563 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3566 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3568 * files.el (file-relative-name): Handle UNC file names on
3569 DOS/Windows. (Bug#4674)
3571 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3573 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3574 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3575 (epg-context-set-passphrase-callback): Mention that the callback
3576 is not called when used with GnuPG 2.x.
3578 2010-12-13 Glenn Morris <rgm@gnu.org>
3580 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3581 Ensure ps-footer-font-size-internal is initialized.
3582 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3584 2010-12-13 Kenichi Handa <handa@m17n.org>
3586 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3587 within condition-case.
3588 (rmail-show-mime): Don't use condition-case.
3589 (rmail-search-mime-message): New function.
3590 (rmail-search-mime-message-function): Set to
3591 rmail-search-mime-message.
3593 2010-12-13 Leo <sdl.web@gmail.com>
3595 * ido.el (ido-common-initialization): New function. (bug#3274)
3597 (ido-completing-read): Call it.
3599 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3601 * bookmark.el (bookmark-name-from-full-record): Rename back to
3602 this original name from `bookmark-name-from-record' reverting part
3603 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3604 As Drew Adams pointed out, there was no reason to cause churn for
3605 third-party callers. (Bug#7609)
3607 2010-12-12 Alan Mackenzie <acm@muc.de>
3609 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3610 template arglist, check that the current language supports this.
3612 2010-12-11 Glenn Morris <rgm@gnu.org>
3614 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3615 state of the file matches. (Bug#7544)
3616 (vc-bzr-register, vc-bzr-checkin)
3617 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3618 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3620 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3622 2010-12-11 Karel Klíč <kklic@redhat.com>
3624 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3626 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3628 Derive from prog-mode, use derived-mode-p, and fix up various
3629 minor style issues in lisp/progmodes.
3631 * progmodes/vhdl-mode.el (vhdl-mode):
3632 * progmodes/verilog-mode.el (verilog-mode):
3633 * progmodes/vera-mode.el (vera-mode):
3634 * progmodes/sql.el (sql-mode):
3635 * progmodes/scheme.el (scheme-mode):
3636 * progmodes/perl-mode.el (perl-mode):
3637 * progmodes/octave-inf.el (inferior-octave-mode):
3638 * progmodes/autoconf.el (autoconf-mode):
3639 * progmodes/m4-mode.el (m4-mode):
3640 * progmodes/inf-lisp.el (inferior-lisp-mode):
3641 * progmodes/idlwave.el (idlwave-mode):
3642 * progmodes/icon.el (icon-mode):
3643 * progmodes/idlw-help.el (idlwave-help-mode):
3644 * progmodes/dcl-mode.el (dcl-mode):
3645 * progmodes/idlw-shell.el (idlwave-shell-mode):
3646 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3647 (ebrowse-member-mode, ebrowse-electric-position-mode):
3648 Use define-derived-mode.
3650 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3651 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3652 (xscheme-debugger-mode-p, xscheme-send-string-1):
3653 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3654 (tcl-load-file, tcl-restart-with-file):
3655 * progmodes/ps-mode.el (ps-run-running):
3656 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3657 * progmodes/js.el (js--get-all-known-symbols):
3658 * progmodes/inf-lisp.el (inferior-lisp-proc):
3659 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3660 (idlwave-template, idlwave-update-buffer-routine-info)
3661 (idlwave-update-current-buffer-info)
3662 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3663 (idlwave-scan-class-info, idlwave-fix-keywords)
3664 (idlwave-list-buffer-load-path-shadows):
3665 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3666 (idlwave-toolbar-remove):
3667 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3668 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3669 (idlwave-shell-menu-def):
3670 * progmodes/idlw-complete-structtag.el
3671 (idlwave-prepare-structure-tag-completion):
3672 * progmodes/gud.el (gud-set-buffer):
3673 * progmodes/f90.el (f90-backslash-not-special):
3674 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3676 * progmodes/xscheme.el (xscheme-start)
3677 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3678 * progmodes/which-func.el (which-function):
3679 * progmodes/vhdl-mode.el (vhdl-set-style):
3680 * progmodes/verilog-mode.el (verilog-set-compile-command)
3681 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3682 (verilog-set-define, verilog-auto-reeval-locals):
3683 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3684 * progmodes/simula.el (simula-mode):
3685 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3686 * progmodes/python.el (python-check, python-mode):
3687 * progmodes/prolog.el (prolog-mode-variables):
3688 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3689 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3690 * progmodes/delphi.el (delphi-mode):
3691 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3692 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3693 (c-font-lock-init): Move make-local-variable to their setq.
3695 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3696 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3698 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3699 (sh-set-shell): Don't set require-final-newline since it's already done
3701 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3702 since we never set it.
3703 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3704 Use read-string and standard prompt.
3705 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3706 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3707 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3708 (meta-common-mode-map): Rename from meta-mode-map.
3709 Remove C-m binding, which is a user preference, not mode specific.
3710 (meta-common-mode): New major mode; replace meta-common-initialization.
3711 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3712 around with font-lock.
3713 * progmodes/etags.el (select-tags-table-mode):
3714 Derive from special-mode.
3715 * progmodes/octave-mod.el (octave-mode):
3716 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3717 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3718 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3719 Let define-derived-mode do its job.
3720 * progmodes/cpp.el (cpp-edit-mode-map):
3721 Move initialization into declaration.
3722 (cpp-edit-mode): Use define-derived-mode.
3723 (cpp-edit-load): Use derived-mode-p.
3724 * progmodes/mixal-mode.el (mixal-mode):
3725 * progmodes/f90.el (f90-mode):
3726 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3727 require-final-newline since prog-mode does it already.
3728 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3729 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3730 * progmodes/antlr-mode.el: Require cc-mode upfront.
3731 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3733 (antlr-directory-dependencies, antlr-show-makefile-rules):
3735 (antlr-language-option): Don't assume point-min==1.
3736 (antlr-mode): Use define-derived-mode.
3737 * progmodes/ada-mode.el: Use derived-mode-p.
3738 (ada-mode): Use define-derived-mode.
3739 Use hack-local-variables-hook.
3741 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3744 (texinfo-mode): Don't disable adaptive-fill-mode.
3745 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3746 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3747 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3748 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3749 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3750 (texinfo-insert-@quotation, texinfo-insert-@samp)
3751 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3752 (texinfo-insert-@uref): Use define-skeleton.
3753 (texinfo-insert-@-with-arg): Delete.
3755 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3757 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3758 nil, do quote archive member names. (Bug#6144)
3760 2010-12-10 Glenn Morris <rgm@gnu.org>
3762 * files.el (diff-no-select): Declare.
3764 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3765 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3767 * comint.el (comint-input-ring-file-name): Doc fix.
3769 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3771 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3773 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3774 Use them instead of `nil' and `>', respectively.
3775 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3777 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3778 and menu-bar-positive-p instead of `nil' and `>', respectively.
3781 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3783 * whitespace.el (whitespace-newline-mode): Code fix.
3785 2010-12-09 Glenn Morris <rgm@gnu.org>
3787 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3788 Rename functions without commas, update callers.
3790 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3792 * whitespace.el (whitespace-cleanup-region):
3793 Clean up spaces before tabs. (Bug#7582)
3795 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3797 * bookmark.el: Adjust parameter names and doc strings to resolve
3798 confusion over whether "bookmark" meant a bookmark name or a
3799 bookmark record. Along the way, shorten one function's name for
3800 similar reasons. (Issue #7548)
3801 (bookmark-name-from-record): New name for
3802 `bookmark-name-from-full-record'. All callers changed.
3803 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3804 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3805 (bookmark-get-annotation, bookmark-set-annotation)
3806 (bookmark-get-filename, bookmark-set-filename)
3807 (bookmark-get-position, bookmark-set-position)
3808 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3809 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3810 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3811 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3812 Rename `bookmark' parameter to `bookmark-name-or-record', to
3813 clearly show its role, and shorten or adjust doc strings accordingly.
3814 (bookmark-set-name): Same, and pass the parameter directly to
3815 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3816 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3817 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3818 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3819 and in some cases shorten doc string accordingly.
3820 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3821 and `new-name', and adjust an internal variable to avoid confusion.
3822 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3823 parameter in doc string.
3825 2010-12-08 Glenn Morris <rgm@gnu.org>
3827 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3828 from gdb's history file. (Bug#7575)
3830 * mail/emacsbug.el (report-emacs-bug):
3831 Try to handle some other mail clients.
3833 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3836 Use string-prefix-p.
3837 (file-name-version-regexp): New var.
3838 (file-name-sans-versions):
3839 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3840 (jka-compr-get-compression-info): Use dolist.
3841 (jka-compr-compression-info-list): Don't bother specifying
3842 version/backup regexps.
3844 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3846 * simple.el (just-one-space): Make argument n default to 1 if
3849 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * electric.el (electric-indent-post-self-insert-function):
3852 Delete trailing newlines even if we don't reindent.
3854 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3856 * minibuffer.el (completion-at-point): Remove the `arg'.
3857 * bindings.el (complete-symbol): Move back from minibuffer.el.
3859 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3861 * simple.el (just-one-space): Delete newlines for negative arg.
3863 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3866 (ansi-color-filter-apply): Simplify.
3867 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3869 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3871 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3873 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3875 * dired.el (dired-use-ls-dired): Set default to a special
3876 "unspecified" value.
3877 (dired-insert-directory): When called the first time, check
3878 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3880 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3882 * replace.el: Add "collect" feature to occur.
3883 (occur-collect-regexp-history): New var.
3884 (occur-read-primary-args): Return a replace string for nlines,
3886 (occur): Extend the meaning of nlines.
3888 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3891 (which-func-update-1): Distinguish symbols from strings.
3892 (which-function): Stay within 80 columns.
3894 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3896 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3898 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3900 (comment-style): Use comment-styles's docs to describe values.
3902 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3904 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3905 and ns-show-prefs (Bug#7535).
3907 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3908 bindings (Bug#7535).
3910 2010-12-03 Glenn Morris <rgm@gnu.org>
3912 * nxml/nxml-mode.el: Require rng-nxml.
3913 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3914 Remove declarations.
3916 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3917 * nxml/rng-nxml.el, nxml/rng-valid.el:
3918 Remove leading `*' from defcustom docs.
3920 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3921 (normal-top-level-add-to-load-path, tty-handle-args):
3922 Convert comments to basic doc-strings.
3924 * net/browse-url.el (browse-url-url-at-point)
3925 (browse-url-default-browser): Remove autoload cookies.
3927 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3928 Remove more undefined cl functions.
3930 * vc/diff.el (diff-sentinel): Make new arguments optional.
3931 * ibuf-ext.el (diff-sentinel): Update declaration.
3933 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3935 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3936 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3937 (epg-context-set-passphrase-callback): Mention that the callback
3938 is not called when used with GnuPG 2.x.
3940 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3942 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3943 (tramp-file-name-port): Check also for `tramp-default-port'.
3944 (tramp-get-connection-name): New defun.
3945 (tramp-get-connection-process): Use it.
3946 (tramp-debug-message): Extend function exclude list.
3947 (tramp-drop-volume-letter): Fix doc string.
3949 * net/tramp-cmds.el: Remove solved todo item.
3952 * net/tramp-gvfs.el:
3954 * net/tramp-imap.el:
3955 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3956 and `tramp-default-user-alist', respectively.
3958 * net/tramp-gw.el (tramp-gw-open-connection):
3959 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3961 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3962 `tramp-file-name-port'.
3964 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3965 and "psftp". Exchange "%k" marker with options.
3966 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3967 Compute size of link target.
3968 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3969 `tramp-current-*' up due to gateway methods. Optimize computing of
3970 copy arguments. Use `tramp-get-connection-name' and
3971 `tramp-get-connection-buffer'. Improve debug messages.
3972 (tramp-compute-multi-hops): Remove port determination.
3973 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3975 * net/trampver.el: Update release number.
3977 2010-12-02 Glenn Morris <rgm@gnu.org>
3979 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3980 Avoid infinite loop over windows. (Bug#7492)
3982 * progmodes/flymake.el (flymake-check-file-limit):
3983 Allow nil to mean "no limit".
3984 (flymake-check-patch-master-file-buffer): Update for above change.
3985 Allow a .tex file-name extension to be optional.
3986 (flymake-master-tex-init): Also match \include statements.
3988 2010-11-30 Sam Steingold <sds@gnu.org>
3990 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3991 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3992 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3993 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3994 define-derived-mode').
3995 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3996 users who want to call `nxml-parent-document-set'.
3998 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4000 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4001 stand-alone lines, since that is handled by log-edit-match-to-eoh
4004 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4006 * dired.el (dired-get-filename): Replace backslashes with slashes
4007 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4008 * locate.el (locate-default-make-command-line): Don't consider
4009 drive letter and root directory part of
4010 `directory-listing-before-filename-regexp'. (Bug#7308)
4011 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4013 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4015 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4016 of :smie-open/close-alist.
4017 (smie-next-sexp): Make it accept a "start token" as argument.
4018 (smie-indent-keyword): Be careful not to misidentify tokens that span
4019 more than one line, as empty lines. Add argument `token'.
4021 2010-11-27 Kenichi Handa <handa@m17n.org>
4023 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4024 multipart subtypes, insert all as usual.
4026 * mail/rmail.el: Require rfc2047.
4028 2010-11-27 Kenichi Handa <handa@m17n.org>
4030 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4031 (rmail-mime-entity-disposition)
4032 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4033 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4034 (rmail-mime-save): Handle the case that the button's `data' is a
4036 (rmail-mime-insert-text): New function.
4037 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4038 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4039 (rmail-mime-insert-bulk): New function mostly copied from the old
4040 rmail-mime-bulk-handler.
4041 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4042 (rmail-mime-process-multipart): New function mostly copied from
4043 the old rmail-mime-multipart-handler.
4044 (rmail-mime-show): Just call rmail-mime-process.
4045 (rmail-mime-process): New function mostly copied from the old
4047 (rmail-mime-insert-multipart, rmail-mime-parse)
4048 (rmail-mime-insert, rmail-show-mime)
4049 (rmail-insert-mime-forwarded-message)
4050 (rmail-insert-mime-resent-message): New functions.
4051 (rmail-insert-mime-forwarded-message-function): Set to
4052 rmail-insert-mime-forwarded-message.
4053 (rmail-insert-mime-resent-message-function): Set to
4054 rmail-insert-mime-resent-message.
4056 * mail/rmailsum.el: Require rfc2047.
4057 (rmail-header-summary): Handle multiline Subject: field.
4058 (rmail-summary-line-decoder): Change the default to
4059 rfc2047-decode-string.
4061 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4062 (rmail-mime-feature): Change the default to `rmailmm'.
4063 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4064 (rmail-display-labels): Likewise.
4065 (rmail-show-message-1): Check rmail-enable-mime, and use
4066 rmail-show-mime-function for a MIME message. Decode the headers
4067 according to RFC2047.
4069 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4071 * progmodes/which-func.el (which-func-imenu-joiner-function):
4072 Return a string, as expected.
4073 (which-function-mode): Make sure we stop any previous timer before
4076 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4078 * net/tramp.el (tramp-default-method-alist)
4079 (tramp-default-user-alist, tramp-default-proxies-alist):
4080 Adapt custom options type. (Bug#7445)
4082 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4084 * progmodes/python.el: Add Ipython support (Bug#5390).
4085 (python-shell-prompt-alist)
4086 (python-shell-continuation-prompt-alist): New options.
4087 (python--set-prompt-regexp): New function.
4088 (inferior-python-mode, run-python, python-shell):
4089 Require ansi-color. Use python--set-prompt-regexp to set the comint
4090 prompt based on the Python interpreter.
4091 (python--prompt-regexp): New var.
4092 (python-check-comint-prompt)
4093 (python-comint-output-filter-function): Use it.
4094 (run-python): Use a pipe (Bug#5694).
4096 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4098 * progmodes/python.el (run-python): Doc fix.
4099 (python-keep-current-directory-in-path): New var (Bug#7454).
4101 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4103 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4104 Prompt user before actually printing.
4106 2010-11-27 Glenn Morris <rgm@gnu.org>
4108 * startup.el (package-enable-at-startup, package-initialize):
4109 Remove unnecessary declarations.
4111 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4113 * international/characters.el (glyphless-char-display-control):
4114 Exclude newline and TAB from the c0-control group.
4116 2010-11-27 Glenn Morris <rgm@gnu.org>
4118 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4119 (expand-mail-aliases): Remove unnecessary autoload.
4121 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4123 * shell.el (shell-dir-cookie-re): Move definition before use.
4125 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4126 Replace undefined CL functions.
4128 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4130 * simple.el (prog-mode): Set bidi-paragraph-direction to
4133 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4135 2010-11-26 Glenn Morris <rgm@gnu.org>
4137 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4138 diary-outlook-formats can be sensitive to calendar-date-style.
4139 (diary-outlook-formats): Simplify the default setting.
4140 (diary-from-outlook-internal): Pass subject and body as arguments.
4141 Use dolist rather than dotimes. Don't save the diary buffer.
4142 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4143 Pass subject and body as explicit arguments to the -internal function.
4145 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4148 parsing them. This makes mailto:...?subject=foo\nbar work.
4150 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * vc/diff.el (diff): Fix last change.
4154 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4157 (pcase--dontcare-upats): New var.
4158 (pcase-let, pcase-let*): Generate better code.
4159 Accept the same bodies as `let'.
4160 (pcase-dolist): New macro.
4161 (pcase--trivial-upat-p): New helper function.
4162 (pcase--expand): Strip leading "(let nil" if any.
4164 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4166 * mail/mailclient.el (browse-url): Require.
4167 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4168 use the external browser function to send the mail (bug#7469).
4170 * net/browse-url.el (browse-url-browser-function): Revert the
4171 default back to the previous value, since the new value broke
4173 (browse-url-mailto-function): New variable for mailto: URLs.
4174 (browse-url): Use the new variable for mailto: URLs.
4176 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4178 * eshell/esh-cmd.el (eshell-parse-command):
4179 * eshell/esh-arg.el (eshell-parse-arguments):
4180 * eshell/em-script.el (eshell-source-file):
4181 Use with-silent-modifications.
4183 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4185 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4186 for a merge location.
4188 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4189 (vc-bzr-merge-branch): Always prompt.
4190 (vc-bzr-async-command): Use the full branch filename.
4192 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4194 * shell.el (shell): Use current-buffer by default if it's already
4195 a shell mode buffer and its process is dead.
4196 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4198 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4200 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4201 Mention that the keywords should be comma separated.
4203 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4205 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4206 Accept optional prefix arg meaning to prompt for a command.
4207 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4208 prefix arg meaning to prompt for a command.
4209 (vc-pull): Alias for vc-update.
4211 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4212 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4213 (vc-bzr-merge-branch): New functions, implementing merge-branch
4214 and pull operations.
4216 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4218 * Makefile.in: Fix up last merge.
4220 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4221 (diff-sentinel): Get them as arguments instead.
4222 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4223 (diff-file-local-copy, diff-better-file-name): New funs.
4224 (diff-no-select): Rename from diff-into-buffer.
4225 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4226 Prefer closures to buffer-local variables.
4227 (diff): Adjust accordingly.
4228 (diff-buffer-with-file): Move from files.el.
4229 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4230 (diff-buffer-internal): Remove.
4231 (diff-buffer-buffer): Remove.
4232 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4233 the buffer name used, and so as not to mess up windows and frames.
4235 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4237 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4238 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4239 (diff-buffer-with-file): Use it.
4240 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4243 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4245 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4246 \ref's or \pageref's value as default instead of initial input.
4248 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4250 * files.el (backup-by-copying-when-mismatch): The default value is
4253 * startup.el (normal-top-level):
4254 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4255 `backup-by-copying-when-mismatch'.
4257 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4259 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4261 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4263 * progmodes/python.el (python-font-lock-keywords):
4264 Highlight top-level augmented assignments (Bug#6445).
4266 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4268 * term/ns-win.el (ns-right-control-modifier)
4269 (ns-right-command-modifier): Defvar them.
4271 * cus-start.el (all): Add ns-right-control-modifier and
4272 ns-right-command-modifier (Bug#7458).
4274 2010-11-20 Glenn Morris <rgm@gnu.org>
4276 * emacs-lisp/authors.el (authors-ignored-files)
4277 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4279 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4281 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4282 (report-emacs-bug-parse-query-results)
4283 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4284 keywords used for querying the bug database to show them in the
4285 existing bugs buffer.
4287 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4289 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4291 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4293 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4295 * international/characters.el (glyphless-char-display-control):
4296 Make it a defcustom, with update-glyphless-char-display as its
4298 (top level): Don't call update-glyphless-char-display.
4300 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4302 Sync with Tramp 2.2.0.
4304 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4305 `file-remote-p' (due to compatibility).
4307 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4308 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4310 * net/trampver.el: Update release number.
4312 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4314 * faces.el (glyphless-char): Define value for `pc'.
4316 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4318 Implemented a bug querying mechanism.
4319 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4320 (report-emacs-bug-create-existing-bugs-buffer)
4321 (report-emacs-bug-parse-query-results)
4322 (report-emacs-bug-query-existing-bugs): New functions.
4324 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4326 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4327 a \ref{} or \pageref{} macro, then use its value as initial input.
4329 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4331 * calc/calc-units.el (math-build-units-table-buffer):
4332 calc/README: Mention that the TeX specific units won't use the
4333 `tex' prefix in TeX mode.
4334 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4335 prefix for units in TeX mode.
4337 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4339 * simple.el (kill-new, kill-append, kill-region):
4340 * comint.el (comint-kill-region): Make the yank-handler argument
4343 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4345 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4346 that are both openers (resp. closers) and something else.
4347 (smie-grammar): Loosen definition of valid values.
4348 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4349 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4350 (smie-indent-after-keyword): Adjust users.
4351 (smie-indent-keyword): Don't indent empty lines.
4353 * vc-hg.el (vc-hg-program): New var.
4354 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4355 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4357 2010-11-18 Glenn Morris <rgm@gnu.org>
4359 * emacs-lisp/autoload.el (autoload-find-destination): The function
4360 coding-system-eol-type may return non-numeric values. (Bug#7414)
4362 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4364 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4366 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4368 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4370 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4372 * textmodes/picture.el (picture-mouse-set-point): Don't use
4373 posn-col-row; explicitly compute the motion based on the posn at
4374 the window-start (Bug#7390).
4376 2010-11-18 Glenn Morris <rgm@gnu.org>
4378 * novice.el (disabled-command-function):
4379 Fix 2009-11-15 change. (Bug#7384)
4381 2010-11-18 Glenn Morris <rgm@gnu.org>
4383 * calendar/calendar.el (diary-iso-date-forms): Make elements
4384 mutually exclusive. (Bug#7377)
4386 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4388 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4389 when filling the remaining "unconstrained" values.
4391 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4393 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4396 * files.el (safe-local-variable-p): Gracefully handle errors.
4398 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4399 Use smie-indent-virtual when indenting relative to an opener.
4400 (smie-rule-separator): Use smie-rule-parent.
4401 (smie-indent-keyword): Consult rules, even for openers at bol.
4402 (smie-indent-comment-close): Try to align closer's content.
4404 2010-11-18 Glenn Morris <rgm@gnu.org>
4406 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4408 2010-11-18 Glenn Morris <rgm@gnu.org>
4410 * printing.el (pr-menu-bind): Doc fix.
4412 * speedbar.el (speedbar-toggle-images): Doc fix.
4414 * progmodes/python.el (python-shell): Doc fix.
4416 * wid-edit.el (widget-field-use-before-change)
4417 (widget-use-overlay-change): Doc fixes.
4419 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4421 Minor cleanup to improve style.
4422 * textmodes/rst.el (rst-update-section): Use point-marker.
4423 (rst-get-decoration): Eliminate unneeded assignment.
4424 (rst-promote-region, rst-straighten-decorations)
4425 (rst-section-tree, rst-adjust): Use point-marker.
4426 (rst-toc-mode-mouse-goto): Avoid setq.
4427 (rst-shift-region-guts, rst-shift-region-left)
4428 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4429 (rst-convert-bullets-to-enumeration): Use copy-marker.
4431 * minibuffer.el (completion-fail-discreetly): New var.
4432 (completion--do-completion): Use it.
4434 * electric.el (electric-pair-pairs): New var.
4435 (electric-pair-post-self-insert-function): Use it.
4436 (electric-layout-post-self-insert-function): Don't insert a before
4437 newline unless it's actually needed.
4439 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * progmodes/python.el (run-python): Explain why we remove the current
4442 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4444 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4446 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4449 (octave-mode-map): Don't bind ;, SPC, and LF.
4450 (octave-auto-indent, octave-auto-newline): Remove.
4451 (electric-layout-rules): Declare.
4452 (octave-mode): Set electric-layout-rules.
4453 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4454 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4455 (octave-electric-space): Remove.
4457 * electric.el (electric-layout-mode): New minor mode.
4458 (electric--after-char-pos): New function.
4459 (electric-indent-post-self-insert-function): Use it.
4460 (electric-layout-rules): New var.
4461 (electric-layout-post-self-insert-function): New function.
4462 (electric-indent-mode): Make them interact better.
4464 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4466 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4467 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4468 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4470 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4472 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4473 Make sure to check inside the word (Bug#6761).
4475 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4477 * startup.el (command-line): If the cursorColor resource is set,
4478 change the cursor face-spec (Bug#7392).
4480 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4482 The main features of the following allout.el changes are:
4483 - implement user customization for the allout key bindings
4484 - add a customization control by which the user can inhibit use of
4485 a trailing Ctrl-H, so by default it's reserved for use with
4486 describe-prefix-bindings
4487 - adapt to new version of called-interactively-p, while
4488 maintaining backwards compatibility with old version
4489 - fix hotspot navigation so i works properly with meta-modified keys.
4491 * allout.el (allout-keybindings, allout-bind-keys)
4492 (allout-keybindings-binding, allout-prefixed-keybindings)
4493 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4494 (allout-keybindings-list, allout-mode-map-adjustments)
4495 (allout-setup-mode-map): Establish allout-mode keymaps as user
4496 customizable settings, and also establish a customizable setting which
4497 regulates whether or not a trailing control-h is reserved for use with
4498 describe-prefix-bindings - and inhibit it by default, so that control-h
4499 *is* reserved for describe-prefix-bindings unless the user changes it.
4501 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4502 and accurately between modified and unmodified events, and handle
4503 modified events more comprehensively.
4505 * allout.el (allout-substring-no-properties):
4506 Alias to use or provide version of `substring-no-properties'.
4507 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4509 * allout.el (allout-next-single-char-property-change):
4510 Alias to use or provide version of `next-single-char-property-change'.
4511 (allout-annotate-hidden, allout-hide-by-annotation):
4512 Use `allout-next-single-char-property-change'.
4514 * allout.el (allout-select-safe-coding-system):
4515 Alias to use or provide version of `select-safe-coding-system'.
4516 (allout-toggle-subtree-encryption):
4517 Use `allout-select-safe-coding-system'.
4519 * allout.el (allout-set-buffer-multibyte):
4520 Alias to use or provide version of `set-buffer-multibyte'.
4521 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4523 * allout.el (allout-called-interactively-p): Macro for using the
4524 different versions of called-interactively-p identically, depending on
4525 the subroutine's argument signature.
4526 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4527 Use `(interactive "p")' instead of `(called-interactively-p)'.
4529 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4530 (allout-previous-visible-heading, allout-forward-current-level)
4531 (allout-backward-current-level, allout-show-children):
4532 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4534 * allout.el (allout-before-change-handler):
4535 Exempt edits to the (overlaid) character after the allout outline
4536 bullet from edit confirmation prompt.
4538 * allout.el (allout-add-resumptions):
4539 Ensure that it respects correct buffer for keybindings.
4541 * allout.el (allout-beginning-of-line):
4542 Use `allout-previous-single-char-property-change' alias for the sake of
4543 diverse compatibility.
4545 * allout.el (allout-end-of-line):
4546 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4548 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4550 * frame.el (frame-notice-user-settings): Don't clobber other
4551 user-set parameters when calling face-set-after-frame-default in
4552 response to background-color parameter (Bug#7373).
4554 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4556 * international/characters.el (glyphless-char-display-control):
4557 Rename from glyphless-char-control; all users changed. Doc fix.
4558 Signal an error if display method is not one of the recognized
4561 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4563 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4564 (tramp-compat-line-end-position): Remove them.
4566 * net/tramp.el (tramp-parse-rhosts-group)
4567 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4568 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4569 (tramp-parse-netrc-group, tramp-parse-putty-group)
4570 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4571 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4572 (tramp-sh-handle-file-selinux-context)
4573 (tramp-sh-handle-file-name-all-completions)
4574 (tramp-sh-handle-insert-directory)
4575 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4576 (tramp-wait-for-output, tramp-send-command-and-read)
4577 * net/tramp-smb.el (tramp-smb-read-file-entry)
4578 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4580 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4582 (tramp-remote-coding-commands): Add an alternative using "base64
4583 -d -i". This is needed for older base64 versions from GNU
4584 coreutils. Reported by Klaus Reichl
4585 <Klaus.Reichl@thalesgroup.com>.
4587 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4589 * simple.el (count-words-region): New function.
4591 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4593 * shell.el (shell-dir-cookie-re): New custom variable.
4594 (shell-dir-cookie-watcher): New function.
4596 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4597 and compilation-mode (bug#7350).
4599 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4600 highlight when one of them is empty.
4602 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4604 (skeleton-newline): New function.
4605 (skeleton-internal-1): Use it.
4607 * simple.el (open-line): `newline' may strip trailing space.
4609 2010-11-12 Kevin Ryde <user42@zip.com.au>
4611 * international/mule-cmds.el (princ-list): Use mapc.
4613 2010-11-12 Glenn Morris <rgm@gnu.org>
4615 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4616 Use it to replace all instances of "*Compile-Log*".
4618 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4620 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4623 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4625 * progmodes/modula2.el: Use SMIE and skeleton.
4626 (m2-mode-syntax-table): (*..*) can be nested.
4627 Add //...\n. Fix paren syntax.
4628 (m2-mode-map): Remove LF and TAB bindings.
4629 (m2-indent): Add safety property.
4630 (m2-smie-grammar): New var.
4631 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4632 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4633 (m2-mode): Use define-derived-mode.
4634 (m2-newline, m2-tab): Remove.
4635 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4636 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4637 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4638 (m2-import): Use define-skeleton.
4640 2010-11-11 Glenn Morris <rgm@gnu.org>
4642 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4644 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4645 (ls-lisp-verbosity): Add custom :set-after property.
4646 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4647 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4648 (ls-lisp-insert-directory): Update caller.
4649 (ls-lisp-set-options): New function.
4650 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4653 * play/landmark.el (lm-prompt-for-move):
4654 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4656 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4658 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4659 (idlwave-study-twins): Prefix dynamic local variable `name'.
4660 (idlwave-routine-twin-compare): Update for above change.
4662 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4663 Prefix dynamic local variables `name', `kwd', and `link'.
4664 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4665 * progmodes/idlw-complete-structtag.el
4666 (idlwave-complete-structure-tag-help):
4667 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4668 (idlwave-complete-sysvar-tag-help)
4669 (idlwave-complete-class-structure-tag-help):
4670 Update for above name changes.
4672 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4674 * net/browse-url.el (browse-url-browser-function): Change the
4675 default to use `browse-url-mail' on mailto: URLs.
4677 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4679 * emacs-lisp/package.el (package-read-all-archive-contents):
4680 Reset package-archive-contents to nil before re-reading.
4682 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4684 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4685 already found as misspellings by (flyspell-large-region), just
4686 do highlighting (bug#7322).
4688 2010-11-10 Glenn Morris <rgm@gnu.org>
4690 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4692 * emulation/edt.el (edt-with-position): New macro.
4693 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4694 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4695 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4697 * emulation/tpu-extras.el (tpu-with-position): New macro.
4698 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4700 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4702 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4703 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4704 (texinfo-master-menu, texinfo-insert-node-lines)
4705 (texinfo-multiple-files-update):
4706 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4707 Use line-beginning-position.
4709 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4710 No recent Emacs supports system-type `emx'.
4712 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4713 (ada-command-separator, ada-default-prj-properties)
4714 (ada-find-any-references): Update for above name change.
4716 * dirtrack.el (dirtrack-directory-function)
4717 (dirtrack-canonicalize-function):
4718 * filecache.el (file-cache-completion-ignore-case)
4719 (file-cache-case-fold-search, file-cache-ignore-case):
4720 * term.el (serial-port-is-file-p): Cosmetic change.
4722 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4723 Remove non-existent `windows-95' system-type.
4724 * dired.el (dired-chown-program): Remove non-existent `linux'
4727 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4728 (ping-program-options): Remove non-existent `linux' system-type.
4730 * startup.el (package-initialize): Update declaration.
4732 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4733 (ls-lisp-handle-switches): Use time-less-p.
4734 (ls-lisp-format-time): Use float-time.
4736 * textmodes/remember.el (remember-time-to-seconds): Remove.
4737 (remember-store-in-mailbox): Use float-time.
4739 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4741 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4742 never a real function.
4743 (with-no-warnings): Remove compat stub, now unused.
4744 (time-less-p): Doc fix.
4745 (time-to-number-of-days): Simplify.
4747 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4749 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4750 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4751 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4752 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4753 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4755 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4756 (eshell-shuffle-files, eshell-shorthand-tar-command)
4757 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4758 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4759 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4760 Prefix dynamic local variable `matches'.
4762 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4763 Prefix dynamic local variable `skeleton'.
4765 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4767 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4768 in mail buffer; make yank-action always a command that yanks original
4771 2010-11-09 Glenn Morris <rgm@gnu.org>
4773 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4775 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4778 completion field (bug#7211).
4780 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4781 Fix handling of backslash escapes.
4782 (python-quote-syntax): Adjust accordingly.
4784 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4786 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4787 (vc-mtn-workfile-branch): Adjust to new output format.
4789 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * international/mule-cmds.el (princ-list): Mark as obsolete.
4793 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/smie.el: New package.
4797 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4799 * files.el (backup-by-copying-when-mismatch):
4800 Set `permanent-local' property.
4802 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4803 `permanent-local' property for `backup-by-copying-when-mismatch'.
4805 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4807 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4809 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4811 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4812 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4813 AUTOINOUT for SV style multidimensional arrays, bug294.
4814 Reported by Eric Mastromarchi.
4815 (verilog-preprocess): Use with-current-buffer and
4816 font-lock-fontify-buffer to cleanup style issues.
4818 2010-11-09 Glenn Morris <rgm@gnu.org>
4820 * locate.el (locate, locate-mode): Doc fixes.
4822 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4824 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4825 user for confirmation.
4826 (server-force-stop): Use it.
4827 (server-start): Use server-force-stop for kill-emacs-hook, to
4828 avoid user interaction while killing Emacs.
4830 2010-11-09 Glenn Morris <rgm@gnu.org>
4832 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4833 (meta-indent-line): Simplify.
4835 * vc/emerge.el (emerge-line-number-in-buf):
4836 * textmodes/ispell.el (ispell-region):
4837 * textmodes/fill.el (current-fill-column):
4838 * progmodes/xscheme.el (xscheme-send-current-line):
4839 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4840 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4841 * progmodes/sh-script.el (sh-handle-prev-do):
4842 * progmodes/meta-mode.el (meta-indent-line):
4843 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4845 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4846 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4847 * progmodes/fortran.el (fortran-looking-at-if-then):
4848 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4849 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4850 (cperl-find-pods-heres):
4851 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4852 * net/quickurl.el (quickurl-list-insert):
4853 * net/ldap.el (ldap-search-internal):
4854 * net/eudc.el (eudc-expand-inline):
4855 * mail/sendmail.el (sendmail-send-it):
4856 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4857 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4858 (viper-brac-function):
4859 * calc/calc-yank.el (calc-do-grab-region):
4860 * calc/calc-keypd.el (calc-keypad-press):
4861 * term.el (term-move-columns, term-insert-spaces):
4862 * speedbar.el (speedbar-highlight-one-tag-line):
4863 * simple.el (current-word):
4864 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4865 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4867 * hippie-exp.el (he-line-beg):
4868 * epa.el (epa--marked-keys):
4869 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4870 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4871 (dired-relist-entry):
4872 * buff-menu.el (Buffer-menu-buffer):
4873 * array.el (current-line):
4874 * allout.el (allout-resolve-xref)
4875 (allout-latex-verbatim-quote-curr-line):
4876 Replace yet more uses of end-of-line etc with line-end-position, etc.
4878 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4880 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4881 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4882 (checkdoc-syntax-table): Initialize in the declaration.
4883 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4884 the mode on unconditionally.
4886 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4887 (extent-end-position, extent-start-position): Remove setf method for
4888 non-existing functions (bug#7319).
4890 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4892 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4893 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4894 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4895 (smie-prec2->grammar): Rename from smie-prec2-levels.
4896 (smie-grammar): Rename from smie-op-levels.
4897 (smie-indent--hanging-p): Rename from smie-hanging-p.
4898 (smie-rule-hanging-p): New alias.
4899 (smie-indent--bolp): Rename from smie-bolp.
4900 (smie-indent--hanging-p): New alias.
4901 (smie--token): New dynamically bound variable.
4902 (smie-indent--parent): New function.
4903 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4904 (smie-rule-next-p): Rename from smie-next-p.
4905 (smie-rule-prev-p): Rename from smie-prev-p.
4906 (smie-rule-sibling-p, smie-rule-parent)
4907 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4908 (smie-rule-separator-outdent): New var.
4909 (smie-indent--rule): Merge with smie-indent--column.
4910 (smie-indent-forward-token, smie-indent-backward-token):
4911 Also recognize close parens.
4912 (smie-indent-keyword): Don't use smie-indent--column any more.
4913 (smie-indent-after-keyword): Ignore closers by default.
4914 (smie-indent-line): Use with-demoted-errors.
4915 * progmodes/octave-mod.el (octave-smie-grammar):
4916 Rename from octave-smie-op-levels.
4917 (octave-smie-rules): Adjust to new behavior.
4918 * progmodes/prolog.el (prolog-smie-grammar):
4919 Rename from prolog-smie-op-levels.
4921 2010-11-07 Glenn Morris <rgm@gnu.org>
4923 * eshell/esh-util.el (subst-char-in-string)
4924 (directory-files-and-attributes): These compatibility definitions are
4925 not needed on any version of Emacs since at least 21.4.
4927 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4928 (verilog-get-end-of-line): Remove.
4929 (verilog-within-string, verilog-re-search-forward-substr)
4930 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4931 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4932 Use point-at-bol, point-at-eol.
4933 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4935 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4936 (electric-pascal-terminate-line, pascal-set-auto-comments)
4937 (pascal-indent-paramlist, pascal-indent-declaration)
4938 (pascal-get-lineup-indent, pascal-func-completion)
4939 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4940 Use point-at-bol, point-at-eol.
4941 * progmodes/flymake.el (flymake-line-beginning-position)
4942 (flymake-line-end-position): Remove.
4943 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4944 * eshell/esh-util.el (line-end-position, line-beginning-position):
4945 Remove compat definitions.
4947 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4949 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4950 Use line-end-position.
4952 * emacs-lisp/chart.el (chart-zap-chars):
4953 * play/decipher.el (decipher-set-map):
4954 * progmodes/ada-mode.el (ada-get-current-indent)
4955 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4956 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4957 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4958 (ada-get-all-references):
4959 * progmodes/cperl-mode.el (cperl-electric-paren)
4960 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4961 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4962 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4963 (cperl-word-at-point-hard):
4964 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4965 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4966 (idlwave-shell-display-line):
4967 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4968 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4969 * progmodes/js.el (js--re-search-forward-inner)
4970 (js--re-search-backward-inner):
4971 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4972 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4973 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4974 * textmodes/flyspell.el (flyspell-process-localwords):
4975 * textmodes/ispell.el (ispell-buffer-local-parsing)
4976 (ispell-buffer-local-dict, ispell-buffer-local-words):
4977 Use point-at-bol and point-at-eol.
4979 * speedbar.el (speedbar-generic-item-info)
4980 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4981 (speedbar-add-indicator, speedbar-check-vc-this-line)
4982 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4983 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4984 Replace more uses of end-of-line etc with line-end-position.
4986 2010-11-06 Glenn Morris <rgm@gnu.org>
4988 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4989 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4990 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4991 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4992 (texinfo-multiple-files-update):
4993 * textmodes/table.el (table--probe-cell-left-up)
4994 (table--probe-cell-right-bottom):
4995 * textmodes/picture.el (picture-tab-search):
4996 * textmodes/page-ext.el (pages-copy-header-and-position)
4997 (pages-directory-for-addresses):
4998 * progmodes/vera-mode.el (vera-get-offset):
4999 * progmodes/simula.el (simula-calculate-indent):
5000 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5001 * progmodes/prolog.el (end-of-prolog-clause):
5002 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5003 * progmodes/icon.el (indent-icon-exp):
5004 * progmodes/etags.el (tag-re-match-p):
5005 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5006 * progmodes/ebnf2ps.el (ebnf-begin-file):
5007 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5008 (dcl-save-local-variable):
5009 * play/life.el (life-setup):
5010 * play/gametree.el (gametree-looking-at-ply):
5011 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5012 * mail/sendmail.el (mail-mode-auto-fill):
5013 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5014 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5015 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5016 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5017 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5018 * type-break.el (type-break-file-keystroke-count):
5019 * term.el (term-replace-by-expanded-history-before-point)
5020 (term-skip-prompt, term-extract-string):
5021 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5022 (speedbar-contract-line, speedbar-toggle-line-expansion)
5023 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5024 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5025 * sort.el (sort-skip-fields):
5026 * skeleton.el (skeleton-internal-list):
5027 * simple.el (line-move-finish, line-move-to-column):
5028 * shell.el (shell-forward-command):
5029 * misc.el (copy-from-above-command):
5030 * makesum.el (double-column):
5031 * ebuff-menu.el (electric-buffer-update-highlight):
5032 * dired.el (dired-move-to-end-of-filename):
5033 * dframe.el (dframe-popup-kludge):
5034 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5035 * arc-mode.el (archive-get-lineno):
5036 Use line-end-position and line-beginning-position.
5038 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5039 (idlwave-study-twins): Prefix dynamic local `class'.
5040 (idlwave-routine-twin-compare): Update for above name change.
5042 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5043 Use boundp tests to silence compiler. Update for changed name of
5044 bytecomp-filename variable.
5046 * emulation/viper-cmd.el (viper-read-string-with-history):
5047 Prefix dynamic local `initial'.
5048 (viper-minibuffer-standard-hook): Update for above name change.
5050 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5051 (elint-init-form): Update for above name change.
5053 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5054 local variables `cbeg' and `cend' a prefix.
5055 (mail-extr-voodoo): Update for above name change.
5057 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5058 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5059 (reftex-toc-promote-action): Doc fix.
5061 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5062 `prompt', `data' a prefix.
5063 (reftex-select-post-command-hook, reftex-select-callback)
5064 (reftex-select-mouse-accept, reftex-select-read-cite):
5065 Update for above name changes.
5067 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5068 `refstyle' to reftex-refstyle.
5069 (reftex-offer-label-menu): Update for above name change.
5070 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5071 `refstyle' name change.
5073 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5074 with with-current-buffer.
5075 (diff, template): Give dynamic local variables a prefix.
5076 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5077 (emerge-line-number-in-buf): Update for above name change.
5078 (emerge-combine-versions-internal): Rename local `template' to
5079 emerge-combine-template.
5080 (emerge-combine-versions-edit): Update for above name change.
5082 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5084 * textmodes/reftex-cite.el
5085 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5086 entries with whitespace after \bibitem.
5087 (reftex-create-bibtex-file): Match entries containing numbers and
5088 symbol constituents. Make sure that entries with whitespace at
5089 various places are found.
5091 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5093 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5095 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5097 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5099 2010-11-05 Glenn Morris <rgm@gnu.org>
5101 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5102 (woman2-roff-buffer): Give local variable `request' a prefix.
5103 (woman0-macro): Rename argument `request' in the same way.
5104 (woman-request): New name for `request' dynamic variable.
5105 (woman-unquote, woman-forward-arg): Update for above name change.
5106 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5107 (woman1-unquote): New name for `unquote' dynamic variable.
5108 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5109 (woman-translations): Rename from `translations'. No longer global.
5110 (woman2-tr, woman-translate): Update for above name change.
5111 (woman-translate): Check for bound variable.
5112 (woman2-roff-buffer): Give local variable `translations' a prefix.
5114 * play/doctor.el: Give all local variables a prefix. Update callers.
5115 (doc$, doctor-put-meaning): Use backquote.
5117 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5118 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5120 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5121 variables bytes, ptr, op a prefix.
5122 (disassemble-offset): Update for above change.
5124 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5126 * emacs-lisp/package.el (package-unpack): Remove no-op.
5127 (package--builtins, package--dir): Doc fix.
5128 (package-activate-1, package-activate, package-install)
5129 (package-compute-transaction): Fix error message.
5130 (package-delete): Use delete-directory. Omit system packages.
5131 (package-initialize): Set package-alist to nil first.
5132 (package-menu-mark-delete, package-menu-mark-install): Don't add
5133 symbols that are inconsistent with the package state.
5134 (package-menu-execute): Perform deletions and installations as
5135 single batch operations.
5137 2010-11-03 Glenn Morris <rgm@gnu.org>
5139 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5140 (props): Remove unnecessary declaration.
5142 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5143 set-process-query-on-exit-flag.
5145 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5146 (reftex-toc-do-promote): Remove unused local `mpos'.
5147 (reftex-toc-restore-region): Make `mpos' local to this function.
5149 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5151 * play/landmark.el (lm-losing-threshold): Correct spelling.
5152 (lm-human-plays): Use new name.
5154 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5155 (gomoku-human-plays): Use new name.
5157 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5158 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5159 (gomoku-score-trans-table, gomoku-winning-threshold)
5160 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5162 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5164 * emacs-lisp/package.el: Don't put built-in packages in
5165 package-alist, to avoid loading inefficiencies.
5166 (package-built-in-p): Make VERSION optional, and treat it as a
5167 minimum acceptable version.
5168 (package-activate): Search separately for built-in packages.
5169 Emit a warning if a dependency fails.
5170 (define-package): Handle most common case, where there is no
5171 obsolete package, first.
5172 (package-compute-transaction): Print required version in error.
5173 (package--initialized): New variable.
5174 (list-packages): Use it.
5175 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5176 built-in packages in packages-alist; keep it separate.
5177 Set package--initialized.
5178 (describe-package): Avoid activating packages as a side-effect.
5179 Search separately for built-in packages.
5180 (describe-package-1): Handle the case where an elpa package is
5181 simultaneously built-in and available/installed.
5182 (package-installed-p, package--generate-package-list):
5183 Search separately for built-in packages.
5184 (package-load-descriptor): Doc fix.
5186 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5188 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5189 Handle __DATA__ and __END__.
5191 2010-11-02 Noah Friedman <friedman@splode.com>
5193 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5194 nil, do not ask to recompile files that are not already compiled,
5195 and do not recompile them.
5197 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5199 * emacs-lisp/package.el (package-initialize): Ensure that
5200 obsoleted built-in packages are not in package-activated-list
5202 (describe-package-1): Make the "installed" status override
5205 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5207 * subr.el (version-separator, version-regexp-alist): Remove '*'
5209 (version-list-<=, version<=, version=): Doc fix.
5211 2010-11-01 Kenichi Handa <handa@m17n.org>
5213 * faces.el (glyphless-char): Inherit underline for tty.
5215 2010-11-01 Kenichi Handa <handa@m17n.org>
5217 Implement various display methods for glyphless characters.
5219 * international/characters.el (char-acronym-table): New variable.
5220 (glyphless-char-control): New variable.
5221 (update-glyphless-char-display): New function.
5223 * faces.el (glyphless-char): New face.
5225 2010-11-01 Glenn Morris <rgm@gnu.org>
5227 * calendar/holidays.el (general-holidays, oriental-holidays)
5228 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5229 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5230 the definitions of their targets.
5232 * emacs-lisp/smie.el (smie): New custom group.
5233 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5235 * faces.el (xw-defined-colors, x-setup-function-keys):
5236 * mouse-sel.el (x-select-text):
5237 * term/w32console.el (x-setup-function-keys): Update declarations.
5239 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5241 * textmodes/ispell.el (comment-add): Declare.
5243 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5246 * info.el (finder-keywords-hash, package-alist): Declare.
5248 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5250 * finder.el (finder-compile-keywords): Don't use intern-soft,
5251 since package names may not yet exist in the obarray.
5253 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5255 * vc/vc-arch.el (vc-arch-checkin):
5256 * vc/vc-cvs.el (vc-cvs-checkin):
5257 * vc/vc-mtn.el (vc-mtn-checkin):
5258 * vc/vc-rcs.el (vc-rcs-checkin):
5259 * vc/vc-sccs.el (vc-sccs-checkin):
5260 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5261 since 2010-04-21 commit by Stefan Monnier.
5263 2010-11-01 Glenn Morris <rgm@gnu.org>
5265 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5267 * startup.el (package-enable-at-startup, package-initialize):
5270 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5273 2010-10-31 Julien Danjou <julien@danjou.info>
5275 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5276 (byte-recompile-directory):
5277 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5278 Use `byte-recompile-file'.
5280 2010-10-31 Glenn Morris <rgm@gnu.org>
5282 * cus-start.el: Handle standard values via a keyword.
5283 Only set version property if specified.
5284 (cursor-in-non-selected-windows, menu-bar-mode)
5285 (tool-bar-mode, show-trailing-whitespace):
5286 Do not specify standard values.
5287 (transient-mark-mode, temporary-file-directory): Use :standard.
5289 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5291 * term/x-win.el (x-get-selection-value): New function that gets
5292 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5294 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5296 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5297 preserve owner and group when editing files. (Bug#7289)
5299 2010-10-31 Glenn Morris <rgm@gnu.org>
5301 * speedbar.el (speedbar-mode):
5302 * play/fortune.el (fortune-in-buffer, fortune):
5303 * play/gomoku.el (gomoku-mode):
5304 * play/landmark.el (lm-mode):
5305 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5306 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5308 * select.el (x-selection): Mark it as an obsolete alias.
5310 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5312 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5313 major-mode (bug#7284).
5315 2010-10-31 Glenn Morris <rgm@gnu.org>
5317 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5318 rather than just an unused variable that inherits from the real one.
5320 2010-10-31 Alan Mackenzie <acm@muc.de>
5322 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5323 This fixes bug #7185.
5325 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5327 * startup.el (command-line): Search for package directories, and
5328 don't load package.el if none are found.
5330 * emacs-lisp/package.el (describe-package, list-packages):
5331 Call package-initialize if it has not been called yet.
5333 2010-10-30 Alan Mackenzie <acm@muc.de>
5335 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5336 which fontifies the tail of an enum.
5337 (c-basic-matchers-after): Insert a call to the above new function.
5338 This fixes bug #7264.
5340 2010-10-30 Glenn Morris <rgm@gnu.org>
5342 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5343 tool-bar-mode, transient-mark-mode. (Bug#7306)
5344 Include the :set property in the dumped Emacs.
5346 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5348 SMIE: change indent rules format, improve smie-setup.
5349 * emacs-lisp/smie.el (smie-precs-precedence-table)
5350 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5351 Mark them pure so the tables gets built at compile time.
5352 (smie-bnf-precedence-table): Store the closer-alist in the table.
5353 (smie-prec2-levels): Preserve the closer-alist.
5354 (smie-blink-matching-open): Be more forgiving in case of indentation.
5355 (smie-hanging-p): Rename from smie-indent--hanging-p.
5356 (smie-bolp): Rename from smie-indent--bolp.
5357 (smie--parent, smie--after): New dynamic vars.
5358 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5359 (smie-indent-rules): Remove.
5360 (smie-indent--offset-rule): Remove fun.
5361 (smie-rules-function): New var.
5362 (smie-indent--rule): New fun.
5363 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5364 (smie-indent-exps): Use it.
5365 (smie-setup): Setup paren blinking; add keyword args for token
5366 functions; extract closer-alist from op-levels.
5367 (smie-indent-debug-log): Remove var.
5368 (smie-indent-debug): Remove fun.
5369 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5370 (prolog-smie-rules): New fun to replace it.
5371 (prolog-mode-variables): Simplify.
5372 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5373 it's setup automatically.
5374 (octave-smie-indent-rules): Remove.
5375 (octave-smie-rules): New fun to replace it.
5376 (octave-mode): Simplify.
5378 2010-10-29 Glenn Morris <rgm@gnu.org>
5380 * files.el (temporary-file-directory): Remove (already defined in C).
5381 * cus-start.el: Add temporary-file-directory.
5383 * abbrev.el (abbrev-mode):
5384 * composite.el (auto-composition-mode):
5385 * menu-bar.el (menu-bar-mode):
5386 * simple.el (transient-mark-mode):
5387 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5388 that they do not define the associated variables twice.
5389 * simple.el (transient-mark-mode): Remove defvar.
5390 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5391 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5392 Handle multiple groups, and also custom-delayed-init-variables.
5393 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5395 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5397 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5398 (pcase-if): Add one minor optimization.
5399 (pcase-split-equal): Rename from pcase-split-eq.
5400 (pcase-split-member): Rename from pcase-split-memq.
5401 (pcase-u1): Add strings to the member optimization.
5402 Add `guard' variant of predicates.
5403 (pcase-q1): Add string patterns.
5405 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5407 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5409 2010-10-28 Glenn Morris <rgm@gnu.org>
5411 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5412 Move menu-bar related settings to ../menu-bar.el.
5413 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5414 Move ns-specific settings here from term/ns-win.el.
5416 * simple.el (x-selection-owner-p): Remove unused declaration.
5418 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5420 * minibuffer.el (completion-cycling): New var (bug#7266).
5421 (minibuffer-complete, completion--do-completion):
5422 Use completion--flush-all-sorted-completions.
5423 (minibuffer-complete): Only cycle if completion-cycling is set.
5424 (completion--flush-all-sorted-completions): Unset completion-cycling.
5425 (minibuffer-force-complete): Set completion-cycling.
5426 (completion-all-sorted-completions): Move declaration before first use.
5428 2010-10-28 Leo <sdl.web@gmail.com>
5430 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5431 which changes the order of matches seen by users (bug#7231).
5433 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5435 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5436 Don't confuse -omega as "-o mega".
5438 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5440 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5441 (log-edit-author): New dynamic var.
5442 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5443 to return the author if different from committer.
5444 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5446 * play/landmark.el: Adjust commenting convention.
5447 (lm-nil-score): Rename from nil-score.
5448 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5449 (OOOOscore): Move into a let in lm-score-trans-table.
5450 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5452 * electric.el (electric-indent-chars): Autoload.
5453 * progmodes/octave-mod.el (octave-mode):
5454 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5455 (ruby-mode-abbrev-table): Merge initialization and declaration.
5457 2010-10-27 Glenn Morris <rgm@gnu.org>
5459 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5462 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5464 * term/ns-win.el: Restore require of cl when compiling.
5465 (menu-bar-final-items): Remove non-existent `windows' menu.
5466 (ns-handle-nxopen): Optionally handle the temp-case.
5467 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5468 (ns-insert-file, ns-find-file): Use `pop'.
5470 2010-10-26 Glenn Morris <rgm@gnu.org>
5472 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5474 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5476 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5478 * term/common-win.el (x-setup-function-keys): Remove most of the
5479 keymappings. Comment on the remaining ones.
5481 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5483 * server.el (server-port): New option. (Bug#854)
5484 (server-start): Use server-port.
5486 2010-10-26 Glenn Morris <rgm@gnu.org>
5488 * term/ns-win.el (ns-version-string): Remove unused declaration.
5489 (ns-invocation-args): Change to x-invocation-args.
5490 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5491 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5492 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5493 Use x-invocation-args instead of ns-invocation-args.
5494 (ns-initialize-window-system, handle-args-function-alist):
5495 Use x-handle-args instead of ns-handle-args.
5496 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5497 * startup.el (command-line-ns-option-alist): Replace
5498 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5499 ns-handle-iconic with the x- equivalents.
5501 * term/common-win.el (x-select-enable-clipboard):
5502 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5504 * term/ns-win.el: No need to require cl when compiling.
5505 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5506 (xw-defined-colors): Use the common-win definitions.
5507 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5508 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5509 * term/common-win.el (x-select-text, x-alternatives-map)
5510 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5511 * loadup.el [ns]: Load common-win.
5513 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5515 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5516 recipients; expand mail aliases (Bug#7280).
5518 2010-10-25 Glenn Morris <rgm@gnu.org>
5520 * term/common-win.el (x-handle-switch): Simplify with pop.
5521 Optionally handle numeric switches.
5522 (x-handle-numeric-switch): Just call x-handle-switch.
5523 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5524 (x-handle-name-switch, x-handle-display, x-handle-args):
5527 * term/ns-win.el: Do not require easymenu.
5528 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5529 <spell>: Move adjustments to menu-bar.el.
5530 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5531 <separator-undo, spell>: Move ns-win's adjustments here.
5532 * loadup.el [ns]: Do not load easymenu.
5534 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5536 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5539 * startup.el (fancy-startup-tail): Instead of using inline images,
5540 refer to image files from etc/.
5542 * wid-edit.el (checkbox): Likewise.
5543 (widget-image-find): Center image specs.
5545 2010-10-24 Glenn Morris <rgm@gnu.org>
5547 * term/ns-win.el (x-select-text): Doc fix.
5548 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5549 (x-select-text): Move to term/common-win.
5550 * term/w32-win.el (xw-defined-colors): Move to common-win.
5551 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5552 (x-setup-function-keys, x-select-text): Move to common-win.
5553 * term/common-win.el (x-select-text, x-alternatives-map)
5554 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5557 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5559 * net/mairix.el (mairix-searches-mode-map):
5560 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5562 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5564 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5565 auto-built for efficiency of execution and updating.
5566 (verilog-extended-complete-re): Support 'pure' fucntion & task
5567 declarations (these have no bodies).
5568 (verilog-beg-of-statement): General cleanup to enable support of
5569 'pure' fucntion & task declarations (these have no bodies).
5570 These efforts together fix Verilog bug210 from veripool; which was also
5571 noticed by Steve Pearlmutter.
5572 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5573 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5574 Support `elsif. Reported by Shankar Giri.
5575 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5576 attribute handling for lining up declarations and assignments.
5577 (verilog-beg-of-statement-1): Fix issue where continued declaration
5578 is indented differently if it is after a begin..end clock.
5579 (verilog-in-attribute-p, verilog-skip-backward-comments)
5580 (verilog-skip-forward-comment-p): Support proper treatment of
5581 attributes by indent code. Reported by Jeff Steele.
5582 (verilog-in-directive-p): Fix comment to correctly describe function.
5583 (verilog-backward-up-list, verilog-in-struct-region-p)
5584 (verilog-backward-token, verilog-in-struct-p)
5585 (verilog-in-coverage-p, verilog-do-indent)
5586 (verilog-pretty-declarations): Use verilog-backward-up-list as
5587 wrapper around backward-up-list inorder to properly skip comments.
5588 Reported by David Rogoff.
5589 (verilog-property-re, verilog-endcomment-reason-re)
5590 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5591 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5592 of if). Reported by Max Bjurling and
5593 (verilog-calc-1): Fix for clocking block in modport
5594 declaration. Reported by Brian Hunter.
5596 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5598 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5599 (verilog-gate-keywords, verilog-read-sub-decls)
5600 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5601 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5602 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5603 (verilog-read-decls): Fix spaces in V2K module parameters causing
5604 mis-identification as interfaces, bug287.
5605 (verilog-read-decls): Fix not treating "parameter string" as a
5606 parameter in AUTOINSTPARAM.
5607 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5608 treating `elsif similar to `endif inside AUTOSENSE.
5609 (verilog-do-indent): Implement correct automatic or static task or
5610 function end comment highlight. Reported by Steve Pearlmutter.
5611 (verilog-font-lock-keywords-2): Fix highlighting of single
5612 character pins, bug264. Reported by Michael Laajanen.
5613 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5614 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5615 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5616 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5617 (verilog-pretty-expr): Fix interactive arguments, bug272.
5618 Reported by Mark Johnson.
5619 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5620 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5621 bug269. Suggested by Gary Delp.
5622 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5623 (verilog-preprocessor, verilog-set-compile-command):
5624 Create verilog-preprocess and verilog-preprocessor to show
5625 preprocessed output.
5626 (verilog-get-beg-of-line, verilog-get-end-of-line)
5627 (verilog-modi-file-or-buffer, verilog-modi-name)
5628 (verilog-modi-point, verilog-within-string): Move defmacro's
5629 before first use to avoid warning. Reported by Steve Pearlmutter.
5630 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5631 (verilog-colorize-region, verilog-highlight-buffer)
5632 (verilog-highlight-includes, verilog-highlight-modules)
5633 (verilog-highlight-region, verilog-mode): Rename colorize to
5634 highlight to match other packages. Disable module highlighting,
5635 as received speed complaints, reenable for experimentation only
5636 using new verilog-highlight-modules.
5637 (verilog-read-decls): Fix regexp stack overflow in very large
5638 AUTO_TEMPLATEs, bug250.
5639 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5640 (verilog-scan): Create verilog-save-buffer-state to standardize
5641 making insignificant changes that shouldn't call hooks.
5642 (verilog-save-no-change-functions, verilog-save-scan-cache)
5643 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5644 Create verilog-save-no-change-functions to wrap verilog-scan
5645 preservation, and fix to work with nested preserved calls.
5646 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5647 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5648 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5649 (verilog-submit-bug-report): Update variable list to be complete.
5650 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5651 breaking on-the-fly font-locking.
5652 (verilog-colorize-buffer, verilog-colorize-include-files)
5653 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5654 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5655 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5656 AUTOINST cell instance name, middle mouse button now finds-file on
5657 it. Suggested by Brad Dobbie.
5658 (verilog-alw-get-temps, verilog-auto-reset)
5659 (verilog-auto-sense-sigs, verilog-read-always-signals)
5660 (verilog-read-always-signals-recurse): Fix loop indexes being
5661 AUTORESET. AUTORESET now assumes any variables in the
5662 initialization section of a for() should be ignored.
5663 Reported by Dan Dever.
5664 (verilog-error-font-lock-keywords)
5665 (verilog-error-regexp-emacs-alist)
5666 (verilog-error-regexp-xemacs-alist): Fix error detection of
5667 Cadence HAL, reported by David Asher. Repair drift between the
5668 three similar error variables.
5669 (verilog-modi-lookup, verilog-modi-lookup-cache)
5670 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5671 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5672 Fix slow verilog-auto expansion on very large files.
5673 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5674 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5675 "{1*2{...". Broke in last revision.
5676 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5677 submodule connections with replications "{#{a},#{b}}".
5679 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5681 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5682 Fix typo in docstring.
5684 2010-10-24 Kenichi Handa <handa@m17n.org>
5686 * face-remap.el (text-scale-adjust): Call read-event with a proper
5689 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5691 * emacs-lisp/unsafep.el: Don't mark functions that display
5692 messages as safe. Suggested by Johan Bockgård.
5694 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5696 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5697 Turn comments into docstrings.
5699 * minibuffer.el (completion--replace): Move point where it belongs
5700 when there's a common suffix (bug#7215).
5702 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5704 Merge read-color and facemenu-read-color (Bug#7242).
5706 * faces.el (read-color): Use the completion code from
5707 facemenu-read-color. Require match in completion. Doc fix.
5709 * facemenu.el (facemenu-read-color): Alias for read-color.
5710 (facemenu-set-foreground, facemenu-set-background):
5713 * frame.el (set-background-color, set-foreground-color)
5714 (set-cursor-color, set-mouse-color, set-border-color):
5717 2010-10-24 Leo <sdl.web@gmail.com>
5719 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5720 argument of delete-file and delete-directory (Bug#7011).
5722 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5724 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5727 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5729 * emacs-lisp/package.el (package--generate-package-list): Make the
5730 *Packages* buffer read-only.
5732 2010-10-24 Alan Mackenzie <acm@muc.de>
5734 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5735 result of `c-beginning-of-decl-1' between invocations of a lambda
5736 function (Bug #7265).
5738 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5740 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5741 executable is not available on the system (Bug#7268).
5743 2010-10-24 Glenn Morris <rgm@gnu.org>
5745 * select.el (selection-coding-system, next-selection-coding-system):
5746 Sync doc with C versions.
5748 * w32-vars.el (x-select-enable-clipboard):
5749 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5750 * term/common-win.el (x-select-enable-clipboard): Move here.
5752 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5753 definition of C variable.
5755 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5756 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5757 Don't redefine things that are defined in C.
5758 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5759 (show-trailing-whitespace, auto-hscroll-mode)
5760 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5761 Set up the appropriate custom properties.
5763 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5766 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5767 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5768 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5769 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5771 2010-10-23 Glenn Morris <rgm@gnu.org>
5773 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5776 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5777 Sync docs with C version.
5779 * term/ns-win.el (xw-defined-colors):
5780 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5782 * term/pc-win.el (x-select-enable-clipboard):
5783 * term/x-win.el (x-select-enable-clipboard):
5784 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5786 * comint.el (comint-password-prompt-regexp): Make it less vague.
5789 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5791 * help.el (finder-by-keyword): Remove unnecessary autoload.
5793 2010-10-22 Glenn Morris <rgm@gnu.org>
5795 * loadup.el: Unconditionally load float-sup.
5796 * paren.el (show-paren-delay):
5797 * emacs-lisp/float-sup.el:
5798 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5799 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5800 (lazy-lock-stealth-verbose): Assume float support.
5801 * ps-print.el: Assume float support on Emacs.
5802 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5803 Remove non-float branch.
5805 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5806 src/Makefile no longer being pre-processed.
5808 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5810 * emacs-lisp/find-func.el (find-library): Use test-completion.
5812 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5814 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5816 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5818 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5819 space in stat format string.
5820 (tramp-send-command): Unset $PS1 when using here documents, in
5821 order not to get several prompts.
5822 (tramp-get-inline-coding): Return `nil' in case of errors.
5824 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5826 * hexl.el (hexl-mode, hexl-mode-exit):
5827 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5828 (hexl-revert-buffer-function): New function.
5829 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5831 2010-10-19 Alan Mackenzie <acm@muc.de>
5833 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5834 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5835 that these keywords aren't wrongly matched as identifiers.
5837 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5838 setting of c-new-BEG and c-new-END from c-before-change to
5839 c-after-change. (Bug#7181)
5841 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5843 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5846 * custom.el (custom-theme-set-variables): Likewise.
5847 (load-theme): Add custom-theme-set-faces and
5848 custom-theme-set-variables to safe-functions while loading.
5849 (custom-enabled-themes): Mark as risky.
5851 2010-10-18 Julien Danjou <julien@danjou.info>
5853 * bindings.el: Remove end dashes in default mode-line-format.
5855 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5857 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5858 to delete-forward-char.
5860 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5861 deletechar, and hence delete-forward-char.
5863 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5865 * repeat.el (repeat): Use read-key (bug#6256).
5867 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5869 * emacs-lisp/unsafep.el: Don't mark functions that display
5870 messages as safe. Suggested by Johan Bockgård.
5872 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * minibuffer.el (completion--replace): Move point where it belongs
5875 when there's a common suffix (bug#7215).
5877 2010-10-19 Kenichi Handa <handa@m17n.org>
5879 * international/characters.el: Add category '|' (word breakable)
5880 to fullwidth characters.
5882 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5884 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5885 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5886 order to make stat results a float. Patch by Andreas Schwab
5887 <schwab@linux-m68k.org>.
5889 2010-10-18 Julien Danjou <julien@danjou.info>
5891 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5892 hidden by `make-pointer-invisible'.
5894 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * files.el (locate-file-completion-table): Strip non-matching elements
5897 before checking length of list (bug#7238).
5899 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5901 * custom.el (custom-theme-set-variables): Mark as a safe function.
5902 (load-theme): Check forms using unsafep.
5904 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5906 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5908 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5909 Fix aspell data file searching (bug#7230).
5911 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5913 * cus-theme.el (custom-theme--migrate-settings): New var.
5914 (customize-create-theme): Allow editing the `user' theme.
5915 (custom-theme-add-variable, custom-theme-add-var-1)
5916 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5917 to the front of each variable or face widget.
5918 (custom-theme-write): Save theme settings in the correct order.
5919 Optionally, remove saved settings from user customizations.
5920 (custom-theme-write-variables, custom-theme-write-faces):
5921 Save only the checked widgets.
5922 (customize-themes): Add a link for migrating custom settings.
5924 * custom.el (custom-declare-theme, provide-theme):
5925 Use custom-theme-name-valid-p.
5926 (custom-theme-name-valid-p): Remove checks that are now
5927 unnecessary since themes no longer obey load-path.
5929 * cus-edit.el (custom-variable-value-create): For the simple
5930 style, hide documentation string when hidden.
5932 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5934 * cus-edit.el (custom-variable, custom-face): Combine the
5935 :inhibit-magic and :display-style properties into a single
5936 :custom-style property.
5937 (custom-toggle-hide-variable, custom-toggle-hide-face):
5938 New functions. If hiding an edited value, save it to :shown-value.
5939 (custom-variable-value-create, custom-face-value-create): Use them.
5940 (custom-magic-reset): Allow magic property to be unset.
5942 * custom.el: Custom themes no longer use load-path.
5943 (custom-theme-load-path): New option. Change built-in theme
5945 (custom-enabled-themes): Add custom-theme-load-path dependency.
5946 (custom-theme--load-path): New function.
5947 (load-theme, custom-available-themes): Use it.
5949 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5950 (customize-themes): Link to custom-theme-load-path variable.
5951 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5952 :custom-style property.
5954 * themes/*.el: Moved to etc/.
5956 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5958 * textmodes/reftex-cite.el
5959 (reftex-extract-bib-entries-from-thebibliography): Do not move
5960 point when searching for \bibitem entries. Match entries with
5961 spaces or tabs in front of arguments.
5963 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5965 * cus-theme.el (customize-create-theme): Delete overlays after
5966 erasing. If given a THEME arg, display only the faces of that arg
5967 instead of custom-theme--listed-faces.
5968 (custom-theme-variable-menu, custom-theme-variable-action)
5969 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5970 (custom-theme-add-variable, custom-theme-add-face): Apply value
5971 from the theme settings, instead of the current value.
5972 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5973 (custom-theme-visit-theme): Allow calling outside theme buffers.
5974 (custom-theme-merge-theme): Don't enable the theme when merging.
5975 (custom-theme-write-variables, custom-theme-write-faces): Use the
5976 :shown-value properties to save buffer values, not global ones.
5977 (customize-themes): Display a warning about user customizations.
5979 * cus-edit.el (custom-variable-value-create)
5980 (custom-face-value-create): Obey new special properties
5981 :shown-value and :inhibit-magic.
5983 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5985 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5986 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5989 2010-10-14 Kenichi Handa <handa@m17n.org>
5991 * mail/rmail.el (rmail-show-message-1): Catch an error of
5992 base64-decode-region and just show an error message (bug#7165).
5994 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5995 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5996 a font-spec (bug#7197).
5998 2010-10-14 Glenn Morris <rgm@gnu.org>
6000 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6002 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6004 * international/mule.el (define-coding-system):
6005 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6006 * composite.el (compose-region): Fix typo in docstring.
6008 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6010 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6011 only after checking the theme-face property.
6013 * faces.el (face-spec-reset-face): Reset all attributes in one
6014 single call to set-face-attribute.
6015 (face-spec-match-p): Make it a defsubst.
6016 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6017 (x-create-frame-with-faces, tty-create-frame-with-faces)
6018 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6019 frame-set-background-mode, since they are recomputed immediately
6020 afterwards in face-set-after-frame-default.
6021 (face-set-after-frame-default): Minor optimization.
6022 (cursor): Provide non-trivial defface spec.
6024 * custom.el (custom-theme-recalc-face): Simplify.
6026 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6028 * calc/calc-alg.el (math-var): Rename from `var'.
6029 (math-is-polynomial, math-is-poly-rec): Replace `var'
6032 * calc/calcalg2.el (math-var): Rename from `var'.
6033 (calcFunc-table, math-scan-for-limits): Replace `var'
6036 2010-10-13 Glenn Morris <rgm@gnu.org>
6038 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6040 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6042 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6044 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6046 * net/tls.el (tls-program): Remove spurious %s from openssl.
6047 (tls-starttls-switches): Remove starttls hack.
6048 (open-tls-stream): Ditto.
6049 (tls-find-starttls-argument): Ditto.
6051 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6053 * image.el (image-library-alist): Declare as obsolete alias.
6054 (image-type-available-p): Use `dynamic-library-alist'.
6056 * term/w32-win.el (dynamic-library-alist):
6057 Use instead of `image-library-alist'.
6059 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6061 * subr.el (last): Make it faster. (Bug#7174)
6063 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6065 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6067 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6069 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6070 (describe-theme-1): Extract doc from unloaded themes.
6072 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6074 * themes/tango-theme.el:
6075 * themes/tango-dark-theme.el:
6076 * themes/wheatgrass-theme.el: New files.
6078 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6080 * cus-theme.el (describe-theme, customize-themes)
6081 (custom-theme-save): New commands.
6082 (custom-new-theme-mode-map): Bind C-x C-s.
6083 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6084 (customize-create-theme): New optional arg THEME.
6085 (custom-theme-revert): Use it.
6086 (custom-theme-visit-theme): Remove dead code.
6087 (custom-theme-merge-theme): Use custom-available-themes.
6088 (custom-theme-write): Make interactive.
6089 (custom-theme-write): Use custom-theme-name-valid-p.
6090 (describe-theme-1, custom-theme-choose-revert)
6091 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6093 (custom-theme-allow-multiple-selections): New option.
6094 (custom-theme-choose-mode): New major mode.
6096 * custom.el (custom-theme-set-variables): Remove dead code.
6097 Obey custom--inhibit-theme-enable.
6098 (custom--inhibit-theme-enable): New var.
6099 (provide-theme): Obey it.
6100 (load-theme): Replace load with manual read/eval, in order to
6101 check for correctness. Use custom-theme-name-valid-p.
6102 (custom-theme-name-valid-p): New function.
6103 (custom-available-themes): Use it.
6105 * cus-edit.el (custom--initialize-widget-variables): New function.
6106 (Custom-mode): Use it.
6108 * cus-face.el (custom-theme-set-faces): Remove dead code.
6109 Obey custom--inhibit-theme-enable.
6111 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6113 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6115 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6117 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6119 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6120 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6121 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6123 * cus-start.el (all): ns-right-alternate-modifier is new.
6125 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * emacs-lisp/lisp.el (lisp-completion-at-point):
6128 Use emacs-lisp-mode-syntax-table for the whole function.
6130 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6132 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6133 instead of font-lock-mode before adding keywords.
6134 Remove hi-lock-mode off code. Remove inhibit hack.
6135 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6136 non-nil; removed hook inhibit hack.
6138 2010-10-12 Glenn Morris <rgm@gnu.org>
6140 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6141 (load-path-shadows-find): ... to this.
6142 (list-load-path-shadows): Update for above change.
6144 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6146 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6148 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6149 Fix comment for declare-function.
6151 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6153 * custom.el (custom-fix-face-spec): New function; code moved from
6154 custom-face-edit-fix-value.
6155 (custom-push-theme): Use it when checking if a face has been
6156 changed outside customize.
6157 (custom-available-themes): New function.
6158 (load-theme): Use it.
6160 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6162 * custom.el (custom-push-theme): Cleanup (use cond).
6163 (disable-theme): Recompute the saved-face property.
6164 (custom-theme-recalc-face): Follow face alias before setting prop.
6166 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6167 New variables, containing checkbox images.
6169 * startup.el (fancy-startup-tail):
6170 * wid-edit.el (checkbox): Use them.
6172 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6174 * shell.el (shell-mode-map):
6175 * progmodes/modula2.el (m2-mode-map):
6176 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6177 * play/mpuz.el (mpuz-mode-map):
6178 * play/landmark.el (lm-mode-map):
6179 * play/decipher.el (decipher-mode-map):
6180 * play/5x5.el (5x5-mode-map):
6181 * net/telnet.el (telnet-mode-map):
6182 * net/quickurl.el (quickurl-list-mode-map):
6183 * net/mairix.el (mairix-searches-mode-map):
6184 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6185 * net/dig.el (dig-mode-map):
6186 * mail/mspools.el (mspools-mode-map):
6187 * hexl.el (hexl-mode-map):
6188 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6189 (wordstar-C-o-map, wordstar-C-q-map):
6190 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6191 * emacs-lisp/chart.el (chart-map):
6192 * edmacro.el (edmacro-mode-map):
6193 * erc/erc-list.el (erc-list-menu-mode-map):
6194 * array.el (array-mode-map): Declare and define in one step.
6196 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6198 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6200 * epa.el (epa-passphrase-callback-function): Display filename
6201 passed as the 3rd arg.
6202 * epa-file.el (epa-file-passphrase-callback-function):
6203 Pass filename to epa-passphrase-callback-function.
6205 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6207 * cus-edit.el (custom-face-widget-to-spec)
6208 (custom-face-get-current-spec, custom-face-state): New functions.
6209 (custom-face-set, custom-face-mark-to-save)
6210 (custom-face-value-create, custom-face-state-set): Use them.
6212 * cus-theme.el (custom-theme--listed-faces): New var.
6213 (customize-create-theme): Use *Custom Theme* as the buffer name.
6214 Set revert-buffer-function. Optional arg BUFFER. Insert all
6215 faces listed in custom-theme--listed-faces.
6216 (custom-theme-revert): New function.
6217 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6219 (custom-theme-write): Prompt for theme name if empty.
6220 (custom-theme-write-variables): Use dolist.
6221 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6223 2010-10-09 Alan Mackenzie <acm@muc.de>
6225 Enhance fontification of declarators to take account of the
6226 presence/absence of "typedef".
6228 * cc-engine.el (c-forward-type): New &optional param
6230 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6231 presence of either or both of a "struct"-like keyword and "typedef".
6233 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6234 fontification of declarators which follow a "}".
6235 (c-font-lock-declarations): Fontify declarators according to the
6236 presence/absence of "typedef".
6238 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6240 (c-typedef-decl-key): New lang variable built from
6241 c-typedef-decl-kwds.
6243 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6245 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6246 since that's too annoying. Move the filter groups commands to
6249 * epa.el (epa-passphrase-callback-function): Say what we're
6250 querying the password for.
6252 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6253 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6255 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6257 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6258 (custom-magic-value-create): Pad button tags with spaces.
6259 (custom-face-edit): New variable.
6260 (custom-face-value-create): Determine whether to use the usual
6261 face editor here, instead of using custom-face-selected.
6262 Pass face defaults to custom-face-edit widget.
6263 (custom-face-selected, custom-display-unselected): Delete widgets.
6264 (custom-display-unselected-match): Function removed.
6265 (custom-face-set, custom-face-mark-to-save):
6266 Accept custom-face-edit widgets as the direct widget child.
6268 * wid-edit.el (widget--completing-widget): New var.
6269 (widget-default-complete): Bind it when doing completion.
6270 (widget-string-complete, widget-file-complete): Use it.
6272 2010-10-09 Glenn Morris <rgm@gnu.org>
6274 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6275 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6276 (holiday-hebrew-misc): Small simplifications.
6278 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6280 * net/browse-url.el: Don't require thingatpt, term, dired,
6281 executable, or w3-auto when compiling.
6282 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6284 (browse-url-text-emacs): Require term.
6286 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6288 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6290 2010-10-08 Glenn Morris <rgm@gnu.org>
6292 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6294 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6295 (shadows-compare-text-p): Make it an obsolete alias for...
6296 (load-path-shadows-compare-text): ... new name.
6297 (find-emacs-lisp-shadows): Update for above name change.
6298 (load-path-shadows-same-file-or-nonexistent): New name for the old
6299 shadow-same-file-or-nonexistent.
6301 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6303 * minibuffer.el (completion--some, completion--do-completion)
6304 (minibuffer-complete-and-exit, minibuffer-completion-help)
6305 (completion-basic-try-completion)
6306 (completion-basic-all-completions)
6307 (completion-pcm--find-all-completions): Use lexical-let to
6308 avoid some false matches in variable completion (Bug#7056)
6310 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6312 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6314 2010-10-08 Leo <sdl.web@gmail.com>
6316 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6317 return non-nil if the file exists (Bug#7090).
6319 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6321 * minibuffer.el (completion--replace):
6322 Better preserve markers (bug#7138).
6324 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6326 * server.el (server-process-filter): Doc fix.
6328 2010-10-08 Drew Adams <drew.adams@oracle.com>
6330 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6332 2010-10-08 Glenn Morris <rgm@gnu.org>
6334 * vc/ediff-wind.el (ediff-setup-control-frame):
6335 * vc/ediff-ptch.el (ediff-default-backup-extension):
6336 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6337 (ediff-exec-process): Remove system-types emx, windows-95.
6339 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6341 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6343 * cus-edit.el (custom-variable, custom-face): Doc fix.
6344 (custom-face-edit): Add value-create attribute.
6345 (custom-face-edit-value-create)
6346 (custom-face-edit-value-visibility-action): New functions.
6347 Hide unused face attributes by default, and add a visibility toggle.
6348 (custom-face-edit-deactivate): Show empty values with shadow face.
6349 (custom-face-selected): Only use this for face specs with default
6351 (custom-face-value-create): Cleanup.
6353 * wid-edit.el (widget-checklist-value-create): Use dolist.
6354 (widget-checklist-match-find): Make second arg optional.
6356 2010-10-07 Glenn Morris <rgm@gnu.org>
6358 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6361 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6362 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6363 load-path-shadows-mode, update references.
6364 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6365 Rename variable and button.
6366 (list-load-path-shadows): Update button caller.
6368 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6370 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6371 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6372 (smie-merge-prec2s): Handle those new entries.
6373 (smie-prec2-levels): Only set precedence to nil for actual
6375 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6376 that is now unnecessary.
6378 2010-10-07 Miles Bader <miles@gnu.org>
6380 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6382 2010-10-07 Glenn Morris <rgm@gnu.org>
6384 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6385 (mail-position-on-field): Remove declarations.
6386 (mail-position-on-field): Autoload it.
6387 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6388 and mail-header-end. Don't require sendmail.
6390 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6391 (shadow-mode): New mode.
6392 (shadow-find-file): New button.
6393 (list-load-path-shadows): Use shadow-mode and buttons.
6395 * iimage.el (iimage-version): Remove.
6396 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6397 Turn into defcustoms.
6398 (iimage-mode-map): Give it a doc string.
6400 * calendar/appt.el (appt-activate): Give a warning rather than an error
6401 if there is no diary-file.
6403 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6405 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6406 Use `tramp-handle-find-backup-file-name'.
6408 2010-10-06 Glenn Morris <rgm@gnu.org>
6410 * font-core.el (font-lock-defaults-alist): Remove variable.
6411 (font-lock-mode): Doc fix.
6412 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6413 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6414 (font-lock-set-defaults): Doc fix.
6415 Do not consult font-lock-defaults-alist.
6417 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6419 * emacs-lisp/cl.el: No longer provide cl-19.
6421 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6423 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6424 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6425 New defuns, taken from tramp-smb.el.
6426 (tramp-coding-system-change-eol-conversion)
6427 (tramp-set-process-query-on-exit-flag): Remove.
6429 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6430 (tramp-compat-coding-system-change-eol-conversion)
6431 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6434 * net/tramp-gvfs.el:
6435 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6436 by `tramp-compat-set-process-query-on-exit-flag'.
6438 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6439 Use `tramp-handle-directory-files-and-attributes',
6440 `tramp-handle-file-exists-p' and
6441 `tramp-handle-file-newer-than-file-p'.
6442 (tramp-imap-handle-file-exists-p)
6443 (tramp-imap-handle-file-executable-p)
6444 (tramp-imap-handle-file-readable-p)
6445 (tramp-imap-handle-directory-files-and-attributes)
6446 (tramp-imap-handle-file-newer-than-file-p): Remove.
6448 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6449 by `tramp-compat-set-process-query-on-exit-flag' and
6450 `tramp-coding-system-change-eol-conversion' by
6451 `tramp-compat-coding-system-change-eol-conversion'.
6453 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6454 Use `tramp-handle-directory-files-and-attributes',
6455 `tramp-handle-file-exists-p' and
6456 `tramp-handle-file-newer-than-file-p'.
6457 (tramp-smb-handle-directory-files-and-attributes)
6458 (tramp-smb-handle-file-exists-p)
6459 (tramp-smb-handle-file-newer-than-file-p): Remove.
6460 (tramp-smb-maybe-open-connection):
6461 Replace `tramp-set-process-query-on-exit-flag' by
6462 `tramp-compat-set-process-query-on-exit-flag'.
6464 2010-10-05 Glenn Morris <rgm@gnu.org>
6466 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6468 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6470 Continue reorganization of load dependencies. (Bug#7156)
6472 * net/tramp.el (tramp-handle-file-local-copy-hook)
6473 (tramp-delete-temp-file-function): Move down.
6474 (tramp-exists-file-name-handler): Move up.
6475 (tramp-register-file-name-handlers): Simplify autoload.
6476 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6477 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6478 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6479 (tramp-handle-file-name-completion)
6480 (tramp-handle-file-name-directory)
6481 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6482 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6483 (tramp-handle-find-backup-file-name)
6484 (tramp-handle-insert-file-contents, tramp-handle-load)
6485 (tramp-handle-substitute-in-file-name)
6486 (tramp-handle-unhandled-file-name-directory)
6487 (tramp-mode-string-to-int, tramp-local-host-p)
6488 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6490 * net/tramp-gvfs.el (top):
6491 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6493 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6494 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6496 2010-10-04 Glenn Morris <rgm@gnu.org>
6498 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6499 (appt-activate): Give status messages.
6501 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6503 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6504 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6505 `gnutls-negotiate' (formerly `starttls-negotiate').
6506 Remove trivial wrapper `starttls-open-stream'.
6508 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6510 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6511 log-outgoing commands.
6512 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6513 to create a buffer local revert-buffer-function variable.
6514 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6515 revert-buffer-function lambda.
6517 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6519 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6520 `gnutls-boot'. Make TYPE the only required parameter.
6521 Allow TRUSTFILES and KEYFILES to be lists.
6522 (open-ssl-stream): Use it.
6524 2010-10-03 Glenn Morris <rgm@gnu.org>
6526 * subr.el (directory-sep-char): Remove obsolete variable.
6527 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6530 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6531 * vc/vc.el (vc-static-header-alist): Doc fix.
6532 * vc/vc-cvs.el (vc-cvs-header):
6533 * vc/vc-rcs.el (vc-rcs-header):
6534 * vc/vc-sccs.el (vc-sccs-header):
6535 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6536 * obsolete/vc-mcvs.el (vc-mcvs-header):
6537 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6540 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6542 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6543 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6545 2010-10-03 Glenn Morris <rgm@gnu.org>
6547 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6549 * textmodes/rst.el (rst-font-lock-keywords-function):
6552 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6554 * printing.el: Drop Emacs 20 code.
6556 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6557 without having used appt.el already).
6559 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6560 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6561 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6563 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6564 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6566 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6567 (charset-width, find-charset-region, chars-in-region, forward-point)
6568 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6569 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6570 Remove compatibility cruft (none of these are used by ps*.el).
6572 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6574 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6576 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6578 * server.el (server-process-filter, server-return-error):
6579 Give emacsclient time to shut down after receiving an error string.
6581 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6583 * files.el (remote-file-name-inhibit-cache): New defcustom.
6585 * time.el (display-time-file-nonempty-p):
6586 Use `remote-file-name-inhibit-cache'.
6588 * net/tramp.el (tramp-completion-reread-directory-timeout):
6591 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6592 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6593 `remote-file-name-inhibit-cache'. Check also for an integer
6594 value. Add/increase counter when `tramp-verbose' >= 10.
6595 (tramp-set-file-property): Add/increase counter when
6596 `tramp-verbose' >= 10.
6598 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6599 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6600 (tramp-bug): Set tramp-autoload cookie. Report all interned
6601 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6602 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6603 characters only in strings.
6605 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6606 to backward compatibility.
6608 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6609 (tramp-handle-file-name-all-completions)
6610 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6611 (tramp-open-connection-setup-interactive-shell):
6612 Call `tramp-cleanup-connection' directly.
6614 2010-10-02 Glenn Morris <rgm@gnu.org>
6616 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6618 * subr.el (char-bytes): Remove obsolete function.
6620 * isearch.el (isearch-return-char): Remove obsolete function.
6622 * mouse.el: No longer provide mldrag.
6623 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6624 Remove obsolete aliases.
6626 * comint.el (comint-kill-output): Remove obsolete alias.
6628 * composite.el (decompose-composite-char): Remove obsolete function.
6629 * ps-def.el (decompose-composite-char): Remove unused function.
6631 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6633 * outline.el (outline-visible): Remove obsolete function.
6635 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6636 * faces.el (internal-find-face, internal-get-face)
6637 (frame-update-faces, frame-update-face-colors)
6638 (x-frob-font-weight, x-frob-font-slant)
6639 (internal-frob-font-weight, internal-frob-font-slant)
6640 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6641 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6642 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6644 * emulation/viper-util.el (viper-get-face):
6645 * obsolete/lucid.el (find-face, get-face): Use facep.
6646 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6647 Remove unused functions.
6648 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6650 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6651 delete tempfile if interrupted during compilation.
6653 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6655 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6657 (tls-program): Add --insecure to be consistent with the defaults from
6658 openssl s_client. Now all three commands are insecure.
6660 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6662 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6663 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6664 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6666 2010-10-01 Glenn Morris <rgm@gnu.org>
6668 * obsolete/sc.el: Remove file.
6670 * files.el (temporary-file-directory): On darwin, also try
6671 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6673 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6675 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6676 Let's not break compatibility gratuitously, shall we?
6678 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6680 * net/tls.el (tls-starttls-switches): New variable.
6681 (tls-find-starttls-argument): Use it.
6682 (open-tls-stream): Ditto.
6684 * net/netrc.el (netrc-credentials): Return the value of the "default"
6686 (netrc-machine): Ditto.
6688 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6690 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6692 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6694 * server.el (server-start): Don't write pid to the authentication file.
6695 (server-create-tty-frame): Don't send pid.
6696 (server-process-filter): Send pid at the start of every connection.
6698 2010-09-30 Glenn Morris <rgm@gnu.org>
6700 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6701 (show-all-diary-entries): Remove obsolete function aliases.
6703 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6704 Remove options, obsolete since 22.1.
6705 (appt-display-format, appt-display-message):
6706 Remove backwards-compatibility code.
6707 (appt-check): No longer check appt-issue-message.
6708 (appt-make-list): No longer autoload it. Doc fix. No longer
6709 activate the package.
6711 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6713 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6714 (starttls-negotiate): Just call boot, and let the handshake be
6715 triggered from the read loop.
6717 2010-09-29 Glenn Morris <rgm@gnu.org>
6719 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6720 not displaying the diary.
6721 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6722 * calendar/appt.el (appt-check): No longer need to kill diary.
6724 * calendar/diary-lib.el (diary-list-entries): Move the
6725 "Preparing..." message entirely here.
6726 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6727 messages to diary-list-entries.
6728 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6729 diary-display-function.
6731 * calendar/diary-lib.el (diary-include-other-diary-files):
6732 Trap some recursive includes.
6734 * calendar/appt.el (appt-activate): Check diary file.
6736 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6738 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6741 * calendar/time-date.el: No need to require cl for Emacs 21.
6743 2010-09-28 Glenn Morris <rgm@gnu.org>
6745 * calendar/appt.el (appt-check): Minor simplification.
6747 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6749 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6752 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6754 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6755 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6757 2010-09-27 Kenichi Handa <handa@m17n.org>
6759 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6762 2010-09-27 Kenichi Handa <handa@m17n.org>
6764 * international/mule.el (define-coding-system): Docstring fixed.
6766 * international/mule-diag.el (describe-character-set): Use princ
6767 with proper print-length and print-level instead of insert.
6769 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6771 * window.el (walk-windows): Doc fix (bug#7105).
6773 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * emacs-lisp/float-sup.el (e): Remove.
6777 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6779 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6781 (starttls-negotiate): Use it.
6783 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6785 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6788 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6790 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6792 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6794 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6796 * net/netrc.el (netrc-store-data): New function.
6798 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6800 * net/gnutls.el: GnuTLS glue code to set up a connection.
6802 2010-09-25 Julien Danjou <julien@danjou.info>
6804 * notifications.el: Call dbus-register-signal only if it is bound.
6806 2010-09-25 Glenn Morris <rgm@gnu.org>
6808 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6809 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6810 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6811 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6812 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6813 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6814 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6815 * eshell/esh-util.el, eshell/esh-var.el:
6816 Remove leading `*' from docs of faces and defcustoms.
6818 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6820 * eshell/em-ls.el (eshell-ls-archive-regexp):
6821 * eshell/esh-util.el (eshell-tar-regexp):
6822 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6823 * info.el (Info-suffix-list):
6824 * international/mule.el (auto-coding-alist):
6825 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6826 * progmodes/etags.el (tags-compression-info-list):
6827 Support xz compression.
6829 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6831 * files.el (get-free-disk-space): Don't assume the "df" output
6832 columns line up (Bug#6995).
6834 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6836 * finder.el (finder-unknown-keywords):
6837 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6838 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6840 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6842 * server.el (server-start): Revert part of 2010-08-08 change. Using
6843 address 127.0.0.1 for local host is now done in Fmake_network_process.
6845 2010-09-24 Glenn Morris <rgm@gnu.org>
6847 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6848 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6849 * textmodes/css-mode.el, textmodes/dns-mode.el:
6850 Move autoloaded auto-mode-alist entries to files.el.
6851 * files.el (auto-mode-alist): Move entries here.
6853 2010-09-23 Glenn Morris <rgm@gnu.org>
6855 * isearch.el (isearch-lazy-highlight-cleanup)
6856 (isearch-lazy-highlight-initial-delay)
6857 (isearch-lazy-highlight-interval)
6858 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6859 * net/net-utils.el (ipconfig-program-options):
6860 Move aliases to options before the associated definitions.
6862 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6864 * newcomment.el (comment-normalize-vars): Better test validity of
6867 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6869 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6870 (float-e): New name for `e'.
6871 (degrees-to-radians, radians-to-degrees):
6872 * calendar/solar.el (solar-longitude):
6873 * calculator.el (calculator-registers, calculator-funcall):
6874 * textmodes/artist.el (artist-spray-random-points):
6875 * play/bubbles.el (bubbles--initialize-images): Use new names.
6877 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6879 Update to CEDET 1.0's version of EIEIO.
6881 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6883 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6884 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6885 (class-precedence-list): If class is nil, return nil.
6886 (eieio-generic-call): If class of first input arg is nil, don't
6887 look up static methods, and do check for primary methods.
6888 (initialize-instance): See if the default needs to be evaluated
6889 during the constructor.
6890 (eieio-perform-slot-validation-for-default): Don't do the check
6891 for values that will eventually be evaluated.
6892 (eieio-eval-default-p): New function.
6893 (eieio-default-eval-maybe): Use it.
6895 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6897 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6898 method-invocation-order.
6899 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6900 (eieio-class-precedence-dfs): Compute class precedence list using
6902 (eieio-class-precedence-bfs): Compute class precedence list using
6904 (eieio-class-precedence-c3): Compute class precedence list using
6906 (class-precedence-list): New function.
6907 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6908 (inconsistent-class-hierarchy): New error symbol.
6909 (call-next-method): Stow the replacement argument list for future
6910 call-next-method invocations.
6912 2010-09-23 Glenn Morris <rgm@gnu.org>
6914 * calendar/appt.el (appt-check): If not displaying the diary,
6915 use (diary 1) to only get the entries we need.
6916 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6917 that it is in day order. (Bug#7019)
6919 * calendar/appt.el (appt-check): Rather than showing the diary,
6920 just turn off invisible display, and only if needed.
6922 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6924 2010-09-23 Glenn Morris <rgm@gnu.org>
6926 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6927 (byte-compile-defvar, byte-compile-cl-warn):
6928 Start warnings with lower-case, like the majority.
6930 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6932 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6934 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6935 * files.el (auto-mode-alist): Move ld-script entries here, further down
6938 * vc/add-log.el: Don't require timezone when compiling.
6939 (timezone-make-date-sortable): Autoload it.
6940 (change-log-sortable-date-at): Don't require timezone.
6941 Use `ignore-errors'.
6943 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6944 Move alias before definition, so it does not need autoloading.
6946 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6947 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6948 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6949 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6950 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6951 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6952 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6953 * textmodes/tex-mode.el, textmodes/two-column.el:
6954 Remove leading `*' from docs of defcustoms etc.
6956 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6958 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6960 2010-09-22 Dan Christensen <jdc@uwo.ca>
6962 * calendar/time-date.el (date-to-time): Try using parse-time-string
6963 first before using the slower timezone-make-date-arpa-standard.
6965 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6967 * calendar/time-date.el (format-seconds): Comment fix.
6969 2010-09-22 Glenn Morris <rgm@gnu.org>
6971 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6972 is not automatically buffer-local.
6974 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6976 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6977 (smie-indent-comment): Be more careful with comment-start-skip.
6978 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6979 (smie-indent-functions): Use them.
6981 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6983 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6985 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6987 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6988 tool-bar-position. Don't modify frame parameters here.
6989 (menu-bar-options-save): Add tool-bar-position.
6991 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6993 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6995 * textmodes/reftex-parse.el (reftex-what-macro)
6996 (reftex-context-substring): Let-bind forward-sexp-function to nil
6997 since we don't need/want to treat \begin...\end as a block (bug#7053).
6999 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7001 * simple.el (blink-matching-open): Use syntax-class.
7003 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7004 Set invisibility spec for pascal's outline mode.
7005 (pascal-outline-change): Clean up calling convention.
7006 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7008 * progmodes/prolog.el (prolog-smie-forward-token)
7009 (prolog-smie-backward-token): New functions.
7010 (prolog-mode-variables): Use them to parse "!," correctly.
7011 Set up smie-blink-matching for ".".
7013 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7015 (ispell-region, ispell-process-line): Update users.
7017 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7020 * textmodes/ispell.el: Fix commenting convention.
7021 (ispell-parse-output): Simplify, use push.
7022 (ispell-region): Use match-string-no-properties.
7023 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7024 (ispell-minor-mode): Use define-minor-mode.
7025 (ispell-message): Remove unused var `skip-regexp'.
7026 (ispell-add-per-file-word-list): Use dynamic let-binding.
7027 Try and use the proper comment marker.
7029 * mail/sendmail.el: Fix commenting convention.
7030 (sendmail-send-it): Use line-beginning-position.
7032 * help-fns.el (describe-variable): Add original value, if applicable.
7034 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7036 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7038 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7040 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7043 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7044 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7045 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7046 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7047 something like "." can also be a closer.
7048 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7049 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7050 Rename internal functions to use "--". Update callers.
7052 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7054 * fringe.el (fringe-styles): New var.
7055 (fringe-mode, fringe-query-style): Use it.
7057 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7059 * progmodes/sql.el: Version 2.8
7060 (sql-login-params): Update widget structure; changes still needed.
7061 (sql-product-alist): Add :list-all and :list-table features for
7062 SQLite, Postgres and MySQL products.
7063 (sql-redirect): Handle default value.
7064 (sql-execute, sql-execute-feature): New functions.
7065 (sql-read-table-name): New function.
7066 (sql-list-all, sql-list-table): New functions. User API.
7067 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7068 for above functions.
7069 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7070 for above functions.
7071 (sql-postgres-login-params): Add user and database defaults.
7072 (sql-buffer-live-p): Bug fix.
7073 (sql-product-history): New variable.
7074 (sql-read-product): New function. Use it.
7075 (sql-set-product, sql-product-interactive): Use it.
7076 (sql-connection-history): New variable.
7077 (sql-read-connection): New function. Use it.
7078 (sql-connect): New function.
7079 (sql-for-each-login): Redesign function interface.
7080 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7081 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7082 (sql-comint): Check for program. Existing live buffer.
7083 (sql-comint-postgres): Add port parameter.
7085 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7087 * emacs-lisp/warnings.el: Fix commenting convention.
7088 (display-warning): Use special mode and make the buffer read-only.
7090 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7092 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7093 empty string when it follows a repeated or optional pattern.
7095 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7098 (indent-region): Use indent-according-to-mode.
7100 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7102 * fringe.el (fringe-mode): Doc fix.
7104 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7106 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7107 refreshing the preview buffer.
7109 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7111 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7112 (latex-syntax-propertize-rules): New consts; replace
7113 tex-font-lock-syntactic-keywords.
7114 (tex-env-mark, latex-env-before-change): New functions.
7115 (latex-electric-env-pair-mode): New minor mode.
7116 (tex-font-lock-verb): Change arguments; do move point.
7117 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7118 representation as a form of comment.
7119 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7120 (doctex-syntax-propertize-rules): New const; replaces
7121 doctex-font-lock-syntactic-keywords.
7122 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7124 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7125 (fortran-make-syntax-propertize-function): New function; replaces
7126 fortran-font-lock-syntactic-keywords.
7127 (fortran-mode): Use it.
7128 (fortran-line-length): Use it. Improve interactive spec.
7130 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7131 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7132 when adding surrounding \(..\).
7134 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7136 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7138 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7139 Use with-current-buffer.
7141 * isearch.el (isearch-face): Rename from `isearch'.
7142 (isearch-highlight): Use new name.
7144 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7146 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7147 5, for `half' width fringes. (Bug#6933)
7149 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7151 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7152 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7154 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7156 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7158 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7159 in calculating new frame position. Add more space between new and
7160 parent on the left (Bug#7048).
7162 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7164 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7167 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7169 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7171 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7172 obsolete alias for x-selection-value.
7174 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7176 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7178 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7181 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7183 * net/tramp-compat.el (tramp-compat-with-temp-message)
7184 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7185 (tramp-compat-process-put): New defuns.
7187 * net/tramp.el (top):
7188 * net/tramp-gvfs.el (top):
7189 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7191 * net/tramp.el (tramp-progress-reporter-update):
7192 Use `tramp-compat-funcall'.
7194 * net/tramp.el (tramp-process-actions):
7195 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7196 * net/tramp-sh.el (tramp-handle-vc-registered)
7197 (tramp-get-remote-stat, tramp-get-remote-readlink):
7198 Use `tramp-compat-with-temp-message'.
7200 * net/tramp-sh.el (top): Require 'cl.
7201 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7202 (tramp-open-connection-setup-interactive-shell):
7203 Use `tramp-compat-process-put'.
7205 2010-09-15 Alan Mackenzie <acm@muc.de>
7207 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7209 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7211 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7213 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7214 `lexical' for warnings related to lexical scoping.
7215 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7216 global vars which don't have a prefix and could hence affect lexical
7217 scoping in unrelated files.
7219 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7221 * net/imap.el: Revert back to version
7222 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7225 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7227 * obsolete/old-whitespace.el (whitespace-unload-function):
7228 Explicitly pass `obarray' to `unintern' to avoid a warning.
7230 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7232 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7233 Add `when' argument. Update callers.
7235 * subr.el (unintern): Declare the obarray arg mandatory.
7237 2010-09-14 Glenn Morris <rgm@gnu.org>
7239 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7242 * calendar/diary-lib.el (diary-included-files): New variable.
7243 (diary-list-entries): Maybe initialize diary-included-files.
7244 (diary-include-other-diary-files): Append to diary-included-files.
7245 * calendar/appt.el (appt-update-list): Also check the members of
7246 diary-included-files. (Bug#6999)
7247 (appt-check): Doc fix.
7249 2010-09-14 David Reitter <david.reitter@gmail.com>
7251 * simple.el (line-move-visual): Do not truncate goal column to
7252 integer size. (Bug#7020)
7254 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * repeat.el (repeat): Allow repeating when the last event is a click.
7257 Suggested by Drew Adams (bug#6256).
7259 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7261 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7262 Replace setting HGRCPATH to "" by some less invasive --config options.
7264 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * font-lock.el (font-lock-beginning-of-syntax-function):
7269 2010-09-14 Glenn Morris <rgm@gnu.org>
7271 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7272 and tool-bar modes. (Bug#6211)
7273 (menu-bar-mode): Move setting of standard-value after the
7274 minor-mode definition, otherwise it seems to have no effect.
7276 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7278 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7279 Fix typo. (Bug#6976)
7281 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7283 * whitespace.el: Allow cleaning up blanks without blank
7284 visualization (Bug#6651). Adjust help window for
7285 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7286 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7287 (whitespace-style): Add new value 'face. Adjust docstring.
7288 (whitespace-space, whitespace-hspace, whitespace-tab):
7289 Adjust foreground property face.
7290 (whitespace-line-column): Adjust docstring and type declaration.
7291 (whitespace-style-value-list, whitespace-toggle-option-alist)
7292 (whitespace-help-text): Adjust const initialization.
7293 (whitespace-toggle-options, global-whitespace-toggle-options):
7295 (whitespace-display-window, whitespace-interactive-char)
7296 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7297 (whitespace-help-scroll): New fun.
7299 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7301 * calendar/time-date.el (format-seconds): Comment fix.
7303 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7305 * progmodes/sql.el: Version 2.7.
7306 (sql-buffer-live-p): Improve detection.
7307 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7308 (sql-set-sqli-buffer): Use it.
7309 (sql-product-interactive): Run `sql-set-sqli-hook'.
7310 (sql-rename-buffer): Code cleanup.
7311 (sql-redirect, sql-redirect-value): New functions. More to come.
7313 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7315 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.
7316 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7317 (TRAMP_SRC): New macro.
7318 ($(lisp)/net/tramp-loaddefs.el): New target.
7320 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7322 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7324 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7326 * net/tramp.el (top): Don't show loading message. Require just
7327 'tramp-compat, everything else is required there.
7328 Use `ignore-errors' where appropriate.
7329 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7330 (tramp-terminal-type, tramp-end-of-output)
7331 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7332 (tramp-completion-function-alist-ssh)
7333 (tramp-completion-function-alist-telnet)
7334 (tramp-completion-function-alist-su)
7335 (tramp-completion-function-alist-putty, tramp-remote-path)
7336 (tramp-remote-process-environment, tramp-sh-extra-args)
7337 (tramp-actions-before-shell, tramp-uudecode)
7338 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7339 (tramp-perl-file-attributes)
7340 (tramp-perl-directory-files-and-attributes)
7341 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7342 (tramp-perl-encode, tramp-perl-decode)
7343 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7344 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7345 (tramp-handle-make-symbolic-link, tramp-handle-load)
7346 (tramp-handle-file-name-as-directory)
7347 (tramp-handle-file-name-directory)
7348 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7349 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7350 (tramp-do-file-attributes-with-ls)
7351 (tramp-do-file-attributes-with-perl)
7352 (tramp-do-file-attributes-with-stat)
7353 (tramp-handle-set-visited-file-modtime)
7354 (tramp-handle-verify-visited-file-modtime)
7355 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7356 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7357 (tramp-handle-file-selinux-context)
7358 (tramp-handle-set-file-selinux-context)
7359 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7360 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7361 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7362 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7363 (tramp-handle-file-ownership-preserved-p)
7364 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7365 (tramp-handle-directory-files-and-attributes)
7366 (tramp-do-directory-files-and-attributes-with-perl)
7367 (tramp-do-directory-files-and-attributes-with-stat)
7368 (tramp-handle-file-name-all-completions)
7369 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7370 (tramp-handle-copy-file, tramp-handle-copy-directory)
7371 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7372 (tramp-do-copy-or-rename-file-via-buffer)
7373 (tramp-do-copy-or-rename-file-directly)
7374 (tramp-do-copy-or-rename-file-out-of-band)
7375 (tramp-handle-make-directory, tramp-handle-delete-directory)
7376 (tramp-handle-delete-file)
7377 (tramp-handle-dired-recursive-delete-directory)
7378 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7379 (tramp-handle-insert-directory)
7380 (tramp-handle-unhandled-file-name-directory)
7381 (tramp-handle-expand-file-name)
7382 (tramp-handle-substitute-in-file-name)
7383 (tramp-handle-executable-find, tramp-process-sentinel)
7384 (tramp-handle-start-file-process, tramp-handle-process-file)
7385 (tramp-handle-call-process-region, tramp-handle-shell-command)
7386 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7387 (tramp-handle-insert-file-contents)
7388 (tramp-handle-insert-file-contents-literally)
7389 (tramp-handle-find-backup-file-name)
7390 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7391 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7392 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7393 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7394 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7395 (tramp-find-file-exists-command, tramp-open-shell)
7396 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7397 (tramp-open-connection-setup-interactive-shell)
7398 (tramp-local-coding-commands, tramp-remote-coding-commands)
7399 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7400 (tramp-inline-compress-commands, tramp-find-inline-compress)
7401 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7402 (tramp-send-command, tramp-wait-for-output)
7403 (tramp-send-command-and-check, tramp-barf-unless-okay)
7404 (tramp-send-command-and-read, tramp-mode-string-to-int)
7405 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7406 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7407 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7408 (tramp-method-out-of-band-p, tramp-local-host-p)
7409 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7410 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7411 (tramp-get-test-command, tramp-get-test-nt-command)
7412 (tramp-get-file-exists-command, tramp-get-remote-ln)
7413 (tramp-get-remote-perl, tramp-get-remote-stat)
7414 (tramp-get-remote-readlink, tramp-get-remote-trash)
7415 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7416 (tramp-get-local-uid, tramp-get-local-gid)
7417 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7419 (tramp-methods, tramp-default-method-alist)
7420 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7421 Move initialization to tramp-sh.el.
7422 (tramp-temp-name-prefix): Make it a defconst.
7423 (tramp-dissect-file-name): Don't check anymore for multi-hop
7425 (tramp-debug-outline-regexp): Add a docstring.
7426 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7427 (tramp-get-debug-buffer): Use it.
7429 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7430 initialization forms.
7431 (tramp-set-connection-property): Don't protect `tramp-message'
7432 call, it isn't necessary any longer.
7433 (tramp-dump-connection-properties): Use `ignore-errors'.
7435 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7436 'password-cache and 'auth-source.
7438 * net/tramp-gvfs.el (top):
7439 * net/tramp-smb.el (top): Require 'tramp-sh.
7441 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7443 * net/tramp-sh.el: New file, derived from tramp.el.
7444 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7445 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7446 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7447 Use `ignore-errors' where appropriate.
7448 (tramp-sh-file-name-handler-alist): Rename from
7449 `tramp-file-name-handler-alist'.
7450 (tramp-send-command-and-check): Return t or nil. Remove all
7451 `zerop' checks, where called.
7452 (tramp-handle-set-file-modes)
7453 (tramp-do-copy-or-rename-file-directly)
7454 (tramp-handle-delete-directory, tramp-handle-delete-file)
7455 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7456 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7457 (tramp-get-remote-ln): Set tramp-autoload cookie.
7459 * net/tramp-fish.el: Remove file.
7461 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7463 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7464 buffer-file-name to avoid file-locking. (Bug#7026)
7466 2010-09-13 Julien Danjou <julien@danjou.info>
7468 * notifications.el (notifications-notify): Add support for
7469 image-path and sound-name.
7470 (notifications-specification-version): Add this variable.
7472 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7474 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7476 2010-09-12 Leo <sdl.web@gmail.com>
7478 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7479 (rcirc-completion-start): New variables.
7480 (rcirc-nick-completions): Rename to rcirc-completions.
7481 (rcirc-nick-completion-start-offset): Delete.
7482 (rcirc-completion-at-point): New function for constructing
7483 completion data for both nicks and irc commands. Add to
7484 completion-at-point-functions in rcirc mode.
7485 (rcirc-complete): Rename from rcirc-nick-complete; use
7486 rcirc-completion-at-point.
7487 (defun-rcirc-command): Update rcirc-client-commands.
7489 2010-09-11 Glenn Morris <rgm@gnu.org>
7491 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7492 atomically, to avoid parallel build errors. (Bug#4196)
7494 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7496 * progmodes/sql.el: Version 2.6
7497 (sql-dialect): Synonym for "sql-product".
7498 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7499 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7500 Set "sql-buffer" to buffer name not buffer object so multiple sql
7501 interactive buffers work properly. Reverts misguided changes in
7503 (sql-comint): Make sure different buffer name is used if "*SQL*"
7504 buffer is for a different product.
7505 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7507 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7508 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7509 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7510 Accept new buffer name or prompt for one.
7511 (sql-port): Default to zero.
7512 (sql-comint-mysql): Handle "sql-port" as a numeric.
7513 (sql-port-history): Delete unused variable.
7514 (sql-get-login): Default "sql-port" to a number.
7515 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7516 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7517 "sqlite3" executables.
7518 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7519 (sql-buffer-live-p): New function.
7520 (sql-mode-menu, sql-send-string): Use it.
7521 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7523 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7524 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7526 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7528 * net/netrc.el (netrc-credentials): New convenience function.
7530 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7532 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7533 to replace texinfo-font-lock-syntactic-keywords.
7534 (texinfo-mode): Use it.
7536 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7537 Use syntax-propertize-function.
7539 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7540 replace sgml-font-lock-syntactic-keywords.
7541 (sgml-mode): Use it.
7543 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7544 since we don't use it.
7546 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7548 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7550 (vhdl-fontify-buffer): Adjust.
7552 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7553 replace tcl-font-lock-syntactic-keywords.
7556 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7557 replace simula-font-lock-syntactic-keywords.
7558 (simula-mode): Use it.
7560 * progmodes/sh-script.el (sh-st-symbol): Remove.
7561 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7562 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7563 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7564 (sh-font-lock-paren): Set syntax-multiline.
7565 (sh-font-lock-syntactic-keywords): Remove.
7566 (sh-syntax-propertize-function): New function to replace it.
7569 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7570 Define while compiling.
7571 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7572 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7573 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7574 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7575 (ruby-here-doc-end-syntax): Only define when
7576 syntax-propertize is not available.
7577 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7579 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7580 (electric-indent-chars): Silence bytecompiler.
7581 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7582 electric-indent-chars.
7584 * progmodes/python.el (python-syntax-propertize-function): New var to
7585 replace python-font-lock-syntactic-keywords.
7586 (python-mode): Use it.
7587 (python-quote-syntax): Simplify and adjust to new use.
7589 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7590 replace perl-font-lock-syntactic-keywords.
7591 (perl-syntax-propertize-special-constructs): New fun to replace
7592 perl-font-lock-special-syntactic-constructs.
7593 (perl-font-lock-syntactic-face-function): New fun.
7594 (perl-mode): Use it.
7596 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7597 to replace octave-font-lock-close-quotes.
7598 (octave-syntax-propertize-function): New function to replace
7599 octave-font-lock-syntactic-keywords.
7600 (octave-mode): Use it.
7602 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7603 replaces mixal-font-lock-syntactic-keywords.
7604 (mixal-mode): Use it.
7606 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7607 New var; replaces makefile-font-lock-syntactic-keywords.
7608 (makefile-mode): Use it.
7609 (makefile-imake-mode): Adjust.
7611 * progmodes/js.el (js--regexp-literal): Define while compiling.
7612 (js-syntax-propertize-function): New var; replaces
7613 js-font-lock-syntactic-keywords.
7616 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7617 replaces gdb-script-font-lock-syntactic-keywords.
7618 (gdb-script-mode): Use it.
7620 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7621 (fortran--font-lock-syntactic-keywords): New var.
7622 (fortran-line-length): Update syntax-propertize-function and
7623 fortran--font-lock-syntactic-keywords.
7625 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7627 * progmodes/cfengine.el (cfengine-mode):
7628 Use syntax-propertize-function.
7629 (cfengine-font-lock-syntactic-keywords): Remove.
7631 * progmodes/autoconf.el (autoconf-mode):
7632 Use syntax-propertize-function.
7633 (autoconf-font-lock-syntactic-keywords): Remove.
7635 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7636 (ada-after-change-function, ada-initialize-syntax-table-properties)
7637 (ada-handle-syntax-table-properties): Only define when
7638 syntax-propertize is not available.
7639 (ada-mode): Use syntax-propertize-function.
7641 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7642 (font-lock-fontify-syntactic-keywords-region): Move handling of
7643 font-lock-syntactically-fontified to...
7644 (font-lock-default-fontify-region): ...here.
7645 Let syntax-propertize-function take precedence.
7646 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7648 * emacs-lisp/syntax.el (syntax-propertize-function)
7649 (syntax-propertize-chunk-size, syntax-propertize--done)
7650 (syntax-propertize-extend-region-functions): New vars.
7651 (syntax-propertize-wholelines, syntax-propertize-multiline)
7652 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7653 (syntax-propertize): New functions.
7654 (syntax-propertize-rules): New macro.
7655 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7656 (syntax-ppss): Call syntax-propertize.
7658 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7660 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7662 * textmodes/ispell.el (ispell-init-process): Improve comments.
7663 XEmacs compatibility changes regarding (add-hook) 'local option
7664 and (set-process-query-on-exit-flag).
7666 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7668 * net/tramp-cache.el (tramp-parse-connection-properties):
7669 Set tramp-autoload cookie.
7671 2010-09-09 Glenn Morris <rgm@gnu.org>
7673 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7674 (imagemagick-register-types): Doc fix.
7676 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7680 * progmodes/js.el (require): Require is already "eval-and-compile".
7681 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7682 (js--re-search-backward): Use js--re-search-forward.
7684 * progmodes/fortran.el (fortran-line-length): Don't recompute
7685 syntactic keywords redundantly a second time.
7687 * progmodes/ada-mode.el: Replace "(set '" with setq.
7688 (ada-mode): Simplify.
7689 (ada-create-case-exception, ada-adjust-case-interactive)
7690 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7691 (ada-search-ignore-string-comment, ada-move-to-start)
7692 (ada-move-to-end): Use with-syntax-table.
7694 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7695 (font-lock-unfontify-region, font-lock-default-fontify-region):
7696 Update usage correspondingly.
7697 (font-lock-fontify-syntactic-keywords-region):
7698 Set parse-sexp-lookup-properties buffer-locally here.
7699 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7701 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7703 2010-09-08 Glenn Morris <rgm@gnu.org>
7705 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7706 Error if not compiled with -DBYTE_CODE_METER.
7708 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7709 Ignore dir-locals-file.
7711 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7713 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7715 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7716 for the `gnu' messages.
7717 (compilation-set-skip-threshold): New command.
7718 (compilation-start): Use \' rather than $.
7719 (compilation-forget-errors): Use clrhash.
7721 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7723 * textmodes/ispell.el (ispell-valid-dictionary-list):
7726 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7728 Migrate to Tramp 2.2. Rearrange load dependencies.
7729 (Bug#1529, Bug#5448, Bug#5705)
7731 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7732 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7733 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7735 * net/tramp.el (top): Remove all other tramp-* loads except
7736 tramp-compat.el. Remove all changes to tramp-unload-hook for
7737 other tramp-* packages. Rearrange defun order. Change calls of
7738 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7739 `tramp-compat-octal-to-decimal' to new function names.
7740 (tramp-terminal-type, tramp-initial-end-of-output)
7741 (tramp-methods, tramp-foreign-file-name-handler-alist)
7742 (tramp-tramp-file-p, tramp-completion-mode-p)
7743 (tramp-send-command-and-check, tramp-get-remote-path)
7744 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7745 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7746 (with-file-property, with-connection-property): Move to
7748 (tramp-local-call-process, tramp-decimal-to-octal)
7749 (tramp-octal-to-decimal): Move to tramp-compat.el.
7750 (tramp-handle-shell-command): Do not require 'shell.
7751 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7753 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7755 * net/tramp-cache.el (top): Require 'tramp. Add to
7756 `tramp-unload-hook'.
7757 (tramp-cache-data, tramp-get-file-property)
7758 (tramp-set-file-property, tramp-flush-file-property)
7759 (tramp-flush-directory-property, tramp-get-connection-property)
7760 (tramp-set-connection-property, tramp-flush-connection-property)
7761 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7763 (with-file-property, with-connection-property): New defuns, moved
7765 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7768 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7769 (tramp-version): Set tramp-autoload cookie.
7771 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7772 changes to tramp-unload-hook for other tramp-* packages. Add to
7773 `tramp-unload-hook'.
7774 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7775 (tramp-compat-call-process): New defuns, moved from tramp.el.
7777 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7778 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7779 Add to `tramp-unload-hook'. Change call of
7780 `tramp-compat-decimal-to-octal' to new function name.
7781 (tramp-fish-method): Make it a defconst.
7782 (tramp-fish-file-name-p): Make it a defsubst.
7783 (tramp-fish-method, tramp-fish-file-name-handler)
7784 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7786 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7787 `tramp-foreign-file-name-handler-alist'. Add to
7788 `tramp-unload-hook'.
7789 (tramp-ftp-method): Make it a defconst.
7790 (tramp-ftp-file-name-p): Make it a defsubst.
7791 (tramp-ftp-method, tramp-ftp-file-name-handler)
7792 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7794 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7795 `tramp-foreign-file-name-handler-alist'. Add to
7796 `tramp-unload-hook'. Change checks, whether package can be
7798 (tramp-gvfs-file-name-p): Make it a defsubst.
7799 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7800 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7801 (tramp-gvfs-handle-file-directory-p): New defun.
7802 (tramp-gvfs-file-name-handler-alist): Use it.
7804 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7805 `tramp-foreign-file-name-handler-alist'. Add to
7806 `tramp-unload-hook'.
7807 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7808 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7810 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7811 (tramp-gw-open-connection): Set tramp-autoload cookie.
7813 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7814 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7815 Add to `tramp-unload-hook'. Change checks, whether package can be
7817 (tramp-imap-file-name-p): Make it a defsubst.
7818 (tramp-imap-method, tramp-imaps-method)
7819 (tramp-imap-file-name-handler)
7820 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7822 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7823 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7824 Add to `tramp-unload-hook'. Change checks, whether package can be
7825 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7827 (tramp-smb-tunnel-method): Make it a defconst.
7828 (tramp-smb-file-name-p): Make it a defsubst.
7829 (tramp-smb-method, tramp-smb-file-name-handler)
7830 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7832 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7833 (tramp-uuencode-region): Set tramp-autoload cookie.
7835 * net/trampver.el (top) Add to `tramp-unload-hook'.
7836 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7837 cookie. Update release number.
7839 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7841 * textmodes/ispell.el (ispell-start-process): Make sure original
7842 arg list is properly initialized (Bug#6993, Bug#6994).
7844 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7846 * files.el (directory-abbrev-alist): Use \` as default regexp.
7848 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7849 chars like - or ] (bug#6984).
7850 (rx-any-condense-range): Explode 2-char ranges.
7852 2010-09-06 Glenn Morris <rgm@gnu.org>
7854 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7856 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7858 * textmodes/bibtex.el:
7859 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7861 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7863 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7864 since no callers use it.
7865 (imap-message-get): Ditto.
7866 (imap-message-put): Ditto.
7867 (imap-mailbox-map): Ditto.
7868 (imap-mailbox-put): Ditto.
7869 (imap-mailbox-get): Ditto.
7870 (imap-mailbox-get): Revert last change for this function.
7872 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7875 callers to use `imap-fetch' instead. According to the comments, this
7876 should be safe, since all other IMAP clients use the 1:* syntax.
7877 (imap-enable-exchange-bug-workaround): Remove.
7878 (imap-debug): Remove -- doesn't seem very useful.
7880 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7882 * net/imap.el (imap-log): New convenience function used throughout
7883 instead of repeating the same code all over the place.
7885 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7887 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7888 when mouse-drag-copy-region is non-nil (Bug#6956).
7890 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7892 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7893 Improve regexps (Bug#6987).
7894 (dired-sort-toggle): Search more robustly for -t flag.
7896 * files.el (get-free-disk-space): Search more robustly for
7897 "available" column. Suggested by Ehud Karni
7898 <ehud@unix.mvs.co.il>.
7900 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7902 * international/uni-bidi.el:
7903 * international/uni-category.el:
7904 * international/uni-combining.el:
7905 * international/uni-decimal.el:
7906 * international/uni-mirrored.el:
7907 * international/uni-name.el: Regenerate.
7909 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7911 * electric.el (electric-indent-post-self-insert-function):
7912 Don't reindent with a sloppy indentation function.
7914 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7915 border case in change-log-mode.
7917 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7919 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7920 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7921 Recognize leading tab in gcc-include regexp. Ignore names with
7922 leading "from" or "in" in gnu regexp (Bug#6937).
7924 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7926 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7927 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7928 (ispell-start-process): Avoid setq and simplify logic.
7929 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7930 (kill-buffer-hook): Don't use it globally with code that uses
7931 expand-file-name since that may call kill-buffer via
7932 code_conversion_restore.
7934 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7936 * emacs-lisp/package.el (package-directory-list): Only call
7937 file-name-nondirectory on a string.
7939 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7941 * emacs-lisp/package.el (package--download-one-archive):
7942 Ensure that archive-contents is valid before saving it.
7943 (package-activate-1, package-mark-obsolete, define-package)
7944 (package-compute-transaction, package-list-maybe-add): Use push.
7946 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7948 Use SMIE's blink-paren for octave-mode.
7949 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7950 Backslashes do not escape single-quotes, single-quotes do.
7951 (octave-block-else-regexp, octave-block-end-regexp)
7952 (octave-block-match-alist): Remove.
7953 (octave-smie-bnf-table): New var, with old content.
7954 (octave-smie-op-levels): Use it.
7955 (octave-smie-closer-alist): New var.
7956 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7957 (octave-blink-matching-block-open): Remove.
7958 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7959 (octave-electric-space): Let self-insert-command run expand-abbrev and
7962 * electric.el (electricity): New group.
7963 (electric-indent-chars): New var.
7964 (electric-indent-post-self-insert-function): New fun.
7965 (electric-indent-mode): New minor mode.
7966 (electric-pair-skip-self): New custom.
7967 (electric-pair-post-self-insert-function): New function.
7968 (electric-pair-mode): New minor mode.
7970 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7971 calcAlg-blink-matching-open.
7972 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7973 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7974 Use the new blink-matching-check-function.
7976 Provide blink-matching support to SMIE.
7977 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7978 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7979 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7981 * simple.el (newline): Fix last change to properly remove itself from
7984 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7986 * simple.el (newline): Eliminate optimization.
7987 Use post-self-insert-hook to set hard-newline and things before
7988 running post-self-insert-hook.
7989 (blink-matching-check-mismatch): New function.
7990 (blink-matching-check-function): New variable.
7991 (blink-matching-open): Use them.
7992 Skip back forward over prefix chars skipped by forward-sexp.
7993 Don't check if the parens are backslash escaped.
7994 (blink-paren-post-self-insert-function): Check backslash escaping here.
7996 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7998 * emacs-lisp/package.el (package-menu-mode-map):
7999 Change package-menu-revert bindings to revert-buffer.
8000 (package-menu-mode): Set revert-buffer-function.
8001 (package-menu-revert): Doc fix.
8003 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8005 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8006 `default-directory' unless using Ispell per-directory personal
8007 dictionaries and not in a mini-buffer under XEmacs.
8008 (kill-buffer-hook): Do not kill ispell process on exit when
8009 `ispell-process-directory' is "~/". (Bug#6143)
8011 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8013 * simple.el (kill-new): Call interprogram-cut-function with only
8016 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8017 Remove cut buffer from error message.
8019 * term/x-win.el (x-select-text):
8020 * term/pc-win.el (x-selection-value):
8021 * term/ns-win.el (x-selection-value):
8022 * eshell/em-term.el:
8023 * w32-fns.el (x-get-selection-value):
8024 * mouse-sel.el (mouse-sel-set-selection-function):
8025 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8027 * term/x-win.el: Update documentation for x-last-selected-text-*.
8028 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8029 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8030 (x-select-text): Remove argument PUSH, update documentation.
8031 Remove cut-buffer code.
8032 (x-selection-value-internal): Was previously x-selection-value.
8033 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8034 Update documentation, remove cut-buffer code.
8035 Call x-selection-value-internal.
8036 (x-clipboard-yank): Call x-selection-value-internal.
8037 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8039 * term/pc-win.el (x-last-selected-text):
8040 x-cut-buffer-or-selection-value renamed to x-selection-value
8041 (x-select-text): Remove argument PUSH, update documentation.
8043 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8044 x-cut-buffer-or-selection-value renamed to x-selection-value
8045 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8046 (x-select-text): Remove argument PUSH, update documentation.
8048 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8050 * w32-fns.el (x-last-selected-text):
8051 x-cut-buffer-or-selection-value renamed to x-selection-value.
8052 (x-cut-buffer-max): Remove.
8053 (x-select-text): Remove argument PUSH, update documentation.
8055 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8057 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8059 * mouse-sel.el (mouse-sel-get-selection-function):
8060 x-cut-buffer-or-selection-value renamed to x-selection-value.
8061 (x-select-text): Remove optional push.
8063 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8065 * simple.el (blink-paren-function): Move from C to here.
8066 (blink-paren-post-self-insert-function): New function.
8067 (post-self-insert-hook): Use it.
8069 * emacs-lisp/pcase.el (pcase-split-memq):
8070 Fix overenthusiastic optimisation.
8071 (pcase-u1): Handle the case of a lambda pred.
8073 2010-08-31 Kenichi Handa <handa@m17n.org>
8075 * international/mule-cmds.el (standard-display-european-internal):
8076 Setup standard-display-table for 8-bit characters by storing 8-bit
8077 characters in the element vector.
8079 * disp-table.el (standard-display-8bit):
8080 Setup standard-display-table for 8-bit characters by storing 8-bit
8081 characters in the element vector.
8082 (standard-display-european): Likewise.
8084 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8086 * textmodes/nroff-mode.el (nroff-view): New command.
8087 (nroff-mode-map): Bind it to C-c C-c.
8089 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8091 * emacs-lisp/smie.el (smie-down-list): New command.
8093 Remove old indentation and navigation code on octave-mode.
8094 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8095 smie-down-list rather than add a binding for octave-down-block.
8096 (octave-mark-block, octave-blink-matching-block-open):
8097 Rely on forward-sexp-function.
8098 (octave-fill-paragraph): Don't narrow, so you can use
8099 indent-according-to-mode.
8100 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8101 (octave-in-block-p, octave-re-search-forward-kw)
8102 (octave-re-search-backward-kw, octave-indent-calculate)
8103 (octave-end-as-array-index-p, octave-block-end-offset)
8104 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8105 (octave-down-block, octave-backward-up-block, octave-up-block)
8106 (octave-before-magic-comment-p, octave-indent-line): Remove.
8108 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8110 * emacs-lisp/package.el (package--read-archive-file): Just use
8111 `read', to avoid copying an additional string.
8112 (package-menu-mode): Set header-line-format here.
8113 (package-menu-refresh, package-menu-revert): Signal an error if
8114 not in the Package Menu.
8115 (package-menu-package-list): New var.
8116 (package--generate-package-list): Operate on the current buffer;
8117 don't assume that it is *Packages*, since the user may rename it.
8118 Allow persistent package listings and sort keys using
8119 package-menu-package-list and package-menu-package-sort-key.
8120 (package-menu--version-predicate): Fix version calculation.
8121 (package-menu-sort-by-column): Don't select the window.
8122 (package--list-packages): Create the *Packages* buffer.
8123 Set package-menu-package-list-key.
8124 (list-packages): Sorting by status is now the default.
8125 (package-buffer-info): Use match-string-no-properties.
8126 (define-package): Add a &rest argument for future proofing, but
8128 (package-install-from-buffer, package-install-buffer-internal):
8129 Merge into a single function, package-install-from-buffer.
8130 (package-install-file): Change caller.
8132 * finder.el: Load finder-inf using `require'.
8133 (finder-list-matches): Sorting by status is now the default.
8134 (finder-compile-keywords): Simpify printing.
8136 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8139 (octave-mode-map): Remove special bindings for forward/backward-block
8140 and octave-backward-up-block. Use smie-close-block.
8141 (octave-continuation-marker-regexp): New var.
8142 (octave-continuation-regexp): Use it.
8143 (octave-operator-table, octave-smie-op-levels)
8144 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8145 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8146 (octave-mode): Use SMIE.
8147 (octave-close-block): Delete.
8149 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8151 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8152 CLIPBOARD, not in PRIMARY. (Bug#6944)
8154 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8156 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8158 (smie-indent-column): Allow indirection through variables.
8160 * composite.el (save-buffer-state): Delete, unused.
8161 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8162 (font-lock-default-fontify-region): Use with-syntax-table.
8163 * jit-lock.el (with-buffer-unmodified): Remove.
8164 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8166 Use `declare' in defmacros.
8167 * window.el (save-selected-window):
8168 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8169 * progmodes/python.el (def-python-skeleton):
8170 * net/dbus.el (dbus-ignore-errors):
8171 * jka-cmpr-hook.el (with-auto-compression-mode):
8172 * international/mule.el (with-category-table):
8173 * emacs-lisp/timer.el (with-timeout):
8174 * emacs-lisp/lisp-mnt.el (lm-with-file):
8175 * emacs-lisp/eieio.el (with-slots):
8176 * emacs-lisp/easymenu.el (easy-menu-define):
8177 * emacs-lisp/debug.el (debugger-env-macro):
8178 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8179 (Multiple-value-call, Multiple-value-prog1):
8180 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8181 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8182 edebug rule to definition.
8183 * emacs-lisp/lisp-mode.el (save-selected-window)
8184 (with-current-buffer, combine-after-change-calls)
8185 (with-output-to-string, with-temp-file, with-temp-buffer)
8186 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8187 (dolist, dotimes, when, unless):
8188 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8190 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8192 * finder.el: Require `package'.
8193 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8194 (finder-package-info): Var deleted.
8195 (finder-keywords-hash, finder--builtins-alist): New vars.
8196 (finder-compile-keywords): Compute package--builtins and
8197 finder-keywords-hash instead of finder-keywords-hash, respecting
8198 the "Package" header.
8199 (finder-unknown-keywords, finder-list-matches):
8200 Use finder-keywords-hash and package--list-packages.
8201 (finder-mode): Don't set font-lock-defaults.
8202 (finder-exit): We don't use "*Finder-package*" and "*Finder
8203 Category*" buffers anymore.
8205 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8206 (package--builtins): Set default value to nil.
8207 (package-initialize): Load precomputed value of package--builtins
8209 (package-alist, package-compute-transaction)
8210 (package-download-transaction): Improve docstring.
8211 (package-read-all-archive-contents): Do not change
8212 package--builtins here.
8213 (list-packages): Make package-list-packages an alias for this.
8214 Sort by status by default.
8215 (package--list-packages): Add optional PACKAGES arg.
8216 (describe-package-1): Use font-lock-face property. For built-in
8217 packages, insert file commentary.
8218 (package--generate-package-list): Rename from
8219 package-list-packages-internal; all callers changed. Add optional
8220 PACKAGES arg. Add alphabetical sort fallbacks.
8221 (package-menu--version-predicate, package-menu--status-predicate)
8222 (package-menu--description-predicate)
8223 (package-menu--name-predicate): New functions.
8225 * info.el (Info-finder-find-node): Search package-alist instead of
8226 finder-package-info.
8228 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8230 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8232 (version-to-list): Handle versions like "10.3d".
8234 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8237 (macroexp-accumulate): Use `declare'.
8239 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8241 * whitespace.el (whitespace-style): Adjust type declaration.
8243 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8245 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8247 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8249 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8252 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8254 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8255 (js-paren-indent-offset, js-square-indent-offset)
8256 (js-curly-indent-offset): New options.
8257 (js--proper-indentation): Use them.
8259 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8261 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8262 instead of inspecting font-lock properties (Bug#6916).
8264 2010-08-26 David Reitter <david.reitter@gmail.com>
8266 * server.el (server-visit-files): Run pre-command-hook and
8267 post-command-hook for each buffer while it is current (Bug#6910).
8268 (server-execute): Do not run hooks here.
8270 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8272 Sync with Tramp 2.1.19.
8274 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8276 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8278 * net/tramp.el (tramp-handle-expand-file-name)
8279 (tramp-completion-handle-file-name-all-completions)
8280 (tramp-completion-handle-file-name-completion):
8281 Use `tramp-connectable-p'.
8283 * net/trampver.el: Update release number.
8285 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8287 * help.el (help-map): Bind `C-h P' to describe-package.
8289 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8291 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8292 when downloading archives.
8293 (describe-package-1): Add package commentary.
8294 (package-install-button-action): New function.
8295 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8296 (package-menu-view-commentary): Function removed.
8297 (package-list-packages-internal): Hide the `package' package too.
8299 2010-08-25 Kenichi Handa <handa@m17n.org>
8301 * language/misc-lang.el ("Arabic"): New language environment.
8302 Setup composition-function-table for Arabic characters.
8304 * international/fontset.el (setup-default-fontset): Fix typo for
8305 arabic OTF spec (fini->fina).
8307 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8309 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8312 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8314 * whitespace.el: Allow cleaning up blanks without blank
8315 visualization (Bug#6651). Adjust help window for
8316 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8317 instead of whitespace-line-column (from EmacsWiki). New version
8319 (whitespace-style): Add new value 'face. Adjust docstring.
8320 (whitespace-space, whitespace-hspace, whitespace-tab):
8321 Adjust foreground property face.
8322 (whitespace-line-column): Adjust docstring and type declaration.
8323 (whitespace-style-value-list, whitespace-toggle-option-alist)
8324 (whitespace-help-text): Adjust const initialization.
8325 (whitespace-toggle-options, global-whitespace-toggle-options):
8327 (whitespace-display-window, whitespace-interactive-char)
8328 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8329 (whitespace-help-scroll): New fun.
8331 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8333 * emacs-lisp/package.el (list-packages): Alias for
8334 package-list-packages.
8336 2010-08-24 Kevin Ryde <user42@zip.com.au>
8338 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8341 * progmodes/ruby-mode.el (ruby): Add defgroup.
8343 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8345 * progmodes/python.el: Add Ipython support (Bug#5390).
8346 (python-shell-prompt-alist)
8347 (python-shell-continuation-prompt-alist): New options.
8348 (python--set-prompt-regexp): New function.
8349 (inferior-python-mode, run-python, python-shell):
8350 Require ansi-color. Use python--set-prompt-regexp to set the comint
8351 prompt based on the Python interpreter.
8352 (python--prompt-regexp): New var.
8353 (python-check-comint-prompt)
8354 (python-comint-output-filter-function): Use it.
8355 (run-python): Use a pipe (Bug#5694).
8357 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8359 * progmodes/python.el (python-send-region): Send a different
8360 Python command if Ipython is in use.
8361 (python-check-version): Use a Python command to find the version.
8363 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8365 * mouse.el (mouse-yank-primary): Avoid setting primary when
8366 deactivating the mark (Bug#6872).
8368 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8370 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8371 with "else" (Bug#3991).
8373 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8375 * net/dbus.el: Accept UNIX domain sockets as bus address.
8376 (top): Don't initialize `dbus-registered-objects-table' anymore,
8377 this is done in dbusbind.c.
8378 (dbus-check-event): Adapt test for bus.
8379 (dbus-return-values-table, dbus-unregister-service)
8380 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8383 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8385 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8387 2010-08-22 Juri Linkov <juri@jurta.org>
8389 * simple.el (read-extended-command): New function with the logic
8390 for `completing-read' moved to Elisp from `execute-extended-command'.
8391 Use `function-called-at-point' in `minibuffer-default-add-function'
8392 to get a command name for M-n (bug#5364, bug#5214).
8394 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8396 * startup.el (command-line-1): Issue warning for ignored arguments
8397 --unibyte, etc (Bug#6886).
8399 2010-08-22 Leo <sdl.web@gmail.com>
8401 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8402 (ignore, bright, dim, keyword): Split list of nicknames before
8403 passing to rcirc-add-or-remove (Bug#6894).
8405 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8407 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8409 2010-08-22 Leo <sdl.web@gmail.com>
8411 Fix buffer-list rename&refresh after killing a buffer in ido.
8412 * ido.el: Revert Óscar's.
8413 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8414 Remember the buffers at head, rather than their name.
8415 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8417 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8418 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8421 extra backslash added to each line (bug#6890).
8423 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8425 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8427 2010-08-22 Glenn Morris <rgm@gnu.org>
8429 * menu-bar.el (menu-bar-games-menu): Add landmark.
8431 2010-08-22 Glenn Morris <rgm@gnu.org>
8433 * align.el (align-regexp): Make group and spacing arguments
8434 use the interactive defaults when non-interactive. (Bug#6698)
8436 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8437 expansion, so as not to need sendmail.
8438 (mail-text-start): Remove declaration.
8439 (rmail-retry-failure): Require sendmail.
8441 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8443 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8445 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8447 * progmodes/flymake.el (flymake-start-syntax-check-process):
8448 Use `start-file-process' in order to let it run also on remote hosts.
8450 2010-08-22 Kenichi Handa <handa@m17n.org>
8452 * files.el: Add `word-wrap' as safe local variable.
8454 2010-08-22 Glenn Morris <rgm@gnu.org>
8456 * woman.el (woman-translate): Case matters. (Bug#6849)
8458 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8460 * simple.el (kill-region): Doc fix (Bug#6787).
8462 2010-08-22 Glenn Morris <rgm@gnu.org>
8464 * calendar/diary-lib.el (diary-header-line-format):
8465 Fit it to the window, not the frame.
8467 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8469 * subr.el (ignore-errors): Add debug declaration.
8471 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8473 * whitespace.el (whitespace-color-off): Remove post-command-hook
8476 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8478 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8480 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8482 * cus-edit.el (custom-group-value-create): Add extra newline
8483 before end line (Bug#6876).
8485 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8487 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8488 when extending it. Before killing on the second click, check if
8489 the buffer is the correct one. Doc fix.
8490 (mouse-secondary-save-then-kill): Allow usage without first
8491 calling mouse-start-secondary, by defaulting to point. Don't save
8492 an empty secondary selection. Doc fix.
8494 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8496 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8497 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8499 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8500 Adjust initialization.
8501 (whitespace-bob-marker, whitespace-eob-marker)
8502 (whitespace-buffer-changed): New vars.
8503 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8504 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8505 (whitespace-post-command-hook, whitespace-display-char-on):
8507 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8508 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8510 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8512 * files.el (locate-file-completion-table): Only list the .el and .elc
8513 extensions if there's no other choice (bug#5955).
8515 * facemenu.el (facemenu-self-insert-data): New var.
8516 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8518 (facemenu-add-face): Use them.
8520 * simple.el (blink-matching-open): Obey forward-sexp-function.
8522 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * simple.el (prog-mode-map): New var.
8525 (prog-indent-sexp): New command.
8527 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8529 * progmodes/prolog.el (smie): Require.
8531 * emacs-lisp/smie.el (smie-default-backward-token)
8532 (smie-default-forward-token): Strip properties.
8533 (smie-next-sexp): Be more careful with associative operators.
8534 (smie-forward-sexp-command): Generalize.
8535 (smie-backward-sexp-command): Simplify.
8536 (smie-closer-alist): New var.
8537 (smie-close-block): New command.
8538 (smie-indent-debug-log): New var.
8539 (smie-indent-offset-rule): Add a few more cases.
8540 (smie-indent-column): New function.
8541 (smie-indent-after-keyword): Use it.
8542 (smie-indent-keyword): Use it.
8543 Fix up the opener code's point position.
8544 (smie-indent-comment): Only applies at BOL.
8545 (smie-indent-debug): New command.
8547 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8548 declarations that are useful before running the macro.
8550 2010-08-18 Joakim Verona <joakim@verona.se>
8552 * image.el (imagemagick-types-inhibit): New variable.
8553 (imagemagick-register-types): New function.
8554 * image-mode.el (image-transform-properties): New function.
8555 (image-transform-set-scale, image-transform-fit-to-height)
8556 (image-transform-set-rotation, image-transform-set-resize)
8557 (image-transform-fit-to-width, image-transform-fit-to-height):
8559 (image-toggle-display-image): Support image transforms.
8561 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8563 * image.el (create-animated-image): Don't add heuristic mask to image
8566 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8568 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8569 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8571 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8575 Font-lock '...' strings, plus various simplifications and fixes.
8576 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8577 (octave-font-lock-close-quotes): New function.
8578 (octave-font-lock-syntactic-keywords): New var.
8579 (octave-mode): Use it. Set beginning-of-defun-function.
8580 (octave-mode-map): Don't override the <foo>-defun commands.
8581 (octave-mode-menu): Pass it directly to easy-menu-define;
8582 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8583 (octave-block-match-alist): Fix up last change so that
8584 octave-close-block uses the more specific keyword.
8585 (info-lookup-mode): Silence byte-compiler.
8586 (octave-beginning-of-defun): Not interactive any more.
8588 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8589 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8590 (octave-completion-at-point-function): Make sure point is within
8592 (octave-reindent-then-newline-and-indent):
8593 Use reindent-then-newline-and-indent.
8594 (octave-add-octave-menu): Remove.
8596 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8598 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8599 (report-emacs-bug-can-use-xdg-email): New functions.
8600 (report-emacs-bug): Set can-xdg-email to result of
8601 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8602 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8605 * net/browse-url.el (browse-url-default-browser): Add cond
8606 for browse-url-xdg-open.
8607 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8609 2010-08-17 Glenn Morris <rgm@gnu.org>
8611 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8612 (c-fontify-recorded-types-and-refs): Define for compiler.
8613 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8616 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8619 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8621 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8623 (tramp-handle-process-file): Call the program in a subshell, in
8624 order to preserve working directory.
8625 (tramp-action-password): Hide password prompt before next run.
8626 (tramp-process-actions): Widen connection buffer for the trace.
8628 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8630 * net/rcirc.el (rcirc-log-process-buffers): New option.
8631 (rcirc-print): Use it.
8632 (rcirc-generate-log-filename): New function.
8633 (rcirc-log-filename-function): Change default to
8634 rcirc-generate-log-filename (Bug#6828).
8636 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8638 * simple.el (deactivate-mark): If select-active-regions is `only',
8639 only set selection for temporarily active regions.
8641 * cus-start.el: Change defcustom for select-active-regions.
8643 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8645 * mouse.el (mouse--drag-set-mark-and-point): New function.
8646 (mouse-drag-track): Use LOCATION arg to push-mark.
8647 Use mouse--drag-set-mark-and-point to take click-count into
8648 consideration when updating point and mark (Bug#6840).
8650 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8652 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8653 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8655 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8657 * font-lock.el (lisp-font-lock-keywords-2):
8658 Add combine-after-change-calls, condition-case-no-debug,
8659 with-demoted-errors, and with-silent-modifications (Bug#6025).
8661 2010-08-14 Kevin Ryde <user42@zip.com.au>
8663 * emacs-lisp/copyright.el (copyright-update-year)
8664 (copyright-update): Temporary switch-to-buffer to ensure the
8665 buffer change being queried is visible (Bug#5394).
8667 2010-08-14 Tom Tromey <tromey@redhat.com>
8669 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8672 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8674 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8677 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8679 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8680 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8681 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8682 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8683 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8684 Call menu-bar-set-tool-bar-position.
8686 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8688 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8689 comment style (bug#6834).
8690 * progmodes/scheme.el (scheme-mode-syntax-table):
8691 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8692 "b" flag in "' 14b" syntax.
8694 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8695 for (un)commenting the region and performing completion.
8696 (octave-mode-menu): Use standard commands for help and completion.
8697 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8698 (octave-mode): Use define-derived-mode.
8699 Set completion-at-point-functions and don't set columns.
8700 Don't disable adaptive-fill-regexp.
8701 (octave-describe-major-mode, octave-comment-region)
8702 (octave-uncomment-region, octave-comment-indent)
8703 (octave-indent-for-comment): Remove.
8704 (octave-indent-calculate): Rename from calculate-octave-indent.
8705 (octave-indent-line, octave-fill-paragraph): Update caller.
8706 (octave-initialize-completions): No need to make an alist.
8707 (octave-completion-at-point-function): New function.
8708 (octave-complete-symbol): Use it.
8709 (octave-insert-defun): Use define-skeleton.
8711 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8712 (octave-mode-map): Use comment-dwim (bug#6829).
8714 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8716 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8717 indentation of inserted comment.
8719 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8721 * faces.el (region): Add type gtk that uses gtk colors.
8723 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8724 Handle theme-name change.
8726 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8728 * progmodes/sql.el: Version 2.5
8729 (sql-product-alist): Add :prompt-cont-regexp property for several
8731 (sql-prompt-cont-regexp): New variable.
8732 (sql-output-newline-count, sql-output-by-send):
8733 New variables. Record number of newlines in input text.
8734 (sql-send-string): Handle multiple filters and count newlines.
8735 (sql-send-magic-terminator): Count terminator newline.
8736 (sql-interactive-remove-continuation-prompt): Filters output to
8737 remove continuation prompts; one for each newline.
8738 (sql-interactive-mode): Set up new variables, prompt regexp and
8740 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8741 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8743 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8745 * emacs-lisp/pcase.el: New file.
8747 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8749 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8750 as here-document, otherwise the command could exceed maximum
8751 length of command line.
8752 (tramp-handle-vc-registered): Call script accordingly.
8753 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8755 2010-08-10 Kenichi Handa <handa@m17n.org>
8757 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8760 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8762 * emacs-lisp/package.el (package-version-split)
8763 (package--version-first-nonzero, package-version-compare):
8765 (package-directory-list, package-load-all-descriptors)
8766 (package--built-in, package-activate, define-package)
8767 (package-installed-p, package-compute-transaction)
8768 (package-read-all-archive-contents)
8769 (package--add-to-archive-contents, package-buffer-info)
8770 (package-tar-file-info, package-list-packages-internal):
8771 Use version-to-list and version-list-*.
8773 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8774 Use version-to-list.
8775 (package-upload-buffer-internal): Use version-list-<=.
8777 2010-08-09 Kenichi Handa <handa@m17n.org>
8779 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8782 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8784 * tutorial.el (tutorial--default-keys): C-d is now bound to
8785 delete-forward-char (Bug#6826).
8787 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8788 for `double' value of mouse-1-click-follows-link (Bug#6807).
8790 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8792 * replace.el (replace-highlight): Bind isearch-forward and
8793 isearch-error, ensuring that highlighting is updated if the user
8794 switches the search direction (Bug#6808).
8796 * isearch.el (isearch-lazy-highlight-forward): New var.
8797 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8798 (isearch-lazy-highlight-update): Use it.
8800 2010-08-08 Kenichi Handa <handa@m17n.org>
8802 * international/mule.el (define-charset): Store NAME as :base property.
8803 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8804 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8805 current priority. Force using the designation of the specific
8806 charset by adding `charset' text property. Improve the whole algorithm.
8808 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8810 * emulation/pc-select.el (pc-selection-mode-hook)
8811 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8812 (pc-selection-mode): Fix typos in docstrings.
8814 2010-08-08 Kenichi Handa <handa@m17n.org>
8816 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8817 ctext-non-standard-encodings-alist here.
8819 * international/mule.el (ctext-non-standard-encodings-alist):
8820 Add "koi8-r" and "microsoft-cp1251".
8821 (ctext-standard-encodings): New variable.
8822 (ctext-non-standard-encodings-table): List only elements for
8823 non-standard encodings.
8824 (ctext-pre-write-conversion): Adjust for the above change.
8825 Check ctext-standard-encodings.
8827 * international/mule-conf.el (compound-text): Doc fix.
8828 (ctext-no-compositions): Doc fix.
8829 (compound-text-with-extensions): Doc fix.
8831 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8833 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8835 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8837 * progmodes/which-func.el (which-func-format): Split help-echo text
8838 into lines, like other mode-line tooltips.
8840 * server.el (server-start): When using TCP sockets, force IPv4
8841 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8843 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8847 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8849 * term.el (term-delimiter-argument-list): Reflow docstring.
8850 (term-read-input-ring, term-write-input-ring, term-send-input)
8851 (term-bol, term-erase-in-display, serial-supported-or-barf):
8852 Fix typos in docstrings.
8854 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8856 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8858 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8860 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8862 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8864 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8865 Fix typo in docstring (bug#6747).
8867 2010-08-08 Leo <sdl.web@gmail.com>
8869 * eshell/esh-io.el (eshell-get-target): Better detection of
8870 read-only file (Bug#6762).
8872 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8874 * align.el (align-default-spacing): Doc fix.
8875 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8877 2010-08-08 Stephen Peters <speters@itasoftware.com>
8879 * calendar/icalendar.el
8880 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8881 (icalendar--get-weekday-numbers): New.
8882 (icalendar--convert-recurring-to-diary): Handle multiple byday
8883 values in weekly rules. (Bug#6766)
8885 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8887 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8888 (icalendar--create-uid, icalendar-export-region)
8889 (icalendar--parse-summary-and-rest): Code formatting.
8891 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8893 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8894 to italicize headers.
8895 (calc-highlight-selections-with-faces): New variable.
8896 (calc-selected-face, calc-nonselected-face): New faces.
8898 * calc/calccomp.el (math-comp-highlight-string): Use
8899 `calc-highlight-selections-with-faces' to determine how to highlight
8902 * calc/calc-sel.el (calc-show-selections): Change message to when
8903 using faces to highlight selections.
8905 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8907 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8908 Add SQLite 3 keywords, functions and datatypes.
8909 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8912 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8914 * simple.el (select-active-regions): Move to keyboard.c.
8915 (deactivate-mark): Used saved-region-selection.
8916 (select-active-region): Function removed.
8917 (activate-mark, set-mark, push-mark-command)
8918 (handle-shift-selection): Don't call it.
8919 (keyboard-quit): Avoid adding the region to the window selection.
8921 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8922 select-active-regions implementation.
8923 (mouse-yank-at-click): Doc fix.
8925 * cus-start.el: Add custom declaration for select-active-regions.
8927 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8929 * simple.el (delete-forward-char): Doc fix.
8931 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8932 after reading the tutorial.
8934 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8936 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8937 Fix for the case that a C style comment has its delimiters alone on
8938 their respective lines. (Bug#193)
8940 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8942 * net/tramp.el (tramp-handle-start-file-process): Set connection
8944 (tramp-process-sentinel): Use it for flushing the cache.
8945 We cannot do it via the process buffer, the buffer could be deleted
8946 already when running the sentinel.
8948 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8950 * comint.el (comint-mode): Make directory tracking functions
8951 functional on remote files. (Bug#6764)
8953 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8955 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8957 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8959 * emacs-lisp/find-gc.el (find-gc-source-files):
8960 Rename unexec.c => unexcoff.c.
8962 * emacs-lisp/authors.el (authors-fixed-entries):
8963 Rename unexec.c => unexcoff.c.
8965 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8967 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8968 cache, not only file cache.
8969 (tramp-process-sentinel): New defun.
8970 (tramp-handle-start-file-process): Use it, in order to invalidate
8973 2010-08-03 Leo <sdl.web@gmail.com>
8975 * server.el (server-start): Simplify loop.
8977 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * frame.el (screen-height, screen-width, set-screen-width)
8980 (set-screen-height): Remove ancient compatibility aliases.
8982 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8983 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8985 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8986 that change current buffer.
8988 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8990 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8991 beginning of the string. Use `string-match-p'. (Bug#6765)
8993 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8995 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8997 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8999 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9000 (package--builtins): Tweak descriptions.
9001 (package-print-package): Upcase descriptions if necessary.
9002 Show all built-in packages in font-lock-builtin-face.
9003 (package-list-packages-internal): Omit "emacs" package.
9004 Show status of built-in packages as "built-in".
9006 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9008 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9009 before killing to preserve the primary selection (Bug#6701).
9011 * term/x-win.el (x-select-text): Doc fix.
9013 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9015 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9016 (objc-font-lock-extra-types):
9017 * progmodes/cc-mode.el (c-basic-common-init):
9018 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9019 (c++-make-template-syntax-table)
9020 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9021 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9022 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9023 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9024 * progmodes/cc-fonts.el (c-make-inverse-face)
9025 (c-basic-matchers-after):
9026 * progmodes/cc-engine.el (c-forward-keyword-clause)
9027 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9028 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9029 (c-guess-continued-construct, c-guess-basic-syntax):
9030 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9031 The above functions were modified or created.
9033 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9035 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9037 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9039 * files.el (bidi-paragraph-direction): Define safe local values.
9041 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9042 language-info-alist. Remove outdated FIXME in a comment.
9044 2010-07-31 Alan Mackenzie <acm@muc.de>
9046 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9047 Auto-fill broken in C/C++ modes.
9049 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9051 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9052 (menu-bar-showhide-tool-bar-menu-customize-disable)
9053 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9054 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9055 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9056 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9057 make a menu for Options => toolbar that can move it.
9059 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9061 * emacs-lisp/package-x.el (package--make-rss-entry):
9062 (package-maint-add-news-item, package--update-news)
9063 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9065 * emacs-lisp/package.el (package-archive-url): Rename from
9067 (package-install): Doc fix.
9068 (package-download-single, package-download-tar, package-install)
9069 (package-menu-view-commentary): Callers changed.
9071 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9073 * net/tramp.el (tramp-handle-start-file-process): Check only for
9074 `remote-tty' process property.
9075 (tramp-open-shell): Don't check for tty.
9076 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9079 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9082 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9084 * emacs-lisp/package.el (package-load-list, package-archives)
9085 (package-archive-contents, package-user-dir)
9086 (package-directory-list, package--builtins, package-alist)
9087 (package-activated-list, package-obsolete-alist): Mark as risky.
9089 2010-07-28 Phil Hagelberg <phil@evri.com>
9091 Add support for non-default package repositories.
9092 * emacs-lisp/package.el (package-archive-base): Var deleted.
9093 (package-archives): New variable.
9094 (package-archive-contents): Doc fix.
9095 (package-load-descriptor): Do nothing if descriptor file is missing.
9096 (package--write-file-no-coding): New function.
9097 (package-unpack-single): Use it.
9098 (package-archive-id): New function.
9099 (package-download-single, package-download-tar)
9100 (package-menu-view-commentary): Use it.
9101 (package-installed-p): Make second argument optional.
9102 (package-read-all-archive-contents): New function.
9103 (package-initialize): Use it.
9104 (package-read-archive-contents): Add ARCHIVE argument.
9105 (package--add-to-archive-contents): New function.
9106 (package-install): Don't call package-read-archive-contents.
9107 (package--download-one-archive): Store archive file in a
9108 subdirectory of package-user-dir.
9109 (package-menu-execute): Remove spurious line movement.
9111 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9113 * cus-start.el (tool-bar-style): Add text-image-horiz.
9115 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9117 * progmodes/gud.el (gud-common-init): Check for remoteness of
9118 `file', and not of `default-directory'.
9120 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9122 * net/tramp.el (tramp-methods): Move hostname to the end in all
9123 ssh `tramp-login-args'.
9124 (tramp-verbose): Describe verbose level 9.
9125 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9126 (tramp-open-connection-setup-interactive-shell): Trace stty
9127 settings if `tramp-verbose' >= 9.
9128 (tramp-handle-start-file-process): Implement tty setting.
9129 (Bug#4604, Bug#6360)
9131 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9132 `tramp-verbose' to 9.
9134 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9136 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9137 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9138 Remove references to package `lisp-re' (bug#4369).
9140 2010-07-27 Tom Tromey <tromey@redhat.com>
9142 * progmodes/js.el (js-mode):
9143 * progmodes/make-mode.el (makefile-mode):
9144 * progmodes/simula.el (simula-mode):
9145 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9147 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9149 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9151 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9152 (display-time-world-buffer-name, display-time-world-mode-map):
9153 Fix typos in docstrings.
9155 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9157 * image-mode.el (image-display-size): New function.
9158 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9159 (image-mode-fit-frame): Use it (Bug#6639).
9161 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9163 * dired.el (dired-buffers-for-dir): Handle list values of
9164 dired-directory (Bug#6636).
9166 2010-07-26 Sam Steingold <sds@gnu.org>
9168 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9169 Do not call `x-get-selection' the second time, reuse the value.
9171 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9173 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9174 which consist of control chars only. Suggested by Richard Stallman.
9176 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9178 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9179 exists before passing an error to find-file-not-found-functions
9182 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9184 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9185 Remove leading nil element, adjust values.
9186 (tetris-shapes, tetris-shape-scores):
9187 Change representation of shapes and remove some redundancy.
9188 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9189 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9190 Adjust for working with new representation of shapes.
9191 (tetris-shape-rotations): New function.
9192 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9193 (tetris-rotate-prev, tetris-rotate-next):
9194 Adjust for working with the new version of tetris-test-shape.
9196 2010-07-23 Markus Triska <markus.triska@gmx.at>
9198 * progmodes/ps-mode.el: Use comint (bug#5954).
9199 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9200 (ps-mode-other-newline): Simplify.
9201 (ps-run-mode): Derive from comint-mode instead of
9202 fundamental-mode, yielding input history etc.
9203 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9204 (ps-run-send-string): Adapt for comint-mode.
9205 (ps-run-newline): Remove now unneeded function.
9207 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9209 * net/tramp.el (tramp-methods): Move hostname to the end in all
9210 plink `tramp-login-args'.
9212 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9214 * net/tramp.el (tramp-open-shell): New defun.
9215 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9218 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9220 * net/tramp.el (tramp-file-name-regexp-unified)
9221 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9222 not regard the volume letter as remote filename. (Bug#5447)
9224 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9226 * custom.el (custom-declare-variable): Give a clearer error message
9227 when the docstring is missing (bug#6476).
9229 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9231 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9232 (sql-login-params): New widget definition.
9233 (sql-oracle-login-params, sql-mysql-login-params)
9234 (sql-solid-login-params, sql-sybase-login-params)
9235 (sql-informix-login-params, sql-ingres-login-params)
9236 (sql-ms-login-params, sql-postgres-login-params)
9237 (sql-interbase-login-params, sql-db2-login-params)
9238 (sql-linter-login-params): Use it.
9239 (sql-sqlite-login-params): Use it; Define "database" parameter as
9241 (sql-sqlite-program): Change to "sqlite3".
9242 (sql-comint-sqlite): Make sure database name is complete.
9243 (sql-for-each-login): New function.
9244 (sql-connect, sql-save-connection): Use it.
9245 (sql-get-login-ext): New function.
9246 (sql-get-login): Use it.
9247 (sql-make-alternate-buffer-name): Handle :file parameters.
9249 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9251 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9252 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9254 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9256 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9258 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9260 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9262 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9264 * net/tramp.el (tramp-get-ls-command)
9265 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9268 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9270 * progmodes/sql.el: Version 2.3.
9271 (sql-connection-alist): Change keys from symbols to strings;
9272 enhanced the widget definition.
9273 (sql-mode-menu): Add submenu to select connections.
9274 (sql-interactive-mode-menu): Add "Save Connection" item.
9275 (sql-add-product): Fix menu item.
9276 (sql-get-product-feature): Improved error handling.
9277 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9278 (sql-make-alternate-buffer-name): Simplified.
9279 (sql-product-interactive): Handle missing product.
9280 (sql-connect): Support string keys, minor improvements.
9281 (sql-save-connection): New function.
9282 (sql-connection-menu-filter): New function.
9284 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9286 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9287 (tramp-open-connection-setup-interactive-shell):
9288 Apply workaround for IRIX64 bug. Move argument of last
9289 `tramp-send-command' where it belongs to.
9291 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9293 * net/tramp.el (tramp-perl-file-attributes)
9294 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9295 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9296 front of `login-args'.
9298 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9300 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9301 Set `show-trailing-whitespace' to nil.
9302 (display-time-world-display): Simplify.
9304 2010-07-18 Alan Mackenzie <acm@muc.de>
9306 Enhance `c-file-style' in file/directory local variables.
9307 * progmodes/cc-mode.el (c-count-cfss): New function.
9308 (c-before-hack-hook): Call `c-set-style' differently according to
9309 whether c-file-style was set in file or directory local
9312 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9314 * progmodes/sql.el: Version 2.2.
9315 (sql-product, sql-user, sql-database, sql-server, sql-port):
9316 Use defcustom :safe keyword rather than putting safe-local-variable
9318 (sql-password): Use defcustom :risky keyword rather than putting
9319 risky-local-variable property.
9320 (sql-oracle-login-params, sql-sqlite-login-params)
9321 (sql-solid-login-params, sql-sybase-login-params)
9322 (sql-informix-login-params, sql-ingres-login-params)
9323 (sql-ms-login-params, sql-postgres-login-params)
9324 (sql-interbase-login-params, sql-db2-login-params)
9325 (sql-linter-login-params): Add `port' option.
9326 (sql-get-product-feature): Add NO-INDIRECT parameter.
9327 (sql-comint-oracle, sql-comint-sybase)
9328 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9329 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9330 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9331 (sql-comint-linter): Rename sql-connect-* functions to
9333 (sql-product-alist, sql-mode-menu): Rename as above and
9334 :sqli-connect-func to :sqli-comint-func.
9335 (sql-connection): New variable.
9336 (sql-interactive-mode): Set it.
9337 (sql-connection-alist): New variable.
9338 (sql-connect): New function.
9339 (sql--alt-buffer-part, sql--alt-if-not-empty)
9340 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9342 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9344 * image-mode.el (image-bookmark-make-record): Do not set context
9345 in an image (Bug#6650).
9347 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9349 * simple.el (select-active-region): New function.
9350 (push-mark-command, set-mark, activate-mark)
9351 (handle-shift-selection): Use it.
9352 (deactivate-mark): Don't check for size of region.
9354 * mouse.el (mouse-drag-track): Use select-active-region.
9356 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9358 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9361 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9363 * term/x-win.el (x-select-enable-primary): Change default to nil.
9364 (x-select-enable-clipboard): Add :version keyword.
9366 * mouse.el (mouse-drag-copy-region):
9367 * simple.el (select-active-regions): Likewise.
9369 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9371 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9372 (vc-coding-system-for-diff): Use it to decide whether to inherit
9373 from the file the EOL format for reading the diffs of that file.
9376 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9378 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9379 unibyte, so compressed attachments are not compressed again.
9381 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9383 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9384 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9385 (tramp-find-shell): Simplify setting connection property.
9386 (tramp-get-ls-command): Make test for "--color=never" stronger.
9388 2010-07-15 Simon South <ssouth@member.fsf.org>
9390 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9391 blocks within record declarations (i.e. variant parts) correctly.
9393 2010-07-15 Simon South <ssouth@member.fsf.org>
9395 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9396 over literal tokens when parsing so newlines aren't "absorbed" by
9397 single-line comments. Corrects the indentation of case blocks
9398 that have a comment on the first line.
9400 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9402 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9403 by Drew Adams (Bug#5504).
9405 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9407 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9408 now that Unicode is used (Bug#6594).
9410 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9412 * term/x-win.el (x-select-enable-clipboard): Default to t.
9413 (x-initialize-window-system): Don't overwrite Paste menu item.
9415 * simple.el (select-active-regions): Default to t.
9416 (push-mark-command): Don't overwrite primary with empty string.
9418 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9419 (mouse-drag-copy-region): Default to nil.
9421 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9422 Cut/Copy/Paste menu bar items.
9424 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9426 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9427 Patch applied by Karl Fogel.
9429 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9430 and `bookmark-current-buffer' if they have been already set in
9431 another buffer (e.g gnus-art).
9433 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9434 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9436 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9438 * bookmark.el (bookmark-make-record-default): Allow unneeded
9439 information to be omitted from the record.
9441 Adjust declarations and calls:
9443 * info.el (bookmark-make-record-default): Adjust declaration.
9444 (Info-bookmark-make-record): Adjust call.
9446 * woman.el (bookmark-make-record-default): Adjust declaration.
9447 (woman-bookmark-make-record): Adjust call.
9449 * man.el (bookmark-make-record-default): Adjust declaration.
9450 (Man-bookmark-make-record): Adjust call.
9452 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9454 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9456 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9458 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9459 This is also from Thierry Volpiatto's patch in bug #6444. However,
9460 because it was extraneous to the functional change in that patch,
9461 and causes a re-indendation, I am committing it separately.
9463 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9465 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9466 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9467 Patch applied by Karl Fogel (Bug#6444).
9469 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9471 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9473 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9475 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9476 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9477 (ns-alternatives-map): Change S-tab binding to backtab
9480 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9483 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9485 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9488 * language/tv-util.el (tai-viet-re): Remove format.
9490 2010-07-12 Kenichi Handa <handa@m17n.org>
9492 * language/hebrew.el: Remove no-byte-compile declaration.
9493 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9494 composition-function-table for 3-character looking back.
9495 (hebrew-font-get-precomposed): New function.
9496 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9498 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9500 * mouse.el (mouse-drag-track): Handle select-active-regions
9503 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9505 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9506 empty argument to gvfs-copy.
9508 2010-07-10 Glenn Morris <rgm@gnu.org>
9510 * calendar/calendar.el (calendar-week-end-day): New function.
9511 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9512 Respect calendar-week-start-day. (Bug#6606)
9513 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9514 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9515 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9516 respect calendar-week-start-day.
9518 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9520 * simple.el (use-region-p): Doc fix (Bug#6607).
9522 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9524 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9525 Add regexps for cucumber and ruby.
9527 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9529 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9530 (epa-file-insert-file-contents): Hack to prevent
9531 find-file from opening empty buffer when decryption failed
9534 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9536 * textmodes/ispell.el (ispell-alternate-dictionary):
9537 Use file-readable-p.
9538 Return nil if no word-list is found at default locations.
9539 (ispell-complete-word-dict): Default to nil.
9540 (ispell-command-loop): Use 'word-list' when using lookup-words.
9541 (lookup-words): Use ispell-complete-word-dict or
9542 ispell-alternate-dictionary. Check for word-list availability
9543 and handle errors if needed with better messages (Bug#6539).
9544 (ispell-complete-word): Use ispell-complete-word-dict or
9545 ispell-alternate-dictionary.
9547 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9549 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9550 builtins (BufferError, BytesWarning, WindowsError; callables
9551 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9553 2010-07-07 Glenn Morris <rgm@gnu.org>
9555 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9556 (zone-shift-left): Ignore intangibility, and any errors from
9558 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9559 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9560 deleting, and copying text properties.
9561 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9562 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9563 to point-max is hard.
9564 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9565 (zone-fill-out-screen): Ignore intangibility.
9567 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9569 * menu-bar.el (menu-bar-mode):
9570 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9573 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9574 word/line selection (Bug#6565).
9576 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9578 * net/dbus.el (dbus-send-signal): Declare function.
9580 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9582 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9583 (dbus-register-property): New optional argument EMITS-SIGNAL.
9584 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9586 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9588 * mouse.el (mouse-drag-overlay): Variable deleted.
9589 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9590 (mouse--remap-link-click-p): New function.
9591 (mouse-drag-track): Handle dragging by using temporary Transient
9592 Mark mode, instead of a special overlay.
9593 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9596 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9599 2010-07-02 Juri Linkov <juri@jurta.org>
9601 * autoinsert.el (auto-insert-alist): Fix readability
9602 by using dotted pair notation for lambda.
9604 2010-07-02 Juri Linkov <juri@jurta.org>
9606 * faces.el (read-face-name): Rename arg `string-describing-default'
9607 to `default'. Doc fix. Display the default value in quotes
9608 in the prompt. With empty input, return the `default' arg,
9609 unless the default value is a string (in which case return nil).
9610 (describe-face): Replace the string `default' arg of `read-face-name'
9611 with the symbol `default'.
9613 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9615 * emulation/viper-cmd.el (viper-delete-backward-char)
9616 (viper-del-backward-char-in-insert)
9617 (viper-del-backward-char-in-replace, viper-change)
9618 (viper-backward-indent): Replace delete-backward-char with
9619 delete-char (Bug#6552).
9621 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9623 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9625 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9627 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9628 argument passed to frame-creation-function (Bug#5378).
9630 * faces.el (x-handle-named-frame-geometry)
9631 (x-handle-reverse-video, x-create-frame-with-faces)
9632 (face-set-after-frame-default, tty-create-frame-with-faces):
9633 Don't separately consult default-frame-alist. It is now passed as the
9636 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9638 * startup.el (command-line): Don't call tool-bar-setup in a
9641 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9643 * ruler-mode.el (ruler--save-header-line-format): New fun.
9644 (ruler-mode): Use it as a setter function, so as not to overwrite
9645 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9647 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9649 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9650 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9651 (vc-log-outgoing): Use it.
9652 (vc-diff-internal): Set diff-vc-backend.
9654 * vc/diff-mode.el (diff-vc-backend): New var.
9656 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9658 * dynamic-setting.el (font-setting-change-default-font):
9659 Remove call to message.
9661 2010-06-28 Kenichi Handa <handa@m17n.org>
9663 * international/quail.el (quail-insert-kbd-layout): Fix the
9664 showing of untranslated characters.
9666 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9668 * simple.el (delete-active-region): New option.
9669 (delete-backward-char): Implement in Lisp.
9670 (delete-forward-char): New command.
9672 * mouse.el (mouse-region-delete-keys): Delete.
9673 (mouse-show-mark): Simplify.
9675 * bindings.el (global-map): Bind delete and DEL, the former to
9676 delete-forward-char.
9678 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9680 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9681 (ruby-mode): Bind indent-line-function (Bug#5119).
9683 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9685 * startup.el (command-line): Recognize "0" X resource value.
9687 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9689 * startup.el (command-line): Use X resources to set the value of
9690 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9692 * menu-bar.el (menu-bar-mode):
9693 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9694 Set init-value to t.
9696 * frame.el (frame-notice-user-settings): Don't change
9697 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9698 vice versa (Bug#2249).
9700 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9702 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9704 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9706 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9707 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9709 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9710 default directories are expanded (Bug#6143).
9712 2010-06-24 Juri Linkov <juri@jurta.org>
9714 * minibuffer.el (completions-format): Change default from nil to
9715 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9717 2010-06-24 Juri Linkov <juri@jurta.org>
9719 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9720 buffer-locally to lambda that re-runs the vc diff command.
9723 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9725 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9726 echo area is in use (Bug#3412).
9728 2010-06-22 Glenn Morris <rgm@gnu.org>
9730 * textmodes/texinfmt.el (texinfo-format-region)
9731 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9732 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9733 (texinfo-format-option, texinfo-noindent):
9734 Use line-beginning-position and line-end-position.
9736 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9737 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9738 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9741 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9743 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9744 forward-line fallout.
9746 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9748 * mouse.el (mouse-appearance-menu): Add docstring.
9750 * help.el (describe-key): Print up-event using key-description.
9752 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9754 * net/zeroconf.el (zeroconf-resolve-service)
9755 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9756 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9758 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9760 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9762 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9764 Avoid displaying files with a nil state in vc-dir.
9765 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9766 cases that cause insertion.
9767 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9770 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9772 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9774 2010-06-29 Leo <sdl.web@gmail.com>
9776 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9778 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9780 * generic-x.el (bat-generic-mode): Fix regexp for command line
9781 switches (Bug#5719).
9783 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9785 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9786 of nconc to avoid pure storage error (Bug#6239).
9788 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9790 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9791 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9792 bindings of bookmark-automatically-show-annotations (Bug#6515).
9794 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9796 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9797 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9799 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9801 * comint.el (make-comint, make-comint-in-buffer): Mention return
9802 value in the docstrings. (Bug#6498)
9804 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9806 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9807 since it is not present when using some non-default switches.
9809 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9811 * simple.el (compose-mail): Fix doc string to refer to
9812 `compose-mail-user-agent-warnings', instead of to the
9813 nonexistent `compose-mail-check-user-agent'.
9815 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9817 Fix an indentation bug:
9819 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9820 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9823 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9824 (c-clear->-pair-props-if-match-before): now return t when they've
9825 cleared properties, nil otherwise.
9826 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9827 by taking account of the existing value.
9829 * progmodes/cc-defs.el
9830 (c-clear-char-property-with-value-function): Fix this to clear the
9831 property rather than overwriting it with nil.
9833 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9835 * emacs-lisp/package.el (package-print-package): Add link to
9836 package description via describe-package.
9837 (describe-package-1): List package requirements. Add button to
9838 perform installation.
9839 (package-menu-describe-package): New command.
9841 * help-mode.el (help-package): New button type.
9843 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9845 * emacs-lisp/package.el: Move package-list-packages binding to
9847 (describe-package, describe-package-1, package--dir): New funs.
9848 (package-activate-1): Use package--dir.
9850 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9852 * help-mode.el (help-package-def): New button type.
9854 * menu-bar.el: Move package-list-packages binding here from
9857 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9859 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9861 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9863 * emacs-lisp/edebug.el (edebug-read-list):
9864 Phase out old-style backquotes.
9866 2010-06-17 Juri Linkov <juri@jurta.org>
9868 * help-mode.el (help-mode): Set buffer-local variable
9869 revert-buffer-function to help-mode-revert-buffer.
9870 (help-mode-revert-buffer): New function.
9872 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9873 before popping to "*info*" (like in other Info functions).
9874 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9875 old-history-forward. Pop to old-buffer-name or "*info*" to
9876 recreate the killed buffer. Set Info-history-forward from
9877 old-history-forward.
9878 (Info-breadcrumbs-depth): Add :group and :version.
9880 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9882 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9884 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9886 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9887 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9889 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9891 * emacs-lisp/package.el (package-menu-mode-map):
9892 Move initialization into declaration.
9894 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9896 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9898 * emacs-lisp/package.el (package-archive-base): Point to
9900 (package-enable, package-load-list): New defcustoms.
9901 (package-user-dir, package-directory-list): Turn into defcustoms.
9902 Don't include package-user-dir in package-directory-list.
9903 (package--builtins-base): Don't include Emacs as a "package".
9904 (package-subdirectory-regexp): New var.
9905 (package-load-all-descriptors, package-compute-transaction)
9906 (package-download-transaction): Obey package-load-list.
9907 (package-activate-1): Rename from package-do-activate.
9908 (package-list-packages-internal): Check package-load-list.
9909 (package-load-descriptor, package-generate-autoloads)
9910 (package-unpack, package-unpack-single)
9911 (package--read-archive-file, package-delete):
9912 Use expand-file-name.
9914 * emacs-lisp/package-x.el: New file. Package uploading
9915 functionality split out from package.el.
9917 * startup.el (command-line): Load packages after reading init file.
9919 2010-06-17 Tom Tromey <tromey@redhat.com>
9921 * emacs-lisp/package.el: New file.
9923 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9925 Fix vc-annotate for renamed files when using Git.
9926 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9927 ls-files. Doe not pass the object as a file name to cat-file, it
9929 (vc-git-annotate-command): Pass the file name using -- to avoid
9930 ambiguity with the revision.
9931 (vc-git-previous-revision): Pass a relative file name.
9933 2010-06-22 Glenn Morris <rgm@gnu.org>
9935 * progmodes/js.el (js-mode-map): Use standard capitalization and
9936 ellipses for menu entries.
9938 * wid-edit.el (widget-complete): Doc fix.
9940 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9942 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9944 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9946 Fix annotating other revisions for renamed files in vc-annotate.
9947 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9948 VC backend. Use it when non-nil.
9949 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9952 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9953 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9954 Do not pass the file name to the 'previous-revision call when we
9955 don't want a file diff. (Bug#6489)
9957 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9959 Fix finding revisions for renamed files in vc-annotate.
9960 * vc/vc.el (vc-find-revision): Add an optional argument for
9961 the VC backend. Use it when non-nil.
9962 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9963 backend to vc-find-revision. (Bug#6487)
9965 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9967 Fix reading file names in Git annotate buffers.
9968 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9969 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9971 2010-06-20 Alan Mackenzie <acm@muc.de>
9973 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9974 in file local variables, set it first.
9976 2010-06-19 Glenn Morris <rgm@gnu.org>
9978 * descr-text.el (describe-char-unicode-data): Insert separating
9979 space when needed. (Bug#6422)
9981 * progmodes/idlwave.el (idlwave-action-and-binding):
9982 Fix typo in 2009-12-03 change. (Bug#6450)
9984 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9987 handling for `lambda' (misunderstanding).
9989 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9991 * calc/calc-poly.el (math-accum-factors): Make sure that
9992 constants aren't distributed after they are factored out.
9994 2010-06-16 Juri Linkov <juri@jurta.org>
9996 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9997 `list-colors-print'. (Bug#6332)
9999 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10001 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10004 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10006 * font-lock.el (font-lock-major-mode): Rename from
10007 font-lock-mode-major-mode to distinguish it from
10008 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10009 (font-lock-set-defaults):
10010 * font-core.el (font-lock-default-function): Adjust users.
10011 (font-lock-mode): Don't set it at all.
10013 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10017 2010-06-16 Glenn Morris <rgm@gnu.org>
10019 * calendar/appt.el (appt-time-msg-list): Doc fix.
10020 (appt-check): Let-bind appt-warn-time.
10021 (appt-add): Make the 3rd argument optional.
10022 Simplify argument names. Doc fix. Check for integer WARNTIME.
10023 Only add WARNTIME to the output list if non-nil.
10025 2010-06-16 Ivan Kanis <apple@kanis.eu>
10027 * calendar/appt.el (appt-check): Let the 3rd element of
10028 appt-time-msg-list specify the warning time.
10029 (appt-add): Add new argument with the warning time. (Bug#5176)
10031 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10033 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10034 older than version 1.6. (Bug#6361)
10036 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10038 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10039 used by cl-do-arglist. (Bug#6408)
10041 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10043 * textmodes/ispell.el (ispell-dictionary-base-alist):
10044 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10045 Suggested by Rolando Pereira (bug#6434).
10047 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10049 * facemenu.el (list-colors-sort): Doc fix.
10051 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10053 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10055 2010-06-14 Juri Linkov <juri@jurta.org>
10057 Add sort option `list-colors-sort'. (Bug#6332)
10058 * facemenu.el (color-rgb-to-hsv): New function.
10059 (list-colors-sort): New defcustom.
10060 (list-colors-sort-key): New function.
10061 (list-colors-display): Doc fix. Sort list according to the option
10062 `list-colors-sort'.
10063 (list-colors-print): Add HSV values to `help-echo' property of
10066 2010-06-14 Juri Linkov <juri@jurta.org>
10068 * compare-w.el: Move to the "vc" subdirectory.
10070 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10072 * image-mode.el (image-mode-map): Remap left-char and right-char.
10074 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10076 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10078 * term/common-win.el (x-colors): Add all the color names defined
10079 in rgb.txt (Bug#6332).
10081 * facemenu.el (list-colors-print): Don't print extra names if it
10082 will overflow the window width.
10084 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10087 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10089 * files.el (make-directory): Doc fix (bug#6396).
10091 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10093 * net/tramp.el (tramp-remote-process-environment): Protect version
10094 string by apostroph.
10095 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10097 (tramp-file-name-for-operation): Add `call-process-region'.
10098 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10100 * net/tramp-compat.el (top): Do not autoload
10101 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10102 only when `start-file-process' is not bound.
10103 (tramp-advice-file-expand-wildcards): Do not use
10104 `tramp-handle-file-remote-p'.
10105 (tramp-compat-make-temp-file): Handle the case, that
10106 `make-temp-file' has no third argument EXTENSION.
10108 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10110 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10112 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10114 2010-06-11 Juri Linkov <juri@jurta.org>
10116 * finder.el (finder-known-keywords): Add keyword "vc"
10117 for version control.
10119 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10120 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10121 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10122 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10124 2010-06-11 Juri Linkov <juri@jurta.org>
10126 Move version control related files to the "vc" subdirectory.
10127 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10128 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10129 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10130 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10131 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10132 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10133 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10134 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10135 Move files to the "vc" subdirectory.
10137 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10139 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10142 2010-06-11 Stephen Eglen <stephen@gnu.org>
10144 * shell.el: Bind `shell-resync-dirs' to M-RET.
10146 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10148 * notifications.el: Move file from lisp/net, because it is
10149 supposed to talk locally to the user.
10151 2010-06-10 Julien Danjou <julien@danjou.info>
10153 * net/notifications.el (notifications-on-action-signal)
10154 (notifications-on-closed-signal): Pass notification id as first
10155 argument to the callback functions. Add docstrings.
10156 (notifications-notify): Fix docstring.
10158 2010-06-10 Glenn Morris <rgm@gnu.org>
10160 * emacs-lisp/authors.el (authors-ignored-files)
10161 (authors-valid-file-names): Add some files.
10163 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10165 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10166 merge conflict, giving preference to the emacs-23 version of the code.
10168 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10170 * emacs-lisp/advice.el (ad-compile-function):
10171 Define warning-suppress-types before we let-bind it (bug#6275).
10173 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10174 declare it, make it buffer-local and permanent-local (bug#6324).
10175 (vc-resynch-window): Adjust name.
10176 * vc-hooks.el (vc-find-file-hook): Adjust name.
10178 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10180 * net/notifications.el (notifications-notify): Fix docstring.
10182 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10184 Update to Unicode 6.0.0 beta.
10185 * international/charprop.el: Update copyright.
10186 * international/mule-cmds.el (ucs-names): Update character ranges.
10187 * international/uni-bidi.el:
10188 * international/uni-category.el:
10189 * international/uni-combining.el:
10190 * international/uni-comment.el:
10191 * international/uni-decimal.el:
10192 * international/uni-decomposition.el:
10193 * international/uni-digit.el:
10194 * international/uni-lowercase.el:
10195 * international/uni-mirrored.el:
10196 * international/uni-name.el:
10197 * international/uni-numeric.el:
10198 * international/uni-old-name.el:
10199 * international/uni-titlecase.el:
10200 * international/uni-uppercase.el: Regenerate.
10202 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10204 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10205 (smie-precs-precedence-table): Fix typo in docstring.
10207 * vc-mtn.el (log-edit-extract-headers): Declare function.
10209 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10211 * net/notifications.el (dbus-register-signal): Declare function.
10212 (notifications-notify): Fix typos and reflow docstring.
10214 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10216 Improve VC create/retrieve tag/branch.
10217 * vc.el (vc-create-tag): Do not read the directory name for VCs
10218 with repository revision granularity. Adjust the tag/branch
10219 prompt. Reset VC properties.
10220 (vc-retrieve-tag): Do not read the directory name for VCs
10221 with repository revision granularity. Reset VC properties.
10223 2010-06-09 Julien Danjou <julien@danjou.info>
10225 * net/notifications.el: New file.
10227 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10229 Add optional support for resetting VC properties.
10230 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10231 call vc-file-clearprops when true.
10232 (vc-resynch-buffer): Add new optional argument, pass it down.
10233 (vc-resynch-buffers-in-directory): Likewise.
10235 Improve support for special markup in the VC commit message.
10236 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10237 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10238 * vc-git.el (vc-git-checkin):
10239 * vc-bzr.el (vc-bzr-checkin): Likewise.
10241 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10243 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10244 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10246 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10248 * iimage.el: Remove images as soon as the underlying text is modified.
10249 (iimage-modification-hook): New function.
10250 (iimage-mode-buffer): Use it.
10252 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10254 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10255 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10256 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10257 (smie-indent-keyword): Add handling of open-paren keywords.
10258 (smie-indent-comment-continue): Don't assume comment-continue.
10260 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10262 * window.el (pop-to-buffer): Remove the conditional that
10263 compares new-window and old-window, so it will reselect
10264 the selected window unconditionally.
10265 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10267 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10269 * emacs-lisp/smie.el (smie-indent-offset-after)
10270 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10271 (smie-indent-after-keyword): Use them.
10272 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10273 (smie-indent-keyword): Tweak the black magic.
10274 (smie-indent-comment-continue): Strip comment-continue before use.
10275 (smie-indent-functions): Indent comments before keywords.
10277 2010-06-06 Juri Linkov <juri@jurta.org>
10279 * isearch.el (isearch-lazy-highlight-search): Fix looping
10280 by checking for empty match. This syncs this loop with the
10281 similar loop in `isearch-search'. (Bug#6362)
10283 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10285 * net/dbus.el (dbus-register-method): Declare function.
10286 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10287 (dbus-introspect): Doc fix.
10288 (dbus-event-bus-name, dbus-introspect-get-interface)
10289 (dbus-introspect-get-argument): Reflow docstrings.
10291 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10293 vc-log-incoming/vc-log-outgoing fixes for Git.
10294 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10295 incoming/outgoing logs.
10296 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10297 instead of vc-git-compute-remote.
10298 (vc-git-compute-remote): Remove.
10300 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10302 * term/common-win.el (x-colors): Add "dark green" and "dark
10303 turquoise" (Bug#6332).
10305 2010-06-04 Juri Linkov <juri@jurta.org>
10307 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10308 Instead of setting `replace' to t and replacing the same string
10309 with itself, don't do certain actions when
10310 kill-do-not-save-duplicates is non-nil and string is equal to car
10311 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10312 interprogram-paste strings to kill-ring, and don't push the input
10313 argument `string' to kill-ring.
10314 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10316 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10318 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10320 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10322 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10323 (tramp-gvfs-handler-mounted-unmounted)
10324 (tramp-gvfs-connection-mounted-p): Handle default-location.
10326 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10327 move files to trash.
10329 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10331 * international/mule-cmds.el (nonascii-insert-offset)
10332 (nonascii-translation-table): Add obsolescence information.
10334 * international/mule.el (make-translation-table-from-vector): Doc fix.
10336 2010-06-03 Glenn Morris <rgm@gnu.org>
10338 * desktop.el (desktop-clear-preserve-buffers):
10339 Add "*Warnings*" buffer. (Bug#6336)
10341 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10343 vc-log-incoming/vc-log-outgoing improvements for Git.
10344 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10346 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10348 Add bindings for vc-log-incoming and vc-log-outgoing.
10349 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10350 and vc-log-outgoing.
10351 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10352 and vc-log-outgoing.
10354 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10356 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10357 (rcirc-handler-366): Always sort nicknames.
10359 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10361 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10363 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10365 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10367 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10370 (rcirc-sort-nicknames-join): Avoid setq.
10372 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10374 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10375 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10376 (rcirc-handler-366): Use them.
10378 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10380 Split smie-indent-calculate into more manageable chunks.
10381 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10382 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10383 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10384 (smie-indent-exps): Extract from smie-indent-calculate.
10385 (smie-indent-functions): New var.
10386 (smie-indent-functions): Use them.
10388 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10390 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10391 (smie-indent-calculate): Simplify and cleanup.
10393 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10395 * net/tramp-gvfs.el (top): Require url-util.
10396 (tramp-gvfs-mount-point): Remove.
10397 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10399 (with-tramp-dbus-call-method): Format trace message.
10400 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10401 Implement backup call, when operation on local files fails.
10402 Use progress reporter. Flush properties of changed files.
10403 (tramp-gvfs-handle-make-directory): Make more traces.
10404 (tramp-gvfs-url-file-name): Hexify file name in url.
10405 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10406 into account for the resulting file name.
10407 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10408 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10409 (tramp-gvfs-handler-mounted-unmounted)
10410 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10411 attribute "default_location". Set "prefix" property.
10412 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10413 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10414 exists. Raise an error, if not (due to a corresponding answer
10415 "no" in interactive questions, for example).
10417 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10419 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10421 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10423 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10424 right-*. (Bug#6265)
10426 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10428 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10429 * vc-git.el (vc-git-compute-remote): New function.
10430 (vc-git-log-outgoing): Use it instead of hard coding a value.
10431 (vc-git-log-incoming): New function.
10433 Improve state updating for VC tag commands.
10434 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10435 to update the state of all buffers in the directory.
10437 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10439 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10441 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10442 `file-directory-p' to the filename part rather than to the whole text.
10444 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10448 2010-05-31 Drew Adams <drew.adams@oracle.com>
10450 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10452 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10454 * subr.el (momentary-string-display): Just use read-event to read
10455 the exit event (Bug#6238).
10457 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10459 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10461 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10463 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10464 Suggested by Eli Zaretskii <eliz@gnu.org>.
10466 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10468 * minibuffer.el (completion-file-name-table): Don't return a boundary
10469 past the end of `string' (bug#6299).
10470 (completion--file-name-table): Delegate to completion-file-name-table
10471 for the `boundaries' case.
10473 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10475 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10478 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10479 `path-separator', but maintain compatibility with Emacs 20.2.
10481 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10483 * server.el (server-process-filter): Receive parent-id argument
10485 (server-create-window-system-frame): New arg. Pass parent-id as
10488 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10490 Bidi-sensitive word movement with arrow keys.
10491 * subr.el (right-arrow-command, left-arrow-command): Move to
10494 * bindings.el (right-char, left-char): Move from subr.el and
10495 rename from right-arrow-command and left-arrow-command.
10496 (right-word, left-word): New functions.
10497 (global-map) <right>: Bind to right-char.
10498 (global-map) <left>: Bind to left-char.
10499 (global-map) <C-right>: Bind to right-word.
10500 (global-map) <C-left>: Bind to left-word.
10502 * ls-lisp.el (ls-lisp-classify-file): New function.
10503 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10504 (ls-lisp-classify): Call ls-lisp-classify-file.
10505 (insert-directory): Remove blanks from switches.
10507 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10509 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10510 (ansi-color-drop-regexp): New constant.
10511 (ansi-color-apply, ansi-color-filter-region)
10512 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10513 (ansi-color-apply): Build string list before calling concat.
10515 2010-05-28 Juri Linkov <juri@jurta.org>
10517 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10518 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10521 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10523 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10524 to ignored backtrace functions.
10525 (with-progress-reporter): Expand docstring.
10526 (tramp-handle-delete-file): Implement TRASH argument.
10527 (tramp-get-remote-trash): New defun.
10529 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10531 * net/tramp-compat.el (tramp-compat-delete-file):
10532 Use `symbol-value' for backward compatibility.
10534 * net/tramp.el (tramp-handle-make-symbolic-link)
10535 (tramp-handle-load)
10536 (tramp-do-copy-or-rename-file-via-buffer)
10537 (tramp-do-copy-or-rename-file-directly)
10538 (tramp-do-copy-or-rename-file-out-of-band)
10539 (tramp-handle-process-file, tramp-handle-call-process-region)
10540 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10541 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10542 (tramp-delete-temp-file-function): Use `delete-file' instead
10543 of `tramp-compat-delete-file'.
10545 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10546 (tramp-fish-handle-make-symbolic-link)
10547 (tramp-fish-handle-process-file): Use `delete-file' instead
10548 of `tramp-compat-delete-file'.
10550 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10551 Use `delete-file' instead of `tramp-compat-delete-file'.
10553 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10554 `delete-file' instead of `tramp-compat-delete-file'.
10556 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10557 Use `delete-file' instead of `tramp-compat-delete-file'.
10559 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10560 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10561 (tramp-smb-handle-write-region): Use `delete-file' instead of
10562 `tramp-compat-delete-file'.
10563 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10565 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10567 * dired.el (dired-delete-file): New arg TRASH.
10568 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10569 (dired-do-flagged-delete, dired-do-delete): Use trash.
10571 * speedbar.el (speedbar-item-delete): Allow trashing.
10573 * files.el (delete-directory): New arg TRASH.
10575 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10576 (ange-ftp-rename-remote-to-remote)
10577 (ange-ftp-rename-local-to-remote)
10578 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10579 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10581 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10584 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10585 handle new TRASH arg of `delete-file'.
10587 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10588 (tramp-handle-make-symbolic-link, tramp-handle-load)
10589 (tramp-do-copy-or-rename-file-via-buffer)
10590 (tramp-do-copy-or-rename-file-directly)
10591 (tramp-do-copy-or-rename-file-out-of-band)
10592 (tramp-handle-process-file, tramp-handle-call-process-region)
10593 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10594 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10595 (tramp-delete-temp-file-function): Use null TRASH arg in
10596 tramp-compat-delete-file call.
10598 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10599 (tramp-fish-handle-delete-file)
10600 (tramp-fish-handle-make-symbolic-link)
10601 (tramp-fish-handle-process-file): Use null TRASH arg in
10602 `tramp-compat-delete-file' call.
10604 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10605 arg in `tramp-compat-delete-file' call.
10607 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10608 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10609 `tramp-compat-delete-file' call.
10611 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10612 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10613 `tramp-compat-delete-file' call.
10615 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10616 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10617 (tramp-smb-handle-write-region): Use null TRASH arg in
10618 tramp-compat-delete-file call.
10619 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10620 (tramp-smb-handle-delete-file): Rename arg.
10622 * diff.el (diff-sentinel):
10623 * epg.el (epg--make-temp-file, epg-decrypt-string)
10624 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10625 * jka-compr.el (jka-compr-partial-uncompress)
10626 (jka-compr-call-process, jka-compr-write-region):
10627 * server.el (server-sentinel): Remove optional arg from
10628 delete-file, reverting 2010-05-03 change.
10630 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10632 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10633 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10635 2010-05-27 Kenichi Handa <handa@m17n.org>
10637 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10638 element of GSTRING is nil.
10640 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * emacs-lisp/smie.el (smie-forward-token-function)
10643 (smie-backward-token-function): New vars.
10644 (smie-backward-sexp, smie-forward-sexp)
10645 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10646 (smie-default-backward-token): Rename from smie-backward-token and
10648 (smie-default-forward-token): Rename from smie-forward-token and
10650 (smie-next-sexp): Handle nil results from next-token.
10651 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10653 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10655 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10656 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10658 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10660 * htmlfontify.el (hfy-face-resolve-face): New function.
10661 (hfy-face-to-style): Use it (Bug#6279).
10663 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10666 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10668 2010-05-26 Glenn Morris <rgm@gnu.org>
10670 * emulation/edt.el (edt-load-keys): Use locate-library.
10672 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10674 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10675 (log-edit-changelog-entries): Doc fix.
10676 (log-edit-changelog-insert-entries): Args changed.
10677 Rename relative filenames in ChangeLog entries. Delete tabs.
10678 (log-edit-insert-changelog-entries): Reorganize return value of
10679 `log-edit-changelog-entries' to pass filenames to
10680 log-edit-changelog-insert-entries.
10682 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10684 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10685 `image-dired-dired-insert-marked-thumbs' to
10686 `image-dired-dired-toggle-marked-thumbs'.
10688 * image-dired.el: Require cl when compiling.
10689 (image-dired-dired-toggle-marked-thumbs): Rename from
10690 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10691 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10692 to 'no-dir. Skip files whose names don't match
10693 `image-file-name-regexp'. When file has a thumbnail overlay,
10694 delete it. (Bug#5270)
10696 2010-05-25 Juri Linkov <juri@jurta.org>
10698 * image-mode.el (image-mode): Add image-after-revert-hook to
10700 (image-after-revert-hook): New function. (Bug#5669)
10702 2010-05-25 Juri Linkov <juri@jurta.org>
10704 * image.el (image-animated-p): When delay between animated images
10705 is 0, set it to 10 (0.1 sec). (Bug#6258)
10707 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10709 * net/tramp.el (tramp-handle-insert-directory): Don't use
10710 `forward-word', its default syntax could be changed.
10712 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10714 * net/tramp.el (tramp-progress-reporter-update): New defun.
10715 (with-progress-reporter): Use it.
10716 (tramp-process-actions):
10717 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10718 Preserve current message, in order to let progress reporter continue
10719 afterwards. (Bug#6257)
10721 2010-05-25 Glenn Morris <rgm@gnu.org>
10723 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10726 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10728 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10729 (rcirc-default-full-name): Change to "unknown".
10730 (rcirc-user-name-history): Add variable.
10732 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10733 Jonathan Rockway <jon@jrock.us>
10735 * net/rcirc.el (rcirc-server-alist): Add :pass.
10736 (rcirc): When prompting for connection parameters, also prompt for
10737 username and password.
10738 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10739 value to server when connecting.
10741 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10743 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10744 (smie-merge-prec2s): Pass the tables as separate args.
10745 (smie-bnf-precedence-table): Adjust call accordingly.
10746 (smie-prec2-levels): Set levels at the end.
10748 Replace Lisp calls to delete-backward-char by delete-char.
10749 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10750 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10751 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10752 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10753 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10754 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10755 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10756 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10757 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10758 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10759 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10760 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10761 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10762 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10763 delete-backward-char by calls to delete-char.
10765 2010-05-25 Kenichi Handa <handa@m17n.org>
10767 * language/hebrew.el (hebrew-shape-gstring): New function.
10768 Register it in composition-function-table for all Hebrew combining
10771 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10773 * epa.el (epa--select-keys): Don't explicitly delete the window since
10774 that can fail (e.g. sole window in frame). Use dedication instead.
10776 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10778 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10780 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10782 * image.el (image-refresh): Define as an alias for image-flush.
10784 * image-mode.el (image-toggle-display-image): Caller changed.
10786 2010-05-21 Juri Linkov <juri@jurta.org>
10788 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10789 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10790 whitespace, call wildcard-to-regexp on substrings and concat them
10791 with "\\|". (Bug#6114)
10793 2010-05-21 Alan Mackenzie <acm@muc.de>
10795 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10796 Replace parameter `here' with `here-' and `here-plus', which sandwich
10797 any pertinent CPP construct.
10798 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10799 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10800 CPP construct from taking part in the scanning.
10802 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10804 * net/tramp.el (tramp-do-copy-or-rename-file)
10805 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10806 Tune `with-progress-reporter' messages.
10807 (tramp-handle-vc-registered):
10808 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10809 (tramp-fish-handle-insert-file-contents)
10810 (tramp-fish-maybe-open-connection):
10811 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10812 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10813 (tramp-imap-handle-insert-file-contents)
10814 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10816 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10818 * add-log.el (change-log-font-lock-keywords):
10819 Highlight all authors in multi-author entries.
10821 * smerge-mode.el (smerge-refine-ignore-whitespace)
10822 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10823 Fix typos in docstrings.
10824 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10826 2010-05-21 Glenn Morris <rgm@gnu.org>
10828 * progmodes/fortran.el (fortran-mode):
10829 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10831 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10832 having a relative path in src/Makefile.in.
10834 2010-05-20 Kevin Ryde <user42@zip.com.au>
10836 * help-mode.el (help-make-xrefs): For Info node links turn
10837 newlines into spaces. Link node names with newlines are matched
10838 by help-xref-info-regexp and buttonized, this change ensures they
10839 can be followed successfully with RET. (Bug#6206)
10841 2010-05-20 Juri Linkov <juri@jurta.org>
10843 * locate.el (locate): Use pop-to-buffer instead of
10844 switch-to-buffer-other-window. (Bug#6204)
10846 2010-05-20 Juri Linkov <juri@jurta.org>
10848 * replace.el (replace-highlight): Fix lazy-highlighting
10849 for `M-s w str M-% str RET'.
10851 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10853 * isearch.el (isearch-yank-word-or-char): Pull next subword
10854 when `subword-mode' is activated. (Bug#6220)
10856 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10858 * isearch.el (isearch-update-post-hook): New hook.
10859 (isearch-update): Use the new hook. (Bug#6225)
10861 2010-05-20 Juri Linkov <juri@jurta.org>
10863 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10864 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10867 2010-05-20 Juri Linkov <juri@jurta.org>
10869 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10872 2010-05-20 Juri Linkov <juri@jurta.org>
10874 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10875 FILE-NAME to read from the minibuffer when called interactively
10876 with prefix argument instead of using buffer-file-name.
10877 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10879 * dired.el: Update autoloads.
10881 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10883 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10884 nxml-finish-element, for consistency with SGML mode.
10886 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10887 octave-close-block.
10889 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10891 * composite.el: Require cl when compiling.
10892 (reference-point-alist, compose-gstring-for-graphic)
10893 (compose-gstring-for-terminal): Fix typos in docstrings.
10895 2010-05-19 Juri Linkov <juri@jurta.org>
10897 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10898 set-window-parameter.
10900 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10902 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10904 (tramp-maybe-open-connection): Use it.
10906 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10908 * simple.el (move-end-of-line): Make sure we are at line beginning
10909 before backing up to end of previous line.
10911 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10913 * password-cache.el (password-cache-remove): Fix docstring.
10915 * net/secrets.el: Autoload the widget functions.
10916 (secrets-search-items, secrets-create-item)
10917 (secrets-get-attributes, secrets-expand-item): Attributes will be
10918 stored on the password database without leading ":", as all other
10919 clients do as well.
10920 (secrets-mode): Fix docstring.
10921 (secrets-show-secrets): Provide it as autoloaded command only when
10922 D-Bus support is available. Check existence of Secret Service API.
10924 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * indent.el (indent-region): Deactivate region (bug#6200).
10928 2010-05-19 Glenn Morris <rgm@gnu.org>
10930 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10932 2010-05-19 Kenichi Handa <handa@m17n.org>
10934 * composite.el: Register compose-gstring-for-graphic in
10935 composition-function-table only for combining characters (Mn, Mc, Me).
10937 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10939 * calc/calc-trail.el (calc-trail-isearch-forward)
10940 (calc-trail-isearch-backward): Ensure that the new window
10941 point is set correctly.
10943 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10945 * subr.el (read-quoted-char): Resolve modifiers after key
10946 remapping (bug#6212).
10948 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10950 Add visualization code for secrets.
10951 * net/secrets.el (secrets-mode): New major mode.
10952 (secrets-show-secrets, secrets-show-collections)
10953 (secrets-expand-collection, secrets-expand-item)
10954 (secrets-tree-widget-after-toggle-function)
10955 (secrets-tree-widget-show-password): New defuns.
10957 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10960 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10961 handled in smie-next-sexp.
10962 (smie-indent-calculate): Provide a starting indentation (so the
10963 recursion is well-founded ;-).
10965 Fix handling of non-associative equal levels.
10966 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10967 when it's not needed.
10968 (smie-op-left, smie-op-right): New functions.
10969 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10970 Better handle equal levels to distinguish the associative case from
10971 the "multi-keyword construct" case.
10972 (smie-backward-sexp, smie-forward-sexp): Use it.
10974 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10976 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10978 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10979 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10981 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10983 Provide a simple generic indentation engine and use it for Prolog.
10984 * emacs-lisp/smie.el: New file.
10985 * progmodes/prolog.el (prolog-smie-op-levels)
10986 (prolog-smie-indent-rules): New var.
10987 (prolog-mode-variables): Use them to configure SMIE.
10988 (prolog-indent-line, prolog-indent-level): Remove.
10990 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10992 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10993 order before computing the averages.
10995 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10997 * calc/calc-vec.el (calc-histogram):
10998 (calcFunc-histogram): Allow vectors as inputs.
10999 (math-vector-avg): New function.
11001 * calc/calc-ext.el (math-group-float): Have the number of digits
11002 being grouped depend on the radix (Bug#6189).
11004 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11006 * version.el (emacs-copyright, emacs-version): Don't define here,
11007 now that emacs.c defines it.
11009 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11011 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11012 "Describe Language Environment" menu item.
11014 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11016 Bidi-sensitive movement with arrow keys.
11017 * subr.el (right-arrow-command, left-arrow-command): New functions.
11019 * bindings.el (global-map): Bind them to right and left arrow keys.
11021 Don't override standard definition of convert-standard-filename.
11022 * files.el (convert-standard-filename):
11023 Call w32-convert-standard-filename and dos-convert-standard-filename on
11024 the corresponding systems.
11026 * w32-fns.el (w32-convert-standard-filename): Rename from
11027 convert-standard-filename. Doc fix.
11029 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11030 (convert-standard-filename): Don't defalias.
11031 (register-name-alist, make-register, register-value)
11032 (set-register-value, intdos): Obsolete aliases for the
11033 corresponding dos-* functions and variables.
11034 (dos-intdos): Add a doc string.
11036 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11038 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11039 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11040 (math-compose-tex-func):
11041 * calc/calccomp.el (math-compose-expr):
11042 * calc/calc-ext.el (math-format-flat-expr-fancy):
11043 * calc/calc-store.el (calc-read-var-name):
11044 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11046 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11047 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11048 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11049 (math-standard-units): Add units.
11051 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11053 * progmodes/asm-mode.el (asm-mode):
11054 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11056 * pcomplete.el (pcomplete-completions-at-point): New function,
11057 extracted from pcomplete-std-complete.
11058 (pcomplete-std-complete): Use it.
11060 2010-05-15 Glenn Morris <rgm@gnu.org>
11062 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11063 Remove references to CVS, RCS and Old directories.
11065 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11067 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11070 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11073 (sh-mode-syntax-table): Give it a default value instead.
11074 (sh-header-marker): Make buffer-local.
11075 (sh-mode): Move make-local-variable to the corresponding setq.
11076 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11077 Use complete-with-action.
11079 * simple.el (prog-mode): New (abstract) major mode.
11080 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11081 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11083 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11085 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11086 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11087 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11088 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11089 (sql-escape-newlines-filter, sql-input-sender)
11090 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11092 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11094 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11096 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11097 latex-open-block and C-c / to latex-close-block.
11099 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11100 and C-c C-e to sgml-close-tag.
11102 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11104 * net/tramp.el (with-progress-reporter): Create reporter object
11105 only when the message would be displayed. Handle nested calls.
11106 (tramp-handle-load, tramp-handle-file-local-copy)
11107 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11108 (tramp-maybe-send-script, tramp-find-shell):
11109 Use `with-progress-reporter'.
11110 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11113 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11114 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11115 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11116 Use `with-progress-reporter'.
11118 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11120 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11121 process everytime when spellchecking from the minibuffer (bug#6143).
11123 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11127 * dos-fns.el: Add "dos-" prefix for namespace control.
11128 (convert-standard-filename): Define as alias for
11129 dos-convert-standard-filename but only if applicable.
11131 2010-05-12 Alan Mackenzie <acm@muc.de>
11133 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11134 Push the mark at the start of these functions when appropriate.
11136 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11138 * minibuffer.el (completion-cycle-threshold): New custom var.
11139 (completion--do-completion): Use it.
11140 (minibuffer-complete): Use cycling if appropriate.
11142 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11144 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11145 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11147 2010-05-11 Juri Linkov <juri@jurta.org>
11149 * scroll-all.el (scroll-all-check-to-scroll):
11150 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11152 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11154 * iimage.el (iimage-mode-map): Move initialization into declaration.
11155 (iimage-mode-buffer): Use with-silent-modifications.
11156 Simplify calling convention. Adjust callers.
11157 (iimage-mode): Don't run hook redundantly.
11159 * minibuffer.el (completion-pcm--pattern->regex):
11160 Fix last change (bug#6160).
11162 2010-05-10 Juri Linkov <juri@jurta.org>
11164 Remove nodes visited during Isearch from the Info history.
11165 * info.el (Info-isearch-initial-history)
11166 (Info-isearch-initial-history-list): New variables.
11167 (Info-isearch-start): Record initial values of
11168 Info-isearch-initial-history and Info-isearch-initial-history-list.
11169 Add Info-isearch-end to isearch-mode-end-hook.
11170 (Info-isearch-end): New function.
11172 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11174 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11175 format string, in order to work around a bug in pdksh.
11176 Reported by Gilles Pion <gpion@lfdj.com>.
11177 (tramp-handle-verify-visited-file-modtime): Do not send a command
11178 when the connection is not established.
11179 (tramp-handle-set-file-times): Simplify the check for utc.
11181 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11183 Fix use of `filter-buffer-substring' (rework previous change).
11184 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11185 (cua-repeat-replace-region):
11186 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11187 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11188 (cua-cut-region-to-global-mark): Use it.
11190 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11192 * progmodes/sql.el: Version 2.1.
11193 (sql-product-alist): Redesign structure of product info.
11194 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11195 (sql-port, sql-port-history): New variables.
11196 (sql-interactive-product): New variable.
11197 (sql-send-terminator): New variable.
11198 (sql-imenu-generic-expression): Add "Types" imenu entry.
11199 (sql-oracle-login-params, sql-sqlite-login-params)
11200 (sql-mysql-login-params, sql-solid-login-params)
11201 (sql-sybase-login-params, sql-informix-login-params)
11202 (sql-ingres-login-params, sql-ms-login-params)
11203 (sql-postgres-login-params, sql-interbase-login-params)
11204 (sql-db2-login-params, sql-linter-login-params)
11205 (sql-oracle-scan-on): New variables.
11206 (sql-mode-map): Add C-c C-i to start interactive mode.
11207 (sql-mode-menu): Update existing menu entries.
11208 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11209 (sql-mode-oracle-font-lock-keywords)
11210 (sql-mode-postgres-font-lock-keywords)
11211 (sql-mode-ms-font-lock-keywords)
11212 (sql-mode-sybase-font-lock-keywords)
11213 (sql-mode-informix-font-lock-keywords)
11214 (sql-mode-interbase-font-lock-keywords)
11215 (sql-mode-ingres-font-lock-keywords)
11216 (sql-mode-solid-font-lock-keywords)
11217 (sql-mode-mysql-font-lock-keywords)
11218 (sql-mode-sqlite-font-lock-keywords)
11219 (sql-mode-db2-font-lock-keywords)
11220 (sql-mode-linter-font-lock-keywords): Update initialization to
11221 reduce run-time complexity.
11222 (sql-add-product, sql-del-product): New functions.
11223 (sql-set-product-feature, sql-get-product-feature): New functions.
11224 (sql-product-font-lock): Update product API.
11225 (sql-add-product-keywords): New function.
11226 (sql-highlight-product): Update product API.
11227 (sql-help-list-products): New function.
11228 (sql-help): Dynamically lists free and non-free products.
11229 (sql-get-login): Correct bug in handling history and added
11231 (sql-copy-column): Copy without properties.
11232 (sqli-input-sender): Apply filters to SQLi input.
11233 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11234 Implement as a filter.
11235 (sql-escape-newlines-filter): Implement as a filter.
11236 (sql-remove-tabs-filter): New function.
11237 (sql-send-magic-terminator): New function.
11238 (sql-send-string): Implement magic terminator.
11239 (sql-send-region): Use `sql-send-string'.
11240 (sql-interactive-mode): Use product API.
11241 (sql-product-interactive): Use product API.
11242 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11243 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11244 (sql-db2, sql-linter): Use `sql-product-interactive'.
11245 (sql-connect): New function.
11246 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11247 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11248 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11249 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11252 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11254 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11255 New custom variable.
11256 (completion-pcm--string->pattern): Use it.
11257 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11258 Make it handle any symbol as `any'.
11259 (completion-pcm--merge-completions): Extract common suffix for the new
11260 `prefix' symbol as well.
11261 (completion-substring--all-completions): Use the new `prefix' symbol.
11263 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11265 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11267 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11268 (tramp-compat-funcall): New defmacro.
11269 (tramp-compat-line-beginning-position)
11270 (tramp-compat-line-end-position)
11271 (tramp-compat-temporary-file-directory)
11272 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11273 (tramp-compat-copy-file, tramp-compat-copy-directory)
11274 (tramp-compat-delete-file, tramp-compat-delete-directory)
11275 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11276 * net/tramp.el (top, with-progress-reporter)
11277 (tramp-rfn-eshadow-setup-minibuffer)
11278 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11279 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11280 (tramp-completion-mode-p, tramp-check-for-regexp)
11281 (tramp-open-connection-setup-interactive-shell)
11282 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11283 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11284 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11285 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11286 (tramp-reporter-dump-variable, tramp-load-report-modules)
11287 (tramp-append-tramp-buffers)
11288 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11290 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11292 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11294 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11295 buffer-modtime. Adjust users.
11297 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11299 * international/mule.el (auto-coding-alist): Only purecopy
11300 car of each item, not the whole list (Bug#6083).
11302 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11304 * progmodes/js.el (js-mode): Make paragraph variables local before
11305 calling c-setup-paragraph-variables (Bug#6071).
11307 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11309 * composite.el (compose-region, reference-point-alist): Fix typos
11310 in the doc strings.
11312 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11314 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11315 gnuplot's "set" command.
11317 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11319 * abbrev.el (last-abbrev-text): Doc fix.
11320 (abbrev-prefix-mark): Don't escape parenthesis.
11322 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11324 * composite.el (find-composition): Doc fix.
11326 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11328 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11329 (sql-oracle-program, sql-sqlite-options)
11330 (sql-query-placeholders-and-send): Doc fixes.
11331 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11332 (sql-imenu-generic-expression, sql-buffer)
11333 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11334 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11335 (sql-mode-sybase-font-lock-keywords)
11336 (sql-mode-informix-font-lock-keywords)
11337 (sql-mode-interbase-font-lock-keywords)
11338 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11339 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11340 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11341 (sql-product-feature, sql-highlight-product)
11342 (comint-line-beginning-position, sql-rename-buffer)
11343 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11344 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11345 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11346 Fix typos in docstrings.
11348 2010-05-08 Juri Linkov <juri@jurta.org>
11350 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11351 property instead of `invisible' and `after-string' (bug#5998).
11353 2010-05-08 Juri Linkov <juri@jurta.org>
11355 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11357 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11359 * filecache.el (file-cache-add-directory-list)
11360 (file-cache-add-directory-recursively): Fix typos in docstrings.
11362 2010-05-08 Kenichi Handa <handa@m17n.org>
11364 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11365 (gujarati-composable-pattern): Fix typo.
11367 2010-05-08 Kenichi Handa <handa@m17n.org>
11369 * language/indian.el (oriya-composable-pattern)
11370 (tamil-composable-pattern, malayalam-composable-pattern):
11371 Add two-part vowels to "v" (vowel sign).
11373 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11375 * files.el (copy-directory): Handle symlinks (Bug#5982).
11377 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11379 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11380 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11383 2010-05-08 Glenn Morris <rgm@gnu.org>
11385 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11387 * minibuffer.el (completion-at-point): Doc fix.
11389 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * electric.el (Electric-command-loop): Minor tweak.
11393 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11394 better with dedicated windows.
11396 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11398 * Version 23.2 released.
11400 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11401 Stefan Monnier <monnier@iro.umontreal.ca>
11403 Highlight vendor specific properties.
11404 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11405 (css-proprietary-property): New face.
11406 (css-font-lock-keywords): Use them.
11408 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11410 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11412 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11414 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11415 * files.el (auto-mode-alist): Remove redundant entries.
11417 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11418 * simple.el (auto-save-mode): Move from files.el.
11419 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11421 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11423 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11425 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11427 * mail/binhex.el (binhex-decode-region-internal)
11428 * mail/uudecode.el (uudecode-decode-region-internal)
11429 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11430 (dns-read-type, dns-query)
11431 * pgg-parse.el (pgg-parse-armor)
11432 * pgg.el (pgg-verify-region)
11433 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11436 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11438 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11440 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11442 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11443 * emulation/cua-base.el (cua-repeat-replace-region):
11444 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11445 (cua-cut-region-to-global-mark):
11446 Remove text properties with `set-text-properties'.
11448 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11450 * net/tramp.el (top, with-progress-reporter):
11451 Use `symbol-function' inside `funcall'.
11453 * net/tramp-compat.el (tramp-compat-file-attributes)
11454 (tramp-compat-delete-file, tramp-compat-delete-directory):
11455 Handle only `wrong-number-of-arguments' error.
11457 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11458 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11461 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11463 * minibuffer.el (completion--sreverse, completion--common-suffix):
11465 (completion-pcm--merge-completions): Extract common suffix when safe.
11467 * emacs-lisp/easy-mmode.el (define-minor-mode):
11468 Make :variable more flexible.
11469 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11471 2010-05-05 Juri Linkov <juri@jurta.org>
11473 Add `slow' and `history' tags to the desktop data.
11475 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11476 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11477 (Info-finder-find-node): Require `finder.el' to be able
11478 to restore node from the desktop.
11479 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11480 data `Info-history' and `slow' tag in the assoc list.
11481 (Info-restore-desktop-buffer): Don't restore nodes with the
11482 `slow' tag. Restore `Info-history'.
11484 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11486 Add FORCE argument to `delete-file'.
11488 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11489 forcing to delete the temporary file.
11490 (ange-ftp-delete-file): Add FORCE arg.
11491 (ange-ftp-rename-remote-to-remote)
11492 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11493 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11494 Force file deletion.
11496 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11498 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11499 (tramp-handle-make-symbolic-link, tramp-handle-load)
11500 (tramp-do-copy-or-rename-file-via-buffer)
11501 (tramp-do-copy-or-rename-file-directly)
11502 (tramp-do-copy-or-rename-file-out-of-band)
11503 (tramp-handle-process-file, tramp-handle-call-process-region)
11504 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11505 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11506 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11508 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11509 (tramp-fish-handle-make-symbolic-link)
11510 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11512 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11513 Use `tramp-compat-delete-file'.
11515 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11516 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11518 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11519 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11521 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11522 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11523 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11524 Use `tramp-compat-delete-file'.
11526 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11529 * subr.el (add-minor-mode): Use push.
11530 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11531 * emulation/edt.el (edt-select-mode): Simplify.
11533 Use define-minor-mode in more cases.
11534 * term/tvi970.el (tvi970-set-keypad-mode):
11535 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11536 (normal-erase-is-backspace-mode):
11537 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11538 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11539 (get-scroll-bar-mode): New function.
11540 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11542 Use define-minor-mode for less obvious cases.
11543 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11544 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11545 * international/iso-ascii.el (iso-ascii-mode):
11546 * frame.el (auto-raise-mode, auto-lower-mode):
11547 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11549 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11551 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11552 in order to see error messages for failed logins.
11554 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11556 * diff.el (diff-sentinel):
11558 * epg.el (epg--make-temp-file, epg-decrypt-string)
11559 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11561 * jka-compr.el (jka-compr-partial-uncompress)
11562 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11564 * server.el (server-sentinel): Use delete-file's new FORCE arg
11567 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11569 Use define-minor-mode where applicable.
11570 * view.el (view-mode):
11571 * type-break.el (type-break-query-mode)
11572 (type-break-mode-line-message-mode):
11573 * textmodes/reftex.el (reftex-mode):
11574 * term/vt100.el (vt100-wide-mode):
11575 * tar-mode.el (tar-subfile-mode):
11576 * savehist.el (savehist-mode):
11577 * ibuf-ext.el (ibuffer-auto-mode):
11578 * composite.el (auto-composition-mode):
11579 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11580 Use define-minor-mode.
11581 (vhdl-mode): Use static mode-line format.
11582 (vhdl-mode-line-update): Delete.
11583 (vhdl-create-mode-menu, vhdl-activate-customizations)
11584 (vhdl-hs-minor-mode): Don't bother calling it.
11586 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11588 * simple.el (with-wrapper-hook): Move.
11589 (buffer-substring-filters): Mark obsolete.
11590 (filter-buffer-substring-functions): New variable.
11591 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11593 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11594 Michael Albinus <michael.albinus@gmx.de>
11596 Implement compression for inline methods.
11598 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11599 (tramp-copy-size-limit): Allow also nil.
11600 (tramp-inline-compress-commands): New defconst.
11601 (tramp-find-inline-compress, tramp-get-inline-compress)
11602 (tramp-get-inline-coding): New defuns.
11603 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11604 replaced by `tramp-get-inline-coding'.
11605 (tramp-handle-file-local-copy, tramp-handle-write-region)
11606 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11608 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11610 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11611 Remove unused functions.
11613 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11614 Set find-tag-default-function as a variable rather than a property.
11616 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11617 * progmodes/etags.el (tags-completion-at-point-function):
11618 Remove left over interactive spec. Add autoloading stub.
11619 (complete-tag): Use tags-completion-at-point-function.
11621 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11623 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11625 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11627 * ido.el (ido-init-completion-maps): Remove C-v binding.
11628 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11630 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11632 * minibuffer.el (tags-completion-at-point-function): New function.
11633 (completion-at-point-functions): Use it.
11635 * progmodes/etags.el (complete-tag): Revert last change.
11637 2010-04-29 Alan Mackenzie <acm@muc.de>
11639 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11640 off-by-one error (in end of macro position).
11642 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11644 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11645 firefox is absent. Don't autoload.
11646 (browse-url-galeon-program): Don't autoload.
11648 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11650 * bindings.el (complete-symbol): Move into minibuffer.el.
11652 * minibuffer.el (complete-tag): Move from etags.el. If tags
11653 completion cannot be performed, return nil instead of signalling
11655 (completion-at-point): Make it an alias for complete-symbol.
11656 (complete-symbol): Move from bindings.el, and replace with the
11657 body of completion-at-point.
11659 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11661 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11663 * net/tramp.el (tramp-remote-selinux-p): New defun.
11664 (tramp-handle-file-selinux-context)
11665 (tramp-handle-set-file-selinux-context): Use it.
11667 2010-04-28 Sam Steingold <sds@gnu.org>
11669 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11670 `safe-local-variable' if the value is a string or a symbol with
11671 the property `bug-reference-url-format'.
11673 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11675 * progmodes/bug-reference.el (bug-reference-url-format):
11676 Revert 2010-04-27 change due to security risk.
11678 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11680 Make it possible to locally disable a globally enabled mode.
11681 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11682 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11683 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11684 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11685 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11686 that subsequent hooks get a chance to disable it.
11688 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11691 Avoid re-enabling a minor mode after the user turned the minor mode
11692 off if MODE-enable-in-buffers is run twice (typically once from
11693 fundamental-mode's after-change-major-mode-hook and a second time from
11694 run-mode-hook's own after-change-major-mode-hook).
11696 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11698 2010-04-27 Sam Steingold <sds@gnu.org>
11700 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11701 `safe-local-variable' if the value is a string or a function, as
11702 documented and implemented on 2010-04-02.
11704 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11706 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11707 when method is 'kill.
11709 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11711 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11712 condition in default directory check.
11713 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11714 Kill ispell process when killing its associated buffer.
11716 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11718 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11719 but we aren't using it.
11721 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11723 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11724 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11726 2010-04-24 Glenn Morris <rgm@gnu.org>
11728 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11729 Ignore VCS-ignore files, and deleted nextstep preferences files.
11730 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11731 (authors-ambiguous-files): New list.
11732 (authors-valid-file-names): Add some deleted files.
11733 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11734 (authors-disambiguate-file-name): New function. (Bug#5501)
11735 (authors-canonical-file-name): Doc fix.
11736 Don't warn about obsolete files.
11737 (authors-canonical-file-name, authors-scan-el):
11738 Use authors-disambiguate-file-name.
11740 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11741 Add autoload cookies.
11742 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11743 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11744 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11745 They have definitions / compiler macros in cl.el.
11746 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11747 Replace manual autoloads with generated ones.
11748 (htmlfontify-unload-rgb-file): Remove autoload.
11749 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11751 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11753 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11754 (byte-compile-setq-default): Optimize for the
11755 single-var case and don't call byte-compile-form in this case to avoid
11756 inf-loop with byte-compile-set-default.
11758 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11760 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11762 Implement SELINUX backends.
11764 * net/tramp.el (tramp-file-name-handler-alist):
11765 Add `file-selinux-context' and `set-file-selinux-context'.
11766 (tramp-handle-file-selinux-context)
11767 (tramp-handle-set-file-selinux-context): New defuns.
11768 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11769 Handle PRESERVE-SELINUX-CONTEXT.
11771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11772 Add `file-selinux-context' and `set-file-selinux-context'.
11773 (tramp-gvfs-handle-file-selinux-context)
11774 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11775 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11777 * net/ange-ftp.el (ange-ftp-copy-file):
11778 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11779 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11780 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11781 Add PRESERVE-SELINUX-CONTEXT.
11783 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11785 Synchronize with Tramp repository.
11787 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11788 (tramp-action-process-alive, tramp-action-out-of-band)
11789 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11790 (tramp-exists-file-name-handler): Fix docstring.
11791 (with-progress-reporter): New defmacro.
11792 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11793 (tramp-maybe-open-connection): Use it.
11795 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11797 Detect ssh 'ControlMaster' argument automatically in some cases.
11799 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11800 (tramp-default-method): Use it.
11802 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11804 * net/tramp.el (tramp-handle-copy-file): Add new optional
11805 parameter `preserve-selinux-context'.
11806 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11808 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11810 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11811 Ensure, that non remote files are still checked. Oops.
11813 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11817 * icomplete.el (icomplete-completions): Use `non-essential'.
11819 * net/tramp.el (tramp-connectable-p): New defun.
11820 (tramp-handle-expand-file-name)
11821 (tramp-completion-handle-file-name-all-completions)
11822 (tramp-completion-handle-file-name-completion): Use it.
11824 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11826 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11828 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11830 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11832 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11834 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11837 * info.el (info-tool-bar-map): Add labels.
11839 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11841 * cus-edit.el (custom-commands): Add labels for tool bar.
11842 (custom-buffer-create-internal, Custom-mode): Adjust for
11843 labels in custom-commands.
11845 * dynamic-setting.el: Renamed from font-setting.el.
11847 2010-04-21 John Wiegley <jwiegley@gmail.com>
11849 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11850 toggles the use of virtual buffers.
11851 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11852 (ido-toggle-virtual-buffers): New function.
11854 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11856 Use `define-derived-mode'; fix window selection; doc fixes.
11857 * play/tetris.el (tetris, tetris-update-speed-function)
11858 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11859 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11860 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11861 (tetris-pause-game): Fix typos in docstrings.
11862 (tetris-mode-map, tetris-null-map):
11863 Move initialization into declaration.
11864 (tetris-mode): Define with `define-derived-mode';
11865 set show-trailing-whitespace to nil.
11866 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11868 2010-04-21 Karel Klíč <kklic@redhat.com>
11870 * files.el (backup-buffer): Handle SELinux context, and return it
11871 if a backup was made by renaming.
11872 (backup-buffer-copy): Set SELinux context to the target file.
11873 (basic-save-buffer): Set SELinux context of the newly written file.
11874 (basic-save-buffer-1): Now it also returns any SELinux context.
11875 (basic-save-buffer-2): Set SELinux context of the newly created file,
11877 * net/tramp.el (tramp-file-name-for-operation):
11878 Add file-selinux-context.
11880 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11882 Make the log-edit comments use RFC822 format throughout.
11884 * vc.el (vc-checkin, vc-modify-change-comment):
11885 Adjust to new vc-start/finish-logentry.
11886 (vc-find-conflicted-file): New command.
11887 (vc-transfer-file): Adjust to new vc-checkin.
11888 (vc-next-action): Improve scoping.
11890 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11891 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11893 * vc-git.el (vc-git-log-edit-mode): Remove.
11894 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11895 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11897 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11898 (vc-start-logentry): Remove argument `extra'.
11899 (vc-finish-logentry): Remove extra args.
11901 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11902 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11903 (vc-bzr-conflicted-files): New function.
11905 * log-edit.el (log-edit-extra-flags)
11906 (log-edit-before-checkin-process): Remove.
11907 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11908 (log-edit-headers-alist): New var.
11909 (log-edit-header-contents-regexp): New const.
11910 (log-edit-match-to-eoh): New function.
11911 (log-edit-font-lock-keywords): Use them.
11912 (log-edit): Insert a "Summary:" header as default.
11913 (log-edit-mode): Mark font-lock rules as case-insensitive.
11914 (log-edit-done): Cleanup headers.
11915 (log-view-process-buffer): Remove.
11916 (log-edit-extract-headers): New function to replace it.
11918 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11920 * subr.el (default-direction-reversed): Remove obsolescence info.
11922 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11924 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11927 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11928 I.e. include text after point in the completion region.
11929 Also, return nil when we're not after/in a symbol.
11931 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11932 default enable-multibyte-characters.
11934 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * international/mule.el: Help the user choose a valid coding-system.
11937 (read-buffer-file-coding-system): New function.
11938 (set-buffer-file-coding-system): Use it. Prompt the user if the
11939 coding-system cannot encode all the chars.
11941 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11942 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11943 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11944 Don't use *vc-bzr-shelve*.
11946 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11948 Fix the version number for added files.
11949 * vc-hg.el (vc-hg-working-revision): Check if the file is
11950 registered after hg parent fails (Bug#5961).
11952 2010-04-19 Glenn Morris <rgm@gnu.org>
11954 * htmlfontify.el (htmlfontify-buffer)
11955 (htmlfontify-copy-and-link-dir): Autoload entry points.
11957 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11959 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11960 name relative to the project root (Bug#5960).
11962 2010-04-19 Glenn Morris <rgm@gnu.org>
11964 * vc-git.el (vc-git-print-log): Doc fix.
11966 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11968 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11970 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11972 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11973 default settings (Bug#5928).
11975 2010-04-19 Glenn Morris <rgm@gnu.org>
11977 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11979 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11981 2010-04-19 Kenichi Handa <handa@m17n.org>
11983 * language/indian.el (malayalam-composable-pattern): Fix previous
11984 change (add U+0D4D "SIGN VIRAMA").
11985 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11986 (tamil-composable-pattern): Fix typo in the regexp.
11987 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11988 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11989 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11991 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11993 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11994 paragraph-separate (Bug#5821).
11996 2010-04-19 Juri Linkov <juri@jurta.org>
11998 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12000 * info.el (Info-find-node-2): Comment out code that skips
12002 (Info-mouse-follow-link): New command.
12003 (Info-link-keymap): New keymap.
12004 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12005 Return a string with links instead of inserting breadcrumbs
12006 to the Info buffer.
12007 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12008 Instead of putting the `invisible' text property over the Info
12009 header, make an overlay over the Info header with the `invisible'
12010 property and `after-string' set to the string returned by
12011 `Info-breadcrumbs'.
12013 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12015 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12016 Reported by monkey@sandpframing.com.
12018 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12020 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12021 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12022 available in the "keyseq cache" any more.
12024 * custom.el (defcustom): Add edebug spec.
12026 2010-04-18 Juri Linkov <juri@jurta.org>
12028 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12030 * view.el (view-file, view-buffer): Move test for special mode-class
12031 from view-file to view-buffer.
12033 * tar-mode.el (tar-extract): Turn if's into one cond
12034 like in arc-mode.el.
12036 2010-04-18 Juri Linkov <juri@jurta.org>
12038 Add 7z archive format support (bug#5475).
12040 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12041 (archive-7z-extract): New defcustom.
12042 (archive-find-type): Add magic string for 7z.
12043 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12044 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12045 `buffer' arg of `call-process'.
12046 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12047 call the function `archive-7z-extract' with the variable
12048 `archive-7z-extract' let-bound to `archive-zip-extract'.
12049 (archive-7z-summarize, archive-7z-extract): New functions.
12051 * international/mule.el (auto-coding-alist):
12052 * files.el (auto-mode-alist): Add 7z file extension.
12054 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12056 * loadup.el: Setup hash-cons for pure data.
12058 Fix duplicate entries in cedet's loaddefs.el files.
12059 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12060 Should make most file-local generated-autoload-file unnecessary.
12061 (print-readably): Silence warnings.
12062 (autoload-find-destination): Take load-name as an arg to make sure
12063 it's the same as the one that will be in the file.
12064 (autoload-generate-file-autoloads): Adjust to above changes.
12065 Try to make the dataflow a bit simpler.
12067 * cvs-status.el (cvs-refontify): Remove unused.
12069 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12071 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12073 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12074 twos-complement mode.
12076 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12078 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12079 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12080 (calc-inverse): Add "Option" to message, as appropriate.
12081 (calc-hyperbolic): Add "Option" to message, as appropriate.
12082 (calc-option, calc-is-option): New functions.
12084 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12085 (calc-option-prefix-help): New function.
12087 * calc/calc-misc.el (calc-help): Add "Option" entry.
12089 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12090 (calc-option-flag): New variable.
12091 (calc-do): Set `calc-option-flag to nil.
12092 (calc-set-mode-line): Add "Opt " as appropriate.
12094 2010-04-16 Juri Linkov <juri@jurta.org>
12096 Move scrolling commands from simple.el to window.el
12097 because their primitives are implemented in window.c.
12099 * simple.el (scroll-error-top-bottom)
12100 (scroll-up-command, scroll-down-command, scroll-up-line)
12101 (scroll-down-line, scroll-other-window-down)
12102 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12103 * window.el (scroll-error-top-bottom)
12104 (scroll-up-command, scroll-down-command, scroll-up-line)
12105 (scroll-down-line, scroll-other-window-down)
12106 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12107 Move from simple.el to window.el because their primitives are
12108 implemented in window.c.
12110 2010-04-16 Juri Linkov <juri@jurta.org>
12112 * isearch.el (isearch-lookup-scroll-key): Check both
12113 `isearch-scroll' and `scroll-command' properties.
12114 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12116 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12118 * simple.el (scroll-up-command, scroll-down-command)
12119 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12121 2010-04-15 Juri Linkov <juri@jurta.org>
12123 * simple.el (scroll-up-command, scroll-down-command)
12124 (scroll-up-line, scroll-down-line): Put `scroll-command'
12125 property on the these symbols. Remove them from
12126 `scroll-preserve-screen-position-commands'.
12128 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12129 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12130 Remove it from `scroll-preserve-screen-position-commands'.
12132 * isearch.el (isearch-allow-scroll): Doc fix.
12134 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12136 * net/tramp.el (tramp-error-with-buffer): Don't show the
12137 connection buffer when we are in completion mode.
12138 (tramp-file-name-handler): Catch the error for some operations
12139 when we are in completion mode. This gives the user the chance to
12140 correct the file name in the minibuffer.
12142 2010-04-15 Glenn Morris <rgm@gnu.org>
12144 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12146 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12148 Simplify by using `define-derived-mode'.
12149 * info.el (Info-mode):
12150 * calendar/todo-mode.el (todo-mode):
12151 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12152 (gomoku-mode-map): Move initialization into declaration.
12154 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12157 * ido.el (ido-file-name-all-completions-1):
12158 * minibuffer.el (minibuffer-completion-help):
12159 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12161 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12163 * simple.el (non-essential): New var.
12165 Add a new field `location' to bookmarks for non-file bookmarks.
12166 * bookmark.el (bookmark-location): Use the new field, if present.
12167 (bookmark-insert-location): Undo last change, not needed any more.
12168 * man.el (Man-bookmark-make-record):
12169 * woman.el (woman-bookmark-make-record): Add `location' field.
12171 2010-04-14 Juri Linkov <juri@jurta.org>
12173 * simple.el (scroll-error-top-bottom): New defcustom.
12174 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12176 * emulation/pc-select.el (pc-select-override-scroll-error):
12177 Obsolete in favor of `scroll-error-top-bottom'.
12179 2010-04-14 Juri Linkov <juri@jurta.org>
12181 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12182 `scroll-up-command' and `M-v' to `scroll-down-command'.
12184 * emulation/cua-rect.el (cua--init-rectangles):
12185 * forms.el (forms--change-commands):
12186 * image-mode.el (image-mode-map):
12187 Remap scroll-down-command and scroll-up-command
12188 in addition to scroll-down and scroll-up.
12190 2010-04-14 Juri Linkov <juri@jurta.org>
12192 * mwheel.el (scroll-preserve-screen-position-commands):
12193 Add mwheel-scroll to this list of commands.
12195 * simple.el (scroll-preserve-screen-position-commands):
12196 Add scroll-up-command, scroll-down-command, scroll-up-line,
12197 scroll-down-line to this list of commands.
12199 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12201 * obsolete/complete.el: Move from lisp/complete.el.
12203 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12205 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12206 to the minor mode function now turns the mode ON unconditionally.
12208 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12210 * vc-dir.el (vc-dir-kill-line): New command.
12211 (vc-dir-mode-map): Bind it to C-k.
12213 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12215 * woman.el: Add bookmark declarations to silence the compiler.
12216 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12217 step to compatibility between man and woman bookmarks.
12218 Adjust for Man-default-bookmark-title renaming.
12219 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12221 * man.el: Add bookmark declarations to silence the compiler.
12222 (Man-name-local-regexp): Make it match NAME as well.
12223 (Man-getpage-in-background): Return the buffer.
12224 (Man-notify-when-ready): Use `case'.
12225 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12226 Don't hardcode "NAME". Simplify.
12227 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12228 Rename from Man-bookmark-make-record.
12229 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12230 we have the actual man-args. Use Man-getpage-in-background rather
12231 than `man' since the arg is already processed. Let bookmark.el do the
12232 window handling. Only wait for the relevant process.
12233 Don't forget to autoload.
12235 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12237 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12239 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12241 (woman-mode): Setup bookmark support.
12243 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12244 (man-bookmark-jump): New functions.
12245 (Man-mode): Setup bookmark support.
12247 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12249 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12250 recognize ssh-keygen prompt (Bug#2817).
12252 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12254 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12256 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12258 Synchronize with Tramp repository.
12260 * net/tramp.el (tramp-completion-function-alist)
12261 (tramp-file-name-regexp, tramp-chunksize)
12262 (tramp-local-coding-commands, tramp-remote-coding-commands):
12264 (tramp-remote-process-environment): Use `format' instead of `concat'.
12265 (tramp-handle-directory-files-and-attributes)
12266 (tramp-get-remote-path): Use `copy-tree'.
12267 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12268 compatibility: Use `completion-ignore-case' if
12269 `read-file-name-completion-ignore-case' does not exist.
12270 (tramp-do-copy-or-rename-file-directly): Do not use
12271 `tramp-handle-file-remote-p'.
12272 (tramp-do-copy-or-rename-file-out-of-band):
12273 Use `tramp-compat-delete-directory'.
12274 (tramp-do-copy-or-rename-file-out-of-band)
12275 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12276 Use `format-spec-make'.
12277 (tramp-find-foreign-file-name-handler)
12278 (tramp-advice-make-auto-save-file-name)
12279 (tramp-set-auto-save-file-modes): Remove superfluous check for
12280 `stringp'. This is done inside `tramp-tramp-file-p'.
12281 (tramp-debug-outline-regexp): New defconst.
12282 (tramp-get-debug-buffer): Use it.
12283 (tramp-check-for-regexp): Use (forward-line 1).
12284 (tramp-set-auto-save-file-modes): Adapt version check.
12286 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12287 Wrap call of `featurep' for 2nd argument.
12288 (tramp-compat-make-temp-file): Simplify fallback implementation.
12289 (tramp-compat-copy-tree): Remove function.
12290 (tramp-compat-delete-directory): Provide implementation for older
12293 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12294 Do not use `tramp-fish-handle-file-attributes.
12296 * net/trampver.el: Update release number.
12298 2010-04-10 Glenn Morris <rgm@gnu.org>
12300 * progmodes/compile.el (compilation-save-buffers-predicate):
12301 Add missing :version tag.
12303 2010-04-09 Sam Steingold <sds@gnu.org>
12305 * progmodes/compile.el (compilation-save-buffers-predicate):
12306 Remove the "autoload" cookie.
12308 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12309 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12310 and `bug-reference-prog-mode' can be used in hooks directly.
12312 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12314 Add --author support to git commit.
12315 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12316 (vc-git-log-edit-mode): New minor mode.
12317 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12320 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12322 * vc-hooks.el, vc-git.el: Improve documentation comments.
12324 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12326 Fix some of the problems in defsubst* (bug#5728).
12327 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12328 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12330 2010-04-07 Sam Steingold <sds@gnu.org>
12332 * progmodes/compile.el (compilation-save-buffers-predicate):
12333 New custom variable.
12334 (compile, recompile): Pass it to `save-some-buffers'.
12336 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12338 * wid-edit.el (widget-choose): Move cursor to the second line of
12339 the buffer (Bug#5695).
12341 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12343 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12344 * vc.el (vc-print-log-setup-buttons): New function split out from
12345 vc-print-log-internal.
12346 (vc-log-internal-common): New function, a parametrized version of
12347 vc-print-log-internal.
12348 (vc-print-log-internal): Just call vc-log-internal-common with the
12350 (vc-incoming-outgoing-internal):
12351 (vc-log-incoming, vc-log-outgoing): New functions.
12352 (vc-log-view-type): New permanent local variable.
12354 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12356 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12357 of the dynamic bound vc-short-log.
12358 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12360 * vc-git.el (vc-git-log-outgoing): New function.
12361 (vc-git-log-view-mode): Use vc-log-view-type instead
12362 of the dynamic bound vc-short-log.
12364 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12365 of the dynamic bound vc-short-log. Highlight the tag.
12366 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12367 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12368 (vc-hg-incoming-mode): Remove.
12369 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12371 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12373 Fix default-directory for vc-root-diff.
12374 * vc.el (vc-root-diff): Bind default-directory to the root
12375 directory for the diff command.
12377 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12379 * progmodes/verilog-mode.el (verilog-forward-sexp):
12380 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12381 word keywords, suggested by Steve Pearlmutter.
12382 (verilog-pretty-declarations): Support lineup of declarations in
12384 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12385 fix bug for /* / comments.
12386 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12387 Speed up and simplfy as this is never called with a bound.
12388 (verilog-pretty-declarations): Enhance to line up declarations
12389 inside a parameter list, suggested by Alan Morgan.
12390 (verilog-pretty-expr): Tune assignment regular expression match
12391 string for corner cases; also use markers instead of character
12392 number as indent changes the later.
12394 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12396 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12397 as missing keyword.
12398 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12399 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12400 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12401 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12403 (verilog-keywords):
12404 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12405 1800-2009 keywords, including "global.".
12407 2010-04-06 John Wiegley <jwiegley@gmail.com>
12409 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12410 appearing in buffer list (if a live buffer name matched a recentf
12411 file basename). Should use uniquify to offer a real solution.
12413 2010-04-06 John Wiegley <jwiegley@gmail.com>
12415 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12416 comment to code, and add a :version tag.
12417 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12419 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12421 Enable recentf-mode if using virtual buffers.
12422 * ido.el (recentf-list): Declare for byte-compiler.
12423 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12424 (ido-make-buffer-list): Simplify.
12425 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12427 2010-04-05 Juri Linkov <juri@jurta.org>
12429 Scrolling commands which scroll a line instead of full screen.
12430 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12432 * simple.el (scroll-up-line, scroll-down-line): New commands.
12433 Put property isearch-scroll=t on them.
12435 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12438 2010-04-05 Juri Linkov <juri@jurta.org>
12440 Scrolling commands which do not signal errors at top/bottom.
12441 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12443 * simple.el (scroll-up-command, scroll-down-command): New commands.
12444 Put property isearch-scroll=t on them.
12446 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12447 `scroll-down-command' and [next] from `scroll-up' to
12448 `scroll-up-command'.
12450 * emulation/cua-base.el: Put property CUA=move on
12451 `scroll-up-command' and `scroll-down-command'.
12452 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12453 and `scroll-down-command' to `cua-scroll-down'.
12455 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12457 * help.el (describe-mode): Return nil.
12459 2010-04-04 John Wiegley <jwiegley@gmail.com>
12461 * ido.el (ido-use-virtual-buffers): New variable to indicate
12462 whether "virtual buffer" support is enabled for IDO.
12463 (ido-virtual): Face used to indicate virtual buffers in the list.
12464 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12465 exists, but a virtual buffer of that name does (which would be why
12466 it was in the list), recreate the buffer by reopening the file.
12467 (ido-make-buffer-list): If virtual buffers are being used, call
12468 `ido-add-virtual-buffers-to-list' before the make list hook.
12469 (ido-virtual-buffers): New variable which contains a copy of the
12470 current contents of the `recentf-list', albeit pared down for the
12471 sake of speed, and with proper faces applied.
12472 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12473 create a list of "virtual buffers" to present to the user in
12474 addition to the currently open set. Note that this logic could
12475 get rather slow if that list is too large. With the default
12476 `recentf-max-saved-items' of 200, there is little speed penalty.
12478 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12480 * font-lock.el: Require CL when compiling.
12481 (font-lock-turn-on-thing-lock): Use `case'.
12483 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12485 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12488 2010-04-02 Juri Linkov <juri@jurta.org>
12490 * ehelp.el (electric-help-orig-major-mode):
12491 New buffer-local variable.
12492 (electric-help-mode): Set it to original major-mode. Doc fix.
12493 (with-electric-help): Use `electric-help-orig-major-mode' instead
12494 of (default-value 'major-mode). Doc fix.
12495 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12497 2010-04-02 Sam Steingold <sds@gnu.org>
12499 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12500 `vc-hg-command' with a list of flags.
12502 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12503 Also accept "patch" and "RFE".
12504 (bug-reference-fontify): `bug-reference-url-format' can also be a
12505 function to be able to handle the bug kind.
12506 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12508 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12510 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12511 value to fboundp, it may not be a symbol.
12513 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12515 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12517 2010-03-31 Juri Linkov <juri@jurta.org>
12519 * simple.el (next-line, previous-line): Re-throw a signal
12520 with `signal' instead of using `ding'.
12521 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12523 2010-03-31 Juri Linkov <juri@jurta.org>
12525 * simple.el (keyboard-escape-quit): Raise deselecting the active
12526 region higher than exiting the minibuffer.
12527 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12529 2010-03-31 Juri Linkov <juri@jurta.org>
12531 * image.el (image-animated-p): Use `image-metadata' instead of
12532 `image-extension-data'. Get GIF extenstion data from metadata
12533 property `extension-data'.
12535 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12537 * simple.el (append-to-buffer): Simplify.
12539 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12541 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12542 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12544 2010-03-31 Kenichi Handa <handa@m17n.org>
12546 * language/sinhala.el (composition-function-table): Fix regexp for
12547 the new Unicode specification.
12549 * language/indian.el (devanagari-composable-pattern)
12550 (tamil-composable-pattern, kannada-composable-pattern)
12551 (malayalam-composable-pattern): Adjust for the new Unicode
12553 (bengali-composable-pattern, gurmukhi-composable-pattern)
12554 (gujarati-composable-pattern, oriya-composable-pattern)
12555 (telugu-composable-pattern): New variables to cope with the new
12556 Unicode specification. Use them in composition-function-table.
12558 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12560 Make tmm-menubar work for the Buffers menu again (bug#5726).
12561 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12562 vectors rather than cons cells, as used in menu-bar-update-buffers.
12564 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12566 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12567 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12568 electric punctuation for "{}();,:" (Bug#5586).
12570 * mail/sendmail.el (mail-default-directory): Doc fix.
12572 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12574 * mail/sendmail.el (mail-default-directory): Doc fix.
12576 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12578 * subr.el (version-regexp-alist, version-to-list)
12579 (version-list-<, version-list-=, version-list-<=)
12580 (version-list-not-zero, version<, version<=, version=): Doc fix.
12583 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12585 * vc.el (vc-root-diff): Doc fix.
12587 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12589 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12591 * simple.el (append-to-buffer): Fix last change.
12593 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12595 * simple.el (append-to-buffer): Ensure that point is preserved if
12596 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12599 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12601 * files.el (auto-mode-case-fold): Change default to t.
12603 2010-03-30 Juri Linkov <juri@jurta.org>
12605 * dired-x.el (dired-omit-mode): Doc fix.
12607 2010-03-30 Juri Linkov <juri@jurta.org>
12609 * replace.el (occur-accumulate-lines): Move occur-engine related
12610 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12611 to be located after `occur-engine'.
12613 2010-03-30 Juri Linkov <juri@jurta.org>
12615 Make occur handle multi-line matches cleanly with context.
12616 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12618 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12619 (occur-engine): Add local variables `ret', `prev-after-lines',
12620 `prev-lines'. Use more arguments for `occur-context-lines'.
12621 Set first elem of its returned list to `data', and the second elem
12622 to `prev-after-lines'. Don't print the separator line.
12623 In the end, print remaining context after-lines.
12624 (occur-context-lines): Add new arguments `begpt', `endpt',
12625 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12626 after-lines of the previous match with before-lines of the
12627 current match and not overlap them. Return a list with two
12628 values: the output line and the list of context after-lines.
12630 2010-03-30 Juri Linkov <juri@jurta.org>
12632 * replace.el (occur-accumulate-lines): Fix a bug where the first
12633 context line at the beginning of the buffer was missing.
12635 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12637 * files.el: Make bidi-display-reordering safe variable for boolean
12640 2010-03-29 Phil Hagelberg <phil@evri.com>
12641 Chong Yidong <cyd@stupidchicken.com>
12643 * subr.el: Extend progress reporters to perform "spinning".
12644 (progress-reporter-update, progress-reporter-do-update):
12645 Handle non-numeric value arguments.
12646 (progress-reporter--pulse-characters): New var.
12648 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12650 * progmodes/compile.el (compilation-start): Fix regexp detection
12651 of initial cd command (Bug#5771).
12653 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12655 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12657 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12659 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12660 * progmodes/gdb-mi.el: Restore.
12661 * progmodes/gdb-ui.el: Remove.
12662 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12664 2010-03-25 Glenn Morris <rgm@gnu.org>
12666 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12667 all dired buffers, even tramp ones. (Bug#5755)
12669 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12671 Add "union tags" in mpc.el.
12672 * mpc.el: Remove backward compatibility code.
12673 (mpc-browser-tags): Change default.
12674 (mpc--find-memoize-union-tags): New var.
12675 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12676 (mpc-cmd-find): Handle the case where the playlist does not exist.
12678 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12679 (mpc-cmd-add): Use mpc-cmd-flush.
12680 (mpc-tagbrowser-tag-name): New fun.
12681 (mpc-tagbrowser-buf): Use it.
12682 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12684 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12687 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12688 Use replace-regexp-in-string.
12689 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12690 (makefile-imake-mode-syntax-table): Move init into defvar.
12691 (makefile-mode): Use define-derived-mode.
12693 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12694 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12695 not be present any more.
12697 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12699 * faces.el (set-face-attribute): Fix typo in docstring.
12700 (face-valid-attribute-values): Reflow docstring.
12702 2010-03-24 Glenn Morris <rgm@gnu.org>
12704 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12706 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12708 * indent.el (indent-for-tab-command): Doc fix.
12710 2010-03-24 Alan Mackenzie <acm@muc.de>
12712 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12713 Fix off-by-one error. Fixes bug #5747.
12715 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12717 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12718 (image-dired-read-comment): Doc fix.
12720 * json.el (json-object-type, json-array-type, json-key-type)
12721 (json-false, json-null, json-read-number):
12722 * minibuffer.el (completion-in-region-functions):
12723 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12724 (cal-tex-cursor-week):
12725 * emacs-lisp/trace.el (trace-function):
12726 * eshell/em-basic.el (eshell/printnl):
12727 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12728 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12729 * obsolete/levents.el (allocate-event, event-key, event-object)
12730 (event-point, event-process, event-timestamp, event-to-character)
12731 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12732 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12733 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12734 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12735 (reftex-highlight-selection): Fix typos in docstrings.
12737 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12739 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12741 2010-03-24 Glenn Morris <rgm@gnu.org>
12743 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12744 2008-02-13 without comment; mark it obsolete.
12745 (rmail-highlight-headers): Use rmail-highlight-face once more.
12747 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12749 * woman.el (woman2-process-escapes): Only consume the newline if
12750 the filler character is on a line by itself (Bug#5729).
12752 2010-03-24 Kenichi Handa <handa@m17n.org>
12754 * language/indian.el (devanagari-composable-pattern): Add more
12757 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12759 * net/trampver.el: Update release number.
12761 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12763 * net/tramp.el (tramp-find-executable):
12764 Use `tramp-get-connection-buffer'. Make the regexp for checking
12765 output of "wc -l" more robust.
12766 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12767 (tramp-open-connection-setup-interactive-shell): Remove workaround
12768 for OpenSolaris bug, it is not needed anymore.
12770 2010-03-24 Glenn Morris <rgm@gnu.org>
12772 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12774 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12776 * files.el (auto-mode-alist): Accept more verilog file patterns.
12778 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12780 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12782 2010-03-24 Glenn Morris <rgm@gnu.org>
12784 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12785 log-edit-before-checkin-process.
12787 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12789 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12791 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12792 (log-view-process-buffer, log-edit-extra-flags): Declare.
12794 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12796 2010-03-23 Sam Steingold <sds@gnu.org>
12798 Fix bug#5620: recalculate all markers on compilation buffer
12799 modifications, not on file modifications.
12800 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12801 variable: the buffer modification time, for buffers not associated with
12803 (compilation-mode): Create it.
12804 (compilation-filter): Update it.
12805 (compilation-next-error-function): Use it instead of
12806 `visited-file-modtime' for timestamp.
12808 2010-03-23 Juri Linkov <juri@jurta.org>
12810 Implement Occur multi-line matches.
12811 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12813 * replace.el (occur): Doc fix.
12814 (occur-engine): Set `begpt' to the beginning of the first line.
12815 Set `endpt' to the end of the last match line. At first, count
12816 line numbers between `origpt' and `begpt'. Split out code from
12817 `out-line' variable to new let-bindings `match-prefix' and
12818 `match-str'. In `out-line' add non-numeric prefix to all
12819 non-first lines of multi-line matches. Finally, count lines
12820 between `begpt' and `endpt' and add to `lines'.
12822 2010-03-23 Juri Linkov <juri@jurta.org>
12824 * replace.el (occur-accumulate-lines, occur-engine):
12825 Use `occur-engine-line' instead of duplicate code.
12826 (occur-engine-line): New function created from duplicate code
12827 in `occur-accumulate-lines' and `occur-engine'.
12829 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12830 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12832 2010-03-23 Juri Linkov <juri@jurta.org>
12834 * finder.el: Remove TODO tasks.
12836 * info.el (Info-finder-find-node): Add node "all"
12837 with all package info. Handle a list of multiple keywords
12838 separated by comma.
12839 (info-finder): In interactive use with a prefix argument,
12840 use `completing-read-multiple' to read a list of keywords
12841 separated by comma.
12843 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12845 Add a new completion style `substring'.
12846 * minibuffer.el (completion-basic--pattern): New function.
12847 (completion-basic-try-completion, completion-basic-all-completions):
12849 (completion-substring--all-completions)
12850 (completion-substring-try-completion)
12851 (completion-substring-all-completions): New functions.
12852 (completion-styles-alist): New style `substring'.
12854 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12856 Get rid of .elc files after removal of the corresponding .el.
12857 * Makefile.in (compile-clean): New target.
12858 (compile-main): Use it.
12860 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12862 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12863 don't do make there. When compiling with separate object dir, there
12864 is no Makefile there.
12866 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12868 Get rid of the ELCFILES abomination, again.
12869 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12870 (all, compile): Don't call compile-last.
12871 (compile-main): Build the "elcfiles" list dynamically.
12872 (compile-targets): New (internal) target.
12874 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12876 * Makefile.in (top_srcdir): Define.
12877 (abs_top_builddir): Define.
12878 (srcdir): Don't append `/..'.
12879 (EMACS): Use ${abs_top_builddir}.
12880 (all, compile, compile-always, compile-last): Don't set emacswd.
12881 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12883 (lisp): Use $(srcdir) instead of @srcdir@.
12885 2010-03-21 Juri Linkov <juri@jurta.org>
12887 Fix message of multi-line occur regexps and multi-buffer header lines.
12888 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12890 * replace.el (occur-1): Don't display regexp if it is longer
12891 than window-width. Use `query-replace-descr' to display regexp.
12892 (occur-engine): Don't display regexp in the buffer header for
12893 multi-buffer occur. Display a separate header line with total
12894 match count and regexp for multi-buffer occur.
12895 Use `query-replace-descr' to display regexp.
12897 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12899 * net/secrets.el: Fix parenthesis.
12900 (secrets-enabled): Fix parenthesis.
12902 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12904 Use more relative file and directory names.
12905 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12906 (setwins, setwins_almost, setwins_for_subdirs):
12907 Don't `cd'; output relative names.
12908 (all, compile, compile-always, compile-last): Set emacswd.
12909 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12910 Just cd to the lisp source dir so we can use relative file names.
12912 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12914 2010-03-20 Glenn Morris <rgm@gnu.org>
12916 * textmodes/rst.el: Use faces for font-lock customization, and make the
12917 old -face variables obsolete.
12918 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12919 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12920 (rst-block-face, rst-external-face, rst-definition-face)
12921 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12922 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12924 (rst-font-lock-keywords-function): Update for above changes.
12926 2010-03-20 Juri Linkov <juri@jurta.org>
12929 * obsolete/s-region.el: Move to obsolete.
12931 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12933 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12935 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12937 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12939 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12941 Add special markup processing for commit logs.
12942 * log-edit.el (log-edit-extra-flags): New variable.
12943 (log-edit): Add new argument MODE. Use that mode when non-nil
12944 instead of the log-view-mode.
12945 (log-view-process-buffer): New function.
12947 * vc.el: Document that the checkin method takes optional
12948 arguments. Document new backend specific method: log-view-mode.
12949 (vc-default-log-edit-mode): New function.
12950 (vc-checkin): Use a backend specific log-view-mode.
12951 Pass extra arguments to the checkin method.
12952 (vc-modify-change-comment): Pass a dummy extra argument.
12954 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12956 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12957 (vc-finish-logentry): Process the log buffer before passing it
12958 down. Pass log-edit-extra-flags.
12960 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12962 (log-edit-extra-flags, log-edit-before-checkin-process):
12965 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12967 (log-edit-extra-flags, log-edit-before-checkin-process):
12969 (vc-hg-log-edit-mode): New derived mode.
12971 * vc-arch.el (vc-arch-checkin):
12972 * vc-cvs.el (vc-cvs-checkin):
12973 * vc-git.el (vc-git-checkin):
12974 * vc-mtn.el (vc-mtn-checkin):
12975 * vc-rcs.el (vc-rcs-checkin):
12976 * vc-sccs.el (vc-sccs-checkin):
12977 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12979 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12981 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12984 2010-03-19 Glenn Morris <rgm@gnu.org>
12986 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12988 2010-03-18 Glenn Morris <rgm@gnu.org>
12990 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12992 * replace.el (query-replace-history): Give it a doc string.
12993 (map-query-replace-regexp): Use query-replace-from-history-variable
12994 and query-replace-to-history-variable.
12996 * mail/hashcash.el (declare-function): Remove duplicate definition.
12998 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12999 Make it an obsolete alias for report-emacs-bug-address.
13000 (message-strip-special-text-properties): Declare.
13001 (report-emacs-bug): Remove test for a pretest bug address.
13002 Combine message-mode-specific code.
13004 * mail/supercite.el: Don't require sendmail.
13005 (mh-in-header-p): Declare rather than using with-no-warnings.
13006 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13007 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13009 * calendar/cal-french.el: Convert to utf-8.
13011 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13014 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13016 * net/secrets.el (secrets-enabled): New variable. Use it instead
13019 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13021 * net/secrets.el (top): Register the D-Bus signals only when the
13022 service "org.freedesktop.secrets" can be pinged.
13023 Provide subfeature `enabled'.
13025 2010-03-14 Juri Linkov <juri@jurta.org>
13027 Add finder unknown keywords.
13029 * finder.el (finder-unknown-keywords): New function.
13031 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13032 to create a Finder node with unknown keywords.
13034 2010-03-14 Juri Linkov <juri@jurta.org>
13036 * finder.el (finder-compile-keywords): Replace `princ' with
13037 `prin1' on a list of symbols interned from keyword strings.
13039 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13040 a comma, then split keywords using a comma and optional whitespace.
13041 Otherwise, split by whitespace.
13049 * progmodes/mixal-mode.el: Fix keywords.
13051 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13053 * Makefile.in (ELCFILES): Add net/secrets.elc.
13055 * net/secrets.el: New file.
13057 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13059 * facemenu.el (list-colors-display, list-colors-print): New arg
13060 callback. Use it to allow selecting colors.
13062 * wid-edit.el (widget-image-insert): Insert image prop even if the
13063 current display is non-graphic.
13064 (widget-field-value-set): New fun.
13065 (editable-field): Use it.
13066 (widget-field-value-get): Clean up unused var.
13067 (widget-color-value-create, widget-color--choose-action):
13068 New funs. Allow using list-colors-display to choose color.
13070 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13072 * cus-edit.el: Resort topmost custom groups.
13073 (custom-buffer-sort-alphabetically): Default to t.
13074 (customize-apropos): Use apropos-parse-pattern.
13075 (custom-search-field): New var.
13076 (custom-buffer-create-internal): Add custom-apropos search field.
13077 (custom-add-parent-links): Don't display parent doc.
13078 (custom-group-value-create): Don't sort top-level custom group.
13079 (custom-magic-value-create): Show visibility button before option name.
13081 (custom-variable-state): New fun, from custom-variable-state-set.
13082 (custom-variable-state-set): Use it.
13083 (custom-group-value-create): Hide options with standard values
13084 using the :hidden-states property. Use progress reporter.
13086 (custom-show): Simplify.
13087 (custom-visibility): Disable images by default.
13088 (custom-variable): New property :hidden-states.
13089 (custom-variable-value-create): Enable images for
13090 custom-visibility widgets. Use :hidden-states property to
13091 determine initial visibility.
13093 * wid-edit.el (widget-image-find): Give images center ascent.
13094 (visibility): Add :on-image and :off-image properties.
13095 (widget-visibility-value-create): Use them.
13097 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13099 * cus-edit.el (processes): Remove from development group.
13100 (oop, hypermedia): Delete group.
13101 (comm): Promote to top-level group.
13103 * net/browse-url.el (browse-url):
13104 * net/xesam.el (xesam):
13105 * net/tramp.el (tramp):
13106 * net/goto-addr.el (goto-address):
13107 * net/ange-ftp.el (ange-ftp): Put in comm group.
13109 * view.el (view): Remove from editing group.
13111 * uniquify.el (uniquify): Put in files group.
13113 * net/browse-url.el (browse-url):
13114 * ps-print.el (postscript): Put in external group.
13116 * cus-edit.el (outlines):
13117 * textmodes/text-mode.el (text-mode-hook):
13118 * textmodes/table.el (table):
13119 * textmodes/picture.el (picture):
13120 * outline.el (outlines): Put in wp group.
13122 * nxml/nxml-mode.el (nxml): Remove from wp group.
13124 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13126 * mail/metamail.el (metamail): Remove from hypermedia group.
13128 * cus-edit.el (abbrev):
13129 * whitespace.el (whitespace):
13130 * vcursor.el (vcursor):
13131 * reveal.el (reveal):
13132 * hl-line.el (hl-line): Put in convenience group.
13134 * epg-config.el (epg): Put in data group.
13136 * emulation/pc-select.el (pc-select): Put in emulations group.
13138 * calculator.el (calculator): Put in applications group.
13140 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13142 Add .dir-locals.el support for file-less buffers.
13143 * files.el (hack-local-variables): Split out code to apply local
13144 variable settings ...
13145 (hack-local-variables-apply): ... here. New function.
13146 (hack-dir-local-variables): Use the default directory for when the
13147 buffer does not have an associated file.
13148 (hack-dir-local-variables-non-file-buffer): New function.
13149 * diff-mode.el (diff-mode):
13150 * vc-annotate.el (vc-annotate-mode):
13151 * vc-dir.el (vc-dir-mode):
13152 * log-edit.el (log-edit-mode):
13153 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13155 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13157 Add support for shelving snapshots and for showing shelves.
13158 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13159 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13161 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13162 (vc-bzr-extra-menu-map): Map them.
13164 2010-03-11 Glenn Morris <rgm@gnu.org>
13166 * cus-edit.el (customize-changed-options-previous-release):
13169 * image.el (image-animate-max-time): Fix :version tag.
13171 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13175 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13177 * vc-git.el (vc-git-revision-table): Include remote branches.
13179 2010-03-10 Kim F. Storm <storm@cua.dk>
13181 Animated image API.
13182 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13184 * image.el (image-animate-max-time): New defcustom.
13185 (image-animated-types): New defconst.
13186 (create-animated-image, image-animate-timer)
13187 (image-animate-start, image-animate-stop, image-animate-timeout)
13188 (image-animated-p): New functions.
13190 * image-mode.el (image-toggle-display-image):
13191 Replace `create-image' with `create-animated-image'.
13193 2010-03-09 Miles Bader <miles@gnu.org>
13195 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13196 instead of "format:"; this ensures that the output is
13197 newline-terminated.
13199 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13201 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13202 that all errors are caught, and that the return value is always a
13205 2010-03-08 Kenichi Handa <handa@m17n.org>
13207 * language/misc-lang.el (windows-1256): New coding system.
13208 (cp1256): New alias of windows-1256 (bug#5690).
13210 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13212 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13213 call to rfc822-bad-address. (Bug#5692)
13215 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13217 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13218 Use vc-git-root as default directory for revision path (Bug#5657).
13220 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13222 * calculator.el (calculator): Don't bind split-window-keep-point
13225 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13227 * vc-git.el: Re-flow to fit into 80 columns.
13228 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13229 Remove spurious `quote' element in each case alternative.
13230 (vc-git-show-log-entry): Use prog1.
13231 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13233 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13235 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13237 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13239 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13240 definition, not the name (Bug#5481).
13242 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13244 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13245 argument with a local variable. (Bug#5670)
13247 2010-03-02 Juri Linkov <juri@jurta.org>
13249 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13251 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13253 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13254 error when FILENAME and NEWNAME are existing remote directories.
13256 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13257 parameter DIR-FLAG.
13259 2010-03-02 Glenn Morris <rgm@gnu.org>
13261 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13262 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13264 2010-03-01 Kenichi Handa <handa@m17n.org>
13266 * language/burmese.el (burmese-composable-pattern): Rename from
13267 myanmar-composable-pattern.
13269 * international/characters.el (script-list):
13270 * international/fontset.el (script-representative-chars):
13271 Change myanmar to burmese.
13272 (otf-script-alist): Likewise.
13273 (setup-default-fontset): Likewise. Re-fix :otf spec.
13275 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13277 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13279 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13281 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13283 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13285 * net/tramp.el (tramp-handle-write-region): START can be a string.
13286 Take care in the checks. Reported by Dan Davison
13287 <davison@stats.ox.ac.uk>.
13289 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13291 * net/dbus.el (dbus-introspect, dbus-get-property)
13292 (dbus-set-property, dbus-get-all-properties):
13293 Use `dbus-call-method' when noninteractive. (Bug#5645)
13295 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13297 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13298 * emacs-lisp/elint.el (elint-add-required-env):
13299 * calendar/icalendar.el (icalendar--add-diary-entry):
13300 * calc/calcalg2.el (math-tracing-integral):
13301 * files.el (recover-session-finish): Use with-current-buffer
13302 instead of save-excursion.
13304 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13306 Fix in-buffer completion when after-change-functions modify the buffer.
13307 * minibuffer.el (completion--replace): New function.
13308 (completion--do-completion): Use it and use relative movement.
13310 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13312 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13314 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13316 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13317 Allow the characters _<> in the stack entry (Bug#5653).
13319 2010-02-26 Kenichi Handa <handa@m17n.org>
13321 * language/burmese.el: Fix entries in composition-function-table.
13322 (myanmar-composable-pattern): New variable.
13324 * international/fontset.el (setup-default-fontset): Add an entry
13327 * international/characters.el (script-list): Add Myanmar
13330 2010-02-26 Glenn Morris <rgm@gnu.org>
13332 * custom.el (custom-initialize-delay): Doc fix.
13334 * mail/sendmail.el (send-mail-function): Autoload the call
13335 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13337 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13339 * files.el (hack-local-variables-filter): For eval forms, also
13340 check safe-local-variable-p (Bug#5636).
13342 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13344 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13345 setting the modes by `ignore-errors'. It might fail, for example
13346 if the file is not owned by the user but the group.
13347 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13349 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13351 * files.el (directory-listing-before-filename-regexp):
13352 Use stricter matching for iso-style dates, to avoid false matches with
13353 date-like filenames (Bug#5597).
13355 * htmlfontify.el (htmlfontify): Doc fix.
13357 * eshell/eshell.el (eshell): Doc fix.
13359 * startup.el (fancy-about-screen): In mode-line, apply
13360 mode-line-buffer-id face only to the buffer name (Bug#5613).
13362 2010-02-20 Kevin Ryde <user42@zip.com.au>
13364 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13365 In `watcom' anchor regexp to start of line, to avoid slowness
13368 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13370 * subr.el (remove-yank-excluded-properties): Explain in a comment
13371 why `category' property is removed.
13373 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13375 * isearch.el (isearch-update-post-hook, isearch-update):
13376 Revert 2010-02-17 change.
13378 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13380 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13381 (icalendar--convert-weekly-to-ical)
13382 (icalendar--convert-yearly-to-ical)
13383 (icalendar--convert-block-to-ical)
13384 (icalendar--convert-cyclic-to-ical)
13385 (icalendar--convert-anniversary-to-ical): Take care of time
13386 specifications where hour has 1-digit only (Bug#5549).
13388 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13390 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13391 of disassemble output in GDB 7.1.
13393 2010-02-19 Glenn Morris <rgm@gnu.org>
13395 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13396 property. (Bug#5593)
13398 2010-02-18 Sam Steingold <sds@gnu.org>
13400 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13402 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13404 Use abbreviated file names in bookmarks (bug#5591).
13405 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13406 calls to expand-file-name.
13407 (bookmark-relocate): Use abbreviated file names in bookmarks.
13408 (bookmark-load): Use abbreviated file names in messages.
13410 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13412 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13413 expand "." and "..". Reported by Thierry Volpiatto
13414 <thierry.volpiatto@gmail.com>.
13416 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13418 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13419 permissions of the temporary file to "0600". In case the remote
13420 file has no read permissions for the owner, there might be
13421 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13423 22010-02-18 Glenn Morris <rgm@gnu.org>
13425 * emacs-lisp/authors.el (authors-renamed-files-alist):
13426 Add entries for INSTALL.CVS.
13428 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13430 * vc-bzr.el: Fix typo in Known Bugs section.
13432 * isearch.el (isearch-update-post-hook): New hook.
13433 (isearch-update): Use the new hook.
13435 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13437 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13438 Fix errors in copying directories.
13439 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13440 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13441 (tramp-handle-delete-file)
13442 (tramp-handle-dired-recursive-delete-directory)
13443 (tramp-handle-write-region): Flush also the cache for the upper
13446 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13448 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13450 * cus-edit.el (hardware): Doc fix.
13452 * man.el (man): Add to external custom group.
13454 * delim-col.el (columns): Move to wp custom group.
13456 * doc-view.el (doc-view): Add to data custom group.
13458 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13460 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13461 by ispell-parse-output (Bug#5575).
13463 2010-02-16 Kenichi Handa <handa@m17n.org>
13465 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13466 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13467 (skkdic-convert): Use `euc-japan' coding system for writing.
13469 2010-02-16 Glenn Morris <rgm@gnu.org>
13471 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13472 tex-main-file before using it. (Bug#5562)
13474 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13476 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13477 warnings, since it is annoying for the user to see them each time he
13480 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13482 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13483 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13484 instead of PROC for caching "first-password-request". Otherwise,
13485 new processes would not profit from passwords already entered.
13487 * net/tramp-cache.el (tramp-dump-connection-properties):
13488 Don't save "first-password-request" property.
13490 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13492 * outline.el (outline-head-from-level):
13493 * simple.el (with-wrapper-hook):
13494 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13495 (elint-defun, elint-buffer-env, elint-top-form-logged)
13496 (elint-unbound-variable):
13497 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13498 Fix typos in docstrings.
13500 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13502 * files.el (insert-directory): When WILDCARD-REGEXP and
13503 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13504 whole directory. (Bug#5551)
13506 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13507 dired's alignment sanity. (Bug#5516)
13509 2010-02-14 Juri Linkov <juri@jurta.org>
13511 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13512 Remove remaining ^H with their preceding chars. (Bug#5566)
13514 2010-02-13 Glenn Morris <rgm@gnu.org>
13516 * simple.el (transpose-subr): Give it a doc-string.
13518 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13521 2010-02-12 Juri Linkov <juri@jurta.org>
13523 * arc-mode.el (archive-unique-fname): Make directories for nested
13524 archives. (Bug#5540)
13526 2010-02-12 Juri Linkov <juri@jurta.org>
13528 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13530 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13532 * subr.el (copy-overlay): Handle deleted overlays.
13534 * man.el (Man-completion-table): Don't signal an error if we can't run
13535 manual-program (bug#4056).
13537 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13539 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13541 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13543 * info.el (Info-bookmark-jump): Simplify.
13545 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13546 (bookmark-default-handler): Accept new bookmark field `buffer'.
13548 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13550 * iswitchb.el (iswitchb-completions): Revert last change.
13552 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13554 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13555 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13556 This prevents file names like "~/" being listed literally.
13558 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13560 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13561 Remove dead code. (Bug#5546)
13563 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13565 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13566 correctly (Bug#5548).
13568 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13570 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13571 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13573 2010-02-08 Kenichi Handa <handa@m17n.org>
13575 * international/mule-util.el (with-coding-priority): Add autoload
13576 cookie for putting `lisp-indent-function'.
13578 2010-02-07 Glenn Morris <rgm@gnu.org>
13580 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13581 Move F2003 named interfaces from keywords-2 to keywords-1, and
13582 use function-name-face rather than constant-face.
13583 Simplify "abstract interface" regexp.
13585 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13587 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13588 ID-FORMAT. Pass it to `file-attributes'.
13590 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13592 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13594 * faces.el (set-face-attribute): Allow calling
13595 internal-set-lisp-face-attribute with 'unspecified family and
13596 foundry argument (Bug#5536).
13598 2010-02-07 Glenn Morris <rgm@gnu.org>
13600 * progmodes/f90.el (f90-font-lock-keywords-2)
13601 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13602 Handle F2003 named interfaces.
13604 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13606 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13607 beg and end before calling c-get-state-before-change-functions.
13609 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13611 * vc-bzr.el (vc-bzr-dir-extra-headers):
13612 Disable the pending merges header.
13614 2010-02-05 Juri Linkov <juri@jurta.org>
13616 * doc-view.el (doc-view-mode):
13617 * image-mode.el (image-mode): Put property mode-class=special.
13620 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13622 * vc-svn.el (vc-svn-revision-table): New function.
13624 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13626 * net/ange-ftp.el (ange-ftp-insert-directory):
13627 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13628 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13629 Handle also directories. (Bug#5478)
13631 2010-02-05 Glenn Morris <rgm@gnu.org>
13633 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13635 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13637 * startup.el (command-line-1): Convert options beginning with a
13638 single dash as well (Bug#5519).
13640 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13642 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13643 * minibuffer.el (completion-initials-expand): Only check the presence
13644 of delims *within* the boundaries, since otherwise the / delim is
13645 always found for files.
13647 Fix up various corner case problems.
13648 * doc-view.el (doc-view-last-page-number): New function.
13649 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13650 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13651 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13652 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13653 (doc-view-convert-current-doc): Don't create the resolution.el file
13655 (doc-view-pdf/ps->png): Do it here instead.
13656 (doc-view-already-converted-p): Check that resolution.el is present.
13657 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13658 windows that are not yet showing images.
13660 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13662 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13663 `dired-uncache' for every elemnt which is an absolute file name.
13665 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13666 directory, handle its directory component.
13667 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13668 function is called permanently and creates noise, otherwise.
13670 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13671 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13672 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13674 2010-02-04 David Burger <dburger@google.com> (tiny change)
13676 * macros.el (apply-macro-to-region-lines):
13677 Minor simplification. (Bug#5485)
13679 2010-02-04 Glenn Morris <rgm@gnu.org>
13681 * mail/rmail.el (rmail-show-message-1): Handle malformed
13682 quoted-printable text. (Bug#5441)
13684 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13686 * simple.el (visual-line-mode): Capitalize lighter.
13688 2010-02-03 John Wiegley <jwiegley@gmail.com>
13690 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13691 list of files considered for "virtual buffer" completions.
13693 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13695 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13696 also in case of (and (not full) (not wildcard)). This is needed
13697 when dired is called with a list of files, which are not in
13698 `default-directory'. (Bug#5478)
13700 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13702 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13704 2010-02-02 Juri Linkov <juri@jurta.org>
13706 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13707 from unidiff to allow function-line after @@.
13709 2010-02-02 Juri Linkov <juri@jurta.org>
13711 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13712 '(RCS SCCS) with inverted condition.
13714 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13716 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13719 2010-02-01 Juri Linkov <juri@jurta.org>
13721 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13722 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13723 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13724 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13726 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13728 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13729 (doc-view-revert-buffer): New command.
13730 (doc-view-mode-map): Use it.
13732 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13734 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13735 pending merge is detected.
13737 2010-01-31 Juri Linkov <juri@jurta.org>
13739 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13740 beginning of interactive spec like all other grep commands do.
13741 Put "all" in front of "gz". (Bug#5260)
13743 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13745 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13747 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13749 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13750 regexp is incorrect (Bug#5476).
13752 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13754 * net/tramp.el (tramp-handle-insert-directory): Handle also
13755 symlinks, when FILENAME is not in `default-directory'.
13757 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13759 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13760 FILE is not in `default-directory'. (Bug#5478)
13762 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13763 of SWITCHES. Handle the case, FILENAME is not in
13764 `default-directory'. (Bug#5478)
13765 (tramp-register-file-name-handlers): Add safe-magic property.
13767 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13769 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13772 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13774 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13775 (flymake-master-make-header-init): Add other C++ filename masks.
13776 (flymake-find-possible-master-files)
13777 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13779 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13781 Fix some busybox annoyances.
13783 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13784 not responding." string.
13785 (tramp-open-connection-setup-interactive-shell): Dump stty
13786 settings. Enable "neveropen" arg for all `tramp-send-command'
13787 calls. Handle "=" in variable values properly.
13788 (tramp-find-inline-encoding): Raise an error, when no encoding is
13790 (tramp-wait-for-output): Check, whether PROC buffer is available.
13791 Remove spurious " ^H" sequences, sent by busybox.
13792 (tramp-get-ls-command): Suppress coloring, if possible.
13794 2010-01-28 Glenn Morris <rgm@gnu.org>
13796 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13798 * log-edit.el (log-edit-strip-single-file-name): Add missing
13799 :safe, :group, and :version tags.
13801 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13803 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13804 buffers. (Bug#5477)
13806 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13808 * files.el (delete-directory): Handle moving to trash without
13809 first doing recursion (Bug#5436).
13811 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13813 * vc-hooks.el (vc-path): Mark as obsolete.
13815 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13817 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13820 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13822 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13824 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13826 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13828 * vc-bzr.el (vc-bzr-revision-table): New function.
13830 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13832 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13833 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13835 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13837 Remove support for adding --signoff on commit.
13838 Future support will use an incompatible generic mechanism.
13839 * vc-git.el (vc-git-add-signoff): Remove variable.
13840 (vc-git-toggle-signoff): Remove function.
13841 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13843 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13844 Rename from xterm-set-background-mode. Return t if the background mode
13846 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13847 earlier, call it again in case the background mode has changed.
13849 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13851 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13854 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13856 * emacs-lisp/assoc.el (aelement): Doc fix.
13857 (aput, adelete, amake): Use lexical-let (Bug#5450).
13859 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13861 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13862 is the same as subprogram call, not declaration. (Bug#5435).
13864 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13866 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13867 (tramp-smb-maybe-open-connection): Use it.
13869 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13871 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13873 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13875 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13876 just because we see "encoding: 8bit".
13877 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13879 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13881 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13883 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13885 * jka-compr.el (jka-compr-load): If load-file is not in
13886 load-history, try its file-truename version. (bug#5447)
13888 2010-01-21 Alan Mackenzie <acm@muc.de>
13890 Fix a situation where deletion of a cpp construct throws an error.
13891 * progmodes/cc-engine.el (c-invalidate-state-cache):
13892 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13893 special cpp construct is still in the buffer.
13894 (c-parse-state): Record the special cpp with markers, not numbers.
13896 2010-01-21 Kenichi Handa <handa@m17n.org>
13898 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13899 process last-command-event, as it is now decoded first (Bug#5380).
13901 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13903 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13905 2010-01-20 Glenn Morris <rgm@gnu.org>
13907 * indent.el (tab-always-indent): Fix custom-type.
13909 2010-01-19 Alan Mackenzie <acm@muc.de>
13911 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13912 buffer throws "args out of range".
13913 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13914 playing the role of delimiter.
13916 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13918 * progmodes/ada-mode.el: Fix bug#5400.
13919 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13920 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13921 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13922 Improve comments in "is" portion. Handle null procedure declaration.
13923 (ada-move-to-end): Improve doc string.
13925 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13927 * ido.el (ido-cur-list): Initialize to nil.
13928 Remove obsolete information from commentary.
13929 (ido-choice-list): Initialize to nil.
13930 (ido-get-bufname): Reject minibuffers.
13931 (ido-make-buffer-list): If "default" is a nonexistent
13932 buffer, ignore it, as per the function's comment.
13933 (ido-kill-buffer-internal): New function.
13934 (ido-kill-buffer-at-head): Use it.
13935 (ido-visit-buffer): Likewise.
13937 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13939 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13941 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13943 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13944 Fix typos in chart titles.
13946 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13947 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13948 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13949 (describe-class, eieio-describe-generic, describe-generic):
13950 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13951 (eieio-speedbar-expand):
13952 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13953 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13954 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13955 (viper-del-backward-char-in-replace, viper-backward-indent)
13956 (viper-brac-function, viper-register-to-point, viper-submit-report):
13957 * net/tramp.el (tramp-remote-coding-commands):
13958 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13959 Fix typos in docstrings.
13961 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13963 * mail/sendmail.el (mail-yank-original): Set the mark if the
13964 specified function for yanking does not do it.
13966 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13968 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13970 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13971 resyncing a directory.
13973 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13975 * progmodes/ada-mode.el: Fix bug#1920.
13976 (ada-ident-re): Delete ., allow multibyte characters.
13977 (ada-goto-label-re): New; matches goto labels.
13978 (ada-block-label-re): New; matches block labels.
13979 (ada-label-re): New; matches both.
13980 (ada-named-block-re): Delete; callers changed to use
13981 `ada-block-label-re' instead.
13982 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13983 Use `ada-block-label-re'.
13984 (ada-indent-on-previous-lines): Improve handling of goto labels.
13985 (ada-get-indent-block-start): Special-case block label.
13986 (ada-get-indent-label): Split into `ada-indent-block-label' and
13987 `ada-indent-goto-label'.
13988 (ada-goto-stmt-start, ada-goto-next-non-ws):
13989 Optionally ignore goto labels.
13990 (ada-goto-next-word): Simplify.
13991 (ada-indent-newline-indent-conditional): Insert newline before
13992 trying to fix indentation; doc fix.
13994 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13996 * calc/calc.el (calc-command-flags): Give it an initial value.
13998 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14000 * files.el (minibuffer-with-setup-hook):
14001 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14002 (artist-key-draw-continously, artist-key-do-continously-continously)
14003 (artist-key-set-point-continously, artist-mouse-draw-continously):
14004 Fix typos in docstrings.
14006 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14008 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14009 Never return t (Bug#3898).
14011 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14013 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14014 can parse the output of the external commands (Bug#5279).
14016 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14018 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14020 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14022 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14024 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14026 * startup.el (command-line): Remove unused --icon-type arg.
14027 Handle --display arg, passing it to command-line-1 (Bug#5392).
14029 2010-01-16 Mario Lang <mlang@delysid.org>
14031 * emacs-lisp/chart.el (chart-translate-namezone):
14032 * textmodes/artist.el (artist-compute-popup-menu-table):
14033 Remove duplicated words in doc-strings.
14035 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14037 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14038 to mairix-search to suppress threading (Bug#5342).
14040 2010-01-15 Kenichi Handa <handa@m17n.org>
14042 * international/mule-cmds.el (canonicalize-coding-system-name):
14043 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14045 2010-01-15 Glenn Morris <rgm@gnu.org>
14047 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14049 * wid-edit.el (widget-keymap): Doc fix.
14051 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14052 former seems to be more widely accepted by various svn versions.
14054 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14056 * find-cmd.el (find-constituents):
14057 * vc-arch.el (vc-arch-root):
14058 * window.el (window-body-height, pop-up-frames):
14059 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14060 * progmodes/ada-stmt.el (ada-if):
14061 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14062 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14063 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14064 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14066 * progmodes/flymake.el (flymake-post-syntax-check):
14067 Fix typo in error message.
14069 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14071 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14072 which is always a string. (Bug#5313)
14074 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14076 * progmodes/ada-xref.el (ada-default-prj-properties):
14077 Simplify previous change.
14079 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14081 * progmodes/ada-xref.el (ada-default-prj-properties):
14082 Default ada_project_path to $ADA_PROJECT_PATH.
14084 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14086 * progmodes/ada-mode.el (ada-create-keymap):
14087 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14089 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14091 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14092 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14093 (ada-get-current-indent, ada-imenu-generic-expression)
14094 (ada-which-function): Check for it.
14096 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14098 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14099 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14101 2010-01-14 Glenn Morris <rgm@gnu.org>
14103 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14105 2010-01-14 Kenichi Handa <handa@m17n.org>
14107 * composite.el (auto-composition-mode): Make it a buffer local
14108 variable (permanent-local).
14109 (auto-composition-function): Set the default value to
14110 auto-compose-chars.
14111 (auto-composition-mode): Make it a simple function, not a minor mode.
14112 (global-auto-composition-mode): Likewise.
14113 (turn-on-auto-composition-if-enabled): Delete it.
14115 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14117 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14119 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14121 * files.el (copy-directory): Compute target for recursive
14122 directories with identical names. (Bug#5343)
14124 2010-01-12 Glenn Morris <rgm@gnu.org>
14126 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14127 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14129 2010-01-11 Sam Steingold <sds@gnu.org>
14131 * imenu.el (imenu-default-create-index-function): Detect infinite
14132 loops caused by imenu-prev-index-position-function.
14134 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14136 * htmlfontify.el (htmlfontify-load-rgb-file)
14137 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14138 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14139 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14140 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14141 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14142 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14143 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14144 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14145 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14146 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14147 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14148 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14149 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14150 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14151 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14152 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14153 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14154 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14155 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14156 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14157 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14158 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14159 backslash-quoting from parentheses, etc.
14161 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14163 * progmodes/js.el: Autoload javascript-mode alias.
14165 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14167 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14168 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14169 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14170 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14171 Fix typos in docstrings.
14172 (ffap-url-regexp): Doc fix.
14173 (ffap-at-mouse): Fix typo in message.
14175 2010-01-11 Glenn Morris <rgm@gnu.org>
14177 * version.el (emacs-copyright): Set copyright year to 2010.
14179 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14181 * format.el (format-annotate-function): Only set
14182 write-region-post-annotation-function after running to-fn so as not to
14183 affect nested write-region calls (bug#5273).
14185 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14187 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14190 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14192 * man.el (Man-goto-section): Signal error if the section is not
14195 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14197 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14198 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14200 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14202 * progmodes/compile.el: Don't treat compile-command as safe if
14203 compilation-read-command might be nil (Bug#4218).
14205 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14207 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14210 2010-01-08 Kenichi Handa <handa@m17n.org>
14212 * international/fontset.el (build-default-fontset-data):
14213 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14215 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14217 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14218 to `create-file-buffer' as it expects, not just a buffer name.
14219 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14220 to help uniquify. (Bug#3224)
14222 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14224 * font-setting.el (font-setting-change-default-font): Use user-spec
14227 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14229 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14231 2010-01-05 Tom Tromey <tromey@redhat.com>
14233 * progmodes/python.el (python-font-lock-keywords):
14234 Handle qualified decorators (Bug#881).
14236 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14238 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14239 in a lightweight checkout.
14241 2010-01-05 Kenichi Handa <handa@m17n.org>
14243 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14245 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14247 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14249 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14251 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14252 checkouts. (Bug#618)
14253 (vc-bzr-log-view-mode): Also highlight the author.
14254 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14255 (vc-bzr-shelve-menu-map):
14256 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14257 (vc-bzr-shelve-apply): Make prompt more explicit.
14259 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14261 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14262 They are valid characters in URL paths (rfc3986), and at least
14263 Firefox does not understand the encoded version (Bug#3166).
14265 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14267 * progmodes/octave-mod.el (octave-end-keywords)
14268 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14269 Add "end" keyword (Bug#3061).
14270 (octave-end-as-array-index-p): New function.
14271 (calculate-octave-indent): Use it.
14273 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14275 * bookmark.el: Consistently put the text property on the bookmark name.
14276 (bookmark-bmenu-marks-width): Bump back to 2, to include
14278 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14279 property on the bookmark name, instead of not putting it at all.
14280 (bookmark-bmenu-list): Fix where we put the text property.
14282 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14284 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14285 for showing buffer modified state (as added in the previous change).
14287 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14289 * bookmark.el: Show modified state of bookmark buffer more accurately.
14290 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14291 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14292 (with-buffer-modified-unmodified): New macro.
14293 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14294 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14295 Use new macro to preserve the buffer modified state.
14297 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14299 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14300 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14301 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14302 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14303 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14304 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14305 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14307 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14309 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14310 Make the lines in the generated doc string shorter. (Bug#4668)
14312 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14314 * net/rcirc.el: Add follow-link binding (Bug#4738).
14316 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14318 * Makefile.in (bzr-update): Rename from cvs-update.
14319 (cvs-update): New target for backward compatibility.
14321 * makefile.w32-in (bzr-update): Rename from cvs-update.
14322 (cvs-update): New target for backward compatibility.
14324 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14326 * bookmark.el: Remove gratuitous gratitude.
14328 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14330 * bookmark.el (bookmark-bmenu-any-marks): New function.
14331 (bookmark-bmenu-save): Clear buffer modification if no marks.
14333 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14335 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14336 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14337 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14338 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14340 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14341 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14342 To: emacs-devel {_AT_} gnu.org
14343 Subject: bookmark.el bug report
14344 Date: Mon, 28 Dec 2009 14:19:16 +0800
14345 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14347 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14349 * bookmark.el: Improvements suggested by Drew Adams:
14350 (bookmark-bmenu-ensure-position): New name for
14351 `bookmark-bmenu-check-position'. Just ensure the position,
14352 don't return any meaningful value.
14353 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14356 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14358 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14359 (bookmark-yank-point, bookmark-bmenu-check-position):
14360 Fix typos in docstrings.
14361 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14362 (bookmark-name-from-full-record, bookmark-get-position)
14363 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14364 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14365 Remove useless quoting of parenthesis, etc. in docstrings.
14367 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14368 (ediff-append-custom-diff): Fix typo in error message.
14369 (ediff-meta-mark-equal-files): Fix typos in messages.
14371 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14373 * net/imap-hash.el (imap-hash-make): Doc fix.
14374 (imap-hash-test): Fix typo in error message; reflow docstring.
14375 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14376 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14377 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14378 Fix typos in docstrings.
14379 (imap-hash-open-connection): Fix typo in error message.
14381 * play/gomoku.el (gomoku): Fix typos in docstring.
14383 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14384 (gdb-jsonify-buffer): Fix typos in docstring.
14385 (gdb-goto-breakpoint): Fix typo in error message.
14386 ("Display Other Windows"): Fix typo in help message.
14387 (gdb-speedbar-expand-node): Fix typo in question.
14389 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14390 (idlwave-html-system-help-location, idlwave-html-help-location)
14391 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14392 (idlwave-help-browser-generic-args, idlwave-help-directory)
14393 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14394 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14395 (idlwave-online-help, idlwave-help-html-link)
14396 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14397 Fix typos in docstrings.
14398 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14400 (idlwave-help-assistant-start): Fix typo in error message.
14402 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14403 (octave-electric-space): Fix typos in docstrings.
14405 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14407 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14409 2010-01-01 Juri Linkov <juri@jurta.org>
14411 * comint.el (comint-input-ring-size): Make it a defcustom and
14412 increase the default to 500 (Bug#5148).
14414 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14416 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14417 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14418 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14420 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14422 Show working revision correctly for mercurial.
14423 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14424 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14426 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14428 Declare some functions for the byte-compiler.
14429 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14430 (speedbar-timer-fn, speedbar-change-expand-button-char)
14431 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14433 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14435 This changeset reverts GDB Graphical Interface to use annotations.
14436 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14438 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14440 Make vc-dir work on subdirectories of the bzr root.
14441 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14442 Return file names relative to it.
14443 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14444 relative directory to vc-bzr-after-dir-status.
14446 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14448 * font-lock.el (font-lock-refresh-defaults): New function, which
14449 can be used to let font-lock react to external changes in
14450 variables like font-lock-defaults and keywords.
14451 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14453 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14455 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14457 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14459 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14461 Supersede color.diff settings in git log (bug#5211).
14463 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14464 escape chars in its output when the user has color.diff set to `always'.
14465 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14467 2009-12-26 Kevin Ryde <user42@zip.com.au>
14469 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14470 node. Keep previous "Index" name to work with past coreutils too.
14472 * man.el (man): Revise docstring a bit to show -a and -l as
14473 examples. Add -k description since support for it has otherwise
14474 been a secret. (Further to bug#3717.)
14475 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14476 "no matches" rather than "Can't find manpage", as the latter reads
14477 like -k was interpreted as a page name, which is not so. (Bug#5431)
14479 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14481 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14482 switches. Check also for //SUBDIRED// line.
14484 2009-12-25 Kenichi Handa <handa@m17n.org>
14486 * language/indian.el (devanagari-composable-pattern): Fix to
14487 handle ZWNJ and ZWJ. Use it in composition-function-table for
14489 (malayalam-composable-pattern): Fix previous change.
14491 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14493 * ps-print.el (ps-face-attributes): It was not returning the
14494 attribute face for faces specified as string. Reported by harven
14495 <harven@free.fr>. (Bug#5254)
14496 (ps-print-version): New version 7.3.5.
14498 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14500 * calendar/icalendar.el (icalendar--convert-tz-offset):
14501 Fix timezone names.
14502 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14503 (icalendar--add-diary-entry): Remove the trailing blank that
14504 diary-make-entry inserts.
14506 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14508 Make `file-expand-wildcards' work for remote files.
14510 * files.el (file-expand-wildcards): In case of remote files, check
14511 only local file name part for wildcards. Provide feature 'files
14512 and subfeature 'remote-wildcards. (Bug#5198)
14514 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14515 if there is already an established connection.
14516 (tramp-advice-file-expand-wildcards): Remove it.
14518 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14519 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14520 Activate advice for older GNU Emacs versions. (Bug#5237)
14522 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14524 Some doc fixes (more needed).
14526 * find-cmd.el (find-constituents): Reflow docstring.
14527 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14528 (find-generic): Doc fix.
14530 2009-12-17 Juri Linkov <juri@jurta.org>
14532 Fix regression from 23.1 to allow multiple modes in Local Variables.
14534 * files.el (hack-local-variables-filter): While ignoring duplicates,
14535 don't take `mode' into account.
14536 (hack-local-variables-filter, hack-dir-local-variables):
14537 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14539 2009-12-17 Juri Linkov <juri@jurta.org>
14541 Make `dired-diff' safer. (Bug#5225)
14543 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14544 `current' or when `file' is a directory of the `current' file.
14546 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14548 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14549 unconditionally preloaded files.
14551 2009-12-16 Juri Linkov <juri@jurta.org>
14553 Revert to old 23.1 logic of using the file at the mark as default.
14554 * dired-aux.el (dired-diff): Use the file at the mark as default
14555 if it's not the same as the current file, and the target dir is
14556 the current dir or the mark is active. Add the current file
14557 as the arg of `dired-dwim-target-defaults'. Use the default file
14558 in the prompt. (Bug#5225)
14560 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14562 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14563 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14564 (tramp-check-for-regexp): Check also, when an echoing shell stops
14565 to echo sent commands.
14567 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14569 * Makefile.in: Revert last change (Bug#5191).
14571 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14573 * vc-hg.el (vc-hg-print-log): Fix argument order.
14574 (vc-hg-working-revision): Make sure the command is executed in a
14575 known environment so that we can parse the output. (Bug#4417)
14577 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14579 * progmodes/python.el (python-symbol-completions): Remove text
14580 properties from symbol string before calling python-send-receive.
14582 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14584 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14585 when there are values for both file and line. (Bug#5060)
14587 2009-12-14 Juri Linkov <juri@jurta.org>
14589 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14590 whitespace after the file name of the first line of unified format,
14591 because git-diff doesn't output whitespace and file modification time
14592 after the file name.
14594 2009-12-14 David Kastrup <dak@gnu.org>
14596 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14597 check if it already has the `display' property added by
14598 `Info-display-images-node', and not put the `invisible' property
14601 2009-12-13 Glenn Morris <rgm@gnu.org>
14603 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14604 (report-emacs-bug): In message-mode, sort manually before storing
14605 original report text. (Bug#5178)
14606 Remove superfluous save-excursion.
14608 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14610 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14611 when responding to "GetAll" properties.
14613 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14615 * simple.el (compose-mail): Remove mail-setup-with-from from
14616 customization checks.
14618 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14620 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14621 RAR archives created on Unix systems.
14623 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14625 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14626 the varalias that was accidentally removed by the 2009-11-19 change
14629 2009-12-12 Kenichi Handa <handa@m17n.org>
14631 * language/indian.el (indian-compose-regexp): New function.
14632 (malayalam-composable-pattern): Fix the pattern.
14633 (composition-function-table): Set malayalam-composable-pattern for
14634 Malayalam characters.
14636 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14638 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14639 rather than down-mouse-1, based on follow-link conventions.
14641 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14644 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14646 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14647 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14648 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14649 (verilog-leap-to-head, verilog-backward-token):
14650 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14652 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14654 * progmodes/verilog-mode.el (verilog-auto-lineup)
14655 (verilog-nameable-item-re): Cleanup user-visible spelling and
14656 documentation errors. One reported by Gary Delp.
14657 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14658 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14659 package, bug195. Reported by Pierre-David Pfister.
14661 2009-12-11 Glenn Morris <rgm@gnu.org>
14663 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14665 * mail/emacsbug.el: No longer require sendmail.
14666 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14667 (report-emacs-bug-orig-text): Doc fix.
14668 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14669 New local variables, to adapt to different mail-user-agents.
14670 (report-emacs-bug): Fix test for a gnu.org address.
14671 Use overlays for emphasis, since font-lock defeats 'face property.
14672 Pretest bugs also end up at the newsgroup these days.
14673 Stop message-mode stripping text properties.
14674 Set and use the new buffer-local variables.
14675 (report-emacs-bug-hook): Add doc-string.
14676 Remove some unnecessary save-excursions and simplify.
14677 Use the appropriate hook and send-command.
14679 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14680 capitalization of some menu entries.
14682 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14684 * whitespace.el (whitespace-display-char-on):
14685 Ensure `buffer-display-table' is unique when two or more windows are
14686 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14689 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14691 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14692 characters in the Attribute field.
14694 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14696 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14698 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14700 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14701 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14702 Disregard autoload-excludes.
14703 (update-directory-autoloads): Obey autoload-excludes here instead.
14704 But don't store its contents in no-autoloads and remove entries that
14705 refer to excludes files.
14707 2009-12-10 Glenn Morris <rgm@gnu.org>
14709 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14710 (expand-mail-aliases): Define for compiler.
14712 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14713 Define for compiler.
14715 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14716 appropriate for the mail-user-agent in use.
14718 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14720 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14722 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14724 Fix short log parsing and fontification.
14725 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14726 Fix fontification for the [merge] label.
14728 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14730 Drop some properties to avoid surprises (bug#5002).
14731 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14732 (hfy-fontify-buffer): Use it.
14734 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14737 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14738 Adjust all callers.
14739 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14740 args compulsory. Adjust callers.
14741 (ffap-gopher-at-point): Remove unused var `name'.
14743 Get rid of the ELCFILES abomination.
14744 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14745 (compile-elcfiles): New phony target.
14746 (compile-main): Compute ELCFILES dynamically.
14747 (compile-clean): New target to remove left-over elc files.
14748 (compile, all): Use it.
14750 2009-12-09 Kenichi Handa <handa@etlken>
14752 * international/mule-diag.el: Require help-mode instead of help-fns.
14754 2009-12-09 Kenichi Handa <handa@m17n.org>
14756 * international/mule-cmds.el (ucs-names): Supply sufficiently
14757 fine ranges instead of pre-calculating accurate ranges.
14758 Iterate with bigger gc-cons-threshold.
14760 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14762 Add support for stashing a snapshot of the current tree.
14763 * vc-git.el (vc-git-stash-snapshot): New function.
14764 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14766 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14768 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14769 instead of `(beginning|end)-of-line'.
14771 2009-12-08 Glenn Morris <rgm@gnu.org>
14773 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14775 * Makefile.in (ELCFILES): Regenerate.
14777 2009-12-07 Juri Linkov <juri@jurta.org>
14779 Don't lazy-highlight the comint output in history Isearch mode.
14781 * comint.el (comint-history-isearch-search): Instead of
14782 `comint-line-beginning-position', use `comint-after-pmark-p'
14783 to check if point if before the process mark, and go to
14784 `process-mark' in this case.
14786 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14788 * textmodes/tex-mode.el (latex-complete)
14789 (latex-indent-or-complete): Remove.
14790 (latex-mode): Set completion-at-point-functions instead.
14792 Provide a standard completion command and hook it into TAB.
14793 * minibuffer.el (completion-at-point-functions): New var.
14794 (completion-at-point): New command.
14795 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14796 * progmodes/python.el (python-mode-map): Use completion-at-point.
14797 (python-completion-at-point): Rename from python-partial-symbol and
14798 adjust for use in completion-at-point-functions.
14799 (python-mode): Setup completion-at-point for Python completion.
14800 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14801 extracted from lisp-complete-symbol.
14802 (lisp-complete-symbol): Use it.
14803 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14804 setup completion-at-point for Elisp completion.
14805 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14806 Use completion-at-point.
14807 * ielm.el (ielm-map): Use completion-at-point.
14808 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14809 * progmodes/sym-comp.el: Move to...
14810 * obsolete/sym-comp.el: Move from progmodes.
14812 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14814 Prevent save-buffer in Rmail buffers from using the coding-system
14815 of the current message, and from clobbering the encoding mnemonics
14816 in the mode line (Bug#4623).
14818 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14820 (rmail-message-encoding): New variable.
14821 (rmail-write-region-annotate): Record the encoding of the current
14822 message in rmail-message-encoding.
14823 (rmail-after-save-hook): New function, restores the encoding of
14824 the current message after the message collection is saved.
14826 2009-12-07 Juri Linkov <juri@jurta.org>
14828 * progmodes/grep.el (grep-read-files): Use `completing-read'
14829 instead of `read-string'. Set its `collection' arg to
14830 `read-file-name-internal'. (Bug#4301)
14832 2009-12-07 Juri Linkov <juri@jurta.org>
14834 Correctly restore original Isearch point. (Bug#4994)
14836 * isearch.el (isearch-mode): Move `isearch-push-state' after
14837 `(run-hooks 'isearch-mode-hook)'.
14838 (isearch-cancel): When `isearch-push-state-function' is defined,
14839 let-bind `isearch-cmds' to the first state (the last element of
14840 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14841 function and restores the original point). Otherwise, move point
14842 to `isearch-opoint'.
14844 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14846 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14847 chars that don't have names, so the table can be built much faster at
14850 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14852 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14853 change. Suggested by David Kastrup.
14855 * simple.el (compose-mail): Check for incompatibilities and warn.
14856 (compose-mail-user-agent-warnings): New option.
14858 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14860 Support showing a single log entry from vc-annotate.
14861 * vc.el (print-log): Add a new argument: START-REVISION.
14862 (vc-print-log-internal): Add a new optional argument and
14863 pass it to the backend.
14864 (vc-print-log, vc-print-root-log): Adjust callers.
14865 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14866 buffer already displays the requested log entry, use it.
14867 Otherwise display only the log entry in question.
14868 * vc-svn.el (vc-svn-print-log):
14869 * vc-mtn.el (vc-mtn-print-log):
14870 * vc-hg.el (vc-hg-state):
14871 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14872 (vc-git-show-log-entry): Return t on success.
14873 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14874 (vc-bzr-show-log-entry): Return t on success.
14875 * vc-rcs.el (vc-rcs-print-log):
14876 * vc-sccs.el (vc-sccs-print-log):
14877 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14879 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14881 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14882 Add menus to the meta mode. (Bug#5043)
14884 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14886 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14889 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14891 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14893 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14894 Berbain <raphael.berbain@gmail.com>.
14896 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14898 (tramp-initial-end-of-output): New defconst.
14899 (tramp-methods, tramp-find-shell)
14900 (tramp-open-connection-setup-interactive-shell)
14901 (tramp-maybe-open-connection): Use it.
14902 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14903 Handle existence of `#' and `$'.
14905 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14906 Use `tramp-initial-end-of-output'.
14908 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14910 Get the background mode from the terminal for xterm, and set
14912 * term/xterm.el (xterm-set-background-mode): New function.
14913 (terminal-init-xterm): Use it in case xterm supports background
14914 color queries. Recompute faces after getting the background
14917 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14919 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14920 number comment back on its own line, for easier parsing.
14922 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14924 Make it work for non-file buffers (bug#5102).
14925 * doc-view.el (doc-view-current-cache-dir):
14926 Use doc-view-buffer-file-name rather than buffer-file-name.
14927 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14929 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14931 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14932 author field is too short.
14934 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14936 * vc-git.el (vc-git-print-log): Handle a limit argument.
14937 Display the short log in graph form and with labels.
14938 (vc-git-log-view-mode): Handle labels.
14940 Make vc-revert change VC state from 'added to 'unregistered.
14941 * vc-git.el (vc-git-revert): Call git reset first.
14943 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14945 * net/newst-backend.el, net/newst-plainview.el:
14946 * net/newst-reader.el, net/newst-ticker.el:
14947 * net/newst-treeview.el, net/newsticker.el:
14948 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14950 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14952 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14954 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14955 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14956 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14957 Update annotation regexp.
14959 * simple.el (beginning-of-visual-line): Constrain to field
14960 boundaries (Bug#5106).
14962 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14964 * xml.el (xml-substitute-numeric-entities):
14965 Move newsticker--decode-numeric-entities in newst-backend.el to
14966 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14967 * net/newst-backend.el (newsticker--parse-generic-feed)
14968 (newsticker--parse-generic-items)
14969 (newsticker--decode-numeric-entities):
14970 Move newsticker--decode-numeric-entities in newst-backend.el to
14971 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14973 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14975 * progmodes/js.el (js--js-not): Add null to the list of values.
14977 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14979 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14981 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14983 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14984 delimiter if it is at the end of the current line.
14985 (bibtex-generate-url-list): Fix docstring.
14987 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14989 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14990 minibuffer's content with itself.
14991 Fold the confirm-after-completion case into the `confirm' case.
14992 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14994 2009-12-06 Kevin Ryde <user42@zip.com.au>
14996 * ffap.el (ffap-rfc-path): Make this a defcustom since
14997 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14999 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15000 manuals, similar to existing setup for help-mode. (Bug#3913.)
15002 2009-12-05 Juri Linkov <juri@jurta.org>
15004 Save and restore dired buffer's point positions too. (Bug#4880)
15006 * dired.el (dired-save-positions): Return in the first element
15007 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15009 (dired-restore-positions): First restore buffer's position.
15010 While restoring window's positions, check if window still displays
15011 the original buffer.
15013 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15015 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15018 * shell.el (shell): Require ansi-color (Bug#5113).
15020 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15022 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15024 2009-12-05 Alan Mackenzie <acm@muc.de>
15026 * progmodes/cc-mode.el (c-before-hack-hook)
15027 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15028 `c-file-style' to work again. This reversion restores the current
15029 software to its state in Emacs 23.1. (Bug#4146)
15031 2009-12-05 Kevin Ryde <user42@zip.com.au>
15033 * textmodes/sgml-mode.el (sgml-lexical-context):
15034 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15036 2009-12-05 Juri Linkov <juri@jurta.org>
15038 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15039 for virtual nodes. (Bug#4147)
15040 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15041 when moving from a virtual node.
15042 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15043 (Info-mode): Add `Info-virtual-index' to the docstring.
15045 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15047 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15048 track of the buffer position of the end of a BibTeX entry as this
15049 position may change during reformatting.
15050 (bibtex-format-entry): Remove whitespace before processing
15051 numerical fields so that we recognize the latter properly.
15052 (bibtex-reformat): Do not use push which changes the global value
15053 of bibtex-entry-format.
15054 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15055 (bibtex-field-re-init): Replace only space characters by regexp
15057 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15058 (bibtex-initialize): Also update bibtex-strings.
15059 (bibtex-kill-field): Preserve white space at end of entry.
15060 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15061 Update bibtex-reference-keys.
15063 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15065 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15066 point after a star, if that's the only place where modifications can
15069 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15071 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15074 2009-12-04 Juri Linkov <juri@jurta.org>
15076 * proced.el (proced): Call `(proced-update t)' to update process
15077 information instead of only running proced-post-display-hook.
15078 (proced-send-signal): Add a leading space to the buffer name
15079 " *Marked Processes*" to make this buffer ephemeral.
15081 2009-12-04 Juri Linkov <juri@jurta.org>
15083 * dired.el (dired-auto-revert-buffer): New defcustom.
15084 (dired-internal-noselect): Use it.
15086 2009-12-04 Juri Linkov <juri@jurta.org>
15088 Change roles of modes and functions in image-mode.el (Bug#5062).
15090 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15091 in `auto-mode-alist'.
15092 (image-mode-previous-major-mode): New variable.
15093 (image-minor-mode-map): Rename from `image-mode-text-map'.
15094 (image-mode): Move graceful error-handling code from
15095 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15096 (image-minor-mode): Remove all image-handling code.
15097 Replace `image-mode-text-map' with `image-minor-mode-map'.
15098 Check for `image-type' in mode-line format string.
15099 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15100 (image-mode-as-text): New function with most code from
15101 `image-mode-maybe'.
15102 (image-toggle-display-text): Move code that removes image
15103 properties from `image-toggle-display' to here.
15104 (image-toggle-display-image): New function with code that adds
15105 image properties copied from `image-toggle-display'.
15106 (image-toggle-display): Remove most code with leaving only code
15107 that toggles between `image-mode-as-text' and `image-mode'.
15109 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15111 * net/newst-treeview.el
15112 (newsticker--treeview-list-highlight-start): Restored call to
15113 save-excursion: Selected item was stuck.
15114 (newsticker--treeview-list-select): New.
15115 (newsticker--treeview-item-show-text)
15116 (newsticker--treeview-item-show)
15117 (newsticker--treeview-item-update): Use new
15118 newsticker-treeview-item-mode.
15119 (newsticker-treeview-update): Keep current item.
15120 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15121 (newsticker--treeview-first-feed): Doc change.
15122 (newsticker-treeview-list-menu)
15123 (newsticker-treeview-item-menu): Add menu entries.
15124 (newsticker-treeview-item-mode): New.
15126 * net/newst-backend.el (newsticker-customize): Delete other
15129 2009-12-04 Sam Steingold <sds@gnu.org>
15131 * log-view.el (log-view-mode-map): "q" calls quit-window,
15132 like in all the other non-self-insert buffers.
15134 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15138 key decoding rather than do it manually via last-input-event +
15140 (term-exec): Use delete-and-extract-region.
15141 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15142 (term-process-pager): Remove unused var `i'.
15143 (term-dynamic-simple-complete): Make obsolete.
15144 (serial-update-config-menu): Remove unused vars `y' and `str'.
15145 (term-update-mode-line): Remove unused var `temp'.
15147 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15149 Limit the number of log entries displayed by default.
15150 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15151 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15152 using a prefix argument.
15154 2009-12-03 Glenn Morris <rgm@gnu.org>
15156 * progmodes/idlwave.el (class): Restore still useful declaration.
15158 2009-12-03 Alan Mackenzie <acm@muc.de>
15160 Enhance `c-parse-state' to run efficiently in "brace deserts".
15162 * progmodes/cc-mode.el (c-basic-common-init):
15163 Call c-state-cache-init.
15164 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15165 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15166 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15168 * progmodes/cc-langs.el (c-before-font-lock-function):
15169 c-extend-and-neutralize-syntax-in-CPP has been renamed
15170 c-neutralize-syntax-in-and-mark-CPP.
15172 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15173 with `category' properties now, not `syntax-table' ones.
15175 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15176 enhanced (but slower) version of c-end-of-macro that won't land
15177 inside a literal or on another awkward character.
15178 (c-state-cache-too-far, c-state-cache-start)
15179 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15180 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15181 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15182 (c-state-min-scan-pos, c-state-brace-pair-desert)
15183 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15184 buffer local variables.
15185 (c-state-literal-at, c-state-lit-beg)
15186 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15187 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15188 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15189 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15190 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15191 (c-renarrow-state-cache)
15192 (c-append-lower-brace-pair-to-state-cache)
15193 (c-state-push-any-brace-pair, c-append-to-state-cache)
15194 (c-remove-stale-state-cache)
15195 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15196 (c-invalidate-state-cache-1, c-parse-state-1)
15197 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15198 (c-parse-state): Enhance and refactor.
15199 (c-debug-parse-state): Amend to deal with all the new variables.
15201 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15202 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15203 modify to use category text properties rather than syntax-table ones.
15204 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15205 to switch off/on the syntactic paren property of C++ template
15206 delimiters using the category property.
15207 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15208 template delims suppressed.
15209 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15210 New constant/macros which apply category properties to the start
15211 and end of preprocessor constructs.
15212 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15213 "comment out" the syntactic value of characters in preprocessor
15215 (c-with-cpps-commented-out)
15216 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15217 with characters in all or all but one preprocessor constructs
15220 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15222 * proced.el (proced-filter-alist): Use regexp-quote.
15224 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15227 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15228 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15229 arguments. Expand `default-directory'.
15231 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15232 the benefit of returning an expanded localname.
15233 (tramp-tramp-file-p): Handle the case NAME is not a string.
15235 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15237 Add support for bzr shelve/unshelve.
15238 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15239 (vc-bzr-extra-menu-map): New variables.
15240 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15241 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15242 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15243 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15244 (vc-bzr-dir-extra-headers): Display shelves.
15246 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15248 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15250 * textmodes/bibtex.el (bibtex-complete-internal):
15251 Use completion-in-region.
15252 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15254 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15256 Support applying stashes. Improve UI.
15257 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15258 (vc-git-stash-apply, vc-git-stash-pop)
15259 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15260 (vc-git-stash-menu): New functions.
15261 (vc-git-stash-menu-map): New variable.
15262 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15264 2009-12-03 Glenn Morris <rgm@gnu.org>
15266 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15267 (vc-print-log-internal): Fix previous change.
15268 (vc-revert): Correct pluralization.
15270 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15272 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15273 it to be an alist any more.
15274 (makefile-complete): Use completion-in-region.
15276 * progmodes/octave-mod.el (octave-complete-symbol):
15277 Use completion-in-region.
15280 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15281 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15282 (idlwave-complete-class): Don't quote lambda.
15283 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15284 (idlwave-mode-map): Move initialization into declaration.
15285 (idlwave-action-and-binding): Use backquotes.
15286 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15288 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15289 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15290 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15291 `parts', and `all-parts'.
15292 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15293 (idlwave-convert-xml-system-routine-info): Remove unused string
15295 (idlwave-display-user-catalog-widget): Use dolist.
15296 (idlwave-scanning-lib): Declare dynamically-scoped var.
15297 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15298 (completion-highlight-first-word-only): Declare to silence bytecomp.
15299 (idlwave-popup-select): Tighten scope of `resp'.
15300 (idlwave-find-struct-tag): Remove unused var `beg'.
15301 (idlwave-after-load-rinfo-hook): Declare.
15302 (idlwave-sintern-class-info): Remove unused var `taglist'.
15303 (idlwave-find-class-definition): Remove unused var `list'.
15304 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15305 (idlwave-what-module-find-class): Remove unused var `classes'.
15307 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15309 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15311 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15313 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15314 buffers visited. Remove redundant current-buffer-saving.
15316 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15318 Use completion-in-buffer and remove uses of dynamic scoping.
15319 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15320 (pascal-buffer-to-use, pascal-flag): Don't declare.
15321 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15322 (pascal-get-completion-decl, pascal-keyword-completion):
15323 Add `pascal-str' argument, save-excursion,
15324 return the found completions, and don't filter with pascal-pred.
15325 (pascal-completion-cache): New var.
15326 (pascal-completion): Don't switch buffer any more (it was never
15327 necessary). Don't save-excursion any more (it's done by the called
15328 subroutines). Use a cache to avoid redundant computations.
15329 Use complete-with-action rather than pascal-completion-response and
15330 let it apply the predicate as well.
15331 (pascal-complete-word): Use completion-in-buffer when
15332 pascal-toggle-completions is nil.
15333 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15335 (pascal-comp-defun): Don't change buffer any more.
15336 Use complete-with-action rather than pascal-completion-response and
15337 let it apply the predicate as well.
15338 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15341 2009-12-02 Kenichi Handa <handa@m17n.org>
15343 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15344 shape for all Indic scripts.
15346 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15348 Use completion-in-buffer.
15349 * wid-edit.el (widget-field-text-end): New function.
15350 (widget-field-value-get): Use it.
15351 (widget-string-complete, widget-file-complete)
15352 (widget-color-complete): Use it and completion-in-region.
15353 (widget-complete): Don't narrow the buffer.
15355 2009-12-02 Glenn Morris <rgm@gnu.org>
15357 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15358 (rmail-select-summary): Use rmail-pop-to-buffer.
15359 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15360 rmail-pop-to-buffer, to prevent horizontal splits.
15362 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15363 save-excursion with save-current-buffer.
15364 Widen before searching. (Bug#5093)
15365 (diary-list-sexp-entries): Remove superfluous save-excursion.
15367 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15369 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15372 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15374 * ido.el (ido-file-internal): Handle filenames at point that do
15375 not have a directory part. (Bug#5049)
15377 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15379 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15380 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15382 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15384 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15385 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15388 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15390 * comint.el (comint-insert-input): Ignore clicks to the right of
15391 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15393 * vc.el (vc-print-log-internal): Don't wait for the process to
15394 terminate before setting up the major mode.
15396 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15399 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15402 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15404 2009-12-01 Glenn Morris <rgm@gnu.org>
15406 * window.el (window--display-buffer-2): Fix previous changes.
15408 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15410 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15412 2009-12-01 Glenn Morris <rgm@gnu.org>
15414 * Makefile.in (ELCFILES): Add mpc.elc.
15416 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15418 * mpc.el: New file.
15420 2009-12-01 Glenn Morris <rgm@gnu.org>
15422 * window.el (window-to-use): Define for compiler.
15424 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15425 consistent with others (no final period).
15427 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15428 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15430 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15432 Make vc-print-log buttons work.
15433 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15435 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15437 * savehist.el (savehist-autosave-interval): Allow setting to nil
15438 through customize. (Bug#5056)
15440 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15442 Fix references to jit-lock properties.
15443 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15444 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15445 (perl-font-lock-special-syntactic-constructs):
15446 Quote jit-lock-defer-multiline property.
15448 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15450 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15452 2009-11-30 Juri Linkov <juri@jurta.org>
15454 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15455 value `buffer' of `multi-isearch-next-buffer-current-function'.
15456 Use `(current-buffer)' when `buffer' is nil.
15457 (multi-isearch-next-buffer-from-list): Don't fallback to
15458 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15460 2009-11-30 Juri Linkov <juri@jurta.org>
15462 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15463 of buffers with `get-buffer' to `multi-isearch-buffers'.
15464 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15465 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15466 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15467 FILES with `expand-file-name' converting relative file names
15468 to absolute. Doc fix. (Bug#4727)
15470 2009-11-30 Juri Linkov <juri@jurta.org>
15472 * misearch.el (multi-isearch-read-buffers)
15473 (multi-isearch-read-matching-buffers): New functions.
15474 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15475 Use them in the `interactive' spec. Doc fix.
15476 (multi-isearch-read-files, multi-isearch-read-matching-files):
15478 (multi-isearch-files, multi-isearch-files-regexp):
15479 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15481 2009-11-30 Juri Linkov <juri@jurta.org>
15483 * doc-view.el (doc-view-continuous):
15484 Rename from `doc-view-continuous-mode'.
15485 (doc-view-menu): Move "Toggle display" to the top.
15486 Add submenu "Continuous" with radio buttons "Off"/"On"
15487 and "Save as Default".
15488 (doc-view-scroll-up-or-next-page)
15489 (doc-view-scroll-down-or-previous-page)
15490 (doc-view-next-line-or-next-page)
15491 (doc-view-previous-line-or-previous-page):
15492 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15494 2009-11-30 Juri Linkov <juri@jurta.org>
15496 * comint.el (comint-mode-map): Rebind `M-r' from
15497 `comint-previous-matching-input' to
15498 `comint-history-isearch-backward-regexp'.
15499 Unbind `M-s' to allow global key binding `M-s'.
15500 Add menu items for `comint-history-isearch-backward' and
15501 `comint-history-isearch-backward-regexp'. (Bug#3746)
15503 2009-11-30 Juri Linkov <juri@jurta.org>
15505 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15506 For def=recenter, replace `recenter' with `recenter-top-bottom'
15507 that is called with `this-command' and `last-command' let-bound
15508 to `recenter-top-bottom'. When the last `def' was not `recenter',
15509 set `recenter-last-op' to nil. (Bug#4981)
15511 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15513 Minor cleanup and simplification.
15514 * filecache.el (file-cache-add-directory)
15515 (file-cache-add-directory-recursively)
15516 (file-cache-add-from-file-cache-buffer)
15517 (file-cache-delete-file-regexp, file-cache-delete-directory)
15518 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15519 (file-cache-temp-minibuffer-message): Delete function.
15520 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15522 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15523 Don't signal an error when bumping into EOB in tr, s, or y.
15525 2009-11-29 Juri Linkov <juri@jurta.org>
15527 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15530 * descr-text.el (describe-char-unidata-list): Use lowercase name
15531 for "Unicode name" like in other tags.
15533 2009-11-29 Juri Linkov <juri@jurta.org>
15535 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15536 New compatibility macro.
15537 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15539 2009-11-29 Juri Linkov <juri@jurta.org>
15541 Add defcustom to define the cycling order of `recenter-top-bottom'.
15544 * window.el (recenter-last-op): Doc fix.
15545 (recenter-positions): New defcustom.
15546 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15547 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15549 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15551 Improve integration of Tramp and ange-ftp in eshell.
15553 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15554 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15555 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15557 * eshell/esh-util.el (top): Require also Tramp when compiling.
15558 (eshell-directory-files-and-attributes): Check for FTP remote
15560 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15561 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15562 (eshell-file-attributes): Handle ".". Return `entry'.
15564 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15565 (ange-ftp-directory-files-and-attributes)
15566 (ange-ftp-real-directory-files-and-attributes): New defuns.
15568 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15569 shell with "exec" when possible. This prevents trailing prompts
15570 in `start-file-process'.
15572 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15574 Try and remove assumptions about point-min==1.
15575 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15576 (rng-compute-mode-line-string): Show the validation percentage in
15577 terms of the narrowed text, not the widened text.
15578 (rng-do-some-validation): Don't catch internal errors when debugging.
15579 (rng-first-error): Simplify.
15580 (rng-after-change-function): Remove work around. AFAIK the bug has
15581 been fixed a while ago.
15583 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15584 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15586 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15588 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15589 `cd' doesn't always do it for us (bug#5067).
15591 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15592 on 2009-10-25 as part of some other change (bug#5067).
15594 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15596 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15598 (byte-compile-warnings): Use byte-compile-warning-types.
15599 (byte-compile-save-excursion): Warn about use of set-buffer right
15600 after save-excursion.
15602 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15603 the excursion as well.
15605 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15607 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15608 providing a Tramp related implementation of "su" and "sudo".
15609 (eshell-unix-initialize): Add "su" and "sudo".
15611 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15613 * net/socks.el (socks-send-command): Convert binary request to
15614 unibyte before sending. This fixes mishandling of some port
15615 numbers such as 129.
15617 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15619 * help.el (describe-bindings-internal): Remove `interactive'.
15621 * man.el (Man-completion-table): Trim a terminating "(".
15622 Remove the space between name page a section.
15623 Add the command's description on the `help-echo' property.
15624 Remove `process-connection-type' binding since it's unused by
15626 Provide completion for the "<section> <name>" format as well.
15627 (Man-default-man-entry): Remove spurious var shadowing the argument.
15629 2009-11-26 Kevin Ryde <user42@zip.com.au>
15631 * log-view.el: Add "Keywords: tools", since its other keywords
15632 aren't in finder-known-keywords, and following vc.el.
15634 * sha1.el (sha1-string-external): default-directory "/" in case
15635 otherwise non-existent. process-connection-type pipe for touch of
15636 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15638 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15640 Misc coding convention cleanups.
15641 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15642 hfy-init-kludge-hooks.
15643 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15644 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15645 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15647 (hfy-slant, hfy-weight): Use tables rather than code.
15648 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15649 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15650 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15651 (hfy-face-to-css): Remove `nconc' with single arg.
15652 (hfy-p-to-face-lennart): Use `or'.
15653 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15654 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15655 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15656 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15657 (hfy-force-fontification): Use run-hooks.
15659 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15661 Various minor fixes.
15662 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15663 Javascript belongs in the header, not the body.
15664 (hfy-javascript): Remove.
15665 (hfy-fontify-buffer): Don't insert it any more.
15666 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15667 Fix bug in invis handling when there were no invis props in a chunk.
15669 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15671 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15673 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15675 * finder.el (finder-mode-map): Add a menu.
15677 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15679 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15680 "unsigned" structs.
15682 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15683 fork" statement better.
15685 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15687 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15688 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15689 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15690 Reported by Clay Douglass.
15692 (verilog-auto-inst, verilog-auto-star-safe)
15693 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15694 Fix removing "// Interfaces" when saving .* expansions.
15695 Reported by Pierre-David Pfister.
15697 2009-11-26 Glenn Morris <rgm@gnu.org>
15699 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15702 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15704 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15705 Really use previous revision.
15707 2009-11-25 Kevin Ryde <user42@zip.com.au>
15709 * man.el (Man-completion-table): default-directory "/" in case
15710 doesn't otherwise exist. process-environment COLUMNS=999 so as
15711 not to truncate long names. process-connection-type pipe to avoid
15712 any chance of hitting the pseudo-tty TIOCGWINSZ.
15713 (man): completion-ignore-case t for friendliness and since man
15714 itself is case-insensitive on the command line.
15715 Further to Bug#3717.
15717 * arc-mode.el: Add "Keywords: files", so the details in its
15718 commentary can be reached from finder-by-keyword.
15719 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15720 editing mode, but it's comms related and sgml-mode.el has "comm"
15722 * textmodes/bibtex-style.el: Add "Keywords: tex".
15723 * international/isearch-x.el, international/ja-dic-cnv.el:
15724 * international/ja-dic-utl.el, international/kkc.el:
15725 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15727 2009-11-25 Juri Linkov <juri@jurta.org>
15729 * man.el (Man-completion-table): Modify regexp to include
15730 section names to completion strings. (Bug#3717)
15732 2009-11-25 Juri Linkov <juri@jurta.org>
15734 Search recursively in gzipped files. (Bug#4982)
15736 * progmodes/grep.el (grep-highlight-matches): Add new options
15737 `always' and `auto'. Doc fix.
15738 (grep-process-setup): Check `grep-highlight-matches' for
15739 `auto-detect' to determine the need to compute grep defaults.
15740 Move Windows/DOS specific --colors settings handling
15741 to `grep-compute-defaults'. Check `grep-highlight-matches'
15742 to get the value of "--color=".
15743 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15744 has the value `auto-detect'. Move Windows/DOS specific settings
15745 from `grep-process-setup'.
15746 (zrgrep): New command with alias `rzgrep'.
15748 2009-11-25 Juri Linkov <juri@jurta.org>
15750 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15751 to nil instead of switching off view-mode. (Bug#4896)
15753 2009-11-25 Juri Linkov <juri@jurta.org>
15755 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15757 * mwheel.el (mwheel-scroll-up-function)
15758 (mwheel-scroll-down-function): New defvars.
15759 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15760 `scroll-up', and `mwheel-scroll-down-function' instead of
15763 * doc-view.el (doc-view-scroll-up-or-next-page)
15764 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15765 Use this ARG in the call to image-scroll-up/image-scroll-down.
15766 Change `interactive' spec to "P". Goto next/previous page only
15767 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15768 SPC/DEL case). Doc fix.
15769 (doc-view-next-line-or-next-page)
15770 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15772 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15773 `doc-view-scroll-up-or-next-page', and buffer-local
15774 `mwheel-scroll-down-function' to
15775 `doc-view-scroll-down-or-previous-page'.
15777 2009-11-25 Juri Linkov <juri@jurta.org>
15779 Provide additional default values (directories at other Dired
15780 windows) via M-n in the minibuffer of some Dired commands.
15782 * dired-aux.el (dired-diff, dired-compare-directories)
15783 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15784 `minibuffer-default' in `minibuffer-with-setup-hook'.
15785 (dired-dwim-target-directory): Find a window that displays Dired
15786 buffer instead of failing when the next window is not Dired.
15787 Use `get-window-with-predicate' to find for the next Dired window.
15788 (dired-dwim-target-defaults): New function.
15790 * ediff-util.el (ediff-read-file-name):
15791 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15792 in `minibuffer-with-setup-hook'.
15794 2009-11-25 Juri Linkov <juri@jurta.org>
15796 Provide additional default values (file name at point or at the
15797 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15799 * minibuffer.el (read-file-name-defaults): New function.
15800 (read-file-name): Reset `minibuffer-default' to nil when
15801 it duplicates initial input `insdef'.
15802 Bind `minibuffer-default-add-function' to lambda that
15803 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15804 (minibuffer-insert-file-name-at-point): New command.
15806 * files.el (file-name-at-point-functions): New defcustom.
15807 (find-file-default): Remove defvar.
15808 (find-file-read-args): Don't use `find-file-default'.
15809 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15810 to `read-file-name'.
15811 (find-file-literally): Use `read-file-name' with
15812 `confirm-nonexistent-file-or-buffer'.
15814 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15816 * dired.el (dired-read-dir-and-switches):
15817 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15818 to `read-file-name'.
15819 (dired-file-name-at-point): New function.
15820 (dired-mode): Add hook `dired-file-name-at-point' to
15821 `file-name-at-point-functions'.
15823 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15825 Really make the *Completions* window soft-dedicated (bug#5030).
15826 * window.el (window--display-buffer-2): Add `dedicated' argument.
15827 (display-buffer): Pass it when needed so the dedicated flag is set
15828 after calling set-window-buffer, which would otherwise reset it.
15830 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15832 * progmodes/meta-mode.el (meta-complete-symbol):
15833 * progmodes/etags.el (complete-tag):
15834 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15835 Use completion-in-region.
15837 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15838 (dabbrev-completion): Use completion-in-region.
15839 (dabbrev--abbrev-at-point): Simplify regexp.
15841 * abbrev.el (abbrev--before-point): Use word-motion functions
15842 if :regexp is not specified (bug#5031).
15844 * subr.el (string-prefix-p): New function.
15846 * man.el (Man-completion-cache): New var.
15847 (Man-completion-table): Use it.
15849 * vc.el (vc-print-log-internal): Make `limit' optional for better
15850 compatibility (e.g. with vc-annotate.el).
15852 2009-11-24 Kevin Ryde <user42@zip.com.au>
15854 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15855 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15857 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15858 when .el source file not found or other error.
15860 2009-11-24 Markus Triska <markus.triska@gmx.at>
15862 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15864 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15866 Handle the [back] button properly (bug#4979).
15867 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15868 Use help-setup-xref, help-buffer, and with-help-window.
15869 (describe-char): Add `buffer' argument.
15870 Pass proper command to help-setup-xref. Don't meddle with
15871 help-xref-stack-item directly.
15872 (describe-text-category): Use with-help-window and help-buffer.
15874 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15875 for the displayed buffer (bug#4887).
15877 * man.el (Man-completion-table): New function.
15880 2009-11-24 David Reitter <david.reitter@gmail.com>
15882 * vc-git.el (vc-git-registered): Use checkout directory (where
15883 .git is) rather than the file's directory and a relative path spec
15884 to work around a bug in git.
15886 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15888 Improve handling of processes on remote hosts.
15890 * eshell/esh-util.el (eshell-path-env): New defvar.
15891 (eshell-parse-colon-path): New defun.
15892 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15894 * eshell/esh-ext.el (eshell-search-path):
15895 Use `eshell-parse-colon-path'.
15896 (eshell-remote-command): Remove argument HANDLER.
15897 (eshell-external-command): Check for FTP remote connection.
15899 * eshell/esh-proc.el (eshell-gather-process-output):
15900 Use `file-truename', in order to start also symlinked files.
15901 Apply `start-file-process' instead of `start-process'.
15902 Shorten `command' to the local file name part.
15904 * eshell/em-cmpl.el (eshell-complete-commands-list):
15905 Use `eshell-parse-colon-path'.
15907 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15909 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15910 to `eshell-directory-change-hook'.
15912 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15914 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15915 because it could be enabled automatically if view-read-only is non-nil.
15917 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15919 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15920 made on 2009-11-22.
15922 2009-11-24 Glenn Morris <rgm@gnu.org>
15924 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15925 deleted variable bookmark-bmenu-bookmark-column.
15927 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15929 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15931 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15933 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15934 two slashes to the "file:" prefix.
15935 (browse-url-file-url): De-munge Cygwin filenames before passing
15936 them to Windows browser.
15937 (browse-url-default-windows-browser): Use call-process.
15939 2009-11-23 Juri Linkov <juri@jurta.org>
15941 Implement DocView Continuous mode. (Bug#4896)
15942 * doc-view.el (doc-view-continuous-mode): New defcustom.
15943 (doc-view-mode-map): Bind C-n/<down> to
15944 `doc-view-next-line-or-next-page', C-p/<up> to
15945 `doc-view-previous-line-or-previous-page'.
15946 (doc-view-next-line-or-next-page)
15947 (doc-view-previous-line-or-previous-page): New commands.
15949 2009-11-23 Juri Linkov <juri@jurta.org>
15951 Implement Isearch in comint input history. (Bug#3746)
15952 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15953 `isearch-mode-hook'.
15954 (comint-history-isearch): New defcustom.
15955 (comint-history-isearch-backward)
15956 (comint-history-isearch-backward-regexp): New commands.
15957 (comint-history-isearch-message-overlay): New buffer-local variable.
15958 (comint-history-isearch-setup, comint-history-isearch-end)
15959 (comint-goto-input, comint-history-isearch-search)
15960 (comint-history-isearch-message, comint-history-isearch-wrap)
15961 (comint-history-isearch-push-state)
15962 (comint-history-isearch-pop-state): New functions.
15964 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15966 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15968 (tramp-handle-make-symbolic-link)
15969 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15971 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15972 (tramp-handle-process-file): Use it.
15974 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15976 * window.el (move-to-window-line-last-op): Remove.
15977 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15979 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15981 Make M-r mirror the new cycling behavior of C-l.
15982 * window.el (move-to-window-line-last-op): New var.
15983 (move-to-window-line-top-bottom): New command.
15984 (global-map): Bind M-r move-to-window-line-top-bottom.
15986 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15988 * dired-x.el (dired-guess-shell-alist-default):
15989 Support xz format. (Bug#4953)
15991 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15993 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15994 last-command-char/last-command-event.
15995 (viper-prefix-arg-value): Do correct conversion of event-char for
15998 * emulation/viper-util.el, emulation/viper.el:
15999 Use viper-last-command-char instead of
16000 last-command-char/last-command-event.
16002 * ediff-init.el, ediff-mult.el, ediff-util.el:
16003 Replace last-command-char and last-command-event
16004 with (ediff-last-command-char) everywhere.
16006 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16007 created in fundamental mode.
16009 * ediff.el (ediff-version): Revert the change of interactive-p to
16010 called-interactively-p.
16012 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16014 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16015 generation from word-movement command names.
16017 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16019 * cus-start.el (all): Add native condition for font-use-system-font.
16021 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16023 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16024 Correct the patch from 2009-11-18. (Bug#3910)
16026 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16028 * progmodes/subword.el: Rename from lisp/subword.el.
16030 * subword.el: Rename to progmodes/subword.el.
16032 * Makefile.in (ELCFILES): Adapt to subword.el move.
16034 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16035 Stefan Monnier <monnier@iro.umontreal.ca>
16037 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16038 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16039 (bookmark-bmenu-show-filenames): Use push.
16040 (bookmark-bmenu-hide-filenames): Use local var instead of
16041 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16042 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16043 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16044 filenames now that the bookmark names are always available.
16046 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16048 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16049 (bookmark-search-pattern): Move and leave unbound.
16050 (bookmark-bmenu-mode-map): Change binding.
16051 (bookmark-read-search-input): Simplify.
16052 Don't use text-char-description. Don't error on non-char events.
16053 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16054 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16055 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16056 Use a local var for the timer.
16057 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16058 (i.e. bookmark-bmenu-search).
16060 2009-11-21 Glenn Morris <rgm@gnu.org>
16062 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16064 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16066 * net/browse-url.el (browse-url-default-windows-browser):
16067 Use cygstart for cygwin.
16069 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16071 * bookmark.el: Formatting and doc fixes only:
16072 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16073 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16074 Minor grammar and punctuation fixes in doc string.
16075 (bookmark-read-search-input): Adjust to fit within 80 columns.
16077 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16079 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16080 (c-backward-into-nomenclature): Adapt to subword renaming.
16082 * subword.el (subword-forward, subword-backward, subword-mark)
16083 (subword-kill, subword-backward-kill, subword-transpose)
16084 (subword-downcase, subword-upcase, subword-capitalize)
16085 (subword-forward-internal, subword-backward-internal):
16086 Rename from forward-subword, backward-subword, mark-subword,
16087 kill-subword, backward-kill-subword, transpose-subwords,
16088 downcase-subword, upcase-subword, capitalize-subword,
16089 forward-subword-internal, backward-subword-internal.
16091 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16093 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16095 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16097 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16098 (bookmark-bmenu-filter-alist-by-regexp)
16099 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16100 (bookmark-bmenu-search): New command.
16101 (bookmark-bmenu-mode-map): Bind it.
16103 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16105 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16106 backward-subword to quit the byte-compiler.
16108 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16110 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16112 * progmodes/cc-cmds.el (c-update-modeline)
16113 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16114 Refer to subword.el functions instead of cc-subword.el.
16116 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16117 subword.el functions instead of cc-subword.el.
16119 * progmodes/cc-subword.el: Rename to subword.el.
16120 * subword.el: Rename from progmodes/cc-subword.el.
16121 (subword-mode-map): Rename from c-subword-mode-map.
16122 (subword-mode): Rename from c-subword-mode.
16123 (global-subword-mode): New global minor mode.
16124 (forward-subword): Rename from c-forward-subword.
16125 (backward-subword): Rename from c-backward-subword.
16126 (mark-subword): Rename from c-mark-subword.
16127 (kill-subword): Rename from c-kill-subword.
16128 (backward-kill-subword): Rename from c-backward-kill-subword.
16129 (transpose-subwords): Rename from c-tranpose-subword.
16130 (downcase-subword): Rename from c-downcase-subword.
16131 (capitalize-subword): Rename from c-capitalize-subword.
16132 (forward-subword-internal): Rename from c-forward-subword-internal.
16133 (backward-subword-internal): Rename from c-backward-subword-internal.
16135 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16137 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16138 from a dired buffer.
16139 (vc-dired-deduce-fileset): New function.
16140 (vc-root-diff, vc-print-root-log): Use it.
16142 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16143 nil LIMIT argument to vc-print-log-internal.
16145 2009-11-20 Glenn Morris <rgm@gnu.org>
16147 * Makefile.in (ELCFILES): Regenerate.
16149 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16151 * calc/calc.el (calc-set-mode-line):
16152 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16153 (math-format-number): Rename `math-format-complement-signed' to
16154 `math-format-twos-complement'.
16156 * calc/calc-bin.el (math-format-twos-complement): Rename from
16157 math-format-complement-signed.
16158 (calc-radix): Rename `calc-complement-signed-mode' to
16159 `calc-twos-complement-mode'.
16160 (calc-octal-radix, calc-hex-radix): Add an argument for
16163 * calc/calc-embed.el (calc-embedded-mode-vars):
16164 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16166 * calc/calc-ext.el (calc-init-extensions):
16167 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16168 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16170 * calc/calc-units.el (math-build-units-table-buffer):
16171 Let `calc-twos-complement-mode' be nil.
16173 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16176 * calc/calc-vec.el (calcFunc-vunpack):
16177 * calc/calc-aent.el (calc-do-calc-eval):
16178 * calc/calc-forms.el (math-format-date):
16179 * calc/calc-graph.el (calc-graph-plot):
16180 * calc/calc-math.el (math-use-emacs-fn):
16181 * calc/calccomp.el (math-compose-expr):
16182 Let `calc-twos-complement-mode' be nil.
16184 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16186 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16187 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16188 * minibuffer.el (completion-in-region-functions): New hook.
16189 (completion-in-region): New function.
16190 * emacs-lisp/lisp.el (lisp-complete-symbol):
16191 * pcomplete.el (pcomplete-std-complete): Use it.
16193 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16195 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16196 (latex-complete-alist): New vars.
16197 (latex-string-prefix-p, latex-complete-bibtex-keys)
16198 (latex-complete-envnames, latex-complete-refkeys)
16199 (latex-complete-data): New functions.
16200 (latex-complete, latex-indent-or-complete): New commands.
16202 * window.el (display-buffer-mark-dedicated): New var.
16203 (display-buffer): Obey it.
16204 * minibuffer.el (minibuffer-completion-help): Use it.
16206 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16208 * filecache.el (file-cache-add-file): Use push and cons.
16209 (file-cache-delete-file-regexp): Use push.
16210 (file-cache-complete): Use completion-in-region.
16212 * simple.el (with-wrapper-hook): Fix thinko.
16214 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16215 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16216 Use with-current-buffer and string-to-number.
16217 (hfy-fallback-colour-values): Use assoc-string.
16218 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16219 (hfy-face-at): Remove unused var `found-face'.
16220 (hfy-compile-stylesheet): Remove unused var `css'.
16221 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16223 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16224 Use with-current-buffer.
16225 (hfy-text-p): Use expand-file-name and fewer setq.
16227 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16229 * htmlfontify.el, hfy-cmap.el: New files.
16231 2009-11-19 Juri Linkov <juri@jurta.org>
16233 * minibuffer.el (completions-format): New defcustom.
16234 (completion--insert-strings): Implement vertical format.
16236 * simple.el (switch-to-completions): Move point to the first
16237 completion when point was at the beginning of the buffer.
16239 2009-11-19 Juri Linkov <juri@jurta.org>
16241 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16243 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16245 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16247 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16248 (mail-signature): Change default to t.
16249 (mail-from-style): Deprecate `system-default' value.
16250 (mail-insert-from-field): For default value of mail-from-style,
16251 default to `angles' unless `angles' needs quoting and `parens'
16253 (mail-citation-prefix-regexp): Use citation regexp from
16256 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16258 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16259 Set variables for computing the prompt for reading password.
16261 2009-11-19 Glenn Morris <rgm@gnu.org>
16263 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16265 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16267 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16268 (newsticker-treeview-listwindow-height): Fix custom type.
16270 2009-11-19 Kenichi Handa <handa@m17n.org>
16272 * descr-text.el (describe-char-padded-string): Compose with TAB
16273 only if there's a font for CH.
16274 (describe-char): Fix the condition for detecting a trivial composition.
16276 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16278 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16279 more accurate version of the regexp. (Bug#3910)
16281 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16283 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16285 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16287 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16288 (font-setting-change-default-font): Fix typo in docstring.
16290 2009-11-18 Alan Mackenzie <acm@muc.de>
16292 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16294 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16296 * font-setting.el (font-use-system-font): Move ...
16298 * cus-start.el (all): ... to here.
16300 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16302 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16303 Don't set `ad-return-value' if `ad-do-it' doesn't.
16305 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16308 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16310 * menu-bar.el: Put "Use system font" in Option-menu.
16311 (menu-bar-options-save): Add font-use-system-font.
16313 * loadup.el: If feature system-font-setting or font-render-setting is
16314 there, load font-setting.
16316 * Makefile.in (ELCFILES): Add font-settings.el.
16317 * font-setting.el: New file.
16319 2009-11-17 Glenn Morris <rgm@gnu.org>
16321 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16323 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16324 Preserve point in the list buffer. (Bug#4939)
16326 (newsticker--treeview-list-update-highlight)
16327 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16329 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16331 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16334 * calc/calc-ext.el (calc-init-extensions): Remove references to
16337 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16339 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16340 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16343 2009-11-16 Kevin Ryde <user42@zip.com.au>
16345 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16346 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16348 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16349 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16350 Ignore trailing spaces by omit-nulls to split-string (fixing
16351 regression from Emacs 21 due to the incompatible split-string
16352 change). (Bug #4928.)
16354 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16356 * vc.el (vc-log-show-limit): Default to 2000.
16357 (vc-print-log-internal): Insert buttons to request more entries
16358 when limiting the output.
16360 * vc-sccs.el (vc-sccs-print-log):
16361 * vc-rcs.el (vc-rcs-print-log):
16362 * vc-cvs.el (vc-cvs-print-log):
16363 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16366 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16368 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16369 error when `tramp-gvfs-dbus-event-vector' is set.
16370 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16372 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16374 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16376 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16378 * net/dbus.el (dbus-unregister-service): New defun.
16379 (dbus-register-property): Register the handlers of
16380 "org.freedesktop.DBus.Properties" for SERVICE.
16381 (dbus-property-handler): Fix docstring.
16383 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16385 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16386 Quote doc string reference in defvaralias as it is not in special form.
16387 (byte-compile-output-docform): Doc fix.
16389 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16391 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16392 (calc-complement-signed-mode): New variables.
16393 (calc-set-mode-line): Add indicator for twos-complements.
16394 (math-format-number): Format twos-complement notation.
16396 * calc/calc-bin.el (calc-word-size): Reset the variables
16397 `math-2-word-size' and `math-half-2-word-size'.
16398 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16399 (calc-symclip): New functions.
16401 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16403 * calc/calc-embed.el (calc-embedded-mode-vars):
16404 Add `calc-complement-signed-mode' to the list of modes.
16406 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16407 (calc-b-oper-keys): Add `calc-symclip' to list.
16409 * calc/calc-ext.el (math-read-number-fancy): Read complement
16411 (calc-init-extensions): Add binding for `calc-symclip'.
16412 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16414 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16416 (calc-modes-menu): Add item for twos complement mode.
16418 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16420 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16422 * register.el (jump-to-register, insert-register): Handle Semantic
16423 tags. From commented-out advice in semantic/senator.el.
16425 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16427 * vc.el (vc-log-show-limit): New variable.
16428 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16429 when using a prefix argument.
16430 (vc-print-log-internal): Add new argument LIMIT.
16432 * vc-svn.el (vc-svn-print-log):
16433 * vc-mtn.el (vc-mtn-print-log):
16434 * vc-hg.el (vc-hg-print-log):
16435 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16436 pass it to the log command when set. Make the BUFFER argument
16439 * vc-sccs.el (vc-sccs-print-log):
16440 * vc-rcs.el (vc-rcs-print-log):
16441 * vc-git.el (vc-git-print-log):
16442 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16443 ignore it. Make the BUFFER argument non-optional.
16445 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16447 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16449 * dired.el (dired-mode-map): Move encryption items to "Operate"
16452 * strokes.el (strokes-update-window-configuration): Make strokes
16453 buffer current before erasing (Bug#4906).
16455 2009-11-15 Juri Linkov <juri@jurta.org>
16457 * simple.el (set-mark-default-inactive): Add :type, :group
16458 and :version. (Bug#4876)
16460 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16462 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16463 (archive-unique-fname): ... here. (Bug#4929)
16465 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16467 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16470 * novice.el (disabled-command-function): Add useful args.
16471 Setup the help buffer so that [back] works.
16472 Remove redundant call to help-mode.
16473 (disabled-command-function): Use `case'.
16474 (en/disable-command): New function extracted from enable-command.
16475 (enable-command, disable-command): Use it.
16477 2009-11-14 Glenn Morris <rgm@gnu.org>
16479 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16480 constants. (Bug#4913)
16482 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16484 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16486 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16487 defined in C that have no doc-strings. (Bug#1063)
16489 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16491 * cus-edit.el (data, files):
16492 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16494 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16496 * simple.el (shell-command): Doc fix (Bug#4891).
16498 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16500 2009-11-14 Glenn Morris <rgm@gnu.org>
16502 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16503 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16504 If they are already loaded, eval-after-load will do the right thing.
16506 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16509 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16511 * simple.el (x-selection-owner-p): Declare.
16512 (read-mail-command): Use custom radio type rather than choice.
16513 (completion-no-auto-exit): Doc fix.
16515 * custom.el (defgroup):
16516 * epg-config.el (epg): Doc fixes.
16518 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16520 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16521 * international/ccl.el (define-ccl-program): Do not purecopy the
16522 docstring, defconst does it anyway.
16524 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16526 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16529 * x-dnd.el (x-dnd-maybe-call-test-function):
16530 * window.el (split-window-vertically):
16531 * whitespace.el (whitespace-help-on):
16532 * vc-rcs.el (vc-rcs-consult-headers):
16533 * userlock.el (ask-user-about-lock-help)
16534 (ask-user-about-supersession-help):
16535 * type-break.el (type-break-force-mode-line-update):
16536 * time-stamp.el (time-stamp-conv-warn):
16537 * terminal.el (te-set-output-log, te-more-break, te-filter)
16538 (te-sentinel, terminal-emulator):
16539 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16540 (term-write-input-ring, term-check-source, term-start-output-log):
16541 (term-display-buffer-line, term-dynamic-list-completions):
16542 (term-ansi-make-term, serial-term):
16543 * subr.el (selective-display):
16544 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16545 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16546 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16547 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16548 (speedbar-remove-localized-speedbar-support)
16549 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16550 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16551 (speedbar-buffers-line-directory):
16552 * simple.el (shell-command-on-region, append-to-buffer)
16553 (prepend-to-buffer):
16554 * shadowfile.el (shadow-save-todo-file):
16555 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16556 (scroll-bar-maybe-set-window-start):
16557 * sb-image.el (speedbar-image-dump):
16558 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16559 (load-save-place-alist-from-file):
16560 * ps-samp.el (ps-print-message-from-summary):
16561 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16562 (ps-background-image, ps-begin-job, ps-do-despool):
16563 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16564 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16565 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16566 (pr-call-process, pr-file-list, pr-interface-save):
16567 * novice.el (disabled-command-function)
16568 (enable-command, disable-command):
16569 * mouse.el (mouse-buffer-menu-alist):
16570 * mouse-copy.el (mouse-kill-preserving-secondary):
16571 * macros.el (kbd-macro-query):
16572 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16573 * informat.el (batch-info-validate):
16574 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16575 * hippie-exp.el (try-expand-dabbrev-visible):
16576 * help-mode.el (help-make-xrefs):
16577 * help-fns.el (describe-variable):
16578 * generic-x.el (bat-generic-mode-run-as-comint):
16579 * finder.el (finder-mouse-select):
16580 * find-dired.el (find-dired-sentinel):
16581 * filesets.el (filesets-file-close):
16582 * files.el (list-directory):
16583 * faces.el (list-faces-display, describe-face):
16584 * facemenu.el (list-colors-display):
16585 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16586 * epg.el (epg--process-filter, epg-cancel):
16587 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16588 (epa--read-signature-type):
16589 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16590 (emerge-file-names):
16591 * ehelp.el (electric-helpify):
16592 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16593 * ediff-vers.el (rcs-ediff-view-revision):
16594 * ediff-util.el (ediff-setup):
16595 * ediff-mult.el (ediff-append-custom-diff):
16596 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16598 * echistory.el (Electric-command-history-redo-expression):
16599 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16600 * disp-table.el (describe-display-table):
16601 * dired.el (dired-find-buffer-nocreate):
16602 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16603 * dabbrev.el (dabbrev--same-major-mode-p):
16604 * chistory.el (list-command-history):
16605 * apropos.el (apropos-documentation):
16606 * allout.el (allout-obtain-passphrase):
16607 (allout-copy-exposed-to-buffer):
16608 (allout-verify-passphrase): Use with-current-buffer.
16610 2009-11-13 Glenn Morris <rgm@gnu.org>
16612 * Makefile.in (ELCFILES): Regenerate.
16614 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16616 * net/dbus.el (dbus-registered-objects-table): Rename from
16617 `dbus-registered-functions-table', because it contains also properties.
16618 (dbus-unregister-object): Unregister also properties.
16619 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16620 Use a timeout of 500 msec, in order to not block.
16621 (dbus-register-property, dbus-property-handler): New defuns.
16623 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16625 * simple.el (minibuffer-default-add-completions): Drop deprecated
16628 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16630 * textmodes/artist.el (artist-mouse-choose-operation):
16631 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16632 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16633 (artist-compute-up-event-key): New function.
16634 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16636 2009-11-13 Kenichi Handa <handa@m17n.org>
16638 * language/japan-util.el: Make sure that the value of jisx0208
16639 property is jisx0208 character.
16641 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16643 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16644 car or each item, not the whole list.
16646 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16648 * minibuffer.el (minibuffer-completion-help):
16649 Use minibuffer-hide-completions.
16651 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16653 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16654 (dired-revert): Use them (bug#4880).
16656 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16658 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16660 2009-11-12 Juri Linkov <juri@jurta.org>
16662 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16664 (find-file-literally-at-point): Alias of `ffap-literally'.
16666 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16668 * textmodes/ispell.el (ispell-skip-region-alist):
16669 * textmodes/css-mode.el (auto-mode-alist):
16670 * progmodes/compile.el (auto-mode-alist):
16671 * international/mule.el (ctext-non-standard-encodings-alist)
16672 (ctext-non-standard-encodings-regexp):
16673 * simple.el (shell-command-switch, text-read-only):
16674 * replace.el (occur-mode-map):
16675 * paths.el (rmail-file-name):
16676 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16677 * find-file.el (ff-special-constructs):
16678 * files.el (file-name-handler-alist):
16679 * composite.el: Purecopy strings.
16681 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16683 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16685 * widget.el (define-widget): Purecopy the docstring.
16686 * international/mule-cmds.el (charset): Do not purecopy the
16687 docstring here, define-widget does it.
16689 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16690 * textmodes/bibtex-style.el (auto-mode-alist):
16691 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16692 * progmodes/compile.el (compile-command):
16693 * language/korea-util.el (default-korean-keyboard):
16694 * international/mule-conf.el (file-coding-system-alist):
16695 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16696 * tooltip.el (tooltip-frame-parameters):
16697 * newcomment.el (comment-end, comment-padding):
16698 * dired.el (dired-trivial-filenames):
16699 * comint.el (comint-file-name-prefix): Purecopy initial values.
16701 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16703 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16704 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16706 (tramp-advice-make-auto-save-file-name)
16707 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16708 after removing the advice.
16710 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16712 * progmodes/grep.el (grep-regexp-alist):
16713 * international/mule-cmds.el (iso-2022-control-alist):
16714 * emacs-lisp/timer.el (timer-duration-words):
16715 * subr.el (version-separator, version-regexp-alist):
16716 * minibuffer.el (completion-styles-alist):
16717 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16718 Change defvars to defconsts.
16720 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16721 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16722 * international/mule-conf.el: Allow to be byte compiled.
16724 * international/mule.el (define-charset): Purecopy props.
16725 (load-with-code-conversion): Purecopy doc string and file name.
16726 (put-charset-property): Purecopy strings.
16727 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16729 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16730 (define-char-code-property): Correctly purecopy the table.
16732 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16734 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16736 * subr.el (add-hook): Purecopy strings.
16737 (eval-after-load): Purecopy load-history-regexp and the form.
16739 * custom.el (custom-declare-group): Purecopy load-file-name.
16741 * subr.el (menu-bar-separator): New defconst.
16742 * net/eudc.el (eudc-tools-menu):
16743 * international/mule-cmds.el (set-coding-system-map)
16744 (mule-menu-keymap):
16745 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16746 * vc-hooks.el (vc-menu-map):
16747 * replace.el (occur-mode-map):
16748 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16749 (menu-bar-edit-menu, menu-bar-goto-menu)
16750 (menu-bar-custom-menu, menu-bar-showhide-menu)
16751 (menu-bar-options-menu, menu-bar-tools-menu)
16752 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16753 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16754 (menu-bar-help-menu):
16755 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16756 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16758 * term/x-win.el (x-gtk-stock-map):
16759 * progmodes/vera-mode.el (auto-mode-alist):
16760 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16761 (inferior-lisp-program, inferior-lisp-load-command):
16762 * progmodes/hideshow.el (hs-special-modes-alist):
16763 * progmodes/gud.el (same-window-regexps):
16764 * progmodes/grep.el (grep-program, find-program, xargs-program):
16765 * net/telnet.el (same-window-regexps):
16766 * net/rlogin.el (same-window-regexps):
16767 * language/ethiopic.el (font-ccl-encoder-alist):
16768 * vc-sccs.el (vc-sccs-master-templates):
16769 * vc-rcs.el (vc-rcs-master-templates):
16770 * subr.el (cl-assertion-failed):
16771 * simple.el (next-error-overlay-arrow-position):
16772 * lpr.el (lpr-command):
16773 * locate.el (locate-ls-subdir-switches):
16774 * info.el (same-window-regexps, info)
16775 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16776 * image-mode.el (image-mode, auto-mode-alist):
16777 * hippie-exp.el (hippie-expand-ignore-buffers):
16778 * format.el (format-alist):
16779 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16781 * facemenu.el (facemenu-keybindings):
16782 * dired.el (dired-listing-switches, dired-chown-program):
16783 * diff.el (diff-switches, diff-command):
16784 * cus-edit.el (same-window-regexps):
16785 * bindings.el (mode-line-mule-info)
16786 (mode-line-buffer-identification): Purecopy strings.
16788 2009-11-11 Juri Linkov <juri@jurta.org>
16790 * simple.el (dired-get-filename) <declare-function>:
16791 Tell the byte-compiler about dired-get-filename.
16792 (shell-command): In Dired mode, get filename from the current line
16793 as the default value.
16795 2009-11-10 Glenn Morris <rgm@gnu.org>
16797 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16798 * calendar/holidays.el, progmodes/cperl-mode.el:
16799 Update x-popup-menu declarations.
16801 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16802 (list-load-path-shadows): Use dolist.
16803 (list-load-path-shadows): Use with-current-buffer.
16805 2009-11-10 Juri Linkov <juri@jurta.org>
16807 * minibuffer.el (read-file-name): Support a list of default values
16808 in `default-filename'. Use the first file name where only one
16809 element is required. Doc fix.
16811 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16813 * net/dbus.el (dbus-unregister-object): Release service, if no
16814 other method is registered for it.
16816 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16818 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16819 bookmark-sort-flag is non-nil (Bug#4653).
16821 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16823 * emulation/cua-base.el: Add CUA property to some CC mode commands
16826 2009-11-08 Kevin Ryde <user42@zip.com.au>
16828 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16829 at end of sentence (Bug#4818).
16831 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16833 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16834 Handle "see declaration of" MSFT statements (Bug#4100).
16836 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16838 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16839 (tramp-advice-file-expand-wildcards): Unload via
16840 `ad-remove-advice'.
16842 * net/trampver.el: Update release number.
16844 2009-11-08 Kevin Ryde <user42@zip.com.au>
16846 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16849 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16851 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16852 in order to keep context in SELinux.
16854 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16856 * dired-aux.el (dired-query): Place cursor in echo area and allow
16859 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16860 menu item if not on a directory (Bug#4701).
16862 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16864 Sync with Tramp 2.1.17.
16866 * net/tramp.el (tramp-handle-copy-directory): Don't use
16867 `file-remote-p' (due to compatibility).
16869 * net/tramp-compat.el (tramp-compat-copy-directory)
16870 (tramp-compat-delete-directory): New defuns.
16872 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16873 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16874 Use `tramp-compat-delete-directory'.
16876 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16877 (tramp-smb-handle-delete-directory):
16878 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16880 * net/trampver.el: Update release number.
16882 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16884 * tar-mode.el (tar-copy): Call write-region on the right buffer
16887 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16888 by hand, if necessary (Bug#4878).
16890 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16892 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16893 align size column (Bug#4839).
16895 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16898 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16900 * progmodes/ld-script.el (auto-mode-alist):
16901 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16903 * cus-face.el (custom-declare-face): Purecopy face spec.
16905 2009-11-06 Kenichi Handa <handa@m17n.org>
16907 * international/uni-bidi.el: Re-generated.
16908 * international/uni-category.el: Re-generated.
16909 * international/uni-combining.el: Re-generated.
16910 * international/uni-mirrored.el: Re-generated.
16912 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16914 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16915 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16916 (tex-start-options, slitex-run-command, latex-run-command)
16917 (tex-run-command, tex-directory):
16918 * textmodes/ispell.el (ispell-html-skip-alists)
16919 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16920 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16921 (adaptive-fill-regexp):
16922 * textmodes/dns-mode.el (auto-mode-alist):
16923 * progmodes/python.el (interpreter-mode-alist):
16924 * progmodes/etags.el (tags-compression-info-list):
16925 * progmodes/etags.el (tags-file-name):
16926 * net/browse-url.el (browse-url-galeon-program)
16927 (browse-url-firefox-program):
16928 * mail/sendmail.el (mail-signature-file)
16929 (mail-citation-prefix-regexp):
16930 * international/mule-conf.el (eight-bit):
16931 * international/latexenc.el (latex-inputenc-coding-alist):
16932 * international/fontset.el (x-pixel-size-width-font-regexp):
16933 * emacs-lisp/warnings.el (warning-type-format):
16934 * emacs-lisp/trace.el (trace-buffer):
16935 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16936 (emacs-lisp-mode-map):
16937 * calendar/holidays.el (holiday-solar-holidays)
16938 (holiday-bahai-holidays, holiday-islamic-holidays)
16939 (holiday-christian-holidays, holiday-hebrew-holidays)
16940 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16941 (hebrew-holidays-1, holiday-oriental-holidays)
16942 (holiday-general-holidays):
16943 * x-dnd.el (x-dnd-known-types):
16944 * tool-bar.el (tool-bar):
16945 * startup.el (site-run-file):
16946 * shell.el (shell-dumb-shell-regexp):
16947 * rfn-eshadow.el (file-name-shadow-tty-properties)
16948 (file-name-shadow-properties):
16949 * paths.el (remote-shell-program, news-directory):
16950 * mouse.el ([C-down-mouse-3]):
16951 * menu-bar.el (menu-bar-tools-menu):
16952 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16953 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16954 (jka-compr-compression-info-list):
16955 * isearch.el (search-whitespace-regexp):
16956 * image-file.el (image-file-name-extensions):
16957 * find-dired.el (find-ls-option):
16958 * files.el (directory-listing-before-filename-regexp)
16959 (directory-free-space-args, insert-directory-program)
16960 (list-directory-brief-switches, magic-fallback-mode-alist)
16961 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16962 (automount-dir-prefix):
16963 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16964 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16965 (face-font-registry-alternatives, face-font-registry-alternatives)
16966 (face-font-family-alternatives):
16967 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16968 (facemenu-foreground-menu, facemenu-face-menu):
16969 * epa-hook.el (epa-file-name-regexp):
16970 * dnd.el (dnd-protocol-alist):
16971 * textmodes/rst.el (auto-mode-alist):
16972 * button.el (default-button): Purecopy strings.
16974 2009-11-06 Glenn Morris <rgm@gnu.org>
16976 * Makefile.in (ELCFILES): Update.
16978 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16980 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16981 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16983 * nxml/xsd-regexp.el (xsdre-gen-categories):
16984 * nxml/xmltok.el (xmltok-parse-entity):
16985 * nxml/rng-parse.el (rng-parse-validate-file):
16986 * nxml/rng-maint.el (rng-format-manual)
16987 (rng-manual-output-force-new-line):
16988 * nxml/rng-loc.el (rng-save-schema-location-1):
16989 * nxml/rng-cmpct.el (rng-c-parse-file):
16990 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16991 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16993 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16995 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16996 Remove extra save-excursions and make-variable-buffer-local's.
16997 Suggested by Stefan Monnier.
16999 (verilog-getopt-file, verilog-module-inside-filename-p)
17000 (verilog-set-define): Merge GNU 1.35 and repair changes from
17001 switching to using with-current-buffer.
17003 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17004 being treated as a number and confusing AUTORESET.
17005 Reported by Dan Dever.
17007 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17008 Add verilog-auto-ignore-concat to fix backward compatibility with
17009 older verilog-modes. Reported by Dan Katz.
17011 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17012 containing closing anchors "...$".
17014 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17015 Reported by Wade Smith.
17017 (verilog-batch-execute-func): Comment on function usage.
17019 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17021 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17024 (verilog-label-re, verilog-calc-1): Support proper indent of named
17027 (verilog-backward-token, verilog-basic-complete-re)
17028 (verilog-beg-of-statement, verilog-indent-re): Support proper
17029 indent of the assert statement at the beginning of a block of text.
17031 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17032 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17035 2009-11-05 Glenn Morris <rgm@gnu.org>
17037 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17038 Emacs 19. (Bug#1531)
17039 (byte-compile-fix-header): Update for the above change.
17040 Drop test for epoch::version.
17042 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17043 * cus-dep.el (custom-make-dependencies):
17044 * finder.el (finder-compile-keywords):
17045 Use autoload-rubric's feature argument.
17047 * calendar/diary-lib.el (top-level): Make load behave more like require.
17049 * vc-git.el (vc-git-stash-map): Move definition before use.
17051 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17053 * custom.el (custom-declare-group): Purecopy standard-value.
17054 (custom-declare-group): Purecopy custom-prefix.
17056 * international/mule.el (load-with-code-conversion):
17057 Call do-after-load-evaluation unconditionally.
17059 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17061 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17063 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17065 2009-11-04 Glenn Morris <rgm@gnu.org>
17067 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17068 (byte-compile-compatibility): Remove option.
17069 (byte-compile-close-variables, byte-compile-fix-header)
17070 (byte-compile-insert-header, byte-compile-output-docform)
17071 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17072 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17073 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17074 (byte-compile-insert, byte-compile-defun):
17075 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17076 (byte-defop-compiler19): Remove.
17077 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17078 used by anything. Replace all calls with byte-defop-compiler.
17080 2009-11-04 Juri Linkov <juri@jurta.org>
17082 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17083 (menu-bar-options-menu): Don't quote the `prop' arg of
17084 `menu-bar-make-mm-toggle'.
17086 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17088 * calendar/calendar.el (cal-loaddefs):
17089 * calendar/diary-lib.el (diary-loaddefs):
17090 * calendar/holidays.el (hol-loaddefs):
17091 * eshell/esh-module.el (esh-groups): Load rather than require.
17093 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17095 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17097 (todo-top-priorities): Only display-buffer when called interactively.
17098 (todo-item-start): Don't save excursion point.
17099 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17100 (todo-insert-item-here, todo-file-item, todo-remove-item):
17101 Adjust uses of todo-item-start and todo-item-end.
17103 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17104 (autoload-rubric): Don't use any more.
17106 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17107 and only put a prop if it is non-nil.
17109 2009-11-03 Juri Linkov <juri@jurta.org>
17111 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17112 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17114 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17115 and "Menu" to make top-level menu item visually one unit (like
17116 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17117 multi-word menu items). Fix :help string for quit-window.
17119 2009-11-03 Glenn Morris <rgm@gnu.org>
17121 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17122 (byte-compile-file-form-define-abbrev-table)
17123 (byte-compile-file-form-custom-declare-variable)
17124 (byte-compile-variable-ref, byte-compile-defvar):
17125 Whether or not a warning is enabled should only affect whether we issue
17126 the warning, not whether or not we collect the relevant data.
17127 Eg warnings can be turned on and off throughout the course of a file.
17129 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17130 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17132 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17134 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17135 * play/mpuz.el (mpuz-create-buffer):
17136 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17137 (lm-print-y,s,noise, lm-print-w0, lm-init):
17138 * play/gomoku.el (gomoku-prompt-for-move):
17139 * play/fortune.el (fortune-in-buffer):
17140 * play/dissociate.el (dissociated-press):
17141 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17142 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17143 * mail/supercite.el (sc-eref-show):
17144 * mail/smtpmail.el (smtpmail-send-it):
17145 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17146 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17147 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17148 (rmail-summary-goto-msg, rmail-summary-expunge)
17149 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17150 (rmail-summary-add-label, rmail-summary-output-menu)
17151 (rmail-summary-output-body):
17152 * mail/rfc822.el (rfc822-addresses):
17153 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17154 * mail/mailpost.el (post-mail-send-it):
17155 * mail/hashcash.el (hashcash-generate-payment):
17156 * mail/feedmail.el (feedmail-run-the-queue)
17157 (feedmail-queue-send-edit-prompt-help-first)
17158 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17159 (feedmail-deduce-address-list):
17160 * eshell/esh-ext.el (eshell-remote-command):
17161 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17162 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17163 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17164 (viper-save-string-in-file, viper-valid-marker):
17165 * emulation/viper-keym.el (viper-toggle-key):
17166 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17167 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17168 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17169 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17170 (viper-exec-form-in-emacs, viper-brac-function):
17171 * emulation/viper.el (viper-delocalize-var):
17172 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17173 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17174 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17175 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17176 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17177 * emulation/edt.el (edt-electric-helpify):
17178 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17179 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17180 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17181 (cua-indent-to-global-mark-column):
17182 * calendar/diary-lib.el (calendar-mark-1):
17183 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17184 Use with-current-buffer.
17185 * emulation/viper.el (viper-delocalize-var): Use dolist.
17187 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17189 * comint.el (comint-replace-by-expanded-history-before-point):
17190 Replace !! with the previous input string literally (Bug#1795).
17192 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17194 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17195 to be made up of whitespace.
17197 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17199 * minibuffer.el (read-file-name): Don't use file dialogs for
17200 remote directories (Bug#99).
17202 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17204 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17206 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17208 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17209 instead of deleting the window or frame.
17211 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17213 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17214 Support face colors.
17216 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17217 New function. Support face colors (Bug#1168).
17218 (tex-common-initialization): Use it.
17220 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17221 mode allows it (Bug#1168).
17223 2009-10-31 Juri Linkov <juri@jurta.org>
17225 * facemenu.el (list-colors-display): Don't mark buffer as
17226 modified (Bug#3948).
17228 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17230 * international/mule-diag.el (list-character-sets-1):
17231 Minor message fix (Bug#3526).
17233 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17234 Fix face property (Bug#4834).
17235 (etags-list-tags, etags-tags-apropos-additional)
17236 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17239 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17242 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17244 * textmodes/two-column.el (2C-split):
17245 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17246 * textmodes/tex-mode.el (tex-set-buffer-directory):
17247 * textmodes/spell.el (spell-region, spell-string):
17248 * textmodes/reftex.el (reftex-erase-buffer):
17249 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17250 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17251 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17252 (reftex-select-item):
17253 * textmodes/reftex-ref.el (reftex-label-info-update)
17254 (reftex-offer-label-menu):
17255 * textmodes/reftex-index.el (reftex-index-change-entry)
17256 (reftex-index-phrases-info):
17257 * textmodes/reftex-global.el (reftex-create-tags-file)
17258 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17259 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17260 (reftex-view-crossref-from-bibtex):
17261 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17262 (reftex-extract-bib-entries-from-thebibliography)
17263 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17264 * textmodes/refbib.el (r2b-capitalize-title):
17265 (r2b-convert-buffer, r2b-help):
17266 * textmodes/page-ext.el (pages-directory)
17267 (pages-directory-goto-with-mouse):
17268 * textmodes/bibtex.el (bibtex-validate-globally):
17269 * textmodes/bib-mode.el (bib-capitalize-title):
17270 * textmodes/artist.el (artist-clear-buffer, artist-system):
17271 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17272 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17273 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17274 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17275 (xscheme-send-control-g-interrupt, xscheme-start-process)
17276 (xscheme-process-sentinel, xscheme-cd):
17277 * progmodes/verilog-mode.el (verilog-read-always-signals)
17278 (verilog-set-define, verilog-getopt-file)
17279 (verilog-module-inside-filename-p):
17280 * progmodes/sh-script.el:
17281 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17282 (python-pdbtrack-grub-for-buffer, python-execute-file):
17283 * progmodes/octave-inf.el (inferior-octave):
17284 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17285 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17286 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17287 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17288 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17289 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17290 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17291 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17292 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17293 (idlwave-shell-examine-display, idlwave-shell-run-region)
17294 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17295 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17296 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17297 (idlwave-help-get-help-buffer):
17298 * progmodes/gud.el (gud-basic-call, gud-find-class)
17299 (gud-tooltip-activate-mouse-motions-if-enabled):
17300 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17301 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17302 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17303 (ebrowse-tags-next-file):
17304 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17305 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17306 (ebnf-eps-finish-and-write):
17307 * progmodes/cpp.el (cpp-edit-save):
17308 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17309 * progmodes/cc-defs.el (c-emacs-features):
17310 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17311 (antlr-directory-dependencies):
17312 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17313 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17314 (ada-find-any-references, ada-make-filename-from-adaname)
17315 (ada-make-body-gnatstub):
17316 * obsolete/rnews.el (news-list-news-groups):
17317 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17318 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17319 * net/rcirc.el (rcirc-debug):
17320 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17321 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17322 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17323 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17324 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17325 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17326 (newsticker--treeview-list-clear-highlight)
17327 (newsticker--treeview-list-update-highlight)
17328 (newsticker--treeview-list-highlight-start)
17329 (newsticker--treeview-tree-update-highlight)
17330 (newsticker--treeview-get-selected-item)
17331 (newsticker-treeview-mark-list-items-old)
17332 (newsticker--treeview-set-current-node):
17333 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17334 * net/newst-backend.el (newsticker--get-news-by-funcall)
17335 (newsticker--get-news-by-wget, newsticker--image-get)
17336 (newsticker--image-sentinel):
17337 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17338 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17339 (eudc-ph-close-session):
17340 * net/eudc.el (eudc-save-options):
17341 * language/thai-word.el (thai-update-word-table):
17342 * language/japan-util.el (japanese-string-conversion):
17343 * international/titdic-cnv.el (tsang-quick-converter)
17344 (ziranma-converter, ctlau-converter):
17345 * international/mule-cmds.el (describe-language-environment):
17346 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17347 (skkdic-convert-postfix, skkdic-convert-prefix):
17348 (skkdic-convert-okuri-nasi, skkdic-convert):
17349 * emacs-lisp/re-builder.el (reb-update-overlays):
17350 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17351 * emacs-lisp/gulp.el (gulp-send-requests):
17352 * emacs-lisp/find-gc.el (trace-call-tree):
17353 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17354 (eieio-describe-generic):
17355 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17356 * emacs-lisp/edebug.el (edebug-outside-excursion):
17357 * emacs-lisp/debug.el (debugger-make-xrefs):
17358 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17359 * emacs-lisp/chart.el (chart-new-buffer):
17360 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17361 Use with-current-buffer.
17362 * textmodes/artist.el (artist-system): Don't call
17363 copy-sequence on a fresh string.
17364 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17366 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17368 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17369 is no item to edit. (Bug#4820)
17370 (todo-top-priorities): Restore point and restore narrowing in Todo
17373 2009-10-31 Glenn Morris <rgm@gnu.org>
17375 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17376 (comint-last-output-start, comint-last-input-start)
17377 (comint-last-input-end): Don't defvar when compiling.
17378 (ange-ftp-process-file): Use bound-and-true-p.
17380 * pcmpl-rpm.el (top-level): Move provide statement to end.
17381 (pcmpl-rpm): Remove unused custom group.
17383 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17385 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17387 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17388 (byte-compile-warnings): Add `constants' as an option.
17389 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17390 (display-call-tree): Update for byte-compile-fdefinition possibly
17391 returning `(macro lambda ...)'. (Bug#4778)
17392 (byte-compile-variable-ref, byte-compile-setq-default):
17393 Respect `constants' member of byte-compile-warnings.
17395 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17397 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17398 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17401 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17403 * textmodes/ispell.el (ispell-skip-region-alist):
17404 * international/mule-conf.el (eight-bit):
17405 * international/fontset.el (font-encoding-alist):
17406 * startup.el (pure-space-overflow-message):
17407 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17408 * paths.el (gnus-nntp-service, rmail-spool-directory)
17409 (term-file-prefix):
17410 * files.el (save-some-buffers-action-alist):
17411 * cmuscheme.el (same-window-buffer-names):
17412 * ielm.el (same-window-buffer-names):
17413 * shell.el (same-window-buffer-names):
17414 * mail/sendmail.el (same-window-buffer-names):
17415 * progmodes/inf-lisp.el (same-window-buffer-names):
17416 * bindings.el (mode-line-client)
17417 (mode-line-column-line-number-mode-map):
17418 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17419 (tibetan-precomposed-regexp): Purecopy string arguments.
17421 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17423 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17424 (calcDigit-nondigit):
17425 * calc/calc-yank.el (calc-copy-to-buffer):
17426 * calc/calc-units.el (calc-invalidate-units-table):
17427 * calc/calc-trail.el (calc-trail-yank):
17428 * calc/calc-store.el (calc-insert-variables):
17429 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17430 * calc/calc-prog.el (calc-read-parse-table):
17431 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17432 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17433 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17434 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17435 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17436 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17437 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17438 * calc/calc-ext.el (calc-realign):
17439 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17440 (calc-embedded-finish-edit, calc-embedded-make-info)
17441 (calc-embedded-finish-command, calc-embedded-stack-change):
17442 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17444 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17445 shell-dynamic-complete-filename in preference to
17446 comint-dynamic-complete-filename.
17448 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17449 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17450 Don't consider whether the display supports colors.
17451 (bookmark-import-new-list): Use dolist.
17452 (bookmark-bmenu-mode-map): Move initialization into declaration.
17453 (bookmark-bmenu-list): Use dolist, simplify.
17454 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17455 (menu-bar-final-items): Use push.
17457 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17459 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17460 it works on remote files.
17461 (vc-hg-diff): Don't pass any `--cwd' argument.
17463 2009-10-27 Kevin Ryde <user42@zip.com.au>
17465 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17466 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17467 (Further to Bug#3921).
17469 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17471 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17472 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17473 calling `tramp-imap-put-file'. Add file size to the call.
17474 (tramp-imap-get-file-entries): Compute also user name, file size,
17476 (tramp-imap-handle-insert-directory): Insert uid and gid.
17477 (tramp-imap-handle-file-attributes): Transform uid and gid
17478 according to `id-format'.
17479 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17480 size in header X-Size.
17482 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17484 * simple.el (transpose-subr): Give clearer error when the mark
17485 is not set. (Bug#4807)
17487 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17489 * net/tramp.el (tramp-perl-file-truename): New defconst.
17490 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17491 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17492 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17493 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17495 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17496 Ignore `dired-call-process'.
17497 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17499 2009-10-26 Julian Scheid <julians37@gmail.com>
17501 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17502 (tramp-get-remote-readlink): New defun.
17503 (tramp-handle-file-truename): Use it.
17504 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17505 file exists if cache value present.
17506 (tramp-check-cached-permissions): New defun.
17507 (tramp-handle-file-readable-p): Use it.
17508 (tramp-handle-file-writable-p): Likewise.
17509 (tramp-handle-file-executable-p): Likewise.
17510 (tramp-handle-file-name-all-completions): Try using Perl to get
17511 partial completions. When perl not available, combine `cd' and
17512 `ls' into single remote operation and use shell expansion to get
17513 partial remote directory contents. Set `file-exists-p' cache for
17514 directory and any files returned by ls. Change cache handling to
17515 support partial directory contents. Use error message emitted by
17516 remote `cd' or Perl code for local tramp-error.
17517 (tramp-do-copy-or-rename-file-directly): Avoid separate
17518 tramp-send-command-and-check call.
17519 (tramp-handle-process-file): Merge three remote ops into one.
17520 Do not flush all caches when `process-file-side-effects' is set.
17521 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17522 file-attributes shows uid/gid to be set already.
17524 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17526 * textmodes/tex-mode.el (tex-dvi-view-command)
17527 (tex-show-queue-command, tex-open-quote):
17528 * progmodes/ruby-mode.el (auto-mode-alist)
17529 (interpreter-mode-alist): Purecopy strings.
17531 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17533 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17534 string for the hook, keymap and abbrev table.
17536 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17538 * x-dnd.el (x-dnd-xdnd-to-action):
17539 * startup.el (fancy-startup-text, fancy-about-text): Change to
17540 defconst from defvar.
17542 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17544 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17545 Purecopy initialization strings.
17547 * mail/sendmail.el (mail-header-separator)
17548 (mail-personal-alias-file):
17549 * mail/rmail.el (rmail-default-dont-reply-to-names)
17550 (rmail-ignored-headers, rmail-retry-ignored-headers)
17551 (rmail-highlighted-headers, rmail-secondary-file-directory)
17552 (rmail-secondary-file-regexp):
17553 * files.el (null-device, file-name-invalid-regexp)
17554 (locate-dominating-stop-dir-regexp)
17555 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17556 (interpreter-mode-alist): Use mapcar instead of mapc.
17558 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17560 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17561 (completion-ignored-extensions):
17562 (debug-ignored-errors): Purecopy strings.
17564 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17566 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17567 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17568 (pcomplete--here): Use push.
17570 * subr.el (all-completions): Declare the 4th arg obsolete.
17572 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17574 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17575 (pcomplete-unquote-argument): New function.
17576 (pcomplete--common-suffix): Always pay attention to case.
17577 (pcomplete--table-subvert): Quote and unquote the text.
17578 (pcomplete--common-quoted-suffix): New function.
17579 (pcomplete-std-complete): Use it and pcomplete-begin.
17581 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17582 we're inside a dedicated or minibuffer window.
17584 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17586 * bookmark.el: Update documentation, especially documentation
17587 of `bookmark-alist' and of the bookmark file format.
17588 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17590 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17592 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17593 keybindings apply to the mail buffer (Bug#4003). Shrink help
17596 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17597 (global-whitespace-mode, global-whitespace-newline-mode)
17598 (whitespace-toggle-options, global-whitespace-toggle-options):
17599 Doc fix (Bug#3660).
17601 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17602 of xmltok-start before the end tag was inserted (Bug#2840).
17604 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17605 patterns that are preceded by an open-paren (Bug#1320).
17607 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17609 * files.el (delete-directory): Delete symlinks to directories with
17610 delete-file (Bug#4739).
17612 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17614 * vc.el (vc-backend-for-registration): Rename from
17615 vc-get-backend-for-registration. Update callers.
17617 * international/mule-cmds.el (set-language-info-alist):
17619 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17620 (charset): Purecopy the name.
17621 (define-char-code-property): Purecopy string arguments.
17623 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17624 Purecopy string arguments.
17626 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17627 * ediff-hook.el (menu-bar-ediff-menu):
17628 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17629 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17631 2009-10-24 Glenn Morris <rgm@gnu.org>
17633 * comint.el (comint-dynamic-list-completions):
17634 * term.el (term-dynamic-list-completions): Use choose-completion rather
17635 than obsolete alias mouse-choose-completion.
17637 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17638 file-cache-choose-completion.
17639 (file-cache-choose-completion): Handle an optional event argument.
17640 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17642 * progmodes/octave-mod.el (octave-complete-symbol):
17643 Use choose-completion if mouse-choose-completion is ever removed.
17645 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17648 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17651 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17653 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17655 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17656 Ignore `pred' now that we receive one.
17657 Handle test-completion specially.
17659 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17661 * vc.el (vc-responsible-backend): Throw an error if not backend is
17662 found. Remove the REGISTER argument. Move the code dealing with
17664 (vc-get-backend-for-registration): ... here. New function.
17665 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17666 of vc-responsible-backend, pass the file name instead of the
17669 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17671 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17673 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17674 (pcomplete-comint-setup): Don't modify a global var via
17675 accidental side-effects.
17676 (pcomplete-shell-setup): Adjust call accordingly.
17677 (pcomplete-parse-comint-arguments): Use push.
17679 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17681 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17682 Allow uncapitalized info node names (Bug#3921).
17684 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17685 to the DEBUG file (Bug#3781).
17687 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17689 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17690 dictionary entry (Bug#4579).
17692 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17694 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17695 from `rfn-eshadow-update-overlay-hook' when unloading.
17696 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17697 "rsyncc". Adjust doc string.
17698 (tramp-temp-buffer-file-name): New buffer-local defvar.
17699 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17700 Keep temporary file when indicated by method ("rsync" and
17702 (tramp-handle-write-region): Handle APPEND.
17703 (tramp-delete-temp-file-function): New defun. Added to
17704 `kill-buffer-hook'.
17706 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17708 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17710 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17712 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17713 (color-name-rgb-alist, tty-standard-colors)
17714 (tty-color-mode-alist): Change to defconst.
17716 * simple.el (mark-inactive): Purecopy message.
17718 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17719 (global-map, yank-menu):
17720 * textmodes/ispell.el (ispell-menu-map):
17721 * net/eudc.el (eudc-tools-menu):
17722 * international/mule-cmds.el (describe-language-environment-map)
17723 (setup-language-environment-map, set-coding-system-map)
17724 (mule-menu-keymap):
17725 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17726 * replace.el (occur-mode-map):
17727 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17729 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17731 * calc/calc.el (math-read-number, math-read-number-simple):
17732 Use `save-match-data'.
17734 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17736 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17737 rather than fiddling with global-map bindings, since it should only
17738 affect per-terminal settings.
17739 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17741 * minibuffer.el (completion-table-with-terminator): Allow to specify
17742 the terminator-regexp.
17744 * simple.el (switch-to-completions): Look for *Completions* in other
17747 * pcomplete.el: Allow the use of completion-tables.
17748 (pcomplete-std-complete): New command.
17749 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17750 (pcomplete--here): Use a function for `form' rather than an expression,
17751 so it can be byte-compiled.
17752 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17753 Add edebug declaration.
17754 (pcomplete-show-completions): Remove unused var `curbuf'.
17755 (pcomplete-do-complete, pcomplete-stub):
17756 Don't assume `completions' is a list of strings any more.
17758 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17760 * find-dired.el (find-name-arg): Fix typo in docstring.
17762 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17764 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17765 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17767 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17770 * comint.el (comint-read-input-ring, comint-write-input-ring)
17771 (comint-substitute-in-file-name)
17772 (comint-dynamic-complete-as-filename)
17773 (comint-dynamic-simple-complete)
17774 (comint-dynamic-list-filename-completions)
17775 (comint-dynamic-list-completions)
17776 (comint-redirect-results-list-from-process): Minor simplifications.
17778 2009-10-21 Kevin Ryde <user42@zip.com.au>
17780 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17781 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17782 the first form. And insert a blank line after ";;; Code" since
17783 that's usual style. (Bug#4612)
17785 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17787 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17789 * minibuffer.el (completion-table-with-terminator): Properly implement
17790 boundaries, in case `terminator' appears in the suffix.
17791 (completion--embedded-envvar-table): Don't return boundaries if
17792 there's no valid completion. Simplify.
17793 (completion-file-name-table): New completion table extracted from
17794 completion--file-name-table.
17795 (completion--file-name-table): Use it.
17796 (read-file-name-predicate): Declare obsolete.
17797 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17798 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17799 completion-file-name-table, and use the `pred' argument.
17800 * files.el (locate-file-completion-table): Use the `pred' arg rather
17801 than read-file-name-predicate.
17802 (abbreviate-file-name): Use \` rather than ^ for BOS.
17804 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17806 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17807 vc-responsible-backend to register, it causes problems.
17809 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17811 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17813 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17815 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17816 (tramp-smb-handle-file-attributes): Use it.
17817 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17818 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17819 `mapcar'. Use `tramp-smb-get-stat-capability'.
17820 Add `dired-filename' text properties.
17821 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17822 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17825 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17827 * subr.el (read-key-delay): Reduce to 0.01.
17828 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17831 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17833 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17835 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17836 (Info-menu): Remove unused vars `last' and `completions'.
17837 (Info-index-nodes): Remove unused var `node'.
17839 * info.el (Info-complete-menu-item): Use complete-with-action.
17841 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17843 Make vc-annotate work through copies and renames.
17844 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17845 Return the file name too.
17846 (vc-annotate-revision-at-line)
17847 (vc-annotate-find-revision-at-line)
17848 (vc-annotate-revision-previous-to-line)
17849 (vc-annotate-show-log-revision-at-line): Update to get the file
17850 name from vc-annotate-extract-revision-at-line.
17851 (vc-annotate-show-diff-revision-at-line-internal): Change the
17852 argument to mean whether to show a file diff or not. Get the file
17853 name from vc-annotate-extract-revision-at-line.
17854 (vc-annotate-show-diff-revision-at-line):
17855 Update vc-annotate-show-diff-revision-at-line call.
17856 (vc-annotate-warp-revision): Add an optional file argument.
17858 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17859 (vc-git-annotate-extract-revision-at-line): Also return the file
17862 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17863 command. Remove unused code.
17864 (vc-hg-annotate-re): Update to match --follow output.
17865 (vc-hg-annotate-extract-revision-at-line): Also return the file
17868 * vc.el: Update annotate-extract-revision-at-line documentation.
17870 2009-10-18 Kevin Ryde <user42@zip.com.au>
17872 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17873 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17875 * net/browse-url.el (browse-url): Identify alist with "consp and
17876 not functionp" and let all other things go down the `apply' leg,
17877 as suggested by Stefan. (Further to bug#4531.)
17879 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17881 * minibuffer.el (read-file-name): Check for repeat before putting
17882 a default argument in file-name-history (Bug#4657).
17884 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17885 read syntax (Bug#4737).
17887 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17889 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17891 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17892 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17893 entries and make note of obsolete tags.
17895 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17897 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17899 2009-10-18 Glenn Morris <rgm@gnu.org>
17901 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17902 grep, so that binary files (eg international/uni-bidi.el) can match.
17903 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17904 now, and in any case the file header format has changed.
17906 2009-10-17 Glenn Morris <rgm@gnu.org>
17908 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17909 (flyspell-get-word, flyspell-large-region)
17910 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17912 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17914 * Makefile.in (ELCFILES): Add ede/shell.
17916 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17918 * term/common-win.el (x-colors): Purecopy it.
17920 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17922 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17923 permissive for when the buffer is empty.
17924 (tar-header-block-tokenize): Decode the username and groupname.
17925 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17927 2009-10-17 Eric Ludlam <zappo@gnu.org>
17929 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17930 contains multibyte characters, choose first applicable coding
17931 system automatically.
17933 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17935 * international/mule-cmds.el (select-safe-coding-system): If the file
17936 has a coding cookie, use it regardless of any other setting (bug#4712).
17938 2009-10-17 Glenn Morris <rgm@gnu.org>
17940 * foldout.el (foldout-mouse-swallow-events):
17941 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17943 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17944 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17945 (dired-keep-marker-symlink, dired-dwim-target)
17946 (dired-copy-preserve-time): Do not autoload these defcustoms.
17948 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17949 messages from messing up the file coding. (Bug#4623)
17951 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17953 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17954 if no match is found for the current dictionary. (Bug#4578)
17956 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17957 optional, since that is how it is documented, and this is often called
17958 with a nil argument. (Bug#4577)
17959 (flyspell-external-point-words, flyspell-auto-correct-word)
17960 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17961 (flyspell-word-search-backward): Remove nil argument in calls to
17962 flyspell-get-word, since it is not needed now.
17964 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17966 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17968 2009-10-16 Glenn Morris <rgm@gnu.org>
17970 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17972 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17974 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17975 (ange-ftp-file-size): New function.
17976 (ange-ftp-file-attributes): Use it.
17978 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17980 * net/tramp-smb.el (tramp-smb-version): New defvar.
17981 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17984 2009-10-16 Glenn Morris <rgm@gnu.org>
17986 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17987 Maybe copy some custom properties from old to new name. (Bug#4706)
17989 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17991 * subr.el (error, sit-for, start-process-shell-command)
17992 (start-file-process-shell-command): Set the calling convention
17993 after the function definition.
17995 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17997 * subr.el (error, sit-for, start-process-shell-command)
17998 (start-file-process-shell-command): Use the new
17999 set-advertised-calling-convention feature.
18001 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18003 * international/ucs-normalize.el (ucs-normalize-version):
18005 (check-range): Adjust for Unicode 5.2.
18007 2009-10-15 Juri Linkov <juri@jurta.org>
18009 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18010 to the `menu-item' format.
18012 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18014 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18015 if the environment variable does not exist.
18017 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18018 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18020 (tramp-smb-handle-add-name-to-file)
18021 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18022 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18023 (tramp-smb-handle-file-attributes)
18024 (tramp-smb-do-file-attributes-with-stat)
18025 (tramp-smb-handle-file-local-copy)
18026 (tramp-smb-handle-insert-directory)
18027 (tramp-smb-handle-make-directory)
18028 (tramp-smb-handle-make-directory-internal)
18029 (tramp-smb-handle-make-symbolic-link)
18030 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18031 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18032 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18033 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18034 Handle long file names.
18035 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18036 process is running.
18037 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18038 Read share names with "-g" option.
18040 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18042 * net/rcirc.el (rcirc-view-log-file): New command.
18043 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18044 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18047 2009-10-15 Glenn Morris <rgm@gnu.org>
18049 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18050 from the second command-line argument.
18051 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18052 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18053 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18054 w32-batch-update-autoloads.
18055 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18056 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18058 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18059 the headers cannot be located. Simplify, subtracting superflous
18062 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18064 Replace completion-base-size by completion-base-position to fix bugs
18065 such as (bug#4699).
18066 * simple.el (completion-base-position): New var.
18067 (completion-base-size): Mark as obsolete.
18068 (choose-completion): Make it work for mouse events as well.
18069 Pass the new base-position to choose-completion-string.
18070 (choose-completion-guess-base-position): New function, extracted from
18071 choose-completion-delete-max-match.
18072 (choose-completion-delete-max-match): Use it. Make obsolete.
18073 (choose-completion-string): Use the new base-position info.
18074 (completion-root-regexp): Delete.
18075 (completion-setup-function): Preserve completion-base-position.
18076 Eliminate obsolete base-size manipulation.
18077 * minibuffer.el (display-completion-list): Don't mess with base-size.
18078 (minibuffer-completion-help): Set completion-base-position instead.
18079 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18081 * textmodes/bibtex.el (bibtex-complete):
18082 * emacs-lisp/crm.el (crm--choose-completion-string):
18083 Adjust to new calling convention.
18084 * complete.el (partial-completion-mode): Use minibufferp to avoid
18085 bumping into incompatible change to choose-completion-string-functions.
18086 * ido.el (ido-choose-completion-string): Make its calling convention
18088 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18089 base-size manipulation.
18090 (comint-dynamic-list-input-ring): Use dotimes and push.
18091 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18092 fundamental-mode. Use `or'.
18094 2009-10-14 Juri Linkov <juri@jurta.org>
18096 * misearch.el (multi-isearch-next-buffer-from-list)
18097 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18099 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18101 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18104 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18105 string we return is all made up of text from the completions rather
18106 than part from the completions and part from the input (bug#4219).
18108 * ido.el (ido-everywhere): Use define-minor-mode.
18110 * buff-menu.el (list-buffers, ctl-x-map):
18111 Mark the entry points with ;;;###autoload cookies.
18113 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18115 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18116 correctly in the detached head case.
18117 (vc-git-print-log): Remove unused binding.
18119 * vc.el (vc-responsible-backend): When a directory is passed for
18120 for registration create a VC repository if no backend is
18121 responsible for the directory argument.
18122 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18124 * vc.el: Move comments about RCS and SCCS ...
18126 * vc-sccs.el: ... here, respectively.
18128 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18130 * minibuffer.el (completion--file-name-table): Return nil if there's
18131 no file completion, even if substitute-in-file-name changed
18132 the string (bug#4708).
18134 2009-10-13 Juri Linkov <juri@jurta.org>
18136 * files-x.el (read-file-local-variable-value): Don't filter out
18137 minor modes from mode name completion (bug#4664).
18139 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18141 * international/mule-cmds.el (ucs-names): Remove exclusion of
18142 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18144 2009-10-13 Kenichi Handa <handa@m17n.org>
18146 * international/uni-name.el: Regenerated.
18148 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18150 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18151 should be automatically buffer-local, but isn't.)
18153 2009-10-12 Sam Steingold <sds@gnu.org>
18155 * progmodes/compile.el (compilation-next-error-function): Fix the
18156 timestamps if the buffer has been visited before.
18157 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18158 non-anchored patterns, like the perl one (bug#3928).
18160 2009-10-12 Glenn Morris <rgm@gnu.org>
18162 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18165 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18167 * proced.el (proced-unload-function): New function.
18169 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18170 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18173 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18175 2009-10-11 Juri Linkov <juri@jurta.org>
18177 * files-x.el (read-file-local-variable-value):
18178 Provide default value only for bound variables (bug#4664).
18180 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18182 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18183 connection methods like smb.
18185 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18188 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18189 (tramp-smb-file-name-handler-alist): Add handlers for
18190 `add-name-to-file', `make-symbolic-link'.
18191 (tramp-smb-handle-add-name-to-file)
18192 (tramp-smb-do-file-attributes-with-stat)
18193 (tramp-smb-handle-make-symbolic-link)
18194 (tramp-smb-get-cifs-capabilities): New defuns.
18195 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18196 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18197 (tramp-smb-handle-file-local-copy)
18198 (tramp-smb-handle-make-directory-internal)
18199 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18200 The file name syntax depends on cifs capabilities.
18201 (tramp-smb-handle-file-attributes):
18202 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18203 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18204 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18206 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18208 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18209 (eieio-defclass): Apply deftype handler and setf-method properties
18211 (eieio-add-new-slot): Avoid union function from cl library.
18212 (eieio--typep): New function.
18213 (eieio-perform-slot-validation): Use it.
18215 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18217 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18218 Update documentation to refer to the variables documented in r1.135.
18221 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18223 * bookmark.el (Info-suffix-list): Remove this unused variable.
18224 (bookmark-current-point): Remove this obsolete variable.
18225 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18226 Adjust for removal of bookmark-current-point.
18228 (bookmarks-already-loaded, bookmark-current-buffer)
18229 (bookmark-yank-point): Document. (Bug#4188)
18231 2009-10-10 Glenn Morris <rgm@gnu.org>
18233 * frame.el (frame-height): Doc fix.
18235 * calendar/calendar.el (calendar-split-width-threshold): New option.
18236 (calendar-basic-setup): Use calendar-split-width-threshold.
18238 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18240 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18241 Ideographic Supplement" range (U+1F200..U+1F2FF).
18243 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18245 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18246 since the list will have been rebuilt anyway. (Bug#4349)
18248 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18250 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18251 (bookmark-bmenu-execute-deletions): Don't save here, as
18252 bookmark-delete will now do so if necessary.
18253 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18256 2009-10-09 Glenn Morris <rgm@gnu.org>
18258 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18260 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18262 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18263 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18264 argument now, so the two function's behaviors will match. (Bug#3645)
18266 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18268 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18269 (tramp-file-name-real-host, tramp-file-name-port):
18270 Apply `save-match-data'.
18272 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18273 case both directories are remote.
18274 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18275 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18277 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18279 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18281 2009-10-07 Glenn Morris <rgm@gnu.org>
18283 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18286 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18288 * files-x.el (read-file-local-variable): Include some
18289 non-user-variables in the completion table (bug#4664).
18291 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18293 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18296 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18297 (tramp-smb-file-name-handler-alist): Add handler for
18298 `copy-directory', `expand-file-name', `set-file-modes'.
18299 (tramp-smb-handle-copy-directory)
18300 (tramp-smb-handle-expand-file-name)
18301 (tramp-smb-handle-set-file-modes): New defuns.
18302 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18303 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18305 (tramp-smb-handle-insert-directory): Don't flush the cache.
18306 (tramp-smb-maybe-open-connection): Check for samba client and
18309 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18311 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18312 to not error out of search for "^lisp=" fails.
18314 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18316 * makefile.w32-in (WINS_UPDATES): New macro.
18317 (custom-deps, finder-data, autoloads): Use it.
18319 2009-10-07 Glenn Morris <rgm@gnu.org>
18321 * Makefile.in (autoloads): Revert previous change.
18322 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18323 the list of preloaded files passed on the command-line, get
18324 it from src/Makefile.
18326 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18327 show the original buffer rather than a random one.
18329 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18331 * help.el (describe-no-warranty): Place point in a slightly better
18332 position in the GPLv3 text.
18334 2009-10-06 Sam Steingold <sds@gnu.org>
18336 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18337 the comm attribute is present before calling regexp-quote.
18339 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18341 * play/animate.el (animate-string): For good effect, make sure
18342 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18344 * play/animate.el (animate-sequence, animate-birthday-present):
18345 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18347 2009-10-06 Glenn Morris <rgm@gnu.org>
18349 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18351 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18352 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18353 (batch-update-autoloads): Process a string value of autoload-excludes,
18354 set during the build process.
18355 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18357 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18358 inside with-parsed... macro so that `v' is defined.
18360 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18361 * progmodes/fortran.el (fortran-end-of-block)
18362 (fortran-beginning-of-block):
18363 Also push mark in the macro case.
18365 * emerge.el (emerge-show-file-name):
18366 * calc/calc.el (calc-quit):
18367 * calc/calc-misc.el (calc-big-or-small):
18368 * calc/calc-graph.el (calc-graph-view):
18369 * calc/calc-ext.el (calc-reset):
18370 * calendar/calendar.el (calendar-basic-setup):
18371 Use window-full-height-p.
18373 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18374 header we don't understand, don't insert another. (Bug#4624)
18375 If changing mime charset, insert the new one in the right place.
18377 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18379 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18380 (cal-tex-cursor-month): Correctly increment the end date for diary and
18381 holiday listing. (Bug#4626)
18383 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18385 * help-fns.el (describe-function-1): Don't burp if the function is not
18388 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18390 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18391 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18392 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18393 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18395 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18396 (eieio-default-superclass): Reflow docstrings.
18397 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18398 (eieio-unbind-method-implementations, defmethod)
18399 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18400 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18401 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18402 (eieio-slot-originating-class-p, eieio-slot-name-index)
18403 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18404 (constructor, initialize-instance, no-next-method, object-print)
18405 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18406 Fix typos in docstrings.
18407 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18408 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18409 (next-method-p): Doc fixes.
18410 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18411 Fix typos in error messages.
18412 (eieio-defmethod): Fix typo in description of generic method.
18414 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18415 (eieio-persistent-save-interactive, slot-missing):
18416 Fix typos in docstrings.
18417 (eieio-instance-inheritor-slot-boundp): Doc fix.
18419 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18420 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18422 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18423 (eieio-custom-object-apply-reset):
18424 Fix typos in docstrings and error messages.
18426 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18427 Fix typo in docstring.
18429 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18430 (eieio-browse-tree): Doc fix.
18431 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18432 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18433 Fix typos in docstrings.
18435 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18436 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18437 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18438 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18441 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18443 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18444 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18445 Set log-view-vc-backend so that diff can work.
18447 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18449 (vc-diff-internal): Autoload this instead of vc-version-diff.
18451 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18453 * simple.el (eval-expression): Doc fix.
18455 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18457 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18459 * files.el (directory-files-no-dot-files-regexp): New defconst.
18460 (delete-directory): Use it.
18461 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18463 * net/tramp.el (tramp-verbose): Fix docstring.
18464 (tramp-methods): Add recursive option to `tramp-copy-args'.
18465 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18466 "scp1_old", "scp2_old", "rsync", "rsyncc".
18467 (tramp-default-method): Check also for `auth-source-user-or-password'.
18468 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18469 Add handler for `copy-directory'.
18470 (tramp-handle-copy-directory): New defun.
18471 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18472 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18473 Optimize sent command.
18475 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18477 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18478 window if necessary.
18480 * calendar/calendar.el (calendar-basic-setup): Don't call
18481 switch-to-buffer in a dedicated window.
18483 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18485 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18486 don't do anything related to relocating, just return nil.
18487 (bookmark-error-no-filename): New error.
18488 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18489 bookmark has no file. Don't even attempt to handle things that
18490 are not files; the whole point of custom handlers is to keep that
18491 knowledge elsewhere anyway. Tighten some comments.
18492 (bookmark-file-or-variation-thereof): Remove now-unused function.
18493 (bookmark-location): Doc string fix.
18496 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18498 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18499 don't use a file dialog, because they usually don't know how to read
18500 a directory target from the user. (Bug#4230)
18501 Also, make sure the prompt can display directories as well as files.
18503 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18505 * bookmark.el (bookmark-set, bookmark-buffer-name):
18506 Improve doc strings. (Bug#1193)
18508 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18510 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18511 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18512 (bookmark-get-annotation, bookmark-set-annotation)
18513 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18514 (bookmark-set-position, bookmark-get-front-context-string)
18515 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18516 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18517 (bookmark-jump-other-window, bookmark-handle-bookmark)
18518 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18519 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18520 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18521 Improve doc strings to say whether bookmark can be a string or
18522 a record or both, and make other consistency and clarity fixes.
18523 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18524 (bookmark-default-annotation-text, bookmark-yank-word)
18525 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18526 (bookmark-import-new-list, bookmark-maybe-rename)
18527 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18528 (bookmark-bmenu-bookmark): Give these doc strings.
18529 (bookmark-bmenu-check-position): Give this a doc string, but also
18530 add a FIXME comment about how the function may be pointless.
18531 (bookmark-default-handler): Rework doc string and change a
18532 parameter name, to clarify that this takes a bookmark record
18533 not a bookmark name.
18534 (bookmark-set): Change a parameter name to indicate its meaning,
18535 and improve the doc string a bit.
18538 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18540 * bookmark.el (bookmark-alist): Document the new `handler' element
18541 in the param alist.
18542 (bookmark-make-record-function): Adjust documentation for above.
18545 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18547 * info.el (Info-bookmark-make-record): Document this function.
18548 (Info-bookmark-jump): Document with a doc string, not just a comment.
18551 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18553 * files.el (copy-directory): New defun.
18555 * dired-aux.el (dired-copy-file-recursive): Use it.
18557 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18559 * files-x.el (modify-dir-local-variable)
18560 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18563 * recentf.el (recentf-unload-function): New function.
18565 2009-10-04 Glenn Morris <rgm@gnu.org>
18567 * window.el (window-full-height-p): Add doc string.
18569 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18571 * window.el (window-full-height-p): New function. (Bug#4543)
18573 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18575 * vc.el: Remove commented out code.
18576 (vc-derived-from-dir-mode): Remove, unused.
18577 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18579 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18581 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18582 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18583 there could be recursive loading when `default-directory' is a
18584 remote file name. (Bug#4614)
18586 2009-10-03 Glenn Morris <rgm@gnu.org>
18588 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18590 (calendar-generate-window): Test for shrinkability rather than width.
18592 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18593 reusing existing buffers, in case we happen to visit two files with the
18594 same basename. (Bug#4593)
18596 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18598 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18599 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18600 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18601 subdirs of cedet as well.
18602 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18604 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18606 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18607 Obey advertised-signature-table.
18609 * help-fns.el (help-function-arglist): Don't check
18610 advertised-signature-table.
18611 (describe-function-1): Do it here instead so it also applies to subrs.
18613 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18615 * simple.el (start-file-process): Say in the doc-string, that file
18616 handlers might not support pty association, if PROGRAM is nil.
18618 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18619 HOST and USER are strings. They are nil, when there are
18620 incomplete entries in ~/.netrc, for example.
18621 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18622 root directory ("device busy" error otherwise).
18624 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18625 Flush file properties of created directory.
18627 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18629 * makefile.w32-in (WINS_BASIC): Remove cedet.
18630 (WINS_CEDET): Add cedet.
18631 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18633 2009-10-02 Kevin Ryde <user42@zip.com.au>
18635 * net/browse-url.el (browse-url): Pass any symbol in
18636 browse-url-browser-function to `apply', since if you've mistakenly put
18637 an unbound symbol then the error is clearer. (Bug#4531)
18639 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18641 * allout.el (allout-init, allout-back-to-current-heading)
18642 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18643 (allout-ascend, allout-up-current-level, allout-end-of-level)
18644 (allout-previous-visible-heading, allout-forward-current-level)
18645 (allout-backward-current-level, allout-show-children):
18646 * apropos.el (apropos-describe-plist):
18647 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18648 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18649 * completion.el (add-completion, add-permanent-completion):
18650 * descr-text.el (describe-text-category, describe-char):
18651 * desktop.el (desktop-lazy-abort):
18652 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18653 * dired.el (dired-build-subdir-alist):
18654 * ediff.el (ediff-version):
18655 * elide-head.el (elide-head, elide-head-show):
18656 * emerge.el (emerge-version):
18658 * face-remap.el (variable-pitch-mode):
18659 * faces.el (describe-face):
18660 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18662 * files.el (find-file-existing, auto-save-mode):
18663 * font-lock.el (font-lock-fontify-buffer):
18664 * help-fns.el (describe-function, describe-variable)
18665 (describe-syntax, describe-categories):
18666 * help.el (view-lossage, describe-bindings, describe-key)
18668 * hexl.el (hexl-current-address):
18669 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18670 * info.el (Info-goto-emacs-key-command-node):
18671 * log-edit.el (log-edit-insert-cvs-template)
18672 (log-edit-insert-cvs-rcstemplate):
18673 * menu-bar.el (menu-bar-mode):
18674 * mouse.el (mouse-appearance-menu):
18675 * newcomment.el (comment-indent-new-line):
18676 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18677 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18678 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18679 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18680 * recentf.el (recentf-mode):
18681 * savehist.el (savehist-mode, savehist-save):
18682 * shadowfile.el (shadow-copy-files):
18683 * simple.el (kill-ring-save, next-line, previous-line)
18684 (normal-erase-is-backspace-mode):
18685 * strokes.el (strokes-update-window-configuration)
18686 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18687 (strokes-xpm-for-stroke):
18688 * time.el (emacs-uptime, emacs-init-time):
18689 * tutorial.el (tutorial--describe-nonstandard-key)
18690 (tutorial--detailed-help):
18691 * type-break.el (type-break-mode)
18692 (type-break-mode-line-message-mode, type-break-query-mode)
18693 (type-break-guesstimate-keystroke-threshold):
18694 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18695 * version.el (emacs-version):
18696 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18697 * winner.el (winner-mode):
18698 * calendar/timeclock.el (timeclock-in, timeclock-out)
18699 (timeclock-status-string, timeclock-change)
18700 (timeclock-workday-remaining-string)
18701 (timeclock-workday-elapsed-string)
18702 (timeclock-when-to-leave-string):
18703 * calendar/todo-mode.el (todo-add-category):
18704 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18705 * emacs-lisp/autoload.el (update-file-autoloads):
18706 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18707 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18708 (checkdoc-message-text, checkdoc-defun):
18709 * emacs-lisp/debug.el (debugger-list-functions):
18710 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18711 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18712 (eieio-describe-generic):
18713 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18714 * emacs-lisp/shadow.el (list-load-path-shadows):
18715 * emulation/cua-base.el (cua-mode):
18716 * emulation/edt.el (edt-set-scroll-margins):
18717 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18718 (tpu-toggle-regexp, tpu-toggle-search-direction)
18719 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18720 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18721 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18722 (viper-set-parsing-style-toggling-macro)
18723 (viper-set-emacs-state-searchstyle-macros):
18724 * emulation/viper.el (viper-set-hooks):
18725 * eshell/esh-mode.el (eshell-truncate-buffer):
18726 * international/mule-cmds.el (prefer-coding-system)
18727 (describe-input-method, describe-language-environment):
18728 * international/mule-diag.el (list-character-sets)
18729 (describe-character-set, describe-coding-system)
18730 (describe-fontset, list-fontsets, list-input-methods):
18731 * mail/sendmail.el (mail-signature):
18732 * net/ange-ftp.el (ange-ftp-copy-file):
18733 * net/browse-url.el (browse-url):
18734 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18735 * net/quickurl.el (quickurl-add-url):
18736 * net/rcirc.el (names, topic):
18737 * net/xesam.el (xesam-mode):
18738 * play/5x5.el (5x5-new-game):
18739 * play/yow.el (apropos-zippy):
18740 * progmodes/ada-mode.el (ada-mode-version):
18741 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18743 (f90-beginning-of-block):
18744 * progmodes/fortran.el (fortran-end-of-block)
18745 (fortran-beginning-of-block):
18746 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18747 * progmodes/python.el (python-describe-symbol, python-shell):
18748 * term/ns-win.el (ns-print-buffer):
18749 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18750 * textmodes/flyspell.el (flyspell-mode-on):
18751 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18752 (pages-directory-for-addresses):
18753 * textmodes/table.el (table-recognize-cell)
18754 (table-query-dimension, table-generate-source)
18755 (table-insert-sequence, table--warn-incompatibility):
18756 * textmodes/tex-mode.el (tex-validate-buffer):
18757 * textmodes/texinfmt.el (texinfmt-version)
18758 (texinfo-format-buffer):
18759 Use `called-interactively-p' instead of `interactive-p'.
18761 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18763 * image-mode.el (image-toggle-display):
18764 * emacs-lisp/elp.el (elp-instrument-function):
18765 * emacs-lisp/advice.el (ad-make-advised-definition):
18766 * emacs-lisp/easy-mmode.el (define-minor-mode):
18767 * net/browse-url.el (browse-url-maybe-new-window):
18768 * progmodes/sh-script.el (sh-learn-buffer-indent):
18769 Pass new argument 'any to `called-interactively-p'.
18771 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18773 * international/uni-bidi.el:
18774 * international/uni-category.el:
18775 * international/uni-combining.el:
18776 * international/uni-comment.el:
18777 * international/uni-decimal.el:
18778 * international/uni-decomposition.el:
18779 * international/uni-digit.el:
18780 * international/uni-lowercase.el:
18781 * international/uni-mirrored.el:
18782 * international/uni-name.el:
18783 * international/uni-numeric.el:
18784 * international/uni-old-name.el:
18785 * international/uni-titlecase.el:
18786 * international/uni-uppercase.el:
18787 Regenerate from Unicode 5.2.0 data.
18789 2009-10-01 Glenn Morris <rgm@gnu.org>
18791 * Makefile.in (ELCFILES): Regenerate.
18793 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18795 * subr.el (interactive-p): Mark obsolete.
18796 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18797 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18798 advertised-signature-table for subroutines as well.
18800 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18801 (set-advertised-calling-convention): New function.
18802 (make-obsolete, define-obsolete-function-alias)
18803 (make-obsolete-variable, define-obsolete-variable-alias):
18804 Make the optional-ness of `when' obsolete.
18805 (define-obsolete-face-alias): Make `when' non-optional.
18806 * help-fns.el (help-function-arglist):
18807 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18808 Use advertised-signature-table.
18810 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18812 * files.el (delete-directory): New defun. The original function
18813 in fileio.c has been renamed to `delete-directory-internal'.
18815 * dired.el (dired-delete-file): Call `delete-directory' with
18816 RECURSIVE parameter.
18818 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18819 parameter RECURSIVE. Implementation is missing.
18821 * net/tramp.el (tramp-handle-make-directory): Flush upper
18822 directory's file properties.
18823 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18824 (tramp-handle-dired-recursive-delete-directory): Flush directory
18825 properties after the remove command only.
18827 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18828 Handle optional parameter RECURSIVE.
18830 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18831 Handle optional parameter RECURSIVE.
18833 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18834 connection timeout.
18835 (tramp-smb-handle-delete-directory): Handle optional parameter
18838 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18840 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18841 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18842 (byte-compile-defmacro): Use backquotes.
18844 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18846 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18847 has no associated file.
18848 (vc-resynch-buffer): Use vc-dir-buffers.
18850 2009-10-01 Glenn Morris <rgm@gnu.org>
18852 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18853 (chart-file-count):
18854 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18855 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18856 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18857 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18858 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18859 (eieio-copy-parents-into-subclass, make-instance, class-children)
18860 (eieio-generic-form):
18862 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18863 match-data. (Bug#4555).
18865 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18866 rather than parsing it as a regexp. This relaxes the layout
18867 requirements and makes errors easier to detect.
18868 (check-declare-verify): Check file is regular.
18869 (check-declare-directory): Doc fix.
18870 * subr.el (declare-function): Doc fix.
18872 * ibuffer.el (ibuffer-format-qualifier):
18873 * isearch.el (hi-lock-regexp-okay):
18874 * calc/calc.el (math-zerop):
18875 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18876 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18877 Remove unused declarations.
18879 2009-09-30 Eric Ludlam <zappo@gnu.org>
18881 * emacs-lisp/eieio.el (boolean-p): Delete.
18883 2009-09-30 Glenn Morris <rgm@gnu.org>
18885 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18887 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18888 filename is not a string.
18890 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18892 * files.el (safe-local-eval-forms): Fix typo.
18894 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18896 * vc-hooks.el (vc-dir-buffers): New var.
18897 (vc-state-refresh): New function.
18898 (vc-state): Use it.
18899 (vc-after-save): Always ask the backend to recompute the new state.
18900 Always call vc-dir if necessary, using vc-dir-buffers.
18901 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18902 Use vc-dir-buffers.
18903 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18904 (vc-dir-prepare-status-buffer, vc-dir-update)
18905 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18906 Don't call expand-file-name on default-directory.
18908 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18910 * speedbar.el (speedbar-item-delete):
18911 * calc/calc-prog.el (calc-kbd-if):
18912 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18914 * epa.el (epa-key-list-mode-map):
18915 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18917 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18918 (hs-show-hook): Fix typo in docstring.
18920 2009-09-29 Glenn Morris <rgm@gnu.org>
18922 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18923 file-name-nondirectory call preventing location of cedet files.
18924 (check-declare-verify): Use literal search rather than re-search.
18925 Add basic defmethod and defclass, and define-overloadable-function.
18927 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18928 Use tramp-compat-file-attributes rather than nonexistent
18929 tramp-compat-handle-file-attributes.
18931 * Makefile.in (lisptagsfiles4): New.
18932 (AUTOGENEL): Add cedet loaddefs files.
18933 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18934 (update-elclist, compile-always, backup-compiled-files)
18935 (bootstrap-clean): Add yet another directory level.
18936 (update-elclist): Use LC_COLLATE rather than COLLATE.
18937 (ELCFILES): Update, via `make update-elclist'.
18939 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18941 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18942 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18943 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18945 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18947 * Makefile.in (lisptagsfiles3): Define.
18948 (TAGS, TAGS-LISP): Use it.
18949 (update-elclist): Add third directory level to look for elc files.
18950 (compile-always): Likewise.
18951 (backup-compiled-files): Likewise.
18952 (bootstrap-clean): Likewise.
18953 (ELCFILES): Update.
18955 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18957 * Makefile.in (ELCFILES): Add CEDET files.
18959 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18961 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18963 * net/tramp.el (top): Require tramp-imap.
18965 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18966 Use `tramp-compat-handle-file-attributes'.
18968 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18970 * net/tramp-imap.el: New package.
18972 2009-09-28 Eric Ludlam <zappo@gnu.org>
18974 * emacs-lisp/chart.el:
18975 * emacs-lisp/eieio-base.el:
18976 * emacs-lisp/eieio-comp.el:
18977 * emacs-lisp/eieio-custom.el:
18978 * emacs-lisp/eieio-datadebug.el:
18979 * emacs-lisp/eieio-opt.el:
18980 * emacs-lisp/eieio-speedbar.el:
18981 * emacs-lisp/eieio.el: New files.
18983 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18985 * whitespace.el (whitespace-trailing-regexp)
18986 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18989 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18991 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18994 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18995 menu-bar-ediff-menu.
18997 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18998 define-overloadable-function.
19000 * progmodes/autoconf.el: Provide autoconf as well, so that this
19001 file can be `require'd.
19003 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19005 * emacs-lisp/autoload.el (generated-autoload-feature)
19006 (generated-autoload-load-name): New vars.
19007 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19008 (make-autoload): Recognize define-overloadable-function and
19009 defclass forms (for EIEIO).
19011 * Makefile.in (update-subdirs): Exclude cedet directory.
19013 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19015 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19017 * faces.el: Default light-background background for region face to
19018 ns_selection_color under NS.
19020 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19022 * net/imap-hash.el: New library, see NEWS.
19024 * Makefile.in (ELCFILES): Add imap-hash.el.
19026 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19028 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19029 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19030 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19031 definition where the docstring could be taken for the return value.
19033 2009-09-26 Glenn Morris <rgm@gnu.org>
19035 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19036 Add option to only show images below a certain size.
19037 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19038 save-excursion calls.
19040 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19042 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19043 subdirectories) and eieio.
19045 2009-09-26 Alan Mackenzie <acm@muc.de>
19047 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19048 Correct buggy bracketing. (Bug#4289)
19050 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19051 character constants (as case labels). (Bug#4289)
19053 2009-09-25 Juri Linkov <juri@jurta.org>
19055 * files.el (safe-local-eval-forms): Allow time-stamp in
19056 before-save-hook (Bug#4554).
19058 2009-09-25 Drew Adams <drew.adams@oracle.com>
19060 * menu-bar.el (list-buffers-directory): Doc fix.
19062 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19064 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19065 Try and avoid copying twice the same paragraph.
19066 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19067 Remove save-excursion.
19068 (log-edit-changelog-entry): Do it here instead.
19070 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19072 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19073 when available, instead of hardcoding mode names. Doc fix.
19075 * menu-bar.el (list-buffers-directory): Add docstring.
19076 Make automatically buffer-local.
19078 * dired.el (dired-mode):
19079 * files.el (cd-absolute):
19080 * pcvs.el (cvs-temp-buffer):
19081 * pcvs-util.el (cvs-get-buffer-create):
19082 * shell.el (shell-mode):
19083 * vc-dir.el (vc-dir-mode):
19084 Don't make `list-buffers-directory' buffer local.
19086 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19088 * comint.el (comint-exec, comint-run, make-comint):
19089 Doc fixes (Bug#4542).
19091 2009-09-25 Glenn Morris <rgm@gnu.org>
19093 * mail/rmailmm.el (rmail-mime): New custom group.
19094 Move all defcustoms in this file into this group.
19095 (rmail-mime-media-type-handlers-alist): Revert previous change.
19096 (rmail-mime-show-images): New option.
19097 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19098 references to it, since it wasn't actually used for anything.
19099 (rmail-mime-insert-image): New function.
19100 (rmail-mime-image): Use rmail-mime-insert-image.
19101 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19102 obey the value of `rmail-mime-show-images' option. Print the size of
19105 2009-09-25 David Engster <deng@randomsample.de>
19107 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19109 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19111 * whitespace.el: Does not highlight trailing spaces While point is
19112 at end of line. Does not highligt spaces at beginning of buffer
19113 while point is at beginning of buffer. Does not highlight spaces
19114 at end of buffer while point is at end of buffer. (Bug#4177)
19116 (whitespace-display-mappings): Adjust initialization.
19117 (whitespace-point, whitespace-font-lock-refontify): New vars.
19118 (whitespace-color-on, whitespace-color-off): Adjust code.
19119 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19120 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19121 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19123 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19125 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19127 * textmodes/sgml-mode.el: Remove xml-mode alias.
19129 * files.el (auto-mode-alist, conf-mode-maybe)
19130 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19132 2009-09-24 Alan Mackenzie <acm@muc.de>
19134 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19135 c-forward-conditionals, but it doesn't move point and doesn't set
19137 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19138 (c-down-conditional-with-else, c-backward-conditional)
19139 (c-forward-conditional): Refactor to use c-scan-conditionals.
19141 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19143 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19144 (help-default-arg-highlight): Remove.
19145 (help-highlight-arg): New function.
19146 (help-do-arg-highlight): Use it.
19147 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19149 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19151 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19152 Undo last change, which didn't fix the problem and introduced others.
19154 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19156 * progmodes/gdb-mi.el: Don't require speedbar.
19157 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19159 2009-09-24 Glenn Morris <rgm@gnu.org>
19161 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19163 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19165 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19166 there is no newline after the final mime boundary. (Bug#4539)
19167 Move markers on insertion so that any buttons inserted don't end up in
19168 the next part of a multipart message.
19169 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19170 (rmail-mime-bulk-handler): Optionally handle images.
19171 (rmail-mime-image): New button action.
19172 (rmail-mime-image-handler): New function.
19173 (rmail-mime-mode): New mode.
19174 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19176 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19178 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19179 than just dropping elements from it (bug#4504).
19181 * term.el (term-set-scroll-region): Don't move cursor any more.
19182 (term-handle-ansi-escape): Call term-goto here instead.
19183 Suggested by Ivan Kanis <apple@kanis.eu>.
19185 * term.el: Require CL.
19186 (term-ansi-reset): New function.
19187 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19188 (term-handle-colors-array): Simplify.
19190 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19192 * allout.el (allout-overlay-interior-modification-handler)
19193 (allout-obtain-passphrase):
19194 * epa-file.el (epa-file-write-region):
19195 * ps-print.el (ps-begin-job):
19196 * vc-hooks.el (vc-toggle-read-only):
19197 * vc-rcs.el (vc-rcs-rollback):
19198 * vc-sccs.el (vc-sccs-rollback):
19199 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19200 (vc-version-diff, vc-revert, vc-rollback):
19201 * wdired.el (wdired-check-kill-buffer):
19202 * emacs-lisp/authors.el (authors):
19203 * net/socks.el (socks-open-connection):
19204 * net/zeroconf.el (zeroconf-service-add-hook):
19205 * obsolete/vc-mcvs.el (vc-mcvs-register):
19206 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19207 (gdb-select-frame):
19208 * progmodes/grep.el (lgrep, rgrep):
19209 * progmodes/idlw-help.el (idlwave-help-check-locations)
19210 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19211 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19212 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19213 (reftex-toc-rename-label): Fix typos in error messages.
19215 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19216 (dired-copy-how-to-fn): Doc fix.
19217 (dired-files-attributes, dired-read-shell-command):
19218 Fix typos in docstrings.
19220 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19221 (dired-x-find-file-other-window): Reflow docstrings.
19222 (dired-omit-marker-char, dired-read-shell-command)
19223 (dired-x-submit-report): Fix typos in docstrings.
19225 * shell.el (shell-mode-hook):
19226 * view.el (View-scroll-line-forward):
19227 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19228 Fix typos in docstrings.
19230 * net/dig.el (dig-invoke): Fix typo in docstring.
19231 (query-dig): Reflow docstring.
19233 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19234 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19235 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19236 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19237 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19238 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19239 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19240 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19241 (idlwave-completion-map, idlwave-current-indent)
19242 (idlwave-custom-ampersand-surround, idlwave-customize)
19243 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19244 (idlwave-define-abbrev, idlwave-determine-class-special)
19245 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19246 (idlwave-end-block-reg, idlwave-end-of-statement)
19247 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19248 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19249 (idlwave-explicit-class-listed, idlwave-file-header)
19250 (idlwave-fill-paragraph, idlwave-find-class-definition)
19251 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19252 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19253 (idlwave-in-quote, idlwave-indent-action-table)
19254 (idlwave-indent-expand-table, idlwave-indent-line)
19255 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19256 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19257 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19258 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19259 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19260 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19261 (idlwave-outlawed-buffers, idlwave-popup-select)
19262 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19263 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19264 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19265 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19266 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19267 (idlwave-statement-type, idlwave-struct-skip)
19268 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19269 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19270 (idlwave-what-module-find-class): Fix typos in docstrings.
19271 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19272 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19273 (idlwave-find-module, idlwave-find-structure-definition)
19274 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19275 (idlwave-list-load-path-shadows, idlwave-next-statement)
19276 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19277 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19278 (idlwave-template): Reflow docstrings.
19280 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19281 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19282 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19283 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19284 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19285 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19286 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19287 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19288 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19289 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19290 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19291 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19292 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19293 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19294 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19295 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19296 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19297 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19298 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19299 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19300 Fix typos in docstrings.
19301 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19302 (idlwave-shell-hide-output, idlwave-shell-mode)
19303 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19306 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19308 2009-09-24 Ivan Kanis <apple@kanis.eu>
19310 * term.el (term-bold-attribute): New var.
19311 (term-handle-colors-array): Use it.
19313 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19315 * progmodes/gdb-mi.el (gdb-version): New variable.
19316 (gdb-non-stop-handler): Set gdb-version.
19317 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19318 Condition "--thread" option on gdb-version.
19319 (gdb-invalidate-threads): Remove unused argument.
19321 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19323 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19324 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19326 2009-09-23 Glenn Morris <rgm@gnu.org>
19328 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19329 replying to mail without References or Message-Id. (Bug#4525)
19331 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19333 * term/ns-win.el (ns-reg-to-script): New variable.
19335 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19337 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19339 2009-09-22 Sam Steingold <sds@gnu.org>
19341 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19342 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19343 to 1 because hg returns status 1 when nothing is found.
19344 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19346 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19348 * textmodes/fill.el: Convert to utf-8 encoding.
19349 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19352 * add-log.el (change-log-fill-forward-paragraph): New function.
19353 (change-log-mode): Use it so fill-region DTRT.
19354 Set fill-indent-according-to-mode here rather than in
19355 change-log-fill-paragraph.
19356 (change-log-fill-paragraph): Remove.
19358 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19360 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19361 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19363 2009-09-22 Glenn Morris <rgm@gnu.org>
19365 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19366 the scroll-bar scroll the calendar window rather than the buffer.
19368 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19369 commands that move point (as opposed to scrolling).
19371 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19373 * emacs-lisp/elint.el (elint): New custom group.
19374 (elint-log-buffer): Make it a defcustom.
19375 (elint-scan-preloaded, elint-ignored-warnings)
19376 (elint-directory-skip-re): New options.
19377 (elint-builtin-variables): Doc fix.
19378 (elint-preloaded-env): New variable.
19379 (elint-unknown-builtin-args): Add an entry for encode-time.
19380 (elint-extra-errors): Make it a variable rather than a constant.
19381 (elint-preloaded-skip-re): New constant.
19382 (elint-directory): Skip files matching elint-directory-skip-re.
19383 (elint-features): New variable, local to linted buffers.
19384 (elint-update-env): Initialize elint-features. Possibly add
19385 elint-preloaded-env to the buffer's environment.
19386 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19388 (elint-init-form): New function, extracted from elint-init-env.
19389 Make non-list forms a warning rather than an error.
19390 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19391 easy-menu-define, put that adds an error-condition, and provide.
19392 When requiring cl, also require cl-macs. Really require cl, to handle
19393 some cl macros. Store required libraries in the list elint-features,
19394 so as not to re-load them. Treat cc-require like require.
19395 (elint-init-env): Call elint-init-form to do the work.
19396 Handle eval-and-compile and such like.
19397 (elint-add-required-env): Do not clear messages.
19398 (elint-special-forms): Add handlers for function, defalias, if, when,
19400 (elint-form): Add optional argument to ignore elint-special-forms,
19401 useful to prevent recursive calls from handlers. Doc fix.
19402 Respect elint-ignored-warnings.
19403 (elint-form): Respect elint-ignored-warnings.
19404 (elint-bound-variable, elint-bound-function): New variables.
19405 (elint-unbound-variable): Respect elint-bound-variable.
19406 (elint-get-args): Respect elint-bound-function.
19407 (elint-check-cond-form): Add some simple handling for (f)boundp and
19409 (elint-check-defalias-form): New handler.
19410 (elint-check-let-form): Make an empty let a warning rather than an
19412 (elint-check-setq-form): Make an empty setq a warning rather than an
19413 error. Respect elint-ignored-warnings.
19414 (elint-check-defvar-form): Accept null doc-strings.
19415 (elint-check-conditional-form): New handler. Does some simple-minded
19416 checking of featurep and (f)boundp tests.
19417 (elint-put-function-args): New function.
19418 (elint-initialize): Use elint-scan-doc-file rather than
19419 elint-find-builtin-variables. Use elint-put-function-args.
19420 Possibly scan preloaded-file-list.
19421 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19422 extend to handle functions as well.
19424 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19426 * linum.el (linum-delete-overlays, linum-update-window):
19427 Do not modify the right margin. (Bug#3971)
19429 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19431 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19432 Use nxml-mode instead of xml-mode.
19434 2009-09-21 Kevin Ryde <user42@zip.com.au>
19436 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19438 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19440 * net/dig.el (dig-mode): Use define-derived-mode.
19442 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19444 * vc-dispatcher.el (vc-do-command): Return the process object in
19445 the asynchronous case. Use when instead of if. Do not run
19446 vc-exec-after to display a message if not enabled. (Bug#4463)
19448 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19449 properties to the stash strings.
19450 (vc-git-stash-list): Return a list of strings.
19451 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19452 (vc-git-stash-show-at-point): New functions.
19453 (vc-git-stash-map): New keymap.
19455 * register.el (ctl-x-r-map): Define the keys here instead of
19458 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19460 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19461 list, to workaround performance problem (bug#4485).
19463 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19465 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19467 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19469 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19470 Document that this option is not recommended to use.
19472 2009-09-19 Glenn Morris <rgm@gnu.org>
19474 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19477 * calc/calc-alg.el (var):
19478 * calc/calcalg2.el (var): Define for compiler.
19480 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19482 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19483 Doc fix (Bug#3932).
19485 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19487 * time-stamp.el (time-stamp-month-dd-yyyy)
19488 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19489 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19490 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19491 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19492 Remove functions that have been obsolete since 1995 (Bug#4436).
19494 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19495 indent buffer only if called interactively (Bug#4452).
19497 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19498 Eli Zaretskii <eliz@gnu.org>
19500 This fixes bug#4197 (merged to bug#865, though not identical).
19501 * server.el (server-auth-dir): Add docstring note about FAT32.
19502 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19503 but warn against using them.
19505 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19507 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19508 older GDB where there is no has_more field.
19510 2009-09-19 Glenn Morris <rgm@gnu.org>
19512 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19514 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19516 * files.el (auto-mode-alist): Change default for XML files to nXML
19519 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19521 * server.el (server-ensure-safe-dir): Pass 'integer
19522 to `file-attributes', as suggested.
19524 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19526 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19527 (dired-query): Use read-key.
19529 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19531 * cus-start.el (ns-use-qd-smoothing): Remove.
19533 2009-09-18 Glenn Morris <rgm@gnu.org>
19535 * allout.el (top-level): Remove unnecessary progn.
19537 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19539 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19540 definition of abbrev table.
19542 * speedbar.el (speedbar-track-mouse):
19543 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19544 * net/eudc.el (eudc-expand-inline):
19545 * net/newst-backend.el (newsticker--cache-read-feed):
19546 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19547 condition-case handlers.
19549 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19551 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19552 (gdb-var-list): Add an element for has_more field.
19553 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19554 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19555 (gdb-var-update-handler-1): Parse output of dynamic variable
19556 objects (STL containers).
19557 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19558 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19560 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19562 (gud-speedbar-buttons): Make node expandable if expression "has more"
19565 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19567 * startup.el (emacs-quick-startup): Remove variable and all uses.
19568 (command-line): Set `inhibit-x-resources' instead.
19569 (command-line-1): Use `inhibit-x-resources' instead.
19571 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19573 * subr.el: Fix last change to avoid using the `unless' macro,
19574 which breaks bootstrapping.
19576 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19578 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19579 extended definitions, in case we reload subr.el after having
19581 (eval-next-after-load): Mark as obsolete.
19583 2009-09-17 Juri Linkov <juri@jurta.org>
19585 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19586 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19587 (menu-bar-showhide-menu, menu-bar-tools-menu)
19588 (menu-bar-describe-menu, menu-bar-help-menu)
19589 (minibuffer-local-completion-map, minibuffer-local-map):
19592 2009-09-17 Glenn Morris <rgm@gnu.org>
19594 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19595 arguments, whether or not it has a handler.
19597 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19599 * simple.el (hard-newline): Give it a doc-string.
19601 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19602 (lisp-mode-syntax-table): Give them doc-strings.
19604 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19606 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19607 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19608 (menu-bar-options-menu, menu-bar-showhide-menu)
19609 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19610 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19611 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19612 (menu-bar-options-menu, menu-bar-tools-menu)
19613 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19614 (menu-bar-help-menu):
19615 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19618 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19619 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19620 calls for the menu names and :help.
19622 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19624 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19625 to :minor-mode-function (bug#4455).
19627 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19629 * startup.el (command-line): Initialize the window-system after
19630 processing the command-line.
19632 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19633 page-delimiter matches the empty string.
19635 2009-09-16 Glenn Morris <rgm@gnu.org>
19637 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19638 byte-compile-not-obsolete-var. It's a list now.
19639 (byte-compile-not-obsolete-funcs): New variable.
19640 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19641 byte-compile-not-obsolete-funcs.
19642 (byte-compile-variable-ref, byte-compile-defvar): Update for
19643 byte-compile-not-obsolete-vars name-change and list nature.
19644 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19645 and variables behind (f)boundp tests.
19646 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19648 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19650 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19652 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19654 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19655 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19658 2009-09-15 Stephen Eglen <stephen@gnu.org>
19660 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19661 the virtual-buffers, use the name of the buffer specified by
19662 find-file-noselect, as the match may be a symlink. (This was a
19663 problem if the target and the symlink had different names.)
19665 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19667 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19669 * desktop.el (desktop-path): Check user-emacs-directory.
19671 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19673 * loadup.el: Use after-load-functions to GC after loading each file.
19674 Remove the explicit GC calls that used to be sprinkled around.
19676 * subr.el (after-load-functions): New hook.
19677 (do-after-load-evaluation): Run it. Use string-match-p to detect
19678 `obsolete' packages, rather than painfully extracting the relevant
19681 2009-09-15 Glenn Morris <rgm@gnu.org>
19683 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19684 free variable `doc'.
19686 * dired.el (dired-mode-map): Add menu entry for async shell command.
19688 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19689 variables, also consider the .elc files, since the .el files are
19690 normally gzipped (subsequent code locates the .el.gz from the .elc).
19692 * calc/calc-prog.el (arglist): Define for compiler.
19694 * calendar/diary-lib.el (diary-display-function): Change the default to
19696 (body): Define for compiler.
19698 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19699 (byte-compile-file-form, byte-compile-lambda)
19700 (byte-compile-top-level-body, byte-compile-form)
19701 (byte-compile-variable-ref, byte-compile-setq)
19702 (byte-compile-setq-default, byte-compile-body)
19703 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19704 (batch-byte-compile): Give some more local variables with common names
19705 a "bytecomp-" prefix to avoid masking warnings about free variables.
19707 * startup.el (command-line-1): Give local variables with common names a
19708 distinguishing prefix, so as not to hide free variable warnings during
19711 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19712 clever and add a suffix to make a unique name, just let the user decide
19713 whether or not to overwrite it. If the input is a directory, write the
19714 default filename to that directory. (Bug#4388)
19715 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19716 is a filename-as-a-directory.
19718 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19720 * textmodes/page.el (what-page): Don't move to beginning of line.
19721 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19723 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19725 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19727 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19729 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19730 * help.el (help-for-help-internal): Add purecopy calls for text.
19732 * vc.el (top): print-log method now takes an optional SHORTLOG
19733 argument. Add a new method: root.
19734 (vc-root-diff, vc-print-root-log): New functions.
19735 (vc-log-short-style): New variable.
19736 (vc-print-log-internal): Add support for showing short logs.
19738 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19739 vc-print-root-log and vc-print-root-diff.
19741 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19742 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19743 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19746 * vc-cvs.el (vc-cvs-print-log):
19747 * vc-mtn.el (vc-mtn-print-log):
19748 * vc-rcs.el (vc-rcs-print-log):
19749 * vc-sccs.el (vc-sccs-print-log):
19750 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19751 that is ignored for now.
19753 * vc-mtn.el (vc-mtn-annotate-command):
19754 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19756 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19758 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19759 to function-key-map, and give them ascii-character property.
19760 * term/x-win.el (x-alternatives-map):
19761 * term/ns-win.el (ns-alternatives-map):
19762 * term/internal.el (msdos-key-remapping-map):
19763 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19765 2009-09-14 Glenn Morris <rgm@gnu.org>
19767 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19768 temp-buffers (2009-09-12).
19770 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19772 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19773 the new read-key function.
19775 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19777 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19778 is defined (Bug#4405).
19780 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19782 * recentf.el (recentf-cleanup): Use a hash table to find
19783 duplicates (Bug#4407).
19785 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19787 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19788 kp-0 to ascii equivalents (Bug#4325).
19790 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19792 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19794 * eshell/em-hist.el:
19795 * eshell/em-dirs.el (eshell-complete-user-reference):
19796 Declare pcomplete functions and variables to avoid compiler warnings.
19798 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19800 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19801 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19802 * eshell/em-alias.el (eshell-aliases-file):
19803 * eshell/em-hist.el (eshell-history-file-name):
19804 Use expand-file-name instead of concat to make file names (Bug#4308).
19806 2009-09-13 Glenn Morris <rgm@gnu.org>
19808 * ediff-merg.el (ediff-do-merge):
19809 * filesets.el (filesets-run-cmd):
19810 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19811 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19812 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19813 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19814 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19815 Replace empty `let's with `progn'.
19817 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19819 * mail/sendmail.el (send-mail-function):
19820 * tooltip.el (tooltip-mode):
19821 * simple.el (transient-mark-mode):
19822 * rfn-eshadow.el (file-name-shadow-mode):
19823 * frame.el (blink-cursor-mode):
19824 * font-core.el (global-font-lock-mode):
19825 * files.el (temporary-file-directory)
19826 (small-temporary-file-directory, auto-save-file-name-transforms):
19827 * epa-hook.el (auto-encryption-mode):
19828 * composite.el (global-auto-composition-mode):
19829 Use custom-initialize-delay.
19830 * startup.el (command-line): Don't explicitly call
19831 custom-reevaluate-setting for all the above vars.
19832 * custom.el (custom-initialize-safe-set)
19833 (custom-initialize-safe-default): Delete.
19835 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19837 * term/x-win.el (x-initialize-window-system):
19838 * term/w32-win.el (w32-initialize-window-system):
19839 * term/ns-win.el (ns-initialize-window-system): Don't call
19840 mouse-wheel-mode since it's enabled globally by default already.
19842 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19843 actually define the variable, but only silences the byte-compiler.
19844 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19845 before looking it up.
19846 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19849 2009-09-12 Glenn Morris <rgm@gnu.org>
19851 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19853 (elint-add-required-env): Don't beep on error.
19854 (elint-forms): In case of error, return ENV unchanged.
19855 (elint-init-env): Skip non-list forms.
19856 (elint-log): Handle unknown file positions.
19858 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19860 * epg.el (epg-make-context): Add autoload cookie.
19861 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19862 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19863 (epg-verify-string, epg-start-sign, epg-sign-file)
19864 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19865 (epg-encrypt-string, epg-start-export-keys)
19866 (epg-export-keys-to-file, epg-export-keys-to-string)
19867 (epg-start-import-keys, epg-import-keys-from-file)
19868 (epg-import-keys-from-string, epg-start-receive-keys)
19869 (epg-receive-keys, epg-import-keys-from-server)
19870 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19871 (epg-sign-keys, epg-start-generate-key)
19872 (epg-generate-key-from-file, epg-generate-key-from-string):
19873 Remove autoload cookie.
19875 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19877 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19878 reevaluation of trash-directory.
19880 * mwheel.el: Fix last change.
19881 (mouse-wheel-mode): New defvar.
19882 (mouse-wheel-mode): Remove autoload cookie.
19884 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19886 * mwheel.el (mwheel-installed-bindings): New var.
19887 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19888 the bindings we set last time. Use custom-initialize-delay.
19889 * loadup.el: Load mwheel after term/*-win.el.
19890 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19891 and mouse-wheel-up-event now that their first evaluation is done
19892 sufficiently late to be correct.
19894 * startup.el (tutorial-directory): Make it a defcustom.
19895 Use custom-initialize-delay rather than eval-at-startup to set it.
19896 * image.el (image-load-path): Make it a defcustom.
19897 Use custom-initialize-delay rather than eval-at-startup to set it.
19898 * subr.el (eval-at-startup): Remove.
19899 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19901 * subr.el (do-after-load-evaluation): Warn the user after loading an
19904 2009-09-12 Glenn Morris <rgm@gnu.org>
19906 * proced.el (proced-mark-alt): Remove alias.
19907 (proced-mode-map): Remove proced-mark-alt.
19909 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19910 Elint file and directory. Remove initialization entry.
19912 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19914 (elint-current-buffer): Set mode-line-process.
19915 (elint-init-env): Handle define-derived-mode.
19916 Fix declare-function with unspecified arglist. Guard against odd
19917 defalias statements (eg iso-insert's 8859-1-map).
19918 (elint-add-required-env): Use a temp buffer.
19919 (elint-form): Just print the function/macro name, not the whole form.
19920 Return env unchanged if we fail to parse a macro.
19921 (elint-forms): Guard against parse errors.
19922 (elint-output): New function, to handle batch mode.
19923 (elint-log-message): Add optional argument. Use elint-output.
19924 (elint-set-mode-line): New function.
19926 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19928 * emacs-lisp/elp.el (elp-not-profilable): Add more
19929 functions (Bug#4233).
19931 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19933 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19934 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19936 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19938 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19939 (gdb-var-list-children): Use json parsing.
19941 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19943 * progmodes/js.el (js--proper-indentation): Handle the case where
19944 char-before is null. Reported by Deniz Dogan.
19946 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19948 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19950 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19952 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19953 (epg-digest-algorithm-alist): Add SHA224.
19954 (epg-context-set-passphrase-callback)
19955 (epg-context-set-progress-callback): Add description about
19958 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19960 * custom.el (custom-delayed-init-variables): New var.
19961 (custom-initialize-delay): New function.
19962 * startup.el (command-line): "Re"evaluate all vars in
19963 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19964 explicitly any more.
19965 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19966 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19968 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19970 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19972 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19973 (gdb-var-update-handler): Use json parsing.
19975 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19977 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19978 decode annotated text, regardless of language environment. (Bug#2741)
19980 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19982 * Makefile.in (autoloads): Make rmail.el writable as well.
19984 2009-09-11 Glenn Morris <rgm@gnu.org>
19986 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19988 * dired.el: Regenerate with extracted autoloads.
19989 * Makefile.in (autoloads): Make dired.el writable.
19991 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19992 * ibuffer.el: Regenerate with extracted autoloads.
19993 * Makefile.in (autoloads): Make ibuffer.el writable.
19995 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19996 * version.el (emacs-copyright, emacs-major-version)
19997 (emacs-minor-version): Reformat doc-strings for make-docfile.
19999 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20000 functions and variables, since they must be stuff specific to some other
20002 (apropos-print): Make mouse-click message less specific about button.
20004 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20005 that records where a macro was defined.
20006 * help-fns.el (describe-function-1): Mention if a function has a
20008 * help-mode.el (help-function-cmacro): New button.
20010 * locate.el (top-level): Always require dired.
20011 (locate-mode-map): Initialize inside the defvar.
20013 * net/ange-ftp.el (dired-compress-file): Declare.
20014 (ange-ftp-dired-compress-file): Add doc string.
20016 * term/ns-win.el (x-display-name, x-setup-function-keys):
20017 Unify doc-strings with X versions.
20019 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20021 * emulation/crisp.el (crisp-mode-map): Move initialization
20023 (crisp-mode): Use define-minor-mode.
20025 * progmodes/xscheme.el (xscheme-evaluation-commands):
20026 Put a :advertised-binding property rather than using
20027 advertised-xscheme-send-previous-expression.
20028 (advertised-xscheme-send-previous-expression): Declare obsolete.
20029 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20031 (crisp-mode): Add corresponding bindings to
20032 undo's :advertised-binding instead.
20033 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20034 than using dired-advertised-find-file.
20035 (dired-advertised-find-file):
20036 * simple.el (advertised-undo):
20037 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20038 (widget-keymap): Put a :advertised-binding property rather
20039 than using advertised-widget-backward.
20040 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20041 than using advertised-undo.
20042 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20044 2009-09-10 Simon South <ssouth@slowcomputing.org>
20046 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20047 Mark mode is enabled and region is active; otherwise indent or
20048 insert TAB as usual.
20049 (delphi-mode): Update description of TAB-key binding.
20051 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20053 * subr.el (define-key-rebound-commands): Mark obsolete.
20054 * startup.el (precompute-menubar-bindings): Remove.
20055 (normal-top-level): Remove obsolete code that tried to precompute
20057 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20058 define-key-rebound-commands and precompute-menubar-bindings.
20060 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20062 * net/imap.el (imap-interactive-login): Better messages.
20063 (imap-open): Fix bug with renamed buffer on reconnect.
20064 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20065 for easier debugging and cleaner code. On successful (guessed based on
20066 server capabilities) secondary authentication, set imap-state
20068 (imap-last-authenticator): Define imap-last-authenticator as a variable
20071 2009-09-10 Glenn Morris <rgm@gnu.org>
20073 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20075 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20076 (byte-compile-file-form-autoload): Don't warn about unknown functions
20077 where the autoload statement comes after the use.
20078 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20079 that any handlers inside the body (eg require) are in turn respected.
20081 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20084 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20085 and syntax and abbrev tables basic docs, if they don't have any.
20087 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20089 * international/mule-cmds.el (top-level): Require cl when compiling.
20090 (view-hello-file): Use default-value rather than
20091 default-enable-multibyte-characters.
20093 * progmodes/fortran.el: Move all safe and risky properties into the
20096 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20097 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20098 * mail/undigest.el:
20099 Put autoloads in rmail.el rather than loaddefs.el.
20100 * mail/rmail.el: Regenerate with extracted autoloads.
20102 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20103 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20105 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20107 Reported in thread for Bug#4375.
20108 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20109 "-data-evaluate-expression" instead of print.
20110 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20111 (gdb-tooltip-print): Parse output from above MI command.
20112 (gdb): Revert 2009-08-11 change. User should detach inferior
20115 Remove the word "separate" from IO functions as inferior
20116 output is now never displayed in the GUD buffer.
20118 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20120 * startup.el (command-line-normalize-file-name): On Windows and
20121 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20123 2009-09-10 Juri Linkov <juri@jurta.org>
20125 * isearch.el (isearch-text-char-description): Propertize escape
20126 character sequences with the `escape-glyph' face. (Bug#4344)
20128 * simple.el (shell-command): Set asynchronous process filter to
20129 `comint-output-filter'. (Bug#4343)
20131 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20132 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20133 the list. Move "asm" to the bottom.
20134 (grep-find-ignored-directories): Add `choice' with nil value
20135 to empty the list easily.
20136 (grep-find-ignored-files): New option.
20137 (grep-files-history): Set to nil by default instead of '("ch" "el").
20138 (grep-compute-defaults): Add "<X>" to `grep-template'.
20139 (grep-read-files): Bind new local variables `default-alias' and
20140 `default-extension'. Use a list of default values for the file prompt.
20141 (lgrep): Add `--exclude=' command line options composed from
20142 `grep-find-ignored-files'.
20143 (rgrep): Add `-name' command line options composed from
20144 `grep-find-ignored-files'. (Bug#4301)
20146 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20148 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20151 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20153 * calendar/time-date.el (autoload):
20154 Expand define-obsolete-function-alias into defalias and make-obsolete
20155 for old Emacsen that Gnus supports.
20156 (with-no-warnings): Define it for old Emacsen.
20157 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20159 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20160 float-time is available; suppress compile warning for time-to-seconds.
20162 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20164 * net/imap.el (imap-message-map): Docstring fix.
20166 2009-09-09 Glenn Morris <rgm@gnu.org>
20168 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20169 line numbers too. (Bug#4374)
20171 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20173 * smerge-mode.el (smerge-remove-props, smerge-refine):
20174 Use with-silent-modifications (bug#4342).
20176 * subr.el (with-silent-modifications): New macro.
20178 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20180 * files.el (top-level): Require `cl' when compiling.
20182 2009-09-07 Glenn Morris <rgm@gnu.org>
20184 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20186 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20187 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20189 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20191 * vc-git.el (vc-git-annotate-command): Use separator to parse
20192 arguments correctly.
20194 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20196 * proced.el (proced-mode): Doc fix.
20198 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20200 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20202 (tramp-do-file-attributes-with-ls): Check for file existence at
20204 (tramp-do-file-attributes-with-stat): Likewise.
20205 (tramp-convert-file-attributes): Return nil when attr is nil.
20207 2009-09-05 Glenn Morris <rgm@gnu.org>
20209 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20210 properties to this button.
20211 (diary-fancy-display): Don't extend the button to the final newline.
20212 (diary-fancy-display-mode): Continue to define "q" as a local key.
20214 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20217 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20219 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20220 (byte-compile-dest-file-function): New option.
20221 (byte-compile-dest-file): Doc fix.
20222 Obey byte-compile-dest-file-function.
20223 (byte-compile-cl-file-p): New function.
20224 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20225 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20226 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20227 than for file being previously loaded.
20228 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20229 (byte-compile-file-form-require): Handle the case where requiring a file
20230 indirectly causes CL to be loaded.
20232 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20234 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20235 before killing the old buffer, since by the time `kill-buffer' is
20236 run so many buffer variables have been set to nil that it may not
20237 behave as expected. (Bug#4061)
20239 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20241 * files.el (find-alternate-file): If the old buffer is modified
20242 and visiting a file, behave similarly to `kill-buffer' when
20243 killing it, thus reverting to the pre-1.878 behavior; see
20244 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20245 for discussion. Also, consult `buffer-file-name' as a variable
20246 not as a function, for consistency with the rest of the code.
20248 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20250 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20251 also when adding a new directory.
20253 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20256 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20258 * files.el (locate-file-completion-table): Make it provide boundary
20259 information, so partial-completion works better.
20261 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20263 * mail/footnote.el (Footnote-text-under-cursor):
20264 Check footnote-text-marker-alist before using it (bug#4324).
20266 2009-09-04 Glenn Morris <rgm@gnu.org>
20268 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20269 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20270 * play/solitaire.el, play/tetris.el:
20271 Remove leading * from defcustom and defface docs.
20273 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20275 (diary-fancy-overriding-map): New variable.
20276 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20279 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20282 2009-09-03 Glenn Morris <rgm@gnu.org>
20284 * arc-mode.el (archive-mode):
20285 * dos-fns.el (set-default-process-coding-system):
20286 * man.el (Man-getpage-in-background):
20287 * menu-bar.el (menu-bar-describe-menu):
20288 * server.el (server-process-filter):
20289 * startup.el (command-line):
20290 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20291 * w32-fns.el (set-default-process-coding-system):
20292 * x-dnd.el (x-dnd-handle-file-name):
20293 * international/mule-cmds.el (mule-menu-keymap)
20294 (set-default-coding-systems, language-info-alist, set-language-info)
20295 (set-language-environment, standard-display-european-internal)
20296 (set-locale-environment):
20297 * international/mule-diag.el (mule-diag):
20298 * mail/emacsbug.el (report-emacs-bug):
20299 * mail/rmail.el (rmail-mode):
20300 * mail/sendmail.el (mail-setup):
20301 Use default-value rather than default-enable-multibyte-characters.
20303 * progmodes/f90.el: Move all safe properties into the defcustoms.
20304 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20306 * calendar/appt.el (appt-check):
20307 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20308 (diary-check-diary-file, diary-list-entries)
20309 (diary-include-other-diary-files, diary-simple-display)
20310 (diary-fancy-display, diary-print-entries)
20311 (diary-mark-included-diary-files, diary-make-entry):
20312 Don't call substitute-in-file-name on diary-file.
20314 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20315 Stefan Monnier <monnier@iro.umontreal.ca>
20317 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20318 (footnote-mode-map): Move initialization into the declaration.
20319 (footnote-minor-mode-map): Define it rather than changing global-map.
20320 (footnote-mode): Use define-minor-mode.
20322 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20324 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20325 (tramp-do-file-attributes-with-perl)
20326 (tramp-do-file-attributes-with-stat): Rename from
20327 `tramp-handle-file-attributes-with-*'.
20328 (tramp-handle-file-attributes): Use them.
20329 (tramp-do-directory-files-and-attributes-with-perl)
20330 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20331 `tramp-handle-directory-files-and-attributes-with-*'.
20332 (tramp-handle-directory-files-and-attributes): Use them.
20333 (tramp-method-out-of-band-p): Additional parameter SIZE.
20334 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20335 (tramp-handle-write-region): Use it.
20336 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20337 (tramp-handle-vc-registered): Check, whether the first run did
20338 return files to be tested.
20339 (tramp-advice-make-auto-save-file-name): Do not call directly
20340 `tramp-handle-make-auto-save-file-name', because this would bypass
20341 the locking mechanism.
20343 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20344 (file-remote-p, process-file, start-file-process, set-file-times)
20345 (tramp-compat-file-attributes): Compatibility functions shall not
20346 call directly `tramp-handle-*', because this would bypass the
20348 (tramp-compat-number-sequence): New defun.
20350 2009-09-02 Glenn Morris <rgm@gnu.org>
20352 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20353 alias for float-time.
20354 (time-to-number-of-days): In Emacs, use float-time.
20355 * net/newst-backend.el (time-add): Suppress warnings from compat
20357 * time.el (emacs-uptime, emacs-init-time):
20358 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20359 Use float-time rather than time-to-seconds.
20361 * minibuffer.el (completion-initials-expand): Fix typo.
20363 * faces.el (modeline, modeline-inactive, modeline-highlight)
20364 (modeline-buffer-id):
20365 * info.el (info-menu-5): Mark these face aliases as obsolete.
20367 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20369 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20371 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20372 no "--thread" option.
20373 (gdb-stopped): Don't print "Switched to thread" message when it is
20376 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20378 * minibuffer.el (completion-try-completion)
20379 (completion-all-completions): Remove ill-defined (and
20380 mistakenly installed and luckily never used nor documented)
20381 `completion-styles' property.
20382 (completion-initials-expand, completion-initials-all-completions)
20383 (completion-initials-try-completion): New functions.
20384 (completion-styles-alist): Add doc to each entry.
20385 Add new `initials' entry.
20387 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20389 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20390 MI command -var-evaluate-expression.
20391 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20392 and tweak for case of string child.
20393 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20395 2009-09-01 Glenn Morris <rgm@gnu.org>
20397 * add-log.el (change-log-date-face, change-log-name-face)
20398 (change-log-email-face, change-log-file-face, change-log-list-face)
20399 (change-log-conditionals-face, change-log-function-face)
20400 (change-log-acknowledgement-face):
20401 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20402 (custom-modified-face, custom-set-face, custom-changed-face)
20403 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20404 (custom-documentation-face, custom-state-face, custom-comment-face)
20405 (custom-comment-tag-face, custom-variable-tag-face)
20406 (custom-variable-button-face, custom-face-tag-face)
20407 (custom-group-tag-face-1, custom-group-tag-face):
20408 * diff-mode.el (diff-header-face, diff-file-header-face)
20409 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20410 (diff-added-face, diff-changed-face, diff-function-face)
20411 (diff-context-face, diff-nonexistent-face):
20412 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20413 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20414 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20415 (Info-title-4-face):
20416 * isearch.el (isearch-lazy-highlight-face):
20417 * log-view.el (log-view-file-face, log-view-message-face):
20418 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20419 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20420 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20422 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20423 (smerge-base-face, smerge-markers-face):
20424 * wid-edit.el (widget-documentation-face, widget-button-face)
20425 (widget-field-face, widget-single-line-field-face)
20426 (widget-inactive-face, widget-button-pressed-face):
20427 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20428 (woman-addition-face):
20429 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20430 (eshell-ls-executable-face, eshell-ls-readonly-face)
20431 (eshell-ls-unreadable-face, eshell-ls-special-face)
20432 (eshell-ls-missing-face, eshell-ls-archive-face)
20433 (eshell-ls-backup-face, eshell-ls-product-face)
20434 (eshell-ls-clutter-face):
20435 * eshell/em-prompt.el (eshell-prompt-face):
20436 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20437 * obsolete/old-whitespace.el (whitespace-highlight-face):
20438 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20439 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20440 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20441 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20442 (antlr-font-lock-literal-face):
20443 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20444 (ebrowse-root-class-face, ebrowse-file-name-face)
20445 (ebrowse-default-face, ebrowse-member-attribute-face)
20446 (ebrowse-member-class-face, ebrowse-progress-face):
20447 * progmodes/make-mode.el (makefile-space-face):
20448 * progmodes/sh-script.el (sh-heredoc-face):
20449 * textmodes/flyspell.el (flyspell-incorrect-face)
20450 (flyspell-duplicate-face):
20451 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20452 * textmodes/texinfo.el (texinfo-heading-face):
20453 Mark face aliases with "-face" suffix as obsolete.
20455 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20458 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20459 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20460 easy-menu-define wants to modify these.
20462 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20464 * net/browse-url.el (browse-url-file-url):
20465 * term/internal.el (dos-codepage-setup):
20466 Use default-value rather than default-enable-multibyte-characters.
20468 * progmodes/etags.el (etags-goto-tag-location):
20469 * progmodes/flymake.el (flymake-highlight-line)
20470 (flymake-goto-file-and-line, flymake-goto-line):
20471 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20472 (gdb-goto-breakpoint):
20473 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20474 * progmodes/python.el (python-find-function)
20475 (python-pdbtrack-track-stack-file):
20476 * progmodes/verilog-mode.el (verilog-surelint-off):
20477 * term/ns-win.el (ns-open-file-select-line):
20478 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20479 Use forward-line rather than goto-line.
20481 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20482 * textmodes/reftex-index.el (reftex-display-index):
20483 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20484 * textmodes/reftex-toc.el (reftex-toc):
20485 Remove unnecessary bindings of default-major-mode (all are followed by
20486 major-mode check and possible mode switch).
20488 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20490 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20491 Handle watchpoints (bug#4282).
20492 (def-gdb-thread-buffer-command): Enable thread to be selected by
20493 clicking without selecting threads buffer first.
20494 (gdb-current-context-command): Use selected frame so that "up",
20495 "down" etc work in the GUD buffer.
20496 (gdb-update): Find selected frame before rendering stack buffer.
20497 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20499 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20501 * progmodes/sym-comp.el (displayed-completions): Remove.
20502 (symbol-complete): Use minibuffer-complete.
20504 2009-08-31 Glenn Morris <rgm@gnu.org>
20506 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20508 * apropos.el (apropos-symbols-internal):
20509 Handle (obsolete) face aliases.
20511 * faces.el (describe-face): Adjust the output format to be more like
20512 describe-variable, and to mention (obsolete) face aliases.
20513 Adjust the whitespace so that help-setup-xref works.
20515 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20516 * calendar/diary-lib.el (diary-button-face):
20517 Mark these face aliases as obsolete.
20519 * calendar/calendar.el (calendar-today): Doc fix.
20521 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20523 * progmodes/gdb-mi.el (gdb-control-all-threads)
20524 (gdb-control-current-thread): Force tool bar update.
20525 (gdb-non-stop-handler): New function.
20526 (gdb-init-1): Use it to test if non-stop mode is supported.
20527 Remove unused gdbmi buffer type.
20529 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20531 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20532 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20534 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20536 * comint.el (comint-exec-1): Check command is non-null first.
20537 Part of gdb-mi.el change (2009-08-28).
20539 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20541 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20543 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20545 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20546 instead of `dolist' to avoid a recursive require when bootstrapping.
20548 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20550 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20552 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20554 * net/imap.el (imap-send-command): Simplify.
20555 (imap-wait-for-tag): point-max -> buffer-size.
20557 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20559 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20560 with constant argument.
20562 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20564 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20566 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20567 Change default, since most of our files don't have a history.
20568 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20571 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20574 * calc/calc.el: Improve commenting convention.
20575 (calc-digit-map, toplevel): Simplify.
20577 * comint.el (comint-insert-input): Be careful to only set point if we
20578 don't delegate to some other command.
20580 * proced.el (proced-signal-list): Make it an alist.
20581 (proced-grammar-alist): Capitalize names.
20582 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20583 Disable undo manually and make it read-only.
20584 Use completion-annotate-function.
20586 * minibuffer.el (minibuffer-message): If the current buffer is not
20587 a minibuffer, insert the message in the echo area rather than at the
20589 (completion-annotate-function): New variable.
20590 (minibuffer-completion-help): Use it.
20591 (completion--embedded-envvar-table): Environment vars are
20592 always case-sensitive.
20594 2009-08-30 Glenn Morris <rgm@gnu.org>
20596 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20597 from fortran-current-defun.
20598 (fortran-beginning-of-subprogram): Be more precise about finding the
20599 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20600 (fortran-end-of-subprogram): Simplify.
20601 (fortran-current-defun): Use fortran-start-prog-re.
20603 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20605 * subr.el (do-after-load-evaluation): Simplify.
20607 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20609 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20611 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20612 (vc-rcs-print-log): Use it.
20614 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20616 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20618 * paths.el (abbrev-file-name): Move to abbrev.el.
20619 * abbrev.el (abbrev-file-name): Move from paths.el.
20620 Obey user-emacs-directory.
20621 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20622 user-emacs-directory.
20623 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20624 abbrev-file-name and calc-settings-file any more.
20625 * startup.el (command-line): Recompute abbrev-file-name and
20626 abbreviated-home-dir.
20627 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20628 of the special code for when C-h bindings haven't been changed.
20629 (display-startup-echo-area-message): Use with-current-buffer.
20630 (command-line-1): Use a list of strings, rather than a list of lists
20631 of strings for longopts.
20633 * files.el (get-free-disk-space): Use / for default-directory.
20635 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20636 Use with-current-buffer.
20638 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20639 Recognize immutable variables like most-positive-fixnum.
20640 (byte-compile-setq-default): Check and warn if trying to assign
20641 to an immutable variable, or a non-variable.
20643 * progmodes/cc-vars.el (c-comment-continuation-stars):
20644 * progmodes/cc-engine.el (c-looking-at-bos):
20645 * progmodes/cc-cmds.el (c-toggle-auto-state)
20646 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20647 (c-comment-line-break-function): Add version of obsolescence.
20649 2009-08-28 Juri Linkov <juri@jurta.org>
20651 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20652 associated with `archive-mode'.
20654 * image.el (image-type-header-regexps): Use only JPEG magic number
20655 to determine JPEG images, and don't use `image-jpeg-p' because
20656 Emacs can display non-JFIF non-Exif JPEG images.
20658 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20660 * arc-mode.el (archive-mode):
20661 * emacs-lisp/re-builder.el (re-builder-unload-function):
20662 Protect against the default value of `major-mode' being nil.
20664 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20666 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20667 Fix typos in docstrings.
20669 * progmodes/js.el (js--macro-decl-re): Doc fix.
20670 (js--plain-method-re, js--split-name): Refloc docstring.
20671 (js--class-styles, js--make-merged-item, js--splice-into-items):
20672 Fix typos in docstrings; reflow docstrings.
20673 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20674 (js--variable-decl-matcher, js--inside-pitem-p)
20675 (js--parse-state-at-point, js--get-all-known-symbols)
20676 (js--symbol-history, js-find-symbol, js--js-references)
20677 (js--moz-interactor, js--js-encode-value, js--read-tab):
20678 Fix typos in docstrings.
20680 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20682 * textmodes/reftex.el (reftex-get-file-buffer-force):
20683 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20684 * emulation/viper.el (viper-go-away, viper-set-hooks):
20685 * emacs-lisp/re-builder.el (re-builder-unload-function):
20686 * emacs-lisp/bytecomp.el (byte-compile-file):
20687 * ses.el (ses-unload-function):
20688 * hexl.el (hexl-find-file):
20689 * files.el (normal-mode):
20690 * ehelp.el (with-electric-help):
20691 * autoinsert.el (auto-insert-alist):
20692 * arc-mode.el (archive-mode):
20693 Use (default-value 'major-mode) instead of default-major-mode.
20695 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20696 * international/mule.el (load-with-code-conversion):
20697 * emacs-lisp/debug.el (debug):
20698 * ediff-vers.el (ediff-rcs-get-output-buffer):
20699 * dired.el (dired-internal-noselect): Don't let-bind
20700 default-major-mode around code that doesn't use it.
20701 E.g. buffer creation via get-buffer-create doesn't use it.
20703 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20705 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20706 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20707 when writing the temp file. Otherwise, epa-file gets confused.
20708 (tramp-register-file-name-handlers): Make it a defun. Move also
20709 `epa-file-handler' to the front of `file-name-handler-alist'.
20711 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20713 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20714 start right after a ^M.
20715 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20716 (tramp-completion-file-name-regexp-separate)
20717 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20718 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20719 Don't modify last-coding-system-used by accident.
20720 (tramp-completion-file-name-handler): Apply the checks here,
20721 instead during registration.
20722 (tramp-register-file-name-handlers): Rename from
20723 `tramp-register-file-name-handler'. Register both
20724 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20725 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20727 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20729 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20730 Remove variable ...
20731 (gdb-init-1, gdb-display-separate-io-buffer)
20732 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20734 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20735 (gdb-inferior-filter): Use comint-output-filter to stop
20736 echoing and remove ^M characters.
20738 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20740 * emulation/viper-init.el (viper-restore-cursor-type):
20741 * emulation/cua-base.el (cua--update-indications):
20742 Replace default-cursor-type with (default-value 'cursor-type).
20744 * mail/sendmail.el (mail-recover-1):
20745 * international/mule-diag.el (describe-current-coding-system-briefly)
20746 (describe-current-coding-system):
20747 * international/mule-cmds.el (select-safe-coding-system)
20748 (select-message-coding-system)
20749 (set-language-environment-coding-systems, set-locale-environment):
20750 * hexl.el (hexl-insert-multibyte-char):
20751 * dos-w32.el (find-buffer-file-type-coding-system):
20752 * simple.el (what-cursor-position):
20753 Replace uses of default-buffer-file-coding-system
20754 with (default-value 'buffer-file-coding-system).
20756 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20757 Replace uses of default-cursor-in-non-selected-windows
20758 with (default-value 'cursor-in-non-selected-windows).
20759 Use with-current-buffer.
20761 * mail/feedmail.el: Use CL macros.
20762 (feedmail-run-the-queue, feedmail-send-it-immediately):
20763 * dos-w32.el (find-buffer-file-type): Replace uses of
20764 default-buffer-file-type with (default-value 'buffer-file-type).
20766 2009-08-28 Glenn Morris <rgm@gnu.org>
20768 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20769 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20770 Use default-value of major-mode rather than default-major-mode.
20772 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20774 * Makefile.in (update-elcfiles): Report left over elc files.
20776 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20777 expand-file-name and with-current-buffer.
20778 (mail-get-names, mail-directory): Use with-current-buffer.
20780 * vc.el (vc-read-revision): New function.
20781 (vc-version-diff, vc-merge): Use it.
20783 2009-08-27 Sam Steingold <sds@gnu.org>
20785 * simple.el (kill-do-not-save-duplicates): New user option.
20786 (kill-new): When it is non-nil, and the new string is the same as
20787 the latest kill, set replace to t to avoid duplicates in kill-ring.
20789 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20791 * net/tramp.el (tramp-handle-process-file): Do not flush all
20792 caches when `process-file-side-effects' is set.
20793 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20794 instead of `tramp-find-file-exists-command'.
20795 Unset `process-file-side-effects'.
20797 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20799 * net/tramp.el (tramp-methods): New method "rsyncc".
20800 (top): Add completion function for "rsyncc".
20801 (tramp-message-show-message): New defvar.
20802 (tramp-message, tramp-error): Use it.
20803 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20805 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20806 `tramp-methods' entry `copy-env' of "rsyncc".
20807 (tramp-vc-registered-read-file-names): New defconst.
20808 (tramp-vc-registered-file-names): New defvar.
20809 (tramp-handle-vc-registered): Implement optimization strategy.
20810 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20811 (tramp-vc-file-name-handler): New defun.
20812 (tramp-get-ls-command, tramp-get-test-command)
20813 (tramp-get-file-exists-command, tramp-get-remote-ln)
20814 (tramp-get-remote-perl, tramp-get-remote-stat)
20815 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20817 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20818 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20820 (tramp-get-file-property): Check for timestamps in
20821 `tramp-cache-inhibit-cache'.
20822 (tramp-set-file-property): Write timestamp.
20824 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20826 * language/japan-util.el (japanese-symbol-table): Add entries for
20829 * international/characters.el: Add category `j' to cp932-2-byte.
20831 2009-08-27 Kenichi Handa <handa@m17n.org>
20833 * international/fontset.el (build-default-fontset-data): New macro.
20834 (setup-default-fontset): Use build-default-fontset-data for CJK,
20835 tibetan, ethiopic, and ipa.
20837 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20839 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20840 (enable-multibyte-characters): Not customizable any more.
20842 * subr.el (default-mode-line-format, default-header-line-format)
20843 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20844 (default-direction-reversed, default-truncate-lines)
20845 (default-left-margin, default-tab-width, default-case-fold-search)
20846 (default-left-margin-width, default-right-margin-width)
20847 (default-left-fringe-width, default-right-fringe-width)
20848 (default-fringes-outside-margins, default-scroll-bar-width)
20849 (default-vertical-scroll-bar, default-indicate-empty-lines)
20850 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20851 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20852 (default-scroll-down-aggressively, default-fill-column)
20853 (default-cursor-type, default-buffer-file-type)
20854 (default-cursor-in-non-selected-windows)
20855 (default-buffer-file-coding-system, default-major-mode)
20856 (default-enable-multibyte-characters): Mark as obsolete.
20858 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20860 * vc-dir.el (vc-dir-update): Remove debug helper.
20862 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20864 2009-08-26 Sam Steingold <sds@gnu.org>
20866 * simple.el (save-interprogram-paste-before-kill): New user option.
20867 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20868 save the interprogram-paste into kill-ring before overriding it
20869 with the Emacs kill.
20871 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20873 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20874 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20875 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20876 and move to vc-rcs.el.
20877 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20879 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20880 (vc-rcs-update-changelog): Remove.
20881 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20882 and move to vc-rcs.el.
20884 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20885 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20887 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20888 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20889 vc.el, renamed to be RCS specific.
20891 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20893 (vc-cvs-update-changelog): Move here from vc.el.
20895 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20898 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20900 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20902 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20904 * vc-git.el (vc-git-register): Use "git add" for directories.
20905 (vc-git-stash, vc-git-stash-show): New functions.
20906 (vc-git-extra-menu-map): Bind them.
20908 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20909 directory correctly in case the item is a directory itself.
20911 * vc.el: Document the desired behavior for reverted files in the
20913 (vc-default-prettify-state-info): Remove function, unused.
20915 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20917 2009-08-26 Glenn Morris <rgm@gnu.org>
20919 * bindings.el (standard-mode-line-format): Reposition dashes in
20920 which-func entry. (Bug#4217)
20922 * files.el (enable-local-variables, enable-local-eval)
20923 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20925 (auto-mode-alist, ignored-local-variables)
20926 (save-some-buffers-action-alist): Move risky declarations to the
20928 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20929 (font-lock-defaults, format-alist, imenu--index-alist)
20930 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20931 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20932 (mode-line-modified, mode-line-mule-info, mode-line-position)
20933 (mode-line-process, mode-line-remote, outline-level)
20934 (parse-time-rules, rmail-output-file-alist)
20935 (special-display-buffer-names, vc-mode):
20936 Move risky declarations to the relevant files.
20937 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20938 (mode-line-modified, mode-line-process, mode-line-position)
20939 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20940 * font-core.el (font-lock-defaults):
20941 * format.el (format-alist):
20942 * vc-hooks.el (vc-mode):
20943 * window.el (special-display-buffer-names):
20944 * international/mule-cmds.el (input-method-alist):
20945 Define riskiness here (dumped file) rather than in files.el.
20946 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20947 * imenu.el (imenu-generic-expression, imenu--index-alist):
20948 * outline.el (outline-level):
20949 * time.el (display-time-string):
20950 * calendar/parse-time.el (parse-time-rules):
20951 * mail/rmailout.el (rmail-output-file-alist):
20952 Autoload riskiness here, rather than placing in files.el.
20954 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20956 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20958 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20960 * simple.el (process-file-side-effects): New defvar.
20962 * dired-aux.el (dired-show-file-type):
20963 * vc.el (vc-diff-internal):
20964 * vc-arch.el (vc-arch-diff):
20965 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20966 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20967 * vc-git.el (vc-git-registered, vc-git-working-revision)
20968 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20969 (vc-git--empty-db-p):
20970 * vc-hooks.el (vc-user-login-name):
20971 * vc-svn.el (vc-svn-registered, vc-svn-state)
20972 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20973 * progmodes/grep.el (grep-probe): Let-bind
20974 `process-file-side-effects' with nil.
20976 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20978 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20979 daemon. Replace ping by checking for running service for bluez
20980 and zeroconf. (Bug#4239)
20982 2009-08-25 Kevin Ryde <user42@zip.com.au>
20984 * net/dig.el (dig): Add autoload cookie.
20986 2009-08-25 Glenn Morris <rgm@gnu.org>
20988 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20989 load-history for absolute file-names.
20990 (byte-compile-file-form-require): Warn about use of the cl package.
20992 * format.el (format-alist): Doc fix.
20994 * play/bubbles.el (top-level): Don't require cl at run-time.
20996 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20999 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21001 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21003 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21005 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21007 * calc/calc-alg.el (math-trig-rewrite)
21008 (math-hyperbolic-trig-rewrite): New functions.
21009 (calc-simplify): Simplify trig functions when asked.
21011 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21013 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21015 2009-08-24 Kenichi Handa <handa@m17n.org>
21017 * language/ind-util.el (mapthread): Delete it.
21018 (combinatorial): New function.
21019 (indian--puthash-cv): Use combinatorial instead of mapthread.
21021 2009-08-22 Kevin Ryde <user42@zip.com.au>
21023 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21024 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21025 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21026 Clarify docstring that the value is strings not symbols.
21027 (checkdoc-list-of-strings-p): New function.
21029 2009-08-22 Glenn Morris <rgm@gnu.org>
21031 * files.el (auto-mode-alist):
21032 * hippie-exp.el (he-concat-directory-file-name):
21033 * lpr.el (lpr-windows-system, printer-name):
21034 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21035 * ps-print.el (ps-windows-system):
21036 * startup.el (command-line):
21037 * emulation/viper-ex.el (viper-glob-function):
21038 * international/mule-cmds.el (set-language-environment-coding-systems):
21039 * net/ange-ftp.el (ange-ftp-write-region):
21040 * obsolete/fast-lock.el (fast-lock-cache-name):
21041 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21042 unisoft-unix, vax-vms, win32, w32.
21044 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21045 given name if the pattern is not more specific.
21047 * calendar/lunar.el (lunar-phase-names): New option.
21048 (lunar-phase): Doc fix.
21049 (lunar-cycles-per-year): New constant.
21050 (lunar-index): New function.
21051 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21052 (lunar-phase-name): Use lunar-phase-names.
21053 (calendar-lunar-phases): Use format.
21054 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21056 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21057 Copy imenu-example--name-and-position function here for own use.
21058 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21060 * bs.el (bs--redisplay):
21061 * cus-edit.el (custom-redraw):
21062 * ibuffer.el (ibuffer-bury-buffer):
21063 * server.el (server-goto-line-column):
21064 * startup.el (command-line-1):
21065 * strokes.el (strokes-xpm-for-stroke):
21066 * term.el (term-display-buffer-line):
21067 * view.el (View-goto-line):
21068 * calc/calc.el (calc-do, calc-trail-buffer):
21069 * play/gamegrid.el (gamegrid-add-score-insecure):
21070 * progmodes/ada-mode.el (ada-compile-goto-error):
21071 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21072 (ebrowse-select-1st-to-9nth):
21073 * progmodes/cperl-mode.el (cperl-time-fontification):
21074 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21075 * progmodes/gud.el (gud-display-line):
21076 (idlwave-shell-display-line):
21077 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21078 * progmodes/make-mode.el (makefile-browser-toggle):
21079 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21080 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21081 * textmodes/picture.el (picture-draw-rectangle):
21082 * textmodes/reftex-index.el (reftex-index-goto-letter):
21083 (reftex-select-jump-to-previous):
21084 * textmodes/reftex-sel.el (reftex-find-start-point)
21085 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21086 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21087 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21088 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21089 * textmodes/two-column.el (2C-associated-buffer):
21090 Use forward-line rather than goto-line.
21092 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21095 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21096 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21097 (quick-check-list-to-regexp): Declare.
21099 * progmodes/make-mode.el (makefile-browser-insert-selection):
21100 Use goto-char rather than goto-line.
21102 * progmodes/prolog.el (compilation-error-regexp-alist)
21103 (compilation-forget-errors): Declare.
21105 2009-08-22 Juri Linkov <juri@jurta.org>
21107 * progmodes/grep.el (lgrep, rgrep): At the beginning
21108 set `dir' to `default-directory' unless `dir' is a non-nil
21109 readable directory. (Bug#4052)
21110 (lgrep, rgrep): Change a weird way to report an error
21111 from using `read-string' to using `error'.
21112 Instead of using interactive arguments in the function body,
21113 add new argument `confirm'.
21115 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21117 * textmodes/remember.el (remember-buffer):
21118 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21119 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21120 (icalendar-extract-ical-from-buffer):
21121 * net/newst-treeview.el (newsticker-groups-filename):
21122 * net/newst-backend.el (newsticker-cache-filename):
21123 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21124 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21125 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21126 (speedbar-buffers-line-path, speedbar-path-line)
21127 (speedbar-buffers-line-path):
21128 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21130 * epa.el (epa-display-verify-result):
21131 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21133 2009-08-21 Glenn Morris <rgm@gnu.org>
21135 * progmodes/js.el (inferior-moz-process): Fix declaration.
21137 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21139 * obsolete/rnewspost.el (news-mail-reply):
21140 Use goto-char rather than goto-line.
21142 * term/ns-win.el (ns-open-file-select-line):
21143 Use line-beginning-position rather than goto-line.
21145 * apropos.el (apropos-command):
21146 * ehelp.el (electric-helpify):
21147 * printing.el (pr-show-setup):
21148 * strokes.el (strokes-help):
21149 * tutorial.el (tutorial--describe-nonstandard-key)
21150 (tutorial--detailed-help):
21151 * woman.el (woman-mini-help, woman-display-extended-fonts):
21152 * calc/calc-help.el (calc-describe-key):
21153 * emulation/edt.el (edt-electric-helpify):
21154 * international/mule-diag.el (mule-diag):
21155 * play/yow.el (apropos-zippy):
21156 * progmodes/python.el (python-describe-symbol):
21157 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21158 * textmodes/table.el (*table--cell-describe-mode)
21159 (*table--cell-describe-bindings):
21160 Use help-print-return-message rather than the now obsolete alias.
21162 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21163 (calendar-cursor-to-visible-date):
21164 * play/5x5.el (5x5-position-cursor):
21165 * play/decipher.el (decipher):
21166 * play/gomoku.el (gomoku-goto-xy):
21167 * play/landmark.el (lm-goto-xy):
21168 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21169 (mpuz-paint-digit):
21170 Use forward-line, not goto-line.
21172 * mail/rmail.el (rmail-obsolete): Delete custom group.
21173 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21174 (rmail-remote-password, rmail-remote-password-required):
21175 Remove unneeded :set-after and :set properties.
21177 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21179 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21181 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21183 * loadup.el: Remove leftover macos code.
21185 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21186 Explicitly pass the date format to git blame so that user local
21187 so that the output format can be parsed.
21189 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21191 * net/dbus.el (top): Don't check for (getenv
21192 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21194 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21196 * log-edit.el (log-edit-strip-single-file-name): New var.
21197 (log-edit-insert-changelog): Use it. Bug#3571.
21199 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21201 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21204 * help.el (help-print-return-message): Rename from
21205 print-help-return-message.
21207 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21208 cvs-mode-map parent hack.
21209 (log-view-mode): Derive from special-mode.
21211 * linum.el (linum-mode): window-size-change-functions is redundant.
21212 Adapt to new window-configuration-change-hook behavior.
21213 (linum-after-size, linum-after-config): Remove.
21215 * imenu.el (imenu-example--name-and-position)
21216 (imenu-example--lisp-extract-index-name)
21217 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21220 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21221 (inferior-prolog-mode): Use it.
21222 (inferior-prolog-load-file): Reset list of errors.
21224 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21226 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21228 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21230 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21232 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21233 is running already.
21235 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21237 * subr.el (listify-key-sequence-1): Use normal syntax since those
21238 integers are nowadays always represented by the same (positive) number
21240 (read-key-empty-map): New const.
21241 (read-key-delay): New var.
21242 (read-key): New function.
21243 (force-mode-line-update): Use with-current-buffer.
21244 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21245 (start-process-shell-command, start-file-process-shell-command):
21246 Discourage the use of command-args.
21248 2009-08-19 Glenn Morris <rgm@gnu.org>
21250 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21252 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21254 * simple.el (choose-completion-string): Don't rely on
21255 minibuffer-completing-file-name and ad-hoc checks to decide whether
21256 to continue completion or not.
21258 * minibuffer.el (minibuffer-hide-completions): New function.
21259 (completion--do-completion): Use it.
21260 (completions-annotations): New face.
21261 (completion--insert-strings): Use it.
21262 (completion-pcm--delim-wild-regex): Add docstring.
21263 (completion-pcm--string->pattern): Add support for 0-width delimiters
21264 in completion-pcm--delim-wild-regex.
21266 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21268 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21269 Remove unused var `buffer-modified-p'.
21271 * minibuffer.el (completion--do-completion): Move point for the #b001
21272 case as well (bug#4176).
21273 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21275 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21277 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21278 and :session buses.
21280 2009-08-18 Kenichi Handa <handa@m17n.org>
21282 * international/ucs-normalize.el (ucs-normalize-version):
21284 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21285 (utf-8-hfs): Make it perform normalization on encoding too.
21287 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21288 (sentence-end-without-space): Delete duplicated chars.
21289 (sentence-end-base): Likewise.
21291 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21292 (html-mode): Delete duplicated chars from sentence-end-base.
21294 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21295 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21297 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21299 * files.el (hack-one-local-variable): If the mode function is for
21300 a minor mode, pass it an argument (Bug#4148).
21302 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21304 * net/tramp.el (tramp-register-completion-file-name-handler):
21305 Check also for (member 'partial-completion completion-styles).
21307 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21309 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21312 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21314 * progmodes/cperl-mode.el: Merge upstream 6.2.
21315 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21316 (cperl-forward-re): Check cperl-brace-recursing.
21317 (cperl-highlight-charclass): New function.
21318 (cperl-find-pods-heres): Use it.
21319 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21320 (cperl-beautify-regexp-piece): Fix column calculation.
21321 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21322 (cperl-beautify-level): Don't process entire regexp.
21323 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21325 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21326 (cperl-init-faces): Build a list in the normal way.
21328 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21330 * calendar/parse-time.el (parse-time-string-chars): Save match
21333 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21335 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21336 (sql-product): Use it.
21337 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21338 (sql-set-product): Add completion.
21339 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21340 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21341 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21342 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21343 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21344 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21345 (sql-highlight-db2-keywords): Remove.
21346 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21347 (sql-highlight-product): Use derived-mode-p.
21348 (sql-set-sqli-buffer): Use with-current-buffer.
21349 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21352 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21354 * term.el: Fix commenting convention, turn comments into docstrings.
21356 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21358 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21360 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21362 * calendar/parse-time.el (parse-time-string-chars): Compute using
21363 character classes, to handle non-ascii characters (Bug#3190).
21365 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21367 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21368 another heredoc if the user adds another < (Bug#3226).
21370 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21371 Don't initialize based on window-system (Bug#4124).
21373 * facemenu.el (facemenu-read-color): Use a completion function
21374 that accepts any defined color, such as RGB triplets (Bug#3677).
21376 * files.el (get-free-disk-space): Change fallback default
21377 directory to /. Expand DIR argument before switching to fallback.
21378 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21380 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21382 * files.el (load-library): Doc fix.
21384 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21386 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21387 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21388 incremental search string.
21390 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21393 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21394 (ediff-merge-region-is-non-clash)
21395 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21396 Also check if the job is really a merge job.
21398 * ediff.el (ediff-current-file): New function.
21400 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21402 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21404 (js-insert-and-indent): Delete function.
21405 (js-mode-map): Don't bind keys to js-insert-and-indent.
21406 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21407 (js-end-of-defun): Rename from js--end-of-defun.
21408 (js-auto-indent-flag): Delete variable.
21410 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21412 * progmodes/js.el: Remove proclaim statement.
21413 Defvar which-func-imenu-joiner-function to silence compiler.
21415 * files.el (auto-mode-alist): Use js-mode for .js files.
21417 * progmodes/js2-mode.el: Remove file.
21419 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21421 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21423 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21425 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21426 Karl Landstrom <karl.landstrom@brgeight.se>
21428 * progmodes/js.el: New file.
21430 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21432 * timezone.el (timezone-parse-date): Add ability to understand ISO
21433 basic format (minimal separators) dates in addition to the
21434 already-supported extended format dates.
21436 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21438 * international/ucs-normalize.el: Add a `coding' file variable.
21440 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21442 2009-08-14 Sam Steingold <sds@gnu.org>
21444 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21446 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21448 * faces.el (help-argument-name): Define it here instead of
21449 help-fns.el, because in daemon mode help-fns.el may be loaded when
21450 faces are still uninitialized (Bug#1078).
21452 * help-fns.el (help-argument-name): Move defface to faces.el.
21454 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21456 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21457 create buffer with a pty but no process so that GDB can make the
21458 inferior the controlling process.
21460 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21462 * international/ucs-normalize.el: New file.
21464 2009-08-13 Richard Stallman <rms@gnu.org>
21466 * mail/rmail.el (rmail-get-attr-names):
21467 Accept an attribute header that is too short.
21469 * mail/rmail.el (rmail-forget-messages):
21470 Ignore nil elt in rmail-message-vector. Use dotimes.
21472 * progmodes/compile.el (compilation-goto-locus):
21473 Use next-error-move-function.
21475 * simple.el (next-error-move-function): New variable.
21477 2009-08-12 Juri Linkov <juri@jurta.org>
21479 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21480 always non-nil. (Bug#4052)
21482 * replace.el (read-regexp): Return empty string when
21483 `default-value' is nil.
21484 (keep-lines-read-args): Don't use empty string as the
21485 default value for `read-regexp'. (Bug#2495)
21487 2009-08-12 Juri Linkov <juri@jurta.org>
21489 * international/mule-cmds.el (ucs-insert): Change arguments
21490 from `arg' to `character', `count', `inherit' to be the same
21491 as in `insert-char'. Doc fix. (Bug#4039)
21493 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21495 2009-08-12 Juri Linkov <juri@jurta.org>
21497 * files-x.el: New file.
21499 * files.el: Move code that deals with adding/deleting
21500 file/directory-local variables to files-x.el.
21502 * Makefile.in (ELCFILES): Add files-x.elc.
21504 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21506 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21507 to use `goto-line'.
21508 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21510 (gdb-invalidate-disassembly): Do not refresh upon receiving
21511 'update signal. Instead, update all disassembly buffers only after
21513 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21514 (gdb-starting): Move -data-list-register-names...
21515 (gdb-stopped): ...here so it's sent when first thread stops.
21516 (gdb-registers-handler-custom): Do nothing if register names are
21519 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21520 from `gdb-mi.el' to avoid extra tangling.
21522 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21523 change which breaks `gud-def' definitions used in `gdb'.
21524 (gdb-update-gud-running): No extra fuss for updating frame number.
21526 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21528 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21529 (describe-language-environment-map, setup-language-environment-map)
21530 (set-coding-system-map): Move initialization into declaration.
21531 (set-language-info-alist): Last arg to define-key-after can be skipped.
21533 * international/quail.el (quail-completion-1): Simplify.
21534 (quail-define-rules): Use slightly more compact code.
21535 (quail-insert-decode-map): Propertize keys, compact columns.
21537 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21540 2009-08-10 Miles Bader <miles@gnu.org>
21542 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21543 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21544 (js2-instance-member, js2-private-member, js2-private-function-call)
21545 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21546 (js2-magic-paren, js2-external-variable):
21547 Remove "-face" suffix from face names.
21548 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21549 (js2-highlight-undeclared-vars, js2-peek-token)
21550 (js2-parse-function-params, js2-mode-show-errors)
21551 (js2-mode-show-warnings, js2-make-magic-delimiter)
21552 (js2-mode-highlight-magic-parens): Update to use new face names.
21554 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21556 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21557 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21559 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21561 * subr.el: Provide hashtable-print-readable.
21563 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21564 hs-c-like-adjust-block-beginning.
21565 (hs-hide-block-at-point): Stop hiding at the beginning of
21566 hs-block-end-regexp (Bug#700).
21568 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21570 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21572 (gdb-registers-handler-custom): Do not fail when register names
21575 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21577 * progmodes/gdb-mi.el (gdb-control-all-threads)
21578 (gdb-control-current-thread): Interactive setters for
21579 `gdb-gud-control-all-threads' to use in menu.
21580 (gdb-show-run-p): Show «Go» when process is not active.
21581 (gud-tool-bar-map): Add non-stop/A,T indicator.
21582 Uses gud/thread.xpm and gud/all.xpm.
21584 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21586 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21587 (nslookup-font-lock-keywords): Make it a variable.
21588 (net-utils-mode): New mode for viewing diagnostic network output.
21589 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21590 (net-utils-run-simple): New function.
21591 (ifconfig, iwconfig, netstat, arp, route): Use it.
21593 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21595 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21596 (gdb-memory-set-address, def-gdb-set-positive-number)
21597 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21598 after changing settings.
21599 (gdb-invalidate-disassembly): Update when first shown.
21600 (gdb-edit-locals-value): Fix.
21601 (gdb-registers-handler-custom): Print registers in right order and
21602 allow changing register values (only for current thread yet).
21603 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21604 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21605 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21606 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21607 Thread info in mode name.
21608 (gdb-registers-mode-map): TAB to switch to locals.
21610 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21612 * mail/rmail.el (rmail-add-mbox-headers)
21613 (rmail-set-message-counters-counter): Search for
21614 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21616 2009-08-08 Glenn Morris <rgm@gnu.org>
21618 * Makefile.in (ELCFILES): Update.
21620 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21622 * mail/sendmail.el (mail-yank-original):
21623 Set buffer-file-coding-system from the one used by the message whose
21626 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21627 to "windows" when "pgnuplot" is used.
21628 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21629 Don't call accept-process-output if "pgnuplot" is used.
21630 (calc-graph-init): Don't send -display and -geometry to
21631 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21632 running "pgnuplot -V" with shell-command-to-string.
21634 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21637 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21639 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21642 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21644 * vc-dispatcher.el (vc-resynch-window): Update comment.
21646 * term.el (term-handle-ansi-escape): Add comments with the
21647 terminfo capabilities implemented.
21649 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21651 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21652 (gdb-var-create-handler): Rewritten using JSON parser.
21653 (gdb-propertize-header): Move earlier.
21654 (gdb-set-header): Remove to avoid duplication.
21655 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21656 Refresh disassembly buffers only after threads list have been
21658 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21661 2009-08-04 Juri Linkov <juri@jurta.org>
21663 * files.el: Commands to add/delete file/directory-local variables.
21664 (read-file-local-variable, read-file-local-variable-value)
21665 (read-file-local-variable-mode, modify-file-local-variable)
21666 (modify-file-local-variable-prop-line)
21667 (modify-dir-local-variable): New functions.
21668 (add-file-local-variable, delete-file-local-variable)
21669 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21670 (add-dir-local-variable, delete-dir-local-variable)
21671 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21672 (copy-dir-locals-to-file-locals-prop-line): New commands.
21674 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21676 * abbrev.el (insert-abbrev-table-description): Prettify output.
21677 Suggested by Karl Chen.
21679 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21681 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21682 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21683 (gdb-overlay-arrow-position, gdb-thread-position)
21684 (gdb-disassembly-position): Declare variables.
21685 (gdb-wait-for-pending): Function now.
21686 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21687 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21688 compilation goes smoothly.
21689 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21690 (gdb-non-stop-setting): New customization setting which replaces
21691 `gdb-non-stop' so changing it doesn't break active GDB session.
21692 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21693 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21694 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21695 (gdb-show-threads-by-default): New customization options.
21696 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21698 (gdb-get-buffer-create): Send buffers update signal when they are
21700 (gdb-invalidate-locals, gdb-invalidate-registers)
21701 (gdb-invalidate-breakpoints)
21702 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21703 (gdb-invalidate-memory): Accept update signal.
21704 (gdb-current-context-command): Use --frame option.
21705 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21706 Implement `gdb-frame-number' selection logic.
21707 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21708 whether to show GUD toolbar buttons.
21709 (gdb-thread-exited): Unselect current thread when it exits.
21710 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21711 (gdb-mark-line): Routine which sets overlay arrow or inverses
21712 video on fringeless displays.
21713 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21714 to build aligned columns of data in GDB buffers and set text
21715 properties line-by-line.
21716 (gdb-invalidate-breakpoints)
21717 (gdb-breakpoints-list-handler-custom)
21718 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21719 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21720 (gdb-registers-handler-custom): Align data columns.
21721 (gdb-locals-handler-custom): Now prints data like in variable
21723 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21724 Remove confusing buttons.
21725 (gdb-invalidate-threads): Append --frame.
21726 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21727 between breakpoints/threads buffers.
21728 (gdb-set-window-buffer): Now can ignore dedicated windows.
21729 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21730 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21731 (def-gdb-thread-buffer-gud-command): Replaces
21732 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21733 for fine thread control.
21734 (gdb-preempt-existing-or-display-buffer): New function used to
21735 display bound buffers without breaking window layout.
21736 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21737 (gdb-select-frame): New version of `gdb-frames-select' which now
21738 sets `gdb-frame-number' so commands may use --frame option instead
21739 of inner debugger state.
21740 (gdb-frame-handler): Do not set `gdb-frame-number'.
21741 (gdb-threads-mode-map): Select threads with mouse.
21743 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21744 avoid compilation warning.
21745 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21748 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21749 Argument `key' renamed to `buffer-type'.
21750 (gdb-current-context-buffer-name): Do not add thread info to
21751 buffer name when no thread is selected.
21752 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21753 command (bug 3794).
21754 (gdb-thread-selected): Handle `=thread-selected' notification.
21755 (gdb-wait-for-pending): New macro to deal with congestion problems.
21756 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21758 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21759 This fixes problem similar to one described in bug 3947.
21760 (gud-menu-map): More menu items.
21761 (gdb-init-1): Reset `gdb-thread-number' to nil.
21763 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21766 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21767 (gdb-current-context-command): Do not append --thread if
21768 `gdb-thread-number' is nil.
21769 (gdb-running-threads-count, gdb-stopped-threads-count):
21771 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21772 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21773 New customization options.
21774 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21776 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21777 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21778 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21779 set `gdb-thread-number' and update `gud-running' properly.
21780 (gdb-running): Update threads list when new threads appear.
21781 (gdb-stopped): Support non-stop operation and new thread switching
21783 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21784 (gdb-json-partial-output): New set of JSON routines.
21785 (def-gdb-auto-update-trigger): New `signal-list' optional
21787 (gdb-thread-list-handler-custom): Update `gud-running',
21788 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21789 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21790 (gdb-continue-thread, gdb-step-thread): New commands for fine
21791 thread execution control.
21792 (gud-menu-map): New menu items to switch non-stop options.
21793 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21794 (gdb-send): Mimic RET properly (bug 3794).
21796 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21797 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21799 (def-gdb-auto-update-handler): New nopreserve optional argument.
21800 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21802 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21803 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21804 (gdb-parent-mode): New mode to derive other GDB modes from.
21805 (gdb-display-disassembly-for-thread)
21806 (gdb-frame-disassembly-for-thread): New commands for threads
21809 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21810 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21811 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21812 (gdb-update): We now store all GDB buffers in a list so that they
21813 can be updated by traversing a list instead of calling invalidate
21814 triggers explicitly.
21815 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21816 pair for GDB buffer.
21817 (gdb-stack-buffer-name): Add thread information.
21818 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21819 handle pending triggers.
21820 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21821 (def-gdb-thread-buffer-simple-command)
21822 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21823 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21824 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21825 New commands which show buffers bound to thread.
21826 (gdb-stack-list-locals-regexp): Remove unused regexp.
21828 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21829 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21830 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21831 to (gud-comint-buffer) in *-buffer-name functions
21832 because (gdb-get-target-string) already does that.
21833 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21834 (gdb-changed-registers-handler): Rewritten without regexps.
21836 * progmodes/gdb-mi.el: Basic thread selection support.
21837 (gdb-thread-number): New variable.
21838 (gdb-current-context-command): New macro which adds --thread
21840 (gdb-threads-mode-map): Select thread with SPC.
21841 (gdb-thread-list-handler-custom): Mark current thread with overlay
21842 arrow. Synchronize GDB thread and Emacs thread.
21843 (gdb-select-thread): New command which selects current thread.
21844 (gdb-invalidate-frames, gdb-invalidate-locals)
21845 (gdb-invalidate-registers): Use --thread option.
21847 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21849 * net/tramp.el (top): Make check for tramp-gvfs loading more
21851 (tramp-handle-insert-file-contents): `unwind-protect' must be
21852 inside `with-parsed-tramp-file-name'.
21854 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21857 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21859 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21860 directory if CLASSPATH is not set.
21862 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21864 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21866 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21868 2009-08-02 Kevin Ryde <user42@zip.com.au>
21870 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21871 Update freshmeat link. Delete newsforge.com as it seems gone.
21873 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21875 * select.el (x-set-selection): Doc fix (Bug#4021).
21877 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21879 * help-fns.el (describe-variable): Treat list return values from
21880 dir-locals-find-file properly (Bug#4005).
21882 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21884 * net/tramp.el (tramp-debug-message): Print also microseconds.
21886 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21888 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21890 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21891 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21894 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21895 (tramp-get-file-property): Use it.
21897 * autorevert.el (auto-revert-handler):
21898 Allow `auto-revert-tail-mode' for remote files.
21900 2009-08-02 Jason Rumney <jasonr@gnu.org>
21902 * minibuffer.el (read-file-name): Treat confirm options to
21903 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21905 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21907 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21908 (font-lock-variable-name-face, font-lock-constant-face):
21909 Darken the colors for light backgrounds.
21911 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21913 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21914 month names. (Bug#3987)
21916 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21918 * simple.el (line-move-finish): Pass whole number to
21919 line-move-to-column.
21920 (line-move-visual): Perform hscroll to the recorded position.
21922 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21924 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21926 2009-07-29 Alan Mackenzie <acm@muc.de>
21928 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21930 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21932 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21933 (gdb-place-breakpoints): Use full path when setting breakpoints.
21935 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21937 * calc/calc.el (calc-mode-map): Add keybinding for
21938 `calc-transpose-lines'.
21940 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21942 * calc/calc-misc.el (calc-transpose-lines): New function.
21944 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21946 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21947 Simplify check for out-of-band methods.
21948 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21949 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21951 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21953 * vc-git.el (vc-git-checkin): Fix typo.
21955 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21957 * progmodes/js2-mode.el: New file.
21959 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21961 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21962 (gud-menu-map): Adjust tooltip accordingly.
21964 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21966 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21967 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21969 * add-log.el (change-log-mode-map): Add a menu.
21971 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21973 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21974 function returns nil.
21975 (dbus-handle-event): Handle special return value :ignore.
21976 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21978 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21980 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21983 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21987 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21989 * term/pc-win.el (x-display-name, x-colors)
21990 (x-select-enable-clipboard, x-select-text): Doc fix.
21992 * term/common-win.el (x-display-name, x-colors): Doc fix.
21994 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21995 (xw-defined-colors): Doc fix.
21997 * w32-fns.el (x-select-text, x-setup-function-keys)
21998 (x-get-selection, x-set-selection): Doc fix.
22000 * term/x-win.el (x-select-text, x-setup-function-keys)
22001 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22003 * select.el (x-set-selection): Doc fix.
22005 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22007 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22008 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22009 "IsNSSSupportAvailable" method is not available.
22010 Reported by Steve Youngs <steve@sxemacs.org>.
22012 2009-07-24 Kenichi Handa <handa@m17n.org>
22014 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22015 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22016 (build-unicode-category-table): Fix range checks.
22018 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22020 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22021 the buffer we try to sync is current when calling
22024 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22025 not show up to date files.
22027 2009-07-24 Glenn Morris <rgm@gnu.org>
22029 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22030 Add autoload cookies. If necessary, initialize.
22031 (elint-log): Handle non-file buffers.
22032 (elint-initialize): Add optional argument to reinitialize.
22033 (elint-find-builtin-variables): Save excursion.
22035 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22037 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22040 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22042 * vc.el (vc-print-log-internal): New function, split out from ...
22043 (vc-print-log): ... here.
22044 (vc-dir-move-to-goal-column): Declare.
22046 * vc-git.el (vc-git-add-signoff): New variable.
22047 (vc-git-checkin): Use it.
22048 (vc-git-toggle-signoff): New function.
22049 (vc-git-extra-menu-map): Bind it to menu.
22050 (vc-git--run-command-string): Accept a nil FILE argument.
22051 (vc-git-stash-list): New function.
22052 (vc-git-dir-extra-headers): Use it.
22054 2009-07-23 Glenn Morris <rgm@gnu.org>
22056 * help-fns.el (describe-variable): Describe ignored and risky local
22057 variables in a similar way to that in which we describe safe ones.
22059 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22060 (byte-compile-output-file-form, byte-compile-output-docform)
22061 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22062 Give some more local variables with common names a "bytecomp-" prefix,
22063 so as not to shadow things during compilation.
22064 * emacs-lisp/cl-macs.el (load-time-value)
22065 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22066 `outbuffer' to `bytecomp-outbuffer'.
22068 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22069 since the next two variables cover them automatically now.
22070 (elint-builtin-variables, elint-autoloaded-variables): New.
22071 (elint-unknown-builtin-args): Remove all members, since they can be
22072 parsed automatically now.
22073 (elint-extra-errors): New.
22074 (elint-env-add-env, elint-env-add-macro): Use cadr.
22075 (elint-current-buffer): Use or. Change final message.
22076 (elint-get-top-forms): Use line-end-position.
22077 (elint-init-env): Use cadr. Handle autoload, declare-function,
22079 (elint-add-required-env): Doc fix. Use or. Standardize error.
22080 (regexp-assoc): Remove unused function.
22081 (elint-top-form): Set elint-current-pos, to record the start of the
22082 top-level form, for compilation-mode.
22083 (elint-form): Trap errors in macro expansion. Use dolist.
22084 (elint-unbound-variable): Use elint-builtin-variables and
22085 elint-autoloaded-variables.
22086 (elint-get-args): Use cadr, or.
22087 (elint-check-cond-form): Use dolist, cadr.
22088 (elint-check-condition-case-form): Doc fix. Use cadr.
22089 Use elint-extra-errors.
22090 (elint-log): New function.
22091 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22092 Distinguish errors and warnings.
22093 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22094 Use a bytecomp-style format.
22095 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22096 (elint-get-log-buffer): Use compilation mode. Disable undo.
22097 Don't truncate lines.
22098 (elint-initialize): Set builtin and autoloaded variable lists.
22099 Only process elint-unknown-builtin-args if non-nil.
22100 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22102 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22104 2009-07-22 Kevin Ryde <user42@zip.com.au>
22106 * net/newst-backend.el (newsticker--parse-atom-1.0)
22107 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22108 (newsticker--parse-rss-1.0):
22109 * progmodes/idlwave.el (idlwave-mode):
22110 * progmodes/idlw-shell.el (idlwave-shell-mode):
22111 * progmodes/vera-mode.el (vera-mode):
22112 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22113 * progmodes/vhdl-mode.el (vhdl-mode):
22114 * textmodes/table.el (table-generate-source)
22115 (table--warn-incompatibility):
22116 Hyperlink urls in docstrings with URL `...'.
22118 2009-07-22 Glenn Morris <rgm@gnu.org>
22120 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22121 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22122 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22123 Remove leading * from defcustom docs.
22125 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22127 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22129 (list-load-path-shadows): Optionally, just return shadows as a string.
22131 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22133 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22135 * mail/rmailedit.el (rmail-edit-mode):
22136 Use auto-save-include-big-deletions.
22138 * mail/rmail.el (rmail-variables):
22139 Use auto-save-include-big-deletions.
22141 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22144 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22146 * calc/calc.el (calc-undo-length): New variable.
22147 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22149 2009-07-21 Richard Stallman <rms@gnu.org>
22151 * files.el (auto-save-mode): Handle buffer-save-size = -2
22154 2009-07-21 Glenn Morris <rgm@gnu.org>
22156 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22158 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22160 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22161 silence compiler. Instead...
22162 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22163 (ps-print-ensure-fontified): Update for above function name changes.
22165 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22166 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22167 silence compiler. Instead...
22168 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22169 (mh-show-buffer): Only define for compiler.
22170 (pr-mh-current-message): Update for above function name changes.
22172 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22174 (find-file-noselect, insert-file-1): Update for above change.
22176 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22178 * mail/mailclient.el (mailclient-send-it): Fix message.
22180 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22181 (edebug-eval): Check cl-debug-env is bound.
22182 (print-level, print-circle): Don't redefine built-in variables.
22184 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22185 (custom-print-vectors): Remove old comments from doc.
22187 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22188 (emerge-version): Make the variable an obsolete alias for the
22189 emacs-version variable. Make the function obsolete.
22190 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22191 Emerge options, rather than merging in into the main Options menu.
22192 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22193 and auto advance modes. Disable edit/fast items when not relevant.
22195 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22197 * term/vt420.el (terminal-init-vt420): Fix typo.
22199 2009-07-20 Sam Steingold <sds@gnu.org>
22201 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22202 variable (removed from compile.el on 2004-03-11).
22204 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22206 * files.el (hack-local-variables-filter): Fix last change.
22208 2009-07-19 Juri Linkov <juri@jurta.org>
22210 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22211 (dir-local-variables-alist): New buffer-local variable.
22212 (hack-local-variables-filter): If variable is not dir-local,
22213 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22214 because file-local overrides dir-local.
22215 (c-postprocess-file-styles) <declare-function>:
22216 Remove obsolete declaration.
22217 (hack-dir-local-variables): Add dir-local variable/value pair to
22218 `dir-local-variables-alist' and remove duplicates. Doc fix.
22220 * help-fns.el (describe-variable): Add information about
22221 file-local and dir-local variables.
22223 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22225 * files.el (hack-local-variables-filter): Rewrite.
22227 2009-07-19 Glenn Morris <rgm@gnu.org>
22229 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22230 Silence compiler by only defining on XEmacs.
22232 * international/mule.el (auto-coding-regexp-alist): Only match
22233 BABYL... at the start of buffer, not of lines. (Bug#3790)
22235 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22236 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22237 (cal-menu-context-mouse-menu): Doc fix.
22239 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22241 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22243 2009-07-18 Juri Linkov <juri@jurta.org>
22245 * info.el: Virtual Info keyword finder.
22246 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22247 (Info-finder-file): New variable.
22248 (Info-finder-find-file): New function.
22249 (finder-known-keywords, finder-package-info)
22250 (find-library-name, lm-commentary): Use defvar and
22251 declare-function to silence compiler warnings.
22252 (Info-finder-find-node): New function.
22253 (info-finder): New command.
22255 * subr.el (process-kill-buffer-query-function): New function.
22256 (add-hook)<kill-buffer-query-functions>: Add hook
22257 `process-kill-buffer-query-function'.
22259 2009-07-18 Alan Mackenzie <acm@muc.de>
22261 * progmodes/cc-mode.el (c-before-hack-hook)
22262 (c-postprocess-file-styles): Give invocation of `c-set-style'
22263 DONT-OVERRIDE parameter of t. Already set style variables will
22264 thus not be overridden by style settings given by `c-file-syle'.
22266 * files.el (hack-local-variables-filter): Remove entries with
22267 duplicate keys from `file-local-variables-alist'.
22269 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22271 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22272 x-set-selection if display-selections-p returns nil for the
22275 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22277 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22279 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22281 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22282 Accept nil in addition to a regexp.
22283 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22284 Accept nil in addition to a regexp.
22285 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22286 buffers that have an associated file. Handle nil values of
22287 desktop-buffers-not-to-save and desktop-files-not-to-save.
22290 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22291 (x-disown-selection-internal): New functions.
22293 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22295 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22297 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22298 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22300 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22302 * simple.el (set-mark): Revert last change.
22304 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22306 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22307 rendering of pngs is not possible instead of messaging a long
22310 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22312 * w32-fns.el (x-selection-owner-p): New function.
22314 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22315 (mouse-yank-at-click, mouse-yank-primary):
22316 If select-active-regions is non-nil, deactivate the mark before
22319 * simple.el (deactivate-mark, set-mark): Only save selection if we
22322 2009-07-17 Kenichi Handa <handa@m17n.org>
22324 * case-table.el (describe-buffer-case-table): Fix for the case
22325 that KEY is a cons.
22327 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22329 * vc-rcs.el (vc-rcs-find-file-hook):
22330 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22332 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22334 * net/tramp.el (tramp-wait-for-output): Handle the case when
22335 commands do not return a newline but a null byte before the shell
22338 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22340 * term/ns-win.el (ns-set-alpha): Don't declare.
22341 (ns-set-background-alpha): Remove function.
22343 2009-07-16 Kevin Ryde <user42@zip.com.au>
22345 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22346 y-or-n-p, for safety.
22348 2009-07-16 Richard Stallman <rms@gnu.org>
22350 * files.el (auto-save-mode): If buffer-saved-size is -2,
22353 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22354 (rmail-retry-ignored-headers): Add more uninteresting fields.
22356 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22358 * net/rcirc.el (rcirc): Use history variables.
22359 (rcirc-server-name-history, rcirc-nick-name-history)
22360 (rcirc-server-port-history): New variables.
22362 2009-07-15 Kenichi Handa <handa@m17n.org>
22364 * international/mule-cmds.el (set-language-environment-charset):
22365 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22368 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22369 Delete unibyte-display.
22371 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22373 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22375 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22377 * simple.el (deactivate-mark): Optional argument FORCE.
22378 (set-mark): Use deactivate-mark.
22380 * info.el (Info-search): No need to check transient-mark-mode
22381 before calling deactivate-mark.
22383 * select.el (x-set-selection): Doc fix.
22384 (x-valid-simple-selection-p): Allow buffer values.
22385 (xselect--selection-bounds): Handle buffer values.
22386 Suggested by David De La Harpe Golden.
22388 * mouse.el (mouse-set-region, mouse-drag-track):
22389 Call copy-region-as-kill before setting the mark, to let
22390 select-active-regions work.
22392 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22394 * simple.el (deactivate-mark): If select-active-regions is
22395 non-nil, copy the selection data into a string.
22396 (activate-mark): If select-active-regions is non-nil, set the
22397 selection to the current buffer.
22398 (set-mark): Update selection if select-active-regions is non-nil.
22400 * select.el (x-valid-simple-selection-p): Allow buffer values.
22402 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22404 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22405 and more featureful message-mode.
22407 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22409 * select.el (x-set-selection): Doc fix.
22410 (x-valid-simple-selection-p): Disallow selection data consisting
22411 of a list or cons of integers, since that is not used.
22412 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22413 (xselect-convert-to-string, xselect-convert-to-length)
22414 (xselect-convert-to-filename, xselect-convert-to-charpos)
22415 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22417 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22419 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22420 output in -break-info command (Emacs bug #3794).
22422 2009-07-14 Glenn Morris <rgm@gnu.org>
22424 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22425 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22426 (edebug-print-length, edebug-print-level, edebug-print-circle)
22427 (edebug-sit-for-seconds, edebug-view-outside)
22428 (edebug-bounce-point, edebug-set-global-break-condition)
22429 (edebug-Go-nonstop-mode, edebug-trace-mode)
22430 (edebug-Trace-fast-mode, edebug-continue-mode)
22431 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22432 (edebug-visit-eval-list): Doc fixes.
22434 * subr.el (def-edebug-spec): Doc fix.
22436 2009-07-14 Kenichi Handa <handa@m17n.org>
22438 * international/characters.el: Fix setting of category ?C.
22440 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22442 * term/ns-win.el (x-select-font): defalias x-select-font to
22443 ns-popup-font-panel instead of generate-fontset-menu.
22445 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22447 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22449 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22451 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22452 the PK\003\004 header (Bug#3770).
22454 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22456 * pcomplete.el (pcomplete-comint-setup): Check for
22457 shell-dynamic-complete-filename too.
22459 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22461 * simple.el (temporary-goal-column): Change the value for
22462 line-move-visual to a cons cell.
22463 (line-move-visual): Record or set the window hscroll, if
22464 necessary (Bug#3494).
22465 (line-move-1): Handle cons value of temporary-goal-column.
22467 2009-07-11 Kenichi Handa <handa@m17n.org>
22469 * international/mule-diag.el (describe-character-set): Don't show
22472 2009-07-10 Sam Steingold <sds@gnu.org>
22474 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22475 Omake sometimes indents the errors it prints, so allow all
22476 regexps to start with spaces.
22478 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22480 * cus-edit.el (customize-changed-options-previous-release):
22481 Bump value to 22.1. (Bug#3804)
22483 2009-07-08 Sam Steingold <sds@gnu.org>
22485 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22486 to be a cons cell (test . ignored-directory) to selectively ignore
22487 some directories depending on the location of the search.
22489 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22491 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22492 remote user is root, on the local host.
22493 (tramp-local-host-p): Either the local user or the remote user
22494 must be root. (Bug#3771)
22496 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22498 * progmodes/gdb-mi.el (gdb): Remove description of
22499 gdb-use-separate-io-buffer.
22500 (menu): Don't allow toggling of or enable
22501 gdb-use-separate-io-buffer from menubar.
22503 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22505 * mail/unrmail.el (unrmail): Make sure the message ends with two
22506 newlines (Bug#3769).
22508 2009-07-08 Glenn Morris <rgm@gnu.org>
22510 * calendar/calendar.el (calendar-current-date): Rework previous change.
22512 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22514 * calendar/calendar.el (calendar-current-date):
22515 Add an optional argument giving an offset from today.
22517 2009-07-08 Glenn Morris <rgm@gnu.org>
22519 * tutorial.el (tutorial--describe-nonstandard-key):
22520 Adjust the message for when a key has been unbound.
22521 (help-with-tutorial): Hide the arch-tag.
22523 2009-07-08 Kenichi Handa <handa@m17n.org>
22525 * international/fontset.el (setup-default-fontset): For each
22526 script, append (not set) font-specs.
22528 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22531 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22533 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22534 -data-list-register-names to ...
22535 (gdb-starting): ... here because GDB 7.0 requires execution to
22536 have started when using this MI command.
22537 (gdb-set-header): New function to distinguish select and
22538 unselected tabs in gdb buffers.
22539 (gdb-propertize-header): New macro that uses gdb-set-header.
22540 (gdb-breakpoints-header, gdb-locals-header): Use it.
22541 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22543 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22545 * Makefile.in (ELCFILES): Remove fadr.elc.
22547 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22549 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22550 may contain frame information, so `string-match' should be used.
22551 (gdb-update): Disassembly is invalidated through
22552 `gdb-get-selected-frame'.
22553 (gdb-pad-string): New function to pad string with spaces.
22554 (gdb-invalidate-disassembly): Invalidate only if the buffer
22556 (gdb-disassembly-handler-custom): Column alignment.
22557 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22559 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22561 (gdb-frame-handler): Match convention to for disassembly buffer
22563 (gdb-stack-list-frames-handler): Rewritten without regexps.
22564 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22565 not highlight breakpoints without line information.
22566 (gdb-input): Add trailing newline to command.
22568 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22570 (gdb-breakpoints-list-handler-custom): Replacement for
22571 `gdb-break-list-handler'. Using real parser instead of regexps
22573 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22574 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22575 to place breakpoints.
22576 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22578 (gdb-disassembly-handler-custom): Show overlay arrow.
22579 (gdb-disassembly-place-breakpoints): Show breakpoints in
22580 disassembly buffer.
22581 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22582 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22583 instead of parsing breakpoints buffer. Fixed old menu references
22588 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22589 (gdb-memory-address): New variable which holds top address of
22590 memory page shown in memory buffer.
22591 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22592 New customization variables.
22594 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22595 display the memory buffer.
22596 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22597 buffer display parameters.
22598 (def-gdb-memory-format, gdb-memory-format-binary)
22599 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22600 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22601 Functions for setting memory buffer format.
22602 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22603 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22604 unit size used in memory buffer.
22605 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22606 Switch to next/previous page of memory buffer.
22607 Now using (bindat-get-field) instead of fadr functions.
22609 2009-07-07 Sam Steingold <sds@gnu.org>
22611 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22612 non-top-level files.
22614 2009-07-07 Kenichi Handa <handa@m17n.org>
22616 * international/mule-cmds.el (reset-language-environment):
22617 Put the highset priority to the charset iso-8859-1.
22619 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22621 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22622 to the end of the line when locating the block (Bug#700).
22624 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22626 * net/tramp.el (tramp-handle-write-region): Flush file properties
22627 in case of short track.
22629 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22631 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22632 Coded custom representation of verilog error regular expressions
22633 to work with Emacs-22's new format.
22634 (verilog-error-regexp-xemacs-alist): Coded custom representation
22635 of verilog error regular expressions to work with XEmacs format.
22636 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22637 error recognition into XEmacs.
22638 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22639 error recognition into Emacs-22.
22641 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22643 * woman.el: Remove stand-alone closing parentheses.
22644 (woman-file-name, woman2-format-paragraphs)
22645 (woman-leave-blank-lines): Code cleanup.
22646 (woman-use-own-frame): Change default to nil.
22647 (woman-italic, woman-bold, woman-unknown, woman-addition):
22648 Change defaults to inherit from default faces.
22649 (woman2-process-escapes): Consume the newline after a stand-alone
22650 filler character (Bug#3651).
22652 2009-07-06 Glenn Morris <rgm@gnu.org>
22654 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22655 (top-level): Move provide to the end.
22656 (ffap): Remove defunct URL from custom group.
22658 * subr.el (eval-after-load): Doc fix.
22660 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22662 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22663 `calc-embedded-word' is called twice.
22665 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22667 * files.el (find-alternate-file-other-window, find-alternate-file):
22668 Obey confirm-nonexistent-file-or-buffer.
22670 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22672 * dired-aux.el (dired-show-file-type): Handle remote files.
22674 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22676 * desktop.el (desktop-globals-to-save):
22677 Add file-name-history (Bug#2750).
22679 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22681 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22683 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22685 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22686 property on entire argument since this is what eshell-lisp-command
22689 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22691 * net/tramp-gvfs.el (tramp-gvfs-methods)
22692 (tramp-gvfs-zeroconf-domain)
22693 (tramp-bluez-discover-devices-timeout): Add version flag.
22694 (tramp-gvfs-handler-mounted-unmounted)
22695 (tramp-gvfs-connection-mounted-p): Polish handling of
22696 incompatibilities between GVFS 0.2 and 1.0.
22698 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22700 * cus-start.el (all): Add make-pointer-invisible.
22702 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22704 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22705 formatted correctly.
22707 2009-07-02 Juri Linkov <juri@jurta.org>
22709 * info.el: Virtual Info files and nodes.
22710 (Info-virtual-files, Info-virtual-nodes): New variables.
22711 (Info-current-node-virtual): New variable.
22712 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22714 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22715 to check for a virtual file instead of checking a fixed list
22717 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22718 instead of ad-hoc processing of "dir" and (apropos history toc).
22719 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22720 instead of ad-hoc processing of "dir" and (apropos history toc).
22721 Reread a file when moving from a virtual node.
22722 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22723 (Info-directory-toc-nodes, Info-directory-find-file)
22724 (Info-directory-find-node): New functions.
22725 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22726 (Info-history): Move part of code to
22727 `Info-history-find-node'.
22728 (Info-history-toc-nodes, Info-history-find-file)
22729 (Info-history-find-node): New functions.
22730 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22731 (Info-toc): Move part of code to `Info-toc-find-node'.
22732 (Info-toc-find-node): New function.
22733 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22734 the current Info file name to references because now the node
22735 "*TOC*" belongs to the same Info manual.
22736 (Info-toc-build): Rename from `Info-build-toc'.
22737 (Info-toc-nodes): Rename input argument `file' to `filename'.
22738 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22739 instead of ad-hoc processing of ("dir" apropos history toc).
22740 (Info-index-nodes): Use Info-virtual-file-p
22741 to check for a virtual file instead of checking a fixed list
22743 (Info-index-node): Add check for `Info-current-node-virtual'.
22744 Raise `save-match-data' higher up the tree to contain
22745 `search-forward' too (bug fix).
22746 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22747 (Info-virtual-index-nodes): New variable.
22748 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22749 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22750 (Info-apropos-file, Info-apropos-nodes): New variables.
22751 (Info-apropos-toc-nodes, Info-apropos-find-file)
22752 (Info-apropos-find-node, Info-apropos-matches): New functions.
22753 (info-apropos): Move part of code to `Info-apropos-find-node' and
22754 `Info-apropos-matches'.
22755 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22756 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22757 for a virtual file instead of checking a fixed list of node names.
22759 * simple.el (async-shell-command): New command.
22761 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22763 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22764 instead of `mount-info'.
22766 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22768 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22769 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22771 2009-07-02 Kenichi Handa <handa@m17n.org>
22773 * international/mule.el (set-keyboard-coding-system): Force *-unix
22774 coding-system to avoid eol conversion.
22776 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22778 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22779 Add handler for `process-file', `shell-command' and
22780 `start-file-process'.
22781 (tramp-gvfs-handle-shell-command)
22782 (tramp-gvfs-handle-start-file-process)
22783 (tramp-gvfs-handle-process-file): New defuns.
22784 (tramp-synce-list-devices): Simplify check for existence of property.
22786 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22788 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22790 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22792 * language/korean.el (set-language-info-alist): Add korean-cp949,
22795 2009-07-01 Kenichi Handa <handa@m17n.org>
22797 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22799 * international/encoded-kb.el: Deleted.
22801 * international/mule.el (set-keyboard-coding-system): Perform the
22802 necessary setup here instead of calling encoded-kbd-setup-display.
22804 2009-07-01 Glenn Morris <rgm@gnu.org>
22806 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22808 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22810 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22812 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22814 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22815 Handle also the 'rename case, when setting file modes. (Bug#3712)
22816 (tramp-default-file-modes): Remove execute permissions.
22818 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22819 (top): Add a default for "synce" in `tramp-default-user-alist'.
22820 Add completion function for "synce" method.
22821 (tramp-hal-service, tramp-hal-path-manager)
22822 (tramp-hal-interface-manager, tramp-hal-interface-device):
22824 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22825 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22828 * net/trampver.el: Update release number.
22830 2009-06-30 Kenichi Handa <handa@m17n.org>
22832 * international/fontset.el (setup-default-fontset): Add CJK fonts
22833 for symbols and the other miscellaneous characters.
22835 * language/korea-util.el (setup-korean-environment-internal):
22836 Make char-width-table suitable for Korean environments.
22837 (exit-korean-environment): Cancel above.
22839 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22840 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22841 setup-function to make char-width-table suitable for respective
22842 environments, and an exit-function to cancel that.
22844 * language/japan-util.el (setup-japanese-environment-internal):
22845 Call use-cjk-char-width-table with arg `ja_JP'.
22847 * international/characters.el (cjk-char-width-table): Delete it.
22848 (cjk-char-width-table-list): New variable.
22849 (use-cjk-char-width-table): New arg local-name.
22850 (use-default-char-width-table): Fix for the case that Emacs is
22851 already using the default char-width-table.
22853 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22855 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22856 modes mandatory. (Bug#3712)
22858 2009-06-29 Alan Mackenzie <acm@muc.de>
22860 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22861 correction between the visible width of TABs and their number of bytes.
22863 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22865 * server.el (server-buffer-done): Prevent kill-buffer from
22866 prompting by clearing the buffer modification flag (Bug#3696).
22868 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22870 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22871 (verilog-endcomment-reason-re): Support unique case and priority case.
22872 (verilog-basic-complete-re): Support localparam lineup.
22873 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22874 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22876 (verilog-leap-to-case-head): Now support *nested* unique &
22877 priority case statements.
22878 (verilog-auto-lineup): Make just declarations the default (as it
22880 (verilog-leap-to-case-head): Support priority/unique case statements.
22881 (verilog-auto-lineup): Rework to give users radio buttons to
22882 select the various styles of automatic lineup.
22883 (verilog-error-regexp-alist): Rework to support the XEmacs style
22884 of error regular expressions from compilers, lint tools &
22885 simulators. Note that GNU Emacs has made it impossible for a mode
22886 to load such things.
22887 (electric-verilog-terminate-line, verilog-indent-declaration)
22888 (verilog-auto-wiure): Rework for radio button selection of
22889 auto-lineup selection of specification of auto lineup.
22890 (verilog-beg-of-statement-1): Redesign to support proper operation
22891 in additional code, based on testing with auto-lineup.
22892 (verilog-calculate-indent, assignments & declarations)
22893 (verilog-backward-token): Enhance to support auto-lineup of
22894 assignments & declarations.
22895 (verilog-in-directive-p, verilog-at-struct-p): New function for
22896 easy test of whether we are.
22897 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22898 to support safe execution at almost anyline.
22899 (verilog-calc-1): Properly support indenting deep inside generate
22901 (verilog-init-font): Remove definition & use of verilog-init-font,
22902 as it is redundant with font-lock-defaults.
22903 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22904 to avoid circular calls if syntax-ppss is a function (as is the
22905 case now in 22.x GNU Emacs) as that function would sometimes call
22906 itself, leading to (nearly) infinite recursion.
22907 (verilog-ovm-begin-re, verilog-ovm-end-re)
22908 (verilog-ovm-statement-re, verilog-leap-to-head)
22909 (verilog-backward-token): Add support for OVM macros. Some are
22910 complete statements, and others open and close scopes like begin
22912 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22913 (verilog-defun-level-generate-only-re): Really fix the defun-list
22915 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22916 coverpoint, constraint and cross statements.
22917 (verilog-defun-level-list, verilog-generate-defun-level-list)
22918 (verilog-all-defun-level-list): Redo these specifications - it is
22919 too hard to support eval-when compile aggregation of lists also
22920 built at when-compile time.
22921 (verilog-defun-level-list): Place defconsts of variables used in
22922 building regular expressions which are built in eval-when-compile
22923 bodies in the same eval-when-compile body to facilitate compile
22925 (verilog-beg-block-re-ordered): Support indenting
22926 virtual/protected tasks and functions.
22927 (verilog-defun-level-list, verilog-in-generate-region-p)
22928 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22929 indentation of some module items (generate items).
22930 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22931 across virtual/protected tasks and functions.
22933 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22935 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22936 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22937 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22938 in concatenations. Reported by Yishay Belkind.
22939 (verilog-auto-ascii-enum): Support one-hot state machines in
22940 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22941 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22942 modport in AUTOINST and add vl-modport for users.
22943 Reported by David Rogoff.
22944 (verilog-auto-inout-module, verilog-auto-inst)
22945 (verilog-decls-get-interfaces, verilog-insert-definition)
22946 (verilog-insert-one-definition, verilog-read-decls)
22947 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22948 (verilog-sig-modport, verilog-signals-combine-bus)
22949 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22950 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22951 Suggested by David Rogoff.
22952 (verilog-repair-open-comma): Fix non-insertion of comma when
22953 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22954 (verilog-make-width-expression): Simplify [A-1:0] expression
22955 widths to just {A{1'b0}}.
22956 (verilog-mode): Cleanup checkdoc warnings.
22957 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22958 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22959 inputs/outputs or data type. Suggested by Vasu Kandadi.
22960 (next-error-last-buffer): Fix byte-compiler warning.
22961 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22962 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22963 or shell command text during AUTO expansion. Suggested by Tad Truex.
22964 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22965 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22966 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22967 in AUTOINOUT. Reported by Matthew Lovell.
22968 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22969 causing use of <= assignments. Reported by Alex Reed.
22970 (verilog-read-decls): Fix triand, trior, wand, wor to be
22971 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22972 (verilog-extended-complete-re): Support import "DPI-C" functions.
22973 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22974 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22975 (verilog-insert-date, verilog-insert-year)
22976 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22977 Windows systems. Reported by Michael Potts.
22978 (verilog-read-module-name): Fix AUTOINST when the child module
22979 declaration's name is a tick define. Reported by Elliot Mednick.
22980 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22981 passed to next parameter's definition. Reported by Bruce T.
22982 (verilog-read-decls): Fix detecting "parameter int" when using
22983 AUTOINSTPARAM. Reported by Bruce T.
22984 (verilog-goto-defun): Fix goto not finding modules unless first
22985 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22986 (verilog-mode): Expand -f flag arguments on entry to mode so
22987 verilog-goto-defun will work. Reported by Lawrence Butcher.
22988 (verilog-getopt): Expand environment variables in -f file
22989 arguments. Suggested by Lawrence Butcher.
22990 (verilog-set-define): Fix "Symbol's value as variable is void"
22991 when reading enumerations.
22992 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22993 Suggested by Stephen Peltan.
22994 (verilog-read-defines): Fix reading of enumerations in include
22995 files. Reported by Steve Peltan.
22997 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22999 * files.el (trash-directory): Fix defcustom type.
23001 2009-06-28 Juri Linkov <juri@jurta.org>
23003 * help-fns.el (describe-function-1): Correctly locate adviced
23004 functions in hyperlink (Bug#2438).
23006 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23008 * files.el (trash-directory): Change default to nil.
23009 (move-file-to-trash): If trash-directory is nil and
23010 system-move-file-to-trash is unbound, perform freedesktop-style
23013 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23015 * files.el (move-file-to-trash): Add freedesktop trash
23018 2009-06-28 Glenn Morris <rgm@gnu.org>
23020 * autorevert.el (global-auto-revert-non-file-buffers)
23021 (global-auto-revert-mode): Doc fixes.
23023 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23025 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23027 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23029 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23030 opened an X connection before calling x-get-resource (Bug#3194).
23032 * play/doctor.el: Remove reference to obsolete website.
23033 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23035 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23037 Remove find-file-not-found-hook VC method. (Bug#2757)
23038 * vc-hooks.el (vc-file-not-found-hook)
23039 (vc-default-find-file-not-found-hook): Remove functions.
23040 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23041 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23044 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23046 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23048 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23049 compatibility function for `looking-back'.
23051 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23052 Use `ispell-looking-back'.
23054 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23056 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23057 rather than `filename'.
23059 2009-06-23 Miles Bader <miles@gnu.org>
23061 * face-remap.el (text-scale-set): New function.
23063 2009-06-23 Glenn Morris <rgm@gnu.org>
23065 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23067 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23069 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23071 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23073 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23074 Simplify Persian conditionals.
23076 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23077 variable `filename'.
23079 * comint.el (comint-insert-input): Doc fix.
23081 * Makefile.in (ELCFILES): Fix typo in previous change.
23083 2009-06-23 Miles Bader <miles@gnu.org>
23085 * cus-start.el: Add entry for `recenter-redisplay'.
23087 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23089 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23090 Add an optional argument for the backend, use it instead of
23091 calling vc-backend.
23092 (vc-mode-line): Add an optional argument for the backend.
23093 Pass the backend to vc-state and vc-working-revision. Move code for
23094 special handling for vc-state being a buffer to ...
23096 * vc-rcs.el (vc-rcs-find-file-hook):
23097 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23099 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23100 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23101 vc-stay-local-p and vc-mode-line calls.
23103 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23104 (vc-cvs-diff, vc-cvs-annotate-command)
23105 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23106 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23107 vc-mode-line calls.
23109 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23111 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23112 backend when calling vc-mode-line.
23113 (vc-register): Do not create a closure for calling the vc register
23114 function, call it directly.
23116 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23118 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23119 to make it obvious item can be clicked.
23121 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23123 2009-06-23 Kenichi Handa <handa@m17n.org>
23125 * language/korea-util.el (korean-key-bindings): Change the binding
23126 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23129 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23131 Sync with Tramp 2.1.16.
23133 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23135 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23136 when a loading of a package fails. Completion function for rsync
23137 is `tramp-completion-function-alist-ssh'.
23138 (all): Replace all calls of `split-string' and
23139 `tramp-split-string' by `tramp-compat-split-string'.
23140 (tramp-default-method): Use `tramp-compat-process-running-p'.
23141 (tramp-default-proxies-alist): Allow also Lisp forms.
23142 (tramp-remote-path): Add choice "Private Directories".
23143 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23144 (tramp-domain-regexp): Allow also "-", "_" and ".".
23145 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23146 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23147 (tramp-debug-message): Insert header line in debug buffer.
23148 (tramp-handle-directory-files-and-attributes-with-stat):
23149 Care about filenames with spaces, or starting with "-".
23150 (tramp-handle-dired-uncache): New defun.
23151 (tramp-handle-insert-directory): Don't flush the directory from
23152 cache, this is handled by `dired-uncache' now.
23153 (tramp-handle-insert-file-contents): Improve error handling.
23154 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23155 Quote `tramp-end-of-output'.
23156 (tramp-action-password): Improve trace message.
23157 (tramp-check-for-regexp): Both echoes must be present, before removing.
23158 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23159 (tramp-compute-multi-hops): Eval cons cells of
23160 `tramp-default-proxies-alist'.
23161 (tramp-maybe-open-connection): Use the same command pattern for
23162 first hop and further hops.
23163 (tramp-wait-for-output): Remove handling of newlines.
23164 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23165 (tramp-split-string): Remove function. It is handled in
23168 * net/tramp-cmds.el (tramp-bug):
23169 Recommend `tramp-cleanup-all-connections' in the bug mail.
23171 * net/tramp-compat.el (tramp-compat-split-string)
23172 (tramp-compat-process-running-p): New defuns.
23174 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23175 for `dired-uncache'.
23177 * net/tramp-gvfs.el: New package.
23179 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23180 Add handler for `dired-uncache'.
23181 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23183 * net/trampver.el: Update release number. Make version check fit
23186 2009-06-22 Jim Meyering <meyering@redhat.com>
23188 Automatically handle .xz suffix (XZ-compressed files), too.
23189 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23190 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23192 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23193 Nick Roberts <nickrob@snap.net.nz>
23195 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23196 repository (http://sphinx.net.ru/hg/gdb-mi/).
23198 2009-06-22 Glenn Morris <rgm@gnu.org>
23200 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23201 `mode' and `eval' entries. (Bug#3430)
23203 * Makefile.in (ELCFILES): Add fadr.elc.
23205 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23206 differing behavior of \n and ^ in strings. (Bug#3385)
23208 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23210 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23212 (lisp-indent-function): Make it a defcustom.
23214 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23216 * progmodes/gdb-ui.el: Replace with ...
23217 * progmodes/gdb-mi.el: ... this file.
23218 * progmodes/gud.el: Modify for gdb-mi.el.
23220 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23222 * fadr.el: New file.
23224 See ChangeLog.14 for earlier changes.
23226 ;; Local Variables:
23230 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23232 This file is part of GNU Emacs.
23234 GNU Emacs is free software: you can redistribute it and/or modify
23235 it under the terms of the GNU General Public License as published by
23236 the Free Software Foundation, either version 3 of the License, or
23237 (at your option) any later version.
23239 GNU Emacs is distributed in the hope that it will be useful,
23240 but WITHOUT ANY WARRANTY; without even the implied warranty of
23241 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23242 GNU General Public License for more details.
23244 You should have received a copy of the GNU General Public License
23245 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.