1 2011-03-22 Leo Liu <sdl.web@gmail.com>
3 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
4 encode all chars in abbrevs; otherwise use emacs-mule or
5 utf-8-emacs. (Bug#8308)
7 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
9 * simple.el (backward-delete-char-untabify):
10 Avoid warning about using `delete-backward-char'.
12 * image.el (image-type-file-name-regexps): Make it variable.
13 `imagemagick-register-types' modifies it, and the user may want
14 to add new extensions for known image types.
15 (imagemagick-register-types): Throw error if not using ImageMagick.
17 2011-03-22 Leo Liu <sdl.web@gmail.com>
19 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20 located before rcirc-prompt-end-marker.
21 (rcirc-complete): Error if point is not after rcirc prompt.
22 Handle the case when table is nil.
23 (rcirc-user-authenticated): Define to fix compiler warning.
25 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27 * custom.el (custom--inhibit-theme-enable): Make it affect only
28 custom-theme-set-variables and custom-theme-set-faces.
29 (provide-theme): Ignore custom--inhibit-theme-enable.
30 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
31 (custom-enabling-themes): Delete variable.
32 (enable-theme): Accept only loaded themes as arguments. Ignore
33 the special custom-enabled-themes variable.
34 (custom-enabled-themes): Forbid themes from setting this.
35 Eliminate use of custom-enabling-themes.
36 (custom-push-theme): Quote "changed" custom var entry.
38 2011-03-21 Leo Liu <sdl.web@gmail.com>
40 * ido.el (ido-read-internal): Add ido-selected to history instead
43 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
45 * subr.el (deferred-action-list, deferred-action-function):
48 2011-03-21 Leo Liu <sdl.web@gmail.com>
50 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
51 change on 2011-02-13 (bug#8309).
53 * minibuffer.el (read-file-name-function): Change default value.
54 (read-file-name--defaults): Rename from read-file-name-defaults.
55 (read-file-name-default): Rename from read-file-name.
56 (read-file-name): Call read-file-name-function.
58 2011-03-21 Glenn Morris <rgm@gnu.org>
60 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
63 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
65 * cus-theme.el: Add missing provide statement.
66 (customize-create-theme): Extract theme value correctly.
67 (custom-theme-visit-theme): Autoload.
68 (customize-create-theme): Prompt before inserting default faces.
70 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
72 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
73 units and musical notes.
75 2011-03-20 Leo <sdl.web@gmail.com>
77 * ido.el (ido-read-internal): Use completing-read-default.
78 (ido-completing-read): Fix compatibility with completing-read.
80 2011-03-20 Christian Ohler <ohler@gnu.org>
82 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
83 (ert-delete-all-tests): Use `called-interactively-p' rather than
85 (ert--make-xrefs-region): Respect END.
87 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
89 * dired-aux.el (dired-create-directory): Signal an error if the
90 directory already exists (Bug#8246).
92 * facemenu.el (list-colors-display): Call list-faces-display
93 inside with-help-window.
94 (list-colors-print): Use display property to align the final
95 column, instead of checking window-width.
97 2011-03-19 Eli Zaretskii <eliz@gnu.org>
99 * emerge.el (emerge-metachars): Separate value for ms-dos and
101 (emerge-protect-metachars): Quote correctly for ms-dos and
104 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
106 * info.el (info-initialize): Replace all uses of `:' with
107 path-separator for compatibility with non-Unix systems.
108 Cache quoting of path-separator. (Bug#8258)
110 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
112 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
113 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
114 (mouse-avoidance-mode): Fix typos in docstrings.
116 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
118 * startup.el (package-subdirectory-regexp): Move from package.el.
119 Omit \\` and \\', and let callers add them.
121 * emacs-lisp/package.el (package-strip-version)
122 (package-load-all-descriptors): Add \\` and \\' to
123 package-subdirectory-regexp before using it.
124 (package-untar-buffer): New arg DIR; ensure that file untars only
125 into this expected directory. Remove superfluous delete-region.
126 (package-unpack): Caller changed.
127 (package-tar-file-info): Use package-subdirectory-regexp.
129 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
131 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
132 diff-mode-shared-map (bug#8284).
133 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
135 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
137 * calendar/time-date.el (format-seconds): Use assoc instead of
138 assoc-string, since assoc-string doesn't exist in XEmacs.
140 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
142 * custom.el (custom-known-themes): Reflow docstring.
143 (custom-theme-load-path): Fix typo in docstring.
144 (load-theme): Fix typo in error message.
145 (custom-available-themes, custom-variable-theme-value):
146 Use `let', not `let*'.
148 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
150 * calc/README: Mention inclusion of musical notes.
152 * calc/calc-units.el (calc-lu-quant): Rename from
153 `calc-logunits-quantity'.
154 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
155 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
156 (calc-db): Rename from `calc-dblevel'.
157 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
158 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
159 (calc-np): Rename from `calc-nplevel'.
160 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
161 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
162 (calc-lu-plus): Rename from `calc-logunits-add'.
163 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
164 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
165 (calc-lu-minus): Rename from `calc-logunits-sub'.
166 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
167 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
168 (calc-lu-times): Rename from `calc-logunits-mul'.
169 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
170 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
171 (calc-lu-divide): Rename from `calc-logunits-div'.
172 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
173 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
175 * calc/calc-ext.el (calc-init-extensions): Update the names of the
176 functions being autoloaded.
178 * calc/calc.el (calc-lu-power-reference): Rename from
179 `calc-logunits-power-reference'.
180 (calc-lu-field-reference): Rename from
181 `calc-logunits-field-reference'.
183 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
185 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
187 * minibuffer.el (completion-all-sorted-completions):
188 Use :completion-cycle-penalty text property if present.
190 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
192 * allout.el (allout-yank-processing): Adjust for new rebulleting
193 regime so bullet being yanked is used without prompting the user
196 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
198 * startup.el (command-line): Warn the user that _emacs is deprecated.
200 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
202 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
203 (delphi-verbose, delphi-comment-face, delphi-string-face)
204 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
205 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
206 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
207 (delphi-new-comment-line, delphi-font-lock-defaults)
208 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
209 Fix typos in docstrings.
211 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
213 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
214 Invert the roles of character and string values for INSTEAD, so a
215 string is used for the more common case of a defaulting prompt.
217 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
219 * progmodes/ruby-mode.el (ruby-backward-sexp):
220 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
221 * play/gamegrid.el (gamegrid-make-face):
222 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
223 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
224 * notifications.el (notifications-notify):
225 * net/xesam.el (xesam-search-engines):
226 * net/quickurl.el (quickurl-list-insert):
227 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
229 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
231 * startup.el (command-line): Update package subdirectory regexp.
233 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
235 * allout.el (allout-abbreviate-flattened-numbering)
236 (allout-mode-deactivate-hook): Fix up obsolescence "date".
238 * subr.el (read-char-choice): Only show the cursor after the prompt,
239 not after the answer.
241 2011-03-15 Kevin Ryde <user42@zip.com.au>
243 * help-fns.el (variable-at-point): Skip leading quotes, if any
246 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
248 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
251 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
253 * shell.el (shell): When called interactively, offer to change the
254 shell file name on remote hosts.
256 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
258 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
259 integration for LDAP parameters. The host, base, user or binddn,
260 and secret tokens can be specified in a netrc file, for instance.
261 This is optional because an `auth-source' parameter must be
262 specified in the search attributes.
264 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
266 * help.el (describe-mode): Link to the mode's definition (bug#8185).
268 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
270 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
271 into declaration. Remove redundant and harmful binding.
273 2011-03-12 Eli Zaretskii <eliz@gnu.org>
275 * files.el (file-ownership-preserved-p): Pass `integer' as an
276 explicit 2nd argument to `file-attributes'. If the file's owner
277 is the Administrators group on Windows, and the current user is
278 Administrator, consider that a match.
280 * server.el (server-ensure-safe-dir): Consider server directory
281 safe on MS-Windows if its owner is the Administrators group while
282 the current Emacs user is Administrator. Use `=' to compare
283 numerical UIDs, since they could be integers or floats.
285 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
287 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
289 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
291 Sync with Tramp 2.2.1.
293 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
295 * net/trampver.el: Update release number.
297 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
299 * progmodes/compile.el (compilation--previous-directory): Fix up
300 various nil/dead-marker mismatches (bug#8014).
301 (compilation-directory-properties, compilation-error-properties):
302 Don't call it at a position past the one we're about to change.
304 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
305 Disable obsolescence warnings in the file that declares it.
307 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
309 * allout-widgets.el (allout-widgets-tally): Initialize
310 allout-widgets-tally as a hash table rather than nil to prevent
311 mode-line redisplay warnings.
312 Also, clarify the module description and fix a comment typo.
314 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
316 * help-fns.el (describe-variable): Don't complete keywords.
317 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
319 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
321 * emacs-lisp/package.el (package-version-join): Impose a standard
322 string representation for pre/alpha/beta version lists.
323 (package-unpack-single): Standardize the directory name by passing
324 it through package-version-join.
325 (package-strip-rcs-id): Accept any version string that does not
326 signal an error in version-to-list.
328 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
330 * simple.el (delete-trailing-whitespace): Return nil for the
331 benefit of `write-file-functions'.
333 2011-03-10 Glenn Morris <rgm@gnu.org>
335 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
337 * vc/vc-git.el (vc-git-program): New option.
338 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
339 (vc-git--call): Use it.
341 * eshell/esh-util.el (eshell-condition-case): Doc fix.
343 * cus-edit.el (Custom-newline): If no button at point, look
344 for a subgroup button at start-of-line. (Bug#2298)
346 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
348 2011-03-10 Julien Danjou <julien@danjou.info>
350 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
351 `cursor-type' is nil.
353 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
355 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
357 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
359 * allout.el Summary: Change so yank of distinctive-bullet items
360 preserves the existing header prefix, rebulleting it if necessary,
361 rather than replacing it. This is necessary for proper operation
362 of cooperative addons like allout-widgets.
363 (allout-make-topic-prefix, allout-rebullet-heading): Change
364 SOLICIT arg to INSTEAD, and interpret additionally a string value
365 as alternate bullet to be used, instead of prompting the user for
368 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
371 not use `tramp-file-name-port', because this returns also
372 `tramp-default-port'.
374 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
376 * net/rcirc.el (rcirc-handler-001): Remove useless
377 with-rcirc-process-buffer.
378 (rcirc-check-auth-status): Swap arguments to string-match.
380 2011-03-09 Glenn Morris <rgm@gnu.org>
382 * shell.el (shell-mode):
383 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
385 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
386 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
388 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
390 * emacs-lisp/package.el (package-refresh-contents)
391 (package-menu-execute): Use condition-case-no-debug.
393 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
395 * simple.el (shell-command-to-string): Use `process-file'.
397 * emacs-lisp/package.el (package-tar-file-info): Handle also
400 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
401 `equal' for upload base check.
403 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
405 * textmodes/texinfo.el (texinfo-environments):
406 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
408 2011-03-08 Glenn Morris <rgm@gnu.org>
410 * cus-start.el (cursor-in-non-selected-windows):
411 Fix :set quoting oddness. (Bug#8192)
413 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
414 in some setf expressions. (Bug#2159)
416 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
418 * custom.el (custom-available-themes): Return themes in
421 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
423 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
424 application of patch from Alan Mackenzie (Bug#7595).
426 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
428 * net/rcirc.el (rcirc-connect): Fix PASS bug.
430 2011-03-07 Glenn Morris <rgm@gnu.org>
432 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
433 Give an explicit error if failed to make writable. (Bug#6146)
435 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
437 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
438 Add optional `after-sunset' argument. (Bug#8190)
440 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
442 * play/morse.el (nato-alphabet, nato-region, denato-region):
443 New variable and functions. (Bug#2288)
444 (morse-region, unmorse-region): Barf if read-only.
446 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
448 * progmodes/gud.el (gdb-script-syntax-propertize-function):
449 Don't change the syntax of a \n that closes a comment (bug#8169).
451 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
453 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
455 (package--update-file): Doc fix. Accept relative file names.
456 (package--archive-contents-from-file): Remove the argument, since
457 it's necessarily always "archive-contents".
458 (package-maint-add-news-item): Pass relative file name args to
459 package--update-file.
460 (package-upload-buffer-internal): Prompt for a destination if
461 package-archive-upload-base is invalid. Create the directory if
463 (package-upload-buffer, package-upload-file): Doc fix.
465 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
467 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
468 and move isearch-yank-line to M-s C-e (Bug#8183).
470 2011-03-06 Alan Mackenzie <acm@muc.de>
472 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
473 (c-guess-basic-syntax): Move CASE 19 to a different place,
474 correctly to process template-args-cont lines.
476 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
478 * calc/calc-ext.el (calc-init-extensions):
479 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
480 and calc-nplevel, respectively. Add keybindings for calc-spn,
481 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
482 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
484 * calc/calc-units.el (calc-dblevel): Rename from
485 calc-logunits-dblevel.
486 (calc-nplevel): Rename from calc-logunits-nplevel.
487 (math-midi-round, math-freqp, math-midip, math-spnp)
488 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
489 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
490 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
491 (math-notes): New variable.
493 * calc/calc.el (calc-note-threshold): New variable.
495 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
497 * emacs-lisp/package.el (package-archives): Accept either ordinary
498 directory names, in addition to HTTP URLs.
499 (package--with-work-buffer): New macro. Handle normal directories.
500 (package-handle-response): Don't display the failing buffer.
501 (package-download-single, package-download-tar)
502 (package--download-one-archive): Use package--with-work-buffer.
503 (package-archive-base): Rename from package-archive-url.
505 2011-03-06 Glenn Morris <rgm@gnu.org>
507 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
508 (xmodmap-generic-mode): Respect generic-extras-enable-list.
510 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
512 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
514 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
516 * allout.el (allout-init, allout-prefixed-keybindings)
517 (allout-unprefixed-keybindings):
518 * progmodes/prolog.el (prolog-find-term):
519 Fix typos in docstrings.
521 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
523 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
525 2011-03-06 Kevin Ryde <user42@zip.com.au>
527 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
529 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
531 * window.el (one-window-p, walk-windows, display-buffer):
532 Doc fixes. (Bug#5567)
534 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
536 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
537 of the variable if it exists.
539 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
546 * net/tramp-cache.el:
547 * obsolete/fast-lock.el:
548 * textmodes/reftex.el:
549 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
551 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
553 * files.el (delete-directory, copy-directory, list-directory):
554 Use read-directory-name.
556 * find-file.el (ff-find-the-other-file):
557 * net/ange-ftp.el (ange-ftp-make-directory):
558 * printing.el (pr-interactive-dir):
559 * progmodes/ada-prj.el (ada-prj-load-directory):
560 * progmodes/ebnf2ps.el (ebnf-print-directory)
561 (ebnf-spool-directory, ebnf-eps-directory)
562 (ebnf-syntax-directory):
564 * speedbar.el (speedbar-create-directory):
565 * vc/emerge.el (emerge-merge-directories):
566 * vc/vc-dir.el (vc-dir):
567 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
569 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
571 * help-mode.el (help-buffer): If we are to return the current
572 buffer, signal an error if it's not in Help mode (Bug#8147).
574 2011-03-05 Reuben Thomas <rrt@sc3d.org>
576 * files.el (file-name-version-regexp): Handle backup files of the
577 form `foo.js.~HEAD~1~' (Bug#8159).
579 2011-03-05 Glenn Morris <rgm@gnu.org>
581 * eshell/esh-var.el: Don't require esh-test when compiling.
582 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
583 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
584 * eshell/esh-test.el: Move to ../../test/eshell.el.
586 2011-03-05 David Engster <deng@randomsample.de>
588 * files.el (save-some-buffers): Report the names of buffers saved
589 automatically due to buffer-save-without-query (Bug#8134).
591 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
593 * net/rcirc.el: Add QuakeNet authentication support.
594 (rcirc-authinfo, rcirc-check-auth-status)
595 (rcirc-authenticate): Support QuakeNet.
597 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
599 * net/rcirc.el: Add functionality to authenticate before
600 autojoining channels.
601 (rcirc-authenticate-before-join): New option.
602 (rcirc-authenticated-hook): New variable.
603 (rcirc-connect): Make local variable rcirc-user-authenticated.
604 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
605 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
607 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
608 Call rcirc-check-auth-status.
610 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
612 * net/soap-client.el (soap-namespace-put-link): Check if the target
613 name is fully qualified -- use only the name part.
614 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
615 types, treated the same as xsd:sequence. (Bug#8166)
617 2011-03-05 Eli Zaretskii <eliz@gnu.org>
619 * files.el (find-file-noselect): Don't ask about re-visiting
620 non-literally if the file is already visited in image-mode.
623 2011-03-05 Glenn Morris <rgm@gnu.org>
625 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
626 (eshell-mode): Use eshell-kill-buffer-function.
627 Run the -initialize functions independently of the -load-hooks.
628 * eshell/esh-proc.el (eshell-kill-process-function): New function.
629 (eshell-gather-process-output, eshell-sentinel)
630 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
631 Use eshell-kill-process-function.
632 * eshell/em-alias.el (eshell-alias-load-hook):
633 * eshell/em-banner.el (eshell-banner-load-hook):
634 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
635 * eshell/em-dirs.el (eshell-dirs-load-hook):
636 * eshell/em-glob.el (eshell-glob-load-hook):
637 * eshell/em-hist.el (eshell-hist-load-hook):
638 * eshell/em-pred.el (eshell-pred-load-hook):
639 * eshell/em-prompt.el (eshell-prompt-load-hook):
640 * eshell/em-rebind.el (eshell-rebind-load-hook):
641 * eshell/em-script.el (eshell-script-load-hook):
642 * eshell/em-smart.el (eshell-smart-load-hook):
643 * eshell/em-term.el (eshell-term-load-hook):
644 * eshell/em-unix.el (eshell-unix-load-hook):
645 * eshell/esh-arg.el (eshell-arg-load-hook):
646 * eshell/esh-cmd.el (eshell-cmd-load-hook):
647 * eshell/esh-ext.el (eshell-ext-load-hook):
648 * eshell/esh-io.el (eshell-io-load-hook):
649 * eshell/esh-mode.el (eshell-exit-hook):
650 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
651 * eshell/esh-var.el (eshell-var-load-hook):
652 Set default hook values to nil. (Bug#5375)
654 * eshell/esh-module.el (eshell-module-unload-hook)
655 (eshell-modules-list): Remove leading * from defcustom docs.
657 * eshell/esh-util.el (eshell-for): Make it obsolete.
658 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
659 * eshell/em-dirs.el (eshell-save-some-last-dir):
660 * eshell/em-hist.el (eshell-save-some-history)
661 (eshell-hist-parse-modifier):
662 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
664 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
665 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
667 * eshell/esh-ext.el (eshell-find-interpreter):
668 * eshell/esh-mode.el (eshell-mode):
669 * eshell/esh-module.el (eshell-unload-extension-modules):
670 * eshell/esh-proc.el (eshell-process-interact):
671 * eshell/esh-test.el (eshell-test):
672 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
673 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
674 (eshell-variables-list):
675 * eshell/eshell.el (eshell-unload-all-modules):
676 Replace eshell-for with dolist.
678 2011-03-04 Glenn Morris <rgm@gnu.org>
680 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
682 2011-03-04 Tom Tromey <tromey@redhat.com>
684 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
686 2011-03-04 Glenn Morris <rgm@gnu.org>
688 * outline.el (outline-regexp): No longer allow nil.
689 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
691 * net/browse-url.el (browse-url):
692 Handle deleted default-directory. (Bug#6077)
694 * recentf.el (recentf-include-p): In case of a buggy predicate,
695 err on the side of including, not excluding. (Bug#5843)
697 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
699 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
702 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
704 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
705 if there is no node. (Bug#3261)
707 2011-03-04 Leo <sdl.web@gmail.com>
709 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
711 * time.el (display-time-world-list): Fix typo. (Bug#7571)
713 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
715 * cus-edit.el (custom-buffer-create-internal):
716 Split search string before passing it to `customize-apropos' (bug#8136).
718 2011-03-04 Drew Adams <drew.adams@oracle.com>
720 * image-dired.el (image-dired-cmd-read-exif-data-options):
721 Fix typo in docstring (bug#8156).
723 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
725 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
727 2011-03-03 Christian Ohler <ohler@gnu.org>
729 * emacs-lisp/ert.el (ert--explain-equal): New function.
730 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
732 (ert--explain-equal-including-properties): Renamed from
733 `ert--explain-not-equal-including-properties'. All callers
736 2011-03-03 Christian Ohler <ohler@gnu.org>
738 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
739 (ert-char-for-test-result, ert-string-for-test-result)
740 (ert-run-tests-batch, ert--print-test-for-ewoc):
741 Handle `ert-test-quit'.
743 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
745 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
746 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
748 2011-03-03 Glenn Morris <rgm@gnu.org>
750 * files.el (file-truename): Doc fix. (Bug#2341)
752 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
754 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
756 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
758 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
759 programs output backslashes. (Bug#7663)
761 2011-03-03 Glenn Morris <rgm@gnu.org>
763 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
764 (mail-mode): Remove mail-sent-via from the doc.
765 (mail-sent-via): Make it obsolete. (Bug#1776)
767 * progmodes/grep.el (grep-highlight-matches): Doc fix.
768 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
770 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
771 with no parents. (Bug#8025)
773 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
775 * password-cache.el (password-in-cache-p): Add autoload.
777 2011-03-02 Glenn Morris <rgm@gnu.org>
779 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
780 * dired-x.el (Man-support-local-filenames): Autoload it.
781 (dired-guess-shell-alist-default): Also handle Red Hat's man.
783 * dired-x.el (dired-default-directory-alist, dired-default-directory):
785 (dired-smart-shell-command): Just call dired-current-directory.
787 * dired-x.el (dired-jump-other-window): Add autoload.
788 (dired-default-directory-alist, dired-default-directory): Doc fixes.
789 (dired-default-directory-alist): Mark as risky.
791 * dired-x.el (dired-omit-here-always): Make it obsolete.
793 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
795 * textmodes/artist.el (artist-curr-go): Default to pen-line.
796 (artist-select-op-pen-line): New function.
797 (artist-menu-map): New variable.
798 (artist-mode-map): Add a menu to the menu-bar.
800 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
802 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
805 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
807 (math-logunits-add, math-logunits-mul, math-logunits-divide):
808 (math-logunits-quant, math-logunits-level):
809 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
811 (math-logunits-level): Extract units from ratio.
813 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
815 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
817 2011-03-01 Glenn Morris <rgm@gnu.org>
819 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
820 (diary-hebrew-birthday): Rename and rework functions added
823 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
825 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
826 (diary-hebrew-birthday): New functions.
828 2011-03-01 Glenn Morris <rgm@gnu.org>
830 * dired.el (dired-safe-switches-p): Beef it up.
831 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
833 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
835 * dired.el (dired-safe-switches-p): New function.
837 2011-03-01 Glenn Morris <rgm@gnu.org>
839 * files.el (dir-locals-collect-variables):
840 Add the ability to exclude subdirectories. (Bug#8100)
842 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
844 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
846 * ido.el (ido-everywhere): Doc fix.
849 2011-02-28 Glenn Morris <rgm@gnu.org>
851 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
853 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
855 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
858 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
860 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
862 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
864 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
865 Fix typos in docstrings.
867 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
869 * dired-aux.el (dired-update-file-line):
870 Fix 2010-11-09 change. (Bug#8131)
872 2011-02-28 Eli Zaretskii <eliz@gnu.org>
874 * international/mule-cmds.el (set-default-coding-systems): Use the
875 -unix variant of encoding in default-keyboard-coding-system.
878 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
880 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
882 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
884 * term/screen.el: New file (Bug#2650).
886 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
888 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
889 (pcase-mutually-exclusive-predicates): New var.
890 (pcase--split-consp, pcase--split-pred): Use it.
891 (pcase--split-equal, pcase--split-member): When splitting against
892 a pure predicate, run it to know the outcome.
893 (pcase--u1): Mark vars that are actually used.
894 (pcase--q1): Avoid introducing unused vars.
896 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
898 * calc/calc-ext.el (calc-init-extensions):
899 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
901 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
904 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
905 argument is a variable.
907 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
909 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
910 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
911 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
913 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
915 * password-cache.el (password-in-cache-p): Convenience function to
916 check if a key is in the cache, even if the value is nil.
918 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
920 * emacs-lisp/package-x.el (package--archive-contents-from-url)
921 (package--archive-contents-from-file): New functions.
922 (package-update-news-on-upload): New var.
923 (package-upload-buffer-internal): Extract archive-contents from
924 package-archive-upload-base if it is not found at archive-url.
925 Obey package-update-news-on-upload.
926 (package-upload-buffer, package-upload-file): Doc fix.
928 2011-02-24 Glenn Morris <rgm@gnu.org>
930 * files-x.el (modify-dir-local-variable): Handle dir-locals from
931 the cache, and from non-file sources.
933 * help-fns.el (describe-variable): Return consistent results when a
934 dir-local from a file came from the cache or did not. (Bug#8095)
935 If a dir-local has no associated file, say it came from a "directory".
937 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
938 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
940 * files.el (dir-locals-find-file): Doc fix.
941 Fix the check for cache elements that have no associated file,
942 and the mtime check for those that do. (Bug#8095)
944 * dired-x.el (dired-hack-local-variables):
945 Handle interrupts during hacking local variables. (Bug#5216)
947 * emacs-lisp/autoload.el (autoload-save-buffers)
948 (autoload-find-destination, update-directory-autoloads):
949 Avoid prompts when updating autoloads.
951 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
953 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
955 2011-02-23 Kenichi Handa <handa@m17n.org>
957 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
958 error when a multipart boundary in the nested multipart is found.
960 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
963 2011-02-23 Glenn Morris <rgm@gnu.org>
965 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
966 * dired-x.el (dired-omit-mode): Safe if boolean.
967 (dired-enable-local-variables): Fix doc and custom type.
968 (dired-enable-local-variables, dired-local-variables-file)
969 (dired-hack-local-variables): Make obsolete.
970 (dired-omit-here-always): Use dir-locals.el instead.
972 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
974 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
976 * help-fns.el (describe-function-1): Don't signal an error just because
977 the DOC file disappeared.
979 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
981 * eshell/esh-ext.el (eshell-external-command): Do not restrict
982 remote check to "ftp". (Bug#8089)
984 2011-02-21 Alan Mackenzie <acm@muc.de>
987 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
988 in macros finding their way into c-state-nonlit-pos-cache.
989 Strengthen the comments.
990 (c-state-dump): New commented out diagnostic routine.
992 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
994 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
995 `field' property of `rfn-eshadow-overlay'.
997 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
999 * net/netrc.el (netrc-parse): Comment fix.
1001 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1003 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1004 Autoload. Add optional arg FRAME, and pass it to color-values.
1005 (color-complement): Caller changed. Doc fix.
1006 (color-gradient): Rewrite for better clarity and efficiency.
1008 * faces.el (color-values): Use cond for clarity. Doc fix.
1010 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1012 (list-colors-sort-key, list-colors-print):
1013 Use color-normalized-values.
1015 2011-02-20 Drew Adams <drew.adams@oracle.com>
1017 * color.el: First part of merge from hexrgb.el.
1018 (color-rgb-to-hex): Rename from color-rgb->hex.
1019 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1020 saturation to zero if the value is too small.
1021 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1022 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1023 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1024 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1025 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1026 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1027 (color-cie-de2000): Doc fix.
1029 2011-02-20 Alan Mackenzie <acm@muc.de>
1031 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1032 locating the beginning of a macro. (Bug#7595)
1034 2011-02-20 Glenn Morris <rgm@gnu.org>
1036 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1039 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1040 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1042 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1043 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1045 * progmodes/hideshow.el (hs-find-block-beginning)
1046 (hs-hide-level-recursive): Ignore comments when parsing braces
1049 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1051 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1052 (vc-bzr-pull): Use it.
1054 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1056 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1057 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1058 but returning an alist. Ignore comments in bzr conffile.
1059 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1060 (vc-bzr-error-regex-alist): New var.
1061 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1063 * vc/vc-dispatcher.el (vc-do-async-command):
1064 Bind inhibit-read-only to t.
1066 * progmodes/compile.el (compilation--flush-directory-cache):
1067 Handle the case where cdr of compilation--flush-directory-cache
1068 points to no buffer, which can occur if we previously switched to
1069 compilation-mode in a pregenerated buffer.
1071 2011-02-19 Kenichi Handa <handa@m17n.org>
1073 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1074 get the header copy into the temporary buffer.
1075 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1076 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1077 buffer-file-coding-system to undecided.
1079 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1081 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1082 Document completion with asterisk and a substring.
1084 2011-02-19 Glenn Morris <rgm@gnu.org>
1086 * files.el (find-file-literally): Doc fix.
1088 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1090 * log-edit.el (log-edit-insert-changelog):
1091 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1093 2011-02-19 Glenn Morris <rgm@gnu.org>
1095 * dired-x.el: Don't require dired-aux.
1096 (dired-do-create-files, dired-mark-read-regexp)
1097 (dired-do-create-files-regexp): Autoload from dired-aux.
1099 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1100 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1102 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1103 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1105 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1106 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1107 (dired-clean-up-buffers-too): Declare.
1109 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1110 * dired.el (dired-initial-position): Merge dired-x's version here.
1111 (dired-find-subdir): Declare.
1113 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1114 * dired-aux.el (dired-add-entry): Give it a doc-string.
1115 Merge dired-x's dired-omit handling here.
1116 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1118 * international/mule-diag.el (list-input-methods-1):
1119 Indent all lines of multi-line doc-strings. (Bug#8066)
1121 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1123 Fix 2011-02-02 changes.
1125 * apropos.el (apropos-print): Call apropos-mode before setting up
1126 buffer variables. Use inhibit-read-only.
1128 * emacs-lisp/package.el (package--list-packages):
1129 Call package-menu-mode before setting up buffer variables.
1131 * play/solitaire.el (solitaire): Call solitaire-mode before
1132 setting up buffer variables. Use inhibit-read-only.
1134 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1136 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1137 Bind case-fold-search to nil when looking for end of here-doc.
1139 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1141 * image-mode.el (image-toggle-display-image):
1142 Set find-file-literally non-nil in buffers visiting binary image
1145 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1147 * files.el (cd): Make completion obey cd-path (bug#7924).
1149 2011-02-18 Glenn Morris <rgm@gnu.org>
1151 * progmodes/prolog.el: Don't require compile when compiling.
1152 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1153 (compilation-forget-errors, compilation-fake-loc)
1154 (compilation-parse-errors-function, compilation-error-list): Declare.
1155 (prolog-inferior-mode): Require 'compile.
1157 * emulation/cua-base.el (pc-selection-mode): Declare.
1159 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1160 (customize-object): Add autoload cookie.
1161 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1162 (eieio-browse, describe-class, eieio-describe-class)
1163 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1164 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1165 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1166 * Makefile.in (autoloads): Make eieio.el writable.
1168 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1169 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1170 (dired-hack-local-variables): Use inhibit-read-only.
1171 (dired-guess-default): Simplify.
1172 (dired-make-relative-symlink): Use dotimes.
1173 (dired-simultaneous-find-file): Use dolist.
1174 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1175 (dired-x-hands-off-my-keys): Doc fix.
1176 (dired-x-bind-find-file): Doc fix. Use remapping.
1177 (after-init-hook): No need to add dired-x-bind-find-file.
1178 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1179 No need to call expand-file-name.
1180 (dired-filename-at-point): Remove unused locals `end', `filename'.
1182 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1186 2011-02-18 Christian Ohler <ohler@gnu.org>
1188 * emacs-lisp/ert.el (ert--setup-results-buffer)
1189 (ert-results-pop-to-backtrace-for-test-at-point)
1190 (ert-results-pop-to-messages-for-test-at-point)
1191 (ert-results-pop-to-should-forms-for-test-at-point)
1192 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1193 were incorrect and unnecessary. This should make `make check'
1196 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1198 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1199 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1200 * lisp/allout.el: Remove commentary about remove encryption
1201 passphrase mnemonic support and verification.
1202 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1203 armored text using gpg1, and indicate that the gpg version *might*
1204 be the problem in the error message.
1206 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1208 * net/rcirc.el (rcirc-float-time): New function.
1209 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1210 (rcirc-ctcp-sender-PING): Use it.
1212 2011-02-17 Glenn Morris <rgm@gnu.org>
1214 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1215 (speedbar-update-flag, speedbar-fetch-etags-command)
1216 (speedbar-fetch-etags-arguments):
1217 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1218 (term-completion-autolist, term-completion-addsuffix)
1219 (term-completion-recexact, term-completion-fignore):
1220 * term/sup-mouse.el (sup-mouse-fast-select-window):
1221 * term/x-win.el (x-select-request-type):
1222 Convert some defvars with "*" to defcustoms.
1224 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1226 * vc/vc.el (vc-default-previous-version):
1227 Remove alias that points nowhere. (Bug#4496)
1229 * dired-x.el (dired-clean-up-after-deletion):
1230 kill-buffer does not need save-excursion.
1231 (dired-do-run-mail): Doc fix.
1232 (dired-filename-at-point): Doc fix.
1233 Use looking-at, and skip-chars rather than re search.
1235 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1237 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1239 * allout-widgets.el: New allout extension that shows allout
1240 outline structure with graphical widgets. 'allout-widgets'
1241 customize group is an 'allout' subgroup, for easy discovery.
1243 * allout.el: Include PGP and GnuPG in Keywords, and other
1244 commentary refinements.
1245 (allout-abbreviate-flattened-numbering): Rename to
1246 allout-flattened-numbering-abbreviation, and
1247 define-obsolete-variable-alias the old name.
1248 (allout-flattened-numbering-abbreviation): Rename from
1249 allout-abbreviate-flattened-numbering.
1250 (allout-mode-p): Include among autoloads, for use by other modes
1252 (allout-listify-exposed):
1253 Use allout-flattened-numbering-abbreviation.
1254 (allout-encrypt-string): Use set-buffer-multibyte directly.
1255 (allout-set-buffer-multibyte): Remove.
1257 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1259 * simple.el (just-one-space): Remove useless `or' call.
1261 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1263 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1264 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1265 (soap-decoded-multi-refs, soap-current-wsdl)
1266 (soap-encoded-namespaces): Rename CL-style *...* variables.
1268 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1270 * net/soap-client.el: Add "comm" and "hypermedia" to the
1271 keywords. Reflow too long lines.
1273 * net/soap-inspect.el: Ditto. Require 'cl.
1275 2011-02-16 Bastien Guerry <bzg@altern.org>
1277 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1278 in a `doctor-type' argument.
1280 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1282 * net/soap-client.el:
1283 * net/soap-inspect.el: New files.
1285 2011-02-16 Leo <sdl.web@gmail.com>
1287 * dired-x.el (dired-mode-map, dired-extra-startup):
1288 Remove dired-copy-filename-as-kill since it's already in dired.el.
1290 2011-02-16 Glenn Morris <rgm@gnu.org>
1292 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1293 Doc fixes. Add :set property, replacing top-level calls.
1294 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1295 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1296 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1297 (dired-clean-up-after-deletion): Use when and dolist.
1298 (dired-jump): Use unless and when.
1299 (dired-virtual): Use line-end-position.
1300 (dired-default-directory-alist): Rename from default-directory-alist.
1301 (dired-default-directory): Update for above name change.
1302 (dired-vm): Drop VM < 5 and simplify.
1303 (dired-buffer-more-recently-used-p): Rewrite.
1304 (dired-filename-at-point): Use when and or.
1305 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1308 2011-02-15 Glenn Morris <rgm@gnu.org>
1310 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1312 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1314 * vc/vc-git.el (vc-git-root-log-format): New option for
1315 customizing log format.
1316 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1317 (vc-git-log-view-mode): Use it.
1318 (vc-git-expanded-log-entry): New function.
1319 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1321 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1322 customizing log format.
1323 (vc-hg-print-log): Use it.
1324 (vc-hg-expanded-log-entry): New function.
1325 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1326 vc-hg-expanded-log-entry. Truncate lines in root log.
1328 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1330 * vc/log-view.el (log-view-mode-menu):
1331 Add log-view-toggle-entry-display.
1333 2011-02-14 Glenn Morris <rgm@gnu.org>
1335 * dired-x.el: Don't require man when compiling.
1336 (dired-omit-extensions, dired-local-variables-file)
1337 (dired-x-hands-off-my-keys): Make them defcustoms.
1338 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1339 (vm-visit-folder): Declare rather than defining.
1340 (dired-x-help-address, dired-x-variable-list): Remove.
1341 (dired-x-submit-report): Make it an obsolete alias.
1343 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1345 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1347 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1349 * net/imap.el: Bring it back.
1351 2011-02-13 Alan Mackenzie <acm@muc.de>
1353 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1354 narrow-to-region call that cuts context off the end (Bug#7722).
1356 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1357 Refactor nested if-forms with a simple cond.
1358 (c-forward-<>-arglist): Revert 2011-01-31 change.
1360 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1362 * vc/log-view.el: New command log-view-toggle-entry-display for
1363 toggling log entries between concise and detailed forms.
1364 (log-view-toggle-entry-display): New command.
1365 (log-view-mode-map): Bind RET to it.
1366 (log-view-expanded-log-entry-function): New variable.
1367 (log-view-current-entry, log-view-inside-comment-p)
1368 (log-view-current-tag): New functions.
1369 (log-view-toggle-mark-entry): Use log-view-current-entry and
1370 log-view-end-of-defun instead of searching directly with
1371 log-view-message-re.
1372 (log-view-end-of-defun): Likewise. Add optional ARG for
1373 compatibility with end-of-defun.
1374 (log-view-end-of-defun): Ignore comments and VC buttons.
1376 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1377 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1379 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1381 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1383 * net/imap-hash.el: Remove file.
1385 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1387 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1389 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1392 * net/tramp-imap.el: Remove file.
1394 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1396 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1397 widget library for buttons, just use button.el.
1399 * vc/log-view.el (log-view-mode-map): Don't inherit from
1402 2011-02-12 Glenn Morris <rgm@gnu.org>
1404 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1405 (nintersection, set-difference, nset-difference)
1406 (set-exclusive-or, nset-exclusive-or): Doc fix.
1408 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1410 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1411 :italic props, so that frame-set-background-mode works. (Bug#7966)
1413 * simple.el (next-error): Doc fix.
1415 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1417 * dired-aux.el (dired-create-files): Adapt destination name to
1418 match the new behavior of copy-directory.
1420 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1422 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1423 from rmail-dont-reply-to-names. Callers changed.
1424 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1425 (rmail-dont-reply-to): Make it an obsolete alias.
1427 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1428 nil, and make obsolete (Bug#7888).
1429 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1431 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1433 * mail/rmailsort.el (rmail-sort-by-correspondent)
1434 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1436 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1438 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1440 * files.el (copy-directory): New argument COPY-CONTENTS for
1441 copying directory contents into another existing directory.
1443 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1445 * minibuffer.el (completion-table-case-fold): New function for
1446 creating a case-insensitive completion table.
1448 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1450 * net/tramp.el (tramp-default-method): Also check if
1451 `auth-source-search' is bound.
1452 (tramp-read-passwd): Use `auth-source-search' instead of
1453 `auto-source-user-or-password'.
1455 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1456 `auto-source-user-or-password.
1457 (tramp-imap-passphrase-callback-function): Use it.
1459 * net/imap-hash.el: Autoload `auto-source-search' instead of
1460 `auto-source-user-or-password.
1461 (imap-hash-open-connection): Use it.
1463 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1464 `auto-source-user-or-password.
1465 (smtpmail-try-auth-methods): Use it.
1467 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1469 * emacs-lisp/package.el: Allow packages to be reinstalled.
1470 (package--write-file-no-coding): Remove EXCL arg.
1471 (package-unpack-single): Don't use it.
1473 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1475 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1476 in each sub directory.
1477 (vc-svn-registered): Use vc-svn-root.
1478 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1479 (vc-svn-repository-hostname): Use "svn info".
1481 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1483 * simple.el (delete-trailing-whitespace): New optional buffer
1486 2011-02-11 Bastien Guerry <bzg@altern.org>
1488 * files.el (basic-save-buffer): save unmodified buffers when
1489 the file pointed by buffer-file-name doesn't exist.
1491 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1493 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1495 2011-02-11 Glenn Morris <rgm@gnu.org>
1497 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1499 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1501 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1503 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * server.el (server-process-filter): Use pcase.
1507 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1509 (smie-indent--parent): Extend to "parent of arg".
1510 (smie-indent-inside-string): New function.
1511 (smie-indent-functions): Use it.
1513 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1514 bzr locking race condition.
1516 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1517 still valid before using it.
1519 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1520 `message' -> `compilation-message' rename (bug#8004).
1522 Move keymap initialization into declaration.
1523 * textmodes/enriched.el (enriched-mode-map):
1524 * textmodes/bib-mode.el (bib-mode-map):
1525 * term/lk201.el (lk201-function-map):
1526 * tar-mode.el (tar-mode-map):
1527 * replace.el (occur-mode-map):
1528 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1529 * progmodes/idlw-help.el (idlwave-help-mode-map):
1530 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1531 * play/solitaire.el (solitaire-mode-map):
1532 * play/snake.el (snake-mode-map, snake-null-map):
1533 * play/pong.el (pong-mode-map):
1534 * play/handwrite.el (menu-bar-handwrite-map):
1535 * play/gametree.el (gametree-mode-map):
1536 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1537 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1538 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1539 (newsticker--url-keymap):
1540 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1541 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1542 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1543 (menu-bar-edit-menu, menu-bar-custom-menu)
1544 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1545 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1546 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1547 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1548 (menu-bar-tools-menu, menu-bar-describe-menu)
1549 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1550 (menu-bar-help-menu):
1551 * mail/rmailsum.el (rmail-summary-mode-map):
1552 * kmacro.el (kmacro-step-edit-map):
1553 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1554 (ibuffer-mode-operate-map):
1555 * hi-lock.el (hi-lock-menu, hi-lock-map):
1556 * emulation/vip.el (vip-mode-map):
1557 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1558 * bookmark.el (bookmark-bmenu-mode-map):
1559 * help-mode.el (help-mode-map): Move initialization into declaration.
1561 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1563 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1564 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1565 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1566 (rcirc-cmd-me, rcirc-authenticate): Use them.
1568 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1570 * allout.el: Synopsis: Change allout user configuration so
1571 auto-activation is controlled solely by customization
1572 `allout-auto-activation'.
1574 (allout-auto-activation-helper, allout-setup): New autoloads
1575 implement new custom set procedure for allout-auto-activation.
1576 Also, explicitly invoke (allout-setup) after allout-auto-activation
1577 is custom-defined, to affect the settings in emacs sessions besides
1578 the few where allout-auto-activation customization is done.
1579 (allout-auto-activation): Use allout-auto-activation-helper to
1580 :set. Revise the docstring.
1581 (allout-init): Reduce functionality to just customizing
1582 allout-auto-activation, and mark obsolete.
1583 (allout-mode): Respect string values for allout-auto-activation.
1584 Run allout-after-copy-or-kill-hook without any args.
1585 (allout-mode, allout-layout, allout-default-layout)
1586 (outlineify-sticky): Adjust docstring for new scheme.
1587 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1588 should concentrate on the kill ring.
1590 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1592 * password-cache.el (password-cache-remove): Accept secrets that are
1595 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1598 of here-doc that immediately follows a comment.
1600 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1602 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1604 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1606 (rcirc-ctcp-sender-PING): New function.
1608 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1611 Remove the mark/nomark handling, and activate shift-select-mode instead.
1613 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1615 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1617 * calc/calc-units.el (math-logunits-quant): Add support for
1618 non-logarithmic units.
1620 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1622 * allout.el (allout-after-copy-or-kill-hook): New hook for
1623 extension-specific processing of killed text.
1624 (allout-mode): Include new allout-after-copy-or-kill-hook among
1626 (allout-kill-line, allout-kill-topic): Ensure that processing
1627 after kill happens even if barf-if-buffer-read-only is raised.
1628 Include new allout-after-copy-or-kill-hook among that subsequent
1630 (allout-deannotate-hidden): Actually remove the annotation text
1633 * allout.el (allout-listify-exposed): Copy text sans text properties.
1635 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1637 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1639 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1641 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1643 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1645 * calc/calc.el (calc-logunits-field-reference): Rename from
1646 `calc-default-field-reference-level'.
1647 (calc-logunits-power-reference): Rename from
1648 `calc-default-power-reference-level'.
1650 * calc/calc-units.el (math-logunits-quant): Rename from
1651 `math-logunits-level'
1652 (math-logunits-plus): Rename from math-logcombine.
1653 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1654 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1655 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1657 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1658 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1659 (calc-logunits-quantity): Rename from `calc-level'.
1660 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1661 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1662 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1663 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1664 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1667 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1668 (calc-ul-prefix-help): Remove.
1669 (calc-l-prefix-help): New function.
1670 (calc-full-help): Add reference to `calc-l-prefix-help'.
1672 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1674 * calc/README: Mention logarithmic units.
1676 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1678 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1679 non-ASCII characters (Bug#7925).
1681 2011-02-05 Glenn Morris <rgm@gnu.org>
1683 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1685 * calendar/diary-lib.el (diary-font-lock-keywords):
1686 Tweak diary-time-regexp match. (Bug#7891)
1688 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1689 (f90-mode): Use it for mode's `find-tag-default-function' property.
1691 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1693 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1695 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1697 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1700 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1702 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1703 font-lock-syntax-table remappings.
1704 (sh-here-doc-markers, sh-here-doc-re): Remove.
1705 (sh-font-lock-close-heredoc): Remove.
1706 (sh-syntax-propertize-here-doc): New function.
1707 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1708 instead of the sh-here-doc-re.
1709 (sh-font-lock-paren): Don't do anything in comments or strings.
1710 Handle line continuations. Accept a few more chars.
1711 Don't rely on the font-lock-syntax-table remappings.
1712 `esac' is not a valid pattern.
1713 (sh-syntax-propertize-function): Handle here-docs differently, so we
1714 don't bother syntax-propertizing the insides.
1716 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1717 Handle new bashisms ";&" and ";;&" (bug#7947).
1719 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1721 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1722 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1724 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1726 * net/tramp.el (tramp-postfix-method-format)
1727 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1728 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1729 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1730 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1731 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1734 2011-02-04 Sam Steingold <sds@gnu.org>
1736 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1738 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1740 * international/mule-util.el (with-coding-priority): Doc fix.
1742 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1744 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1746 2011-02-03 Sam Steingold <sds@gnu.org>
1748 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1749 Do not error out when `func' is nil.
1751 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1753 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1754 `tramp-default-remote-path' to the docstring.
1755 (tramp-get-remote-path): Suppress error message when `getconf
1758 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1760 2011-02-03 Glenn Morris <rgm@gnu.org>
1762 * vc/vc-hg.el (vc-hg-command): Doc fix.
1764 * term/w32-win.el (libpng-version): Declare for compiler.
1766 * msb.el: No need to load dired while compiling.
1768 * emacs-lisp/elint.el (elint-standard-variables):
1769 Remove a couple of built-ins that now have doc-strings.
1771 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1772 `require' is automatically `eval-and-compile'd.
1774 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1775 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1777 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1778 Move definition before use.
1779 (strokes-report-bug): Make it obsolete.
1781 2011-02-02 Sam Steingold <sds@gnu.org>
1783 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1784 from `special-mode', entering it makes the buffer read-only, so
1785 call it only when everything has been already inserted.
1786 * emacs-lisp/ert.el (ert--setup-results-buffer)
1787 (ert-results-pop-to-backtrace-for-test-at-point)
1788 (ert-results-pop-to-messages-for-test-at-point)
1789 (ert-results-pop-to-timings): Ditto.
1790 * emacs-lisp/package.el (package--list-packages): Ditto.
1791 * play/solitaire.el (solitaire): Ditto.
1793 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1795 * progmodes/compile.el: Make all faces inherit.
1796 (compilation-warning): Inherit from font-lock-variable-name-face.
1797 (compilation-info): Inherit from font-lock-type-face.
1798 (compilation-line-number): Reassign to font-lock-keyword-face.
1799 (compilation-column-number): Reassign to font-lock-doc-face.
1800 (compilation-leave-directory-face): Reassign to
1801 font-lock-builtin-face.
1803 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1805 * dired.el (dired-insert-directory): Don't invoke `ls' when
1806 ls-lisp.el is used to emulate it.
1808 2011-02-01 Julien Danjou <julien@danjou.info>
1810 * color.el (color-gradient): Add a color-gradient function.
1812 2011-02-01 Sam Steingold <sds@gnu.org>
1814 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1815 bind "z" to `kill-this-buffer'.
1816 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1817 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1818 (apropos-mode): Inherit from `special-mode'.
1819 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1820 * bookmark.el (bookmark-bmenu-mode): Define using
1821 `define-derived-mode' inheriting from `special-mode'.
1822 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1823 * image-mode.el (image-mode-map): Ditto.
1824 * replace.el (occur-mode): Define using
1825 `define-derived-mode' inheriting from `special-mode'.
1826 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1827 * calendar/diary-lib.el (diary-fancy-display-mode):
1828 Inherit from `special-mode-map'.
1829 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1830 Inherit from `special-mode'.
1831 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1833 (package-menu-mode): Define using `define-derived-mode'
1834 inheriting from `special-mode'.
1835 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1836 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1837 (xesam-mode-map): Define separately.
1838 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1839 * progmodes/compile.el (compilation-minor-mode-map)
1840 (compilation-mode-map): Inherit from `special-mode-map'.
1841 * vc/diff-mode.el (diff-mode-shared-map):
1842 Inherit from `special-mode-map'.
1843 * vc/log-view.el (log-view-mode-map): Add a comment.
1845 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1847 * custom.el (load-theme): Define return value. Drop use of
1848 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1849 (custom-theme-load-confirm): Scroll in the correct window.
1850 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1852 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1853 checkbox if load-theme fails.
1855 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * progmodes/compile.el (compilation-next-error): Check there's
1858 a message before using it (bug#7941).
1860 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1862 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1863 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1864 of potential pivots.
1866 2011-01-31 Alan Mackenzie <acm@muc.de>
1868 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1869 Continue parsing if we encounter a naked # (Bug#7595).
1870 (c-beginning-of-statement): Avoid loop in locating the beginning
1871 of a macro. (Not actually committed until 2011-02-20, see above).
1873 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1875 * files.el (copy-directory): Fix arguments to recursive call.
1877 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1879 * files.el (copy-directory): If destination is an existing
1880 directory, copy into a subdirectory there.
1882 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1884 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1887 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1889 * image-dired.el (image-dired-mouse-display-image): No-op if no
1890 file is found (Bug#7817).
1892 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1894 2011-01-31 Kenichi Handa <handa@m17n.org>
1896 * international/quail.el (quail-keyboard-layout-alist):
1897 Remove superfluous SPC for "pc105-uk" (bug#7927).
1899 2011-01-31 Glenn Morris <rgm@gnu.org>
1901 * msb.el (msb-menu-bar-update-buffers): Update for changed
1902 argument handling of menu-bar-select-frame. (Bug#7902)
1904 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1906 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1907 to the recursion depth (Bug#7722).
1909 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1911 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1912 command-line-default-directory (Bug#7872).
1914 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * progmodes/compile.el (compilation--flush-directory-cache):
1917 New function, extracted from compilation--remove-properties.
1918 (compilation--remove-properties, compilation--parse-region): Use it.
1919 (compilation--previous-directory): Handle one more case.
1920 (compilation-enable-debug-messages): Remove.
1921 (compilation-parse-errors, compilation--flush-parse): Just remove the
1922 left over debug messages.
1924 2011-01-31 Sam Steingold <sds@gnu.org>
1926 * progmodes/compile.el (compilation-enable-debug-messages):
1927 Add a variable to make the parsing messages introduced in
1928 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1929 (compilation-parse-errors, compilation--flush-parse): Use it.
1931 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1933 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1934 (rcirc-nick-completion-format): New defcustom.
1935 (rcirc-complete): Use it.
1937 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1939 * net/rcirc.el: Clean log filenames (Bug#7933).
1940 (rcirc-log-write): Use convert-standard-filename.
1941 (rcirc-log-filename-function): Documentation updates.
1943 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1945 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1946 Check report-emacs-bug-can-use-osx-open and use that if t.
1947 (report-emacs-bug-can-use-osx-open): New function.
1948 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1949 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1951 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1953 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1954 updating Dired or VC-dir buffers after async command completes.
1956 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1957 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1959 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1960 completions if it exists. Use vc-set-async-update.
1961 (vc-git-pull): Use vc-set-async-update.
1963 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1964 read-shell-command. Use vc-set-async-update.
1965 (vc-hg-merge-branch): Use vc-set-async-update.
1967 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1969 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1970 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1973 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1975 * progmodes/compile.el: Avoid an N² behavior in grep.
1976 (compilation--previous-directory): New fun.
1977 (compilation--previous-directory-cache): New var.
1978 (compilation--remove-properties): Flush it.
1979 (compilation-directory-properties, compilation-error-properties):
1980 Use the new fun to speed up looking for the current directory.
1982 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1984 * vc/vc-hg.el (vc-hg-history): New var.
1985 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1986 (vc-hg-merge-branch): New function.
1988 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1989 the other way around.
1991 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1992 (vc-git-merge-branch): New functions.
1993 (vc-git-history): New var.
1995 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1997 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1999 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2000 vc-do-async-command.
2002 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2005 2011-01-28 Leo <sdl.web@gmail.com>
2007 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2008 highlighting to the "this function is advised" message.
2010 * help-mode.el (help-mode-finish): Apply highlighting here, to
2011 avoid clobbering by substitute-command-keys (Bug#6304).
2013 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2015 * woman.el (woman0-roff-buffer): Process roff escape sequences
2016 occurring prior to the first request (Bug#7843).
2018 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * progmodes/compile.el: Don't use font-lock any more.
2021 (compilation-error-regexp-alist-alist): Change handling of makepp
2022 so it preserves the warning/error distinction on subsequent files.
2023 Simplify various rules.
2024 (compilation-directory-properties): Use font-lock-face.
2025 Add a compilation-message property.
2026 (compilation-internal-error-properties): Use font-lock-face.
2027 Don't set the compilation-debug property here.
2028 (compilation--put-prop, compilation--remove-properties)
2029 (compilation--parse-region, compilation--ensure-parse)
2030 (compilation--ensure-parse): New functions.
2031 (compilation-parse-errors): New function, largely inspired of
2032 compilation-mode-font-lock-keywords. Set compilation-debug here.
2033 (compilation--parsed): New var.
2034 (compilation--flush-parse): Use compilation--ensure-parse.
2035 (compilation-start): Don't call font-lock.
2036 (compilation-turn-on-font-lock): Remove.
2037 (compilation-setup): Don't set font-lock-extra-managed-props not change
2038 other font-lock settings, other than keywords.
2039 Don't activate font-lock-mode.
2040 Set change-major-mode-hook and before-change-functions.
2041 (compilation--unsetup): Remove properties and hooks.
2042 (compilation-next-single-property-change): New function.
2043 (compilation-next-error): Use it to parse when needed.
2044 (compile-goto-error): Parse buffer as needed.
2045 (compilation--compat-error-properties): Don't need a dummy `face'
2048 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2051 (compilation-process-setup-function): Fix docstring's false promises.
2052 (compilation-error-regexp-alist-alist): Catch omake's continuous
2053 recompilation message and avoid reuse of old markers.
2054 (compilation-parse-errors-function): Declare obsolete.
2055 (compilation-buffer-modtime): Remove.
2056 (compilation--make-cdrloc, compilation--loc->col)
2057 (compilation--loc->line, compilation--loc->file-struct)
2058 (compilation--loc->marker, compilation--loc->visited)
2059 (compilation--make-file-struct, compilation--file-struct->file-spec)
2060 (compilation--file-struct->formats)
2061 (compilation--file-struct->loc-tree): New macros. Use them.
2062 (compilation--message): New defstruct. Use them.
2063 (compilation-next-error-function): Don't mess with timestamps to try
2064 and guess when to reparse.
2066 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2069 (tex-old-error-file-name): New function,
2070 extracted from tex-compilation-parse-errors.
2071 (tex-compilation-parse-errors): Remove.
2072 (tex-error-regexp-alist): New var.
2073 (tex-shell): Use it to avoid compilation-parse-errors-function.
2075 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2076 (grep-mode-font-lock-keywords): Remove regexp that seems like
2077 a left-over from before we used compile.el.
2078 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2079 modifying the buffer within with-silent-modifications.
2081 * progmodes/compile.el: Cleanup text-properties namespace by using
2082 `compilation-message' instead of `message', `compilation-directory'
2083 instead of `directory', and `compilation-debug' instead of `debug'.
2084 (compilation-last-buffer, compilation-parsing-end)
2085 (compilation-error-list, compilation-old-error-list): Move to the
2086 compatibility part of the code.
2087 (compilation-error-properties): If `file' is a function, let it return
2089 (compilation-mode-font-lock-keywords): Be more conservative with the
2090 omake "^ *" pattern prefix, to try and minimize the risk of
2091 pathologically slow regexp matching.
2092 (compilation-start): Use inhibit-read-only.
2093 (compilation--unsetup): New function.
2094 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2095 (compilation-filter): Minor tweaks.
2096 (compilation-next-error-function): Try and avoid abusing variables.
2097 (compilation--flush-file-structure): New fun.
2098 (compilation-fake-loc): Use it to improve behavior when file is reused.
2099 (debug-ignored-errors): Add "Moved past last ...".
2100 (compilation--compat-error-properties)
2101 (compilation--compat-parse-errors): Rename by doubling the "-".
2103 Port features from the previous prolog.el to the new one.
2104 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2105 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2106 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2107 variable and use a function to compute the value dynamically.
2108 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2109 (prolog-continued-prompt-regexp): Remove, unused.
2110 (prolog-find-value-by-system): Try and use the value of prolog-system
2111 in the *prolog* buffer if it helps.
2112 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2113 (prolog-zip-on): ..and check prolog-system and version here instead.
2114 (prolog-inferior-self-insert-command): New command.
2115 (prolog-inferior-mode-map): Use it.
2116 (prolog-inferior-error-regexp-alist): New var.
2117 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2118 (prolog-input-filter): Use derived-mode-p.
2119 (prolog-inferior-guess-flavor): New function.
2120 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2121 make-comint to avoid running comint-mode twice.
2122 (prolog-inferior-buffer): New fun.
2123 (prolog-old-process-region, prolog-old-process-file):
2124 Don't call prolog-bsts here...
2125 (prolog-build-prolog-command): ...do it here instead.
2126 (prolog-old-process-region, prolog-old-process-file):
2127 Use compilation-fake-loc and compilation-forget-errors.
2128 (prolog-consult-compile-region): Use bolp.
2130 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2132 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2134 2011-01-27 Sam Steingold <sds@gnu.org>
2136 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2137 Remove "*server*" which is never created by emacs server.
2139 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2141 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2142 there are some diff switches.
2144 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2147 Copy change made to ruby-font-lock-syntactic-keywords.
2149 * htmlfontify.el: Make it obey the font-lock-face text property.
2150 Miscellaneous cleanup such as:
2151 - Don't hide expressions after a closing paren.
2152 - Move initial setq into let.
2153 - Hoist common parts out of ifs.
2154 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2155 (hfy-face-at): Use get-text-property instead.
2156 (hfy-prop-invisible-p): Use invisible-p if available.
2157 (htmlfontify-manual): Use \\[...].
2158 (hfy-html-quote-regex): Use [...].
2159 (hfy-combined-face-spec): Simplify.
2160 (hfy-compile-face-map): Don't presume point-min==1.
2161 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2162 match end of string.
2163 (hfy-text-p): η-reduce.
2164 (hfy-tags-for-file): Receive cache-hash directly.
2165 (hfy-mark-tag-names): Adjust call.
2167 2011-01-27 Glenn Morris <rgm@gnu.org>
2169 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2170 (msb-after-load-hook): Remove eval-after-load wackiness.
2172 2011-01-25 Sam Steingold <sds@gnu.org>
2174 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2175 literal "diff" (important for windows-nt).
2177 2011-01-25 Glenn Morris <rgm@gnu.org>
2179 * emacs-lisp/copyright.el (copyright-at-end-flag)
2180 (copyright-names-regexp): Add safety properties.
2181 (copyright-year-ranges): New option.
2182 (copyright-find-end): New function, split from copyright-update-year.
2183 (copyright-update-year): Use copyright-find-end.
2184 (copyright-fix-years): Optionally, convert years to ranges.
2185 Handle years continued over comment lines.
2186 Do not mess with the fill-prefix.
2187 Do not call copyright-update.
2188 (copyright-update-directory): Optionally, fix years rather than update.
2189 Skip directories. Find files with only safe local vars.
2191 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2193 * files.el (file-name-non-special): Only change buffer-file-name after
2194 insert-file-contents if it's `visit'ing the file (bug#7854).
2196 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2198 * dired.el (dired-revert): Doc fix (Bug#7758).
2200 * simple.el (line-move-visual): Doc fix (Bug#7594).
2202 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2204 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2205 here-doc which ends with an underscore.
2206 (ruby-mode-set-encoding): Skip shebang line always.
2207 (ruby-mode-map): Bind C-c C-c to comment-region.
2208 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2209 (ruby-forward-sexp): Stop after literal hash key labels.
2210 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2213 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2215 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2216 the correct buffer (Bug#7650).
2218 2011-01-25 Glenn Morris <rgm@gnu.org>
2220 * comint.el (comint-mode): Doc fix. (Bug#7897)
2222 * simple.el (do-auto-fill): Give it a doc string.
2224 * button.el (make-text-button): Doc fix. (See bug#7881)
2226 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2229 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2231 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2232 Handle ?" and friends differently (e.g. don't use backrefs).
2234 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2236 * calc/calc.el (calc-default-power-reference-level)
2237 (calc-default-field-reference-level): New variables.
2238 * calc/calc-units.el (math-standard-units): Add dB and Np.
2239 (math-logunits): New variable.
2240 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2241 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2242 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2244 (math-find-base-units-rec): Add entry for ln(10).
2245 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2246 (calc-ul-prefix-help): New function.
2247 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2248 functions. Add keybindings for new units functions.
2250 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2252 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2253 rcirc buffers. (Bug#4940)
2255 2011-01-22 Glenn Morris <rgm@gnu.org>
2257 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2258 split out from copyright-update-year.
2259 (copyright-update): Don't mess with the GPL version if we don't own the
2260 copyright. Update license regexp, and remove no longer needed
2262 (copyright-fix-years): Use copyright-find-copyright.
2264 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2266 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2268 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2270 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2271 (lm): Rename to landmark.
2272 (lm-test-run): Rename to landmark-test-run.
2274 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2276 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2277 "Case sensitive" menu item.
2279 2011-01-22 Roland McGrath <roland@frob.com>
2281 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2282 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2284 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2288 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2290 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2291 Assume foo(bar) is a manpage reference rather than some unquoted
2294 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2297 Suggested by Flo <sensorflo@gmail.com>.
2299 2011-01-22 Glenn Morris <rgm@gnu.org>
2301 * progmodes/compile.el (compilation-error-regexp-alist):
2302 Fix custom type. (Bug#7812)
2304 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2306 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2307 allout-number-siblings, in keeping with what obtained due to
2308 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2310 (allout-before-change-handler): Better expose spots affected by
2313 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2315 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2317 2011-01-22 Phil Hagelberg <phil@evri.com>
2319 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2320 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2321 (pcmpl-ssh-config-hosts): New function.
2322 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2323 pcmpl-ssh-known-hosts.
2325 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2327 * calc/calc-undo.el (calc-undo): Autoload it.
2328 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2329 and autoload for `calc-undo'.
2330 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2331 * calc/calc-prog.el:
2332 * calc/calc-graph.el:
2333 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2335 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2337 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2338 keybindings to `calc-undo'.
2340 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2342 Don't mess with *temp*.
2343 * obsolete/spell.el: Move from textmodes/spell.el.
2345 * term.el (term-read-input-ring):
2346 * startup.el (display-startup-echo-area-message):
2347 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2348 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2349 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2352 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2354 * allout.el (allout-institute-keymap): Use fset instead of
2355 reapplying defalias.
2357 (allout-hotspot-key-handler): Check for non-control-modified
2358 bindings for hotspot characters if there are no control-modified
2361 * allout.el: Summary - migrate to defining allout mode using
2362 define-minor-mode instead of defun. Significantly clean-up
2363 internal keymap provisions, refactoring and, in the process,
2364 removing a lot of accumulated cruft.
2366 allout-mode-map is now a keymap by virtue of being a defalias to
2367 allout-mode-map-value, which contains the actual keymap structure.
2369 (allout-mode): Use define-minor-mode rather than defun.
2370 Remove now-unnecessary minor-mode setup activities from the body.
2371 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2372 entry will be '(allout-mode . allout-mode-map) - see
2373 allout-mode-map-value, below. Adjust docstring to track changes.
2374 (allout-minor-mode): Remove this defalias, now that we're using
2376 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2377 keymap is allout-mode-map-value, via defalias.
2378 (allout-mode-map-value): The variable holding the actual mode
2379 keymap structure, by virtue of defalias from allout-mode-map.
2380 (allout-compose-and-institute-keymap): Rename from
2381 allout-bind-keys, and including the binding-composition
2382 functionality of the former produce-allout-mode-map and
2383 allout-setup-mode-map.
2384 (allout-institute-keymap): Take over the "setup" part of the former
2385 allout-setup-mode-map. Reassign allout-mode-map-value value and
2386 update the defalias.
2387 (allout-command-prefix, allout-prefixed-keybindings)
2388 (allout-unprefixed-keybindings):
2389 Use allout-compose-and-institute-keymap to process the bindings.
2390 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2391 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2392 user can customize if they want to use that binding.
2393 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2394 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2395 elided that, previously, instead of the one for \C-h.)
2396 (allout-hotspot-key-handler): Remove attempt to resolve the key
2397 through the literal key-string lookup on allout-keybindings-list.
2398 That probably hasn't worked for a Long Time, and removal of
2399 allout-keybindings-list further simplifies the keybindings situation.
2400 (allout-pre-command-business): Use allout-mode-map-value instead
2402 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2403 the bindings if they want to use a keybinding having a trailing
2404 \C-h. No deprecation needed since this feature was never in a release.
2405 (allout-keybindings-list): Remove. It's not been useful for a
2406 while. (See allout-hotspot-key-handler changes, above.)
2407 (produce-allout-mode-map): Remove. Consolidate into
2408 allout-compose-and-institute-keymap.
2409 (allout-mode-map-adjustments): Remove. No longer necessary with
2410 removal of allout-preempt-trailing-ctrl-h.
2411 (allout-setup-mode-map): Remove. Consolidate into
2412 allout-compose-and-institute-keymap and allout-institute-keymap.
2414 2011-01-20 Glenn Morris <rgm@gnu.org>
2416 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2418 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2420 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2422 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2424 * files.el (find-alternate-file, basic-save-buffer)
2425 (basic-save-buffer-2, revert-buffer, recover-file)
2426 (kill-buffer-ask, abort-if-file-too-large)
2427 (set-visited-file-name, write-file, backup-buffer)
2428 (basic-save-buffer, save-some-buffers):
2429 * dired-aux.el (dired-compress-file): Callers changed.
2431 2011-01-19 Glenn Morris <rgm@gnu.org>
2433 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2434 Also check the property status. (Bug#7861)
2436 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2438 * net/tramp.el (tramp-debug-message): Extend function exclude
2439 list. Use `regexp-opt'.
2441 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2444 highlighting doesn't spill over subsequent lines.
2446 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2447 keymap expression. Improve docstring.
2449 * electric.el (electric-indent-post-self-insert-function):
2450 Don't auto-indent for indent-to-left-margin, it's too often
2453 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2455 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2456 spaces if the frame was resized, so that the full visible buffer
2457 serves as canvas for strokes.
2459 2011-01-16 Glenn Morris <rgm@gnu.org>
2461 * info-xref.el (info-xref-docstrings): Replace cl function.
2462 Also skip directories.
2464 2011-01-16 Kevin Ryde <user42@zip.com.au>
2466 * info-xref.el: Version 3.
2467 (info-xref-check, info-xref-check-all): Move commentary details
2468 into docstrings for better visibility.
2469 Use compilation-mode for the results buffer.
2470 (info-xref-output, info-xref-output-error, info-xref-with-output)
2471 (info-xref-filename, info-xref-in-progress):
2472 New internals for this.
2473 (info-xref-check-list, info-xref-check-buffer)
2474 (info-xref-check-all-custom): Use those.
2475 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2476 (info-xref-output-heading): Rename from info-xref-filename-heading.
2477 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2478 (info-xref-filename-heading): Move to output managing section.
2479 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2480 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2481 (info-xref-subfile-p): Move to generic section with those two.
2482 (info-xref-check-node): New function split from
2483 info-xref-check-buffer, shared by info-xref-docstrings.
2484 (info-xref-goto-node-p): Move to a checking section with that func.
2485 (info-xref-unavail): New counter.
2486 (info-xref-check-node): Use it.
2487 (info-xref-with-output): Show count of unavailables at end of output.
2488 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2489 symlinks. Exclude .texi files. Exclude Emacs backup files.
2490 (info-xref-check-all-custom): Fix quietening viper-mode and
2491 gnus-registry-install -- use setq not let so as not to unbind
2494 2011-01-16 Juri Linkov <juri@jurta.org>
2496 * isearch.el (isearch-abort): Don't quit if search has
2497 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2499 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2501 * files.el (backup-buffer): Make last-resort backup file in
2502 .emacs.d (Bug#6953).
2504 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2505 make it with permission 700.
2507 2011-01-15 Kenichi Handa <handa@m17n.org>
2509 * mail/rmailmm.el (rmail-mime-insert-header):
2510 Set rmail-mime-coding-system to a cons whose car is the last coding
2511 system used to decode the header.
2512 (rmail-mime-find-header-encoding): New function.
2513 (rmail-mime-insert-decoded-text):
2514 Override rmail-mime-coding-system if it is a cons.
2515 (rmail-show-mime): If only a header part was decoded, find the
2516 coding system while ignoring mm-charset-override-alist.
2518 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2520 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2522 2011-01-15 Kenichi Handa <handa@m17n.org>
2524 * mail/rmailmm.el (rmail-mime-next-item)
2525 (rmail-mime-previous-item): Delete them.
2526 (rmail-mime-shown-mode): Recursively call for children.
2527 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2529 (rmail-mime-raw-mode): Recursively call for children.
2530 (rmail-mode-map): Change mapping of tab and backtab to
2531 forward-button and backward-button respectively.
2532 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2534 (rmail-mime-update-tagline): New function.
2535 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2536 body display is changed.
2537 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2538 (rmail-mime-image): Delete this button type.
2539 (rmail-mime-toggle): New button type.
2540 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2541 body display is changed. Change the save button label to "Save".
2542 Don't process show/hide button here.
2543 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2544 the body display is changed. Unconditionally call
2545 rmail-mime-insert for children.
2546 (rmail-mime-handle): Update `display' vector of the just inserted
2548 (rmail-mime-process): If mail-header-parse-content-type returns
2549 nil, use "text/plain" as the fallback type.
2550 (rmail-mime-insert): For raw-mode, recursively call
2551 rmail-mim-insert for children.
2552 (rmail-mime): Handle the case that the current buffer is not rmail
2553 buffer (e.g. in summary buffer).
2555 2011-01-15 Kenichi Handa <handa@m17n.org>
2557 * mail/rmailmm.el (rmail-mime-next-item)
2558 (rmail-mime-previous-item): Skip the body of a non-multipart
2559 entity if a tagline is shown.
2561 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2564 (tmm-prompt): Simplify.
2565 (tmm-add-prompt): Remove unused var `win'.
2567 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2568 to minor mode which used nil accidentally to mean "turn off".
2570 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2572 * net/tramp-sh.el (tramp-find-inline-compress)
2573 (tramp-get-inline-coding): Quote command after pipe symbol for
2574 local calls under W32. (Bug#6784)
2576 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2578 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2579 only when running under W32.
2581 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2583 * progmodes/grep.el (grep-compute-defaults): Quote the program
2584 file name after the pipe symbol in Grep templates. (Bug#6784)
2585 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2587 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2589 * buff-menu.el (Buffer-menu-buffer-list): New var.
2590 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2591 restricted buffer list is not lost on revert (Bug#7749).
2593 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2595 * net/ldap.el (ldap-search-internal): Discard stderr output.
2597 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2599 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2601 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2603 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2605 2011-01-15 Kenichi Handa <handa@m17n.org>
2607 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2608 part as a plain text.
2609 (rmail-mime-process-multipart): Set the default content-type to
2610 nil for unknown multipart subtypes (bug#7651).
2612 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2614 * hexl.el (hexl-mode-old-*): Remove.
2615 (hexl-mode--old-var-vals): New var to replace them.
2616 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2617 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2618 Use them to set local vars (bug#7846).
2619 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2620 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2621 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2623 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2624 (smerge-resolve--normalize-re): New var.
2625 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2626 (smerge-resolve): Use them.
2627 * newcomment.el (comment-only-p): New function.
2628 (comment-or-uncomment-region): Use it.
2630 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2632 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2633 table, get the value before switching to the output buffer. (Bug#7733)
2635 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2637 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2639 2011-01-14 Kim F. Storm <storm@cua.dk>
2641 * emulation/cua-base.el (cua--init-keymaps):
2642 Remap exchange-point-and-mark in cua-global-keymap.
2644 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2646 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2649 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2651 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2653 (easy-menu-create-menu, easy-menu-convert-item-1):
2654 Use :label rather than nil for labels. Use `case'.
2655 Add :enable as alias for :active.
2656 (easy-menu-binding): Obey :label.
2658 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2660 Use run-mode-hooks for major mode hooks (bug#513).
2661 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2662 Rename from reftex-toc-map.
2663 (reftex-toc-mode): Use define-derived-mode.
2664 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2665 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2666 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2667 (reftex-select-label-mode, reftex-select-bib-mode):
2668 Use define-derived-mode.
2669 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2670 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2671 Move init into delcaration.
2672 (reftex-index-mode, reftex-index-phrases-mode):
2673 Use define-derived-mode.
2674 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2675 speedbar-syntax-table. Move init into declaration.
2676 (speedbar-mode-map): Rename from speedbar-key-map.
2677 Move init into declaration.
2678 (speedbar-file-key-map): Move init into declaration.
2679 (speedbar-mode): Use define-derived-mode.
2680 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2681 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2682 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2683 (chart-face-list): Move initialization into declaration.
2684 (chart-mode): Use define-derived-mode.
2685 * calculator.el (calculator-mode-map): Move init into declaration.
2686 (calculator-mode): Use define-derived-mode.
2688 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2689 work for nested comments.
2691 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2692 (prolog-use-prolog-tokenizer-flag): Change default when
2693 syntax-propertize can be used.
2694 (prolog-syntax-propertize-function): New var.
2695 (prolog-mode-variables): Move make-local-variable into `set'.
2696 Don't make comment-column local since we don't set it.
2697 Set comment-add (as it was in previous prolog.el). Use dolist.
2698 Set syntax-propertize-function.
2699 (prolog-mode, prolog-inferior-mode):
2700 Call prolog(-inferior)-menu directly, not through the mode-hook.
2701 (prolog-buffer-module, prolog-indent-level)
2702 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2703 (prolog-comment-limits, prolog-goto-comment-column):
2704 Use line-(end|beginning)-position.
2705 (prolog-build-prolog-command): Tighten up regexp.
2706 (prolog-consult-compile): Move make-local-variable into `set'.
2707 (prolog-consult-compile-filter, prolog-goto-next-paren)
2708 (prolog-help-on-predicate, prolog-clause-info)
2709 (prolog-mark-predicate): Don't let+setq.
2710 (prolog-indent-line): Use indent-line-to.
2711 Only call prolog-goto-comment-column if necessary.
2712 (prolog-indent-level): Use bobp.
2713 (prolog-first-pos-on-line): Remove, not used any more.
2714 (prolog-in-string-or-comment): Use syntax-ppss if available.
2715 (prolog-help-on-predicate): Use read-string.
2716 (prolog-goto-predicate-info): Simplify.
2717 (prolog-read-predicate): Use `default' rather than `initial'.
2718 (prolog-temporary-file): Use make-temp-file to close a security hole.
2719 (prolog-toggle-sicstus-sd): New command.
2720 (prolog-electric-underscore, prolog-variables-to-anonymous):
2721 Use dynamic-scoping as it was meant.
2722 (prolog-menu): Move menu definitions to top-level.
2723 Use a toggle-button for Sicstus's source debugger.
2724 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2726 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2727 Move other menu definition to top-level.
2729 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2731 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2732 name. Keep original document's directory as default-directory
2734 (doc-view-initiate-display): Fall back to normal mode when
2735 doc-view-mode cannot be enabled, also when extracting the document
2736 text into a separate buffer (bug#6446).
2738 * simple.el (shell-command): Don't error out if shell command
2739 buffer contains text with non-nil read-only property when erasing
2742 2011-01-13 Kim F. Storm <storm@cua.dk>
2744 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2745 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2746 items when cycling through the matches.
2748 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2750 * dired-x.el (dired-omit-verbose): New defcustom that allows
2751 disabling the omit messages.
2752 (dired-omit-expunge): Use it.
2754 2011-01-13 Christian Ohler <ohler@gnu.org>
2756 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2758 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2760 * font-lock.el (font-lock-verbose): Default to nil.
2762 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2764 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2765 (compose-mail): New arg RETURN-ACTION.
2766 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2768 * mail/sendmail.el (mail-return-action): New var.
2769 (mail-mode): Make it buffer-local.
2770 (mail-bury): Obey it. Move special Rmail window handling to
2772 (mail, mail-setup): New arg RETURN-ACTION.
2773 (sendmail-user-agent-compose): Move from simple.el.
2775 * mail/rmail.el (rmail-mail-return): New function.
2776 (rmail-start-mail): Pass it to compose-mail.
2778 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2780 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2781 menus. Add menu item for customize-themes.
2783 * cus-theme.el (customize-themes):
2784 * emacs-lisp/package.el (package--list-packages):
2785 Use switch-to-buffer.
2787 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2789 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2791 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2793 * progmodes/prolog.el: Fix up coding convention and such.
2794 (prolog-indent-width): Use the same default as in
2795 previous prolog.el rather than tab-width which depends on which buffer
2796 is current when the file is loaded.
2797 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2799 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2800 (prolog-known-systems): Remove.
2801 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2802 Move initialization into declaration.
2803 (prolog-mode-map): Move initialization into declaration.
2804 Remove system-specific mode-map vars, since they referred to the same
2806 (prolog-mode-variables): Obey the user's preference w.r.t
2807 adaptive-fill-mode. Prefer symbol-value to `eval'.
2808 (prolog-mode-keybindings-edit): Add compatibility bindings.
2809 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2810 (mercury-mode-map): New var.
2811 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2812 (prolog-ensure-process, prolog-process-insert-string)
2813 (prolog-consult-compile): Use with-current-buffer.
2814 (prolog-guess-fill-prefix): Simplify data flow.
2815 (prolog-replace-in-string): New function to use instead of
2817 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2818 (prolog-uncomment-region): Use `uncomment-region' when available.
2819 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2820 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2821 of int-to-char and char-to-int.
2822 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2824 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2826 * progmodes/prolog.el: Replace by a whole new file.
2828 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2831 (declare-function, undefined, insert-for-yank)
2832 (replace-regexp-in-string): Follow checkdoc's recommendations.
2834 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2837 refreshing the diary buffer.
2839 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2841 * allout.el: Add 2011 to the file copyright.
2842 (allout-encrypt-string): Prevent encryption from adding an extra
2843 newline at the end of the topic body.
2844 (allout-version): Increment to 2.3.
2846 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2848 * net/dbus.el (dbus-unregister-service): Complete doc.
2849 Fix call of dbus-error signal.
2850 (dbus-register-property): Use `dont-register' keyword.
2852 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2854 * net/dbus.el (dbus-unregister-service): Translate returned
2855 integer into a symbol.
2856 (dbus-register-property): Use `dbus-register-service' to do the
2859 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2861 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2862 Suggested by Joakim Verona.
2864 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2866 * wid-edit.el (visibility): Replace :on-image and :off-image
2867 widget properties with :on-glyph and :off-glyph, for consistency
2868 with the `visibility' widget.
2869 (widget-toggle-value-create, widget-visibility-value-create):
2870 Merge into a single function `widget-toggle-value-create'.
2872 * cus-edit.el (custom-variable-value-create, custom-visibility)
2873 (custom-face-edit-value-create, custom-face-value-create):
2874 Replace :on-image and :off-image widget properties with :on-glyph and
2875 :off-glyph, for consistency with the `visibility' widget.
2877 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2879 * net/ldap.el (ldap-search-internal): Don't use eval.
2881 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2883 * subr.el (read-char-choice): Use read-key.
2885 * custom.el (custom-safe-themes): Rename from
2886 custom-safe-theme-files. Add :risky tag.
2887 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2888 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2890 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2892 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2893 from Search and add a label to Undo.
2895 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2896 inappropriate buttons and adding :vert-only tags.
2898 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2899 removal of Help tool-bar button. Remove Undo button for space.
2901 * info.el (info-tool-bar-map): Add :vert-only tags.
2903 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2905 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2906 image backend support. Either of them is fine.
2908 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2910 * subr.el (y-or-n-p): Doc fix.
2912 * custom.el (custom-safe-theme-files): New defcustom.
2913 (custom-theme-load-confirm): New function.
2914 (load-theme): Load theme using `load', confirming with
2915 custom-theme-load-confirm if necessary.
2917 * subr.el (read-char-choice): New function, factored out from
2918 dired-query and hack-local-variables-confirm.
2920 * dired-aux.el (dired-query):
2921 * files.el (hack-local-variables-confirm): Use it.
2923 * dired-aux.el (dired-compress-file):
2924 * files.el (abort-if-file-too-large, find-alternate-file)
2925 (set-visited-file-name, write-file, backup-buffer)
2926 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2927 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2928 Use new format string args for y-or-n-p and yes-or-no-p.
2930 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2932 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2933 [gcc-include]: Tighten file name match, add match for column
2935 [gnu]: Remove unused group.
2937 2011-01-08 Glenn Morris <rgm@gnu.org>
2939 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2941 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2943 2011-01-07 Sam Steingold <sds@gnu.org>
2945 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2946 the `explicit-shell-file-name' because that is the
2947 non-interactive shell.
2949 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2951 * subr.el (y-or-n-p): Accept format string args.
2953 2011-01-07 Glenn Morris <rgm@gnu.org>
2955 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2957 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2959 * allout.el (allout-back-to-current-heading): Ensure return to
2960 the visible containing topic, rather than a collapsed one.
2961 (allout-view-change-hook): Remove hook that was deprecated long ago.
2962 (allout-exposure-change-hook): Remove documentation remarks
2963 concerning removed allout-view-change-hook.
2964 (allout-flag-region): Remove invocation of and documentation
2965 remarks concerning allout-view-change-hook.
2967 2011-01-06 Glenn Morris <rgm@gnu.org>
2969 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2970 (vc-bzr-annotate-extract-revision-at-line):
2971 Handle authors with embedded spaces. (Bug#7792)
2973 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2975 * doc-view.el (doc-view-image-width): New variable.
2976 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2977 backend for PNG images, and do dynamic rescaling instead of
2978 reconverting the whole doc.
2980 2011-01-05 Glenn Morris <rgm@gnu.org>
2982 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2984 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2986 * allout.el: Reconcile with changes in line movement behavior for
2987 long text lines that cross more than a single physical window
2988 line, ie when truncate-lines is nil.
2989 (allout-next-visible-heading): Provide for change in line-move
2990 behavior on long lines when truncate-lines is nil. In that case,
2991 line-move can wind up on the same textual line when it moves to
2992 the next window line, and moving to the bullet position after the
2993 move yields zero advancement. Add logic to detect and compensate
2994 for the lack of progress.
2995 (allout-current-topic-collapsed-p): move-end-of-line respect for
2996 field boundaries is different when operating with body lines
2997 shorter than window width versus ones greater than window width,
2998 which can yield false negatives in this function. Avoid
2999 difference by applying move-end-of-line while field-text-motion is
3002 2011-01-04 Glenn Morris <rgm@gnu.org>
3004 * textmodes/rst.el (rst-compile-toolsets):
3005 Add pdf and s5 to option alist.
3007 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3009 * net/dbus.el (dbus-register-property): Add optional parameter
3010 dont-register-service. Updated docstring accordingly.
3012 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3014 * textmodes/rst.el (rst-compile-pdf-preview)
3015 (rst-compile-slides-preview): Remove extra line.
3017 2011-01-04 Glenn Morris <rgm@gnu.org>
3019 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3020 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3021 default to `prog' without a .py extension.
3022 (rst-compile-pdf-preview, rst-compile-slides-preview):
3023 Use program names from rst-compile-toolsets, rather than hard-coding.
3024 (rst-portable-mark-active-p): Fix presumed typo.
3026 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3028 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3029 libpng versions both before and after 1.4.0. (Bug#7716)
3031 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3033 * time.el (display-time-mode): Mention display-time-interval in
3034 the doc string. (Bug#7713)
3036 2011-01-02 Kenichi Handa <handa@m17n.org>
3038 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3039 condition-case and return an error message string if something
3041 (rmail-show-mime): Adjust for the above change. Insert the
3042 header by rmail-mime-insert-header.
3044 2011-01-02 Kenichi Handa <handa@m17n.org>
3046 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3047 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3048 (rmail-mime-mbox-buffer)
3049 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3050 (rmail-mime-entity): Argument changed. All codes handling an
3051 entity object are changed.
3052 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3054 (rmail-mime-entity-children, rmail-mime-entity-handler)
3055 (rmail-mime-entity-tagline): New functions.
3056 (rmail-mime-message-p): New function.
3057 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3058 (rmail-mime-entity-segment, rmail-mime-next-item)
3059 (rmail-mime-previous-item, rmail-mime-shown-mode)
3060 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3061 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3062 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3064 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3065 (rmail-mime-insert-decoded-text): New function.
3066 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3067 (rmail-mime-insert-image): Argument changed. Caller changed.
3068 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3069 (rmail-mime-set-bulk-data): New function.
3070 (rmail-mime-insert-bulk): Argument changed.
3071 (rmail-mime-multipart-handler): Return t.
3072 (rmail-mime-process-multipart): Argument changed.
3073 Handle "multipart/alternative" here.
3074 (rmail-mime-process): Argument changed.
3075 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3076 (rmail-mime-insert): Argument changed. Handle raw display mode.
3077 (rmail-mime): Argument changed. Handle toggling of raw display
3079 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3080 rmail-mime-view-buffer.
3081 (rmail-insert-mime-forwarded-message): Likewise.
3082 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3084 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3085 non-nil, handle the header in rmail-show-mime-function.
3087 2011-01-02 Leo <sdl.web@gmail.com>
3089 * help-fns.el (describe-variable): Fix previous change.
3091 2011-01-02 Juri Linkov <juri@jurta.org>
3093 * isearch.el (isearch-lazy-highlight-error): New variable.
3094 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3095 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3096 to the current value of `isearch-error' (Bug#7468).
3098 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3100 * help-fns.el (describe-variable): Don't emit trailing whitespace
3103 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3105 * textmodes/rst.el (rst-compile-pdf-preview)
3106 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3108 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3110 * emulation/edt-mapper.el: Override mapping of function keys so
3111 that the later call to read-key-sequence works.
3113 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3115 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3116 Unix EOLs. (Bug#7589)
3118 2011-01-02 Leo <sdl.web@gmail.com>
3120 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3121 if point is not behind eshell-last-output-end (Bug#7585).
3123 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3125 * files.el (file-local-variables-alist):
3126 Make permanent-local (bug#7767).
3128 2011-01-02 Glenn Morris <rgm@gnu.org>
3130 * version.el (emacs-copyright): Set short copyright year to 2011.
3132 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3134 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3135 an existing temp buffer. (Bug#7746)
3137 2011-01-02 Glenn Morris <rgm@gnu.org>
3139 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3140 multiple addresses. (Bug#7760)
3142 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3144 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3145 do-auto-fill if everything points back to allout-auto-fill.
3146 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3147 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3149 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3151 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3154 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3156 * doc-view.el (doc-view-set-doc-type): New function refactored
3158 (doc-view-fallback-mode): New function.
3159 (doc-view-mode): Use it.
3160 (doc-view-mode-maybe): New function that checks if doc-view-mode
3161 can be used and falls back to the next best mode otherwise.
3163 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3164 DVI, OpenDocument, and MS Office files.
3166 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3168 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3170 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3172 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3173 on a copy of auto-mode-alist, because that deletes with side
3176 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3178 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3179 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3180 fallback instead of hard coding fundamental mode.
3182 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3184 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3185 Office) files also for searching.
3187 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3189 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3190 Office) files. Not yet enabled via auto-mode-list.
3191 (doc-view-unoconv-program): New custom variable.
3192 (doc-view-mode-p): Handle new odf document type.
3193 (doc-view-odf->pdf): New conversion function.
3194 (doc-view-convert-current-doc): Call it for odf files.
3195 (doc-view-mode): Recognize newly supported file extensions.
3197 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3199 * net/tramp.el (tramp-default-method-alist)
3200 (tramp-default-user-alist)
3201 (tramp-local-host-regexp, tramp-prefix-domain-format)
3202 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3205 * net/tramp-gvfs.el:
3207 * net/tramp-imap.el:
3209 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3210 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3212 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3214 * saveplace.el (save-place-alist-to-file): Save list sorted and
3215 pretty-printed, so that it is mergeable by line-based text merging,
3216 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3218 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3220 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3221 (allout-mode): Argument "toggle" => "force".
3222 Refine the docstring.
3223 Remove special provisions for reactivation, besides the 'force'
3225 Consolidate layout provisions coce directly into the activation
3226 condition branch, now that we've removed those provisions.
3227 (allout-unload-function): Explicitly activate the mode before
3228 deactivating, if it's initially deactivated.
3229 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3230 warnings for version of function used only where
3231 set-buffer-multibyte is unavailable.
3233 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3235 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3236 are handled by the menu-bar entries. As before, don't use
3237 :visibile to avoid changing the tool-bar.
3239 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3241 * net/secrets.el (secrets-delete-alias): New defun.
3243 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3245 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3246 methods, otherwise ~/.ssh/config would be ignored.
3248 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * emacs-lisp/rx.el: Make it a superset of sregex.
3251 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3252 of args, add `regex' alias.
3253 (rx-info): Add arg to distinguish head and standalone forms.
3254 (rx-check, rx-form): Pass the corresponding arg.
3256 (rx-repeat): Make it work for any number of args.
3257 (rx-syntax): Make it accept syntax chars as is.
3258 * obsolete/sregex.el: Move from emacs-lisp/.
3259 * emacs-lisp/re-builder.el: Remove sregex support.
3260 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3262 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3264 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3265 PRIMARY first, then the clipboard. (Bug#7699)
3267 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3272 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3274 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3275 .emacs.elc (Bug#7530).
3277 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3278 image spec (Bug#7480).
3280 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3282 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3283 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3286 2010-12-20 Leo <sdl.web@gmail.com>
3288 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3289 always be performed (Bug#7680).
3291 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3293 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3294 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3297 * color.el: Move from gnus/.
3299 * vc/diff.el (diff-better-file-name): Function deleted.
3300 abbreviating file names causes problems with shell-quote-argument.
3301 (diff-no-select): Just use expand-file-name.
3303 * tool-bar.el (tool-bar--image-expression): New function.
3304 (tool-bar-local-item, tool-bar--image-exp): Use it.
3305 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3306 Use :enable instead of :visible to avoid changing the tool-bar
3307 configuration unnecessarily.
3309 * info.el (info-tool-bar-map): Add separators.
3311 2010-12-17 Ken Brown <kbrown@cornell.edu>
3313 * loadup.el: Use version numbers in Cygwin build.
3315 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3317 * ido.el (ido-file-internal): Ask for confirmation before
3318 overwriting an existing file (Bug#1238).
3320 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3322 * tool-bar.el (tool-bar-setup): Add separators.
3324 * menu-bar.el (featurep): Use menu-bar-separator.
3326 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3328 Migrate allout encryption provisions from pgg to epg.
3330 * allout.el (allout-toggle-current-subtree-encryption)
3331 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3332 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3333 for simpler universal argument interpretation.
3334 (allout-toggle-subtree-encryption): Adjust docstring to describe
3335 changed encryption provisions. Change fetch-pass to keymode-cue, for
3336 simpler universal argument interpretation. Remove provisions for
3337 handling key type and identity - they'll all be within
3338 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3339 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3340 for keypair recipients (universal argument > 1) and, in addition,
3341 associating the specified recipients with the outline (universal
3342 argument > 4) using a file local variable setting for
3343 'epa-file-encrypt-to'.
3344 Require epa, for recipients handling.
3345 Change how regexp filtering elements are named.
3346 Describe the problem with caching of incorrect symmetric-decryption
3348 Use the epa-passphrase-callback-function, in case the user is using
3350 Support saving of the selected keypair recipients when invoked with a
3352 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3354 Establish epg-context with armoring and default epg-protocol.
3355 Remove all passphrase cache, verification, and hinting code.
3356 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3357 No longer used, delete.
3358 (allout-mode): Adjust docstring to describe changed encryption
3359 provisions. Describe the problem with caching of incorrect
3360 symmetric-decryption keys.
3361 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3362 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3363 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3364 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3367 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3369 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3370 key selection prompt; make 'silent as default (Bug#7487).
3372 2010-12-16 Leo <sdl.web@gmail.com>
3374 * eshell/eshell.el (eshell-directory-name):
3375 Use locate-user-emacs-file (Bug#7578).
3377 2010-12-15 Glenn Morris <rgm@gnu.org>
3379 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3381 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3382 Scott Evans <gse@antisleep.com>
3384 * rect.el (rectange--default-line-number-format)
3385 (rectangle-number-line-callback): New functions.
3386 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3388 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3390 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3391 Delete unused variables.
3392 (move-to-column-force): Remove function obsolete since 21.2.
3394 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3396 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3397 (tramp-handle-insert-file-contents): Do not set permanent-local
3400 * net/tramp-cache.el (tramp-persistency-file-name):
3401 Use `locate-user-emacs-file' if fboundp.
3403 * net/tramp-sh.el (tramp-methods): Add "ksu".
3404 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3407 2010-12-14 Glenn Morris <rgm@gnu.org>
3409 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3410 (find-tag-marker-ring): Declare.
3411 (js-find-symbol): Require etags.
3413 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3415 (mail-alias-file): Don't autoload. Doc fix.
3416 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3417 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3418 Mark as obsolete, and risky.
3419 (mail-setup): Simplify.
3421 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3422 * mail/sendmail.el (build-mail-aliases): Update autoload.
3424 * dired.el (dired-trivial-filenames, dired-chown-program)
3425 (dired-auto-revert-buffer): Remove autoload cookies.
3426 * mail/sendmail.el (mail-recover-1): Require 'dired.
3428 * dired.el (dired-subdir-switches, dired-chown-program)
3429 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3430 Make into defcustoms.
3431 (dired-chown-program): Simplify initialization.
3433 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3435 2010-12-13 Romain Francoise <romain@orebokech.com>
3437 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3439 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3441 * net/netrc.el (netrc-point-at-eol): Remove the unused
3442 netrc-point-at-old and netrc-bound-and-true-p bindings.
3443 (netrc-parse): Cache the netrc contents.
3445 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3447 * subr.el (posn-col-row): Evaluate header-line-format in the
3448 context of the POSITION window's buffer.
3450 2010-12-13 Glenn Morris <rgm@gnu.org>
3452 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3453 (with-silent-modifications): Doc fixes.
3455 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3457 * net/tramp.el (tramp-action-password, tramp-process-actions):
3458 Revert previous from. Use `save-restriction'.
3460 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3462 * calendar/diary-lib.el (diary-list-sexp-entries):
3463 Handle case of no newline at end of file. (Bug#7536)
3465 2010-12-13 Glenn Morris <rgm@gnu.org>
3467 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3469 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3471 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3472 (tramp-process-actions): Do not widen.
3474 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3475 Protect buffer-modified value. (Bug#7557)
3477 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3479 * log-edit.el (log-edit-changelog-entries):
3480 Regexp quote filename. (Bug#7505)
3482 2010-12-13 Tom Breton <tehom@panix.com>
3484 * cus-edit.el (custom-save-all):
3485 Bind print-length and print-level to nil. (Bug#7581)
3487 2010-12-13 Glenn Morris <rgm@gnu.org>
3489 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3490 Run hooks to update menu contents. (Bug#7586)
3492 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3493 file names, for the sake of MS Windows. (Bug#7588)
3495 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3497 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3498 empty lines without a leading space.
3500 2010-12-13 Leo <sdl.web@gmail.com>
3502 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3503 while mapping over marks (Bug#6810).
3505 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3507 * image-dired.el (image-dired-db-file)
3508 (image-dired-temp-image-file, image-dired-gallery-dir)
3509 (image-dired-temp-rotate-image-file): Set default values relative
3510 to image-dired-dir (Bug#7518).
3512 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3514 * format.el (format-decode-run-method): Pass args FROM and TO, not
3515 point-min and point-max, to shell-command-on-region (Bug#7488).
3517 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3519 * frame.el (blink-cursor-mode): Make default t for ns.
3521 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3523 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3525 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3527 * comint.el (comint-dynamic-list-input-ring)
3528 (comint-dynamic-complete-filename)
3529 (comint-replace-by-expanded-filename)
3530 (comint-dynamic-simple-complete)
3531 (comint-dynamic-list-filename-completions)
3532 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3534 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3537 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3539 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3542 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3544 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3547 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3549 * files.el (file-relative-name): Handle UNC file names on
3550 DOS/Windows. (Bug#4674)
3552 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3554 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3555 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3556 (epg-context-set-passphrase-callback): Mention that the callback
3557 is not called when used with GnuPG 2.x.
3559 2010-12-13 Glenn Morris <rgm@gnu.org>
3561 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3562 Ensure ps-footer-font-size-internal is initialized.
3563 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3565 2010-12-13 Kenichi Handa <handa@m17n.org>
3567 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3568 within condition-case.
3569 (rmail-show-mime): Don't use condition-case.
3570 (rmail-search-mime-message): New function.
3571 (rmail-search-mime-message-function): Set to
3572 rmail-search-mime-message.
3574 2010-12-13 Leo <sdl.web@gmail.com>
3576 * ido.el (ido-common-initialization): New function. (bug#3274)
3578 (ido-completing-read): Call it.
3580 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3582 * bookmark.el (bookmark-name-from-full-record): Rename back to
3583 this original name from `bookmark-name-from-record' reverting part
3584 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3585 As Drew Adams pointed out, there was no reason to cause churn for
3586 third-party callers. (Bug#7609)
3588 2010-12-12 Alan Mackenzie <acm@muc.de>
3590 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3591 template arglist, check that the current language supports this.
3593 2010-12-11 Glenn Morris <rgm@gnu.org>
3595 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3596 state of the file matches. (Bug#7544)
3597 (vc-bzr-register, vc-bzr-checkin)
3598 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3599 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3601 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3603 2010-12-11 Karel Klíč <kklic@redhat.com>
3605 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3607 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3609 Derive from prog-mode, use derived-mode-p, and fix up various
3610 minor style issues in lisp/progmodes.
3612 * progmodes/vhdl-mode.el (vhdl-mode):
3613 * progmodes/verilog-mode.el (verilog-mode):
3614 * progmodes/vera-mode.el (vera-mode):
3615 * progmodes/sql.el (sql-mode):
3616 * progmodes/scheme.el (scheme-mode):
3617 * progmodes/perl-mode.el (perl-mode):
3618 * progmodes/octave-inf.el (inferior-octave-mode):
3619 * progmodes/autoconf.el (autoconf-mode):
3620 * progmodes/m4-mode.el (m4-mode):
3621 * progmodes/inf-lisp.el (inferior-lisp-mode):
3622 * progmodes/idlwave.el (idlwave-mode):
3623 * progmodes/icon.el (icon-mode):
3624 * progmodes/idlw-help.el (idlwave-help-mode):
3625 * progmodes/dcl-mode.el (dcl-mode):
3626 * progmodes/idlw-shell.el (idlwave-shell-mode):
3627 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3628 (ebrowse-member-mode, ebrowse-electric-position-mode):
3629 Use define-derived-mode.
3631 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3632 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3633 (xscheme-debugger-mode-p, xscheme-send-string-1):
3634 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3635 (tcl-load-file, tcl-restart-with-file):
3636 * progmodes/ps-mode.el (ps-run-running):
3637 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3638 * progmodes/js.el (js--get-all-known-symbols):
3639 * progmodes/inf-lisp.el (inferior-lisp-proc):
3640 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3641 (idlwave-template, idlwave-update-buffer-routine-info)
3642 (idlwave-update-current-buffer-info)
3643 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3644 (idlwave-scan-class-info, idlwave-fix-keywords)
3645 (idlwave-list-buffer-load-path-shadows):
3646 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3647 (idlwave-toolbar-remove):
3648 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3649 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3650 (idlwave-shell-menu-def):
3651 * progmodes/idlw-complete-structtag.el
3652 (idlwave-prepare-structure-tag-completion):
3653 * progmodes/gud.el (gud-set-buffer):
3654 * progmodes/f90.el (f90-backslash-not-special):
3655 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3657 * progmodes/xscheme.el (xscheme-start)
3658 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3659 * progmodes/which-func.el (which-function):
3660 * progmodes/vhdl-mode.el (vhdl-set-style):
3661 * progmodes/verilog-mode.el (verilog-set-compile-command)
3662 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3663 (verilog-set-define, verilog-auto-reeval-locals):
3664 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3665 * progmodes/simula.el (simula-mode):
3666 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3667 * progmodes/python.el (python-check, python-mode):
3668 * progmodes/prolog.el (prolog-mode-variables):
3669 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3670 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3671 * progmodes/delphi.el (delphi-mode):
3672 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3673 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3674 (c-font-lock-init): Move make-local-variable to their setq.
3676 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3677 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3679 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3680 (sh-set-shell): Don't set require-final-newline since it's already done
3682 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3683 since we never set it.
3684 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3685 Use read-string and standard prompt.
3686 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3687 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3688 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3689 (meta-common-mode-map): Rename from meta-mode-map.
3690 Remove C-m binding, which is a user preference, not mode specific.
3691 (meta-common-mode): New major mode; replace meta-common-initialization.
3692 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3693 around with font-lock.
3694 * progmodes/etags.el (select-tags-table-mode):
3695 Derive from special-mode.
3696 * progmodes/octave-mod.el (octave-mode):
3697 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3698 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3699 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3700 Let define-derived-mode do its job.
3701 * progmodes/cpp.el (cpp-edit-mode-map):
3702 Move initialization into declaration.
3703 (cpp-edit-mode): Use define-derived-mode.
3704 (cpp-edit-load): Use derived-mode-p.
3705 * progmodes/mixal-mode.el (mixal-mode):
3706 * progmodes/f90.el (f90-mode):
3707 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3708 require-final-newline since prog-mode does it already.
3709 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3710 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3711 * progmodes/antlr-mode.el: Require cc-mode upfront.
3712 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3714 (antlr-directory-dependencies, antlr-show-makefile-rules):
3716 (antlr-language-option): Don't assume point-min==1.
3717 (antlr-mode): Use define-derived-mode.
3718 * progmodes/ada-mode.el: Use derived-mode-p.
3719 (ada-mode): Use define-derived-mode.
3720 Use hack-local-variables-hook.
3722 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3725 (texinfo-mode): Don't disable adaptive-fill-mode.
3726 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3727 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3728 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3729 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3730 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3731 (texinfo-insert-@quotation, texinfo-insert-@samp)
3732 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3733 (texinfo-insert-@uref): Use define-skeleton.
3734 (texinfo-insert-@-with-arg): Delete.
3736 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3738 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3739 nil, do quote archive member names. (Bug#6144)
3741 2010-12-10 Glenn Morris <rgm@gnu.org>
3743 * files.el (diff-no-select): Declare.
3745 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3746 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3748 * comint.el (comint-input-ring-file-name): Doc fix.
3750 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3752 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3754 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3755 Use them instead of `nil' and `>', respectively.
3756 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3758 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3759 and menu-bar-positive-p instead of `nil' and `>', respectively.
3762 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3764 * whitespace.el (whitespace-newline-mode): Code fix.
3766 2010-12-09 Glenn Morris <rgm@gnu.org>
3768 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3769 Rename functions without commas, update callers.
3771 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3773 * whitespace.el (whitespace-cleanup-region):
3774 Clean up spaces before tabs. (Bug#7582)
3776 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3778 * bookmark.el: Adjust parameter names and doc strings to resolve
3779 confusion over whether "bookmark" meant a bookmark name or a
3780 bookmark record. Along the way, shorten one function's name for
3781 similar reasons. (Issue #7548)
3782 (bookmark-name-from-record): New name for
3783 `bookmark-name-from-full-record'. All callers changed.
3784 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3785 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3786 (bookmark-get-annotation, bookmark-set-annotation)
3787 (bookmark-get-filename, bookmark-set-filename)
3788 (bookmark-get-position, bookmark-set-position)
3789 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3790 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3791 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3792 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3793 Rename `bookmark' parameter to `bookmark-name-or-record', to
3794 clearly show its role, and shorten or adjust doc strings accordingly.
3795 (bookmark-set-name): Same, and pass the parameter directly to
3796 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3797 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3798 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3799 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3800 and in some cases shorten doc string accordingly.
3801 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3802 and `new-name', and adjust an internal variable to avoid confusion.
3803 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3804 parameter in doc string.
3806 2010-12-08 Glenn Morris <rgm@gnu.org>
3808 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3809 from gdb's history file. (Bug#7575)
3811 * mail/emacsbug.el (report-emacs-bug):
3812 Try to handle some other mail clients.
3814 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3817 Use string-prefix-p.
3818 (file-name-version-regexp): New var.
3819 (file-name-sans-versions):
3820 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3821 (jka-compr-get-compression-info): Use dolist.
3822 (jka-compr-compression-info-list): Don't bother specifying
3823 version/backup regexps.
3825 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3827 * simple.el (just-one-space): Make argument n default to 1 if
3830 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3832 * electric.el (electric-indent-post-self-insert-function):
3833 Delete trailing newlines even if we don't reindent.
3835 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3837 * minibuffer.el (completion-at-point): Remove the `arg'.
3838 * bindings.el (complete-symbol): Move back from minibuffer.el.
3840 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3842 * simple.el (just-one-space): Delete newlines for negative arg.
3844 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3846 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3847 (ansi-color-filter-apply): Simplify.
3848 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3850 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3852 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3854 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3856 * dired.el (dired-use-ls-dired): Set default to a special
3857 "unspecified" value.
3858 (dired-insert-directory): When called the first time, check
3859 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3861 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3863 * replace.el: Add "collect" feature to occur.
3864 (occur-collect-regexp-history): New var.
3865 (occur-read-primary-args): Return a replace string for nlines,
3867 (occur): Extend the meaning of nlines.
3869 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3872 (which-func-update-1): Distinguish symbols from strings.
3873 (which-function): Stay within 80 columns.
3875 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3877 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3879 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3881 (comment-style): Use comment-styles's docs to describe values.
3883 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3885 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3886 and ns-show-prefs (Bug#7535).
3888 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3889 bindings (Bug#7535).
3891 2010-12-03 Glenn Morris <rgm@gnu.org>
3893 * nxml/nxml-mode.el: Require rng-nxml.
3894 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3895 Remove declarations.
3897 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3898 * nxml/rng-nxml.el, nxml/rng-valid.el:
3899 Remove leading `*' from defcustom docs.
3901 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3902 (normal-top-level-add-to-load-path, tty-handle-args):
3903 Convert comments to basic doc-strings.
3905 * net/browse-url.el (browse-url-url-at-point)
3906 (browse-url-default-browser): Remove autoload cookies.
3908 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3909 Remove more undefined cl functions.
3911 * vc/diff.el (diff-sentinel): Make new arguments optional.
3912 * ibuf-ext.el (diff-sentinel): Update declaration.
3914 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3916 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3917 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3918 (epg-context-set-passphrase-callback): Mention that the callback
3919 is not called when used with GnuPG 2.x.
3921 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3923 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3924 (tramp-file-name-port): Check also for `tramp-default-port'.
3925 (tramp-get-connection-name): New defun.
3926 (tramp-get-connection-process): Use it.
3927 (tramp-debug-message): Extend function exclude list.
3928 (tramp-drop-volume-letter): Fix doc string.
3930 * net/tramp-cmds.el: Remove solved todo item.
3933 * net/tramp-gvfs.el:
3935 * net/tramp-imap.el:
3936 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3937 and `tramp-default-user-alist', respectively.
3939 * net/tramp-gw.el (tramp-gw-open-connection):
3940 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3942 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3943 `tramp-file-name-port'.
3945 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3946 and "psftp". Exchange "%k" marker with options.
3947 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3948 Compute size of link target.
3949 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3950 `tramp-current-*' up due to gateway methods. Optimize computing of
3951 copy arguments. Use `tramp-get-connection-name' and
3952 `tramp-get-connection-buffer'. Improve debug messages.
3953 (tramp-compute-multi-hops): Remove port determination.
3954 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3956 * net/trampver.el: Update release number.
3958 2010-12-02 Glenn Morris <rgm@gnu.org>
3960 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3961 Avoid infinite loop over windows. (Bug#7492)
3963 * progmodes/flymake.el (flymake-check-file-limit):
3964 Allow nil to mean "no limit".
3965 (flymake-check-patch-master-file-buffer): Update for above change.
3966 Allow a .tex file-name extension to be optional.
3967 (flymake-master-tex-init): Also match \include statements.
3969 2010-11-30 Sam Steingold <sds@gnu.org>
3971 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3972 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3973 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3974 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3975 define-derived-mode').
3976 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3977 users who want to call `nxml-parent-document-set'.
3979 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3981 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3982 stand-alone lines, since that is handled by log-edit-match-to-eoh
3985 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3987 * dired.el (dired-get-filename): Replace backslashes with slashes
3988 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3989 * locate.el (locate-default-make-command-line): Don't consider
3990 drive letter and root directory part of
3991 `directory-listing-before-filename-regexp'. (Bug#7308)
3992 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3994 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3997 of :smie-open/close-alist.
3998 (smie-next-sexp): Make it accept a "start token" as argument.
3999 (smie-indent-keyword): Be careful not to misidentify tokens that span
4000 more than one line, as empty lines. Add argument `token'.
4002 2010-11-27 Kenichi Handa <handa@m17n.org>
4004 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4005 multipart subtypes, insert all as usual.
4007 * mail/rmail.el: Require rfc2047.
4009 2010-11-27 Kenichi Handa <handa@m17n.org>
4011 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4012 (rmail-mime-entity-disposition)
4013 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4014 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4015 (rmail-mime-save): Handle the case that the button's `data' is a
4017 (rmail-mime-insert-text): New function.
4018 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4019 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4020 (rmail-mime-insert-bulk): New function mostly copied from the old
4021 rmail-mime-bulk-handler.
4022 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4023 (rmail-mime-process-multipart): New function mostly copied from
4024 the old rmail-mime-multipart-handler.
4025 (rmail-mime-show): Just call rmail-mime-process.
4026 (rmail-mime-process): New function mostly copied from the old
4028 (rmail-mime-insert-multipart, rmail-mime-parse)
4029 (rmail-mime-insert, rmail-show-mime)
4030 (rmail-insert-mime-forwarded-message)
4031 (rmail-insert-mime-resent-message): New functions.
4032 (rmail-insert-mime-forwarded-message-function): Set to
4033 rmail-insert-mime-forwarded-message.
4034 (rmail-insert-mime-resent-message-function): Set to
4035 rmail-insert-mime-resent-message.
4037 * mail/rmailsum.el: Require rfc2047.
4038 (rmail-header-summary): Handle multiline Subject: field.
4039 (rmail-summary-line-decoder): Change the default to
4040 rfc2047-decode-string.
4042 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4043 (rmail-mime-feature): Change the default to `rmailmm'.
4044 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4045 (rmail-display-labels): Likewise.
4046 (rmail-show-message-1): Check rmail-enable-mime, and use
4047 rmail-show-mime-function for a MIME message. Decode the headers
4048 according to RFC2047.
4050 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * progmodes/which-func.el (which-func-imenu-joiner-function):
4053 Return a string, as expected.
4054 (which-function-mode): Make sure we stop any previous timer before
4057 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4059 * net/tramp.el (tramp-default-method-alist)
4060 (tramp-default-user-alist, tramp-default-proxies-alist):
4061 Adapt custom options type. (Bug#7445)
4063 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4065 * progmodes/python.el: Add Ipython support (Bug#5390).
4066 (python-shell-prompt-alist)
4067 (python-shell-continuation-prompt-alist): New options.
4068 (python--set-prompt-regexp): New function.
4069 (inferior-python-mode, run-python, python-shell):
4070 Require ansi-color. Use python--set-prompt-regexp to set the comint
4071 prompt based on the Python interpreter.
4072 (python--prompt-regexp): New var.
4073 (python-check-comint-prompt)
4074 (python-comint-output-filter-function): Use it.
4075 (run-python): Use a pipe (Bug#5694).
4077 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4079 * progmodes/python.el (run-python): Doc fix.
4080 (python-keep-current-directory-in-path): New var (Bug#7454).
4082 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4084 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4085 Prompt user before actually printing.
4087 2010-11-27 Glenn Morris <rgm@gnu.org>
4089 * startup.el (package-enable-at-startup, package-initialize):
4090 Remove unnecessary declarations.
4092 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4094 * international/characters.el (glyphless-char-display-control):
4095 Exclude newline and TAB from the c0-control group.
4097 2010-11-27 Glenn Morris <rgm@gnu.org>
4099 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4100 (expand-mail-aliases): Remove unnecessary autoload.
4102 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4104 * shell.el (shell-dir-cookie-re): Move definition before use.
4106 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4107 Replace undefined CL functions.
4109 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4111 * simple.el (prog-mode): Set bidi-paragraph-direction to
4114 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4116 2010-11-26 Glenn Morris <rgm@gnu.org>
4118 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4119 diary-outlook-formats can be sensitive to calendar-date-style.
4120 (diary-outlook-formats): Simplify the default setting.
4121 (diary-from-outlook-internal): Pass subject and body as arguments.
4122 Use dolist rather than dotimes. Don't save the diary buffer.
4123 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4124 Pass subject and body as explicit arguments to the -internal function.
4126 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4128 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4129 parsing them. This makes mailto:...?subject=foo\nbar work.
4131 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * vc/diff.el (diff): Fix last change.
4135 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4138 (pcase--dontcare-upats): New var.
4139 (pcase-let, pcase-let*): Generate better code.
4140 Accept the same bodies as `let'.
4141 (pcase-dolist): New macro.
4142 (pcase--trivial-upat-p): New helper function.
4143 (pcase--expand): Strip leading "(let nil" if any.
4145 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147 * mail/mailclient.el (browse-url): Require.
4148 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4149 use the external browser function to send the mail (bug#7469).
4151 * net/browse-url.el (browse-url-browser-function): Revert the
4152 default back to the previous value, since the new value broke
4154 (browse-url-mailto-function): New variable for mailto: URLs.
4155 (browse-url): Use the new variable for mailto: URLs.
4157 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4159 * eshell/esh-cmd.el (eshell-parse-command):
4160 * eshell/esh-arg.el (eshell-parse-arguments):
4161 * eshell/em-script.el (eshell-source-file):
4162 Use with-silent-modifications.
4164 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4166 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4167 for a merge location.
4169 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4170 (vc-bzr-merge-branch): Always prompt.
4171 (vc-bzr-async-command): Use the full branch filename.
4173 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * shell.el (shell): Use current-buffer by default if it's already
4176 a shell mode buffer and its process is dead.
4177 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4179 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4181 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4182 Mention that the keywords should be comma separated.
4184 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4186 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4187 Accept optional prefix arg meaning to prompt for a command.
4188 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4189 prefix arg meaning to prompt for a command.
4190 (vc-pull): Alias for vc-update.
4192 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4193 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4194 (vc-bzr-merge-branch): New functions, implementing merge-branch
4195 and pull operations.
4197 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4199 * Makefile.in: Fix up last merge.
4201 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4202 (diff-sentinel): Get them as arguments instead.
4203 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4204 (diff-file-local-copy, diff-better-file-name): New funs.
4205 (diff-no-select): Rename from diff-into-buffer.
4206 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4207 Prefer closures to buffer-local variables.
4208 (diff): Adjust accordingly.
4209 (diff-buffer-with-file): Move from files.el.
4210 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4211 (diff-buffer-internal): Remove.
4212 (diff-buffer-buffer): Remove.
4213 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4214 the buffer name used, and so as not to mess up windows and frames.
4216 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4218 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4219 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4220 (diff-buffer-with-file): Use it.
4221 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4224 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4226 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4227 \ref's or \pageref's value as default instead of initial input.
4229 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4231 * files.el (backup-by-copying-when-mismatch): The default value is
4234 * startup.el (normal-top-level):
4235 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4236 `backup-by-copying-when-mismatch'.
4238 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4240 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4242 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4244 * progmodes/python.el (python-font-lock-keywords):
4245 Highlight top-level augmented assignments (Bug#6445).
4247 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4249 * term/ns-win.el (ns-right-control-modifier)
4250 (ns-right-command-modifier): Defvar them.
4252 * cus-start.el (all): Add ns-right-control-modifier and
4253 ns-right-command-modifier (Bug#7458).
4255 2010-11-20 Glenn Morris <rgm@gnu.org>
4257 * emacs-lisp/authors.el (authors-ignored-files)
4258 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4260 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4262 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4263 (report-emacs-bug-parse-query-results)
4264 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4265 keywords used for querying the bug database to show them in the
4266 existing bugs buffer.
4268 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4270 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4272 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4274 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4276 * international/characters.el (glyphless-char-display-control):
4277 Make it a defcustom, with update-glyphless-char-display as its
4279 (top level): Don't call update-glyphless-char-display.
4281 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4283 Sync with Tramp 2.2.0.
4285 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4286 `file-remote-p' (due to compatibility).
4288 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4289 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4291 * net/trampver.el: Update release number.
4293 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4295 * faces.el (glyphless-char): Define value for `pc'.
4297 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4299 Implemented a bug querying mechanism.
4300 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4301 (report-emacs-bug-create-existing-bugs-buffer)
4302 (report-emacs-bug-parse-query-results)
4303 (report-emacs-bug-query-existing-bugs): New functions.
4305 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4307 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4308 a \ref{} or \pageref{} macro, then use its value as initial input.
4310 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4312 * calc/calc-units.el (math-build-units-table-buffer):
4313 calc/README: Mention that the TeX specific units won't use the
4314 `tex' prefix in TeX mode.
4315 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4316 prefix for units in TeX mode.
4318 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * simple.el (kill-new, kill-append, kill-region):
4321 * comint.el (comint-kill-region): Make the yank-handler argument
4324 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4327 that are both openers (resp. closers) and something else.
4328 (smie-grammar): Loosen definition of valid values.
4329 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4330 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4331 (smie-indent-after-keyword): Adjust users.
4332 (smie-indent-keyword): Don't indent empty lines.
4334 * vc-hg.el (vc-hg-program): New var.
4335 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4336 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4338 2010-11-18 Glenn Morris <rgm@gnu.org>
4340 * emacs-lisp/autoload.el (autoload-find-destination): The function
4341 coding-system-eol-type may return non-numeric values. (Bug#7414)
4343 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4345 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4347 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4349 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4351 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4353 * textmodes/picture.el (picture-mouse-set-point): Don't use
4354 posn-col-row; explicitly compute the motion based on the posn at
4355 the window-start (Bug#7390).
4357 2010-11-18 Glenn Morris <rgm@gnu.org>
4359 * novice.el (disabled-command-function):
4360 Fix 2009-11-15 change. (Bug#7384)
4362 2010-11-18 Glenn Morris <rgm@gnu.org>
4364 * calendar/calendar.el (diary-iso-date-forms): Make elements
4365 mutually exclusive. (Bug#7377)
4367 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4369 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4370 when filling the remaining "unconstrained" values.
4372 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4374 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4377 * files.el (safe-local-variable-p): Gracefully handle errors.
4379 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4380 Use smie-indent-virtual when indenting relative to an opener.
4381 (smie-rule-separator): Use smie-rule-parent.
4382 (smie-indent-keyword): Consult rules, even for openers at bol.
4383 (smie-indent-comment-close): Try to align closer's content.
4385 2010-11-18 Glenn Morris <rgm@gnu.org>
4387 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4389 2010-11-18 Glenn Morris <rgm@gnu.org>
4391 * printing.el (pr-menu-bind): Doc fix.
4393 * speedbar.el (speedbar-toggle-images): Doc fix.
4395 * progmodes/python.el (python-shell): Doc fix.
4397 * wid-edit.el (widget-field-use-before-change)
4398 (widget-use-overlay-change): Doc fixes.
4400 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4402 Minor cleanup to improve style.
4403 * textmodes/rst.el (rst-update-section): Use point-marker.
4404 (rst-get-decoration): Eliminate unneeded assignment.
4405 (rst-promote-region, rst-straighten-decorations)
4406 (rst-section-tree, rst-adjust): Use point-marker.
4407 (rst-toc-mode-mouse-goto): Avoid setq.
4408 (rst-shift-region-guts, rst-shift-region-left)
4409 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4410 (rst-convert-bullets-to-enumeration): Use copy-marker.
4412 * minibuffer.el (completion-fail-discreetly): New var.
4413 (completion--do-completion): Use it.
4415 * electric.el (electric-pair-pairs): New var.
4416 (electric-pair-post-self-insert-function): Use it.
4417 (electric-layout-post-self-insert-function): Don't insert a before
4418 newline unless it's actually needed.
4420 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * progmodes/python.el (run-python): Explain why we remove the current
4423 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4425 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4427 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4429 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4430 (octave-mode-map): Don't bind ;, SPC, and LF.
4431 (octave-auto-indent, octave-auto-newline): Remove.
4432 (electric-layout-rules): Declare.
4433 (octave-mode): Set electric-layout-rules.
4434 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4435 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4436 (octave-electric-space): Remove.
4438 * electric.el (electric-layout-mode): New minor mode.
4439 (electric--after-char-pos): New function.
4440 (electric-indent-post-self-insert-function): Use it.
4441 (electric-layout-rules): New var.
4442 (electric-layout-post-self-insert-function): New function.
4443 (electric-indent-mode): Make them interact better.
4445 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4447 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4448 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4449 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4451 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4453 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4454 Make sure to check inside the word (Bug#6761).
4456 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4458 * startup.el (command-line): If the cursorColor resource is set,
4459 change the cursor face-spec (Bug#7392).
4461 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4463 The main features of the following allout.el changes are:
4464 - implement user customization for the allout key bindings
4465 - add a customization control by which the user can inhibit use of
4466 a trailing Ctrl-H, so by default it's reserved for use with
4467 describe-prefix-bindings
4468 - adapt to new version of called-interactively-p, while
4469 maintaining backwards compatibility with old version
4470 - fix hotspot navigation so i works properly with meta-modified keys.
4472 * allout.el (allout-keybindings, allout-bind-keys)
4473 (allout-keybindings-binding, allout-prefixed-keybindings)
4474 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4475 (allout-keybindings-list, allout-mode-map-adjustments)
4476 (allout-setup-mode-map): Establish allout-mode keymaps as user
4477 customizable settings, and also establish a customizable setting which
4478 regulates whether or not a trailing control-h is reserved for use with
4479 describe-prefix-bindings - and inhibit it by default, so that control-h
4480 *is* reserved for describe-prefix-bindings unless the user changes it.
4482 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4483 and accurately between modified and unmodified events, and handle
4484 modified events more comprehensively.
4486 * allout.el (allout-substring-no-properties):
4487 Alias to use or provide version of `substring-no-properties'.
4488 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4490 * allout.el (allout-next-single-char-property-change):
4491 Alias to use or provide version of `next-single-char-property-change'.
4492 (allout-annotate-hidden, allout-hide-by-annotation):
4493 Use `allout-next-single-char-property-change'.
4495 * allout.el (allout-select-safe-coding-system):
4496 Alias to use or provide version of `select-safe-coding-system'.
4497 (allout-toggle-subtree-encryption):
4498 Use `allout-select-safe-coding-system'.
4500 * allout.el (allout-set-buffer-multibyte):
4501 Alias to use or provide version of `set-buffer-multibyte'.
4502 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4504 * allout.el (allout-called-interactively-p): Macro for using the
4505 different versions of called-interactively-p identically, depending on
4506 the subroutine's argument signature.
4507 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4508 Use `(interactive "p")' instead of `(called-interactively-p)'.
4510 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4511 (allout-previous-visible-heading, allout-forward-current-level)
4512 (allout-backward-current-level, allout-show-children):
4513 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4515 * allout.el (allout-before-change-handler):
4516 Exempt edits to the (overlaid) character after the allout outline
4517 bullet from edit confirmation prompt.
4519 * allout.el (allout-add-resumptions):
4520 Ensure that it respects correct buffer for keybindings.
4522 * allout.el (allout-beginning-of-line):
4523 Use `allout-previous-single-char-property-change' alias for the sake of
4524 diverse compatibility.
4526 * allout.el (allout-end-of-line):
4527 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4529 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4531 * frame.el (frame-notice-user-settings): Don't clobber other
4532 user-set parameters when calling face-set-after-frame-default in
4533 response to background-color parameter (Bug#7373).
4535 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4537 * international/characters.el (glyphless-char-display-control):
4538 Rename from glyphless-char-control; all users changed. Doc fix.
4539 Signal an error if display method is not one of the recognized
4542 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4544 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4545 (tramp-compat-line-end-position): Remove them.
4547 * net/tramp.el (tramp-parse-rhosts-group)
4548 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4549 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4550 (tramp-parse-netrc-group, tramp-parse-putty-group)
4551 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4552 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4553 (tramp-sh-handle-file-selinux-context)
4554 (tramp-sh-handle-file-name-all-completions)
4555 (tramp-sh-handle-insert-directory)
4556 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4557 (tramp-wait-for-output, tramp-send-command-and-read)
4558 * net/tramp-smb.el (tramp-smb-read-file-entry)
4559 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4561 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4563 (tramp-remote-coding-commands): Add an alternative using "base64
4564 -d -i". This is needed for older base64 versions from GNU
4565 coreutils. Reported by Klaus Reichl
4566 <Klaus.Reichl@thalesgroup.com>.
4568 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4570 * simple.el (count-words-region): New function.
4572 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * shell.el (shell-dir-cookie-re): New custom variable.
4575 (shell-dir-cookie-watcher): New function.
4577 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4578 and compilation-mode (bug#7350).
4580 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4581 highlight when one of them is empty.
4583 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4585 (skeleton-newline): New function.
4586 (skeleton-internal-1): Use it.
4588 * simple.el (open-line): `newline' may strip trailing space.
4590 2010-11-12 Kevin Ryde <user42@zip.com.au>
4592 * international/mule-cmds.el (princ-list): Use mapc.
4594 2010-11-12 Glenn Morris <rgm@gnu.org>
4596 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4597 Use it to replace all instances of "*Compile-Log*".
4599 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4601 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4604 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * progmodes/modula2.el: Use SMIE and skeleton.
4607 (m2-mode-syntax-table): (*..*) can be nested.
4608 Add //...\n. Fix paren syntax.
4609 (m2-mode-map): Remove LF and TAB bindings.
4610 (m2-indent): Add safety property.
4611 (m2-smie-grammar): New var.
4612 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4613 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4614 (m2-mode): Use define-derived-mode.
4615 (m2-newline, m2-tab): Remove.
4616 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4617 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4618 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4619 (m2-import): Use define-skeleton.
4621 2010-11-11 Glenn Morris <rgm@gnu.org>
4623 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4625 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4626 (ls-lisp-verbosity): Add custom :set-after property.
4627 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4628 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4629 (ls-lisp-insert-directory): Update caller.
4630 (ls-lisp-set-options): New function.
4631 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4634 * play/landmark.el (lm-prompt-for-move):
4635 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4637 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4639 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4640 (idlwave-study-twins): Prefix dynamic local variable `name'.
4641 (idlwave-routine-twin-compare): Update for above change.
4643 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4644 Prefix dynamic local variables `name', `kwd', and `link'.
4645 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4646 * progmodes/idlw-complete-structtag.el
4647 (idlwave-complete-structure-tag-help):
4648 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4649 (idlwave-complete-sysvar-tag-help)
4650 (idlwave-complete-class-structure-tag-help):
4651 Update for above name changes.
4653 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4655 * net/browse-url.el (browse-url-browser-function): Change the
4656 default to use `browse-url-mail' on mailto: URLs.
4658 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4660 * emacs-lisp/package.el (package-read-all-archive-contents):
4661 Reset package-archive-contents to nil before re-reading.
4663 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4665 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4666 already found as misspellings by (flyspell-large-region), just
4667 do highlighting (bug#7322).
4669 2010-11-10 Glenn Morris <rgm@gnu.org>
4671 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4673 * emulation/edt.el (edt-with-position): New macro.
4674 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4675 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4676 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4678 * emulation/tpu-extras.el (tpu-with-position): New macro.
4679 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4681 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4683 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4684 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4685 (texinfo-master-menu, texinfo-insert-node-lines)
4686 (texinfo-multiple-files-update):
4687 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4688 Use line-beginning-position.
4690 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4691 No recent Emacs supports system-type `emx'.
4693 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4694 (ada-command-separator, ada-default-prj-properties)
4695 (ada-find-any-references): Update for above name change.
4697 * dirtrack.el (dirtrack-directory-function)
4698 (dirtrack-canonicalize-function):
4699 * filecache.el (file-cache-completion-ignore-case)
4700 (file-cache-case-fold-search, file-cache-ignore-case):
4701 * term.el (serial-port-is-file-p): Cosmetic change.
4703 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4704 Remove non-existent `windows-95' system-type.
4705 * dired.el (dired-chown-program): Remove non-existent `linux'
4708 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4709 (ping-program-options): Remove non-existent `linux' system-type.
4711 * startup.el (package-initialize): Update declaration.
4713 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4714 (ls-lisp-handle-switches): Use time-less-p.
4715 (ls-lisp-format-time): Use float-time.
4717 * textmodes/remember.el (remember-time-to-seconds): Remove.
4718 (remember-store-in-mailbox): Use float-time.
4720 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4722 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4723 never a real function.
4724 (with-no-warnings): Remove compat stub, now unused.
4725 (time-less-p): Doc fix.
4726 (time-to-number-of-days): Simplify.
4728 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4730 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4731 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4732 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4733 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4734 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4736 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4737 (eshell-shuffle-files, eshell-shorthand-tar-command)
4738 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4739 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4740 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4741 Prefix dynamic local variable `matches'.
4743 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4744 Prefix dynamic local variable `skeleton'.
4746 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4748 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4749 in mail buffer; make yank-action always a command that yanks original
4752 2010-11-09 Glenn Morris <rgm@gnu.org>
4754 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4756 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4758 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4759 completion field (bug#7211).
4761 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4762 Fix handling of backslash escapes.
4763 (python-quote-syntax): Adjust accordingly.
4765 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4767 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4768 (vc-mtn-workfile-branch): Adjust to new output format.
4770 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4772 * international/mule-cmds.el (princ-list): Mark as obsolete.
4774 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4776 * emacs-lisp/smie.el: New package.
4778 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4780 * files.el (backup-by-copying-when-mismatch):
4781 Set `permanent-local' property.
4783 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4784 `permanent-local' property for `backup-by-copying-when-mismatch'.
4786 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4788 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4790 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4792 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4793 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4794 AUTOINOUT for SV style multidimensional arrays, bug294.
4795 Reported by Eric Mastromarchi.
4796 (verilog-preprocess): Use with-current-buffer and
4797 font-lock-fontify-buffer to cleanup style issues.
4799 2010-11-09 Glenn Morris <rgm@gnu.org>
4801 * locate.el (locate, locate-mode): Doc fixes.
4803 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4805 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4806 user for confirmation.
4807 (server-force-stop): Use it.
4808 (server-start): Use server-force-stop for kill-emacs-hook, to
4809 avoid user interaction while killing Emacs.
4811 2010-11-09 Glenn Morris <rgm@gnu.org>
4813 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4814 (meta-indent-line): Simplify.
4816 * vc/emerge.el (emerge-line-number-in-buf):
4817 * textmodes/ispell.el (ispell-region):
4818 * textmodes/fill.el (current-fill-column):
4819 * progmodes/xscheme.el (xscheme-send-current-line):
4820 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4821 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4822 * progmodes/sh-script.el (sh-handle-prev-do):
4823 * progmodes/meta-mode.el (meta-indent-line):
4824 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4826 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4827 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4828 * progmodes/fortran.el (fortran-looking-at-if-then):
4829 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4830 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4831 (cperl-find-pods-heres):
4832 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4833 * net/quickurl.el (quickurl-list-insert):
4834 * net/ldap.el (ldap-search-internal):
4835 * net/eudc.el (eudc-expand-inline):
4836 * mail/sendmail.el (sendmail-send-it):
4837 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4838 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4839 (viper-brac-function):
4840 * calc/calc-yank.el (calc-do-grab-region):
4841 * calc/calc-keypd.el (calc-keypad-press):
4842 * term.el (term-move-columns, term-insert-spaces):
4843 * speedbar.el (speedbar-highlight-one-tag-line):
4844 * simple.el (current-word):
4845 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4846 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4848 * hippie-exp.el (he-line-beg):
4849 * epa.el (epa--marked-keys):
4850 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4851 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4852 (dired-relist-entry):
4853 * buff-menu.el (Buffer-menu-buffer):
4854 * array.el (current-line):
4855 * allout.el (allout-resolve-xref)
4856 (allout-latex-verbatim-quote-curr-line):
4857 Replace yet more uses of end-of-line etc with line-end-position, etc.
4859 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4861 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4862 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4863 (checkdoc-syntax-table): Initialize in the declaration.
4864 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4865 the mode on unconditionally.
4867 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4868 (extent-end-position, extent-start-position): Remove setf method for
4869 non-existing functions (bug#7319).
4871 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4874 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4875 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4876 (smie-prec2->grammar): Rename from smie-prec2-levels.
4877 (smie-grammar): Rename from smie-op-levels.
4878 (smie-indent--hanging-p): Rename from smie-hanging-p.
4879 (smie-rule-hanging-p): New alias.
4880 (smie-indent--bolp): Rename from smie-bolp.
4881 (smie-indent--hanging-p): New alias.
4882 (smie--token): New dynamically bound variable.
4883 (smie-indent--parent): New function.
4884 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4885 (smie-rule-next-p): Rename from smie-next-p.
4886 (smie-rule-prev-p): Rename from smie-prev-p.
4887 (smie-rule-sibling-p, smie-rule-parent)
4888 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4889 (smie-rule-separator-outdent): New var.
4890 (smie-indent--rule): Merge with smie-indent--column.
4891 (smie-indent-forward-token, smie-indent-backward-token):
4892 Also recognize close parens.
4893 (smie-indent-keyword): Don't use smie-indent--column any more.
4894 (smie-indent-after-keyword): Ignore closers by default.
4895 (smie-indent-line): Use with-demoted-errors.
4896 * progmodes/octave-mod.el (octave-smie-grammar):
4897 Rename from octave-smie-op-levels.
4898 (octave-smie-rules): Adjust to new behavior.
4899 * progmodes/prolog.el (prolog-smie-grammar):
4900 Rename from prolog-smie-op-levels.
4902 2010-11-07 Glenn Morris <rgm@gnu.org>
4904 * eshell/esh-util.el (subst-char-in-string)
4905 (directory-files-and-attributes): These compatibility definitions are
4906 not needed on any version of Emacs since at least 21.4.
4908 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4909 (verilog-get-end-of-line): Remove.
4910 (verilog-within-string, verilog-re-search-forward-substr)
4911 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4912 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4913 Use point-at-bol, point-at-eol.
4914 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4916 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4917 (electric-pascal-terminate-line, pascal-set-auto-comments)
4918 (pascal-indent-paramlist, pascal-indent-declaration)
4919 (pascal-get-lineup-indent, pascal-func-completion)
4920 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4921 Use point-at-bol, point-at-eol.
4922 * progmodes/flymake.el (flymake-line-beginning-position)
4923 (flymake-line-end-position): Remove.
4924 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4925 * eshell/esh-util.el (line-end-position, line-beginning-position):
4926 Remove compat definitions.
4928 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4930 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4931 Use line-end-position.
4933 * emacs-lisp/chart.el (chart-zap-chars):
4934 * play/decipher.el (decipher-set-map):
4935 * progmodes/ada-mode.el (ada-get-current-indent)
4936 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4937 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4938 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4939 (ada-get-all-references):
4940 * progmodes/cperl-mode.el (cperl-electric-paren)
4941 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4942 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4943 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4944 (cperl-word-at-point-hard):
4945 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4946 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4947 (idlwave-shell-display-line):
4948 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4949 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4950 * progmodes/js.el (js--re-search-forward-inner)
4951 (js--re-search-backward-inner):
4952 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4953 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4954 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4955 * textmodes/flyspell.el (flyspell-process-localwords):
4956 * textmodes/ispell.el (ispell-buffer-local-parsing)
4957 (ispell-buffer-local-dict, ispell-buffer-local-words):
4958 Use point-at-bol and point-at-eol.
4960 * speedbar.el (speedbar-generic-item-info)
4961 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4962 (speedbar-add-indicator, speedbar-check-vc-this-line)
4963 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4964 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4965 Replace more uses of end-of-line etc with line-end-position.
4967 2010-11-06 Glenn Morris <rgm@gnu.org>
4969 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4970 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4971 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4972 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4973 (texinfo-multiple-files-update):
4974 * textmodes/table.el (table--probe-cell-left-up)
4975 (table--probe-cell-right-bottom):
4976 * textmodes/picture.el (picture-tab-search):
4977 * textmodes/page-ext.el (pages-copy-header-and-position)
4978 (pages-directory-for-addresses):
4979 * progmodes/vera-mode.el (vera-get-offset):
4980 * progmodes/simula.el (simula-calculate-indent):
4981 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4982 * progmodes/prolog.el (end-of-prolog-clause):
4983 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4984 * progmodes/icon.el (indent-icon-exp):
4985 * progmodes/etags.el (tag-re-match-p):
4986 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4987 * progmodes/ebnf2ps.el (ebnf-begin-file):
4988 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4989 (dcl-save-local-variable):
4990 * play/life.el (life-setup):
4991 * play/gametree.el (gametree-looking-at-ply):
4992 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4993 * mail/sendmail.el (mail-mode-auto-fill):
4994 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4995 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4996 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4997 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4998 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4999 * type-break.el (type-break-file-keystroke-count):
5000 * term.el (term-replace-by-expanded-history-before-point)
5001 (term-skip-prompt, term-extract-string):
5002 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5003 (speedbar-contract-line, speedbar-toggle-line-expansion)
5004 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5005 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5006 * sort.el (sort-skip-fields):
5007 * skeleton.el (skeleton-internal-list):
5008 * simple.el (line-move-finish, line-move-to-column):
5009 * shell.el (shell-forward-command):
5010 * misc.el (copy-from-above-command):
5011 * makesum.el (double-column):
5012 * ebuff-menu.el (electric-buffer-update-highlight):
5013 * dired.el (dired-move-to-end-of-filename):
5014 * dframe.el (dframe-popup-kludge):
5015 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5016 * arc-mode.el (archive-get-lineno):
5017 Use line-end-position and line-beginning-position.
5019 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5020 (idlwave-study-twins): Prefix dynamic local `class'.
5021 (idlwave-routine-twin-compare): Update for above name change.
5023 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5024 Use boundp tests to silence compiler. Update for changed name of
5025 bytecomp-filename variable.
5027 * emulation/viper-cmd.el (viper-read-string-with-history):
5028 Prefix dynamic local `initial'.
5029 (viper-minibuffer-standard-hook): Update for above name change.
5031 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5032 (elint-init-form): Update for above name change.
5034 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5035 local variables `cbeg' and `cend' a prefix.
5036 (mail-extr-voodoo): Update for above name change.
5038 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5039 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5040 (reftex-toc-promote-action): Doc fix.
5042 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5043 `prompt', `data' a prefix.
5044 (reftex-select-post-command-hook, reftex-select-callback)
5045 (reftex-select-mouse-accept, reftex-select-read-cite):
5046 Update for above name changes.
5048 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5049 `refstyle' to reftex-refstyle.
5050 (reftex-offer-label-menu): Update for above name change.
5051 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5052 `refstyle' name change.
5054 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5055 with with-current-buffer.
5056 (diff, template): Give dynamic local variables a prefix.
5057 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5058 (emerge-line-number-in-buf): Update for above name change.
5059 (emerge-combine-versions-internal): Rename local `template' to
5060 emerge-combine-template.
5061 (emerge-combine-versions-edit): Update for above name change.
5063 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5065 * textmodes/reftex-cite.el
5066 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5067 entries with whitespace after \bibitem.
5068 (reftex-create-bibtex-file): Match entries containing numbers and
5069 symbol constituents. Make sure that entries with whitespace at
5070 various places are found.
5072 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5074 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5076 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5078 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5080 2010-11-05 Glenn Morris <rgm@gnu.org>
5082 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5083 (woman2-roff-buffer): Give local variable `request' a prefix.
5084 (woman0-macro): Rename argument `request' in the same way.
5085 (woman-request): New name for `request' dynamic variable.
5086 (woman-unquote, woman-forward-arg): Update for above name change.
5087 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5088 (woman1-unquote): New name for `unquote' dynamic variable.
5089 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5090 (woman-translations): Rename from `translations'. No longer global.
5091 (woman2-tr, woman-translate): Update for above name change.
5092 (woman-translate): Check for bound variable.
5093 (woman2-roff-buffer): Give local variable `translations' a prefix.
5095 * play/doctor.el: Give all local variables a prefix. Update callers.
5096 (doc$, doctor-put-meaning): Use backquote.
5098 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5099 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5101 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5102 variables bytes, ptr, op a prefix.
5103 (disassemble-offset): Update for above change.
5105 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5107 * emacs-lisp/package.el (package-unpack): Remove no-op.
5108 (package--builtins, package--dir): Doc fix.
5109 (package-activate-1, package-activate, package-install)
5110 (package-compute-transaction): Fix error message.
5111 (package-delete): Use delete-directory. Omit system packages.
5112 (package-initialize): Set package-alist to nil first.
5113 (package-menu-mark-delete, package-menu-mark-install): Don't add
5114 symbols that are inconsistent with the package state.
5115 (package-menu-execute): Perform deletions and installations as
5116 single batch operations.
5118 2010-11-03 Glenn Morris <rgm@gnu.org>
5120 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5121 (props): Remove unnecessary declaration.
5123 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5124 set-process-query-on-exit-flag.
5126 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5127 (reftex-toc-do-promote): Remove unused local `mpos'.
5128 (reftex-toc-restore-region): Make `mpos' local to this function.
5130 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5132 * play/landmark.el (lm-losing-threshold): Correct spelling.
5133 (lm-human-plays): Use new name.
5135 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5136 (gomoku-human-plays): Use new name.
5138 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5139 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5140 (gomoku-score-trans-table, gomoku-winning-threshold)
5141 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5143 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5145 * emacs-lisp/package.el: Don't put built-in packages in
5146 package-alist, to avoid loading inefficiencies.
5147 (package-built-in-p): Make VERSION optional, and treat it as a
5148 minimum acceptable version.
5149 (package-activate): Search separately for built-in packages.
5150 Emit a warning if a dependency fails.
5151 (define-package): Handle most common case, where there is no
5152 obsolete package, first.
5153 (package-compute-transaction): Print required version in error.
5154 (package--initialized): New variable.
5155 (list-packages): Use it.
5156 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5157 built-in packages in packages-alist; keep it separate.
5158 Set package--initialized.
5159 (describe-package): Avoid activating packages as a side-effect.
5160 Search separately for built-in packages.
5161 (describe-package-1): Handle the case where an elpa package is
5162 simultaneously built-in and available/installed.
5163 (package-installed-p, package--generate-package-list):
5164 Search separately for built-in packages.
5165 (package-load-descriptor): Doc fix.
5167 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5169 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5170 Handle __DATA__ and __END__.
5172 2010-11-02 Noah Friedman <friedman@splode.com>
5174 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5175 nil, do not ask to recompile files that are not already compiled,
5176 and do not recompile them.
5178 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5180 * emacs-lisp/package.el (package-initialize): Ensure that
5181 obsoleted built-in packages are not in package-activated-list
5183 (describe-package-1): Make the "installed" status override
5186 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5188 * subr.el (version-separator, version-regexp-alist): Remove '*'
5190 (version-list-<=, version<=, version=): Doc fix.
5192 2010-11-01 Kenichi Handa <handa@m17n.org>
5194 * faces.el (glyphless-char): Inherit underline for tty.
5196 2010-11-01 Kenichi Handa <handa@m17n.org>
5198 Implement various display methods for glyphless characters.
5200 * international/characters.el (char-acronym-table): New variable.
5201 (glyphless-char-control): New variable.
5202 (update-glyphless-char-display): New function.
5204 * faces.el (glyphless-char): New face.
5206 2010-11-01 Glenn Morris <rgm@gnu.org>
5208 * calendar/holidays.el (general-holidays, oriental-holidays)
5209 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5210 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5211 the definitions of their targets.
5213 * emacs-lisp/smie.el (smie): New custom group.
5214 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5216 * faces.el (xw-defined-colors, x-setup-function-keys):
5217 * mouse-sel.el (x-select-text):
5218 * term/w32console.el (x-setup-function-keys): Update declarations.
5220 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5222 * textmodes/ispell.el (comment-add): Declare.
5224 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5227 * info.el (finder-keywords-hash, package-alist): Declare.
5229 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5231 * finder.el (finder-compile-keywords): Don't use intern-soft,
5232 since package names may not yet exist in the obarray.
5234 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5236 * vc/vc-arch.el (vc-arch-checkin):
5237 * vc/vc-cvs.el (vc-cvs-checkin):
5238 * vc/vc-mtn.el (vc-mtn-checkin):
5239 * vc/vc-rcs.el (vc-rcs-checkin):
5240 * vc/vc-sccs.el (vc-sccs-checkin):
5241 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5242 since 2010-04-21 commit by Stefan Monnier.
5244 2010-11-01 Glenn Morris <rgm@gnu.org>
5246 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5248 * startup.el (package-enable-at-startup, package-initialize):
5251 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5254 2010-10-31 Julien Danjou <julien@danjou.info>
5256 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5257 (byte-recompile-directory):
5258 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5259 Use `byte-recompile-file'.
5261 2010-10-31 Glenn Morris <rgm@gnu.org>
5263 * cus-start.el: Handle standard values via a keyword.
5264 Only set version property if specified.
5265 (cursor-in-non-selected-windows, menu-bar-mode)
5266 (tool-bar-mode, show-trailing-whitespace):
5267 Do not specify standard values.
5268 (transient-mark-mode, temporary-file-directory): Use :standard.
5270 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5272 * term/x-win.el (x-get-selection-value): New function that gets
5273 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5275 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5277 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5278 preserve owner and group when editing files. (Bug#7289)
5280 2010-10-31 Glenn Morris <rgm@gnu.org>
5282 * speedbar.el (speedbar-mode):
5283 * play/fortune.el (fortune-in-buffer, fortune):
5284 * play/gomoku.el (gomoku-mode):
5285 * play/landmark.el (lm-mode):
5286 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5287 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5289 * select.el (x-selection): Mark it as an obsolete alias.
5291 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5293 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5294 major-mode (bug#7284).
5296 2010-10-31 Glenn Morris <rgm@gnu.org>
5298 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5299 rather than just an unused variable that inherits from the real one.
5301 2010-10-31 Alan Mackenzie <acm@muc.de>
5303 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5304 This fixes bug #7185.
5306 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5308 * startup.el (command-line): Search for package directories, and
5309 don't load package.el if none are found.
5311 * emacs-lisp/package.el (describe-package, list-packages):
5312 Call package-initialize if it has not been called yet.
5314 2010-10-30 Alan Mackenzie <acm@muc.de>
5316 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5317 which fontifies the tail of an enum.
5318 (c-basic-matchers-after): Insert a call to the above new function.
5319 This fixes bug #7264.
5321 2010-10-30 Glenn Morris <rgm@gnu.org>
5323 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5324 tool-bar-mode, transient-mark-mode. (Bug#7306)
5325 Include the :set property in the dumped Emacs.
5327 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5329 SMIE: change indent rules format, improve smie-setup.
5330 * emacs-lisp/smie.el (smie-precs-precedence-table)
5331 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5332 Mark them pure so the tables gets built at compile time.
5333 (smie-bnf-precedence-table): Store the closer-alist in the table.
5334 (smie-prec2-levels): Preserve the closer-alist.
5335 (smie-blink-matching-open): Be more forgiving in case of indentation.
5336 (smie-hanging-p): Rename from smie-indent--hanging-p.
5337 (smie-bolp): Rename from smie-indent--bolp.
5338 (smie--parent, smie--after): New dynamic vars.
5339 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5340 (smie-indent-rules): Remove.
5341 (smie-indent--offset-rule): Remove fun.
5342 (smie-rules-function): New var.
5343 (smie-indent--rule): New fun.
5344 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5345 (smie-indent-exps): Use it.
5346 (smie-setup): Setup paren blinking; add keyword args for token
5347 functions; extract closer-alist from op-levels.
5348 (smie-indent-debug-log): Remove var.
5349 (smie-indent-debug): Remove fun.
5350 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5351 (prolog-smie-rules): New fun to replace it.
5352 (prolog-mode-variables): Simplify.
5353 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5354 it's setup automatically.
5355 (octave-smie-indent-rules): Remove.
5356 (octave-smie-rules): New fun to replace it.
5357 (octave-mode): Simplify.
5359 2010-10-29 Glenn Morris <rgm@gnu.org>
5361 * files.el (temporary-file-directory): Remove (already defined in C).
5362 * cus-start.el: Add temporary-file-directory.
5364 * abbrev.el (abbrev-mode):
5365 * composite.el (auto-composition-mode):
5366 * menu-bar.el (menu-bar-mode):
5367 * simple.el (transient-mark-mode):
5368 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5369 that they do not define the associated variables twice.
5370 * simple.el (transient-mark-mode): Remove defvar.
5371 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5372 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5373 Handle multiple groups, and also custom-delayed-init-variables.
5374 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5376 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5379 (pcase-if): Add one minor optimization.
5380 (pcase-split-equal): Rename from pcase-split-eq.
5381 (pcase-split-member): Rename from pcase-split-memq.
5382 (pcase-u1): Add strings to the member optimization.
5383 Add `guard' variant of predicates.
5384 (pcase-q1): Add string patterns.
5386 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5388 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5390 2010-10-28 Glenn Morris <rgm@gnu.org>
5392 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5393 Move menu-bar related settings to ../menu-bar.el.
5394 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5395 Move ns-specific settings here from term/ns-win.el.
5397 * simple.el (x-selection-owner-p): Remove unused declaration.
5399 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5401 * minibuffer.el (completion-cycling): New var (bug#7266).
5402 (minibuffer-complete, completion--do-completion):
5403 Use completion--flush-all-sorted-completions.
5404 (minibuffer-complete): Only cycle if completion-cycling is set.
5405 (completion--flush-all-sorted-completions): Unset completion-cycling.
5406 (minibuffer-force-complete): Set completion-cycling.
5407 (completion-all-sorted-completions): Move declaration before first use.
5409 2010-10-28 Leo <sdl.web@gmail.com>
5411 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5412 which changes the order of matches seen by users (bug#7231).
5414 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5416 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5417 Don't confuse -omega as "-o mega".
5419 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5421 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5422 (log-edit-author): New dynamic var.
5423 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5424 to return the author if different from committer.
5425 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5427 * play/landmark.el: Adjust commenting convention.
5428 (lm-nil-score): Rename from nil-score.
5429 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5430 (OOOOscore): Move into a let in lm-score-trans-table.
5431 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5433 * electric.el (electric-indent-chars): Autoload.
5434 * progmodes/octave-mod.el (octave-mode):
5435 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5436 (ruby-mode-abbrev-table): Merge initialization and declaration.
5438 2010-10-27 Glenn Morris <rgm@gnu.org>
5440 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5443 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5445 * term/ns-win.el: Restore require of cl when compiling.
5446 (menu-bar-final-items): Remove non-existent `windows' menu.
5447 (ns-handle-nxopen): Optionally handle the temp-case.
5448 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5449 (ns-insert-file, ns-find-file): Use `pop'.
5451 2010-10-26 Glenn Morris <rgm@gnu.org>
5453 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5455 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5457 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5459 * term/common-win.el (x-setup-function-keys): Remove most of the
5460 keymappings. Comment on the remaining ones.
5462 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5464 * server.el (server-port): New option. (Bug#854)
5465 (server-start): Use server-port.
5467 2010-10-26 Glenn Morris <rgm@gnu.org>
5469 * term/ns-win.el (ns-version-string): Remove unused declaration.
5470 (ns-invocation-args): Change to x-invocation-args.
5471 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5472 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5473 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5474 Use x-invocation-args instead of ns-invocation-args.
5475 (ns-initialize-window-system, handle-args-function-alist):
5476 Use x-handle-args instead of ns-handle-args.
5477 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5478 * startup.el (command-line-ns-option-alist): Replace
5479 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5480 ns-handle-iconic with the x- equivalents.
5482 * term/common-win.el (x-select-enable-clipboard):
5483 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5485 * term/ns-win.el: No need to require cl when compiling.
5486 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5487 (xw-defined-colors): Use the common-win definitions.
5488 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5489 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5490 * term/common-win.el (x-select-text, x-alternatives-map)
5491 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5492 * loadup.el [ns]: Load common-win.
5494 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5496 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5497 recipients; expand mail aliases (Bug#7280).
5499 2010-10-25 Glenn Morris <rgm@gnu.org>
5501 * term/common-win.el (x-handle-switch): Simplify with pop.
5502 Optionally handle numeric switches.
5503 (x-handle-numeric-switch): Just call x-handle-switch.
5504 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5505 (x-handle-name-switch, x-handle-display, x-handle-args):
5508 * term/ns-win.el: Do not require easymenu.
5509 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5510 <spell>: Move adjustments to menu-bar.el.
5511 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5512 <separator-undo, spell>: Move ns-win's adjustments here.
5513 * loadup.el [ns]: Do not load easymenu.
5515 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5517 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5520 * startup.el (fancy-startup-tail): Instead of using inline images,
5521 refer to image files from etc/.
5523 * wid-edit.el (checkbox): Likewise.
5524 (widget-image-find): Center image specs.
5526 2010-10-24 Glenn Morris <rgm@gnu.org>
5528 * term/ns-win.el (x-select-text): Doc fix.
5529 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5530 (x-select-text): Move to term/common-win.
5531 * term/w32-win.el (xw-defined-colors): Move to common-win.
5532 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5533 (x-setup-function-keys, x-select-text): Move to common-win.
5534 * term/common-win.el (x-select-text, x-alternatives-map)
5535 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5538 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5540 * net/mairix.el (mairix-searches-mode-map):
5541 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5543 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5545 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5546 auto-built for efficiency of execution and updating.
5547 (verilog-extended-complete-re): Support 'pure' fucntion & task
5548 declarations (these have no bodies).
5549 (verilog-beg-of-statement): General cleanup to enable support of
5550 'pure' fucntion & task declarations (these have no bodies).
5551 These efforts together fix Verilog bug210 from veripool; which was also
5552 noticed by Steve Pearlmutter.
5553 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5554 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5555 Support `elsif. Reported by Shankar Giri.
5556 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5557 attribute handling for lining up declarations and assignments.
5558 (verilog-beg-of-statement-1): Fix issue where continued declaration
5559 is indented differently if it is after a begin..end clock.
5560 (verilog-in-attribute-p, verilog-skip-backward-comments)
5561 (verilog-skip-forward-comment-p): Support proper treatment of
5562 attributes by indent code. Reported by Jeff Steele.
5563 (verilog-in-directive-p): Fix comment to correctly describe function.
5564 (verilog-backward-up-list, verilog-in-struct-region-p)
5565 (verilog-backward-token, verilog-in-struct-p)
5566 (verilog-in-coverage-p, verilog-do-indent)
5567 (verilog-pretty-declarations): Use verilog-backward-up-list as
5568 wrapper around backward-up-list inorder to properly skip comments.
5569 Reported by David Rogoff.
5570 (verilog-property-re, verilog-endcomment-reason-re)
5571 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5572 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5573 of if). Reported by Max Bjurling and
5574 (verilog-calc-1): Fix for clocking block in modport
5575 declaration. Reported by Brian Hunter.
5577 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5579 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5580 (verilog-gate-keywords, verilog-read-sub-decls)
5581 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5582 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5583 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5584 (verilog-read-decls): Fix spaces in V2K module parameters causing
5585 mis-identification as interfaces, bug287.
5586 (verilog-read-decls): Fix not treating "parameter string" as a
5587 parameter in AUTOINSTPARAM.
5588 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5589 treating `elsif similar to `endif inside AUTOSENSE.
5590 (verilog-do-indent): Implement correct automatic or static task or
5591 function end comment highlight. Reported by Steve Pearlmutter.
5592 (verilog-font-lock-keywords-2): Fix highlighting of single
5593 character pins, bug264. Reported by Michael Laajanen.
5594 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5595 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5596 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5597 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5598 (verilog-pretty-expr): Fix interactive arguments, bug272.
5599 Reported by Mark Johnson.
5600 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5601 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5602 bug269. Suggested by Gary Delp.
5603 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5604 (verilog-preprocessor, verilog-set-compile-command):
5605 Create verilog-preprocess and verilog-preprocessor to show
5606 preprocessed output.
5607 (verilog-get-beg-of-line, verilog-get-end-of-line)
5608 (verilog-modi-file-or-buffer, verilog-modi-name)
5609 (verilog-modi-point, verilog-within-string): Move defmacro's
5610 before first use to avoid warning. Reported by Steve Pearlmutter.
5611 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5612 (verilog-colorize-region, verilog-highlight-buffer)
5613 (verilog-highlight-includes, verilog-highlight-modules)
5614 (verilog-highlight-region, verilog-mode): Rename colorize to
5615 highlight to match other packages. Disable module highlighting,
5616 as received speed complaints, reenable for experimentation only
5617 using new verilog-highlight-modules.
5618 (verilog-read-decls): Fix regexp stack overflow in very large
5619 AUTO_TEMPLATEs, bug250.
5620 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5621 (verilog-scan): Create verilog-save-buffer-state to standardize
5622 making insignificant changes that shouldn't call hooks.
5623 (verilog-save-no-change-functions, verilog-save-scan-cache)
5624 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5625 Create verilog-save-no-change-functions to wrap verilog-scan
5626 preservation, and fix to work with nested preserved calls.
5627 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5628 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5629 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5630 (verilog-submit-bug-report): Update variable list to be complete.
5631 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5632 breaking on-the-fly font-locking.
5633 (verilog-colorize-buffer, verilog-colorize-include-files)
5634 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5635 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5636 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5637 AUTOINST cell instance name, middle mouse button now finds-file on
5638 it. Suggested by Brad Dobbie.
5639 (verilog-alw-get-temps, verilog-auto-reset)
5640 (verilog-auto-sense-sigs, verilog-read-always-signals)
5641 (verilog-read-always-signals-recurse): Fix loop indexes being
5642 AUTORESET. AUTORESET now assumes any variables in the
5643 initialization section of a for() should be ignored.
5644 Reported by Dan Dever.
5645 (verilog-error-font-lock-keywords)
5646 (verilog-error-regexp-emacs-alist)
5647 (verilog-error-regexp-xemacs-alist): Fix error detection of
5648 Cadence HAL, reported by David Asher. Repair drift between the
5649 three similar error variables.
5650 (verilog-modi-lookup, verilog-modi-lookup-cache)
5651 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5652 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5653 Fix slow verilog-auto expansion on very large files.
5654 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5655 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5656 "{1*2{...". Broke in last revision.
5657 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5658 submodule connections with replications "{#{a},#{b}}".
5660 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5662 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5663 Fix typo in docstring.
5665 2010-10-24 Kenichi Handa <handa@m17n.org>
5667 * face-remap.el (text-scale-adjust): Call read-event with a proper
5670 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5672 * emacs-lisp/unsafep.el: Don't mark functions that display
5673 messages as safe. Suggested by Johan Bockgård.
5675 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5677 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5678 Turn comments into docstrings.
5680 * minibuffer.el (completion--replace): Move point where it belongs
5681 when there's a common suffix (bug#7215).
5683 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5685 Merge read-color and facemenu-read-color (Bug#7242).
5687 * faces.el (read-color): Use the completion code from
5688 facemenu-read-color. Require match in completion. Doc fix.
5690 * facemenu.el (facemenu-read-color): Alias for read-color.
5691 (facemenu-set-foreground, facemenu-set-background):
5694 * frame.el (set-background-color, set-foreground-color)
5695 (set-cursor-color, set-mouse-color, set-border-color):
5698 2010-10-24 Leo <sdl.web@gmail.com>
5700 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5701 argument of delete-file and delete-directory (Bug#7011).
5703 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5705 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5708 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5710 * emacs-lisp/package.el (package--generate-package-list): Make the
5711 *Packages* buffer read-only.
5713 2010-10-24 Alan Mackenzie <acm@muc.de>
5715 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5716 result of `c-beginning-of-decl-1' between invocations of a lambda
5717 function (Bug #7265).
5719 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5721 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5722 executable is not available on the system (Bug#7268).
5724 2010-10-24 Glenn Morris <rgm@gnu.org>
5726 * select.el (selection-coding-system, next-selection-coding-system):
5727 Sync doc with C versions.
5729 * w32-vars.el (x-select-enable-clipboard):
5730 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5731 * term/common-win.el (x-select-enable-clipboard): Move here.
5733 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5734 definition of C variable.
5736 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5737 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5738 Don't redefine things that are defined in C.
5739 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5740 (show-trailing-whitespace, auto-hscroll-mode)
5741 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5742 Set up the appropriate custom properties.
5744 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5747 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5748 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5749 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5750 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5752 2010-10-23 Glenn Morris <rgm@gnu.org>
5754 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5757 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5758 Sync docs with C version.
5760 * term/ns-win.el (xw-defined-colors):
5761 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5763 * term/pc-win.el (x-select-enable-clipboard):
5764 * term/x-win.el (x-select-enable-clipboard):
5765 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5767 * comint.el (comint-password-prompt-regexp): Make it less vague.
5770 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5772 * help.el (finder-by-keyword): Remove unnecessary autoload.
5774 2010-10-22 Glenn Morris <rgm@gnu.org>
5776 * loadup.el: Unconditionally load float-sup.
5777 * paren.el (show-paren-delay):
5778 * emacs-lisp/float-sup.el:
5779 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5780 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5781 (lazy-lock-stealth-verbose): Assume float support.
5782 * ps-print.el: Assume float support on Emacs.
5783 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5784 Remove non-float branch.
5786 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5787 src/Makefile no longer being pre-processed.
5789 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5791 * emacs-lisp/find-func.el (find-library): Use test-completion.
5793 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5795 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5797 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5799 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5800 space in stat format string.
5801 (tramp-send-command): Unset $PS1 when using here documents, in
5802 order not to get several prompts.
5803 (tramp-get-inline-coding): Return `nil' in case of errors.
5805 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5807 * hexl.el (hexl-mode, hexl-mode-exit):
5808 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5809 (hexl-revert-buffer-function): New function.
5810 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5812 2010-10-19 Alan Mackenzie <acm@muc.de>
5814 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5815 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5816 that these keywords aren't wrongly matched as identifiers.
5818 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5819 setting of c-new-BEG and c-new-END from c-before-change to
5820 c-after-change. (Bug#7181)
5822 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5824 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5827 * custom.el (custom-theme-set-variables): Likewise.
5828 (load-theme): Add custom-theme-set-faces and
5829 custom-theme-set-variables to safe-functions while loading.
5830 (custom-enabled-themes): Mark as risky.
5832 2010-10-18 Julien Danjou <julien@danjou.info>
5834 * bindings.el: Remove end dashes in default mode-line-format.
5836 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5838 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5839 to delete-forward-char.
5841 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5842 deletechar, and hence delete-forward-char.
5844 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5846 * repeat.el (repeat): Use read-key (bug#6256).
5848 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5850 * emacs-lisp/unsafep.el: Don't mark functions that display
5851 messages as safe. Suggested by Johan Bockgård.
5853 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * minibuffer.el (completion--replace): Move point where it belongs
5856 when there's a common suffix (bug#7215).
5858 2010-10-19 Kenichi Handa <handa@m17n.org>
5860 * international/characters.el: Add category '|' (word breakable)
5861 to fullwidth characters.
5863 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5865 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5866 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5867 order to make stat results a float. Patch by Andreas Schwab
5868 <schwab@linux-m68k.org>.
5870 2010-10-18 Julien Danjou <julien@danjou.info>
5872 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5873 hidden by `make-pointer-invisible'.
5875 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5877 * files.el (locate-file-completion-table): Strip non-matching elements
5878 before checking length of list (bug#7238).
5880 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5882 * custom.el (custom-theme-set-variables): Mark as a safe function.
5883 (load-theme): Check forms using unsafep.
5885 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5887 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5889 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5890 Fix aspell data file searching (bug#7230).
5892 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5894 * cus-theme.el (custom-theme--migrate-settings): New var.
5895 (customize-create-theme): Allow editing the `user' theme.
5896 (custom-theme-add-variable, custom-theme-add-var-1)
5897 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5898 to the front of each variable or face widget.
5899 (custom-theme-write): Save theme settings in the correct order.
5900 Optionally, remove saved settings from user customizations.
5901 (custom-theme-write-variables, custom-theme-write-faces):
5902 Save only the checked widgets.
5903 (customize-themes): Add a link for migrating custom settings.
5905 * custom.el (custom-declare-theme, provide-theme):
5906 Use custom-theme-name-valid-p.
5907 (custom-theme-name-valid-p): Remove checks that are now
5908 unnecessary since themes no longer obey load-path.
5910 * cus-edit.el (custom-variable-value-create): For the simple
5911 style, hide documentation string when hidden.
5913 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5915 * cus-edit.el (custom-variable, custom-face): Combine the
5916 :inhibit-magic and :display-style properties into a single
5917 :custom-style property.
5918 (custom-toggle-hide-variable, custom-toggle-hide-face):
5919 New functions. If hiding an edited value, save it to :shown-value.
5920 (custom-variable-value-create, custom-face-value-create): Use them.
5921 (custom-magic-reset): Allow magic property to be unset.
5923 * custom.el: Custom themes no longer use load-path.
5924 (custom-theme-load-path): New option. Change built-in theme
5926 (custom-enabled-themes): Add custom-theme-load-path dependency.
5927 (custom-theme--load-path): New function.
5928 (load-theme, custom-available-themes): Use it.
5930 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5931 (customize-themes): Link to custom-theme-load-path variable.
5932 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5933 :custom-style property.
5935 * themes/*.el: Moved to etc/.
5937 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5939 * textmodes/reftex-cite.el
5940 (reftex-extract-bib-entries-from-thebibliography): Do not move
5941 point when searching for \bibitem entries. Match entries with
5942 spaces or tabs in front of arguments.
5944 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5946 * cus-theme.el (customize-create-theme): Delete overlays after
5947 erasing. If given a THEME arg, display only the faces of that arg
5948 instead of custom-theme--listed-faces.
5949 (custom-theme-variable-menu, custom-theme-variable-action)
5950 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5951 (custom-theme-add-variable, custom-theme-add-face): Apply value
5952 from the theme settings, instead of the current value.
5953 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5954 (custom-theme-visit-theme): Allow calling outside theme buffers.
5955 (custom-theme-merge-theme): Don't enable the theme when merging.
5956 (custom-theme-write-variables, custom-theme-write-faces): Use the
5957 :shown-value properties to save buffer values, not global ones.
5958 (customize-themes): Display a warning about user customizations.
5960 * cus-edit.el (custom-variable-value-create)
5961 (custom-face-value-create): Obey new special properties
5962 :shown-value and :inhibit-magic.
5964 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5966 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5967 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5970 2010-10-14 Kenichi Handa <handa@m17n.org>
5972 * mail/rmail.el (rmail-show-message-1): Catch an error of
5973 base64-decode-region and just show an error message (bug#7165).
5975 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5976 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5977 a font-spec (bug#7197).
5979 2010-10-14 Glenn Morris <rgm@gnu.org>
5981 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5983 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5985 * international/mule.el (define-coding-system):
5986 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5987 * composite.el (compose-region): Fix typo in docstring.
5989 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5991 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5992 only after checking the theme-face property.
5994 * faces.el (face-spec-reset-face): Reset all attributes in one
5995 single call to set-face-attribute.
5996 (face-spec-match-p): Make it a defsubst.
5997 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5998 (x-create-frame-with-faces, tty-create-frame-with-faces)
5999 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6000 frame-set-background-mode, since they are recomputed immediately
6001 afterwards in face-set-after-frame-default.
6002 (face-set-after-frame-default): Minor optimization.
6003 (cursor): Provide non-trivial defface spec.
6005 * custom.el (custom-theme-recalc-face): Simplify.
6007 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6009 * calc/calc-alg.el (math-var): Rename from `var'.
6010 (math-is-polynomial, math-is-poly-rec): Replace `var'
6013 * calc/calcalg2.el (math-var): Rename from `var'.
6014 (calcFunc-table, math-scan-for-limits): Replace `var'
6017 2010-10-13 Glenn Morris <rgm@gnu.org>
6019 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6021 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6023 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6025 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6027 * net/tls.el (tls-program): Remove spurious %s from openssl.
6028 (tls-starttls-switches): Remove starttls hack.
6029 (open-tls-stream): Ditto.
6030 (tls-find-starttls-argument): Ditto.
6032 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6034 * image.el (image-library-alist): Declare as obsolete alias.
6035 (image-type-available-p): Use `dynamic-library-alist'.
6037 * term/w32-win.el (dynamic-library-alist):
6038 Use instead of `image-library-alist'.
6040 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6042 * subr.el (last): Make it faster. (Bug#7174)
6044 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6046 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6048 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6050 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6051 (describe-theme-1): Extract doc from unloaded themes.
6053 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6055 * themes/tango-theme.el:
6056 * themes/tango-dark-theme.el:
6057 * themes/wheatgrass-theme.el: New files.
6059 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6061 * cus-theme.el (describe-theme, customize-themes)
6062 (custom-theme-save): New commands.
6063 (custom-new-theme-mode-map): Bind C-x C-s.
6064 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6065 (customize-create-theme): New optional arg THEME.
6066 (custom-theme-revert): Use it.
6067 (custom-theme-visit-theme): Remove dead code.
6068 (custom-theme-merge-theme): Use custom-available-themes.
6069 (custom-theme-write): Make interactive.
6070 (custom-theme-write): Use custom-theme-name-valid-p.
6071 (describe-theme-1, custom-theme-choose-revert)
6072 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6074 (custom-theme-allow-multiple-selections): New option.
6075 (custom-theme-choose-mode): New major mode.
6077 * custom.el (custom-theme-set-variables): Remove dead code.
6078 Obey custom--inhibit-theme-enable.
6079 (custom--inhibit-theme-enable): New var.
6080 (provide-theme): Obey it.
6081 (load-theme): Replace load with manual read/eval, in order to
6082 check for correctness. Use custom-theme-name-valid-p.
6083 (custom-theme-name-valid-p): New function.
6084 (custom-available-themes): Use it.
6086 * cus-edit.el (custom--initialize-widget-variables): New function.
6087 (Custom-mode): Use it.
6089 * cus-face.el (custom-theme-set-faces): Remove dead code.
6090 Obey custom--inhibit-theme-enable.
6092 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6094 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6096 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6098 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6100 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6101 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6102 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6104 * cus-start.el (all): ns-right-alternate-modifier is new.
6106 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * emacs-lisp/lisp.el (lisp-completion-at-point):
6109 Use emacs-lisp-mode-syntax-table for the whole function.
6111 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6113 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6114 instead of font-lock-mode before adding keywords.
6115 Remove hi-lock-mode off code. Remove inhibit hack.
6116 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6117 non-nil; removed hook inhibit hack.
6119 2010-10-12 Glenn Morris <rgm@gnu.org>
6121 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6122 (load-path-shadows-find): ... to this.
6123 (list-load-path-shadows): Update for above change.
6125 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6127 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6129 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6130 Fix comment for declare-function.
6132 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6134 * custom.el (custom-fix-face-spec): New function; code moved from
6135 custom-face-edit-fix-value.
6136 (custom-push-theme): Use it when checking if a face has been
6137 changed outside customize.
6138 (custom-available-themes): New function.
6139 (load-theme): Use it.
6141 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6143 * custom.el (custom-push-theme): Cleanup (use cond).
6144 (disable-theme): Recompute the saved-face property.
6145 (custom-theme-recalc-face): Follow face alias before setting prop.
6147 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6148 New variables, containing checkbox images.
6150 * startup.el (fancy-startup-tail):
6151 * wid-edit.el (checkbox): Use them.
6153 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6155 * shell.el (shell-mode-map):
6156 * progmodes/modula2.el (m2-mode-map):
6157 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6158 * play/mpuz.el (mpuz-mode-map):
6159 * play/landmark.el (lm-mode-map):
6160 * play/decipher.el (decipher-mode-map):
6161 * play/5x5.el (5x5-mode-map):
6162 * net/telnet.el (telnet-mode-map):
6163 * net/quickurl.el (quickurl-list-mode-map):
6164 * net/mairix.el (mairix-searches-mode-map):
6165 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6166 * net/dig.el (dig-mode-map):
6167 * mail/mspools.el (mspools-mode-map):
6168 * hexl.el (hexl-mode-map):
6169 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6170 (wordstar-C-o-map, wordstar-C-q-map):
6171 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6172 * emacs-lisp/chart.el (chart-map):
6173 * edmacro.el (edmacro-mode-map):
6174 * erc/erc-list.el (erc-list-menu-mode-map):
6175 * array.el (array-mode-map): Declare and define in one step.
6177 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6179 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6181 * epa.el (epa-passphrase-callback-function): Display filename
6182 passed as the 3rd arg.
6183 * epa-file.el (epa-file-passphrase-callback-function):
6184 Pass filename to epa-passphrase-callback-function.
6186 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6188 * cus-edit.el (custom-face-widget-to-spec)
6189 (custom-face-get-current-spec, custom-face-state): New functions.
6190 (custom-face-set, custom-face-mark-to-save)
6191 (custom-face-value-create, custom-face-state-set): Use them.
6193 * cus-theme.el (custom-theme--listed-faces): New var.
6194 (customize-create-theme): Use *Custom Theme* as the buffer name.
6195 Set revert-buffer-function. Optional arg BUFFER. Insert all
6196 faces listed in custom-theme--listed-faces.
6197 (custom-theme-revert): New function.
6198 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6200 (custom-theme-write): Prompt for theme name if empty.
6201 (custom-theme-write-variables): Use dolist.
6202 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6204 2010-10-09 Alan Mackenzie <acm@muc.de>
6206 Enhance fontification of declarators to take account of the
6207 presence/absence of "typedef".
6209 * cc-engine.el (c-forward-type): New &optional param
6211 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6212 presence of either or both of a "struct"-like keyword and "typedef".
6214 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6215 fontification of declarators which follow a "}".
6216 (c-font-lock-declarations): Fontify declarators according to the
6217 presence/absence of "typedef".
6219 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6221 (c-typedef-decl-key): New lang variable built from
6222 c-typedef-decl-kwds.
6224 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6227 since that's too annoying. Move the filter groups commands to
6230 * epa.el (epa-passphrase-callback-function): Say what we're
6231 querying the password for.
6233 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6234 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6236 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6238 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6239 (custom-magic-value-create): Pad button tags with spaces.
6240 (custom-face-edit): New variable.
6241 (custom-face-value-create): Determine whether to use the usual
6242 face editor here, instead of using custom-face-selected.
6243 Pass face defaults to custom-face-edit widget.
6244 (custom-face-selected, custom-display-unselected): Delete widgets.
6245 (custom-display-unselected-match): Function removed.
6246 (custom-face-set, custom-face-mark-to-save):
6247 Accept custom-face-edit widgets as the direct widget child.
6249 * wid-edit.el (widget--completing-widget): New var.
6250 (widget-default-complete): Bind it when doing completion.
6251 (widget-string-complete, widget-file-complete): Use it.
6253 2010-10-09 Glenn Morris <rgm@gnu.org>
6255 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6256 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6257 (holiday-hebrew-misc): Small simplifications.
6259 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6261 * net/browse-url.el: Don't require thingatpt, term, dired,
6262 executable, or w3-auto when compiling.
6263 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6265 (browse-url-text-emacs): Require term.
6267 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6269 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6271 2010-10-08 Glenn Morris <rgm@gnu.org>
6273 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6275 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6276 (shadows-compare-text-p): Make it an obsolete alias for...
6277 (load-path-shadows-compare-text): ... new name.
6278 (find-emacs-lisp-shadows): Update for above name change.
6279 (load-path-shadows-same-file-or-nonexistent): New name for the old
6280 shadow-same-file-or-nonexistent.
6282 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6284 * minibuffer.el (completion--some, completion--do-completion)
6285 (minibuffer-complete-and-exit, minibuffer-completion-help)
6286 (completion-basic-try-completion)
6287 (completion-basic-all-completions)
6288 (completion-pcm--find-all-completions): Use lexical-let to
6289 avoid some false matches in variable completion (Bug#7056)
6291 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6293 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6295 2010-10-08 Leo <sdl.web@gmail.com>
6297 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6298 return non-nil if the file exists (Bug#7090).
6300 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * minibuffer.el (completion--replace):
6303 Better preserve markers (bug#7138).
6305 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6307 * server.el (server-process-filter): Doc fix.
6309 2010-10-08 Drew Adams <drew.adams@oracle.com>
6311 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6313 2010-10-08 Glenn Morris <rgm@gnu.org>
6315 * vc/ediff-wind.el (ediff-setup-control-frame):
6316 * vc/ediff-ptch.el (ediff-default-backup-extension):
6317 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6318 (ediff-exec-process): Remove system-types emx, windows-95.
6320 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6322 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6324 * cus-edit.el (custom-variable, custom-face): Doc fix.
6325 (custom-face-edit): Add value-create attribute.
6326 (custom-face-edit-value-create)
6327 (custom-face-edit-value-visibility-action): New functions.
6328 Hide unused face attributes by default, and add a visibility toggle.
6329 (custom-face-edit-deactivate): Show empty values with shadow face.
6330 (custom-face-selected): Only use this for face specs with default
6332 (custom-face-value-create): Cleanup.
6334 * wid-edit.el (widget-checklist-value-create): Use dolist.
6335 (widget-checklist-match-find): Make second arg optional.
6337 2010-10-07 Glenn Morris <rgm@gnu.org>
6339 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6342 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6343 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6344 load-path-shadows-mode, update references.
6345 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6346 Rename variable and button.
6347 (list-load-path-shadows): Update button caller.
6349 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6351 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6352 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6353 (smie-merge-prec2s): Handle those new entries.
6354 (smie-prec2-levels): Only set precedence to nil for actual
6356 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6357 that is now unnecessary.
6359 2010-10-07 Miles Bader <miles@gnu.org>
6361 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6363 2010-10-07 Glenn Morris <rgm@gnu.org>
6365 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6366 (mail-position-on-field): Remove declarations.
6367 (mail-position-on-field): Autoload it.
6368 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6369 and mail-header-end. Don't require sendmail.
6371 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6372 (shadow-mode): New mode.
6373 (shadow-find-file): New button.
6374 (list-load-path-shadows): Use shadow-mode and buttons.
6376 * iimage.el (iimage-version): Remove.
6377 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6378 Turn into defcustoms.
6379 (iimage-mode-map): Give it a doc string.
6381 * calendar/appt.el (appt-activate): Give a warning rather than an error
6382 if there is no diary-file.
6384 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6386 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6387 Use `tramp-handle-find-backup-file-name'.
6389 2010-10-06 Glenn Morris <rgm@gnu.org>
6391 * font-core.el (font-lock-defaults-alist): Remove variable.
6392 (font-lock-mode): Doc fix.
6393 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6394 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6395 (font-lock-set-defaults): Doc fix.
6396 Do not consult font-lock-defaults-alist.
6398 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6400 * emacs-lisp/cl.el: No longer provide cl-19.
6402 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6404 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6405 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6406 New defuns, taken from tramp-smb.el.
6407 (tramp-coding-system-change-eol-conversion)
6408 (tramp-set-process-query-on-exit-flag): Remove.
6410 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6411 (tramp-compat-coding-system-change-eol-conversion)
6412 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6415 * net/tramp-gvfs.el:
6416 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6417 by `tramp-compat-set-process-query-on-exit-flag'.
6419 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6420 Use `tramp-handle-directory-files-and-attributes',
6421 `tramp-handle-file-exists-p' and
6422 `tramp-handle-file-newer-than-file-p'.
6423 (tramp-imap-handle-file-exists-p)
6424 (tramp-imap-handle-file-executable-p)
6425 (tramp-imap-handle-file-readable-p)
6426 (tramp-imap-handle-directory-files-and-attributes)
6427 (tramp-imap-handle-file-newer-than-file-p): Remove.
6429 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6430 by `tramp-compat-set-process-query-on-exit-flag' and
6431 `tramp-coding-system-change-eol-conversion' by
6432 `tramp-compat-coding-system-change-eol-conversion'.
6434 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6435 Use `tramp-handle-directory-files-and-attributes',
6436 `tramp-handle-file-exists-p' and
6437 `tramp-handle-file-newer-than-file-p'.
6438 (tramp-smb-handle-directory-files-and-attributes)
6439 (tramp-smb-handle-file-exists-p)
6440 (tramp-smb-handle-file-newer-than-file-p): Remove.
6441 (tramp-smb-maybe-open-connection):
6442 Replace `tramp-set-process-query-on-exit-flag' by
6443 `tramp-compat-set-process-query-on-exit-flag'.
6445 2010-10-05 Glenn Morris <rgm@gnu.org>
6447 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6449 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6451 Continue reorganization of load dependencies. (Bug#7156)
6453 * net/tramp.el (tramp-handle-file-local-copy-hook)
6454 (tramp-delete-temp-file-function): Move down.
6455 (tramp-exists-file-name-handler): Move up.
6456 (tramp-register-file-name-handlers): Simplify autoload.
6457 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6458 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6459 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6460 (tramp-handle-file-name-completion)
6461 (tramp-handle-file-name-directory)
6462 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6463 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6464 (tramp-handle-find-backup-file-name)
6465 (tramp-handle-insert-file-contents, tramp-handle-load)
6466 (tramp-handle-substitute-in-file-name)
6467 (tramp-handle-unhandled-file-name-directory)
6468 (tramp-mode-string-to-int, tramp-local-host-p)
6469 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6471 * net/tramp-gvfs.el (top):
6472 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6474 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6475 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6477 2010-10-04 Glenn Morris <rgm@gnu.org>
6479 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6480 (appt-activate): Give status messages.
6482 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6484 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6485 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6486 `gnutls-negotiate' (formerly `starttls-negotiate').
6487 Remove trivial wrapper `starttls-open-stream'.
6489 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6491 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6492 log-outgoing commands.
6493 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6494 to create a buffer local revert-buffer-function variable.
6495 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6496 revert-buffer-function lambda.
6498 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6500 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6501 `gnutls-boot'. Make TYPE the only required parameter.
6502 Allow TRUSTFILES and KEYFILES to be lists.
6503 (open-ssl-stream): Use it.
6505 2010-10-03 Glenn Morris <rgm@gnu.org>
6507 * subr.el (directory-sep-char): Remove obsolete variable.
6508 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6511 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6512 * vc/vc.el (vc-static-header-alist): Doc fix.
6513 * vc/vc-cvs.el (vc-cvs-header):
6514 * vc/vc-rcs.el (vc-rcs-header):
6515 * vc/vc-sccs.el (vc-sccs-header):
6516 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6517 * obsolete/vc-mcvs.el (vc-mcvs-header):
6518 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6521 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6523 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6524 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6526 2010-10-03 Glenn Morris <rgm@gnu.org>
6528 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6530 * textmodes/rst.el (rst-font-lock-keywords-function):
6533 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6535 * printing.el: Drop Emacs 20 code.
6537 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6538 without having used appt.el already).
6540 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6541 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6542 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6544 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6545 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6547 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6548 (charset-width, find-charset-region, chars-in-region, forward-point)
6549 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6550 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6551 Remove compatibility cruft (none of these are used by ps*.el).
6553 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6555 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6557 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6559 * server.el (server-process-filter, server-return-error):
6560 Give emacsclient time to shut down after receiving an error string.
6562 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6564 * files.el (remote-file-name-inhibit-cache): New defcustom.
6566 * time.el (display-time-file-nonempty-p):
6567 Use `remote-file-name-inhibit-cache'.
6569 * net/tramp.el (tramp-completion-reread-directory-timeout):
6572 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6573 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6574 `remote-file-name-inhibit-cache'. Check also for an integer
6575 value. Add/increase counter when `tramp-verbose' >= 10.
6576 (tramp-set-file-property): Add/increase counter when
6577 `tramp-verbose' >= 10.
6579 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6580 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6581 (tramp-bug): Set tramp-autoload cookie. Report all interned
6582 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6583 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6584 characters only in strings.
6586 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6587 to backward compatibility.
6589 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6590 (tramp-handle-file-name-all-completions)
6591 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6592 (tramp-open-connection-setup-interactive-shell):
6593 Call `tramp-cleanup-connection' directly.
6595 2010-10-02 Glenn Morris <rgm@gnu.org>
6597 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6599 * subr.el (char-bytes): Remove obsolete function.
6601 * isearch.el (isearch-return-char): Remove obsolete function.
6603 * mouse.el: No longer provide mldrag.
6604 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6605 Remove obsolete aliases.
6607 * comint.el (comint-kill-output): Remove obsolete alias.
6609 * composite.el (decompose-composite-char): Remove obsolete function.
6610 * ps-def.el (decompose-composite-char): Remove unused function.
6612 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6614 * outline.el (outline-visible): Remove obsolete function.
6616 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6617 * faces.el (internal-find-face, internal-get-face)
6618 (frame-update-faces, frame-update-face-colors)
6619 (x-frob-font-weight, x-frob-font-slant)
6620 (internal-frob-font-weight, internal-frob-font-slant)
6621 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6622 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6623 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6625 * emulation/viper-util.el (viper-get-face):
6626 * obsolete/lucid.el (find-face, get-face): Use facep.
6627 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6628 Remove unused functions.
6629 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6631 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6632 delete tempfile if interrupted during compilation.
6634 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6636 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6638 (tls-program): Add --insecure to be consistent with the defaults from
6639 openssl s_client. Now all three commands are insecure.
6641 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6643 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6644 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6645 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6647 2010-10-01 Glenn Morris <rgm@gnu.org>
6649 * obsolete/sc.el: Remove file.
6651 * files.el (temporary-file-directory): On darwin, also try
6652 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6654 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6656 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6657 Let's not break compatibility gratuitously, shall we?
6659 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6661 * net/tls.el (tls-starttls-switches): New variable.
6662 (tls-find-starttls-argument): Use it.
6663 (open-tls-stream): Ditto.
6665 * net/netrc.el (netrc-credentials): Return the value of the "default"
6667 (netrc-machine): Ditto.
6669 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6671 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6673 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6675 * server.el (server-start): Don't write pid to the authentication file.
6676 (server-create-tty-frame): Don't send pid.
6677 (server-process-filter): Send pid at the start of every connection.
6679 2010-09-30 Glenn Morris <rgm@gnu.org>
6681 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6682 (show-all-diary-entries): Remove obsolete function aliases.
6684 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6685 Remove options, obsolete since 22.1.
6686 (appt-display-format, appt-display-message):
6687 Remove backwards-compatibility code.
6688 (appt-check): No longer check appt-issue-message.
6689 (appt-make-list): No longer autoload it. Doc fix. No longer
6690 activate the package.
6692 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6694 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6695 (starttls-negotiate): Just call boot, and let the handshake be
6696 triggered from the read loop.
6698 2010-09-29 Glenn Morris <rgm@gnu.org>
6700 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6701 not displaying the diary.
6702 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6703 * calendar/appt.el (appt-check): No longer need to kill diary.
6705 * calendar/diary-lib.el (diary-list-entries): Move the
6706 "Preparing..." message entirely here.
6707 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6708 messages to diary-list-entries.
6709 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6710 diary-display-function.
6712 * calendar/diary-lib.el (diary-include-other-diary-files):
6713 Trap some recursive includes.
6715 * calendar/appt.el (appt-activate): Check diary file.
6717 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6719 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6722 * calendar/time-date.el: No need to require cl for Emacs 21.
6724 2010-09-28 Glenn Morris <rgm@gnu.org>
6726 * calendar/appt.el (appt-check): Minor simplification.
6728 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6730 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6733 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6735 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6736 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6738 2010-09-27 Kenichi Handa <handa@m17n.org>
6740 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6743 2010-09-27 Kenichi Handa <handa@m17n.org>
6745 * international/mule.el (define-coding-system): Docstring fixed.
6747 * international/mule-diag.el (describe-character-set): Use princ
6748 with proper print-length and print-level instead of insert.
6750 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6752 * window.el (walk-windows): Doc fix (bug#7105).
6754 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * emacs-lisp/float-sup.el (e): Remove.
6758 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6760 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6762 (starttls-negotiate): Use it.
6764 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6766 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6769 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6773 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6777 * net/netrc.el (netrc-store-data): New function.
6779 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6781 * net/gnutls.el: GnuTLS glue code to set up a connection.
6783 2010-09-25 Julien Danjou <julien@danjou.info>
6785 * notifications.el: Call dbus-register-signal only if it is bound.
6787 2010-09-25 Glenn Morris <rgm@gnu.org>
6789 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6790 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6791 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6792 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6793 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6794 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6795 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6796 * eshell/esh-util.el, eshell/esh-var.el:
6797 Remove leading `*' from docs of faces and defcustoms.
6799 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6801 * eshell/em-ls.el (eshell-ls-archive-regexp):
6802 * eshell/esh-util.el (eshell-tar-regexp):
6803 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6804 * info.el (Info-suffix-list):
6805 * international/mule.el (auto-coding-alist):
6806 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6807 * progmodes/etags.el (tags-compression-info-list):
6808 Support xz compression.
6810 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6812 * files.el (get-free-disk-space): Don't assume the "df" output
6813 columns line up (Bug#6995).
6815 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6817 * finder.el (finder-unknown-keywords):
6818 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6819 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6821 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6823 * server.el (server-start): Revert part of 2010-08-08 change. Using
6824 address 127.0.0.1 for local host is now done in Fmake_network_process.
6826 2010-09-24 Glenn Morris <rgm@gnu.org>
6828 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6829 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6830 * textmodes/css-mode.el, textmodes/dns-mode.el:
6831 Move autoloaded auto-mode-alist entries to files.el.
6832 * files.el (auto-mode-alist): Move entries here.
6834 2010-09-23 Glenn Morris <rgm@gnu.org>
6836 * isearch.el (isearch-lazy-highlight-cleanup)
6837 (isearch-lazy-highlight-initial-delay)
6838 (isearch-lazy-highlight-interval)
6839 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6840 * net/net-utils.el (ipconfig-program-options):
6841 Move aliases to options before the associated definitions.
6843 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6845 * newcomment.el (comment-normalize-vars): Better test validity of
6848 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6850 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6851 (float-e): New name for `e'.
6852 (degrees-to-radians, radians-to-degrees):
6853 * calendar/solar.el (solar-longitude):
6854 * calculator.el (calculator-registers, calculator-funcall):
6855 * textmodes/artist.el (artist-spray-random-points):
6856 * play/bubbles.el (bubbles--initialize-images): Use new names.
6858 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6860 Update to CEDET 1.0's version of EIEIO.
6862 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6864 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6865 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6866 (class-precedence-list): If class is nil, return nil.
6867 (eieio-generic-call): If class of first input arg is nil, don't
6868 look up static methods, and do check for primary methods.
6869 (initialize-instance): See if the default needs to be evaluated
6870 during the constructor.
6871 (eieio-perform-slot-validation-for-default): Don't do the check
6872 for values that will eventually be evaluated.
6873 (eieio-eval-default-p): New function.
6874 (eieio-default-eval-maybe): Use it.
6876 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6878 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6879 method-invocation-order.
6880 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6881 (eieio-class-precedence-dfs): Compute class precedence list using
6883 (eieio-class-precedence-bfs): Compute class precedence list using
6885 (eieio-class-precedence-c3): Compute class precedence list using
6887 (class-precedence-list): New function.
6888 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6889 (inconsistent-class-hierarchy): New error symbol.
6890 (call-next-method): Stow the replacement argument list for future
6891 call-next-method invocations.
6893 2010-09-23 Glenn Morris <rgm@gnu.org>
6895 * calendar/appt.el (appt-check): If not displaying the diary,
6896 use (diary 1) to only get the entries we need.
6897 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6898 that it is in day order. (Bug#7019)
6900 * calendar/appt.el (appt-check): Rather than showing the diary,
6901 just turn off invisible display, and only if needed.
6903 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6905 2010-09-23 Glenn Morris <rgm@gnu.org>
6907 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6908 (byte-compile-defvar, byte-compile-cl-warn):
6909 Start warnings with lower-case, like the majority.
6911 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6913 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6915 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6916 * files.el (auto-mode-alist): Move ld-script entries here, further down
6919 * vc/add-log.el: Don't require timezone when compiling.
6920 (timezone-make-date-sortable): Autoload it.
6921 (change-log-sortable-date-at): Don't require timezone.
6922 Use `ignore-errors'.
6924 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6925 Move alias before definition, so it does not need autoloading.
6927 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6928 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6929 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6930 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6931 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6932 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6933 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6934 * textmodes/tex-mode.el, textmodes/two-column.el:
6935 Remove leading `*' from docs of defcustoms etc.
6937 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6939 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6941 2010-09-22 Dan Christensen <jdc@uwo.ca>
6943 * calendar/time-date.el (date-to-time): Try using parse-time-string
6944 first before using the slower timezone-make-date-arpa-standard.
6946 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6948 * calendar/time-date.el (format-seconds): Comment fix.
6950 2010-09-22 Glenn Morris <rgm@gnu.org>
6952 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6953 is not automatically buffer-local.
6955 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6957 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6958 (smie-indent-comment): Be more careful with comment-start-skip.
6959 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6960 (smie-indent-functions): Use them.
6962 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6964 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6966 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6968 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6969 tool-bar-position. Don't modify frame parameters here.
6970 (menu-bar-options-save): Add tool-bar-position.
6972 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6974 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6976 * textmodes/reftex-parse.el (reftex-what-macro)
6977 (reftex-context-substring): Let-bind forward-sexp-function to nil
6978 since we don't need/want to treat \begin...\end as a block (bug#7053).
6980 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6982 * simple.el (blink-matching-open): Use syntax-class.
6984 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6985 Set invisibility spec for pascal's outline mode.
6986 (pascal-outline-change): Clean up calling convention.
6987 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6989 * progmodes/prolog.el (prolog-smie-forward-token)
6990 (prolog-smie-backward-token): New functions.
6991 (prolog-mode-variables): Use them to parse "!," correctly.
6992 Set up smie-blink-matching for ".".
6994 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6996 (ispell-region, ispell-process-line): Update users.
6998 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7001 * textmodes/ispell.el: Fix commenting convention.
7002 (ispell-parse-output): Simplify, use push.
7003 (ispell-region): Use match-string-no-properties.
7004 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7005 (ispell-minor-mode): Use define-minor-mode.
7006 (ispell-message): Remove unused var `skip-regexp'.
7007 (ispell-add-per-file-word-list): Use dynamic let-binding.
7008 Try and use the proper comment marker.
7010 * mail/sendmail.el: Fix commenting convention.
7011 (sendmail-send-it): Use line-beginning-position.
7013 * help-fns.el (describe-variable): Add original value, if applicable.
7015 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7017 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7019 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7021 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7023 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7024 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7025 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7026 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7027 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7028 something like "." can also be a closer.
7029 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7030 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7031 Rename internal functions to use "--". Update callers.
7033 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7035 * fringe.el (fringe-styles): New var.
7036 (fringe-mode, fringe-query-style): Use it.
7038 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7040 * progmodes/sql.el: Version 2.8
7041 (sql-login-params): Update widget structure; changes still needed.
7042 (sql-product-alist): Add :list-all and :list-table features for
7043 SQLite, Postgres and MySQL products.
7044 (sql-redirect): Handle default value.
7045 (sql-execute, sql-execute-feature): New functions.
7046 (sql-read-table-name): New function.
7047 (sql-list-all, sql-list-table): New functions. User API.
7048 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7049 for above functions.
7050 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7051 for above functions.
7052 (sql-postgres-login-params): Add user and database defaults.
7053 (sql-buffer-live-p): Bug fix.
7054 (sql-product-history): New variable.
7055 (sql-read-product): New function. Use it.
7056 (sql-set-product, sql-product-interactive): Use it.
7057 (sql-connection-history): New variable.
7058 (sql-read-connection): New function. Use it.
7059 (sql-connect): New function.
7060 (sql-for-each-login): Redesign function interface.
7061 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7062 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7063 (sql-comint): Check for program. Existing live buffer.
7064 (sql-comint-postgres): Add port parameter.
7066 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7068 * emacs-lisp/warnings.el: Fix commenting convention.
7069 (display-warning): Use special mode and make the buffer read-only.
7071 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7073 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7074 empty string when it follows a repeated or optional pattern.
7076 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7078 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7079 (indent-region): Use indent-according-to-mode.
7081 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7083 * fringe.el (fringe-mode): Doc fix.
7085 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7087 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7088 refreshing the preview buffer.
7090 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7093 (latex-syntax-propertize-rules): New consts; replace
7094 tex-font-lock-syntactic-keywords.
7095 (tex-env-mark, latex-env-before-change): New functions.
7096 (latex-electric-env-pair-mode): New minor mode.
7097 (tex-font-lock-verb): Change arguments; do move point.
7098 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7099 representation as a form of comment.
7100 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7101 (doctex-syntax-propertize-rules): New const; replaces
7102 doctex-font-lock-syntactic-keywords.
7103 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7105 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7106 (fortran-make-syntax-propertize-function): New function; replaces
7107 fortran-font-lock-syntactic-keywords.
7108 (fortran-mode): Use it.
7109 (fortran-line-length): Use it. Improve interactive spec.
7111 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7112 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7113 when adding surrounding \(..\).
7115 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7117 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7119 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7120 Use with-current-buffer.
7122 * isearch.el (isearch-face): Rename from `isearch'.
7123 (isearch-highlight): Use new name.
7125 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7127 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7128 5, for `half' width fringes. (Bug#6933)
7130 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7132 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7133 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7135 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7137 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7139 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7140 in calculating new frame position. Add more space between new and
7141 parent on the left (Bug#7048).
7143 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7145 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7148 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7150 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7152 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7153 obsolete alias for x-selection-value.
7155 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7157 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7159 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7162 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7164 * net/tramp-compat.el (tramp-compat-with-temp-message)
7165 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7166 (tramp-compat-process-put): New defuns.
7168 * net/tramp.el (top):
7169 * net/tramp-gvfs.el (top):
7170 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7172 * net/tramp.el (tramp-progress-reporter-update):
7173 Use `tramp-compat-funcall'.
7175 * net/tramp.el (tramp-process-actions):
7176 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7177 * net/tramp-sh.el (tramp-handle-vc-registered)
7178 (tramp-get-remote-stat, tramp-get-remote-readlink):
7179 Use `tramp-compat-with-temp-message'.
7181 * net/tramp-sh.el (top): Require 'cl.
7182 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7183 (tramp-open-connection-setup-interactive-shell):
7184 Use `tramp-compat-process-put'.
7186 2010-09-15 Alan Mackenzie <acm@muc.de>
7188 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7190 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7192 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7194 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7195 `lexical' for warnings related to lexical scoping.
7196 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7197 global vars which don't have a prefix and could hence affect lexical
7198 scoping in unrelated files.
7200 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7202 * net/imap.el: Revert back to version
7203 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7206 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7208 * obsolete/old-whitespace.el (whitespace-unload-function):
7209 Explicitly pass `obarray' to `unintern' to avoid a warning.
7211 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7213 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7214 Add `when' argument. Update callers.
7216 * subr.el (unintern): Declare the obarray arg mandatory.
7218 2010-09-14 Glenn Morris <rgm@gnu.org>
7220 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7223 * calendar/diary-lib.el (diary-included-files): New variable.
7224 (diary-list-entries): Maybe initialize diary-included-files.
7225 (diary-include-other-diary-files): Append to diary-included-files.
7226 * calendar/appt.el (appt-update-list): Also check the members of
7227 diary-included-files. (Bug#6999)
7228 (appt-check): Doc fix.
7230 2010-09-14 David Reitter <david.reitter@gmail.com>
7232 * simple.el (line-move-visual): Do not truncate goal column to
7233 integer size. (Bug#7020)
7235 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7237 * repeat.el (repeat): Allow repeating when the last event is a click.
7238 Suggested by Drew Adams (bug#6256).
7240 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7242 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7243 Replace setting HGRCPATH to "" by some less invasive --config options.
7245 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * font-lock.el (font-lock-beginning-of-syntax-function):
7250 2010-09-14 Glenn Morris <rgm@gnu.org>
7252 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7253 and tool-bar modes. (Bug#6211)
7254 (menu-bar-mode): Move setting of standard-value after the
7255 minor-mode definition, otherwise it seems to have no effect.
7257 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7259 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7260 Fix typo. (Bug#6976)
7262 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7264 * whitespace.el: Allow cleaning up blanks without blank
7265 visualization (Bug#6651). Adjust help window for
7266 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7267 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7268 (whitespace-style): Add new value 'face. Adjust docstring.
7269 (whitespace-space, whitespace-hspace, whitespace-tab):
7270 Adjust foreground property face.
7271 (whitespace-line-column): Adjust docstring and type declaration.
7272 (whitespace-style-value-list, whitespace-toggle-option-alist)
7273 (whitespace-help-text): Adjust const initialization.
7274 (whitespace-toggle-options, global-whitespace-toggle-options):
7276 (whitespace-display-window, whitespace-interactive-char)
7277 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7278 (whitespace-help-scroll): New fun.
7280 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7282 * calendar/time-date.el (format-seconds): Comment fix.
7284 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7286 * progmodes/sql.el: Version 2.7.
7287 (sql-buffer-live-p): Improve detection.
7288 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7289 (sql-set-sqli-buffer): Use it.
7290 (sql-product-interactive): Run `sql-set-sqli-hook'.
7291 (sql-rename-buffer): Code cleanup.
7292 (sql-redirect, sql-redirect-value): New functions. More to come.
7294 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7296 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.
7297 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7298 (TRAMP_SRC): New macro.
7299 ($(lisp)/net/tramp-loaddefs.el): New target.
7301 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7303 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7305 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7307 * net/tramp.el (top): Don't show loading message. Require just
7308 'tramp-compat, everything else is required there.
7309 Use `ignore-errors' where appropriate.
7310 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7311 (tramp-terminal-type, tramp-end-of-output)
7312 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7313 (tramp-completion-function-alist-ssh)
7314 (tramp-completion-function-alist-telnet)
7315 (tramp-completion-function-alist-su)
7316 (tramp-completion-function-alist-putty, tramp-remote-path)
7317 (tramp-remote-process-environment, tramp-sh-extra-args)
7318 (tramp-actions-before-shell, tramp-uudecode)
7319 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7320 (tramp-perl-file-attributes)
7321 (tramp-perl-directory-files-and-attributes)
7322 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7323 (tramp-perl-encode, tramp-perl-decode)
7324 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7325 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7326 (tramp-handle-make-symbolic-link, tramp-handle-load)
7327 (tramp-handle-file-name-as-directory)
7328 (tramp-handle-file-name-directory)
7329 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7330 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7331 (tramp-do-file-attributes-with-ls)
7332 (tramp-do-file-attributes-with-perl)
7333 (tramp-do-file-attributes-with-stat)
7334 (tramp-handle-set-visited-file-modtime)
7335 (tramp-handle-verify-visited-file-modtime)
7336 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7337 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7338 (tramp-handle-file-selinux-context)
7339 (tramp-handle-set-file-selinux-context)
7340 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7341 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7342 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7343 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7344 (tramp-handle-file-ownership-preserved-p)
7345 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7346 (tramp-handle-directory-files-and-attributes)
7347 (tramp-do-directory-files-and-attributes-with-perl)
7348 (tramp-do-directory-files-and-attributes-with-stat)
7349 (tramp-handle-file-name-all-completions)
7350 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7351 (tramp-handle-copy-file, tramp-handle-copy-directory)
7352 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7353 (tramp-do-copy-or-rename-file-via-buffer)
7354 (tramp-do-copy-or-rename-file-directly)
7355 (tramp-do-copy-or-rename-file-out-of-band)
7356 (tramp-handle-make-directory, tramp-handle-delete-directory)
7357 (tramp-handle-delete-file)
7358 (tramp-handle-dired-recursive-delete-directory)
7359 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7360 (tramp-handle-insert-directory)
7361 (tramp-handle-unhandled-file-name-directory)
7362 (tramp-handle-expand-file-name)
7363 (tramp-handle-substitute-in-file-name)
7364 (tramp-handle-executable-find, tramp-process-sentinel)
7365 (tramp-handle-start-file-process, tramp-handle-process-file)
7366 (tramp-handle-call-process-region, tramp-handle-shell-command)
7367 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7368 (tramp-handle-insert-file-contents)
7369 (tramp-handle-insert-file-contents-literally)
7370 (tramp-handle-find-backup-file-name)
7371 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7372 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7373 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7374 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7375 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7376 (tramp-find-file-exists-command, tramp-open-shell)
7377 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7378 (tramp-open-connection-setup-interactive-shell)
7379 (tramp-local-coding-commands, tramp-remote-coding-commands)
7380 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7381 (tramp-inline-compress-commands, tramp-find-inline-compress)
7382 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7383 (tramp-send-command, tramp-wait-for-output)
7384 (tramp-send-command-and-check, tramp-barf-unless-okay)
7385 (tramp-send-command-and-read, tramp-mode-string-to-int)
7386 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7387 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7388 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7389 (tramp-method-out-of-band-p, tramp-local-host-p)
7390 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7391 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7392 (tramp-get-test-command, tramp-get-test-nt-command)
7393 (tramp-get-file-exists-command, tramp-get-remote-ln)
7394 (tramp-get-remote-perl, tramp-get-remote-stat)
7395 (tramp-get-remote-readlink, tramp-get-remote-trash)
7396 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7397 (tramp-get-local-uid, tramp-get-local-gid)
7398 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7400 (tramp-methods, tramp-default-method-alist)
7401 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7402 Move initialization to tramp-sh.el.
7403 (tramp-temp-name-prefix): Make it a defconst.
7404 (tramp-dissect-file-name): Don't check anymore for multi-hop
7406 (tramp-debug-outline-regexp): Add a docstring.
7407 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7408 (tramp-get-debug-buffer): Use it.
7410 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7411 initialization forms.
7412 (tramp-set-connection-property): Don't protect `tramp-message'
7413 call, it isn't necessary any longer.
7414 (tramp-dump-connection-properties): Use `ignore-errors'.
7416 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7417 'password-cache and 'auth-source.
7419 * net/tramp-gvfs.el (top):
7420 * net/tramp-smb.el (top): Require 'tramp-sh.
7422 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7424 * net/tramp-sh.el: New file, derived from tramp.el.
7425 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7426 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7427 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7428 Use `ignore-errors' where appropriate.
7429 (tramp-sh-file-name-handler-alist): Rename from
7430 `tramp-file-name-handler-alist'.
7431 (tramp-send-command-and-check): Return t or nil. Remove all
7432 `zerop' checks, where called.
7433 (tramp-handle-set-file-modes)
7434 (tramp-do-copy-or-rename-file-directly)
7435 (tramp-handle-delete-directory, tramp-handle-delete-file)
7436 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7437 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7438 (tramp-get-remote-ln): Set tramp-autoload cookie.
7440 * net/tramp-fish.el: Remove file.
7442 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7444 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7445 buffer-file-name to avoid file-locking. (Bug#7026)
7447 2010-09-13 Julien Danjou <julien@danjou.info>
7449 * notifications.el (notifications-notify): Add support for
7450 image-path and sound-name.
7451 (notifications-specification-version): Add this variable.
7453 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7457 2010-09-12 Leo <sdl.web@gmail.com>
7459 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7460 (rcirc-completion-start): New variables.
7461 (rcirc-nick-completions): Rename to rcirc-completions.
7462 (rcirc-nick-completion-start-offset): Delete.
7463 (rcirc-completion-at-point): New function for constructing
7464 completion data for both nicks and irc commands. Add to
7465 completion-at-point-functions in rcirc mode.
7466 (rcirc-complete): Rename from rcirc-nick-complete; use
7467 rcirc-completion-at-point.
7468 (defun-rcirc-command): Update rcirc-client-commands.
7470 2010-09-11 Glenn Morris <rgm@gnu.org>
7472 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7473 atomically, to avoid parallel build errors. (Bug#4196)
7475 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7477 * progmodes/sql.el: Version 2.6
7478 (sql-dialect): Synonym for "sql-product".
7479 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7480 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7481 Set "sql-buffer" to buffer name not buffer object so multiple sql
7482 interactive buffers work properly. Reverts misguided changes in
7484 (sql-comint): Make sure different buffer name is used if "*SQL*"
7485 buffer is for a different product.
7486 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7488 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7489 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7490 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7491 Accept new buffer name or prompt for one.
7492 (sql-port): Default to zero.
7493 (sql-comint-mysql): Handle "sql-port" as a numeric.
7494 (sql-port-history): Delete unused variable.
7495 (sql-get-login): Default "sql-port" to a number.
7496 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7497 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7498 "sqlite3" executables.
7499 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7500 (sql-buffer-live-p): New function.
7501 (sql-mode-menu, sql-send-string): Use it.
7502 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7504 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7505 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7507 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7509 * net/netrc.el (netrc-credentials): New convenience function.
7511 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7513 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7514 to replace texinfo-font-lock-syntactic-keywords.
7515 (texinfo-mode): Use it.
7517 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7518 Use syntax-propertize-function.
7520 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7521 replace sgml-font-lock-syntactic-keywords.
7522 (sgml-mode): Use it.
7524 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7525 since we don't use it.
7527 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7529 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7531 (vhdl-fontify-buffer): Adjust.
7533 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7534 replace tcl-font-lock-syntactic-keywords.
7537 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7538 replace simula-font-lock-syntactic-keywords.
7539 (simula-mode): Use it.
7541 * progmodes/sh-script.el (sh-st-symbol): Remove.
7542 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7543 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7544 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7545 (sh-font-lock-paren): Set syntax-multiline.
7546 (sh-font-lock-syntactic-keywords): Remove.
7547 (sh-syntax-propertize-function): New function to replace it.
7550 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7551 Define while compiling.
7552 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7553 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7554 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7555 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7556 (ruby-here-doc-end-syntax): Only define when
7557 syntax-propertize is not available.
7558 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7560 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7561 (electric-indent-chars): Silence bytecompiler.
7562 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7563 electric-indent-chars.
7565 * progmodes/python.el (python-syntax-propertize-function): New var to
7566 replace python-font-lock-syntactic-keywords.
7567 (python-mode): Use it.
7568 (python-quote-syntax): Simplify and adjust to new use.
7570 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7571 replace perl-font-lock-syntactic-keywords.
7572 (perl-syntax-propertize-special-constructs): New fun to replace
7573 perl-font-lock-special-syntactic-constructs.
7574 (perl-font-lock-syntactic-face-function): New fun.
7575 (perl-mode): Use it.
7577 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7578 to replace octave-font-lock-close-quotes.
7579 (octave-syntax-propertize-function): New function to replace
7580 octave-font-lock-syntactic-keywords.
7581 (octave-mode): Use it.
7583 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7584 replaces mixal-font-lock-syntactic-keywords.
7585 (mixal-mode): Use it.
7587 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7588 New var; replaces makefile-font-lock-syntactic-keywords.
7589 (makefile-mode): Use it.
7590 (makefile-imake-mode): Adjust.
7592 * progmodes/js.el (js--regexp-literal): Define while compiling.
7593 (js-syntax-propertize-function): New var; replaces
7594 js-font-lock-syntactic-keywords.
7597 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7598 replaces gdb-script-font-lock-syntactic-keywords.
7599 (gdb-script-mode): Use it.
7601 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7602 (fortran--font-lock-syntactic-keywords): New var.
7603 (fortran-line-length): Update syntax-propertize-function and
7604 fortran--font-lock-syntactic-keywords.
7606 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7608 * progmodes/cfengine.el (cfengine-mode):
7609 Use syntax-propertize-function.
7610 (cfengine-font-lock-syntactic-keywords): Remove.
7612 * progmodes/autoconf.el (autoconf-mode):
7613 Use syntax-propertize-function.
7614 (autoconf-font-lock-syntactic-keywords): Remove.
7616 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7617 (ada-after-change-function, ada-initialize-syntax-table-properties)
7618 (ada-handle-syntax-table-properties): Only define when
7619 syntax-propertize is not available.
7620 (ada-mode): Use syntax-propertize-function.
7622 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7623 (font-lock-fontify-syntactic-keywords-region): Move handling of
7624 font-lock-syntactically-fontified to...
7625 (font-lock-default-fontify-region): ...here.
7626 Let syntax-propertize-function take precedence.
7627 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7629 * emacs-lisp/syntax.el (syntax-propertize-function)
7630 (syntax-propertize-chunk-size, syntax-propertize--done)
7631 (syntax-propertize-extend-region-functions): New vars.
7632 (syntax-propertize-wholelines, syntax-propertize-multiline)
7633 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7634 (syntax-propertize): New functions.
7635 (syntax-propertize-rules): New macro.
7636 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7637 (syntax-ppss): Call syntax-propertize.
7639 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7641 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7643 * textmodes/ispell.el (ispell-init-process): Improve comments.
7644 XEmacs compatibility changes regarding (add-hook) 'local option
7645 and (set-process-query-on-exit-flag).
7647 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7649 * net/tramp-cache.el (tramp-parse-connection-properties):
7650 Set tramp-autoload cookie.
7652 2010-09-09 Glenn Morris <rgm@gnu.org>
7654 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7655 (imagemagick-register-types): Doc fix.
7657 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7659 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7661 * progmodes/js.el (require): Require is already "eval-and-compile".
7662 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7663 (js--re-search-backward): Use js--re-search-forward.
7665 * progmodes/fortran.el (fortran-line-length): Don't recompute
7666 syntactic keywords redundantly a second time.
7668 * progmodes/ada-mode.el: Replace "(set '" with setq.
7669 (ada-mode): Simplify.
7670 (ada-create-case-exception, ada-adjust-case-interactive)
7671 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7672 (ada-search-ignore-string-comment, ada-move-to-start)
7673 (ada-move-to-end): Use with-syntax-table.
7675 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7676 (font-lock-unfontify-region, font-lock-default-fontify-region):
7677 Update usage correspondingly.
7678 (font-lock-fontify-syntactic-keywords-region):
7679 Set parse-sexp-lookup-properties buffer-locally here.
7680 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7682 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7684 2010-09-08 Glenn Morris <rgm@gnu.org>
7686 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7687 Error if not compiled with -DBYTE_CODE_METER.
7689 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7690 Ignore dir-locals-file.
7692 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7694 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7696 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7697 for the `gnu' messages.
7698 (compilation-set-skip-threshold): New command.
7699 (compilation-start): Use \' rather than $.
7700 (compilation-forget-errors): Use clrhash.
7702 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7704 * textmodes/ispell.el (ispell-valid-dictionary-list):
7707 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7709 Migrate to Tramp 2.2. Rearrange load dependencies.
7710 (Bug#1529, Bug#5448, Bug#5705)
7712 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7713 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7714 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7716 * net/tramp.el (top): Remove all other tramp-* loads except
7717 tramp-compat.el. Remove all changes to tramp-unload-hook for
7718 other tramp-* packages. Rearrange defun order. Change calls of
7719 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7720 `tramp-compat-octal-to-decimal' to new function names.
7721 (tramp-terminal-type, tramp-initial-end-of-output)
7722 (tramp-methods, tramp-foreign-file-name-handler-alist)
7723 (tramp-tramp-file-p, tramp-completion-mode-p)
7724 (tramp-send-command-and-check, tramp-get-remote-path)
7725 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7726 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7727 (with-file-property, with-connection-property): Move to
7729 (tramp-local-call-process, tramp-decimal-to-octal)
7730 (tramp-octal-to-decimal): Move to tramp-compat.el.
7731 (tramp-handle-shell-command): Do not require 'shell.
7732 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7734 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7736 * net/tramp-cache.el (top): Require 'tramp. Add to
7737 `tramp-unload-hook'.
7738 (tramp-cache-data, tramp-get-file-property)
7739 (tramp-set-file-property, tramp-flush-file-property)
7740 (tramp-flush-directory-property, tramp-get-connection-property)
7741 (tramp-set-connection-property, tramp-flush-connection-property)
7742 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7744 (with-file-property, with-connection-property): New defuns, moved
7746 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7749 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7750 (tramp-version): Set tramp-autoload cookie.
7752 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7753 changes to tramp-unload-hook for other tramp-* packages. Add to
7754 `tramp-unload-hook'.
7755 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7756 (tramp-compat-call-process): New defuns, moved from tramp.el.
7758 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7759 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7760 Add to `tramp-unload-hook'. Change call of
7761 `tramp-compat-decimal-to-octal' to new function name.
7762 (tramp-fish-method): Make it a defconst.
7763 (tramp-fish-file-name-p): Make it a defsubst.
7764 (tramp-fish-method, tramp-fish-file-name-handler)
7765 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7767 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7768 `tramp-foreign-file-name-handler-alist'. Add to
7769 `tramp-unload-hook'.
7770 (tramp-ftp-method): Make it a defconst.
7771 (tramp-ftp-file-name-p): Make it a defsubst.
7772 (tramp-ftp-method, tramp-ftp-file-name-handler)
7773 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7775 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7776 `tramp-foreign-file-name-handler-alist'. Add to
7777 `tramp-unload-hook'. Change checks, whether package can be
7779 (tramp-gvfs-file-name-p): Make it a defsubst.
7780 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7781 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7782 (tramp-gvfs-handle-file-directory-p): New defun.
7783 (tramp-gvfs-file-name-handler-alist): Use it.
7785 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7786 `tramp-foreign-file-name-handler-alist'. Add to
7787 `tramp-unload-hook'.
7788 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7789 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7791 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7792 (tramp-gw-open-connection): Set tramp-autoload cookie.
7794 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7795 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7796 Add to `tramp-unload-hook'. Change checks, whether package can be
7798 (tramp-imap-file-name-p): Make it a defsubst.
7799 (tramp-imap-method, tramp-imaps-method)
7800 (tramp-imap-file-name-handler)
7801 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7803 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7804 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7805 Add to `tramp-unload-hook'. Change checks, whether package can be
7806 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7808 (tramp-smb-tunnel-method): Make it a defconst.
7809 (tramp-smb-file-name-p): Make it a defsubst.
7810 (tramp-smb-method, tramp-smb-file-name-handler)
7811 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7813 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7814 (tramp-uuencode-region): Set tramp-autoload cookie.
7816 * net/trampver.el (top) Add to `tramp-unload-hook'.
7817 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7818 cookie. Update release number.
7820 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7822 * textmodes/ispell.el (ispell-start-process): Make sure original
7823 arg list is properly initialized (Bug#6993, Bug#6994).
7825 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7827 * files.el (directory-abbrev-alist): Use \` as default regexp.
7829 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7830 chars like - or ] (bug#6984).
7831 (rx-any-condense-range): Explode 2-char ranges.
7833 2010-09-06 Glenn Morris <rgm@gnu.org>
7835 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7837 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * textmodes/bibtex.el:
7840 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7842 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7844 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7845 since no callers use it.
7846 (imap-message-get): Ditto.
7847 (imap-message-put): Ditto.
7848 (imap-mailbox-map): Ditto.
7849 (imap-mailbox-put): Ditto.
7850 (imap-mailbox-get): Ditto.
7851 (imap-mailbox-get): Revert last change for this function.
7853 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7855 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7856 callers to use `imap-fetch' instead. According to the comments, this
7857 should be safe, since all other IMAP clients use the 1:* syntax.
7858 (imap-enable-exchange-bug-workaround): Remove.
7859 (imap-debug): Remove -- doesn't seem very useful.
7861 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7863 * net/imap.el (imap-log): New convenience function used throughout
7864 instead of repeating the same code all over the place.
7866 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7868 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7869 when mouse-drag-copy-region is non-nil (Bug#6956).
7871 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7873 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7874 Improve regexps (Bug#6987).
7875 (dired-sort-toggle): Search more robustly for -t flag.
7877 * files.el (get-free-disk-space): Search more robustly for
7878 "available" column. Suggested by Ehud Karni
7879 <ehud@unix.mvs.co.il>.
7881 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7883 * international/uni-bidi.el:
7884 * international/uni-category.el:
7885 * international/uni-combining.el:
7886 * international/uni-decimal.el:
7887 * international/uni-mirrored.el:
7888 * international/uni-name.el: Regenerate.
7890 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * electric.el (electric-indent-post-self-insert-function):
7893 Don't reindent with a sloppy indentation function.
7895 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7896 border case in change-log-mode.
7898 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7900 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7901 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7902 Recognize leading tab in gcc-include regexp. Ignore names with
7903 leading "from" or "in" in gnu regexp (Bug#6937).
7905 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7907 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7908 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7909 (ispell-start-process): Avoid setq and simplify logic.
7910 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7911 (kill-buffer-hook): Don't use it globally with code that uses
7912 expand-file-name since that may call kill-buffer via
7913 code_conversion_restore.
7915 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7917 * emacs-lisp/package.el (package-directory-list): Only call
7918 file-name-nondirectory on a string.
7920 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7922 * emacs-lisp/package.el (package--download-one-archive):
7923 Ensure that archive-contents is valid before saving it.
7924 (package-activate-1, package-mark-obsolete, define-package)
7925 (package-compute-transaction, package-list-maybe-add): Use push.
7927 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7929 Use SMIE's blink-paren for octave-mode.
7930 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7931 Backslashes do not escape single-quotes, single-quotes do.
7932 (octave-block-else-regexp, octave-block-end-regexp)
7933 (octave-block-match-alist): Remove.
7934 (octave-smie-bnf-table): New var, with old content.
7935 (octave-smie-op-levels): Use it.
7936 (octave-smie-closer-alist): New var.
7937 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7938 (octave-blink-matching-block-open): Remove.
7939 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7940 (octave-electric-space): Let self-insert-command run expand-abbrev and
7943 * electric.el (electricity): New group.
7944 (electric-indent-chars): New var.
7945 (electric-indent-post-self-insert-function): New fun.
7946 (electric-indent-mode): New minor mode.
7947 (electric-pair-skip-self): New custom.
7948 (electric-pair-post-self-insert-function): New function.
7949 (electric-pair-mode): New minor mode.
7951 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7952 calcAlg-blink-matching-open.
7953 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7954 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7955 Use the new blink-matching-check-function.
7957 Provide blink-matching support to SMIE.
7958 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7959 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7960 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7962 * simple.el (newline): Fix last change to properly remove itself from
7965 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * simple.el (newline): Eliminate optimization.
7968 Use post-self-insert-hook to set hard-newline and things before
7969 running post-self-insert-hook.
7970 (blink-matching-check-mismatch): New function.
7971 (blink-matching-check-function): New variable.
7972 (blink-matching-open): Use them.
7973 Skip back forward over prefix chars skipped by forward-sexp.
7974 Don't check if the parens are backslash escaped.
7975 (blink-paren-post-self-insert-function): Check backslash escaping here.
7977 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7979 * emacs-lisp/package.el (package-menu-mode-map):
7980 Change package-menu-revert bindings to revert-buffer.
7981 (package-menu-mode): Set revert-buffer-function.
7982 (package-menu-revert): Doc fix.
7984 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7986 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7987 `default-directory' unless using Ispell per-directory personal
7988 dictionaries and not in a mini-buffer under XEmacs.
7989 (kill-buffer-hook): Do not kill ispell process on exit when
7990 `ispell-process-directory' is "~/". (Bug#6143)
7992 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7994 * simple.el (kill-new): Call interprogram-cut-function with only
7997 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7998 Remove cut buffer from error message.
8000 * term/x-win.el (x-select-text):
8001 * term/pc-win.el (x-selection-value):
8002 * term/ns-win.el (x-selection-value):
8003 * eshell/em-term.el:
8004 * w32-fns.el (x-get-selection-value):
8005 * mouse-sel.el (mouse-sel-set-selection-function):
8006 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8008 * term/x-win.el: Update documentation for x-last-selected-text-*.
8009 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8010 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8011 (x-select-text): Remove argument PUSH, update documentation.
8012 Remove cut-buffer code.
8013 (x-selection-value-internal): Was previously x-selection-value.
8014 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8015 Update documentation, remove cut-buffer code.
8016 Call x-selection-value-internal.
8017 (x-clipboard-yank): Call x-selection-value-internal.
8018 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8020 * term/pc-win.el (x-last-selected-text):
8021 x-cut-buffer-or-selection-value renamed to x-selection-value
8022 (x-select-text): Remove argument PUSH, update documentation.
8024 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8025 x-cut-buffer-or-selection-value renamed to x-selection-value
8026 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8027 (x-select-text): Remove argument PUSH, update documentation.
8029 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8031 * w32-fns.el (x-last-selected-text):
8032 x-cut-buffer-or-selection-value renamed to x-selection-value.
8033 (x-cut-buffer-max): Remove.
8034 (x-select-text): Remove argument PUSH, update documentation.
8036 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8038 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8040 * mouse-sel.el (mouse-sel-get-selection-function):
8041 x-cut-buffer-or-selection-value renamed to x-selection-value.
8042 (x-select-text): Remove optional push.
8044 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8046 * simple.el (blink-paren-function): Move from C to here.
8047 (blink-paren-post-self-insert-function): New function.
8048 (post-self-insert-hook): Use it.
8050 * emacs-lisp/pcase.el (pcase-split-memq):
8051 Fix overenthusiastic optimisation.
8052 (pcase-u1): Handle the case of a lambda pred.
8054 2010-08-31 Kenichi Handa <handa@m17n.org>
8056 * international/mule-cmds.el (standard-display-european-internal):
8057 Setup standard-display-table for 8-bit characters by storing 8-bit
8058 characters in the element vector.
8060 * disp-table.el (standard-display-8bit):
8061 Setup standard-display-table for 8-bit characters by storing 8-bit
8062 characters in the element vector.
8063 (standard-display-european): Likewise.
8065 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8067 * textmodes/nroff-mode.el (nroff-view): New command.
8068 (nroff-mode-map): Bind it to C-c C-c.
8070 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8072 * emacs-lisp/smie.el (smie-down-list): New command.
8074 Remove old indentation and navigation code on octave-mode.
8075 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8076 smie-down-list rather than add a binding for octave-down-block.
8077 (octave-mark-block, octave-blink-matching-block-open):
8078 Rely on forward-sexp-function.
8079 (octave-fill-paragraph): Don't narrow, so you can use
8080 indent-according-to-mode.
8081 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8082 (octave-in-block-p, octave-re-search-forward-kw)
8083 (octave-re-search-backward-kw, octave-indent-calculate)
8084 (octave-end-as-array-index-p, octave-block-end-offset)
8085 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8086 (octave-down-block, octave-backward-up-block, octave-up-block)
8087 (octave-before-magic-comment-p, octave-indent-line): Remove.
8089 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8091 * emacs-lisp/package.el (package--read-archive-file): Just use
8092 `read', to avoid copying an additional string.
8093 (package-menu-mode): Set header-line-format here.
8094 (package-menu-refresh, package-menu-revert): Signal an error if
8095 not in the Package Menu.
8096 (package-menu-package-list): New var.
8097 (package--generate-package-list): Operate on the current buffer;
8098 don't assume that it is *Packages*, since the user may rename it.
8099 Allow persistent package listings and sort keys using
8100 package-menu-package-list and package-menu-package-sort-key.
8101 (package-menu--version-predicate): Fix version calculation.
8102 (package-menu-sort-by-column): Don't select the window.
8103 (package--list-packages): Create the *Packages* buffer.
8104 Set package-menu-package-list-key.
8105 (list-packages): Sorting by status is now the default.
8106 (package-buffer-info): Use match-string-no-properties.
8107 (define-package): Add a &rest argument for future proofing, but
8109 (package-install-from-buffer, package-install-buffer-internal):
8110 Merge into a single function, package-install-from-buffer.
8111 (package-install-file): Change caller.
8113 * finder.el: Load finder-inf using `require'.
8114 (finder-list-matches): Sorting by status is now the default.
8115 (finder-compile-keywords): Simpify printing.
8117 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8119 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8120 (octave-mode-map): Remove special bindings for forward/backward-block
8121 and octave-backward-up-block. Use smie-close-block.
8122 (octave-continuation-marker-regexp): New var.
8123 (octave-continuation-regexp): Use it.
8124 (octave-operator-table, octave-smie-op-levels)
8125 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8126 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8127 (octave-mode): Use SMIE.
8128 (octave-close-block): Delete.
8130 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8132 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8133 CLIPBOARD, not in PRIMARY. (Bug#6944)
8135 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8139 (smie-indent-column): Allow indirection through variables.
8141 * composite.el (save-buffer-state): Delete, unused.
8142 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8143 (font-lock-default-fontify-region): Use with-syntax-table.
8144 * jit-lock.el (with-buffer-unmodified): Remove.
8145 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8147 Use `declare' in defmacros.
8148 * window.el (save-selected-window):
8149 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8150 * progmodes/python.el (def-python-skeleton):
8151 * net/dbus.el (dbus-ignore-errors):
8152 * jka-cmpr-hook.el (with-auto-compression-mode):
8153 * international/mule.el (with-category-table):
8154 * emacs-lisp/timer.el (with-timeout):
8155 * emacs-lisp/lisp-mnt.el (lm-with-file):
8156 * emacs-lisp/eieio.el (with-slots):
8157 * emacs-lisp/easymenu.el (easy-menu-define):
8158 * emacs-lisp/debug.el (debugger-env-macro):
8159 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8160 (Multiple-value-call, Multiple-value-prog1):
8161 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8162 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8163 edebug rule to definition.
8164 * emacs-lisp/lisp-mode.el (save-selected-window)
8165 (with-current-buffer, combine-after-change-calls)
8166 (with-output-to-string, with-temp-file, with-temp-buffer)
8167 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8168 (dolist, dotimes, when, unless):
8169 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8171 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8173 * finder.el: Require `package'.
8174 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8175 (finder-package-info): Var deleted.
8176 (finder-keywords-hash, finder--builtins-alist): New vars.
8177 (finder-compile-keywords): Compute package--builtins and
8178 finder-keywords-hash instead of finder-keywords-hash, respecting
8179 the "Package" header.
8180 (finder-unknown-keywords, finder-list-matches):
8181 Use finder-keywords-hash and package--list-packages.
8182 (finder-mode): Don't set font-lock-defaults.
8183 (finder-exit): We don't use "*Finder-package*" and "*Finder
8184 Category*" buffers anymore.
8186 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8187 (package--builtins): Set default value to nil.
8188 (package-initialize): Load precomputed value of package--builtins
8190 (package-alist, package-compute-transaction)
8191 (package-download-transaction): Improve docstring.
8192 (package-read-all-archive-contents): Do not change
8193 package--builtins here.
8194 (list-packages): Make package-list-packages an alias for this.
8195 Sort by status by default.
8196 (package--list-packages): Add optional PACKAGES arg.
8197 (describe-package-1): Use font-lock-face property. For built-in
8198 packages, insert file commentary.
8199 (package--generate-package-list): Rename from
8200 package-list-packages-internal; all callers changed. Add optional
8201 PACKAGES arg. Add alphabetical sort fallbacks.
8202 (package-menu--version-predicate, package-menu--status-predicate)
8203 (package-menu--description-predicate)
8204 (package-menu--name-predicate): New functions.
8206 * info.el (Info-finder-find-node): Search package-alist instead of
8207 finder-package-info.
8209 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8211 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8213 (version-to-list): Handle versions like "10.3d".
8215 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8217 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8218 (macroexp-accumulate): Use `declare'.
8220 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8222 * whitespace.el (whitespace-style): Adjust type declaration.
8224 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8226 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8228 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8230 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8233 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8235 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8236 (js-paren-indent-offset, js-square-indent-offset)
8237 (js-curly-indent-offset): New options.
8238 (js--proper-indentation): Use them.
8240 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8242 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8243 instead of inspecting font-lock properties (Bug#6916).
8245 2010-08-26 David Reitter <david.reitter@gmail.com>
8247 * server.el (server-visit-files): Run pre-command-hook and
8248 post-command-hook for each buffer while it is current (Bug#6910).
8249 (server-execute): Do not run hooks here.
8251 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8253 Sync with Tramp 2.1.19.
8255 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8257 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8259 * net/tramp.el (tramp-handle-expand-file-name)
8260 (tramp-completion-handle-file-name-all-completions)
8261 (tramp-completion-handle-file-name-completion):
8262 Use `tramp-connectable-p'.
8264 * net/trampver.el: Update release number.
8266 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8268 * help.el (help-map): Bind `C-h P' to describe-package.
8270 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8272 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8273 when downloading archives.
8274 (describe-package-1): Add package commentary.
8275 (package-install-button-action): New function.
8276 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8277 (package-menu-view-commentary): Function removed.
8278 (package-list-packages-internal): Hide the `package' package too.
8280 2010-08-25 Kenichi Handa <handa@m17n.org>
8282 * language/misc-lang.el ("Arabic"): New language environment.
8283 Setup composition-function-table for Arabic characters.
8285 * international/fontset.el (setup-default-fontset): Fix typo for
8286 arabic OTF spec (fini->fina).
8288 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8290 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8293 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8295 * whitespace.el: Allow cleaning up blanks without blank
8296 visualization (Bug#6651). Adjust help window for
8297 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8298 instead of whitespace-line-column (from EmacsWiki). New version
8300 (whitespace-style): Add new value 'face. Adjust docstring.
8301 (whitespace-space, whitespace-hspace, whitespace-tab):
8302 Adjust foreground property face.
8303 (whitespace-line-column): Adjust docstring and type declaration.
8304 (whitespace-style-value-list, whitespace-toggle-option-alist)
8305 (whitespace-help-text): Adjust const initialization.
8306 (whitespace-toggle-options, global-whitespace-toggle-options):
8308 (whitespace-display-window, whitespace-interactive-char)
8309 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8310 (whitespace-help-scroll): New fun.
8312 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8314 * emacs-lisp/package.el (list-packages): Alias for
8315 package-list-packages.
8317 2010-08-24 Kevin Ryde <user42@zip.com.au>
8319 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8322 * progmodes/ruby-mode.el (ruby): Add defgroup.
8324 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8326 * progmodes/python.el: Add Ipython support (Bug#5390).
8327 (python-shell-prompt-alist)
8328 (python-shell-continuation-prompt-alist): New options.
8329 (python--set-prompt-regexp): New function.
8330 (inferior-python-mode, run-python, python-shell):
8331 Require ansi-color. Use python--set-prompt-regexp to set the comint
8332 prompt based on the Python interpreter.
8333 (python--prompt-regexp): New var.
8334 (python-check-comint-prompt)
8335 (python-comint-output-filter-function): Use it.
8336 (run-python): Use a pipe (Bug#5694).
8338 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8340 * progmodes/python.el (python-send-region): Send a different
8341 Python command if Ipython is in use.
8342 (python-check-version): Use a Python command to find the version.
8344 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8346 * mouse.el (mouse-yank-primary): Avoid setting primary when
8347 deactivating the mark (Bug#6872).
8349 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8351 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8352 with "else" (Bug#3991).
8354 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8356 * net/dbus.el: Accept UNIX domain sockets as bus address.
8357 (top): Don't initialize `dbus-registered-objects-table' anymore,
8358 this is done in dbusbind.c.
8359 (dbus-check-event): Adapt test for bus.
8360 (dbus-return-values-table, dbus-unregister-service)
8361 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8364 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8366 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8368 2010-08-22 Juri Linkov <juri@jurta.org>
8370 * simple.el (read-extended-command): New function with the logic
8371 for `completing-read' moved to Elisp from `execute-extended-command'.
8372 Use `function-called-at-point' in `minibuffer-default-add-function'
8373 to get a command name for M-n (bug#5364, bug#5214).
8375 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8377 * startup.el (command-line-1): Issue warning for ignored arguments
8378 --unibyte, etc (Bug#6886).
8380 2010-08-22 Leo <sdl.web@gmail.com>
8382 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8383 (ignore, bright, dim, keyword): Split list of nicknames before
8384 passing to rcirc-add-or-remove (Bug#6894).
8386 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8388 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8390 2010-08-22 Leo <sdl.web@gmail.com>
8392 Fix buffer-list rename&refresh after killing a buffer in ido.
8393 * ido.el: Revert Óscar's.
8394 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8395 Remember the buffers at head, rather than their name.
8396 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8398 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8399 Stefan Monnier <monnier@iro.umontreal.ca>
8401 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8402 extra backslash added to each line (bug#6890).
8404 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8406 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8408 2010-08-22 Glenn Morris <rgm@gnu.org>
8410 * menu-bar.el (menu-bar-games-menu): Add landmark.
8412 2010-08-22 Glenn Morris <rgm@gnu.org>
8414 * align.el (align-regexp): Make group and spacing arguments
8415 use the interactive defaults when non-interactive. (Bug#6698)
8417 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8418 expansion, so as not to need sendmail.
8419 (mail-text-start): Remove declaration.
8420 (rmail-retry-failure): Require sendmail.
8422 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8424 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8426 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8428 * progmodes/flymake.el (flymake-start-syntax-check-process):
8429 Use `start-file-process' in order to let it run also on remote hosts.
8431 2010-08-22 Kenichi Handa <handa@m17n.org>
8433 * files.el: Add `word-wrap' as safe local variable.
8435 2010-08-22 Glenn Morris <rgm@gnu.org>
8437 * woman.el (woman-translate): Case matters. (Bug#6849)
8439 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8441 * simple.el (kill-region): Doc fix (Bug#6787).
8443 2010-08-22 Glenn Morris <rgm@gnu.org>
8445 * calendar/diary-lib.el (diary-header-line-format):
8446 Fit it to the window, not the frame.
8448 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8450 * subr.el (ignore-errors): Add debug declaration.
8452 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8454 * whitespace.el (whitespace-color-off): Remove post-command-hook
8457 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8459 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8461 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8463 * cus-edit.el (custom-group-value-create): Add extra newline
8464 before end line (Bug#6876).
8466 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8468 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8469 when extending it. Before killing on the second click, check if
8470 the buffer is the correct one. Doc fix.
8471 (mouse-secondary-save-then-kill): Allow usage without first
8472 calling mouse-start-secondary, by defaulting to point. Don't save
8473 an empty secondary selection. Doc fix.
8475 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8477 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8478 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8480 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8481 Adjust initialization.
8482 (whitespace-bob-marker, whitespace-eob-marker)
8483 (whitespace-buffer-changed): New vars.
8484 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8485 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8486 (whitespace-post-command-hook, whitespace-display-char-on):
8488 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8489 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8491 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8493 * files.el (locate-file-completion-table): Only list the .el and .elc
8494 extensions if there's no other choice (bug#5955).
8496 * facemenu.el (facemenu-self-insert-data): New var.
8497 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8499 (facemenu-add-face): Use them.
8501 * simple.el (blink-matching-open): Obey forward-sexp-function.
8503 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8505 * simple.el (prog-mode-map): New var.
8506 (prog-indent-sexp): New command.
8508 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8510 * progmodes/prolog.el (smie): Require.
8512 * emacs-lisp/smie.el (smie-default-backward-token)
8513 (smie-default-forward-token): Strip properties.
8514 (smie-next-sexp): Be more careful with associative operators.
8515 (smie-forward-sexp-command): Generalize.
8516 (smie-backward-sexp-command): Simplify.
8517 (smie-closer-alist): New var.
8518 (smie-close-block): New command.
8519 (smie-indent-debug-log): New var.
8520 (smie-indent-offset-rule): Add a few more cases.
8521 (smie-indent-column): New function.
8522 (smie-indent-after-keyword): Use it.
8523 (smie-indent-keyword): Use it.
8524 Fix up the opener code's point position.
8525 (smie-indent-comment): Only applies at BOL.
8526 (smie-indent-debug): New command.
8528 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8529 declarations that are useful before running the macro.
8531 2010-08-18 Joakim Verona <joakim@verona.se>
8533 * image.el (imagemagick-types-inhibit): New variable.
8534 (imagemagick-register-types): New function.
8535 * image-mode.el (image-transform-properties): New function.
8536 (image-transform-set-scale, image-transform-fit-to-height)
8537 (image-transform-set-rotation, image-transform-set-resize)
8538 (image-transform-fit-to-width, image-transform-fit-to-height):
8540 (image-toggle-display-image): Support image transforms.
8542 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8544 * image.el (create-animated-image): Don't add heuristic mask to image
8547 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8549 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8550 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8552 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8554 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8556 Font-lock '...' strings, plus various simplifications and fixes.
8557 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8558 (octave-font-lock-close-quotes): New function.
8559 (octave-font-lock-syntactic-keywords): New var.
8560 (octave-mode): Use it. Set beginning-of-defun-function.
8561 (octave-mode-map): Don't override the <foo>-defun commands.
8562 (octave-mode-menu): Pass it directly to easy-menu-define;
8563 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8564 (octave-block-match-alist): Fix up last change so that
8565 octave-close-block uses the more specific keyword.
8566 (info-lookup-mode): Silence byte-compiler.
8567 (octave-beginning-of-defun): Not interactive any more.
8569 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8570 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8571 (octave-completion-at-point-function): Make sure point is within
8573 (octave-reindent-then-newline-and-indent):
8574 Use reindent-then-newline-and-indent.
8575 (octave-add-octave-menu): Remove.
8577 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8579 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8580 (report-emacs-bug-can-use-xdg-email): New functions.
8581 (report-emacs-bug): Set can-xdg-email to result of
8582 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8583 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8586 * net/browse-url.el (browse-url-default-browser): Add cond
8587 for browse-url-xdg-open.
8588 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8590 2010-08-17 Glenn Morris <rgm@gnu.org>
8592 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8593 (c-fontify-recorded-types-and-refs): Define for compiler.
8594 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8597 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8600 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8602 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8604 (tramp-handle-process-file): Call the program in a subshell, in
8605 order to preserve working directory.
8606 (tramp-action-password): Hide password prompt before next run.
8607 (tramp-process-actions): Widen connection buffer for the trace.
8609 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8611 * net/rcirc.el (rcirc-log-process-buffers): New option.
8612 (rcirc-print): Use it.
8613 (rcirc-generate-log-filename): New function.
8614 (rcirc-log-filename-function): Change default to
8615 rcirc-generate-log-filename (Bug#6828).
8617 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8619 * simple.el (deactivate-mark): If select-active-regions is `only',
8620 only set selection for temporarily active regions.
8622 * cus-start.el: Change defcustom for select-active-regions.
8624 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8626 * mouse.el (mouse--drag-set-mark-and-point): New function.
8627 (mouse-drag-track): Use LOCATION arg to push-mark.
8628 Use mouse--drag-set-mark-and-point to take click-count into
8629 consideration when updating point and mark (Bug#6840).
8631 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8633 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8634 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8636 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8638 * font-lock.el (lisp-font-lock-keywords-2):
8639 Add combine-after-change-calls, condition-case-no-debug,
8640 with-demoted-errors, and with-silent-modifications (Bug#6025).
8642 2010-08-14 Kevin Ryde <user42@zip.com.au>
8644 * emacs-lisp/copyright.el (copyright-update-year)
8645 (copyright-update): Temporary switch-to-buffer to ensure the
8646 buffer change being queried is visible (Bug#5394).
8648 2010-08-14 Tom Tromey <tromey@redhat.com>
8650 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8653 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8655 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8658 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8660 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8661 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8662 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8663 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8664 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8665 Call menu-bar-set-tool-bar-position.
8667 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8669 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8670 comment style (bug#6834).
8671 * progmodes/scheme.el (scheme-mode-syntax-table):
8672 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8673 "b" flag in "' 14b" syntax.
8675 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8676 for (un)commenting the region and performing completion.
8677 (octave-mode-menu): Use standard commands for help and completion.
8678 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8679 (octave-mode): Use define-derived-mode.
8680 Set completion-at-point-functions and don't set columns.
8681 Don't disable adaptive-fill-regexp.
8682 (octave-describe-major-mode, octave-comment-region)
8683 (octave-uncomment-region, octave-comment-indent)
8684 (octave-indent-for-comment): Remove.
8685 (octave-indent-calculate): Rename from calculate-octave-indent.
8686 (octave-indent-line, octave-fill-paragraph): Update caller.
8687 (octave-initialize-completions): No need to make an alist.
8688 (octave-completion-at-point-function): New function.
8689 (octave-complete-symbol): Use it.
8690 (octave-insert-defun): Use define-skeleton.
8692 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8693 (octave-mode-map): Use comment-dwim (bug#6829).
8695 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8697 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8698 indentation of inserted comment.
8700 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8702 * faces.el (region): Add type gtk that uses gtk colors.
8704 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8705 Handle theme-name change.
8707 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8709 * progmodes/sql.el: Version 2.5
8710 (sql-product-alist): Add :prompt-cont-regexp property for several
8712 (sql-prompt-cont-regexp): New variable.
8713 (sql-output-newline-count, sql-output-by-send):
8714 New variables. Record number of newlines in input text.
8715 (sql-send-string): Handle multiple filters and count newlines.
8716 (sql-send-magic-terminator): Count terminator newline.
8717 (sql-interactive-remove-continuation-prompt): Filters output to
8718 remove continuation prompts; one for each newline.
8719 (sql-interactive-mode): Set up new variables, prompt regexp and
8721 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8722 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8724 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8726 * emacs-lisp/pcase.el: New file.
8728 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8730 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8731 as here-document, otherwise the command could exceed maximum
8732 length of command line.
8733 (tramp-handle-vc-registered): Call script accordingly.
8734 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8736 2010-08-10 Kenichi Handa <handa@m17n.org>
8738 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8741 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8743 * emacs-lisp/package.el (package-version-split)
8744 (package--version-first-nonzero, package-version-compare):
8746 (package-directory-list, package-load-all-descriptors)
8747 (package--built-in, package-activate, define-package)
8748 (package-installed-p, package-compute-transaction)
8749 (package-read-all-archive-contents)
8750 (package--add-to-archive-contents, package-buffer-info)
8751 (package-tar-file-info, package-list-packages-internal):
8752 Use version-to-list and version-list-*.
8754 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8755 Use version-to-list.
8756 (package-upload-buffer-internal): Use version-list-<=.
8758 2010-08-09 Kenichi Handa <handa@m17n.org>
8760 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8763 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8765 * tutorial.el (tutorial--default-keys): C-d is now bound to
8766 delete-forward-char (Bug#6826).
8768 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8769 for `double' value of mouse-1-click-follows-link (Bug#6807).
8771 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8773 * replace.el (replace-highlight): Bind isearch-forward and
8774 isearch-error, ensuring that highlighting is updated if the user
8775 switches the search direction (Bug#6808).
8777 * isearch.el (isearch-lazy-highlight-forward): New var.
8778 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8779 (isearch-lazy-highlight-update): Use it.
8781 2010-08-08 Kenichi Handa <handa@m17n.org>
8783 * international/mule.el (define-charset): Store NAME as :base property.
8784 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8785 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8786 current priority. Force using the designation of the specific
8787 charset by adding `charset' text property. Improve the whole algorithm.
8789 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8791 * emulation/pc-select.el (pc-selection-mode-hook)
8792 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8793 (pc-selection-mode): Fix typos in docstrings.
8795 2010-08-08 Kenichi Handa <handa@m17n.org>
8797 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8798 ctext-non-standard-encodings-alist here.
8800 * international/mule.el (ctext-non-standard-encodings-alist):
8801 Add "koi8-r" and "microsoft-cp1251".
8802 (ctext-standard-encodings): New variable.
8803 (ctext-non-standard-encodings-table): List only elements for
8804 non-standard encodings.
8805 (ctext-pre-write-conversion): Adjust for the above change.
8806 Check ctext-standard-encodings.
8808 * international/mule-conf.el (compound-text): Doc fix.
8809 (ctext-no-compositions): Doc fix.
8810 (compound-text-with-extensions): Doc fix.
8812 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8814 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8816 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8818 * progmodes/which-func.el (which-func-format): Split help-echo text
8819 into lines, like other mode-line tooltips.
8821 * server.el (server-start): When using TCP sockets, force IPv4
8822 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8824 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8828 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8830 * term.el (term-delimiter-argument-list): Reflow docstring.
8831 (term-read-input-ring, term-write-input-ring, term-send-input)
8832 (term-bol, term-erase-in-display, serial-supported-or-barf):
8833 Fix typos in docstrings.
8835 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8839 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8841 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8843 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8845 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8846 Fix typo in docstring (bug#6747).
8848 2010-08-08 Leo <sdl.web@gmail.com>
8850 * eshell/esh-io.el (eshell-get-target): Better detection of
8851 read-only file (Bug#6762).
8853 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8855 * align.el (align-default-spacing): Doc fix.
8856 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8858 2010-08-08 Stephen Peters <speters@itasoftware.com>
8860 * calendar/icalendar.el
8861 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8862 (icalendar--get-weekday-numbers): New.
8863 (icalendar--convert-recurring-to-diary): Handle multiple byday
8864 values in weekly rules. (Bug#6766)
8866 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8868 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8869 (icalendar--create-uid, icalendar-export-region)
8870 (icalendar--parse-summary-and-rest): Code formatting.
8872 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8874 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8875 to italicize headers.
8876 (calc-highlight-selections-with-faces): New variable.
8877 (calc-selected-face, calc-nonselected-face): New faces.
8879 * calc/calccomp.el (math-comp-highlight-string): Use
8880 `calc-highlight-selections-with-faces' to determine how to highlight
8883 * calc/calc-sel.el (calc-show-selections): Change message to when
8884 using faces to highlight selections.
8886 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8888 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8889 Add SQLite 3 keywords, functions and datatypes.
8890 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8893 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8895 * simple.el (select-active-regions): Move to keyboard.c.
8896 (deactivate-mark): Used saved-region-selection.
8897 (select-active-region): Function removed.
8898 (activate-mark, set-mark, push-mark-command)
8899 (handle-shift-selection): Don't call it.
8900 (keyboard-quit): Avoid adding the region to the window selection.
8902 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8903 select-active-regions implementation.
8904 (mouse-yank-at-click): Doc fix.
8906 * cus-start.el: Add custom declaration for select-active-regions.
8908 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8910 * simple.el (delete-forward-char): Doc fix.
8912 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8913 after reading the tutorial.
8915 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8917 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8918 Fix for the case that a C style comment has its delimiters alone on
8919 their respective lines. (Bug#193)
8921 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8923 * net/tramp.el (tramp-handle-start-file-process): Set connection
8925 (tramp-process-sentinel): Use it for flushing the cache.
8926 We cannot do it via the process buffer, the buffer could be deleted
8927 already when running the sentinel.
8929 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8931 * comint.el (comint-mode): Make directory tracking functions
8932 functional on remote files. (Bug#6764)
8934 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8936 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8938 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8940 * emacs-lisp/find-gc.el (find-gc-source-files):
8941 Rename unexec.c => unexcoff.c.
8943 * emacs-lisp/authors.el (authors-fixed-entries):
8944 Rename unexec.c => unexcoff.c.
8946 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8948 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8949 cache, not only file cache.
8950 (tramp-process-sentinel): New defun.
8951 (tramp-handle-start-file-process): Use it, in order to invalidate
8954 2010-08-03 Leo <sdl.web@gmail.com>
8956 * server.el (server-start): Simplify loop.
8958 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * frame.el (screen-height, screen-width, set-screen-width)
8961 (set-screen-height): Remove ancient compatibility aliases.
8963 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8964 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8966 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8967 that change current buffer.
8969 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8971 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8972 beginning of the string. Use `string-match-p'. (Bug#6765)
8974 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8976 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8978 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8980 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8981 (package--builtins): Tweak descriptions.
8982 (package-print-package): Upcase descriptions if necessary.
8983 Show all built-in packages in font-lock-builtin-face.
8984 (package-list-packages-internal): Omit "emacs" package.
8985 Show status of built-in packages as "built-in".
8987 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8989 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8990 before killing to preserve the primary selection (Bug#6701).
8992 * term/x-win.el (x-select-text): Doc fix.
8994 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8996 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8997 (objc-font-lock-extra-types):
8998 * progmodes/cc-mode.el (c-basic-common-init):
8999 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9000 (c++-make-template-syntax-table)
9001 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9002 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9003 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9004 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9005 * progmodes/cc-fonts.el (c-make-inverse-face)
9006 (c-basic-matchers-after):
9007 * progmodes/cc-engine.el (c-forward-keyword-clause)
9008 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9009 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9010 (c-guess-continued-construct, c-guess-basic-syntax):
9011 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9012 The above functions were modified or created.
9014 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9016 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9018 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9020 * files.el (bidi-paragraph-direction): Define safe local values.
9022 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9023 language-info-alist. Remove outdated FIXME in a comment.
9025 2010-07-31 Alan Mackenzie <acm@muc.de>
9027 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9028 Auto-fill broken in C/C++ modes.
9030 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9032 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9033 (menu-bar-showhide-tool-bar-menu-customize-disable)
9034 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9035 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9036 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9037 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9038 make a menu for Options => toolbar that can move it.
9040 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9042 * emacs-lisp/package-x.el (package--make-rss-entry):
9043 (package-maint-add-news-item, package--update-news)
9044 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9046 * emacs-lisp/package.el (package-archive-url): Rename from
9048 (package-install): Doc fix.
9049 (package-download-single, package-download-tar, package-install)
9050 (package-menu-view-commentary): Callers changed.
9052 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9054 * net/tramp.el (tramp-handle-start-file-process): Check only for
9055 `remote-tty' process property.
9056 (tramp-open-shell): Don't check for tty.
9057 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9060 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9063 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9065 * emacs-lisp/package.el (package-load-list, package-archives)
9066 (package-archive-contents, package-user-dir)
9067 (package-directory-list, package--builtins, package-alist)
9068 (package-activated-list, package-obsolete-alist): Mark as risky.
9070 2010-07-28 Phil Hagelberg <phil@evri.com>
9072 Add support for non-default package repositories.
9073 * emacs-lisp/package.el (package-archive-base): Var deleted.
9074 (package-archives): New variable.
9075 (package-archive-contents): Doc fix.
9076 (package-load-descriptor): Do nothing if descriptor file is missing.
9077 (package--write-file-no-coding): New function.
9078 (package-unpack-single): Use it.
9079 (package-archive-id): New function.
9080 (package-download-single, package-download-tar)
9081 (package-menu-view-commentary): Use it.
9082 (package-installed-p): Make second argument optional.
9083 (package-read-all-archive-contents): New function.
9084 (package-initialize): Use it.
9085 (package-read-archive-contents): Add ARCHIVE argument.
9086 (package--add-to-archive-contents): New function.
9087 (package-install): Don't call package-read-archive-contents.
9088 (package--download-one-archive): Store archive file in a
9089 subdirectory of package-user-dir.
9090 (package-menu-execute): Remove spurious line movement.
9092 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9094 * cus-start.el (tool-bar-style): Add text-image-horiz.
9096 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9098 * progmodes/gud.el (gud-common-init): Check for remoteness of
9099 `file', and not of `default-directory'.
9101 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9103 * net/tramp.el (tramp-methods): Move hostname to the end in all
9104 ssh `tramp-login-args'.
9105 (tramp-verbose): Describe verbose level 9.
9106 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9107 (tramp-open-connection-setup-interactive-shell): Trace stty
9108 settings if `tramp-verbose' >= 9.
9109 (tramp-handle-start-file-process): Implement tty setting.
9110 (Bug#4604, Bug#6360)
9112 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9113 `tramp-verbose' to 9.
9115 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9117 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9118 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9119 Remove references to package `lisp-re' (bug#4369).
9121 2010-07-27 Tom Tromey <tromey@redhat.com>
9123 * progmodes/js.el (js-mode):
9124 * progmodes/make-mode.el (makefile-mode):
9125 * progmodes/simula.el (simula-mode):
9126 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9128 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9130 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9132 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9133 (display-time-world-buffer-name, display-time-world-mode-map):
9134 Fix typos in docstrings.
9136 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9138 * image-mode.el (image-display-size): New function.
9139 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9140 (image-mode-fit-frame): Use it (Bug#6639).
9142 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9144 * dired.el (dired-buffers-for-dir): Handle list values of
9145 dired-directory (Bug#6636).
9147 2010-07-26 Sam Steingold <sds@gnu.org>
9149 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9150 Do not call `x-get-selection' the second time, reuse the value.
9152 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9154 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9155 which consist of control chars only. Suggested by Richard Stallman.
9157 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9159 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9160 exists before passing an error to find-file-not-found-functions
9163 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9165 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9166 Remove leading nil element, adjust values.
9167 (tetris-shapes, tetris-shape-scores):
9168 Change representation of shapes and remove some redundancy.
9169 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9170 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9171 Adjust for working with new representation of shapes.
9172 (tetris-shape-rotations): New function.
9173 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9174 (tetris-rotate-prev, tetris-rotate-next):
9175 Adjust for working with the new version of tetris-test-shape.
9177 2010-07-23 Markus Triska <markus.triska@gmx.at>
9179 * progmodes/ps-mode.el: Use comint (bug#5954).
9180 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9181 (ps-mode-other-newline): Simplify.
9182 (ps-run-mode): Derive from comint-mode instead of
9183 fundamental-mode, yielding input history etc.
9184 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9185 (ps-run-send-string): Adapt for comint-mode.
9186 (ps-run-newline): Remove now unneeded function.
9188 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9190 * net/tramp.el (tramp-methods): Move hostname to the end in all
9191 plink `tramp-login-args'.
9193 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9195 * net/tramp.el (tramp-open-shell): New defun.
9196 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9199 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9201 * net/tramp.el (tramp-file-name-regexp-unified)
9202 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9203 not regard the volume letter as remote filename. (Bug#5447)
9205 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9207 * custom.el (custom-declare-variable): Give a clearer error message
9208 when the docstring is missing (bug#6476).
9210 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9212 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9213 (sql-login-params): New widget definition.
9214 (sql-oracle-login-params, sql-mysql-login-params)
9215 (sql-solid-login-params, sql-sybase-login-params)
9216 (sql-informix-login-params, sql-ingres-login-params)
9217 (sql-ms-login-params, sql-postgres-login-params)
9218 (sql-interbase-login-params, sql-db2-login-params)
9219 (sql-linter-login-params): Use it.
9220 (sql-sqlite-login-params): Use it; Define "database" parameter as
9222 (sql-sqlite-program): Change to "sqlite3".
9223 (sql-comint-sqlite): Make sure database name is complete.
9224 (sql-for-each-login): New function.
9225 (sql-connect, sql-save-connection): Use it.
9226 (sql-get-login-ext): New function.
9227 (sql-get-login): Use it.
9228 (sql-make-alternate-buffer-name): Handle :file parameters.
9230 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9232 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9233 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9235 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9237 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9239 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9241 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9243 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9245 * net/tramp.el (tramp-get-ls-command)
9246 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9249 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9251 * progmodes/sql.el: Version 2.3.
9252 (sql-connection-alist): Change keys from symbols to strings;
9253 enhanced the widget definition.
9254 (sql-mode-menu): Add submenu to select connections.
9255 (sql-interactive-mode-menu): Add "Save Connection" item.
9256 (sql-add-product): Fix menu item.
9257 (sql-get-product-feature): Improved error handling.
9258 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9259 (sql-make-alternate-buffer-name): Simplified.
9260 (sql-product-interactive): Handle missing product.
9261 (sql-connect): Support string keys, minor improvements.
9262 (sql-save-connection): New function.
9263 (sql-connection-menu-filter): New function.
9265 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9267 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9268 (tramp-open-connection-setup-interactive-shell):
9269 Apply workaround for IRIX64 bug. Move argument of last
9270 `tramp-send-command' where it belongs to.
9272 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9274 * net/tramp.el (tramp-perl-file-attributes)
9275 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9276 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9277 front of `login-args'.
9279 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9281 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9282 Set `show-trailing-whitespace' to nil.
9283 (display-time-world-display): Simplify.
9285 2010-07-18 Alan Mackenzie <acm@muc.de>
9287 Enhance `c-file-style' in file/directory local variables.
9288 * progmodes/cc-mode.el (c-count-cfss): New function.
9289 (c-before-hack-hook): Call `c-set-style' differently according to
9290 whether c-file-style was set in file or directory local
9293 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9295 * progmodes/sql.el: Version 2.2.
9296 (sql-product, sql-user, sql-database, sql-server, sql-port):
9297 Use defcustom :safe keyword rather than putting safe-local-variable
9299 (sql-password): Use defcustom :risky keyword rather than putting
9300 risky-local-variable property.
9301 (sql-oracle-login-params, sql-sqlite-login-params)
9302 (sql-solid-login-params, sql-sybase-login-params)
9303 (sql-informix-login-params, sql-ingres-login-params)
9304 (sql-ms-login-params, sql-postgres-login-params)
9305 (sql-interbase-login-params, sql-db2-login-params)
9306 (sql-linter-login-params): Add `port' option.
9307 (sql-get-product-feature): Add NO-INDIRECT parameter.
9308 (sql-comint-oracle, sql-comint-sybase)
9309 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9310 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9311 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9312 (sql-comint-linter): Rename sql-connect-* functions to
9314 (sql-product-alist, sql-mode-menu): Rename as above and
9315 :sqli-connect-func to :sqli-comint-func.
9316 (sql-connection): New variable.
9317 (sql-interactive-mode): Set it.
9318 (sql-connection-alist): New variable.
9319 (sql-connect): New function.
9320 (sql--alt-buffer-part, sql--alt-if-not-empty)
9321 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9323 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9325 * image-mode.el (image-bookmark-make-record): Do not set context
9326 in an image (Bug#6650).
9328 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9330 * simple.el (select-active-region): New function.
9331 (push-mark-command, set-mark, activate-mark)
9332 (handle-shift-selection): Use it.
9333 (deactivate-mark): Don't check for size of region.
9335 * mouse.el (mouse-drag-track): Use select-active-region.
9337 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9339 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9342 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9344 * term/x-win.el (x-select-enable-primary): Change default to nil.
9345 (x-select-enable-clipboard): Add :version keyword.
9347 * mouse.el (mouse-drag-copy-region):
9348 * simple.el (select-active-regions): Likewise.
9350 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9352 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9353 (vc-coding-system-for-diff): Use it to decide whether to inherit
9354 from the file the EOL format for reading the diffs of that file.
9357 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9359 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9360 unibyte, so compressed attachments are not compressed again.
9362 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9364 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9365 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9366 (tramp-find-shell): Simplify setting connection property.
9367 (tramp-get-ls-command): Make test for "--color=never" stronger.
9369 2010-07-15 Simon South <ssouth@member.fsf.org>
9371 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9372 blocks within record declarations (i.e. variant parts) correctly.
9374 2010-07-15 Simon South <ssouth@member.fsf.org>
9376 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9377 over literal tokens when parsing so newlines aren't "absorbed" by
9378 single-line comments. Corrects the indentation of case blocks
9379 that have a comment on the first line.
9381 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9383 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9384 by Drew Adams (Bug#5504).
9386 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9388 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9389 now that Unicode is used (Bug#6594).
9391 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9393 * term/x-win.el (x-select-enable-clipboard): Default to t.
9394 (x-initialize-window-system): Don't overwrite Paste menu item.
9396 * simple.el (select-active-regions): Default to t.
9397 (push-mark-command): Don't overwrite primary with empty string.
9399 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9400 (mouse-drag-copy-region): Default to nil.
9402 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9403 Cut/Copy/Paste menu bar items.
9405 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9407 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9408 Patch applied by Karl Fogel.
9410 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9411 and `bookmark-current-buffer' if they have been already set in
9412 another buffer (e.g gnus-art).
9414 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9415 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9417 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9419 * bookmark.el (bookmark-make-record-default): Allow unneeded
9420 information to be omitted from the record.
9422 Adjust declarations and calls:
9424 * info.el (bookmark-make-record-default): Adjust declaration.
9425 (Info-bookmark-make-record): Adjust call.
9427 * woman.el (bookmark-make-record-default): Adjust declaration.
9428 (woman-bookmark-make-record): Adjust call.
9430 * man.el (bookmark-make-record-default): Adjust declaration.
9431 (Man-bookmark-make-record): Adjust call.
9433 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9435 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9437 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9439 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9440 This is also from Thierry Volpiatto's patch in bug #6444. However,
9441 because it was extraneous to the functional change in that patch,
9442 and causes a re-indendation, I am committing it separately.
9444 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9446 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9447 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9448 Patch applied by Karl Fogel (Bug#6444).
9450 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9452 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9454 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9456 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9457 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9458 (ns-alternatives-map): Change S-tab binding to backtab
9461 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9464 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9466 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9469 * language/tv-util.el (tai-viet-re): Remove format.
9471 2010-07-12 Kenichi Handa <handa@m17n.org>
9473 * language/hebrew.el: Remove no-byte-compile declaration.
9474 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9475 composition-function-table for 3-character looking back.
9476 (hebrew-font-get-precomposed): New function.
9477 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9479 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9481 * mouse.el (mouse-drag-track): Handle select-active-regions
9484 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9486 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9487 empty argument to gvfs-copy.
9489 2010-07-10 Glenn Morris <rgm@gnu.org>
9491 * calendar/calendar.el (calendar-week-end-day): New function.
9492 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9493 Respect calendar-week-start-day. (Bug#6606)
9494 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9495 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9496 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9497 respect calendar-week-start-day.
9499 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9501 * simple.el (use-region-p): Doc fix (Bug#6607).
9503 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9505 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9506 Add regexps for cucumber and ruby.
9508 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9510 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9511 (epa-file-insert-file-contents): Hack to prevent
9512 find-file from opening empty buffer when decryption failed
9515 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9517 * textmodes/ispell.el (ispell-alternate-dictionary):
9518 Use file-readable-p.
9519 Return nil if no word-list is found at default locations.
9520 (ispell-complete-word-dict): Default to nil.
9521 (ispell-command-loop): Use 'word-list' when using lookup-words.
9522 (lookup-words): Use ispell-complete-word-dict or
9523 ispell-alternate-dictionary. Check for word-list availability
9524 and handle errors if needed with better messages (Bug#6539).
9525 (ispell-complete-word): Use ispell-complete-word-dict or
9526 ispell-alternate-dictionary.
9528 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9530 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9531 builtins (BufferError, BytesWarning, WindowsError; callables
9532 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9534 2010-07-07 Glenn Morris <rgm@gnu.org>
9536 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9537 (zone-shift-left): Ignore intangibility, and any errors from
9539 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9540 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9541 deleting, and copying text properties.
9542 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9543 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9544 to point-max is hard.
9545 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9546 (zone-fill-out-screen): Ignore intangibility.
9548 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9550 * menu-bar.el (menu-bar-mode):
9551 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9554 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9555 word/line selection (Bug#6565).
9557 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9559 * net/dbus.el (dbus-send-signal): Declare function.
9561 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9563 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9564 (dbus-register-property): New optional argument EMITS-SIGNAL.
9565 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9567 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9569 * mouse.el (mouse-drag-overlay): Variable deleted.
9570 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9571 (mouse--remap-link-click-p): New function.
9572 (mouse-drag-track): Handle dragging by using temporary Transient
9573 Mark mode, instead of a special overlay.
9574 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9577 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9580 2010-07-02 Juri Linkov <juri@jurta.org>
9582 * autoinsert.el (auto-insert-alist): Fix readability
9583 by using dotted pair notation for lambda.
9585 2010-07-02 Juri Linkov <juri@jurta.org>
9587 * faces.el (read-face-name): Rename arg `string-describing-default'
9588 to `default'. Doc fix. Display the default value in quotes
9589 in the prompt. With empty input, return the `default' arg,
9590 unless the default value is a string (in which case return nil).
9591 (describe-face): Replace the string `default' arg of `read-face-name'
9592 with the symbol `default'.
9594 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9596 * emulation/viper-cmd.el (viper-delete-backward-char)
9597 (viper-del-backward-char-in-insert)
9598 (viper-del-backward-char-in-replace, viper-change)
9599 (viper-backward-indent): Replace delete-backward-char with
9600 delete-char (Bug#6552).
9602 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9604 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9606 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9608 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9609 argument passed to frame-creation-function (Bug#5378).
9611 * faces.el (x-handle-named-frame-geometry)
9612 (x-handle-reverse-video, x-create-frame-with-faces)
9613 (face-set-after-frame-default, tty-create-frame-with-faces):
9614 Don't separately consult default-frame-alist. It is now passed as the
9617 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9619 * startup.el (command-line): Don't call tool-bar-setup in a
9622 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9624 * ruler-mode.el (ruler--save-header-line-format): New fun.
9625 (ruler-mode): Use it as a setter function, so as not to overwrite
9626 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9628 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9630 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9631 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9632 (vc-log-outgoing): Use it.
9633 (vc-diff-internal): Set diff-vc-backend.
9635 * vc/diff-mode.el (diff-vc-backend): New var.
9637 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9639 * dynamic-setting.el (font-setting-change-default-font):
9640 Remove call to message.
9642 2010-06-28 Kenichi Handa <handa@m17n.org>
9644 * international/quail.el (quail-insert-kbd-layout): Fix the
9645 showing of untranslated characters.
9647 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9649 * simple.el (delete-active-region): New option.
9650 (delete-backward-char): Implement in Lisp.
9651 (delete-forward-char): New command.
9653 * mouse.el (mouse-region-delete-keys): Delete.
9654 (mouse-show-mark): Simplify.
9656 * bindings.el (global-map): Bind delete and DEL, the former to
9657 delete-forward-char.
9659 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9661 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9662 (ruby-mode): Bind indent-line-function (Bug#5119).
9664 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9666 * startup.el (command-line): Recognize "0" X resource value.
9668 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9670 * startup.el (command-line): Use X resources to set the value of
9671 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9673 * menu-bar.el (menu-bar-mode):
9674 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9675 Set init-value to t.
9677 * frame.el (frame-notice-user-settings): Don't change
9678 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9679 vice versa (Bug#2249).
9681 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9683 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9685 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9687 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9688 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9690 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9691 default directories are expanded (Bug#6143).
9693 2010-06-24 Juri Linkov <juri@jurta.org>
9695 * minibuffer.el (completions-format): Change default from nil to
9696 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9698 2010-06-24 Juri Linkov <juri@jurta.org>
9700 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9701 buffer-locally to lambda that re-runs the vc diff command.
9704 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9706 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9707 echo area is in use (Bug#3412).
9709 2010-06-22 Glenn Morris <rgm@gnu.org>
9711 * textmodes/texinfmt.el (texinfo-format-region)
9712 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9713 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9714 (texinfo-format-option, texinfo-noindent):
9715 Use line-beginning-position and line-end-position.
9717 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9718 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9719 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9722 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9724 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9725 forward-line fallout.
9727 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9729 * mouse.el (mouse-appearance-menu): Add docstring.
9731 * help.el (describe-key): Print up-event using key-description.
9733 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9735 * net/zeroconf.el (zeroconf-resolve-service)
9736 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9737 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9739 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9741 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9743 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9745 Avoid displaying files with a nil state in vc-dir.
9746 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9747 cases that cause insertion.
9748 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9751 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9753 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9755 2010-06-29 Leo <sdl.web@gmail.com>
9757 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9759 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9761 * generic-x.el (bat-generic-mode): Fix regexp for command line
9762 switches (Bug#5719).
9764 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9766 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9767 of nconc to avoid pure storage error (Bug#6239).
9769 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9771 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9772 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9773 bindings of bookmark-automatically-show-annotations (Bug#6515).
9775 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9777 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9778 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9780 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9782 * comint.el (make-comint, make-comint-in-buffer): Mention return
9783 value in the docstrings. (Bug#6498)
9785 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9787 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9788 since it is not present when using some non-default switches.
9790 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9792 * simple.el (compose-mail): Fix doc string to refer to
9793 `compose-mail-user-agent-warnings', instead of to the
9794 nonexistent `compose-mail-check-user-agent'.
9796 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9798 Fix an indentation bug:
9800 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9801 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9804 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9805 (c-clear->-pair-props-if-match-before): now return t when they've
9806 cleared properties, nil otherwise.
9807 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9808 by taking account of the existing value.
9810 * progmodes/cc-defs.el
9811 (c-clear-char-property-with-value-function): Fix this to clear the
9812 property rather than overwriting it with nil.
9814 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9816 * emacs-lisp/package.el (package-print-package): Add link to
9817 package description via describe-package.
9818 (describe-package-1): List package requirements. Add button to
9819 perform installation.
9820 (package-menu-describe-package): New command.
9822 * help-mode.el (help-package): New button type.
9824 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9826 * emacs-lisp/package.el: Move package-list-packages binding to
9828 (describe-package, describe-package-1, package--dir): New funs.
9829 (package-activate-1): Use package--dir.
9831 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9833 * help-mode.el (help-package-def): New button type.
9835 * menu-bar.el: Move package-list-packages binding here from
9838 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9840 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9842 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9844 * emacs-lisp/edebug.el (edebug-read-list):
9845 Phase out old-style backquotes.
9847 2010-06-17 Juri Linkov <juri@jurta.org>
9849 * help-mode.el (help-mode): Set buffer-local variable
9850 revert-buffer-function to help-mode-revert-buffer.
9851 (help-mode-revert-buffer): New function.
9853 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9854 before popping to "*info*" (like in other Info functions).
9855 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9856 old-history-forward. Pop to old-buffer-name or "*info*" to
9857 recreate the killed buffer. Set Info-history-forward from
9858 old-history-forward.
9859 (Info-breadcrumbs-depth): Add :group and :version.
9861 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9863 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9865 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9867 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9868 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9870 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9872 * emacs-lisp/package.el (package-menu-mode-map):
9873 Move initialization into declaration.
9875 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9877 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9879 * emacs-lisp/package.el (package-archive-base): Point to
9881 (package-enable, package-load-list): New defcustoms.
9882 (package-user-dir, package-directory-list): Turn into defcustoms.
9883 Don't include package-user-dir in package-directory-list.
9884 (package--builtins-base): Don't include Emacs as a "package".
9885 (package-subdirectory-regexp): New var.
9886 (package-load-all-descriptors, package-compute-transaction)
9887 (package-download-transaction): Obey package-load-list.
9888 (package-activate-1): Rename from package-do-activate.
9889 (package-list-packages-internal): Check package-load-list.
9890 (package-load-descriptor, package-generate-autoloads)
9891 (package-unpack, package-unpack-single)
9892 (package--read-archive-file, package-delete):
9893 Use expand-file-name.
9895 * emacs-lisp/package-x.el: New file. Package uploading
9896 functionality split out from package.el.
9898 * startup.el (command-line): Load packages after reading init file.
9900 2010-06-17 Tom Tromey <tromey@redhat.com>
9902 * emacs-lisp/package.el: New file.
9904 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9906 Fix vc-annotate for renamed files when using Git.
9907 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9908 ls-files. Doe not pass the object as a file name to cat-file, it
9910 (vc-git-annotate-command): Pass the file name using -- to avoid
9911 ambiguity with the revision.
9912 (vc-git-previous-revision): Pass a relative file name.
9914 2010-06-22 Glenn Morris <rgm@gnu.org>
9916 * progmodes/js.el (js-mode-map): Use standard capitalization and
9917 ellipses for menu entries.
9919 * wid-edit.el (widget-complete): Doc fix.
9921 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9923 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9925 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9927 Fix annotating other revisions for renamed files in vc-annotate.
9928 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9929 VC backend. Use it when non-nil.
9930 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9933 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9934 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9935 Do not pass the file name to the 'previous-revision call when we
9936 don't want a file diff. (Bug#6489)
9938 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9940 Fix finding revisions for renamed files in vc-annotate.
9941 * vc/vc.el (vc-find-revision): Add an optional argument for
9942 the VC backend. Use it when non-nil.
9943 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9944 backend to vc-find-revision. (Bug#6487)
9946 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9948 Fix reading file names in Git annotate buffers.
9949 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9950 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9952 2010-06-20 Alan Mackenzie <acm@muc.de>
9954 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9955 in file local variables, set it first.
9957 2010-06-19 Glenn Morris <rgm@gnu.org>
9959 * descr-text.el (describe-char-unicode-data): Insert separating
9960 space when needed. (Bug#6422)
9962 * progmodes/idlwave.el (idlwave-action-and-binding):
9963 Fix typo in 2009-12-03 change. (Bug#6450)
9965 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9968 handling for `lambda' (misunderstanding).
9970 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9972 * calc/calc-poly.el (math-accum-factors): Make sure that
9973 constants aren't distributed after they are factored out.
9975 2010-06-16 Juri Linkov <juri@jurta.org>
9977 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9978 `list-colors-print'. (Bug#6332)
9980 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9982 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9984 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9985 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9987 * font-lock.el (font-lock-major-mode): Rename from
9988 font-lock-mode-major-mode to distinguish it from
9989 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9990 (font-lock-set-defaults):
9991 * font-core.el (font-lock-default-function): Adjust users.
9992 (font-lock-mode): Don't set it at all.
9994 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9996 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9998 2010-06-16 Glenn Morris <rgm@gnu.org>
10000 * calendar/appt.el (appt-time-msg-list): Doc fix.
10001 (appt-check): Let-bind appt-warn-time.
10002 (appt-add): Make the 3rd argument optional.
10003 Simplify argument names. Doc fix. Check for integer WARNTIME.
10004 Only add WARNTIME to the output list if non-nil.
10006 2010-06-16 Ivan Kanis <apple@kanis.eu>
10008 * calendar/appt.el (appt-check): Let the 3rd element of
10009 appt-time-msg-list specify the warning time.
10010 (appt-add): Add new argument with the warning time. (Bug#5176)
10012 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10014 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10015 older than version 1.6. (Bug#6361)
10017 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10019 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10020 used by cl-do-arglist. (Bug#6408)
10022 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10024 * textmodes/ispell.el (ispell-dictionary-base-alist):
10025 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10026 Suggested by Rolando Pereira (bug#6434).
10028 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10030 * facemenu.el (list-colors-sort): Doc fix.
10032 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10034 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10036 2010-06-14 Juri Linkov <juri@jurta.org>
10038 Add sort option `list-colors-sort'. (Bug#6332)
10039 * facemenu.el (color-rgb-to-hsv): New function.
10040 (list-colors-sort): New defcustom.
10041 (list-colors-sort-key): New function.
10042 (list-colors-display): Doc fix. Sort list according to the option
10043 `list-colors-sort'.
10044 (list-colors-print): Add HSV values to `help-echo' property of
10047 2010-06-14 Juri Linkov <juri@jurta.org>
10049 * compare-w.el: Move to the "vc" subdirectory.
10051 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * image-mode.el (image-mode-map): Remap left-char and right-char.
10055 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10057 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10059 * term/common-win.el (x-colors): Add all the color names defined
10060 in rgb.txt (Bug#6332).
10062 * facemenu.el (list-colors-print): Don't print extra names if it
10063 will overflow the window width.
10065 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10068 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10070 * files.el (make-directory): Doc fix (bug#6396).
10072 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10074 * net/tramp.el (tramp-remote-process-environment): Protect version
10075 string by apostroph.
10076 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10078 (tramp-file-name-for-operation): Add `call-process-region'.
10079 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10081 * net/tramp-compat.el (top): Do not autoload
10082 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10083 only when `start-file-process' is not bound.
10084 (tramp-advice-file-expand-wildcards): Do not use
10085 `tramp-handle-file-remote-p'.
10086 (tramp-compat-make-temp-file): Handle the case, that
10087 `make-temp-file' has no third argument EXTENSION.
10089 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10091 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10093 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10095 2010-06-11 Juri Linkov <juri@jurta.org>
10097 * finder.el (finder-known-keywords): Add keyword "vc"
10098 for version control.
10100 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10101 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10102 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10103 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10105 2010-06-11 Juri Linkov <juri@jurta.org>
10107 Move version control related files to the "vc" subdirectory.
10108 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10109 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10110 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10111 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10112 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10113 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10114 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10115 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10116 Move files to the "vc" subdirectory.
10118 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10120 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10123 2010-06-11 Stephen Eglen <stephen@gnu.org>
10125 * shell.el: Bind `shell-resync-dirs' to M-RET.
10127 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10129 * notifications.el: Move file from lisp/net, because it is
10130 supposed to talk locally to the user.
10132 2010-06-10 Julien Danjou <julien@danjou.info>
10134 * net/notifications.el (notifications-on-action-signal)
10135 (notifications-on-closed-signal): Pass notification id as first
10136 argument to the callback functions. Add docstrings.
10137 (notifications-notify): Fix docstring.
10139 2010-06-10 Glenn Morris <rgm@gnu.org>
10141 * emacs-lisp/authors.el (authors-ignored-files)
10142 (authors-valid-file-names): Add some files.
10144 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10146 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10147 merge conflict, giving preference to the emacs-23 version of the code.
10149 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10151 * emacs-lisp/advice.el (ad-compile-function):
10152 Define warning-suppress-types before we let-bind it (bug#6275).
10154 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10155 declare it, make it buffer-local and permanent-local (bug#6324).
10156 (vc-resynch-window): Adjust name.
10157 * vc-hooks.el (vc-find-file-hook): Adjust name.
10159 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10161 * net/notifications.el (notifications-notify): Fix docstring.
10163 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10165 Update to Unicode 6.0.0 beta.
10166 * international/charprop.el: Update copyright.
10167 * international/mule-cmds.el (ucs-names): Update character ranges.
10168 * international/uni-bidi.el:
10169 * international/uni-category.el:
10170 * international/uni-combining.el:
10171 * international/uni-comment.el:
10172 * international/uni-decimal.el:
10173 * international/uni-decomposition.el:
10174 * international/uni-digit.el:
10175 * international/uni-lowercase.el:
10176 * international/uni-mirrored.el:
10177 * international/uni-name.el:
10178 * international/uni-numeric.el:
10179 * international/uni-old-name.el:
10180 * international/uni-titlecase.el:
10181 * international/uni-uppercase.el: Regenerate.
10183 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10185 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10186 (smie-precs-precedence-table): Fix typo in docstring.
10188 * vc-mtn.el (log-edit-extract-headers): Declare function.
10190 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10192 * net/notifications.el (dbus-register-signal): Declare function.
10193 (notifications-notify): Fix typos and reflow docstring.
10195 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10197 Improve VC create/retrieve tag/branch.
10198 * vc.el (vc-create-tag): Do not read the directory name for VCs
10199 with repository revision granularity. Adjust the tag/branch
10200 prompt. Reset VC properties.
10201 (vc-retrieve-tag): Do not read the directory name for VCs
10202 with repository revision granularity. Reset VC properties.
10204 2010-06-09 Julien Danjou <julien@danjou.info>
10206 * net/notifications.el: New file.
10208 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10210 Add optional support for resetting VC properties.
10211 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10212 call vc-file-clearprops when true.
10213 (vc-resynch-buffer): Add new optional argument, pass it down.
10214 (vc-resynch-buffers-in-directory): Likewise.
10216 Improve support for special markup in the VC commit message.
10217 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10218 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10219 * vc-git.el (vc-git-checkin):
10220 * vc-bzr.el (vc-bzr-checkin): Likewise.
10222 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10224 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10225 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10227 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10229 * iimage.el: Remove images as soon as the underlying text is modified.
10230 (iimage-modification-hook): New function.
10231 (iimage-mode-buffer): Use it.
10233 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10235 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10236 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10237 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10238 (smie-indent-keyword): Add handling of open-paren keywords.
10239 (smie-indent-comment-continue): Don't assume comment-continue.
10241 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10243 * window.el (pop-to-buffer): Remove the conditional that
10244 compares new-window and old-window, so it will reselect
10245 the selected window unconditionally.
10246 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10248 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10250 * emacs-lisp/smie.el (smie-indent-offset-after)
10251 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10252 (smie-indent-after-keyword): Use them.
10253 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10254 (smie-indent-keyword): Tweak the black magic.
10255 (smie-indent-comment-continue): Strip comment-continue before use.
10256 (smie-indent-functions): Indent comments before keywords.
10258 2010-06-06 Juri Linkov <juri@jurta.org>
10260 * isearch.el (isearch-lazy-highlight-search): Fix looping
10261 by checking for empty match. This syncs this loop with the
10262 similar loop in `isearch-search'. (Bug#6362)
10264 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10266 * net/dbus.el (dbus-register-method): Declare function.
10267 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10268 (dbus-introspect): Doc fix.
10269 (dbus-event-bus-name, dbus-introspect-get-interface)
10270 (dbus-introspect-get-argument): Reflow docstrings.
10272 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10274 vc-log-incoming/vc-log-outgoing fixes for Git.
10275 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10276 incoming/outgoing logs.
10277 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10278 instead of vc-git-compute-remote.
10279 (vc-git-compute-remote): Remove.
10281 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10283 * term/common-win.el (x-colors): Add "dark green" and "dark
10284 turquoise" (Bug#6332).
10286 2010-06-04 Juri Linkov <juri@jurta.org>
10288 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10289 Instead of setting `replace' to t and replacing the same string
10290 with itself, don't do certain actions when
10291 kill-do-not-save-duplicates is non-nil and string is equal to car
10292 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10293 interprogram-paste strings to kill-ring, and don't push the input
10294 argument `string' to kill-ring.
10295 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10297 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10299 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10301 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10303 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10304 (tramp-gvfs-handler-mounted-unmounted)
10305 (tramp-gvfs-connection-mounted-p): Handle default-location.
10307 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10308 move files to trash.
10310 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10312 * international/mule-cmds.el (nonascii-insert-offset)
10313 (nonascii-translation-table): Add obsolescence information.
10315 * international/mule.el (make-translation-table-from-vector): Doc fix.
10317 2010-06-03 Glenn Morris <rgm@gnu.org>
10319 * desktop.el (desktop-clear-preserve-buffers):
10320 Add "*Warnings*" buffer. (Bug#6336)
10322 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10324 vc-log-incoming/vc-log-outgoing improvements for Git.
10325 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10327 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10329 Add bindings for vc-log-incoming and vc-log-outgoing.
10330 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10331 and vc-log-outgoing.
10332 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10333 and vc-log-outgoing.
10335 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10337 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10338 (rcirc-handler-366): Always sort nicknames.
10340 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10342 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10344 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10346 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10348 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10350 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10351 (rcirc-sort-nicknames-join): Avoid setq.
10353 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10355 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10356 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10357 (rcirc-handler-366): Use them.
10359 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10361 Split smie-indent-calculate into more manageable chunks.
10362 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10363 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10364 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10365 (smie-indent-exps): Extract from smie-indent-calculate.
10366 (smie-indent-functions): New var.
10367 (smie-indent-functions): Use them.
10369 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10371 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10372 (smie-indent-calculate): Simplify and cleanup.
10374 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10376 * net/tramp-gvfs.el (top): Require url-util.
10377 (tramp-gvfs-mount-point): Remove.
10378 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10380 (with-tramp-dbus-call-method): Format trace message.
10381 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10382 Implement backup call, when operation on local files fails.
10383 Use progress reporter. Flush properties of changed files.
10384 (tramp-gvfs-handle-make-directory): Make more traces.
10385 (tramp-gvfs-url-file-name): Hexify file name in url.
10386 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10387 into account for the resulting file name.
10388 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10389 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10390 (tramp-gvfs-handler-mounted-unmounted)
10391 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10392 attribute "default_location". Set "prefix" property.
10393 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10394 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10395 exists. Raise an error, if not (due to a corresponding answer
10396 "no" in interactive questions, for example).
10398 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10400 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10402 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10404 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10405 right-*. (Bug#6265)
10407 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10409 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10410 * vc-git.el (vc-git-compute-remote): New function.
10411 (vc-git-log-outgoing): Use it instead of hard coding a value.
10412 (vc-git-log-incoming): New function.
10414 Improve state updating for VC tag commands.
10415 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10416 to update the state of all buffers in the directory.
10418 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10420 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10422 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10423 `file-directory-p' to the filename part rather than to the whole text.
10425 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10427 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10429 2010-05-31 Drew Adams <drew.adams@oracle.com>
10431 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10433 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10435 * subr.el (momentary-string-display): Just use read-event to read
10436 the exit event (Bug#6238).
10438 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10440 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10442 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10444 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10445 Suggested by Eli Zaretskii <eliz@gnu.org>.
10447 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10449 * minibuffer.el (completion-file-name-table): Don't return a boundary
10450 past the end of `string' (bug#6299).
10451 (completion--file-name-table): Delegate to completion-file-name-table
10452 for the `boundaries' case.
10454 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10456 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10459 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10460 `path-separator', but maintain compatibility with Emacs 20.2.
10462 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10464 * server.el (server-process-filter): Receive parent-id argument
10466 (server-create-window-system-frame): New arg. Pass parent-id as
10469 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10471 Bidi-sensitive word movement with arrow keys.
10472 * subr.el (right-arrow-command, left-arrow-command): Move to
10475 * bindings.el (right-char, left-char): Move from subr.el and
10476 rename from right-arrow-command and left-arrow-command.
10477 (right-word, left-word): New functions.
10478 (global-map) <right>: Bind to right-char.
10479 (global-map) <left>: Bind to left-char.
10480 (global-map) <C-right>: Bind to right-word.
10481 (global-map) <C-left>: Bind to left-word.
10483 * ls-lisp.el (ls-lisp-classify-file): New function.
10484 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10485 (ls-lisp-classify): Call ls-lisp-classify-file.
10486 (insert-directory): Remove blanks from switches.
10488 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10490 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10491 (ansi-color-drop-regexp): New constant.
10492 (ansi-color-apply, ansi-color-filter-region)
10493 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10494 (ansi-color-apply): Build string list before calling concat.
10496 2010-05-28 Juri Linkov <juri@jurta.org>
10498 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10499 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10502 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10504 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10505 to ignored backtrace functions.
10506 (with-progress-reporter): Expand docstring.
10507 (tramp-handle-delete-file): Implement TRASH argument.
10508 (tramp-get-remote-trash): New defun.
10510 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10512 * net/tramp-compat.el (tramp-compat-delete-file):
10513 Use `symbol-value' for backward compatibility.
10515 * net/tramp.el (tramp-handle-make-symbolic-link)
10516 (tramp-handle-load)
10517 (tramp-do-copy-or-rename-file-via-buffer)
10518 (tramp-do-copy-or-rename-file-directly)
10519 (tramp-do-copy-or-rename-file-out-of-band)
10520 (tramp-handle-process-file, tramp-handle-call-process-region)
10521 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10522 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10523 (tramp-delete-temp-file-function): Use `delete-file' instead
10524 of `tramp-compat-delete-file'.
10526 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10527 (tramp-fish-handle-make-symbolic-link)
10528 (tramp-fish-handle-process-file): Use `delete-file' instead
10529 of `tramp-compat-delete-file'.
10531 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10532 Use `delete-file' instead of `tramp-compat-delete-file'.
10534 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10535 `delete-file' instead of `tramp-compat-delete-file'.
10537 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10538 Use `delete-file' instead of `tramp-compat-delete-file'.
10540 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10541 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10542 (tramp-smb-handle-write-region): Use `delete-file' instead of
10543 `tramp-compat-delete-file'.
10544 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10546 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10548 * dired.el (dired-delete-file): New arg TRASH.
10549 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10550 (dired-do-flagged-delete, dired-do-delete): Use trash.
10552 * speedbar.el (speedbar-item-delete): Allow trashing.
10554 * files.el (delete-directory): New arg TRASH.
10556 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10557 (ange-ftp-rename-remote-to-remote)
10558 (ange-ftp-rename-local-to-remote)
10559 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10560 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10562 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10565 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10566 handle new TRASH arg of `delete-file'.
10568 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10569 (tramp-handle-make-symbolic-link, tramp-handle-load)
10570 (tramp-do-copy-or-rename-file-via-buffer)
10571 (tramp-do-copy-or-rename-file-directly)
10572 (tramp-do-copy-or-rename-file-out-of-band)
10573 (tramp-handle-process-file, tramp-handle-call-process-region)
10574 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10575 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10576 (tramp-delete-temp-file-function): Use null TRASH arg in
10577 tramp-compat-delete-file call.
10579 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10580 (tramp-fish-handle-delete-file)
10581 (tramp-fish-handle-make-symbolic-link)
10582 (tramp-fish-handle-process-file): Use null TRASH arg in
10583 `tramp-compat-delete-file' call.
10585 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10586 arg in `tramp-compat-delete-file' call.
10588 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10589 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10590 `tramp-compat-delete-file' call.
10592 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10593 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10594 `tramp-compat-delete-file' call.
10596 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10597 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10598 (tramp-smb-handle-write-region): Use null TRASH arg in
10599 tramp-compat-delete-file call.
10600 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10601 (tramp-smb-handle-delete-file): Rename arg.
10603 * diff.el (diff-sentinel):
10604 * epg.el (epg--make-temp-file, epg-decrypt-string)
10605 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10606 * jka-compr.el (jka-compr-partial-uncompress)
10607 (jka-compr-call-process, jka-compr-write-region):
10608 * server.el (server-sentinel): Remove optional arg from
10609 delete-file, reverting 2010-05-03 change.
10611 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10613 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10614 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10616 2010-05-27 Kenichi Handa <handa@m17n.org>
10618 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10619 element of GSTRING is nil.
10621 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * emacs-lisp/smie.el (smie-forward-token-function)
10624 (smie-backward-token-function): New vars.
10625 (smie-backward-sexp, smie-forward-sexp)
10626 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10627 (smie-default-backward-token): Rename from smie-backward-token and
10629 (smie-default-forward-token): Rename from smie-forward-token and
10631 (smie-next-sexp): Handle nil results from next-token.
10632 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10634 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10636 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10637 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10639 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10641 * htmlfontify.el (hfy-face-resolve-face): New function.
10642 (hfy-face-to-style): Use it (Bug#6279).
10644 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10646 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10647 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10649 2010-05-26 Glenn Morris <rgm@gnu.org>
10651 * emulation/edt.el (edt-load-keys): Use locate-library.
10653 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10655 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10656 (log-edit-changelog-entries): Doc fix.
10657 (log-edit-changelog-insert-entries): Args changed.
10658 Rename relative filenames in ChangeLog entries. Delete tabs.
10659 (log-edit-insert-changelog-entries): Reorganize return value of
10660 `log-edit-changelog-entries' to pass filenames to
10661 log-edit-changelog-insert-entries.
10663 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10665 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10666 `image-dired-dired-insert-marked-thumbs' to
10667 `image-dired-dired-toggle-marked-thumbs'.
10669 * image-dired.el: Require cl when compiling.
10670 (image-dired-dired-toggle-marked-thumbs): Rename from
10671 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10672 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10673 to 'no-dir. Skip files whose names don't match
10674 `image-file-name-regexp'. When file has a thumbnail overlay,
10675 delete it. (Bug#5270)
10677 2010-05-25 Juri Linkov <juri@jurta.org>
10679 * image-mode.el (image-mode): Add image-after-revert-hook to
10681 (image-after-revert-hook): New function. (Bug#5669)
10683 2010-05-25 Juri Linkov <juri@jurta.org>
10685 * image.el (image-animated-p): When delay between animated images
10686 is 0, set it to 10 (0.1 sec). (Bug#6258)
10688 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10690 * net/tramp.el (tramp-handle-insert-directory): Don't use
10691 `forward-word', its default syntax could be changed.
10693 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10695 * net/tramp.el (tramp-progress-reporter-update): New defun.
10696 (with-progress-reporter): Use it.
10697 (tramp-process-actions):
10698 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10699 Preserve current message, in order to let progress reporter continue
10700 afterwards. (Bug#6257)
10702 2010-05-25 Glenn Morris <rgm@gnu.org>
10704 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10707 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10709 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10710 (rcirc-default-full-name): Change to "unknown".
10711 (rcirc-user-name-history): Add variable.
10713 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10714 Jonathan Rockway <jon@jrock.us>
10716 * net/rcirc.el (rcirc-server-alist): Add :pass.
10717 (rcirc): When prompting for connection parameters, also prompt for
10718 username and password.
10719 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10720 value to server when connecting.
10722 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10725 (smie-merge-prec2s): Pass the tables as separate args.
10726 (smie-bnf-precedence-table): Adjust call accordingly.
10727 (smie-prec2-levels): Set levels at the end.
10729 Replace Lisp calls to delete-backward-char by delete-char.
10730 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10731 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10732 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10733 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10734 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10735 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10736 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10737 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10738 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10739 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10740 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10741 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10742 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10743 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10744 delete-backward-char by calls to delete-char.
10746 2010-05-25 Kenichi Handa <handa@m17n.org>
10748 * language/hebrew.el (hebrew-shape-gstring): New function.
10749 Register it in composition-function-table for all Hebrew combining
10752 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10754 * epa.el (epa--select-keys): Don't explicitly delete the window since
10755 that can fail (e.g. sole window in frame). Use dedication instead.
10757 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10759 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10761 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10763 * image.el (image-refresh): Define as an alias for image-flush.
10765 * image-mode.el (image-toggle-display-image): Caller changed.
10767 2010-05-21 Juri Linkov <juri@jurta.org>
10769 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10770 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10771 whitespace, call wildcard-to-regexp on substrings and concat them
10772 with "\\|". (Bug#6114)
10774 2010-05-21 Alan Mackenzie <acm@muc.de>
10776 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10777 Replace parameter `here' with `here-' and `here-plus', which sandwich
10778 any pertinent CPP construct.
10779 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10780 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10781 CPP construct from taking part in the scanning.
10783 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10785 * net/tramp.el (tramp-do-copy-or-rename-file)
10786 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10787 Tune `with-progress-reporter' messages.
10788 (tramp-handle-vc-registered):
10789 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10790 (tramp-fish-handle-insert-file-contents)
10791 (tramp-fish-maybe-open-connection):
10792 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10793 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10794 (tramp-imap-handle-insert-file-contents)
10795 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10797 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10799 * add-log.el (change-log-font-lock-keywords):
10800 Highlight all authors in multi-author entries.
10802 * smerge-mode.el (smerge-refine-ignore-whitespace)
10803 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10804 Fix typos in docstrings.
10805 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10807 2010-05-21 Glenn Morris <rgm@gnu.org>
10809 * progmodes/fortran.el (fortran-mode):
10810 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10812 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10813 having a relative path in src/Makefile.in.
10815 2010-05-20 Kevin Ryde <user42@zip.com.au>
10817 * help-mode.el (help-make-xrefs): For Info node links turn
10818 newlines into spaces. Link node names with newlines are matched
10819 by help-xref-info-regexp and buttonized, this change ensures they
10820 can be followed successfully with RET. (Bug#6206)
10822 2010-05-20 Juri Linkov <juri@jurta.org>
10824 * locate.el (locate): Use pop-to-buffer instead of
10825 switch-to-buffer-other-window. (Bug#6204)
10827 2010-05-20 Juri Linkov <juri@jurta.org>
10829 * replace.el (replace-highlight): Fix lazy-highlighting
10830 for `M-s w str M-% str RET'.
10832 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10834 * isearch.el (isearch-yank-word-or-char): Pull next subword
10835 when `subword-mode' is activated. (Bug#6220)
10837 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10839 * isearch.el (isearch-update-post-hook): New hook.
10840 (isearch-update): Use the new hook. (Bug#6225)
10842 2010-05-20 Juri Linkov <juri@jurta.org>
10844 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10845 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10848 2010-05-20 Juri Linkov <juri@jurta.org>
10850 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10853 2010-05-20 Juri Linkov <juri@jurta.org>
10855 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10856 FILE-NAME to read from the minibuffer when called interactively
10857 with prefix argument instead of using buffer-file-name.
10858 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10860 * dired.el: Update autoloads.
10862 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10864 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10865 nxml-finish-element, for consistency with SGML mode.
10867 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10868 octave-close-block.
10870 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10872 * composite.el: Require cl when compiling.
10873 (reference-point-alist, compose-gstring-for-graphic)
10874 (compose-gstring-for-terminal): Fix typos in docstrings.
10876 2010-05-19 Juri Linkov <juri@jurta.org>
10878 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10879 set-window-parameter.
10881 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10883 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10885 (tramp-maybe-open-connection): Use it.
10887 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10889 * simple.el (move-end-of-line): Make sure we are at line beginning
10890 before backing up to end of previous line.
10892 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10894 * password-cache.el (password-cache-remove): Fix docstring.
10896 * net/secrets.el: Autoload the widget functions.
10897 (secrets-search-items, secrets-create-item)
10898 (secrets-get-attributes, secrets-expand-item): Attributes will be
10899 stored on the password database without leading ":", as all other
10900 clients do as well.
10901 (secrets-mode): Fix docstring.
10902 (secrets-show-secrets): Provide it as autoloaded command only when
10903 D-Bus support is available. Check existence of Secret Service API.
10905 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * indent.el (indent-region): Deactivate region (bug#6200).
10909 2010-05-19 Glenn Morris <rgm@gnu.org>
10911 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10913 2010-05-19 Kenichi Handa <handa@m17n.org>
10915 * composite.el: Register compose-gstring-for-graphic in
10916 composition-function-table only for combining characters (Mn, Mc, Me).
10918 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10920 * calc/calc-trail.el (calc-trail-isearch-forward)
10921 (calc-trail-isearch-backward): Ensure that the new window
10922 point is set correctly.
10924 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * subr.el (read-quoted-char): Resolve modifiers after key
10927 remapping (bug#6212).
10929 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10931 Add visualization code for secrets.
10932 * net/secrets.el (secrets-mode): New major mode.
10933 (secrets-show-secrets, secrets-show-collections)
10934 (secrets-expand-collection, secrets-expand-item)
10935 (secrets-tree-widget-after-toggle-function)
10936 (secrets-tree-widget-show-password): New defuns.
10938 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10940 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10941 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10942 handled in smie-next-sexp.
10943 (smie-indent-calculate): Provide a starting indentation (so the
10944 recursion is well-founded ;-).
10946 Fix handling of non-associative equal levels.
10947 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10948 when it's not needed.
10949 (smie-op-left, smie-op-right): New functions.
10950 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10951 Better handle equal levels to distinguish the associative case from
10952 the "multi-keyword construct" case.
10953 (smie-backward-sexp, smie-forward-sexp): Use it.
10955 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10957 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10959 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10960 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10962 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10964 Provide a simple generic indentation engine and use it for Prolog.
10965 * emacs-lisp/smie.el: New file.
10966 * progmodes/prolog.el (prolog-smie-op-levels)
10967 (prolog-smie-indent-rules): New var.
10968 (prolog-mode-variables): Use them to configure SMIE.
10969 (prolog-indent-line, prolog-indent-level): Remove.
10971 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10973 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10974 order before computing the averages.
10976 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10978 * calc/calc-vec.el (calc-histogram):
10979 (calcFunc-histogram): Allow vectors as inputs.
10980 (math-vector-avg): New function.
10982 * calc/calc-ext.el (math-group-float): Have the number of digits
10983 being grouped depend on the radix (Bug#6189).
10985 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10987 * version.el (emacs-copyright, emacs-version): Don't define here,
10988 now that emacs.c defines it.
10990 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10992 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10993 "Describe Language Environment" menu item.
10995 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10997 Bidi-sensitive movement with arrow keys.
10998 * subr.el (right-arrow-command, left-arrow-command): New functions.
11000 * bindings.el (global-map): Bind them to right and left arrow keys.
11002 Don't override standard definition of convert-standard-filename.
11003 * files.el (convert-standard-filename):
11004 Call w32-convert-standard-filename and dos-convert-standard-filename on
11005 the corresponding systems.
11007 * w32-fns.el (w32-convert-standard-filename): Rename from
11008 convert-standard-filename. Doc fix.
11010 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11011 (convert-standard-filename): Don't defalias.
11012 (register-name-alist, make-register, register-value)
11013 (set-register-value, intdos): Obsolete aliases for the
11014 corresponding dos-* functions and variables.
11015 (dos-intdos): Add a doc string.
11017 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11019 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11020 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11021 (math-compose-tex-func):
11022 * calc/calccomp.el (math-compose-expr):
11023 * calc/calc-ext.el (math-format-flat-expr-fancy):
11024 * calc/calc-store.el (calc-read-var-name):
11025 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11027 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11028 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11029 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11030 (math-standard-units): Add units.
11032 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11034 * progmodes/asm-mode.el (asm-mode):
11035 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11037 * pcomplete.el (pcomplete-completions-at-point): New function,
11038 extracted from pcomplete-std-complete.
11039 (pcomplete-std-complete): Use it.
11041 2010-05-15 Glenn Morris <rgm@gnu.org>
11043 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11044 Remove references to CVS, RCS and Old directories.
11046 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11048 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11051 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11053 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11054 (sh-mode-syntax-table): Give it a default value instead.
11055 (sh-header-marker): Make buffer-local.
11056 (sh-mode): Move make-local-variable to the corresponding setq.
11057 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11058 Use complete-with-action.
11060 * simple.el (prog-mode): New (abstract) major mode.
11061 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11062 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11064 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11066 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11067 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11068 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11069 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11070 (sql-escape-newlines-filter, sql-input-sender)
11071 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11073 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11075 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11077 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11078 latex-open-block and C-c / to latex-close-block.
11080 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11081 and C-c C-e to sgml-close-tag.
11083 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11085 * net/tramp.el (with-progress-reporter): Create reporter object
11086 only when the message would be displayed. Handle nested calls.
11087 (tramp-handle-load, tramp-handle-file-local-copy)
11088 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11089 (tramp-maybe-send-script, tramp-find-shell):
11090 Use `with-progress-reporter'.
11091 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11094 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11095 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11096 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11097 Use `with-progress-reporter'.
11099 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11101 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11102 process everytime when spellchecking from the minibuffer (bug#6143).
11104 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11106 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11108 * dos-fns.el: Add "dos-" prefix for namespace control.
11109 (convert-standard-filename): Define as alias for
11110 dos-convert-standard-filename but only if applicable.
11112 2010-05-12 Alan Mackenzie <acm@muc.de>
11114 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11115 Push the mark at the start of these functions when appropriate.
11117 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11119 * minibuffer.el (completion-cycle-threshold): New custom var.
11120 (completion--do-completion): Use it.
11121 (minibuffer-complete): Use cycling if appropriate.
11123 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11125 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11126 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11128 2010-05-11 Juri Linkov <juri@jurta.org>
11130 * scroll-all.el (scroll-all-check-to-scroll):
11131 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11133 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11135 * iimage.el (iimage-mode-map): Move initialization into declaration.
11136 (iimage-mode-buffer): Use with-silent-modifications.
11137 Simplify calling convention. Adjust callers.
11138 (iimage-mode): Don't run hook redundantly.
11140 * minibuffer.el (completion-pcm--pattern->regex):
11141 Fix last change (bug#6160).
11143 2010-05-10 Juri Linkov <juri@jurta.org>
11145 Remove nodes visited during Isearch from the Info history.
11146 * info.el (Info-isearch-initial-history)
11147 (Info-isearch-initial-history-list): New variables.
11148 (Info-isearch-start): Record initial values of
11149 Info-isearch-initial-history and Info-isearch-initial-history-list.
11150 Add Info-isearch-end to isearch-mode-end-hook.
11151 (Info-isearch-end): New function.
11153 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11155 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11156 format string, in order to work around a bug in pdksh.
11157 Reported by Gilles Pion <gpion@lfdj.com>.
11158 (tramp-handle-verify-visited-file-modtime): Do not send a command
11159 when the connection is not established.
11160 (tramp-handle-set-file-times): Simplify the check for utc.
11162 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11164 Fix use of `filter-buffer-substring' (rework previous change).
11165 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11166 (cua-repeat-replace-region):
11167 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11168 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11169 (cua-cut-region-to-global-mark): Use it.
11171 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11173 * progmodes/sql.el: Version 2.1.
11174 (sql-product-alist): Redesign structure of product info.
11175 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11176 (sql-port, sql-port-history): New variables.
11177 (sql-interactive-product): New variable.
11178 (sql-send-terminator): New variable.
11179 (sql-imenu-generic-expression): Add "Types" imenu entry.
11180 (sql-oracle-login-params, sql-sqlite-login-params)
11181 (sql-mysql-login-params, sql-solid-login-params)
11182 (sql-sybase-login-params, sql-informix-login-params)
11183 (sql-ingres-login-params, sql-ms-login-params)
11184 (sql-postgres-login-params, sql-interbase-login-params)
11185 (sql-db2-login-params, sql-linter-login-params)
11186 (sql-oracle-scan-on): New variables.
11187 (sql-mode-map): Add C-c C-i to start interactive mode.
11188 (sql-mode-menu): Update existing menu entries.
11189 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11190 (sql-mode-oracle-font-lock-keywords)
11191 (sql-mode-postgres-font-lock-keywords)
11192 (sql-mode-ms-font-lock-keywords)
11193 (sql-mode-sybase-font-lock-keywords)
11194 (sql-mode-informix-font-lock-keywords)
11195 (sql-mode-interbase-font-lock-keywords)
11196 (sql-mode-ingres-font-lock-keywords)
11197 (sql-mode-solid-font-lock-keywords)
11198 (sql-mode-mysql-font-lock-keywords)
11199 (sql-mode-sqlite-font-lock-keywords)
11200 (sql-mode-db2-font-lock-keywords)
11201 (sql-mode-linter-font-lock-keywords): Update initialization to
11202 reduce run-time complexity.
11203 (sql-add-product, sql-del-product): New functions.
11204 (sql-set-product-feature, sql-get-product-feature): New functions.
11205 (sql-product-font-lock): Update product API.
11206 (sql-add-product-keywords): New function.
11207 (sql-highlight-product): Update product API.
11208 (sql-help-list-products): New function.
11209 (sql-help): Dynamically lists free and non-free products.
11210 (sql-get-login): Correct bug in handling history and added
11212 (sql-copy-column): Copy without properties.
11213 (sqli-input-sender): Apply filters to SQLi input.
11214 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11215 Implement as a filter.
11216 (sql-escape-newlines-filter): Implement as a filter.
11217 (sql-remove-tabs-filter): New function.
11218 (sql-send-magic-terminator): New function.
11219 (sql-send-string): Implement magic terminator.
11220 (sql-send-region): Use `sql-send-string'.
11221 (sql-interactive-mode): Use product API.
11222 (sql-product-interactive): Use product API.
11223 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11224 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11225 (sql-db2, sql-linter): Use `sql-product-interactive'.
11226 (sql-connect): New function.
11227 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11228 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11229 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11230 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11233 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11235 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11236 New custom variable.
11237 (completion-pcm--string->pattern): Use it.
11238 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11239 Make it handle any symbol as `any'.
11240 (completion-pcm--merge-completions): Extract common suffix for the new
11241 `prefix' symbol as well.
11242 (completion-substring--all-completions): Use the new `prefix' symbol.
11244 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11246 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11248 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11249 (tramp-compat-funcall): New defmacro.
11250 (tramp-compat-line-beginning-position)
11251 (tramp-compat-line-end-position)
11252 (tramp-compat-temporary-file-directory)
11253 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11254 (tramp-compat-copy-file, tramp-compat-copy-directory)
11255 (tramp-compat-delete-file, tramp-compat-delete-directory)
11256 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11257 * net/tramp.el (top, with-progress-reporter)
11258 (tramp-rfn-eshadow-setup-minibuffer)
11259 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11260 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11261 (tramp-completion-mode-p, tramp-check-for-regexp)
11262 (tramp-open-connection-setup-interactive-shell)
11263 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11264 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11265 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11266 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11267 (tramp-reporter-dump-variable, tramp-load-report-modules)
11268 (tramp-append-tramp-buffers)
11269 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11271 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11273 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11275 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11276 buffer-modtime. Adjust users.
11278 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11280 * international/mule.el (auto-coding-alist): Only purecopy
11281 car of each item, not the whole list (Bug#6083).
11283 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11285 * progmodes/js.el (js-mode): Make paragraph variables local before
11286 calling c-setup-paragraph-variables (Bug#6071).
11288 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11290 * composite.el (compose-region, reference-point-alist): Fix typos
11291 in the doc strings.
11293 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11295 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11296 gnuplot's "set" command.
11298 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11300 * abbrev.el (last-abbrev-text): Doc fix.
11301 (abbrev-prefix-mark): Don't escape parenthesis.
11303 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11305 * composite.el (find-composition): Doc fix.
11307 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11309 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11310 (sql-oracle-program, sql-sqlite-options)
11311 (sql-query-placeholders-and-send): Doc fixes.
11312 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11313 (sql-imenu-generic-expression, sql-buffer)
11314 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11315 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11316 (sql-mode-sybase-font-lock-keywords)
11317 (sql-mode-informix-font-lock-keywords)
11318 (sql-mode-interbase-font-lock-keywords)
11319 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11320 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11321 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11322 (sql-product-feature, sql-highlight-product)
11323 (comint-line-beginning-position, sql-rename-buffer)
11324 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11325 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11326 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11327 Fix typos in docstrings.
11329 2010-05-08 Juri Linkov <juri@jurta.org>
11331 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11332 property instead of `invisible' and `after-string' (bug#5998).
11334 2010-05-08 Juri Linkov <juri@jurta.org>
11336 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11338 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11340 * filecache.el (file-cache-add-directory-list)
11341 (file-cache-add-directory-recursively): Fix typos in docstrings.
11343 2010-05-08 Kenichi Handa <handa@m17n.org>
11345 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11346 (gujarati-composable-pattern): Fix typo.
11348 2010-05-08 Kenichi Handa <handa@m17n.org>
11350 * language/indian.el (oriya-composable-pattern)
11351 (tamil-composable-pattern, malayalam-composable-pattern):
11352 Add two-part vowels to "v" (vowel sign).
11354 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11356 * files.el (copy-directory): Handle symlinks (Bug#5982).
11358 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11360 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11361 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11364 2010-05-08 Glenn Morris <rgm@gnu.org>
11366 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11368 * minibuffer.el (completion-at-point): Doc fix.
11370 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11372 * electric.el (Electric-command-loop): Minor tweak.
11374 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11375 better with dedicated windows.
11377 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11379 * Version 23.2 released.
11381 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11382 Stefan Monnier <monnier@iro.umontreal.ca>
11384 Highlight vendor specific properties.
11385 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11386 (css-proprietary-property): New face.
11387 (css-font-lock-keywords): Use them.
11389 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11391 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11393 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11396 * files.el (auto-mode-alist): Remove redundant entries.
11398 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11399 * simple.el (auto-save-mode): Move from files.el.
11400 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11402 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11404 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11406 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11408 * mail/binhex.el (binhex-decode-region-internal)
11409 * mail/uudecode.el (uudecode-decode-region-internal)
11410 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11411 (dns-read-type, dns-query)
11412 * pgg-parse.el (pgg-parse-armor)
11413 * pgg.el (pgg-verify-region)
11414 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11417 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11419 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11421 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11423 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11424 * emulation/cua-base.el (cua-repeat-replace-region):
11425 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11426 (cua-cut-region-to-global-mark):
11427 Remove text properties with `set-text-properties'.
11429 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11431 * net/tramp.el (top, with-progress-reporter):
11432 Use `symbol-function' inside `funcall'.
11434 * net/tramp-compat.el (tramp-compat-file-attributes)
11435 (tramp-compat-delete-file, tramp-compat-delete-directory):
11436 Handle only `wrong-number-of-arguments' error.
11438 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11439 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11442 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11444 * minibuffer.el (completion--sreverse, completion--common-suffix):
11446 (completion-pcm--merge-completions): Extract common suffix when safe.
11448 * emacs-lisp/easy-mmode.el (define-minor-mode):
11449 Make :variable more flexible.
11450 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11452 2010-05-05 Juri Linkov <juri@jurta.org>
11454 Add `slow' and `history' tags to the desktop data.
11456 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11457 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11458 (Info-finder-find-node): Require `finder.el' to be able
11459 to restore node from the desktop.
11460 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11461 data `Info-history' and `slow' tag in the assoc list.
11462 (Info-restore-desktop-buffer): Don't restore nodes with the
11463 `slow' tag. Restore `Info-history'.
11465 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11467 Add FORCE argument to `delete-file'.
11469 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11470 forcing to delete the temporary file.
11471 (ange-ftp-delete-file): Add FORCE arg.
11472 (ange-ftp-rename-remote-to-remote)
11473 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11474 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11475 Force file deletion.
11477 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11479 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11480 (tramp-handle-make-symbolic-link, tramp-handle-load)
11481 (tramp-do-copy-or-rename-file-via-buffer)
11482 (tramp-do-copy-or-rename-file-directly)
11483 (tramp-do-copy-or-rename-file-out-of-band)
11484 (tramp-handle-process-file, tramp-handle-call-process-region)
11485 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11486 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11487 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11489 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11490 (tramp-fish-handle-make-symbolic-link)
11491 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11493 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11494 Use `tramp-compat-delete-file'.
11496 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11497 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11499 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11500 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11502 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11503 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11504 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11505 Use `tramp-compat-delete-file'.
11507 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * subr.el (add-minor-mode): Use push.
11511 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11512 * emulation/edt.el (edt-select-mode): Simplify.
11514 Use define-minor-mode in more cases.
11515 * term/tvi970.el (tvi970-set-keypad-mode):
11516 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11517 (normal-erase-is-backspace-mode):
11518 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11519 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11520 (get-scroll-bar-mode): New function.
11521 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11523 Use define-minor-mode for less obvious cases.
11524 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11525 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11526 * international/iso-ascii.el (iso-ascii-mode):
11527 * frame.el (auto-raise-mode, auto-lower-mode):
11528 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11530 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11532 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11533 in order to see error messages for failed logins.
11535 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11537 * diff.el (diff-sentinel):
11539 * epg.el (epg--make-temp-file, epg-decrypt-string)
11540 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11542 * jka-compr.el (jka-compr-partial-uncompress)
11543 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11545 * server.el (server-sentinel): Use delete-file's new FORCE arg
11548 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11550 Use define-minor-mode where applicable.
11551 * view.el (view-mode):
11552 * type-break.el (type-break-query-mode)
11553 (type-break-mode-line-message-mode):
11554 * textmodes/reftex.el (reftex-mode):
11555 * term/vt100.el (vt100-wide-mode):
11556 * tar-mode.el (tar-subfile-mode):
11557 * savehist.el (savehist-mode):
11558 * ibuf-ext.el (ibuffer-auto-mode):
11559 * composite.el (auto-composition-mode):
11560 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11561 Use define-minor-mode.
11562 (vhdl-mode): Use static mode-line format.
11563 (vhdl-mode-line-update): Delete.
11564 (vhdl-create-mode-menu, vhdl-activate-customizations)
11565 (vhdl-hs-minor-mode): Don't bother calling it.
11567 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11569 * simple.el (with-wrapper-hook): Move.
11570 (buffer-substring-filters): Mark obsolete.
11571 (filter-buffer-substring-functions): New variable.
11572 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11574 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11575 Michael Albinus <michael.albinus@gmx.de>
11577 Implement compression for inline methods.
11579 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11580 (tramp-copy-size-limit): Allow also nil.
11581 (tramp-inline-compress-commands): New defconst.
11582 (tramp-find-inline-compress, tramp-get-inline-compress)
11583 (tramp-get-inline-coding): New defuns.
11584 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11585 replaced by `tramp-get-inline-coding'.
11586 (tramp-handle-file-local-copy, tramp-handle-write-region)
11587 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11589 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11591 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11592 Remove unused functions.
11594 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11595 Set find-tag-default-function as a variable rather than a property.
11597 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11598 * progmodes/etags.el (tags-completion-at-point-function):
11599 Remove left over interactive spec. Add autoloading stub.
11600 (complete-tag): Use tags-completion-at-point-function.
11602 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11604 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11606 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11608 * ido.el (ido-init-completion-maps): Remove C-v binding.
11609 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11611 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11613 * minibuffer.el (tags-completion-at-point-function): New function.
11614 (completion-at-point-functions): Use it.
11616 * progmodes/etags.el (complete-tag): Revert last change.
11618 2010-04-29 Alan Mackenzie <acm@muc.de>
11620 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11621 off-by-one error (in end of macro position).
11623 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11625 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11626 firefox is absent. Don't autoload.
11627 (browse-url-galeon-program): Don't autoload.
11629 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11631 * bindings.el (complete-symbol): Move into minibuffer.el.
11633 * minibuffer.el (complete-tag): Move from etags.el. If tags
11634 completion cannot be performed, return nil instead of signalling
11636 (completion-at-point): Make it an alias for complete-symbol.
11637 (complete-symbol): Move from bindings.el, and replace with the
11638 body of completion-at-point.
11640 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11642 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11644 * net/tramp.el (tramp-remote-selinux-p): New defun.
11645 (tramp-handle-file-selinux-context)
11646 (tramp-handle-set-file-selinux-context): Use it.
11648 2010-04-28 Sam Steingold <sds@gnu.org>
11650 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11651 `safe-local-variable' if the value is a string or a symbol with
11652 the property `bug-reference-url-format'.
11654 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11656 * progmodes/bug-reference.el (bug-reference-url-format):
11657 Revert 2010-04-27 change due to security risk.
11659 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11661 Make it possible to locally disable a globally enabled mode.
11662 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11663 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11664 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11665 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11666 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11667 that subsequent hooks get a chance to disable it.
11669 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11671 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11672 Avoid re-enabling a minor mode after the user turned the minor mode
11673 off if MODE-enable-in-buffers is run twice (typically once from
11674 fundamental-mode's after-change-major-mode-hook and a second time from
11675 run-mode-hook's own after-change-major-mode-hook).
11677 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11679 2010-04-27 Sam Steingold <sds@gnu.org>
11681 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11682 `safe-local-variable' if the value is a string or a function, as
11683 documented and implemented on 2010-04-02.
11685 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11687 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11688 when method is 'kill.
11690 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11692 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11693 condition in default directory check.
11694 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11695 Kill ispell process when killing its associated buffer.
11697 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11699 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11700 but we aren't using it.
11702 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11704 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11705 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11707 2010-04-24 Glenn Morris <rgm@gnu.org>
11709 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11710 Ignore VCS-ignore files, and deleted nextstep preferences files.
11711 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11712 (authors-ambiguous-files): New list.
11713 (authors-valid-file-names): Add some deleted files.
11714 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11715 (authors-disambiguate-file-name): New function. (Bug#5501)
11716 (authors-canonical-file-name): Doc fix.
11717 Don't warn about obsolete files.
11718 (authors-canonical-file-name, authors-scan-el):
11719 Use authors-disambiguate-file-name.
11721 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11722 Add autoload cookies.
11723 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11724 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11725 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11726 They have definitions / compiler macros in cl.el.
11727 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11728 Replace manual autoloads with generated ones.
11729 (htmlfontify-unload-rgb-file): Remove autoload.
11730 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11732 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11735 (byte-compile-setq-default): Optimize for the
11736 single-var case and don't call byte-compile-form in this case to avoid
11737 inf-loop with byte-compile-set-default.
11739 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11741 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11743 Implement SELINUX backends.
11745 * net/tramp.el (tramp-file-name-handler-alist):
11746 Add `file-selinux-context' and `set-file-selinux-context'.
11747 (tramp-handle-file-selinux-context)
11748 (tramp-handle-set-file-selinux-context): New defuns.
11749 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11750 Handle PRESERVE-SELINUX-CONTEXT.
11752 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11753 Add `file-selinux-context' and `set-file-selinux-context'.
11754 (tramp-gvfs-handle-file-selinux-context)
11755 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11756 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11758 * net/ange-ftp.el (ange-ftp-copy-file):
11759 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11760 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11761 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11762 Add PRESERVE-SELINUX-CONTEXT.
11764 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11766 Synchronize with Tramp repository.
11768 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11769 (tramp-action-process-alive, tramp-action-out-of-band)
11770 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11771 (tramp-exists-file-name-handler): Fix docstring.
11772 (with-progress-reporter): New defmacro.
11773 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11774 (tramp-maybe-open-connection): Use it.
11776 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11778 Detect ssh 'ControlMaster' argument automatically in some cases.
11780 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11781 (tramp-default-method): Use it.
11783 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11785 * net/tramp.el (tramp-handle-copy-file): Add new optional
11786 parameter `preserve-selinux-context'.
11787 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11789 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11791 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11792 Ensure, that non remote files are still checked. Oops.
11794 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11798 * icomplete.el (icomplete-completions): Use `non-essential'.
11800 * net/tramp.el (tramp-connectable-p): New defun.
11801 (tramp-handle-expand-file-name)
11802 (tramp-completion-handle-file-name-all-completions)
11803 (tramp-completion-handle-file-name-completion): Use it.
11805 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11807 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11809 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11811 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11813 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11815 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11818 * info.el (info-tool-bar-map): Add labels.
11820 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11822 * cus-edit.el (custom-commands): Add labels for tool bar.
11823 (custom-buffer-create-internal, Custom-mode): Adjust for
11824 labels in custom-commands.
11826 * dynamic-setting.el: Renamed from font-setting.el.
11828 2010-04-21 John Wiegley <jwiegley@gmail.com>
11830 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11831 toggles the use of virtual buffers.
11832 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11833 (ido-toggle-virtual-buffers): New function.
11835 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11837 Use `define-derived-mode'; fix window selection; doc fixes.
11838 * play/tetris.el (tetris, tetris-update-speed-function)
11839 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11840 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11841 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11842 (tetris-pause-game): Fix typos in docstrings.
11843 (tetris-mode-map, tetris-null-map):
11844 Move initialization into declaration.
11845 (tetris-mode): Define with `define-derived-mode';
11846 set show-trailing-whitespace to nil.
11847 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11849 2010-04-21 Karel Klíč <kklic@redhat.com>
11851 * files.el (backup-buffer): Handle SELinux context, and return it
11852 if a backup was made by renaming.
11853 (backup-buffer-copy): Set SELinux context to the target file.
11854 (basic-save-buffer): Set SELinux context of the newly written file.
11855 (basic-save-buffer-1): Now it also returns any SELinux context.
11856 (basic-save-buffer-2): Set SELinux context of the newly created file,
11858 * net/tramp.el (tramp-file-name-for-operation):
11859 Add file-selinux-context.
11861 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11863 Make the log-edit comments use RFC822 format throughout.
11865 * vc.el (vc-checkin, vc-modify-change-comment):
11866 Adjust to new vc-start/finish-logentry.
11867 (vc-find-conflicted-file): New command.
11868 (vc-transfer-file): Adjust to new vc-checkin.
11869 (vc-next-action): Improve scoping.
11871 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11872 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11874 * vc-git.el (vc-git-log-edit-mode): Remove.
11875 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11876 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11878 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11879 (vc-start-logentry): Remove argument `extra'.
11880 (vc-finish-logentry): Remove extra args.
11882 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11883 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11884 (vc-bzr-conflicted-files): New function.
11886 * log-edit.el (log-edit-extra-flags)
11887 (log-edit-before-checkin-process): Remove.
11888 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11889 (log-edit-headers-alist): New var.
11890 (log-edit-header-contents-regexp): New const.
11891 (log-edit-match-to-eoh): New function.
11892 (log-edit-font-lock-keywords): Use them.
11893 (log-edit): Insert a "Summary:" header as default.
11894 (log-edit-mode): Mark font-lock rules as case-insensitive.
11895 (log-edit-done): Cleanup headers.
11896 (log-view-process-buffer): Remove.
11897 (log-edit-extract-headers): New function to replace it.
11899 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11901 * subr.el (default-direction-reversed): Remove obsolescence info.
11903 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11905 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11908 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11909 I.e. include text after point in the completion region.
11910 Also, return nil when we're not after/in a symbol.
11912 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11913 default enable-multibyte-characters.
11915 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11917 * international/mule.el: Help the user choose a valid coding-system.
11918 (read-buffer-file-coding-system): New function.
11919 (set-buffer-file-coding-system): Use it. Prompt the user if the
11920 coding-system cannot encode all the chars.
11922 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11923 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11924 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11925 Don't use *vc-bzr-shelve*.
11927 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11929 Fix the version number for added files.
11930 * vc-hg.el (vc-hg-working-revision): Check if the file is
11931 registered after hg parent fails (Bug#5961).
11933 2010-04-19 Glenn Morris <rgm@gnu.org>
11935 * htmlfontify.el (htmlfontify-buffer)
11936 (htmlfontify-copy-and-link-dir): Autoload entry points.
11938 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11940 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11941 name relative to the project root (Bug#5960).
11943 2010-04-19 Glenn Morris <rgm@gnu.org>
11945 * vc-git.el (vc-git-print-log): Doc fix.
11947 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11949 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11951 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11953 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11954 default settings (Bug#5928).
11956 2010-04-19 Glenn Morris <rgm@gnu.org>
11958 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11960 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11962 2010-04-19 Kenichi Handa <handa@m17n.org>
11964 * language/indian.el (malayalam-composable-pattern): Fix previous
11965 change (add U+0D4D "SIGN VIRAMA").
11966 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11967 (tamil-composable-pattern): Fix typo in the regexp.
11968 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11969 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11970 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11972 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11974 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11975 paragraph-separate (Bug#5821).
11977 2010-04-19 Juri Linkov <juri@jurta.org>
11979 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11981 * info.el (Info-find-node-2): Comment out code that skips
11983 (Info-mouse-follow-link): New command.
11984 (Info-link-keymap): New keymap.
11985 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11986 Return a string with links instead of inserting breadcrumbs
11987 to the Info buffer.
11988 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11989 Instead of putting the `invisible' text property over the Info
11990 header, make an overlay over the Info header with the `invisible'
11991 property and `after-string' set to the string returned by
11992 `Info-breadcrumbs'.
11994 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11996 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11997 Reported by monkey@sandpframing.com.
11999 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12001 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12002 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12003 available in the "keyseq cache" any more.
12005 * custom.el (defcustom): Add edebug spec.
12007 2010-04-18 Juri Linkov <juri@jurta.org>
12009 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12011 * view.el (view-file, view-buffer): Move test for special mode-class
12012 from view-file to view-buffer.
12014 * tar-mode.el (tar-extract): Turn if's into one cond
12015 like in arc-mode.el.
12017 2010-04-18 Juri Linkov <juri@jurta.org>
12019 Add 7z archive format support (bug#5475).
12021 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12022 (archive-7z-extract): New defcustom.
12023 (archive-find-type): Add magic string for 7z.
12024 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12025 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12026 `buffer' arg of `call-process'.
12027 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12028 call the function `archive-7z-extract' with the variable
12029 `archive-7z-extract' let-bound to `archive-zip-extract'.
12030 (archive-7z-summarize, archive-7z-extract): New functions.
12032 * international/mule.el (auto-coding-alist):
12033 * files.el (auto-mode-alist): Add 7z file extension.
12035 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12037 * loadup.el: Setup hash-cons for pure data.
12039 Fix duplicate entries in cedet's loaddefs.el files.
12040 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12041 Should make most file-local generated-autoload-file unnecessary.
12042 (print-readably): Silence warnings.
12043 (autoload-find-destination): Take load-name as an arg to make sure
12044 it's the same as the one that will be in the file.
12045 (autoload-generate-file-autoloads): Adjust to above changes.
12046 Try to make the dataflow a bit simpler.
12048 * cvs-status.el (cvs-refontify): Remove unused.
12050 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12052 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12054 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12055 twos-complement mode.
12057 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12059 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12060 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12061 (calc-inverse): Add "Option" to message, as appropriate.
12062 (calc-hyperbolic): Add "Option" to message, as appropriate.
12063 (calc-option, calc-is-option): New functions.
12065 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12066 (calc-option-prefix-help): New function.
12068 * calc/calc-misc.el (calc-help): Add "Option" entry.
12070 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12071 (calc-option-flag): New variable.
12072 (calc-do): Set `calc-option-flag to nil.
12073 (calc-set-mode-line): Add "Opt " as appropriate.
12075 2010-04-16 Juri Linkov <juri@jurta.org>
12077 Move scrolling commands from simple.el to window.el
12078 because their primitives are implemented in window.c.
12080 * simple.el (scroll-error-top-bottom)
12081 (scroll-up-command, scroll-down-command, scroll-up-line)
12082 (scroll-down-line, scroll-other-window-down)
12083 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12084 * window.el (scroll-error-top-bottom)
12085 (scroll-up-command, scroll-down-command, scroll-up-line)
12086 (scroll-down-line, scroll-other-window-down)
12087 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12088 Move from simple.el to window.el because their primitives are
12089 implemented in window.c.
12091 2010-04-16 Juri Linkov <juri@jurta.org>
12093 * isearch.el (isearch-lookup-scroll-key): Check both
12094 `isearch-scroll' and `scroll-command' properties.
12095 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12097 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12099 * simple.el (scroll-up-command, scroll-down-command)
12100 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12102 2010-04-15 Juri Linkov <juri@jurta.org>
12104 * simple.el (scroll-up-command, scroll-down-command)
12105 (scroll-up-line, scroll-down-line): Put `scroll-command'
12106 property on the these symbols. Remove them from
12107 `scroll-preserve-screen-position-commands'.
12109 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12110 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12111 Remove it from `scroll-preserve-screen-position-commands'.
12113 * isearch.el (isearch-allow-scroll): Doc fix.
12115 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12117 * net/tramp.el (tramp-error-with-buffer): Don't show the
12118 connection buffer when we are in completion mode.
12119 (tramp-file-name-handler): Catch the error for some operations
12120 when we are in completion mode. This gives the user the chance to
12121 correct the file name in the minibuffer.
12123 2010-04-15 Glenn Morris <rgm@gnu.org>
12125 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12127 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12129 Simplify by using `define-derived-mode'.
12130 * info.el (Info-mode):
12131 * calendar/todo-mode.el (todo-mode):
12132 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12133 (gomoku-mode-map): Move initialization into declaration.
12135 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12138 * ido.el (ido-file-name-all-completions-1):
12139 * minibuffer.el (minibuffer-completion-help):
12140 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12142 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12144 * simple.el (non-essential): New var.
12146 Add a new field `location' to bookmarks for non-file bookmarks.
12147 * bookmark.el (bookmark-location): Use the new field, if present.
12148 (bookmark-insert-location): Undo last change, not needed any more.
12149 * man.el (Man-bookmark-make-record):
12150 * woman.el (woman-bookmark-make-record): Add `location' field.
12152 2010-04-14 Juri Linkov <juri@jurta.org>
12154 * simple.el (scroll-error-top-bottom): New defcustom.
12155 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12157 * emulation/pc-select.el (pc-select-override-scroll-error):
12158 Obsolete in favor of `scroll-error-top-bottom'.
12160 2010-04-14 Juri Linkov <juri@jurta.org>
12162 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12163 `scroll-up-command' and `M-v' to `scroll-down-command'.
12165 * emulation/cua-rect.el (cua--init-rectangles):
12166 * forms.el (forms--change-commands):
12167 * image-mode.el (image-mode-map):
12168 Remap scroll-down-command and scroll-up-command
12169 in addition to scroll-down and scroll-up.
12171 2010-04-14 Juri Linkov <juri@jurta.org>
12173 * mwheel.el (scroll-preserve-screen-position-commands):
12174 Add mwheel-scroll to this list of commands.
12176 * simple.el (scroll-preserve-screen-position-commands):
12177 Add scroll-up-command, scroll-down-command, scroll-up-line,
12178 scroll-down-line to this list of commands.
12180 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12182 * obsolete/complete.el: Move from lisp/complete.el.
12184 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12186 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12187 to the minor mode function now turns the mode ON unconditionally.
12189 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12191 * vc-dir.el (vc-dir-kill-line): New command.
12192 (vc-dir-mode-map): Bind it to C-k.
12194 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12196 * woman.el: Add bookmark declarations to silence the compiler.
12197 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12198 step to compatibility between man and woman bookmarks.
12199 Adjust for Man-default-bookmark-title renaming.
12200 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12202 * man.el: Add bookmark declarations to silence the compiler.
12203 (Man-name-local-regexp): Make it match NAME as well.
12204 (Man-getpage-in-background): Return the buffer.
12205 (Man-notify-when-ready): Use `case'.
12206 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12207 Don't hardcode "NAME". Simplify.
12208 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12209 Rename from Man-bookmark-make-record.
12210 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12211 we have the actual man-args. Use Man-getpage-in-background rather
12212 than `man' since the arg is already processed. Let bookmark.el do the
12213 window handling. Only wait for the relevant process.
12214 Don't forget to autoload.
12216 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12218 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12220 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12222 (woman-mode): Setup bookmark support.
12224 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12225 (man-bookmark-jump): New functions.
12226 (Man-mode): Setup bookmark support.
12228 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12230 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12231 recognize ssh-keygen prompt (Bug#2817).
12233 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12235 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12237 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12239 Synchronize with Tramp repository.
12241 * net/tramp.el (tramp-completion-function-alist)
12242 (tramp-file-name-regexp, tramp-chunksize)
12243 (tramp-local-coding-commands, tramp-remote-coding-commands):
12245 (tramp-remote-process-environment): Use `format' instead of `concat'.
12246 (tramp-handle-directory-files-and-attributes)
12247 (tramp-get-remote-path): Use `copy-tree'.
12248 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12249 compatibility: Use `completion-ignore-case' if
12250 `read-file-name-completion-ignore-case' does not exist.
12251 (tramp-do-copy-or-rename-file-directly): Do not use
12252 `tramp-handle-file-remote-p'.
12253 (tramp-do-copy-or-rename-file-out-of-band):
12254 Use `tramp-compat-delete-directory'.
12255 (tramp-do-copy-or-rename-file-out-of-band)
12256 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12257 Use `format-spec-make'.
12258 (tramp-find-foreign-file-name-handler)
12259 (tramp-advice-make-auto-save-file-name)
12260 (tramp-set-auto-save-file-modes): Remove superfluous check for
12261 `stringp'. This is done inside `tramp-tramp-file-p'.
12262 (tramp-debug-outline-regexp): New defconst.
12263 (tramp-get-debug-buffer): Use it.
12264 (tramp-check-for-regexp): Use (forward-line 1).
12265 (tramp-set-auto-save-file-modes): Adapt version check.
12267 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12268 Wrap call of `featurep' for 2nd argument.
12269 (tramp-compat-make-temp-file): Simplify fallback implementation.
12270 (tramp-compat-copy-tree): Remove function.
12271 (tramp-compat-delete-directory): Provide implementation for older
12274 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12275 Do not use `tramp-fish-handle-file-attributes.
12277 * net/trampver.el: Update release number.
12279 2010-04-10 Glenn Morris <rgm@gnu.org>
12281 * progmodes/compile.el (compilation-save-buffers-predicate):
12282 Add missing :version tag.
12284 2010-04-09 Sam Steingold <sds@gnu.org>
12286 * progmodes/compile.el (compilation-save-buffers-predicate):
12287 Remove the "autoload" cookie.
12289 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12290 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12291 and `bug-reference-prog-mode' can be used in hooks directly.
12293 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12295 Add --author support to git commit.
12296 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12297 (vc-git-log-edit-mode): New minor mode.
12298 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12301 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12303 * vc-hooks.el, vc-git.el: Improve documentation comments.
12305 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12307 Fix some of the problems in defsubst* (bug#5728).
12308 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12309 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12311 2010-04-07 Sam Steingold <sds@gnu.org>
12313 * progmodes/compile.el (compilation-save-buffers-predicate):
12314 New custom variable.
12315 (compile, recompile): Pass it to `save-some-buffers'.
12317 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12319 * wid-edit.el (widget-choose): Move cursor to the second line of
12320 the buffer (Bug#5695).
12322 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12324 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12325 * vc.el (vc-print-log-setup-buttons): New function split out from
12326 vc-print-log-internal.
12327 (vc-log-internal-common): New function, a parametrized version of
12328 vc-print-log-internal.
12329 (vc-print-log-internal): Just call vc-log-internal-common with the
12331 (vc-incoming-outgoing-internal):
12332 (vc-log-incoming, vc-log-outgoing): New functions.
12333 (vc-log-view-type): New permanent local variable.
12335 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12337 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12338 of the dynamic bound vc-short-log.
12339 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12341 * vc-git.el (vc-git-log-outgoing): New function.
12342 (vc-git-log-view-mode): Use vc-log-view-type instead
12343 of the dynamic bound vc-short-log.
12345 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12346 of the dynamic bound vc-short-log. Highlight the tag.
12347 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12348 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12349 (vc-hg-incoming-mode): Remove.
12350 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12352 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12354 Fix default-directory for vc-root-diff.
12355 * vc.el (vc-root-diff): Bind default-directory to the root
12356 directory for the diff command.
12358 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12360 * progmodes/verilog-mode.el (verilog-forward-sexp):
12361 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12362 word keywords, suggested by Steve Pearlmutter.
12363 (verilog-pretty-declarations): Support lineup of declarations in
12365 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12366 fix bug for /* / comments.
12367 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12368 Speed up and simplfy as this is never called with a bound.
12369 (verilog-pretty-declarations): Enhance to line up declarations
12370 inside a parameter list, suggested by Alan Morgan.
12371 (verilog-pretty-expr): Tune assignment regular expression match
12372 string for corner cases; also use markers instead of character
12373 number as indent changes the later.
12375 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12377 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12378 as missing keyword.
12379 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12380 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12381 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12382 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12384 (verilog-keywords):
12385 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12386 1800-2009 keywords, including "global.".
12388 2010-04-06 John Wiegley <jwiegley@gmail.com>
12390 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12391 appearing in buffer list (if a live buffer name matched a recentf
12392 file basename). Should use uniquify to offer a real solution.
12394 2010-04-06 John Wiegley <jwiegley@gmail.com>
12396 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12397 comment to code, and add a :version tag.
12398 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12400 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12402 Enable recentf-mode if using virtual buffers.
12403 * ido.el (recentf-list): Declare for byte-compiler.
12404 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12405 (ido-make-buffer-list): Simplify.
12406 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12408 2010-04-05 Juri Linkov <juri@jurta.org>
12410 Scrolling commands which scroll a line instead of full screen.
12411 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12413 * simple.el (scroll-up-line, scroll-down-line): New commands.
12414 Put property isearch-scroll=t on them.
12416 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12419 2010-04-05 Juri Linkov <juri@jurta.org>
12421 Scrolling commands which do not signal errors at top/bottom.
12422 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12424 * simple.el (scroll-up-command, scroll-down-command): New commands.
12425 Put property isearch-scroll=t on them.
12427 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12428 `scroll-down-command' and [next] from `scroll-up' to
12429 `scroll-up-command'.
12431 * emulation/cua-base.el: Put property CUA=move on
12432 `scroll-up-command' and `scroll-down-command'.
12433 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12434 and `scroll-down-command' to `cua-scroll-down'.
12436 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12438 * help.el (describe-mode): Return nil.
12440 2010-04-04 John Wiegley <jwiegley@gmail.com>
12442 * ido.el (ido-use-virtual-buffers): New variable to indicate
12443 whether "virtual buffer" support is enabled for IDO.
12444 (ido-virtual): Face used to indicate virtual buffers in the list.
12445 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12446 exists, but a virtual buffer of that name does (which would be why
12447 it was in the list), recreate the buffer by reopening the file.
12448 (ido-make-buffer-list): If virtual buffers are being used, call
12449 `ido-add-virtual-buffers-to-list' before the make list hook.
12450 (ido-virtual-buffers): New variable which contains a copy of the
12451 current contents of the `recentf-list', albeit pared down for the
12452 sake of speed, and with proper faces applied.
12453 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12454 create a list of "virtual buffers" to present to the user in
12455 addition to the currently open set. Note that this logic could
12456 get rather slow if that list is too large. With the default
12457 `recentf-max-saved-items' of 200, there is little speed penalty.
12459 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12461 * font-lock.el: Require CL when compiling.
12462 (font-lock-turn-on-thing-lock): Use `case'.
12464 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12466 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12469 2010-04-02 Juri Linkov <juri@jurta.org>
12471 * ehelp.el (electric-help-orig-major-mode):
12472 New buffer-local variable.
12473 (electric-help-mode): Set it to original major-mode. Doc fix.
12474 (with-electric-help): Use `electric-help-orig-major-mode' instead
12475 of (default-value 'major-mode). Doc fix.
12476 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12478 2010-04-02 Sam Steingold <sds@gnu.org>
12480 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12481 `vc-hg-command' with a list of flags.
12483 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12484 Also accept "patch" and "RFE".
12485 (bug-reference-fontify): `bug-reference-url-format' can also be a
12486 function to be able to handle the bug kind.
12487 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12489 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12491 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12492 value to fboundp, it may not be a symbol.
12494 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12496 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12498 2010-03-31 Juri Linkov <juri@jurta.org>
12500 * simple.el (next-line, previous-line): Re-throw a signal
12501 with `signal' instead of using `ding'.
12502 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12504 2010-03-31 Juri Linkov <juri@jurta.org>
12506 * simple.el (keyboard-escape-quit): Raise deselecting the active
12507 region higher than exiting the minibuffer.
12508 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12510 2010-03-31 Juri Linkov <juri@jurta.org>
12512 * image.el (image-animated-p): Use `image-metadata' instead of
12513 `image-extension-data'. Get GIF extenstion data from metadata
12514 property `extension-data'.
12516 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12518 * simple.el (append-to-buffer): Simplify.
12520 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12522 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12523 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12525 2010-03-31 Kenichi Handa <handa@m17n.org>
12527 * language/sinhala.el (composition-function-table): Fix regexp for
12528 the new Unicode specification.
12530 * language/indian.el (devanagari-composable-pattern)
12531 (tamil-composable-pattern, kannada-composable-pattern)
12532 (malayalam-composable-pattern): Adjust for the new Unicode
12534 (bengali-composable-pattern, gurmukhi-composable-pattern)
12535 (gujarati-composable-pattern, oriya-composable-pattern)
12536 (telugu-composable-pattern): New variables to cope with the new
12537 Unicode specification. Use them in composition-function-table.
12539 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12541 Make tmm-menubar work for the Buffers menu again (bug#5726).
12542 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12543 vectors rather than cons cells, as used in menu-bar-update-buffers.
12545 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12547 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12548 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12549 electric punctuation for "{}();,:" (Bug#5586).
12551 * mail/sendmail.el (mail-default-directory): Doc fix.
12553 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12555 * mail/sendmail.el (mail-default-directory): Doc fix.
12557 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12559 * subr.el (version-regexp-alist, version-to-list)
12560 (version-list-<, version-list-=, version-list-<=)
12561 (version-list-not-zero, version<, version<=, version=): Doc fix.
12564 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12566 * vc.el (vc-root-diff): Doc fix.
12568 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12570 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12572 * simple.el (append-to-buffer): Fix last change.
12574 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12576 * simple.el (append-to-buffer): Ensure that point is preserved if
12577 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12580 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12582 * files.el (auto-mode-case-fold): Change default to t.
12584 2010-03-30 Juri Linkov <juri@jurta.org>
12586 * dired-x.el (dired-omit-mode): Doc fix.
12588 2010-03-30 Juri Linkov <juri@jurta.org>
12590 * replace.el (occur-accumulate-lines): Move occur-engine related
12591 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12592 to be located after `occur-engine'.
12594 2010-03-30 Juri Linkov <juri@jurta.org>
12596 Make occur handle multi-line matches cleanly with context.
12597 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12599 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12600 (occur-engine): Add local variables `ret', `prev-after-lines',
12601 `prev-lines'. Use more arguments for `occur-context-lines'.
12602 Set first elem of its returned list to `data', and the second elem
12603 to `prev-after-lines'. Don't print the separator line.
12604 In the end, print remaining context after-lines.
12605 (occur-context-lines): Add new arguments `begpt', `endpt',
12606 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12607 after-lines of the previous match with before-lines of the
12608 current match and not overlap them. Return a list with two
12609 values: the output line and the list of context after-lines.
12611 2010-03-30 Juri Linkov <juri@jurta.org>
12613 * replace.el (occur-accumulate-lines): Fix a bug where the first
12614 context line at the beginning of the buffer was missing.
12616 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12618 * files.el: Make bidi-display-reordering safe variable for boolean
12621 2010-03-29 Phil Hagelberg <phil@evri.com>
12622 Chong Yidong <cyd@stupidchicken.com>
12624 * subr.el: Extend progress reporters to perform "spinning".
12625 (progress-reporter-update, progress-reporter-do-update):
12626 Handle non-numeric value arguments.
12627 (progress-reporter--pulse-characters): New var.
12629 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12631 * progmodes/compile.el (compilation-start): Fix regexp detection
12632 of initial cd command (Bug#5771).
12634 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12636 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12638 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12640 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12641 * progmodes/gdb-mi.el: Restore.
12642 * progmodes/gdb-ui.el: Remove.
12643 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12645 2010-03-25 Glenn Morris <rgm@gnu.org>
12647 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12648 all dired buffers, even tramp ones. (Bug#5755)
12650 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12652 Add "union tags" in mpc.el.
12653 * mpc.el: Remove backward compatibility code.
12654 (mpc-browser-tags): Change default.
12655 (mpc--find-memoize-union-tags): New var.
12656 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12657 (mpc-cmd-find): Handle the case where the playlist does not exist.
12659 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12660 (mpc-cmd-add): Use mpc-cmd-flush.
12661 (mpc-tagbrowser-tag-name): New fun.
12662 (mpc-tagbrowser-buf): Use it.
12663 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12665 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12668 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12669 Use replace-regexp-in-string.
12670 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12671 (makefile-imake-mode-syntax-table): Move init into defvar.
12672 (makefile-mode): Use define-derived-mode.
12674 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12675 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12676 not be present any more.
12678 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12680 * faces.el (set-face-attribute): Fix typo in docstring.
12681 (face-valid-attribute-values): Reflow docstring.
12683 2010-03-24 Glenn Morris <rgm@gnu.org>
12685 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12687 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12689 * indent.el (indent-for-tab-command): Doc fix.
12691 2010-03-24 Alan Mackenzie <acm@muc.de>
12693 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12694 Fix off-by-one error. Fixes bug #5747.
12696 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12698 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12699 (image-dired-read-comment): Doc fix.
12701 * json.el (json-object-type, json-array-type, json-key-type)
12702 (json-false, json-null, json-read-number):
12703 * minibuffer.el (completion-in-region-functions):
12704 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12705 (cal-tex-cursor-week):
12706 * emacs-lisp/trace.el (trace-function):
12707 * eshell/em-basic.el (eshell/printnl):
12708 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12709 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12710 * obsolete/levents.el (allocate-event, event-key, event-object)
12711 (event-point, event-process, event-timestamp, event-to-character)
12712 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12713 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12714 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12715 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12716 (reftex-highlight-selection): Fix typos in docstrings.
12718 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12720 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12722 2010-03-24 Glenn Morris <rgm@gnu.org>
12724 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12725 2008-02-13 without comment; mark it obsolete.
12726 (rmail-highlight-headers): Use rmail-highlight-face once more.
12728 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12730 * woman.el (woman2-process-escapes): Only consume the newline if
12731 the filler character is on a line by itself (Bug#5729).
12733 2010-03-24 Kenichi Handa <handa@m17n.org>
12735 * language/indian.el (devanagari-composable-pattern): Add more
12738 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12740 * net/trampver.el: Update release number.
12742 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12744 * net/tramp.el (tramp-find-executable):
12745 Use `tramp-get-connection-buffer'. Make the regexp for checking
12746 output of "wc -l" more robust.
12747 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12748 (tramp-open-connection-setup-interactive-shell): Remove workaround
12749 for OpenSolaris bug, it is not needed anymore.
12751 2010-03-24 Glenn Morris <rgm@gnu.org>
12753 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12755 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12757 * files.el (auto-mode-alist): Accept more verilog file patterns.
12759 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12763 2010-03-24 Glenn Morris <rgm@gnu.org>
12765 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12766 log-edit-before-checkin-process.
12768 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12770 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12772 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12773 (log-view-process-buffer, log-edit-extra-flags): Declare.
12775 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12777 2010-03-23 Sam Steingold <sds@gnu.org>
12779 Fix bug#5620: recalculate all markers on compilation buffer
12780 modifications, not on file modifications.
12781 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12782 variable: the buffer modification time, for buffers not associated with
12784 (compilation-mode): Create it.
12785 (compilation-filter): Update it.
12786 (compilation-next-error-function): Use it instead of
12787 `visited-file-modtime' for timestamp.
12789 2010-03-23 Juri Linkov <juri@jurta.org>
12791 Implement Occur multi-line matches.
12792 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12794 * replace.el (occur): Doc fix.
12795 (occur-engine): Set `begpt' to the beginning of the first line.
12796 Set `endpt' to the end of the last match line. At first, count
12797 line numbers between `origpt' and `begpt'. Split out code from
12798 `out-line' variable to new let-bindings `match-prefix' and
12799 `match-str'. In `out-line' add non-numeric prefix to all
12800 non-first lines of multi-line matches. Finally, count lines
12801 between `begpt' and `endpt' and add to `lines'.
12803 2010-03-23 Juri Linkov <juri@jurta.org>
12805 * replace.el (occur-accumulate-lines, occur-engine):
12806 Use `occur-engine-line' instead of duplicate code.
12807 (occur-engine-line): New function created from duplicate code
12808 in `occur-accumulate-lines' and `occur-engine'.
12810 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12811 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12813 2010-03-23 Juri Linkov <juri@jurta.org>
12815 * finder.el: Remove TODO tasks.
12817 * info.el (Info-finder-find-node): Add node "all"
12818 with all package info. Handle a list of multiple keywords
12819 separated by comma.
12820 (info-finder): In interactive use with a prefix argument,
12821 use `completing-read-multiple' to read a list of keywords
12822 separated by comma.
12824 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12826 Add a new completion style `substring'.
12827 * minibuffer.el (completion-basic--pattern): New function.
12828 (completion-basic-try-completion, completion-basic-all-completions):
12830 (completion-substring--all-completions)
12831 (completion-substring-try-completion)
12832 (completion-substring-all-completions): New functions.
12833 (completion-styles-alist): New style `substring'.
12835 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12837 Get rid of .elc files after removal of the corresponding .el.
12838 * Makefile.in (compile-clean): New target.
12839 (compile-main): Use it.
12841 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12843 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12844 don't do make there. When compiling with separate object dir, there
12845 is no Makefile there.
12847 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12849 Get rid of the ELCFILES abomination, again.
12850 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12851 (all, compile): Don't call compile-last.
12852 (compile-main): Build the "elcfiles" list dynamically.
12853 (compile-targets): New (internal) target.
12855 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12857 * Makefile.in (top_srcdir): Define.
12858 (abs_top_builddir): Define.
12859 (srcdir): Don't append `/..'.
12860 (EMACS): Use ${abs_top_builddir}.
12861 (all, compile, compile-always, compile-last): Don't set emacswd.
12862 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12864 (lisp): Use $(srcdir) instead of @srcdir@.
12866 2010-03-21 Juri Linkov <juri@jurta.org>
12868 Fix message of multi-line occur regexps and multi-buffer header lines.
12869 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12871 * replace.el (occur-1): Don't display regexp if it is longer
12872 than window-width. Use `query-replace-descr' to display regexp.
12873 (occur-engine): Don't display regexp in the buffer header for
12874 multi-buffer occur. Display a separate header line with total
12875 match count and regexp for multi-buffer occur.
12876 Use `query-replace-descr' to display regexp.
12878 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12880 * net/secrets.el: Fix parenthesis.
12881 (secrets-enabled): Fix parenthesis.
12883 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12885 Use more relative file and directory names.
12886 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12887 (setwins, setwins_almost, setwins_for_subdirs):
12888 Don't `cd'; output relative names.
12889 (all, compile, compile-always, compile-last): Set emacswd.
12890 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12891 Just cd to the lisp source dir so we can use relative file names.
12893 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12895 2010-03-20 Glenn Morris <rgm@gnu.org>
12897 * textmodes/rst.el: Use faces for font-lock customization, and make the
12898 old -face variables obsolete.
12899 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12900 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12901 (rst-block-face, rst-external-face, rst-definition-face)
12902 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12903 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12905 (rst-font-lock-keywords-function): Update for above changes.
12907 2010-03-20 Juri Linkov <juri@jurta.org>
12910 * obsolete/s-region.el: Move to obsolete.
12912 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12914 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12916 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12918 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12920 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12922 Add special markup processing for commit logs.
12923 * log-edit.el (log-edit-extra-flags): New variable.
12924 (log-edit): Add new argument MODE. Use that mode when non-nil
12925 instead of the log-view-mode.
12926 (log-view-process-buffer): New function.
12928 * vc.el: Document that the checkin method takes optional
12929 arguments. Document new backend specific method: log-view-mode.
12930 (vc-default-log-edit-mode): New function.
12931 (vc-checkin): Use a backend specific log-view-mode.
12932 Pass extra arguments to the checkin method.
12933 (vc-modify-change-comment): Pass a dummy extra argument.
12935 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12937 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12938 (vc-finish-logentry): Process the log buffer before passing it
12939 down. Pass log-edit-extra-flags.
12941 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12943 (log-edit-extra-flags, log-edit-before-checkin-process):
12946 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12948 (log-edit-extra-flags, log-edit-before-checkin-process):
12950 (vc-hg-log-edit-mode): New derived mode.
12952 * vc-arch.el (vc-arch-checkin):
12953 * vc-cvs.el (vc-cvs-checkin):
12954 * vc-git.el (vc-git-checkin):
12955 * vc-mtn.el (vc-mtn-checkin):
12956 * vc-rcs.el (vc-rcs-checkin):
12957 * vc-sccs.el (vc-sccs-checkin):
12958 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12960 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12962 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12965 2010-03-19 Glenn Morris <rgm@gnu.org>
12967 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12969 2010-03-18 Glenn Morris <rgm@gnu.org>
12971 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12973 * replace.el (query-replace-history): Give it a doc string.
12974 (map-query-replace-regexp): Use query-replace-from-history-variable
12975 and query-replace-to-history-variable.
12977 * mail/hashcash.el (declare-function): Remove duplicate definition.
12979 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12980 Make it an obsolete alias for report-emacs-bug-address.
12981 (message-strip-special-text-properties): Declare.
12982 (report-emacs-bug): Remove test for a pretest bug address.
12983 Combine message-mode-specific code.
12985 * mail/supercite.el: Don't require sendmail.
12986 (mh-in-header-p): Declare rather than using with-no-warnings.
12987 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12988 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12990 * calendar/cal-french.el: Convert to utf-8.
12992 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12995 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12997 * net/secrets.el (secrets-enabled): New variable. Use it instead
13000 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13002 * net/secrets.el (top): Register the D-Bus signals only when the
13003 service "org.freedesktop.secrets" can be pinged.
13004 Provide subfeature `enabled'.
13006 2010-03-14 Juri Linkov <juri@jurta.org>
13008 Add finder unknown keywords.
13010 * finder.el (finder-unknown-keywords): New function.
13012 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13013 to create a Finder node with unknown keywords.
13015 2010-03-14 Juri Linkov <juri@jurta.org>
13017 * finder.el (finder-compile-keywords): Replace `princ' with
13018 `prin1' on a list of symbols interned from keyword strings.
13020 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13021 a comma, then split keywords using a comma and optional whitespace.
13022 Otherwise, split by whitespace.
13030 * progmodes/mixal-mode.el: Fix keywords.
13032 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13034 * Makefile.in (ELCFILES): Add net/secrets.elc.
13036 * net/secrets.el: New file.
13038 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13040 * facemenu.el (list-colors-display, list-colors-print): New arg
13041 callback. Use it to allow selecting colors.
13043 * wid-edit.el (widget-image-insert): Insert image prop even if the
13044 current display is non-graphic.
13045 (widget-field-value-set): New fun.
13046 (editable-field): Use it.
13047 (widget-field-value-get): Clean up unused var.
13048 (widget-color-value-create, widget-color--choose-action):
13049 New funs. Allow using list-colors-display to choose color.
13051 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13053 * cus-edit.el: Resort topmost custom groups.
13054 (custom-buffer-sort-alphabetically): Default to t.
13055 (customize-apropos): Use apropos-parse-pattern.
13056 (custom-search-field): New var.
13057 (custom-buffer-create-internal): Add custom-apropos search field.
13058 (custom-add-parent-links): Don't display parent doc.
13059 (custom-group-value-create): Don't sort top-level custom group.
13060 (custom-magic-value-create): Show visibility button before option name.
13062 (custom-variable-state): New fun, from custom-variable-state-set.
13063 (custom-variable-state-set): Use it.
13064 (custom-group-value-create): Hide options with standard values
13065 using the :hidden-states property. Use progress reporter.
13067 (custom-show): Simplify.
13068 (custom-visibility): Disable images by default.
13069 (custom-variable): New property :hidden-states.
13070 (custom-variable-value-create): Enable images for
13071 custom-visibility widgets. Use :hidden-states property to
13072 determine initial visibility.
13074 * wid-edit.el (widget-image-find): Give images center ascent.
13075 (visibility): Add :on-image and :off-image properties.
13076 (widget-visibility-value-create): Use them.
13078 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13080 * cus-edit.el (processes): Remove from development group.
13081 (oop, hypermedia): Delete group.
13082 (comm): Promote to top-level group.
13084 * net/browse-url.el (browse-url):
13085 * net/xesam.el (xesam):
13086 * net/tramp.el (tramp):
13087 * net/goto-addr.el (goto-address):
13088 * net/ange-ftp.el (ange-ftp): Put in comm group.
13090 * view.el (view): Remove from editing group.
13092 * uniquify.el (uniquify): Put in files group.
13094 * net/browse-url.el (browse-url):
13095 * ps-print.el (postscript): Put in external group.
13097 * cus-edit.el (outlines):
13098 * textmodes/text-mode.el (text-mode-hook):
13099 * textmodes/table.el (table):
13100 * textmodes/picture.el (picture):
13101 * outline.el (outlines): Put in wp group.
13103 * nxml/nxml-mode.el (nxml): Remove from wp group.
13105 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13107 * mail/metamail.el (metamail): Remove from hypermedia group.
13109 * cus-edit.el (abbrev):
13110 * whitespace.el (whitespace):
13111 * vcursor.el (vcursor):
13112 * reveal.el (reveal):
13113 * hl-line.el (hl-line): Put in convenience group.
13115 * epg-config.el (epg): Put in data group.
13117 * emulation/pc-select.el (pc-select): Put in emulations group.
13119 * calculator.el (calculator): Put in applications group.
13121 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13123 Add .dir-locals.el support for file-less buffers.
13124 * files.el (hack-local-variables): Split out code to apply local
13125 variable settings ...
13126 (hack-local-variables-apply): ... here. New function.
13127 (hack-dir-local-variables): Use the default directory for when the
13128 buffer does not have an associated file.
13129 (hack-dir-local-variables-non-file-buffer): New function.
13130 * diff-mode.el (diff-mode):
13131 * vc-annotate.el (vc-annotate-mode):
13132 * vc-dir.el (vc-dir-mode):
13133 * log-edit.el (log-edit-mode):
13134 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13136 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13138 Add support for shelving snapshots and for showing shelves.
13139 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13140 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13142 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13143 (vc-bzr-extra-menu-map): Map them.
13145 2010-03-11 Glenn Morris <rgm@gnu.org>
13147 * cus-edit.el (customize-changed-options-previous-release):
13150 * image.el (image-animate-max-time): Fix :version tag.
13152 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13156 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13158 * vc-git.el (vc-git-revision-table): Include remote branches.
13160 2010-03-10 Kim F. Storm <storm@cua.dk>
13162 Animated image API.
13163 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13165 * image.el (image-animate-max-time): New defcustom.
13166 (image-animated-types): New defconst.
13167 (create-animated-image, image-animate-timer)
13168 (image-animate-start, image-animate-stop, image-animate-timeout)
13169 (image-animated-p): New functions.
13171 * image-mode.el (image-toggle-display-image):
13172 Replace `create-image' with `create-animated-image'.
13174 2010-03-09 Miles Bader <miles@gnu.org>
13176 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13177 instead of "format:"; this ensures that the output is
13178 newline-terminated.
13180 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13182 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13183 that all errors are caught, and that the return value is always a
13186 2010-03-08 Kenichi Handa <handa@m17n.org>
13188 * language/misc-lang.el (windows-1256): New coding system.
13189 (cp1256): New alias of windows-1256 (bug#5690).
13191 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13193 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13194 call to rfc822-bad-address. (Bug#5692)
13196 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13198 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13199 Use vc-git-root as default directory for revision path (Bug#5657).
13201 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13203 * calculator.el (calculator): Don't bind split-window-keep-point
13206 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13208 * vc-git.el: Re-flow to fit into 80 columns.
13209 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13210 Remove spurious `quote' element in each case alternative.
13211 (vc-git-show-log-entry): Use prog1.
13212 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13214 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13216 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13218 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13220 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13221 definition, not the name (Bug#5481).
13223 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13225 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13226 argument with a local variable. (Bug#5670)
13228 2010-03-02 Juri Linkov <juri@jurta.org>
13230 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13232 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13234 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13235 error when FILENAME and NEWNAME are existing remote directories.
13237 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13238 parameter DIR-FLAG.
13240 2010-03-02 Glenn Morris <rgm@gnu.org>
13242 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13243 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13245 2010-03-01 Kenichi Handa <handa@m17n.org>
13247 * language/burmese.el (burmese-composable-pattern): Rename from
13248 myanmar-composable-pattern.
13250 * international/characters.el (script-list):
13251 * international/fontset.el (script-representative-chars):
13252 Change myanmar to burmese.
13253 (otf-script-alist): Likewise.
13254 (setup-default-fontset): Likewise. Re-fix :otf spec.
13256 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13258 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13260 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13262 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13264 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13266 * net/tramp.el (tramp-handle-write-region): START can be a string.
13267 Take care in the checks. Reported by Dan Davison
13268 <davison@stats.ox.ac.uk>.
13270 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13272 * net/dbus.el (dbus-introspect, dbus-get-property)
13273 (dbus-set-property, dbus-get-all-properties):
13274 Use `dbus-call-method' when noninteractive. (Bug#5645)
13276 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13278 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13279 * emacs-lisp/elint.el (elint-add-required-env):
13280 * calendar/icalendar.el (icalendar--add-diary-entry):
13281 * calc/calcalg2.el (math-tracing-integral):
13282 * files.el (recover-session-finish): Use with-current-buffer
13283 instead of save-excursion.
13285 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13287 Fix in-buffer completion when after-change-functions modify the buffer.
13288 * minibuffer.el (completion--replace): New function.
13289 (completion--do-completion): Use it and use relative movement.
13291 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13293 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13295 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13297 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13298 Allow the characters _<> in the stack entry (Bug#5653).
13300 2010-02-26 Kenichi Handa <handa@m17n.org>
13302 * language/burmese.el: Fix entries in composition-function-table.
13303 (myanmar-composable-pattern): New variable.
13305 * international/fontset.el (setup-default-fontset): Add an entry
13308 * international/characters.el (script-list): Add Myanmar
13311 2010-02-26 Glenn Morris <rgm@gnu.org>
13313 * custom.el (custom-initialize-delay): Doc fix.
13315 * mail/sendmail.el (send-mail-function): Autoload the call
13316 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13318 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13320 * files.el (hack-local-variables-filter): For eval forms, also
13321 check safe-local-variable-p (Bug#5636).
13323 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13325 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13326 setting the modes by `ignore-errors'. It might fail, for example
13327 if the file is not owned by the user but the group.
13328 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13330 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13332 * files.el (directory-listing-before-filename-regexp):
13333 Use stricter matching for iso-style dates, to avoid false matches with
13334 date-like filenames (Bug#5597).
13336 * htmlfontify.el (htmlfontify): Doc fix.
13338 * eshell/eshell.el (eshell): Doc fix.
13340 * startup.el (fancy-about-screen): In mode-line, apply
13341 mode-line-buffer-id face only to the buffer name (Bug#5613).
13343 2010-02-20 Kevin Ryde <user42@zip.com.au>
13345 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13346 In `watcom' anchor regexp to start of line, to avoid slowness
13349 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13351 * subr.el (remove-yank-excluded-properties): Explain in a comment
13352 why `category' property is removed.
13354 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13356 * isearch.el (isearch-update-post-hook, isearch-update):
13357 Revert 2010-02-17 change.
13359 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13361 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13362 (icalendar--convert-weekly-to-ical)
13363 (icalendar--convert-yearly-to-ical)
13364 (icalendar--convert-block-to-ical)
13365 (icalendar--convert-cyclic-to-ical)
13366 (icalendar--convert-anniversary-to-ical): Take care of time
13367 specifications where hour has 1-digit only (Bug#5549).
13369 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13371 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13372 of disassemble output in GDB 7.1.
13374 2010-02-19 Glenn Morris <rgm@gnu.org>
13376 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13377 property. (Bug#5593)
13379 2010-02-18 Sam Steingold <sds@gnu.org>
13381 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13383 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13385 Use abbreviated file names in bookmarks (bug#5591).
13386 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13387 calls to expand-file-name.
13388 (bookmark-relocate): Use abbreviated file names in bookmarks.
13389 (bookmark-load): Use abbreviated file names in messages.
13391 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13393 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13394 expand "." and "..". Reported by Thierry Volpiatto
13395 <thierry.volpiatto@gmail.com>.
13397 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13399 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13400 permissions of the temporary file to "0600". In case the remote
13401 file has no read permissions for the owner, there might be
13402 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13404 22010-02-18 Glenn Morris <rgm@gnu.org>
13406 * emacs-lisp/authors.el (authors-renamed-files-alist):
13407 Add entries for INSTALL.CVS.
13409 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13411 * vc-bzr.el: Fix typo in Known Bugs section.
13413 * isearch.el (isearch-update-post-hook): New hook.
13414 (isearch-update): Use the new hook.
13416 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13418 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13419 Fix errors in copying directories.
13420 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13421 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13422 (tramp-handle-delete-file)
13423 (tramp-handle-dired-recursive-delete-directory)
13424 (tramp-handle-write-region): Flush also the cache for the upper
13427 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13429 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13431 * cus-edit.el (hardware): Doc fix.
13433 * man.el (man): Add to external custom group.
13435 * delim-col.el (columns): Move to wp custom group.
13437 * doc-view.el (doc-view): Add to data custom group.
13439 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13441 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13442 by ispell-parse-output (Bug#5575).
13444 2010-02-16 Kenichi Handa <handa@m17n.org>
13446 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13447 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13448 (skkdic-convert): Use `euc-japan' coding system for writing.
13450 2010-02-16 Glenn Morris <rgm@gnu.org>
13452 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13453 tex-main-file before using it. (Bug#5562)
13455 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13457 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13458 warnings, since it is annoying for the user to see them each time he
13461 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13463 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13465 instead of PROC for caching "first-password-request". Otherwise,
13466 new processes would not profit from passwords already entered.
13468 * net/tramp-cache.el (tramp-dump-connection-properties):
13469 Don't save "first-password-request" property.
13471 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13473 * outline.el (outline-head-from-level):
13474 * simple.el (with-wrapper-hook):
13475 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13476 (elint-defun, elint-buffer-env, elint-top-form-logged)
13477 (elint-unbound-variable):
13478 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13479 Fix typos in docstrings.
13481 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13483 * files.el (insert-directory): When WILDCARD-REGEXP and
13484 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13485 whole directory. (Bug#5551)
13487 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13488 dired's alignment sanity. (Bug#5516)
13490 2010-02-14 Juri Linkov <juri@jurta.org>
13492 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13493 Remove remaining ^H with their preceding chars. (Bug#5566)
13495 2010-02-13 Glenn Morris <rgm@gnu.org>
13497 * simple.el (transpose-subr): Give it a doc-string.
13499 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13502 2010-02-12 Juri Linkov <juri@jurta.org>
13504 * arc-mode.el (archive-unique-fname): Make directories for nested
13505 archives. (Bug#5540)
13507 2010-02-12 Juri Linkov <juri@jurta.org>
13509 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13511 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13513 * subr.el (copy-overlay): Handle deleted overlays.
13515 * man.el (Man-completion-table): Don't signal an error if we can't run
13516 manual-program (bug#4056).
13518 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13520 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13522 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13524 * info.el (Info-bookmark-jump): Simplify.
13526 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13527 (bookmark-default-handler): Accept new bookmark field `buffer'.
13529 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13531 * iswitchb.el (iswitchb-completions): Revert last change.
13533 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13535 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13536 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13537 This prevents file names like "~/" being listed literally.
13539 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13541 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13542 Remove dead code. (Bug#5546)
13544 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13546 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13547 correctly (Bug#5548).
13549 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13551 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13552 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13554 2010-02-08 Kenichi Handa <handa@m17n.org>
13556 * international/mule-util.el (with-coding-priority): Add autoload
13557 cookie for putting `lisp-indent-function'.
13559 2010-02-07 Glenn Morris <rgm@gnu.org>
13561 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13562 Move F2003 named interfaces from keywords-2 to keywords-1, and
13563 use function-name-face rather than constant-face.
13564 Simplify "abstract interface" regexp.
13566 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13568 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13569 ID-FORMAT. Pass it to `file-attributes'.
13571 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13573 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13575 * faces.el (set-face-attribute): Allow calling
13576 internal-set-lisp-face-attribute with 'unspecified family and
13577 foundry argument (Bug#5536).
13579 2010-02-07 Glenn Morris <rgm@gnu.org>
13581 * progmodes/f90.el (f90-font-lock-keywords-2)
13582 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13583 Handle F2003 named interfaces.
13585 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13587 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13588 beg and end before calling c-get-state-before-change-functions.
13590 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13592 * vc-bzr.el (vc-bzr-dir-extra-headers):
13593 Disable the pending merges header.
13595 2010-02-05 Juri Linkov <juri@jurta.org>
13597 * doc-view.el (doc-view-mode):
13598 * image-mode.el (image-mode): Put property mode-class=special.
13601 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13603 * vc-svn.el (vc-svn-revision-table): New function.
13605 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13607 * net/ange-ftp.el (ange-ftp-insert-directory):
13608 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13609 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13610 Handle also directories. (Bug#5478)
13612 2010-02-05 Glenn Morris <rgm@gnu.org>
13614 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13616 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13618 * startup.el (command-line-1): Convert options beginning with a
13619 single dash as well (Bug#5519).
13621 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13623 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13624 * minibuffer.el (completion-initials-expand): Only check the presence
13625 of delims *within* the boundaries, since otherwise the / delim is
13626 always found for files.
13628 Fix up various corner case problems.
13629 * doc-view.el (doc-view-last-page-number): New function.
13630 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13631 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13632 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13633 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13634 (doc-view-convert-current-doc): Don't create the resolution.el file
13636 (doc-view-pdf/ps->png): Do it here instead.
13637 (doc-view-already-converted-p): Check that resolution.el is present.
13638 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13639 windows that are not yet showing images.
13641 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13643 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13644 `dired-uncache' for every elemnt which is an absolute file name.
13646 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13647 directory, handle its directory component.
13648 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13649 function is called permanently and creates noise, otherwise.
13651 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13652 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13653 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13655 2010-02-04 David Burger <dburger@google.com> (tiny change)
13657 * macros.el (apply-macro-to-region-lines):
13658 Minor simplification. (Bug#5485)
13660 2010-02-04 Glenn Morris <rgm@gnu.org>
13662 * mail/rmail.el (rmail-show-message-1): Handle malformed
13663 quoted-printable text. (Bug#5441)
13665 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13667 * simple.el (visual-line-mode): Capitalize lighter.
13669 2010-02-03 John Wiegley <jwiegley@gmail.com>
13671 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13672 list of files considered for "virtual buffer" completions.
13674 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13676 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13677 also in case of (and (not full) (not wildcard)). This is needed
13678 when dired is called with a list of files, which are not in
13679 `default-directory'. (Bug#5478)
13681 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13683 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13685 2010-02-02 Juri Linkov <juri@jurta.org>
13687 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13688 from unidiff to allow function-line after @@.
13690 2010-02-02 Juri Linkov <juri@jurta.org>
13692 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13693 '(RCS SCCS) with inverted condition.
13695 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13697 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13700 2010-02-01 Juri Linkov <juri@jurta.org>
13702 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13703 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13704 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13705 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13707 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13709 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13710 (doc-view-revert-buffer): New command.
13711 (doc-view-mode-map): Use it.
13713 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13715 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13716 pending merge is detected.
13718 2010-01-31 Juri Linkov <juri@jurta.org>
13720 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13721 beginning of interactive spec like all other grep commands do.
13722 Put "all" in front of "gz". (Bug#5260)
13724 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13726 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13728 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13730 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13731 regexp is incorrect (Bug#5476).
13733 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13735 * net/tramp.el (tramp-handle-insert-directory): Handle also
13736 symlinks, when FILENAME is not in `default-directory'.
13738 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13740 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13741 FILE is not in `default-directory'. (Bug#5478)
13743 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13744 of SWITCHES. Handle the case, FILENAME is not in
13745 `default-directory'. (Bug#5478)
13746 (tramp-register-file-name-handlers): Add safe-magic property.
13748 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13750 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13753 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13755 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13756 (flymake-master-make-header-init): Add other C++ filename masks.
13757 (flymake-find-possible-master-files)
13758 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13760 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13762 Fix some busybox annoyances.
13764 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13765 not responding." string.
13766 (tramp-open-connection-setup-interactive-shell): Dump stty
13767 settings. Enable "neveropen" arg for all `tramp-send-command'
13768 calls. Handle "=" in variable values properly.
13769 (tramp-find-inline-encoding): Raise an error, when no encoding is
13771 (tramp-wait-for-output): Check, whether PROC buffer is available.
13772 Remove spurious " ^H" sequences, sent by busybox.
13773 (tramp-get-ls-command): Suppress coloring, if possible.
13775 2010-01-28 Glenn Morris <rgm@gnu.org>
13777 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13779 * log-edit.el (log-edit-strip-single-file-name): Add missing
13780 :safe, :group, and :version tags.
13782 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13784 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13785 buffers. (Bug#5477)
13787 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13789 * files.el (delete-directory): Handle moving to trash without
13790 first doing recursion (Bug#5436).
13792 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13794 * vc-hooks.el (vc-path): Mark as obsolete.
13796 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13798 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13801 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13803 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13805 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13807 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13809 * vc-bzr.el (vc-bzr-revision-table): New function.
13811 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13813 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13814 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13816 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13818 Remove support for adding --signoff on commit.
13819 Future support will use an incompatible generic mechanism.
13820 * vc-git.el (vc-git-add-signoff): Remove variable.
13821 (vc-git-toggle-signoff): Remove function.
13822 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13824 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13825 Rename from xterm-set-background-mode. Return t if the background mode
13827 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13828 earlier, call it again in case the background mode has changed.
13830 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13832 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13835 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13837 * emacs-lisp/assoc.el (aelement): Doc fix.
13838 (aput, adelete, amake): Use lexical-let (Bug#5450).
13840 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13842 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13843 is the same as subprogram call, not declaration. (Bug#5435).
13845 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13847 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13848 (tramp-smb-maybe-open-connection): Use it.
13850 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13852 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13854 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13856 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13857 just because we see "encoding: 8bit".
13858 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13860 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13862 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13864 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13866 * jka-compr.el (jka-compr-load): If load-file is not in
13867 load-history, try its file-truename version. (bug#5447)
13869 2010-01-21 Alan Mackenzie <acm@muc.de>
13871 Fix a situation where deletion of a cpp construct throws an error.
13872 * progmodes/cc-engine.el (c-invalidate-state-cache):
13873 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13874 special cpp construct is still in the buffer.
13875 (c-parse-state): Record the special cpp with markers, not numbers.
13877 2010-01-21 Kenichi Handa <handa@m17n.org>
13879 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13880 process last-command-event, as it is now decoded first (Bug#5380).
13882 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13884 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13886 2010-01-20 Glenn Morris <rgm@gnu.org>
13888 * indent.el (tab-always-indent): Fix custom-type.
13890 2010-01-19 Alan Mackenzie <acm@muc.de>
13892 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13893 buffer throws "args out of range".
13894 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13895 playing the role of delimiter.
13897 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13899 * progmodes/ada-mode.el: Fix bug#5400.
13900 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13901 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13902 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13903 Improve comments in "is" portion. Handle null procedure declaration.
13904 (ada-move-to-end): Improve doc string.
13906 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13908 * ido.el (ido-cur-list): Initialize to nil.
13909 Remove obsolete information from commentary.
13910 (ido-choice-list): Initialize to nil.
13911 (ido-get-bufname): Reject minibuffers.
13912 (ido-make-buffer-list): If "default" is a nonexistent
13913 buffer, ignore it, as per the function's comment.
13914 (ido-kill-buffer-internal): New function.
13915 (ido-kill-buffer-at-head): Use it.
13916 (ido-visit-buffer): Likewise.
13918 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13920 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13922 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13924 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13925 Fix typos in chart titles.
13927 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13928 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13929 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13930 (describe-class, eieio-describe-generic, describe-generic):
13931 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13932 (eieio-speedbar-expand):
13933 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13934 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13935 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13936 (viper-del-backward-char-in-replace, viper-backward-indent)
13937 (viper-brac-function, viper-register-to-point, viper-submit-report):
13938 * net/tramp.el (tramp-remote-coding-commands):
13939 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13940 Fix typos in docstrings.
13942 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13944 * mail/sendmail.el (mail-yank-original): Set the mark if the
13945 specified function for yanking does not do it.
13947 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13949 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13951 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13952 resyncing a directory.
13954 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13956 * progmodes/ada-mode.el: Fix bug#1920.
13957 (ada-ident-re): Delete ., allow multibyte characters.
13958 (ada-goto-label-re): New; matches goto labels.
13959 (ada-block-label-re): New; matches block labels.
13960 (ada-label-re): New; matches both.
13961 (ada-named-block-re): Delete; callers changed to use
13962 `ada-block-label-re' instead.
13963 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13964 Use `ada-block-label-re'.
13965 (ada-indent-on-previous-lines): Improve handling of goto labels.
13966 (ada-get-indent-block-start): Special-case block label.
13967 (ada-get-indent-label): Split into `ada-indent-block-label' and
13968 `ada-indent-goto-label'.
13969 (ada-goto-stmt-start, ada-goto-next-non-ws):
13970 Optionally ignore goto labels.
13971 (ada-goto-next-word): Simplify.
13972 (ada-indent-newline-indent-conditional): Insert newline before
13973 trying to fix indentation; doc fix.
13975 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13977 * calc/calc.el (calc-command-flags): Give it an initial value.
13979 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13981 * files.el (minibuffer-with-setup-hook):
13982 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13983 (artist-key-draw-continously, artist-key-do-continously-continously)
13984 (artist-key-set-point-continously, artist-mouse-draw-continously):
13985 Fix typos in docstrings.
13987 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13989 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13990 Never return t (Bug#3898).
13992 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13994 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13995 can parse the output of the external commands (Bug#5279).
13997 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13999 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14001 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14003 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14005 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14007 * startup.el (command-line): Remove unused --icon-type arg.
14008 Handle --display arg, passing it to command-line-1 (Bug#5392).
14010 2010-01-16 Mario Lang <mlang@delysid.org>
14012 * emacs-lisp/chart.el (chart-translate-namezone):
14013 * textmodes/artist.el (artist-compute-popup-menu-table):
14014 Remove duplicated words in doc-strings.
14016 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14018 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14019 to mairix-search to suppress threading (Bug#5342).
14021 2010-01-15 Kenichi Handa <handa@m17n.org>
14023 * international/mule-cmds.el (canonicalize-coding-system-name):
14024 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14026 2010-01-15 Glenn Morris <rgm@gnu.org>
14028 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14030 * wid-edit.el (widget-keymap): Doc fix.
14032 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14033 former seems to be more widely accepted by various svn versions.
14035 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14037 * find-cmd.el (find-constituents):
14038 * vc-arch.el (vc-arch-root):
14039 * window.el (window-body-height, pop-up-frames):
14040 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14041 * progmodes/ada-stmt.el (ada-if):
14042 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14043 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14044 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14045 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14047 * progmodes/flymake.el (flymake-post-syntax-check):
14048 Fix typo in error message.
14050 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14052 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14053 which is always a string. (Bug#5313)
14055 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14057 * progmodes/ada-xref.el (ada-default-prj-properties):
14058 Simplify previous change.
14060 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14062 * progmodes/ada-xref.el (ada-default-prj-properties):
14063 Default ada_project_path to $ADA_PROJECT_PATH.
14065 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14067 * progmodes/ada-mode.el (ada-create-keymap):
14068 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14070 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14072 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14073 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14074 (ada-get-current-indent, ada-imenu-generic-expression)
14075 (ada-which-function): Check for it.
14077 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14079 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14080 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14082 2010-01-14 Glenn Morris <rgm@gnu.org>
14084 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14086 2010-01-14 Kenichi Handa <handa@m17n.org>
14088 * composite.el (auto-composition-mode): Make it a buffer local
14089 variable (permanent-local).
14090 (auto-composition-function): Set the default value to
14091 auto-compose-chars.
14092 (auto-composition-mode): Make it a simple function, not a minor mode.
14093 (global-auto-composition-mode): Likewise.
14094 (turn-on-auto-composition-if-enabled): Delete it.
14096 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14098 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14100 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14102 * files.el (copy-directory): Compute target for recursive
14103 directories with identical names. (Bug#5343)
14105 2010-01-12 Glenn Morris <rgm@gnu.org>
14107 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14108 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14110 2010-01-11 Sam Steingold <sds@gnu.org>
14112 * imenu.el (imenu-default-create-index-function): Detect infinite
14113 loops caused by imenu-prev-index-position-function.
14115 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14117 * htmlfontify.el (htmlfontify-load-rgb-file)
14118 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14119 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14120 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14121 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14122 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14123 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14124 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14125 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14126 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14127 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14128 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14129 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14130 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14131 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14132 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14133 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14134 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14135 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14136 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14137 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14138 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14139 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14140 backslash-quoting from parentheses, etc.
14142 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14144 * progmodes/js.el: Autoload javascript-mode alias.
14146 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14148 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14149 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14150 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14151 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14152 Fix typos in docstrings.
14153 (ffap-url-regexp): Doc fix.
14154 (ffap-at-mouse): Fix typo in message.
14156 2010-01-11 Glenn Morris <rgm@gnu.org>
14158 * version.el (emacs-copyright): Set copyright year to 2010.
14160 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14162 * format.el (format-annotate-function): Only set
14163 write-region-post-annotation-function after running to-fn so as not to
14164 affect nested write-region calls (bug#5273).
14166 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14168 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14171 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14173 * man.el (Man-goto-section): Signal error if the section is not
14176 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14178 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14179 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14181 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14183 * progmodes/compile.el: Don't treat compile-command as safe if
14184 compilation-read-command might be nil (Bug#4218).
14186 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14188 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14191 2010-01-08 Kenichi Handa <handa@m17n.org>
14193 * international/fontset.el (build-default-fontset-data):
14194 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14196 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14198 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14199 to `create-file-buffer' as it expects, not just a buffer name.
14200 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14201 to help uniquify. (Bug#3224)
14203 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14205 * font-setting.el (font-setting-change-default-font): Use user-spec
14208 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14210 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14212 2010-01-05 Tom Tromey <tromey@redhat.com>
14214 * progmodes/python.el (python-font-lock-keywords):
14215 Handle qualified decorators (Bug#881).
14217 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14219 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14220 in a lightweight checkout.
14222 2010-01-05 Kenichi Handa <handa@m17n.org>
14224 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14226 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14228 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14230 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14232 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14233 checkouts. (Bug#618)
14234 (vc-bzr-log-view-mode): Also highlight the author.
14235 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14236 (vc-bzr-shelve-menu-map):
14237 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14238 (vc-bzr-shelve-apply): Make prompt more explicit.
14240 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14242 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14243 They are valid characters in URL paths (rfc3986), and at least
14244 Firefox does not understand the encoded version (Bug#3166).
14246 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14248 * progmodes/octave-mod.el (octave-end-keywords)
14249 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14250 Add "end" keyword (Bug#3061).
14251 (octave-end-as-array-index-p): New function.
14252 (calculate-octave-indent): Use it.
14254 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14256 * bookmark.el: Consistently put the text property on the bookmark name.
14257 (bookmark-bmenu-marks-width): Bump back to 2, to include
14259 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14260 property on the bookmark name, instead of not putting it at all.
14261 (bookmark-bmenu-list): Fix where we put the text property.
14263 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14265 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14266 for showing buffer modified state (as added in the previous change).
14268 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14270 * bookmark.el: Show modified state of bookmark buffer more accurately.
14271 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14272 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14273 (with-buffer-modified-unmodified): New macro.
14274 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14275 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14276 Use new macro to preserve the buffer modified state.
14278 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14280 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14281 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14282 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14283 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14284 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14285 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14286 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14288 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14290 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14291 Make the lines in the generated doc string shorter. (Bug#4668)
14293 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14295 * net/rcirc.el: Add follow-link binding (Bug#4738).
14297 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14299 * Makefile.in (bzr-update): Rename from cvs-update.
14300 (cvs-update): New target for backward compatibility.
14302 * makefile.w32-in (bzr-update): Rename from cvs-update.
14303 (cvs-update): New target for backward compatibility.
14305 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14307 * bookmark.el: Remove gratuitous gratitude.
14309 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14311 * bookmark.el (bookmark-bmenu-any-marks): New function.
14312 (bookmark-bmenu-save): Clear buffer modification if no marks.
14314 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14316 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14317 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14318 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14319 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14321 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14322 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14323 To: emacs-devel {_AT_} gnu.org
14324 Subject: bookmark.el bug report
14325 Date: Mon, 28 Dec 2009 14:19:16 +0800
14326 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14328 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14330 * bookmark.el: Improvements suggested by Drew Adams:
14331 (bookmark-bmenu-ensure-position): New name for
14332 `bookmark-bmenu-check-position'. Just ensure the position,
14333 don't return any meaningful value.
14334 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14337 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14339 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14340 (bookmark-yank-point, bookmark-bmenu-check-position):
14341 Fix typos in docstrings.
14342 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14343 (bookmark-name-from-full-record, bookmark-get-position)
14344 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14345 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14346 Remove useless quoting of parenthesis, etc. in docstrings.
14348 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14349 (ediff-append-custom-diff): Fix typo in error message.
14350 (ediff-meta-mark-equal-files): Fix typos in messages.
14352 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14354 * net/imap-hash.el (imap-hash-make): Doc fix.
14355 (imap-hash-test): Fix typo in error message; reflow docstring.
14356 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14357 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14358 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14359 Fix typos in docstrings.
14360 (imap-hash-open-connection): Fix typo in error message.
14362 * play/gomoku.el (gomoku): Fix typos in docstring.
14364 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14365 (gdb-jsonify-buffer): Fix typos in docstring.
14366 (gdb-goto-breakpoint): Fix typo in error message.
14367 ("Display Other Windows"): Fix typo in help message.
14368 (gdb-speedbar-expand-node): Fix typo in question.
14370 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14371 (idlwave-html-system-help-location, idlwave-html-help-location)
14372 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14373 (idlwave-help-browser-generic-args, idlwave-help-directory)
14374 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14375 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14376 (idlwave-online-help, idlwave-help-html-link)
14377 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14378 Fix typos in docstrings.
14379 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14381 (idlwave-help-assistant-start): Fix typo in error message.
14383 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14384 (octave-electric-space): Fix typos in docstrings.
14386 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14388 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14390 2010-01-01 Juri Linkov <juri@jurta.org>
14392 * comint.el (comint-input-ring-size): Make it a defcustom and
14393 increase the default to 500 (Bug#5148).
14395 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14397 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14398 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14399 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14401 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14403 Show working revision correctly for mercurial.
14404 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14405 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14407 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14409 Declare some functions for the byte-compiler.
14410 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14411 (speedbar-timer-fn, speedbar-change-expand-button-char)
14412 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14414 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14416 This changeset reverts GDB Graphical Interface to use annotations.
14417 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14419 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14421 Make vc-dir work on subdirectories of the bzr root.
14422 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14423 Return file names relative to it.
14424 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14425 relative directory to vc-bzr-after-dir-status.
14427 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14429 * font-lock.el (font-lock-refresh-defaults): New function, which
14430 can be used to let font-lock react to external changes in
14431 variables like font-lock-defaults and keywords.
14432 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14434 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14436 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14438 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14440 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14442 Supersede color.diff settings in git log (bug#5211).
14444 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14445 escape chars in its output when the user has color.diff set to `always'.
14446 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14448 2009-12-26 Kevin Ryde <user42@zip.com.au>
14450 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14451 node. Keep previous "Index" name to work with past coreutils too.
14453 * man.el (man): Revise docstring a bit to show -a and -l as
14454 examples. Add -k description since support for it has otherwise
14455 been a secret. (Further to bug#3717.)
14456 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14457 "no matches" rather than "Can't find manpage", as the latter reads
14458 like -k was interpreted as a page name, which is not so. (Bug#5431)
14460 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14462 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14463 switches. Check also for //SUBDIRED// line.
14465 2009-12-25 Kenichi Handa <handa@m17n.org>
14467 * language/indian.el (devanagari-composable-pattern): Fix to
14468 handle ZWNJ and ZWJ. Use it in composition-function-table for
14470 (malayalam-composable-pattern): Fix previous change.
14472 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14474 * ps-print.el (ps-face-attributes): It was not returning the
14475 attribute face for faces specified as string. Reported by harven
14476 <harven@free.fr>. (Bug#5254)
14477 (ps-print-version): New version 7.3.5.
14479 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14481 * calendar/icalendar.el (icalendar--convert-tz-offset):
14482 Fix timezone names.
14483 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14484 (icalendar--add-diary-entry): Remove the trailing blank that
14485 diary-make-entry inserts.
14487 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14489 Make `file-expand-wildcards' work for remote files.
14491 * files.el (file-expand-wildcards): In case of remote files, check
14492 only local file name part for wildcards. Provide feature 'files
14493 and subfeature 'remote-wildcards. (Bug#5198)
14495 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14496 if there is already an established connection.
14497 (tramp-advice-file-expand-wildcards): Remove it.
14499 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14500 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14501 Activate advice for older GNU Emacs versions. (Bug#5237)
14503 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14505 Some doc fixes (more needed).
14507 * find-cmd.el (find-constituents): Reflow docstring.
14508 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14509 (find-generic): Doc fix.
14511 2009-12-17 Juri Linkov <juri@jurta.org>
14513 Fix regression from 23.1 to allow multiple modes in Local Variables.
14515 * files.el (hack-local-variables-filter): While ignoring duplicates,
14516 don't take `mode' into account.
14517 (hack-local-variables-filter, hack-dir-local-variables):
14518 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14520 2009-12-17 Juri Linkov <juri@jurta.org>
14522 Make `dired-diff' safer. (Bug#5225)
14524 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14525 `current' or when `file' is a directory of the `current' file.
14527 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14529 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14530 unconditionally preloaded files.
14532 2009-12-16 Juri Linkov <juri@jurta.org>
14534 Revert to old 23.1 logic of using the file at the mark as default.
14535 * dired-aux.el (dired-diff): Use the file at the mark as default
14536 if it's not the same as the current file, and the target dir is
14537 the current dir or the mark is active. Add the current file
14538 as the arg of `dired-dwim-target-defaults'. Use the default file
14539 in the prompt. (Bug#5225)
14541 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14543 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14544 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14545 (tramp-check-for-regexp): Check also, when an echoing shell stops
14546 to echo sent commands.
14548 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14550 * Makefile.in: Revert last change (Bug#5191).
14552 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14554 * vc-hg.el (vc-hg-print-log): Fix argument order.
14555 (vc-hg-working-revision): Make sure the command is executed in a
14556 known environment so that we can parse the output. (Bug#4417)
14558 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14560 * progmodes/python.el (python-symbol-completions): Remove text
14561 properties from symbol string before calling python-send-receive.
14563 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14565 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14566 when there are values for both file and line. (Bug#5060)
14568 2009-12-14 Juri Linkov <juri@jurta.org>
14570 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14571 whitespace after the file name of the first line of unified format,
14572 because git-diff doesn't output whitespace and file modification time
14573 after the file name.
14575 2009-12-14 David Kastrup <dak@gnu.org>
14577 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14578 check if it already has the `display' property added by
14579 `Info-display-images-node', and not put the `invisible' property
14582 2009-12-13 Glenn Morris <rgm@gnu.org>
14584 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14585 (report-emacs-bug): In message-mode, sort manually before storing
14586 original report text. (Bug#5178)
14587 Remove superfluous save-excursion.
14589 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14591 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14592 when responding to "GetAll" properties.
14594 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14596 * simple.el (compose-mail): Remove mail-setup-with-from from
14597 customization checks.
14599 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14601 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14602 RAR archives created on Unix systems.
14604 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14606 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14607 the varalias that was accidentally removed by the 2009-11-19 change
14610 2009-12-12 Kenichi Handa <handa@m17n.org>
14612 * language/indian.el (indian-compose-regexp): New function.
14613 (malayalam-composable-pattern): Fix the pattern.
14614 (composition-function-table): Set malayalam-composable-pattern for
14615 Malayalam characters.
14617 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14619 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14620 rather than down-mouse-1, based on follow-link conventions.
14622 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14625 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14627 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14628 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14629 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14630 (verilog-leap-to-head, verilog-backward-token):
14631 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14633 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14635 * progmodes/verilog-mode.el (verilog-auto-lineup)
14636 (verilog-nameable-item-re): Cleanup user-visible spelling and
14637 documentation errors. One reported by Gary Delp.
14638 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14639 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14640 package, bug195. Reported by Pierre-David Pfister.
14642 2009-12-11 Glenn Morris <rgm@gnu.org>
14644 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14646 * mail/emacsbug.el: No longer require sendmail.
14647 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14648 (report-emacs-bug-orig-text): Doc fix.
14649 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14650 New local variables, to adapt to different mail-user-agents.
14651 (report-emacs-bug): Fix test for a gnu.org address.
14652 Use overlays for emphasis, since font-lock defeats 'face property.
14653 Pretest bugs also end up at the newsgroup these days.
14654 Stop message-mode stripping text properties.
14655 Set and use the new buffer-local variables.
14656 (report-emacs-bug-hook): Add doc-string.
14657 Remove some unnecessary save-excursions and simplify.
14658 Use the appropriate hook and send-command.
14660 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14661 capitalization of some menu entries.
14663 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14665 * whitespace.el (whitespace-display-char-on):
14666 Ensure `buffer-display-table' is unique when two or more windows are
14667 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14670 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14672 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14673 characters in the Attribute field.
14675 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14677 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14679 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14681 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14682 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14683 Disregard autoload-excludes.
14684 (update-directory-autoloads): Obey autoload-excludes here instead.
14685 But don't store its contents in no-autoloads and remove entries that
14686 refer to excludes files.
14688 2009-12-10 Glenn Morris <rgm@gnu.org>
14690 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14691 (expand-mail-aliases): Define for compiler.
14693 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14694 Define for compiler.
14696 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14697 appropriate for the mail-user-agent in use.
14699 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14701 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14703 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14705 Fix short log parsing and fontification.
14706 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14707 Fix fontification for the [merge] label.
14709 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14711 Drop some properties to avoid surprises (bug#5002).
14712 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14713 (hfy-fontify-buffer): Use it.
14715 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14718 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14719 Adjust all callers.
14720 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14721 args compulsory. Adjust callers.
14722 (ffap-gopher-at-point): Remove unused var `name'.
14724 Get rid of the ELCFILES abomination.
14725 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14726 (compile-elcfiles): New phony target.
14727 (compile-main): Compute ELCFILES dynamically.
14728 (compile-clean): New target to remove left-over elc files.
14729 (compile, all): Use it.
14731 2009-12-09 Kenichi Handa <handa@etlken>
14733 * international/mule-diag.el: Require help-mode instead of help-fns.
14735 2009-12-09 Kenichi Handa <handa@m17n.org>
14737 * international/mule-cmds.el (ucs-names): Supply sufficiently
14738 fine ranges instead of pre-calculating accurate ranges.
14739 Iterate with bigger gc-cons-threshold.
14741 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14743 Add support for stashing a snapshot of the current tree.
14744 * vc-git.el (vc-git-stash-snapshot): New function.
14745 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14747 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14749 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14750 instead of `(beginning|end)-of-line'.
14752 2009-12-08 Glenn Morris <rgm@gnu.org>
14754 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14756 * Makefile.in (ELCFILES): Regenerate.
14758 2009-12-07 Juri Linkov <juri@jurta.org>
14760 Don't lazy-highlight the comint output in history Isearch mode.
14762 * comint.el (comint-history-isearch-search): Instead of
14763 `comint-line-beginning-position', use `comint-after-pmark-p'
14764 to check if point if before the process mark, and go to
14765 `process-mark' in this case.
14767 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14769 * textmodes/tex-mode.el (latex-complete)
14770 (latex-indent-or-complete): Remove.
14771 (latex-mode): Set completion-at-point-functions instead.
14773 Provide a standard completion command and hook it into TAB.
14774 * minibuffer.el (completion-at-point-functions): New var.
14775 (completion-at-point): New command.
14776 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14777 * progmodes/python.el (python-mode-map): Use completion-at-point.
14778 (python-completion-at-point): Rename from python-partial-symbol and
14779 adjust for use in completion-at-point-functions.
14780 (python-mode): Setup completion-at-point for Python completion.
14781 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14782 extracted from lisp-complete-symbol.
14783 (lisp-complete-symbol): Use it.
14784 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14785 setup completion-at-point for Elisp completion.
14786 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14787 Use completion-at-point.
14788 * ielm.el (ielm-map): Use completion-at-point.
14789 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14790 * progmodes/sym-comp.el: Move to...
14791 * obsolete/sym-comp.el: Move from progmodes.
14793 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14795 Prevent save-buffer in Rmail buffers from using the coding-system
14796 of the current message, and from clobbering the encoding mnemonics
14797 in the mode line (Bug#4623).
14799 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14801 (rmail-message-encoding): New variable.
14802 (rmail-write-region-annotate): Record the encoding of the current
14803 message in rmail-message-encoding.
14804 (rmail-after-save-hook): New function, restores the encoding of
14805 the current message after the message collection is saved.
14807 2009-12-07 Juri Linkov <juri@jurta.org>
14809 * progmodes/grep.el (grep-read-files): Use `completing-read'
14810 instead of `read-string'. Set its `collection' arg to
14811 `read-file-name-internal'. (Bug#4301)
14813 2009-12-07 Juri Linkov <juri@jurta.org>
14815 Correctly restore original Isearch point. (Bug#4994)
14817 * isearch.el (isearch-mode): Move `isearch-push-state' after
14818 `(run-hooks 'isearch-mode-hook)'.
14819 (isearch-cancel): When `isearch-push-state-function' is defined,
14820 let-bind `isearch-cmds' to the first state (the last element of
14821 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14822 function and restores the original point). Otherwise, move point
14823 to `isearch-opoint'.
14825 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14827 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14828 chars that don't have names, so the table can be built much faster at
14831 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14833 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14834 change. Suggested by David Kastrup.
14836 * simple.el (compose-mail): Check for incompatibilities and warn.
14837 (compose-mail-user-agent-warnings): New option.
14839 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14841 Support showing a single log entry from vc-annotate.
14842 * vc.el (print-log): Add a new argument: START-REVISION.
14843 (vc-print-log-internal): Add a new optional argument and
14844 pass it to the backend.
14845 (vc-print-log, vc-print-root-log): Adjust callers.
14846 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14847 buffer already displays the requested log entry, use it.
14848 Otherwise display only the log entry in question.
14849 * vc-svn.el (vc-svn-print-log):
14850 * vc-mtn.el (vc-mtn-print-log):
14851 * vc-hg.el (vc-hg-state):
14852 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14853 (vc-git-show-log-entry): Return t on success.
14854 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14855 (vc-bzr-show-log-entry): Return t on success.
14856 * vc-rcs.el (vc-rcs-print-log):
14857 * vc-sccs.el (vc-sccs-print-log):
14858 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14860 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14862 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14863 Add menus to the meta mode. (Bug#5043)
14865 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14867 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14870 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14872 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14874 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14875 Berbain <raphael.berbain@gmail.com>.
14877 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14879 (tramp-initial-end-of-output): New defconst.
14880 (tramp-methods, tramp-find-shell)
14881 (tramp-open-connection-setup-interactive-shell)
14882 (tramp-maybe-open-connection): Use it.
14883 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14884 Handle existence of `#' and `$'.
14886 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14887 Use `tramp-initial-end-of-output'.
14889 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14891 Get the background mode from the terminal for xterm, and set
14893 * term/xterm.el (xterm-set-background-mode): New function.
14894 (terminal-init-xterm): Use it in case xterm supports background
14895 color queries. Recompute faces after getting the background
14898 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14900 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14901 number comment back on its own line, for easier parsing.
14903 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14905 Make it work for non-file buffers (bug#5102).
14906 * doc-view.el (doc-view-current-cache-dir):
14907 Use doc-view-buffer-file-name rather than buffer-file-name.
14908 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14910 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14912 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14913 author field is too short.
14915 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14917 * vc-git.el (vc-git-print-log): Handle a limit argument.
14918 Display the short log in graph form and with labels.
14919 (vc-git-log-view-mode): Handle labels.
14921 Make vc-revert change VC state from 'added to 'unregistered.
14922 * vc-git.el (vc-git-revert): Call git reset first.
14924 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14926 * net/newst-backend.el, net/newst-plainview.el:
14927 * net/newst-reader.el, net/newst-ticker.el:
14928 * net/newst-treeview.el, net/newsticker.el:
14929 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14931 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14933 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14935 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14936 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14937 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14938 Update annotation regexp.
14940 * simple.el (beginning-of-visual-line): Constrain to field
14941 boundaries (Bug#5106).
14943 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14945 * xml.el (xml-substitute-numeric-entities):
14946 Move newsticker--decode-numeric-entities in newst-backend.el to
14947 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14948 * net/newst-backend.el (newsticker--parse-generic-feed)
14949 (newsticker--parse-generic-items)
14950 (newsticker--decode-numeric-entities):
14951 Move newsticker--decode-numeric-entities in newst-backend.el to
14952 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14954 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14956 * progmodes/js.el (js--js-not): Add null to the list of values.
14958 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14960 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14962 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14964 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14965 delimiter if it is at the end of the current line.
14966 (bibtex-generate-url-list): Fix docstring.
14968 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14970 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14971 minibuffer's content with itself.
14972 Fold the confirm-after-completion case into the `confirm' case.
14973 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14975 2009-12-06 Kevin Ryde <user42@zip.com.au>
14977 * ffap.el (ffap-rfc-path): Make this a defcustom since
14978 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14980 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14981 manuals, similar to existing setup for help-mode. (Bug#3913.)
14983 2009-12-05 Juri Linkov <juri@jurta.org>
14985 Save and restore dired buffer's point positions too. (Bug#4880)
14987 * dired.el (dired-save-positions): Return in the first element
14988 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14990 (dired-restore-positions): First restore buffer's position.
14991 While restoring window's positions, check if window still displays
14992 the original buffer.
14994 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14996 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14999 * shell.el (shell): Require ansi-color (Bug#5113).
15001 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15003 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15005 2009-12-05 Alan Mackenzie <acm@muc.de>
15007 * progmodes/cc-mode.el (c-before-hack-hook)
15008 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15009 `c-file-style' to work again. This reversion restores the current
15010 software to its state in Emacs 23.1. (Bug#4146)
15012 2009-12-05 Kevin Ryde <user42@zip.com.au>
15014 * textmodes/sgml-mode.el (sgml-lexical-context):
15015 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15017 2009-12-05 Juri Linkov <juri@jurta.org>
15019 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15020 for virtual nodes. (Bug#4147)
15021 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15022 when moving from a virtual node.
15023 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15024 (Info-mode): Add `Info-virtual-index' to the docstring.
15026 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15028 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15029 track of the buffer position of the end of a BibTeX entry as this
15030 position may change during reformatting.
15031 (bibtex-format-entry): Remove whitespace before processing
15032 numerical fields so that we recognize the latter properly.
15033 (bibtex-reformat): Do not use push which changes the global value
15034 of bibtex-entry-format.
15035 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15036 (bibtex-field-re-init): Replace only space characters by regexp
15038 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15039 (bibtex-initialize): Also update bibtex-strings.
15040 (bibtex-kill-field): Preserve white space at end of entry.
15041 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15042 Update bibtex-reference-keys.
15044 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15046 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15047 point after a star, if that's the only place where modifications can
15050 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15052 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15055 2009-12-04 Juri Linkov <juri@jurta.org>
15057 * proced.el (proced): Call `(proced-update t)' to update process
15058 information instead of only running proced-post-display-hook.
15059 (proced-send-signal): Add a leading space to the buffer name
15060 " *Marked Processes*" to make this buffer ephemeral.
15062 2009-12-04 Juri Linkov <juri@jurta.org>
15064 * dired.el (dired-auto-revert-buffer): New defcustom.
15065 (dired-internal-noselect): Use it.
15067 2009-12-04 Juri Linkov <juri@jurta.org>
15069 Change roles of modes and functions in image-mode.el (Bug#5062).
15071 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15072 in `auto-mode-alist'.
15073 (image-mode-previous-major-mode): New variable.
15074 (image-minor-mode-map): Rename from `image-mode-text-map'.
15075 (image-mode): Move graceful error-handling code from
15076 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15077 (image-minor-mode): Remove all image-handling code.
15078 Replace `image-mode-text-map' with `image-minor-mode-map'.
15079 Check for `image-type' in mode-line format string.
15080 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15081 (image-mode-as-text): New function with most code from
15082 `image-mode-maybe'.
15083 (image-toggle-display-text): Move code that removes image
15084 properties from `image-toggle-display' to here.
15085 (image-toggle-display-image): New function with code that adds
15086 image properties copied from `image-toggle-display'.
15087 (image-toggle-display): Remove most code with leaving only code
15088 that toggles between `image-mode-as-text' and `image-mode'.
15090 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15092 * net/newst-treeview.el
15093 (newsticker--treeview-list-highlight-start): Restored call to
15094 save-excursion: Selected item was stuck.
15095 (newsticker--treeview-list-select): New.
15096 (newsticker--treeview-item-show-text)
15097 (newsticker--treeview-item-show)
15098 (newsticker--treeview-item-update): Use new
15099 newsticker-treeview-item-mode.
15100 (newsticker-treeview-update): Keep current item.
15101 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15102 (newsticker--treeview-first-feed): Doc change.
15103 (newsticker-treeview-list-menu)
15104 (newsticker-treeview-item-menu): Add menu entries.
15105 (newsticker-treeview-item-mode): New.
15107 * net/newst-backend.el (newsticker-customize): Delete other
15110 2009-12-04 Sam Steingold <sds@gnu.org>
15112 * log-view.el (log-view-mode-map): "q" calls quit-window,
15113 like in all the other non-self-insert buffers.
15115 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15118 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15119 key decoding rather than do it manually via last-input-event +
15121 (term-exec): Use delete-and-extract-region.
15122 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15123 (term-process-pager): Remove unused var `i'.
15124 (term-dynamic-simple-complete): Make obsolete.
15125 (serial-update-config-menu): Remove unused vars `y' and `str'.
15126 (term-update-mode-line): Remove unused var `temp'.
15128 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15130 Limit the number of log entries displayed by default.
15131 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15132 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15133 using a prefix argument.
15135 2009-12-03 Glenn Morris <rgm@gnu.org>
15137 * progmodes/idlwave.el (class): Restore still useful declaration.
15139 2009-12-03 Alan Mackenzie <acm@muc.de>
15141 Enhance `c-parse-state' to run efficiently in "brace deserts".
15143 * progmodes/cc-mode.el (c-basic-common-init):
15144 Call c-state-cache-init.
15145 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15146 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15147 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15149 * progmodes/cc-langs.el (c-before-font-lock-function):
15150 c-extend-and-neutralize-syntax-in-CPP has been renamed
15151 c-neutralize-syntax-in-and-mark-CPP.
15153 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15154 with `category' properties now, not `syntax-table' ones.
15156 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15157 enhanced (but slower) version of c-end-of-macro that won't land
15158 inside a literal or on another awkward character.
15159 (c-state-cache-too-far, c-state-cache-start)
15160 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15161 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15162 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15163 (c-state-min-scan-pos, c-state-brace-pair-desert)
15164 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15165 buffer local variables.
15166 (c-state-literal-at, c-state-lit-beg)
15167 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15168 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15169 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15170 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15171 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15172 (c-renarrow-state-cache)
15173 (c-append-lower-brace-pair-to-state-cache)
15174 (c-state-push-any-brace-pair, c-append-to-state-cache)
15175 (c-remove-stale-state-cache)
15176 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15177 (c-invalidate-state-cache-1, c-parse-state-1)
15178 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15179 (c-parse-state): Enhance and refactor.
15180 (c-debug-parse-state): Amend to deal with all the new variables.
15182 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15183 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15184 modify to use category text properties rather than syntax-table ones.
15185 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15186 to switch off/on the syntactic paren property of C++ template
15187 delimiters using the category property.
15188 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15189 template delims suppressed.
15190 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15191 New constant/macros which apply category properties to the start
15192 and end of preprocessor constructs.
15193 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15194 "comment out" the syntactic value of characters in preprocessor
15196 (c-with-cpps-commented-out)
15197 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15198 with characters in all or all but one preprocessor constructs
15201 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15203 * proced.el (proced-filter-alist): Use regexp-quote.
15205 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15208 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15209 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15210 arguments. Expand `default-directory'.
15212 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15213 the benefit of returning an expanded localname.
15214 (tramp-tramp-file-p): Handle the case NAME is not a string.
15216 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15218 Add support for bzr shelve/unshelve.
15219 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15220 (vc-bzr-extra-menu-map): New variables.
15221 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15222 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15223 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15224 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15225 (vc-bzr-dir-extra-headers): Display shelves.
15227 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15229 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15231 * textmodes/bibtex.el (bibtex-complete-internal):
15232 Use completion-in-region.
15233 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15235 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15237 Support applying stashes. Improve UI.
15238 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15239 (vc-git-stash-apply, vc-git-stash-pop)
15240 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15241 (vc-git-stash-menu): New functions.
15242 (vc-git-stash-menu-map): New variable.
15243 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15245 2009-12-03 Glenn Morris <rgm@gnu.org>
15247 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15248 (vc-print-log-internal): Fix previous change.
15249 (vc-revert): Correct pluralization.
15251 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15253 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15254 it to be an alist any more.
15255 (makefile-complete): Use completion-in-region.
15257 * progmodes/octave-mod.el (octave-complete-symbol):
15258 Use completion-in-region.
15261 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15262 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15263 (idlwave-complete-class): Don't quote lambda.
15264 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15265 (idlwave-mode-map): Move initialization into declaration.
15266 (idlwave-action-and-binding): Use backquotes.
15267 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15269 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15270 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15271 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15272 `parts', and `all-parts'.
15273 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15274 (idlwave-convert-xml-system-routine-info): Remove unused string
15276 (idlwave-display-user-catalog-widget): Use dolist.
15277 (idlwave-scanning-lib): Declare dynamically-scoped var.
15278 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15279 (completion-highlight-first-word-only): Declare to silence bytecomp.
15280 (idlwave-popup-select): Tighten scope of `resp'.
15281 (idlwave-find-struct-tag): Remove unused var `beg'.
15282 (idlwave-after-load-rinfo-hook): Declare.
15283 (idlwave-sintern-class-info): Remove unused var `taglist'.
15284 (idlwave-find-class-definition): Remove unused var `list'.
15285 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15286 (idlwave-what-module-find-class): Remove unused var `classes'.
15288 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15290 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15292 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15294 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15295 buffers visited. Remove redundant current-buffer-saving.
15297 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15299 Use completion-in-buffer and remove uses of dynamic scoping.
15300 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15301 (pascal-buffer-to-use, pascal-flag): Don't declare.
15302 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15303 (pascal-get-completion-decl, pascal-keyword-completion):
15304 Add `pascal-str' argument, save-excursion,
15305 return the found completions, and don't filter with pascal-pred.
15306 (pascal-completion-cache): New var.
15307 (pascal-completion): Don't switch buffer any more (it was never
15308 necessary). Don't save-excursion any more (it's done by the called
15309 subroutines). Use a cache to avoid redundant computations.
15310 Use complete-with-action rather than pascal-completion-response and
15311 let it apply the predicate as well.
15312 (pascal-complete-word): Use completion-in-buffer when
15313 pascal-toggle-completions is nil.
15314 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15316 (pascal-comp-defun): Don't change buffer any more.
15317 Use complete-with-action rather than pascal-completion-response and
15318 let it apply the predicate as well.
15319 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15322 2009-12-02 Kenichi Handa <handa@m17n.org>
15324 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15325 shape for all Indic scripts.
15327 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15329 Use completion-in-buffer.
15330 * wid-edit.el (widget-field-text-end): New function.
15331 (widget-field-value-get): Use it.
15332 (widget-string-complete, widget-file-complete)
15333 (widget-color-complete): Use it and completion-in-region.
15334 (widget-complete): Don't narrow the buffer.
15336 2009-12-02 Glenn Morris <rgm@gnu.org>
15338 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15339 (rmail-select-summary): Use rmail-pop-to-buffer.
15340 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15341 rmail-pop-to-buffer, to prevent horizontal splits.
15343 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15344 save-excursion with save-current-buffer.
15345 Widen before searching. (Bug#5093)
15346 (diary-list-sexp-entries): Remove superfluous save-excursion.
15348 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15350 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15353 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15355 * ido.el (ido-file-internal): Handle filenames at point that do
15356 not have a directory part. (Bug#5049)
15358 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15360 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15361 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15363 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15365 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15366 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15369 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15371 * comint.el (comint-insert-input): Ignore clicks to the right of
15372 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15374 * vc.el (vc-print-log-internal): Don't wait for the process to
15375 terminate before setting up the major mode.
15377 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15380 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15383 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15385 2009-12-01 Glenn Morris <rgm@gnu.org>
15387 * window.el (window--display-buffer-2): Fix previous changes.
15389 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15391 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15393 2009-12-01 Glenn Morris <rgm@gnu.org>
15395 * Makefile.in (ELCFILES): Add mpc.elc.
15397 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15399 * mpc.el: New file.
15401 2009-12-01 Glenn Morris <rgm@gnu.org>
15403 * window.el (window-to-use): Define for compiler.
15405 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15406 consistent with others (no final period).
15408 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15409 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15411 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15413 Make vc-print-log buttons work.
15414 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15416 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15418 * savehist.el (savehist-autosave-interval): Allow setting to nil
15419 through customize. (Bug#5056)
15421 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15423 Fix references to jit-lock properties.
15424 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15425 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15426 (perl-font-lock-special-syntactic-constructs):
15427 Quote jit-lock-defer-multiline property.
15429 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15431 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15433 2009-11-30 Juri Linkov <juri@jurta.org>
15435 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15436 value `buffer' of `multi-isearch-next-buffer-current-function'.
15437 Use `(current-buffer)' when `buffer' is nil.
15438 (multi-isearch-next-buffer-from-list): Don't fallback to
15439 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15441 2009-11-30 Juri Linkov <juri@jurta.org>
15443 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15444 of buffers with `get-buffer' to `multi-isearch-buffers'.
15445 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15446 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15447 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15448 FILES with `expand-file-name' converting relative file names
15449 to absolute. Doc fix. (Bug#4727)
15451 2009-11-30 Juri Linkov <juri@jurta.org>
15453 * misearch.el (multi-isearch-read-buffers)
15454 (multi-isearch-read-matching-buffers): New functions.
15455 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15456 Use them in the `interactive' spec. Doc fix.
15457 (multi-isearch-read-files, multi-isearch-read-matching-files):
15459 (multi-isearch-files, multi-isearch-files-regexp):
15460 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15462 2009-11-30 Juri Linkov <juri@jurta.org>
15464 * doc-view.el (doc-view-continuous):
15465 Rename from `doc-view-continuous-mode'.
15466 (doc-view-menu): Move "Toggle display" to the top.
15467 Add submenu "Continuous" with radio buttons "Off"/"On"
15468 and "Save as Default".
15469 (doc-view-scroll-up-or-next-page)
15470 (doc-view-scroll-down-or-previous-page)
15471 (doc-view-next-line-or-next-page)
15472 (doc-view-previous-line-or-previous-page):
15473 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15475 2009-11-30 Juri Linkov <juri@jurta.org>
15477 * comint.el (comint-mode-map): Rebind `M-r' from
15478 `comint-previous-matching-input' to
15479 `comint-history-isearch-backward-regexp'.
15480 Unbind `M-s' to allow global key binding `M-s'.
15481 Add menu items for `comint-history-isearch-backward' and
15482 `comint-history-isearch-backward-regexp'. (Bug#3746)
15484 2009-11-30 Juri Linkov <juri@jurta.org>
15486 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15487 For def=recenter, replace `recenter' with `recenter-top-bottom'
15488 that is called with `this-command' and `last-command' let-bound
15489 to `recenter-top-bottom'. When the last `def' was not `recenter',
15490 set `recenter-last-op' to nil. (Bug#4981)
15492 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15494 Minor cleanup and simplification.
15495 * filecache.el (file-cache-add-directory)
15496 (file-cache-add-directory-recursively)
15497 (file-cache-add-from-file-cache-buffer)
15498 (file-cache-delete-file-regexp, file-cache-delete-directory)
15499 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15500 (file-cache-temp-minibuffer-message): Delete function.
15501 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15503 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15504 Don't signal an error when bumping into EOB in tr, s, or y.
15506 2009-11-29 Juri Linkov <juri@jurta.org>
15508 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15511 * descr-text.el (describe-char-unidata-list): Use lowercase name
15512 for "Unicode name" like in other tags.
15514 2009-11-29 Juri Linkov <juri@jurta.org>
15516 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15517 New compatibility macro.
15518 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15520 2009-11-29 Juri Linkov <juri@jurta.org>
15522 Add defcustom to define the cycling order of `recenter-top-bottom'.
15525 * window.el (recenter-last-op): Doc fix.
15526 (recenter-positions): New defcustom.
15527 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15528 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15530 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15532 Improve integration of Tramp and ange-ftp in eshell.
15534 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15535 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15536 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15538 * eshell/esh-util.el (top): Require also Tramp when compiling.
15539 (eshell-directory-files-and-attributes): Check for FTP remote
15541 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15542 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15543 (eshell-file-attributes): Handle ".". Return `entry'.
15545 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15546 (ange-ftp-directory-files-and-attributes)
15547 (ange-ftp-real-directory-files-and-attributes): New defuns.
15549 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15550 shell with "exec" when possible. This prevents trailing prompts
15551 in `start-file-process'.
15553 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15555 Try and remove assumptions about point-min==1.
15556 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15557 (rng-compute-mode-line-string): Show the validation percentage in
15558 terms of the narrowed text, not the widened text.
15559 (rng-do-some-validation): Don't catch internal errors when debugging.
15560 (rng-first-error): Simplify.
15561 (rng-after-change-function): Remove work around. AFAIK the bug has
15562 been fixed a while ago.
15564 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15565 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15567 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15569 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15570 `cd' doesn't always do it for us (bug#5067).
15572 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15573 on 2009-10-25 as part of some other change (bug#5067).
15575 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15577 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15579 (byte-compile-warnings): Use byte-compile-warning-types.
15580 (byte-compile-save-excursion): Warn about use of set-buffer right
15581 after save-excursion.
15583 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15584 the excursion as well.
15586 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15588 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15589 providing a Tramp related implementation of "su" and "sudo".
15590 (eshell-unix-initialize): Add "su" and "sudo".
15592 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15594 * net/socks.el (socks-send-command): Convert binary request to
15595 unibyte before sending. This fixes mishandling of some port
15596 numbers such as 129.
15598 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15600 * help.el (describe-bindings-internal): Remove `interactive'.
15602 * man.el (Man-completion-table): Trim a terminating "(".
15603 Remove the space between name page a section.
15604 Add the command's description on the `help-echo' property.
15605 Remove `process-connection-type' binding since it's unused by
15607 Provide completion for the "<section> <name>" format as well.
15608 (Man-default-man-entry): Remove spurious var shadowing the argument.
15610 2009-11-26 Kevin Ryde <user42@zip.com.au>
15612 * log-view.el: Add "Keywords: tools", since its other keywords
15613 aren't in finder-known-keywords, and following vc.el.
15615 * sha1.el (sha1-string-external): default-directory "/" in case
15616 otherwise non-existent. process-connection-type pipe for touch of
15617 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15619 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15621 Misc coding convention cleanups.
15622 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15623 hfy-init-kludge-hooks.
15624 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15625 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15626 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15628 (hfy-slant, hfy-weight): Use tables rather than code.
15629 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15630 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15631 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15632 (hfy-face-to-css): Remove `nconc' with single arg.
15633 (hfy-p-to-face-lennart): Use `or'.
15634 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15635 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15636 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15637 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15638 (hfy-force-fontification): Use run-hooks.
15640 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15642 Various minor fixes.
15643 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15644 Javascript belongs in the header, not the body.
15645 (hfy-javascript): Remove.
15646 (hfy-fontify-buffer): Don't insert it any more.
15647 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15648 Fix bug in invis handling when there were no invis props in a chunk.
15650 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15652 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15654 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15656 * finder.el (finder-mode-map): Add a menu.
15658 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15660 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15661 "unsigned" structs.
15663 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15664 fork" statement better.
15666 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15668 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15669 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15670 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15671 Reported by Clay Douglass.
15673 (verilog-auto-inst, verilog-auto-star-safe)
15674 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15675 Fix removing "// Interfaces" when saving .* expansions.
15676 Reported by Pierre-David Pfister.
15678 2009-11-26 Glenn Morris <rgm@gnu.org>
15680 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15683 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15685 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15686 Really use previous revision.
15688 2009-11-25 Kevin Ryde <user42@zip.com.au>
15690 * man.el (Man-completion-table): default-directory "/" in case
15691 doesn't otherwise exist. process-environment COLUMNS=999 so as
15692 not to truncate long names. process-connection-type pipe to avoid
15693 any chance of hitting the pseudo-tty TIOCGWINSZ.
15694 (man): completion-ignore-case t for friendliness and since man
15695 itself is case-insensitive on the command line.
15696 Further to Bug#3717.
15698 * arc-mode.el: Add "Keywords: files", so the details in its
15699 commentary can be reached from finder-by-keyword.
15700 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15701 editing mode, but it's comms related and sgml-mode.el has "comm"
15703 * textmodes/bibtex-style.el: Add "Keywords: tex".
15704 * international/isearch-x.el, international/ja-dic-cnv.el:
15705 * international/ja-dic-utl.el, international/kkc.el:
15706 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15708 2009-11-25 Juri Linkov <juri@jurta.org>
15710 * man.el (Man-completion-table): Modify regexp to include
15711 section names to completion strings. (Bug#3717)
15713 2009-11-25 Juri Linkov <juri@jurta.org>
15715 Search recursively in gzipped files. (Bug#4982)
15717 * progmodes/grep.el (grep-highlight-matches): Add new options
15718 `always' and `auto'. Doc fix.
15719 (grep-process-setup): Check `grep-highlight-matches' for
15720 `auto-detect' to determine the need to compute grep defaults.
15721 Move Windows/DOS specific --colors settings handling
15722 to `grep-compute-defaults'. Check `grep-highlight-matches'
15723 to get the value of "--color=".
15724 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15725 has the value `auto-detect'. Move Windows/DOS specific settings
15726 from `grep-process-setup'.
15727 (zrgrep): New command with alias `rzgrep'.
15729 2009-11-25 Juri Linkov <juri@jurta.org>
15731 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15732 to nil instead of switching off view-mode. (Bug#4896)
15734 2009-11-25 Juri Linkov <juri@jurta.org>
15736 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15738 * mwheel.el (mwheel-scroll-up-function)
15739 (mwheel-scroll-down-function): New defvars.
15740 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15741 `scroll-up', and `mwheel-scroll-down-function' instead of
15744 * doc-view.el (doc-view-scroll-up-or-next-page)
15745 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15746 Use this ARG in the call to image-scroll-up/image-scroll-down.
15747 Change `interactive' spec to "P". Goto next/previous page only
15748 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15749 SPC/DEL case). Doc fix.
15750 (doc-view-next-line-or-next-page)
15751 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15753 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15754 `doc-view-scroll-up-or-next-page', and buffer-local
15755 `mwheel-scroll-down-function' to
15756 `doc-view-scroll-down-or-previous-page'.
15758 2009-11-25 Juri Linkov <juri@jurta.org>
15760 Provide additional default values (directories at other Dired
15761 windows) via M-n in the minibuffer of some Dired commands.
15763 * dired-aux.el (dired-diff, dired-compare-directories)
15764 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15765 `minibuffer-default' in `minibuffer-with-setup-hook'.
15766 (dired-dwim-target-directory): Find a window that displays Dired
15767 buffer instead of failing when the next window is not Dired.
15768 Use `get-window-with-predicate' to find for the next Dired window.
15769 (dired-dwim-target-defaults): New function.
15771 * ediff-util.el (ediff-read-file-name):
15772 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15773 in `minibuffer-with-setup-hook'.
15775 2009-11-25 Juri Linkov <juri@jurta.org>
15777 Provide additional default values (file name at point or at the
15778 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15780 * minibuffer.el (read-file-name-defaults): New function.
15781 (read-file-name): Reset `minibuffer-default' to nil when
15782 it duplicates initial input `insdef'.
15783 Bind `minibuffer-default-add-function' to lambda that
15784 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15785 (minibuffer-insert-file-name-at-point): New command.
15787 * files.el (file-name-at-point-functions): New defcustom.
15788 (find-file-default): Remove defvar.
15789 (find-file-read-args): Don't use `find-file-default'.
15790 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15791 to `read-file-name'.
15792 (find-file-literally): Use `read-file-name' with
15793 `confirm-nonexistent-file-or-buffer'.
15795 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15797 * dired.el (dired-read-dir-and-switches):
15798 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15799 to `read-file-name'.
15800 (dired-file-name-at-point): New function.
15801 (dired-mode): Add hook `dired-file-name-at-point' to
15802 `file-name-at-point-functions'.
15804 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15806 Really make the *Completions* window soft-dedicated (bug#5030).
15807 * window.el (window--display-buffer-2): Add `dedicated' argument.
15808 (display-buffer): Pass it when needed so the dedicated flag is set
15809 after calling set-window-buffer, which would otherwise reset it.
15811 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15813 * progmodes/meta-mode.el (meta-complete-symbol):
15814 * progmodes/etags.el (complete-tag):
15815 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15816 Use completion-in-region.
15818 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15819 (dabbrev-completion): Use completion-in-region.
15820 (dabbrev--abbrev-at-point): Simplify regexp.
15822 * abbrev.el (abbrev--before-point): Use word-motion functions
15823 if :regexp is not specified (bug#5031).
15825 * subr.el (string-prefix-p): New function.
15827 * man.el (Man-completion-cache): New var.
15828 (Man-completion-table): Use it.
15830 * vc.el (vc-print-log-internal): Make `limit' optional for better
15831 compatibility (e.g. with vc-annotate.el).
15833 2009-11-24 Kevin Ryde <user42@zip.com.au>
15835 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15836 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15838 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15839 when .el source file not found or other error.
15841 2009-11-24 Markus Triska <markus.triska@gmx.at>
15843 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15845 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15847 Handle the [back] button properly (bug#4979).
15848 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15849 Use help-setup-xref, help-buffer, and with-help-window.
15850 (describe-char): Add `buffer' argument.
15851 Pass proper command to help-setup-xref. Don't meddle with
15852 help-xref-stack-item directly.
15853 (describe-text-category): Use with-help-window and help-buffer.
15855 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15856 for the displayed buffer (bug#4887).
15858 * man.el (Man-completion-table): New function.
15861 2009-11-24 David Reitter <david.reitter@gmail.com>
15863 * vc-git.el (vc-git-registered): Use checkout directory (where
15864 .git is) rather than the file's directory and a relative path spec
15865 to work around a bug in git.
15867 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15869 Improve handling of processes on remote hosts.
15871 * eshell/esh-util.el (eshell-path-env): New defvar.
15872 (eshell-parse-colon-path): New defun.
15873 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15875 * eshell/esh-ext.el (eshell-search-path):
15876 Use `eshell-parse-colon-path'.
15877 (eshell-remote-command): Remove argument HANDLER.
15878 (eshell-external-command): Check for FTP remote connection.
15880 * eshell/esh-proc.el (eshell-gather-process-output):
15881 Use `file-truename', in order to start also symlinked files.
15882 Apply `start-file-process' instead of `start-process'.
15883 Shorten `command' to the local file name part.
15885 * eshell/em-cmpl.el (eshell-complete-commands-list):
15886 Use `eshell-parse-colon-path'.
15888 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15890 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15891 to `eshell-directory-change-hook'.
15893 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15895 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15896 because it could be enabled automatically if view-read-only is non-nil.
15898 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15900 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15901 made on 2009-11-22.
15903 2009-11-24 Glenn Morris <rgm@gnu.org>
15905 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15906 deleted variable bookmark-bmenu-bookmark-column.
15908 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15910 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15912 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15914 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15915 two slashes to the "file:" prefix.
15916 (browse-url-file-url): De-munge Cygwin filenames before passing
15917 them to Windows browser.
15918 (browse-url-default-windows-browser): Use call-process.
15920 2009-11-23 Juri Linkov <juri@jurta.org>
15922 Implement DocView Continuous mode. (Bug#4896)
15923 * doc-view.el (doc-view-continuous-mode): New defcustom.
15924 (doc-view-mode-map): Bind C-n/<down> to
15925 `doc-view-next-line-or-next-page', C-p/<up> to
15926 `doc-view-previous-line-or-previous-page'.
15927 (doc-view-next-line-or-next-page)
15928 (doc-view-previous-line-or-previous-page): New commands.
15930 2009-11-23 Juri Linkov <juri@jurta.org>
15932 Implement Isearch in comint input history. (Bug#3746)
15933 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15934 `isearch-mode-hook'.
15935 (comint-history-isearch): New defcustom.
15936 (comint-history-isearch-backward)
15937 (comint-history-isearch-backward-regexp): New commands.
15938 (comint-history-isearch-message-overlay): New buffer-local variable.
15939 (comint-history-isearch-setup, comint-history-isearch-end)
15940 (comint-goto-input, comint-history-isearch-search)
15941 (comint-history-isearch-message, comint-history-isearch-wrap)
15942 (comint-history-isearch-push-state)
15943 (comint-history-isearch-pop-state): New functions.
15945 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15947 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15949 (tramp-handle-make-symbolic-link)
15950 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15952 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15953 (tramp-handle-process-file): Use it.
15955 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15957 * window.el (move-to-window-line-last-op): Remove.
15958 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15960 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15962 Make M-r mirror the new cycling behavior of C-l.
15963 * window.el (move-to-window-line-last-op): New var.
15964 (move-to-window-line-top-bottom): New command.
15965 (global-map): Bind M-r move-to-window-line-top-bottom.
15967 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15969 * dired-x.el (dired-guess-shell-alist-default):
15970 Support xz format. (Bug#4953)
15972 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15974 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15975 last-command-char/last-command-event.
15976 (viper-prefix-arg-value): Do correct conversion of event-char for
15979 * emulation/viper-util.el, emulation/viper.el:
15980 Use viper-last-command-char instead of
15981 last-command-char/last-command-event.
15983 * ediff-init.el, ediff-mult.el, ediff-util.el:
15984 Replace last-command-char and last-command-event
15985 with (ediff-last-command-char) everywhere.
15987 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15988 created in fundamental mode.
15990 * ediff.el (ediff-version): Revert the change of interactive-p to
15991 called-interactively-p.
15993 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15995 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15996 generation from word-movement command names.
15998 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16000 * cus-start.el (all): Add native condition for font-use-system-font.
16002 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16004 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16005 Correct the patch from 2009-11-18. (Bug#3910)
16007 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16009 * progmodes/subword.el: Rename from lisp/subword.el.
16011 * subword.el: Rename to progmodes/subword.el.
16013 * Makefile.in (ELCFILES): Adapt to subword.el move.
16015 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16016 Stefan Monnier <monnier@iro.umontreal.ca>
16018 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16019 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16020 (bookmark-bmenu-show-filenames): Use push.
16021 (bookmark-bmenu-hide-filenames): Use local var instead of
16022 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16023 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16024 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16025 filenames now that the bookmark names are always available.
16027 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16029 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16030 (bookmark-search-pattern): Move and leave unbound.
16031 (bookmark-bmenu-mode-map): Change binding.
16032 (bookmark-read-search-input): Simplify.
16033 Don't use text-char-description. Don't error on non-char events.
16034 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16035 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16036 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16037 Use a local var for the timer.
16038 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16039 (i.e. bookmark-bmenu-search).
16041 2009-11-21 Glenn Morris <rgm@gnu.org>
16043 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16045 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16047 * net/browse-url.el (browse-url-default-windows-browser):
16048 Use cygstart for cygwin.
16050 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16052 * bookmark.el: Formatting and doc fixes only:
16053 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16054 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16055 Minor grammar and punctuation fixes in doc string.
16056 (bookmark-read-search-input): Adjust to fit within 80 columns.
16058 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16060 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16061 (c-backward-into-nomenclature): Adapt to subword renaming.
16063 * subword.el (subword-forward, subword-backward, subword-mark)
16064 (subword-kill, subword-backward-kill, subword-transpose)
16065 (subword-downcase, subword-upcase, subword-capitalize)
16066 (subword-forward-internal, subword-backward-internal):
16067 Rename from forward-subword, backward-subword, mark-subword,
16068 kill-subword, backward-kill-subword, transpose-subwords,
16069 downcase-subword, upcase-subword, capitalize-subword,
16070 forward-subword-internal, backward-subword-internal.
16072 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16074 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16076 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16078 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16079 (bookmark-bmenu-filter-alist-by-regexp)
16080 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16081 (bookmark-bmenu-search): New command.
16082 (bookmark-bmenu-mode-map): Bind it.
16084 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16086 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16087 backward-subword to quit the byte-compiler.
16089 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16091 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16093 * progmodes/cc-cmds.el (c-update-modeline)
16094 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16095 Refer to subword.el functions instead of cc-subword.el.
16097 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16098 subword.el functions instead of cc-subword.el.
16100 * progmodes/cc-subword.el: Rename to subword.el.
16101 * subword.el: Rename from progmodes/cc-subword.el.
16102 (subword-mode-map): Rename from c-subword-mode-map.
16103 (subword-mode): Rename from c-subword-mode.
16104 (global-subword-mode): New global minor mode.
16105 (forward-subword): Rename from c-forward-subword.
16106 (backward-subword): Rename from c-backward-subword.
16107 (mark-subword): Rename from c-mark-subword.
16108 (kill-subword): Rename from c-kill-subword.
16109 (backward-kill-subword): Rename from c-backward-kill-subword.
16110 (transpose-subwords): Rename from c-tranpose-subword.
16111 (downcase-subword): Rename from c-downcase-subword.
16112 (capitalize-subword): Rename from c-capitalize-subword.
16113 (forward-subword-internal): Rename from c-forward-subword-internal.
16114 (backward-subword-internal): Rename from c-backward-subword-internal.
16116 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16118 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16119 from a dired buffer.
16120 (vc-dired-deduce-fileset): New function.
16121 (vc-root-diff, vc-print-root-log): Use it.
16123 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16124 nil LIMIT argument to vc-print-log-internal.
16126 2009-11-20 Glenn Morris <rgm@gnu.org>
16128 * Makefile.in (ELCFILES): Regenerate.
16130 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16132 * calc/calc.el (calc-set-mode-line):
16133 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16134 (math-format-number): Rename `math-format-complement-signed' to
16135 `math-format-twos-complement'.
16137 * calc/calc-bin.el (math-format-twos-complement): Rename from
16138 math-format-complement-signed.
16139 (calc-radix): Rename `calc-complement-signed-mode' to
16140 `calc-twos-complement-mode'.
16141 (calc-octal-radix, calc-hex-radix): Add an argument for
16144 * calc/calc-embed.el (calc-embedded-mode-vars):
16145 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16147 * calc/calc-ext.el (calc-init-extensions):
16148 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16149 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16151 * calc/calc-units.el (math-build-units-table-buffer):
16152 Let `calc-twos-complement-mode' be nil.
16154 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16157 * calc/calc-vec.el (calcFunc-vunpack):
16158 * calc/calc-aent.el (calc-do-calc-eval):
16159 * calc/calc-forms.el (math-format-date):
16160 * calc/calc-graph.el (calc-graph-plot):
16161 * calc/calc-math.el (math-use-emacs-fn):
16162 * calc/calccomp.el (math-compose-expr):
16163 Let `calc-twos-complement-mode' be nil.
16165 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16167 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16168 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16169 * minibuffer.el (completion-in-region-functions): New hook.
16170 (completion-in-region): New function.
16171 * emacs-lisp/lisp.el (lisp-complete-symbol):
16172 * pcomplete.el (pcomplete-std-complete): Use it.
16174 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16176 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16177 (latex-complete-alist): New vars.
16178 (latex-string-prefix-p, latex-complete-bibtex-keys)
16179 (latex-complete-envnames, latex-complete-refkeys)
16180 (latex-complete-data): New functions.
16181 (latex-complete, latex-indent-or-complete): New commands.
16183 * window.el (display-buffer-mark-dedicated): New var.
16184 (display-buffer): Obey it.
16185 * minibuffer.el (minibuffer-completion-help): Use it.
16187 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16189 * filecache.el (file-cache-add-file): Use push and cons.
16190 (file-cache-delete-file-regexp): Use push.
16191 (file-cache-complete): Use completion-in-region.
16193 * simple.el (with-wrapper-hook): Fix thinko.
16195 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16196 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16197 Use with-current-buffer and string-to-number.
16198 (hfy-fallback-colour-values): Use assoc-string.
16199 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16200 (hfy-face-at): Remove unused var `found-face'.
16201 (hfy-compile-stylesheet): Remove unused var `css'.
16202 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16204 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16205 Use with-current-buffer.
16206 (hfy-text-p): Use expand-file-name and fewer setq.
16208 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16210 * htmlfontify.el, hfy-cmap.el: New files.
16212 2009-11-19 Juri Linkov <juri@jurta.org>
16214 * minibuffer.el (completions-format): New defcustom.
16215 (completion--insert-strings): Implement vertical format.
16217 * simple.el (switch-to-completions): Move point to the first
16218 completion when point was at the beginning of the buffer.
16220 2009-11-19 Juri Linkov <juri@jurta.org>
16222 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16224 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16226 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16228 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16229 (mail-signature): Change default to t.
16230 (mail-from-style): Deprecate `system-default' value.
16231 (mail-insert-from-field): For default value of mail-from-style,
16232 default to `angles' unless `angles' needs quoting and `parens'
16234 (mail-citation-prefix-regexp): Use citation regexp from
16237 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16239 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16240 Set variables for computing the prompt for reading password.
16242 2009-11-19 Glenn Morris <rgm@gnu.org>
16244 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16246 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16248 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16249 (newsticker-treeview-listwindow-height): Fix custom type.
16251 2009-11-19 Kenichi Handa <handa@m17n.org>
16253 * descr-text.el (describe-char-padded-string): Compose with TAB
16254 only if there's a font for CH.
16255 (describe-char): Fix the condition for detecting a trivial composition.
16257 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16259 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16260 more accurate version of the regexp. (Bug#3910)
16262 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16264 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16266 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16268 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16269 (font-setting-change-default-font): Fix typo in docstring.
16271 2009-11-18 Alan Mackenzie <acm@muc.de>
16273 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16275 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16277 * font-setting.el (font-use-system-font): Move ...
16279 * cus-start.el (all): ... to here.
16281 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16283 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16284 Don't set `ad-return-value' if `ad-do-it' doesn't.
16286 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16289 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16291 * menu-bar.el: Put "Use system font" in Option-menu.
16292 (menu-bar-options-save): Add font-use-system-font.
16294 * loadup.el: If feature system-font-setting or font-render-setting is
16295 there, load font-setting.
16297 * Makefile.in (ELCFILES): Add font-settings.el.
16298 * font-setting.el: New file.
16300 2009-11-17 Glenn Morris <rgm@gnu.org>
16302 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16304 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16305 Preserve point in the list buffer. (Bug#4939)
16307 (newsticker--treeview-list-update-highlight)
16308 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16310 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16312 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16315 * calc/calc-ext.el (calc-init-extensions): Remove references to
16318 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16320 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16321 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16324 2009-11-16 Kevin Ryde <user42@zip.com.au>
16326 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16327 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16329 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16330 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16331 Ignore trailing spaces by omit-nulls to split-string (fixing
16332 regression from Emacs 21 due to the incompatible split-string
16333 change). (Bug #4928.)
16335 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16337 * vc.el (vc-log-show-limit): Default to 2000.
16338 (vc-print-log-internal): Insert buttons to request more entries
16339 when limiting the output.
16341 * vc-sccs.el (vc-sccs-print-log):
16342 * vc-rcs.el (vc-rcs-print-log):
16343 * vc-cvs.el (vc-cvs-print-log):
16344 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16347 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16349 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16350 error when `tramp-gvfs-dbus-event-vector' is set.
16351 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16353 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16355 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16357 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16359 * net/dbus.el (dbus-unregister-service): New defun.
16360 (dbus-register-property): Register the handlers of
16361 "org.freedesktop.DBus.Properties" for SERVICE.
16362 (dbus-property-handler): Fix docstring.
16364 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16366 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16367 Quote doc string reference in defvaralias as it is not in special form.
16368 (byte-compile-output-docform): Doc fix.
16370 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16372 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16373 (calc-complement-signed-mode): New variables.
16374 (calc-set-mode-line): Add indicator for twos-complements.
16375 (math-format-number): Format twos-complement notation.
16377 * calc/calc-bin.el (calc-word-size): Reset the variables
16378 `math-2-word-size' and `math-half-2-word-size'.
16379 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16380 (calc-symclip): New functions.
16382 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16384 * calc/calc-embed.el (calc-embedded-mode-vars):
16385 Add `calc-complement-signed-mode' to the list of modes.
16387 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16388 (calc-b-oper-keys): Add `calc-symclip' to list.
16390 * calc/calc-ext.el (math-read-number-fancy): Read complement
16392 (calc-init-extensions): Add binding for `calc-symclip'.
16393 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16395 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16397 (calc-modes-menu): Add item for twos complement mode.
16399 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16401 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16403 * register.el (jump-to-register, insert-register): Handle Semantic
16404 tags. From commented-out advice in semantic/senator.el.
16406 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16408 * vc.el (vc-log-show-limit): New variable.
16409 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16410 when using a prefix argument.
16411 (vc-print-log-internal): Add new argument LIMIT.
16413 * vc-svn.el (vc-svn-print-log):
16414 * vc-mtn.el (vc-mtn-print-log):
16415 * vc-hg.el (vc-hg-print-log):
16416 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16417 pass it to the log command when set. Make the BUFFER argument
16420 * vc-sccs.el (vc-sccs-print-log):
16421 * vc-rcs.el (vc-rcs-print-log):
16422 * vc-git.el (vc-git-print-log):
16423 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16424 ignore it. Make the BUFFER argument non-optional.
16426 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16428 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16430 * dired.el (dired-mode-map): Move encryption items to "Operate"
16433 * strokes.el (strokes-update-window-configuration): Make strokes
16434 buffer current before erasing (Bug#4906).
16436 2009-11-15 Juri Linkov <juri@jurta.org>
16438 * simple.el (set-mark-default-inactive): Add :type, :group
16439 and :version. (Bug#4876)
16441 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16443 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16444 (archive-unique-fname): ... here. (Bug#4929)
16446 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16448 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16451 * novice.el (disabled-command-function): Add useful args.
16452 Setup the help buffer so that [back] works.
16453 Remove redundant call to help-mode.
16454 (disabled-command-function): Use `case'.
16455 (en/disable-command): New function extracted from enable-command.
16456 (enable-command, disable-command): Use it.
16458 2009-11-14 Glenn Morris <rgm@gnu.org>
16460 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16461 constants. (Bug#4913)
16463 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16465 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16467 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16468 defined in C that have no doc-strings. (Bug#1063)
16470 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16472 * cus-edit.el (data, files):
16473 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16475 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16477 * simple.el (shell-command): Doc fix (Bug#4891).
16479 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16481 2009-11-14 Glenn Morris <rgm@gnu.org>
16483 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16484 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16485 If they are already loaded, eval-after-load will do the right thing.
16487 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16490 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16492 * simple.el (x-selection-owner-p): Declare.
16493 (read-mail-command): Use custom radio type rather than choice.
16494 (completion-no-auto-exit): Doc fix.
16496 * custom.el (defgroup):
16497 * epg-config.el (epg): Doc fixes.
16499 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16501 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16502 * international/ccl.el (define-ccl-program): Do not purecopy the
16503 docstring, defconst does it anyway.
16505 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16507 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16510 * x-dnd.el (x-dnd-maybe-call-test-function):
16511 * window.el (split-window-vertically):
16512 * whitespace.el (whitespace-help-on):
16513 * vc-rcs.el (vc-rcs-consult-headers):
16514 * userlock.el (ask-user-about-lock-help)
16515 (ask-user-about-supersession-help):
16516 * type-break.el (type-break-force-mode-line-update):
16517 * time-stamp.el (time-stamp-conv-warn):
16518 * terminal.el (te-set-output-log, te-more-break, te-filter)
16519 (te-sentinel, terminal-emulator):
16520 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16521 (term-write-input-ring, term-check-source, term-start-output-log):
16522 (term-display-buffer-line, term-dynamic-list-completions):
16523 (term-ansi-make-term, serial-term):
16524 * subr.el (selective-display):
16525 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16526 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16527 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16528 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16529 (speedbar-remove-localized-speedbar-support)
16530 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16531 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16532 (speedbar-buffers-line-directory):
16533 * simple.el (shell-command-on-region, append-to-buffer)
16534 (prepend-to-buffer):
16535 * shadowfile.el (shadow-save-todo-file):
16536 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16537 (scroll-bar-maybe-set-window-start):
16538 * sb-image.el (speedbar-image-dump):
16539 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16540 (load-save-place-alist-from-file):
16541 * ps-samp.el (ps-print-message-from-summary):
16542 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16543 (ps-background-image, ps-begin-job, ps-do-despool):
16544 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16545 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16546 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16547 (pr-call-process, pr-file-list, pr-interface-save):
16548 * novice.el (disabled-command-function)
16549 (enable-command, disable-command):
16550 * mouse.el (mouse-buffer-menu-alist):
16551 * mouse-copy.el (mouse-kill-preserving-secondary):
16552 * macros.el (kbd-macro-query):
16553 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16554 * informat.el (batch-info-validate):
16555 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16556 * hippie-exp.el (try-expand-dabbrev-visible):
16557 * help-mode.el (help-make-xrefs):
16558 * help-fns.el (describe-variable):
16559 * generic-x.el (bat-generic-mode-run-as-comint):
16560 * finder.el (finder-mouse-select):
16561 * find-dired.el (find-dired-sentinel):
16562 * filesets.el (filesets-file-close):
16563 * files.el (list-directory):
16564 * faces.el (list-faces-display, describe-face):
16565 * facemenu.el (list-colors-display):
16566 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16567 * epg.el (epg--process-filter, epg-cancel):
16568 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16569 (epa--read-signature-type):
16570 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16571 (emerge-file-names):
16572 * ehelp.el (electric-helpify):
16573 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16574 * ediff-vers.el (rcs-ediff-view-revision):
16575 * ediff-util.el (ediff-setup):
16576 * ediff-mult.el (ediff-append-custom-diff):
16577 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16579 * echistory.el (Electric-command-history-redo-expression):
16580 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16581 * disp-table.el (describe-display-table):
16582 * dired.el (dired-find-buffer-nocreate):
16583 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16584 * dabbrev.el (dabbrev--same-major-mode-p):
16585 * chistory.el (list-command-history):
16586 * apropos.el (apropos-documentation):
16587 * allout.el (allout-obtain-passphrase):
16588 (allout-copy-exposed-to-buffer):
16589 (allout-verify-passphrase): Use with-current-buffer.
16591 2009-11-13 Glenn Morris <rgm@gnu.org>
16593 * Makefile.in (ELCFILES): Regenerate.
16595 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16597 * net/dbus.el (dbus-registered-objects-table): Rename from
16598 `dbus-registered-functions-table', because it contains also properties.
16599 (dbus-unregister-object): Unregister also properties.
16600 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16601 Use a timeout of 500 msec, in order to not block.
16602 (dbus-register-property, dbus-property-handler): New defuns.
16604 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16606 * simple.el (minibuffer-default-add-completions): Drop deprecated
16609 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16611 * textmodes/artist.el (artist-mouse-choose-operation):
16612 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16613 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16614 (artist-compute-up-event-key): New function.
16615 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16617 2009-11-13 Kenichi Handa <handa@m17n.org>
16619 * language/japan-util.el: Make sure that the value of jisx0208
16620 property is jisx0208 character.
16622 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16624 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16625 car or each item, not the whole list.
16627 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16629 * minibuffer.el (minibuffer-completion-help):
16630 Use minibuffer-hide-completions.
16632 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16634 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16635 (dired-revert): Use them (bug#4880).
16637 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16639 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16641 2009-11-12 Juri Linkov <juri@jurta.org>
16643 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16645 (find-file-literally-at-point): Alias of `ffap-literally'.
16647 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16649 * textmodes/ispell.el (ispell-skip-region-alist):
16650 * textmodes/css-mode.el (auto-mode-alist):
16651 * progmodes/compile.el (auto-mode-alist):
16652 * international/mule.el (ctext-non-standard-encodings-alist)
16653 (ctext-non-standard-encodings-regexp):
16654 * simple.el (shell-command-switch, text-read-only):
16655 * replace.el (occur-mode-map):
16656 * paths.el (rmail-file-name):
16657 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16658 * find-file.el (ff-special-constructs):
16659 * files.el (file-name-handler-alist):
16660 * composite.el: Purecopy strings.
16662 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16664 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16666 * widget.el (define-widget): Purecopy the docstring.
16667 * international/mule-cmds.el (charset): Do not purecopy the
16668 docstring here, define-widget does it.
16670 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16671 * textmodes/bibtex-style.el (auto-mode-alist):
16672 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16673 * progmodes/compile.el (compile-command):
16674 * language/korea-util.el (default-korean-keyboard):
16675 * international/mule-conf.el (file-coding-system-alist):
16676 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16677 * tooltip.el (tooltip-frame-parameters):
16678 * newcomment.el (comment-end, comment-padding):
16679 * dired.el (dired-trivial-filenames):
16680 * comint.el (comint-file-name-prefix): Purecopy initial values.
16682 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16684 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16685 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16687 (tramp-advice-make-auto-save-file-name)
16688 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16689 after removing the advice.
16691 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16693 * progmodes/grep.el (grep-regexp-alist):
16694 * international/mule-cmds.el (iso-2022-control-alist):
16695 * emacs-lisp/timer.el (timer-duration-words):
16696 * subr.el (version-separator, version-regexp-alist):
16697 * minibuffer.el (completion-styles-alist):
16698 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16699 Change defvars to defconsts.
16701 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16702 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16703 * international/mule-conf.el: Allow to be byte compiled.
16705 * international/mule.el (define-charset): Purecopy props.
16706 (load-with-code-conversion): Purecopy doc string and file name.
16707 (put-charset-property): Purecopy strings.
16708 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16710 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16711 (define-char-code-property): Correctly purecopy the table.
16713 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16715 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16717 * subr.el (add-hook): Purecopy strings.
16718 (eval-after-load): Purecopy load-history-regexp and the form.
16720 * custom.el (custom-declare-group): Purecopy load-file-name.
16722 * subr.el (menu-bar-separator): New defconst.
16723 * net/eudc.el (eudc-tools-menu):
16724 * international/mule-cmds.el (set-coding-system-map)
16725 (mule-menu-keymap):
16726 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16727 * vc-hooks.el (vc-menu-map):
16728 * replace.el (occur-mode-map):
16729 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16730 (menu-bar-edit-menu, menu-bar-goto-menu)
16731 (menu-bar-custom-menu, menu-bar-showhide-menu)
16732 (menu-bar-options-menu, menu-bar-tools-menu)
16733 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16734 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16735 (menu-bar-help-menu):
16736 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16737 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16739 * term/x-win.el (x-gtk-stock-map):
16740 * progmodes/vera-mode.el (auto-mode-alist):
16741 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16742 (inferior-lisp-program, inferior-lisp-load-command):
16743 * progmodes/hideshow.el (hs-special-modes-alist):
16744 * progmodes/gud.el (same-window-regexps):
16745 * progmodes/grep.el (grep-program, find-program, xargs-program):
16746 * net/telnet.el (same-window-regexps):
16747 * net/rlogin.el (same-window-regexps):
16748 * language/ethiopic.el (font-ccl-encoder-alist):
16749 * vc-sccs.el (vc-sccs-master-templates):
16750 * vc-rcs.el (vc-rcs-master-templates):
16751 * subr.el (cl-assertion-failed):
16752 * simple.el (next-error-overlay-arrow-position):
16753 * lpr.el (lpr-command):
16754 * locate.el (locate-ls-subdir-switches):
16755 * info.el (same-window-regexps, info)
16756 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16757 * image-mode.el (image-mode, auto-mode-alist):
16758 * hippie-exp.el (hippie-expand-ignore-buffers):
16759 * format.el (format-alist):
16760 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16762 * facemenu.el (facemenu-keybindings):
16763 * dired.el (dired-listing-switches, dired-chown-program):
16764 * diff.el (diff-switches, diff-command):
16765 * cus-edit.el (same-window-regexps):
16766 * bindings.el (mode-line-mule-info)
16767 (mode-line-buffer-identification): Purecopy strings.
16769 2009-11-11 Juri Linkov <juri@jurta.org>
16771 * simple.el (dired-get-filename) <declare-function>:
16772 Tell the byte-compiler about dired-get-filename.
16773 (shell-command): In Dired mode, get filename from the current line
16774 as the default value.
16776 2009-11-10 Glenn Morris <rgm@gnu.org>
16778 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16779 * calendar/holidays.el, progmodes/cperl-mode.el:
16780 Update x-popup-menu declarations.
16782 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16783 (list-load-path-shadows): Use dolist.
16784 (list-load-path-shadows): Use with-current-buffer.
16786 2009-11-10 Juri Linkov <juri@jurta.org>
16788 * minibuffer.el (read-file-name): Support a list of default values
16789 in `default-filename'. Use the first file name where only one
16790 element is required. Doc fix.
16792 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16794 * net/dbus.el (dbus-unregister-object): Release service, if no
16795 other method is registered for it.
16797 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16799 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16800 bookmark-sort-flag is non-nil (Bug#4653).
16802 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16804 * emulation/cua-base.el: Add CUA property to some CC mode commands
16807 2009-11-08 Kevin Ryde <user42@zip.com.au>
16809 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16810 at end of sentence (Bug#4818).
16812 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16814 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16815 Handle "see declaration of" MSFT statements (Bug#4100).
16817 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16819 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16820 (tramp-advice-file-expand-wildcards): Unload via
16821 `ad-remove-advice'.
16823 * net/trampver.el: Update release number.
16825 2009-11-08 Kevin Ryde <user42@zip.com.au>
16827 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16830 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16832 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16833 in order to keep context in SELinux.
16835 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16837 * dired-aux.el (dired-query): Place cursor in echo area and allow
16840 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16841 menu item if not on a directory (Bug#4701).
16843 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16845 Sync with Tramp 2.1.17.
16847 * net/tramp.el (tramp-handle-copy-directory): Don't use
16848 `file-remote-p' (due to compatibility).
16850 * net/tramp-compat.el (tramp-compat-copy-directory)
16851 (tramp-compat-delete-directory): New defuns.
16853 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16854 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16855 Use `tramp-compat-delete-directory'.
16857 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16858 (tramp-smb-handle-delete-directory):
16859 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16861 * net/trampver.el: Update release number.
16863 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16865 * tar-mode.el (tar-copy): Call write-region on the right buffer
16868 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16869 by hand, if necessary (Bug#4878).
16871 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16873 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16874 align size column (Bug#4839).
16876 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16879 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16881 * progmodes/ld-script.el (auto-mode-alist):
16882 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16884 * cus-face.el (custom-declare-face): Purecopy face spec.
16886 2009-11-06 Kenichi Handa <handa@m17n.org>
16888 * international/uni-bidi.el: Re-generated.
16889 * international/uni-category.el: Re-generated.
16890 * international/uni-combining.el: Re-generated.
16891 * international/uni-mirrored.el: Re-generated.
16893 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16895 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16896 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16897 (tex-start-options, slitex-run-command, latex-run-command)
16898 (tex-run-command, tex-directory):
16899 * textmodes/ispell.el (ispell-html-skip-alists)
16900 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16901 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16902 (adaptive-fill-regexp):
16903 * textmodes/dns-mode.el (auto-mode-alist):
16904 * progmodes/python.el (interpreter-mode-alist):
16905 * progmodes/etags.el (tags-compression-info-list):
16906 * progmodes/etags.el (tags-file-name):
16907 * net/browse-url.el (browse-url-galeon-program)
16908 (browse-url-firefox-program):
16909 * mail/sendmail.el (mail-signature-file)
16910 (mail-citation-prefix-regexp):
16911 * international/mule-conf.el (eight-bit):
16912 * international/latexenc.el (latex-inputenc-coding-alist):
16913 * international/fontset.el (x-pixel-size-width-font-regexp):
16914 * emacs-lisp/warnings.el (warning-type-format):
16915 * emacs-lisp/trace.el (trace-buffer):
16916 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16917 (emacs-lisp-mode-map):
16918 * calendar/holidays.el (holiday-solar-holidays)
16919 (holiday-bahai-holidays, holiday-islamic-holidays)
16920 (holiday-christian-holidays, holiday-hebrew-holidays)
16921 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16922 (hebrew-holidays-1, holiday-oriental-holidays)
16923 (holiday-general-holidays):
16924 * x-dnd.el (x-dnd-known-types):
16925 * tool-bar.el (tool-bar):
16926 * startup.el (site-run-file):
16927 * shell.el (shell-dumb-shell-regexp):
16928 * rfn-eshadow.el (file-name-shadow-tty-properties)
16929 (file-name-shadow-properties):
16930 * paths.el (remote-shell-program, news-directory):
16931 * mouse.el ([C-down-mouse-3]):
16932 * menu-bar.el (menu-bar-tools-menu):
16933 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16934 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16935 (jka-compr-compression-info-list):
16936 * isearch.el (search-whitespace-regexp):
16937 * image-file.el (image-file-name-extensions):
16938 * find-dired.el (find-ls-option):
16939 * files.el (directory-listing-before-filename-regexp)
16940 (directory-free-space-args, insert-directory-program)
16941 (list-directory-brief-switches, magic-fallback-mode-alist)
16942 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16943 (automount-dir-prefix):
16944 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16945 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16946 (face-font-registry-alternatives, face-font-registry-alternatives)
16947 (face-font-family-alternatives):
16948 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16949 (facemenu-foreground-menu, facemenu-face-menu):
16950 * epa-hook.el (epa-file-name-regexp):
16951 * dnd.el (dnd-protocol-alist):
16952 * textmodes/rst.el (auto-mode-alist):
16953 * button.el (default-button): Purecopy strings.
16955 2009-11-06 Glenn Morris <rgm@gnu.org>
16957 * Makefile.in (ELCFILES): Update.
16959 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16961 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16962 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16964 * nxml/xsd-regexp.el (xsdre-gen-categories):
16965 * nxml/xmltok.el (xmltok-parse-entity):
16966 * nxml/rng-parse.el (rng-parse-validate-file):
16967 * nxml/rng-maint.el (rng-format-manual)
16968 (rng-manual-output-force-new-line):
16969 * nxml/rng-loc.el (rng-save-schema-location-1):
16970 * nxml/rng-cmpct.el (rng-c-parse-file):
16971 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16972 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16974 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16976 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16977 Remove extra save-excursions and make-variable-buffer-local's.
16978 Suggested by Stefan Monnier.
16980 (verilog-getopt-file, verilog-module-inside-filename-p)
16981 (verilog-set-define): Merge GNU 1.35 and repair changes from
16982 switching to using with-current-buffer.
16984 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16985 being treated as a number and confusing AUTORESET.
16986 Reported by Dan Dever.
16988 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16989 Add verilog-auto-ignore-concat to fix backward compatibility with
16990 older verilog-modes. Reported by Dan Katz.
16992 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16993 containing closing anchors "...$".
16995 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16996 Reported by Wade Smith.
16998 (verilog-batch-execute-func): Comment on function usage.
17000 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17002 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17005 (verilog-label-re, verilog-calc-1): Support proper indent of named
17008 (verilog-backward-token, verilog-basic-complete-re)
17009 (verilog-beg-of-statement, verilog-indent-re): Support proper
17010 indent of the assert statement at the beginning of a block of text.
17012 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17013 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17016 2009-11-05 Glenn Morris <rgm@gnu.org>
17018 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17019 Emacs 19. (Bug#1531)
17020 (byte-compile-fix-header): Update for the above change.
17021 Drop test for epoch::version.
17023 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17024 * cus-dep.el (custom-make-dependencies):
17025 * finder.el (finder-compile-keywords):
17026 Use autoload-rubric's feature argument.
17028 * calendar/diary-lib.el (top-level): Make load behave more like require.
17030 * vc-git.el (vc-git-stash-map): Move definition before use.
17032 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17034 * custom.el (custom-declare-group): Purecopy standard-value.
17035 (custom-declare-group): Purecopy custom-prefix.
17037 * international/mule.el (load-with-code-conversion):
17038 Call do-after-load-evaluation unconditionally.
17040 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17042 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17044 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17046 2009-11-04 Glenn Morris <rgm@gnu.org>
17048 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17049 (byte-compile-compatibility): Remove option.
17050 (byte-compile-close-variables, byte-compile-fix-header)
17051 (byte-compile-insert-header, byte-compile-output-docform)
17052 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17053 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17054 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17055 (byte-compile-insert, byte-compile-defun):
17056 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17057 (byte-defop-compiler19): Remove.
17058 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17059 used by anything. Replace all calls with byte-defop-compiler.
17061 2009-11-04 Juri Linkov <juri@jurta.org>
17063 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17064 (menu-bar-options-menu): Don't quote the `prop' arg of
17065 `menu-bar-make-mm-toggle'.
17067 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17069 * calendar/calendar.el (cal-loaddefs):
17070 * calendar/diary-lib.el (diary-loaddefs):
17071 * calendar/holidays.el (hol-loaddefs):
17072 * eshell/esh-module.el (esh-groups): Load rather than require.
17074 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17076 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17078 (todo-top-priorities): Only display-buffer when called interactively.
17079 (todo-item-start): Don't save excursion point.
17080 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17081 (todo-insert-item-here, todo-file-item, todo-remove-item):
17082 Adjust uses of todo-item-start and todo-item-end.
17084 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17085 (autoload-rubric): Don't use any more.
17087 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17088 and only put a prop if it is non-nil.
17090 2009-11-03 Juri Linkov <juri@jurta.org>
17092 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17093 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17095 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17096 and "Menu" to make top-level menu item visually one unit (like
17097 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17098 multi-word menu items). Fix :help string for quit-window.
17100 2009-11-03 Glenn Morris <rgm@gnu.org>
17102 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17103 (byte-compile-file-form-define-abbrev-table)
17104 (byte-compile-file-form-custom-declare-variable)
17105 (byte-compile-variable-ref, byte-compile-defvar):
17106 Whether or not a warning is enabled should only affect whether we issue
17107 the warning, not whether or not we collect the relevant data.
17108 Eg warnings can be turned on and off throughout the course of a file.
17110 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17111 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17113 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17115 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17116 * play/mpuz.el (mpuz-create-buffer):
17117 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17118 (lm-print-y,s,noise, lm-print-w0, lm-init):
17119 * play/gomoku.el (gomoku-prompt-for-move):
17120 * play/fortune.el (fortune-in-buffer):
17121 * play/dissociate.el (dissociated-press):
17122 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17123 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17124 * mail/supercite.el (sc-eref-show):
17125 * mail/smtpmail.el (smtpmail-send-it):
17126 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17127 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17128 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17129 (rmail-summary-goto-msg, rmail-summary-expunge)
17130 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17131 (rmail-summary-add-label, rmail-summary-output-menu)
17132 (rmail-summary-output-body):
17133 * mail/rfc822.el (rfc822-addresses):
17134 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17135 * mail/mailpost.el (post-mail-send-it):
17136 * mail/hashcash.el (hashcash-generate-payment):
17137 * mail/feedmail.el (feedmail-run-the-queue)
17138 (feedmail-queue-send-edit-prompt-help-first)
17139 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17140 (feedmail-deduce-address-list):
17141 * eshell/esh-ext.el (eshell-remote-command):
17142 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17143 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17144 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17145 (viper-save-string-in-file, viper-valid-marker):
17146 * emulation/viper-keym.el (viper-toggle-key):
17147 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17148 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17149 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17150 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17151 (viper-exec-form-in-emacs, viper-brac-function):
17152 * emulation/viper.el (viper-delocalize-var):
17153 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17154 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17155 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17156 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17157 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17158 * emulation/edt.el (edt-electric-helpify):
17159 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17160 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17161 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17162 (cua-indent-to-global-mark-column):
17163 * calendar/diary-lib.el (calendar-mark-1):
17164 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17165 Use with-current-buffer.
17166 * emulation/viper.el (viper-delocalize-var): Use dolist.
17168 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17170 * comint.el (comint-replace-by-expanded-history-before-point):
17171 Replace !! with the previous input string literally (Bug#1795).
17173 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17175 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17176 to be made up of whitespace.
17178 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17180 * minibuffer.el (read-file-name): Don't use file dialogs for
17181 remote directories (Bug#99).
17183 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17185 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17187 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17189 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17190 instead of deleting the window or frame.
17192 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17194 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17195 Support face colors.
17197 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17198 New function. Support face colors (Bug#1168).
17199 (tex-common-initialization): Use it.
17201 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17202 mode allows it (Bug#1168).
17204 2009-10-31 Juri Linkov <juri@jurta.org>
17206 * facemenu.el (list-colors-display): Don't mark buffer as
17207 modified (Bug#3948).
17209 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17211 * international/mule-diag.el (list-character-sets-1):
17212 Minor message fix (Bug#3526).
17214 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17215 Fix face property (Bug#4834).
17216 (etags-list-tags, etags-tags-apropos-additional)
17217 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17220 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17223 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17225 * textmodes/two-column.el (2C-split):
17226 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17227 * textmodes/tex-mode.el (tex-set-buffer-directory):
17228 * textmodes/spell.el (spell-region, spell-string):
17229 * textmodes/reftex.el (reftex-erase-buffer):
17230 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17231 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17232 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17233 (reftex-select-item):
17234 * textmodes/reftex-ref.el (reftex-label-info-update)
17235 (reftex-offer-label-menu):
17236 * textmodes/reftex-index.el (reftex-index-change-entry)
17237 (reftex-index-phrases-info):
17238 * textmodes/reftex-global.el (reftex-create-tags-file)
17239 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17240 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17241 (reftex-view-crossref-from-bibtex):
17242 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17243 (reftex-extract-bib-entries-from-thebibliography)
17244 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17245 * textmodes/refbib.el (r2b-capitalize-title):
17246 (r2b-convert-buffer, r2b-help):
17247 * textmodes/page-ext.el (pages-directory)
17248 (pages-directory-goto-with-mouse):
17249 * textmodes/bibtex.el (bibtex-validate-globally):
17250 * textmodes/bib-mode.el (bib-capitalize-title):
17251 * textmodes/artist.el (artist-clear-buffer, artist-system):
17252 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17253 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17254 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17255 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17256 (xscheme-send-control-g-interrupt, xscheme-start-process)
17257 (xscheme-process-sentinel, xscheme-cd):
17258 * progmodes/verilog-mode.el (verilog-read-always-signals)
17259 (verilog-set-define, verilog-getopt-file)
17260 (verilog-module-inside-filename-p):
17261 * progmodes/sh-script.el:
17262 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17263 (python-pdbtrack-grub-for-buffer, python-execute-file):
17264 * progmodes/octave-inf.el (inferior-octave):
17265 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17266 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17267 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17268 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17269 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17270 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17271 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17272 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17273 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17274 (idlwave-shell-examine-display, idlwave-shell-run-region)
17275 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17276 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17277 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17278 (idlwave-help-get-help-buffer):
17279 * progmodes/gud.el (gud-basic-call, gud-find-class)
17280 (gud-tooltip-activate-mouse-motions-if-enabled):
17281 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17282 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17283 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17284 (ebrowse-tags-next-file):
17285 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17286 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17287 (ebnf-eps-finish-and-write):
17288 * progmodes/cpp.el (cpp-edit-save):
17289 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17290 * progmodes/cc-defs.el (c-emacs-features):
17291 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17292 (antlr-directory-dependencies):
17293 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17294 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17295 (ada-find-any-references, ada-make-filename-from-adaname)
17296 (ada-make-body-gnatstub):
17297 * obsolete/rnews.el (news-list-news-groups):
17298 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17299 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17300 * net/rcirc.el (rcirc-debug):
17301 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17302 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17303 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17304 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17305 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17306 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17307 (newsticker--treeview-list-clear-highlight)
17308 (newsticker--treeview-list-update-highlight)
17309 (newsticker--treeview-list-highlight-start)
17310 (newsticker--treeview-tree-update-highlight)
17311 (newsticker--treeview-get-selected-item)
17312 (newsticker-treeview-mark-list-items-old)
17313 (newsticker--treeview-set-current-node):
17314 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17315 * net/newst-backend.el (newsticker--get-news-by-funcall)
17316 (newsticker--get-news-by-wget, newsticker--image-get)
17317 (newsticker--image-sentinel):
17318 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17319 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17320 (eudc-ph-close-session):
17321 * net/eudc.el (eudc-save-options):
17322 * language/thai-word.el (thai-update-word-table):
17323 * language/japan-util.el (japanese-string-conversion):
17324 * international/titdic-cnv.el (tsang-quick-converter)
17325 (ziranma-converter, ctlau-converter):
17326 * international/mule-cmds.el (describe-language-environment):
17327 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17328 (skkdic-convert-postfix, skkdic-convert-prefix):
17329 (skkdic-convert-okuri-nasi, skkdic-convert):
17330 * emacs-lisp/re-builder.el (reb-update-overlays):
17331 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17332 * emacs-lisp/gulp.el (gulp-send-requests):
17333 * emacs-lisp/find-gc.el (trace-call-tree):
17334 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17335 (eieio-describe-generic):
17336 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17337 * emacs-lisp/edebug.el (edebug-outside-excursion):
17338 * emacs-lisp/debug.el (debugger-make-xrefs):
17339 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17340 * emacs-lisp/chart.el (chart-new-buffer):
17341 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17342 Use with-current-buffer.
17343 * textmodes/artist.el (artist-system): Don't call
17344 copy-sequence on a fresh string.
17345 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17347 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17349 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17350 is no item to edit. (Bug#4820)
17351 (todo-top-priorities): Restore point and restore narrowing in Todo
17354 2009-10-31 Glenn Morris <rgm@gnu.org>
17356 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17357 (comint-last-output-start, comint-last-input-start)
17358 (comint-last-input-end): Don't defvar when compiling.
17359 (ange-ftp-process-file): Use bound-and-true-p.
17361 * pcmpl-rpm.el (top-level): Move provide statement to end.
17362 (pcmpl-rpm): Remove unused custom group.
17364 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17366 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17368 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17369 (byte-compile-warnings): Add `constants' as an option.
17370 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17371 (display-call-tree): Update for byte-compile-fdefinition possibly
17372 returning `(macro lambda ...)'. (Bug#4778)
17373 (byte-compile-variable-ref, byte-compile-setq-default):
17374 Respect `constants' member of byte-compile-warnings.
17376 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17378 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17379 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17382 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17384 * textmodes/ispell.el (ispell-skip-region-alist):
17385 * international/mule-conf.el (eight-bit):
17386 * international/fontset.el (font-encoding-alist):
17387 * startup.el (pure-space-overflow-message):
17388 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17389 * paths.el (gnus-nntp-service, rmail-spool-directory)
17390 (term-file-prefix):
17391 * files.el (save-some-buffers-action-alist):
17392 * cmuscheme.el (same-window-buffer-names):
17393 * ielm.el (same-window-buffer-names):
17394 * shell.el (same-window-buffer-names):
17395 * mail/sendmail.el (same-window-buffer-names):
17396 * progmodes/inf-lisp.el (same-window-buffer-names):
17397 * bindings.el (mode-line-client)
17398 (mode-line-column-line-number-mode-map):
17399 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17400 (tibetan-precomposed-regexp): Purecopy string arguments.
17402 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17404 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17405 (calcDigit-nondigit):
17406 * calc/calc-yank.el (calc-copy-to-buffer):
17407 * calc/calc-units.el (calc-invalidate-units-table):
17408 * calc/calc-trail.el (calc-trail-yank):
17409 * calc/calc-store.el (calc-insert-variables):
17410 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17411 * calc/calc-prog.el (calc-read-parse-table):
17412 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17413 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17414 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17415 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17416 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17417 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17418 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17419 * calc/calc-ext.el (calc-realign):
17420 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17421 (calc-embedded-finish-edit, calc-embedded-make-info)
17422 (calc-embedded-finish-command, calc-embedded-stack-change):
17423 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17425 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17426 shell-dynamic-complete-filename in preference to
17427 comint-dynamic-complete-filename.
17429 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17430 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17431 Don't consider whether the display supports colors.
17432 (bookmark-import-new-list): Use dolist.
17433 (bookmark-bmenu-mode-map): Move initialization into declaration.
17434 (bookmark-bmenu-list): Use dolist, simplify.
17435 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17436 (menu-bar-final-items): Use push.
17438 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17440 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17441 it works on remote files.
17442 (vc-hg-diff): Don't pass any `--cwd' argument.
17444 2009-10-27 Kevin Ryde <user42@zip.com.au>
17446 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17447 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17448 (Further to Bug#3921).
17450 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17452 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17453 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17454 calling `tramp-imap-put-file'. Add file size to the call.
17455 (tramp-imap-get-file-entries): Compute also user name, file size,
17457 (tramp-imap-handle-insert-directory): Insert uid and gid.
17458 (tramp-imap-handle-file-attributes): Transform uid and gid
17459 according to `id-format'.
17460 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17461 size in header X-Size.
17463 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17465 * simple.el (transpose-subr): Give clearer error when the mark
17466 is not set. (Bug#4807)
17468 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17470 * net/tramp.el (tramp-perl-file-truename): New defconst.
17471 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17472 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17473 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17474 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17476 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17477 Ignore `dired-call-process'.
17478 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17480 2009-10-26 Julian Scheid <julians37@gmail.com>
17482 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17483 (tramp-get-remote-readlink): New defun.
17484 (tramp-handle-file-truename): Use it.
17485 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17486 file exists if cache value present.
17487 (tramp-check-cached-permissions): New defun.
17488 (tramp-handle-file-readable-p): Use it.
17489 (tramp-handle-file-writable-p): Likewise.
17490 (tramp-handle-file-executable-p): Likewise.
17491 (tramp-handle-file-name-all-completions): Try using Perl to get
17492 partial completions. When perl not available, combine `cd' and
17493 `ls' into single remote operation and use shell expansion to get
17494 partial remote directory contents. Set `file-exists-p' cache for
17495 directory and any files returned by ls. Change cache handling to
17496 support partial directory contents. Use error message emitted by
17497 remote `cd' or Perl code for local tramp-error.
17498 (tramp-do-copy-or-rename-file-directly): Avoid separate
17499 tramp-send-command-and-check call.
17500 (tramp-handle-process-file): Merge three remote ops into one.
17501 Do not flush all caches when `process-file-side-effects' is set.
17502 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17503 file-attributes shows uid/gid to be set already.
17505 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17507 * textmodes/tex-mode.el (tex-dvi-view-command)
17508 (tex-show-queue-command, tex-open-quote):
17509 * progmodes/ruby-mode.el (auto-mode-alist)
17510 (interpreter-mode-alist): Purecopy strings.
17512 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17514 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17515 string for the hook, keymap and abbrev table.
17517 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17519 * x-dnd.el (x-dnd-xdnd-to-action):
17520 * startup.el (fancy-startup-text, fancy-about-text): Change to
17521 defconst from defvar.
17523 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17525 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17526 Purecopy initialization strings.
17528 * mail/sendmail.el (mail-header-separator)
17529 (mail-personal-alias-file):
17530 * mail/rmail.el (rmail-default-dont-reply-to-names)
17531 (rmail-ignored-headers, rmail-retry-ignored-headers)
17532 (rmail-highlighted-headers, rmail-secondary-file-directory)
17533 (rmail-secondary-file-regexp):
17534 * files.el (null-device, file-name-invalid-regexp)
17535 (locate-dominating-stop-dir-regexp)
17536 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17537 (interpreter-mode-alist): Use mapcar instead of mapc.
17539 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17541 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17542 (completion-ignored-extensions):
17543 (debug-ignored-errors): Purecopy strings.
17545 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17547 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17548 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17549 (pcomplete--here): Use push.
17551 * subr.el (all-completions): Declare the 4th arg obsolete.
17553 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17555 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17556 (pcomplete-unquote-argument): New function.
17557 (pcomplete--common-suffix): Always pay attention to case.
17558 (pcomplete--table-subvert): Quote and unquote the text.
17559 (pcomplete--common-quoted-suffix): New function.
17560 (pcomplete-std-complete): Use it and pcomplete-begin.
17562 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17563 we're inside a dedicated or minibuffer window.
17565 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17567 * bookmark.el: Update documentation, especially documentation
17568 of `bookmark-alist' and of the bookmark file format.
17569 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17571 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17573 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17574 keybindings apply to the mail buffer (Bug#4003). Shrink help
17577 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17578 (global-whitespace-mode, global-whitespace-newline-mode)
17579 (whitespace-toggle-options, global-whitespace-toggle-options):
17580 Doc fix (Bug#3660).
17582 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17583 of xmltok-start before the end tag was inserted (Bug#2840).
17585 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17586 patterns that are preceded by an open-paren (Bug#1320).
17588 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17590 * files.el (delete-directory): Delete symlinks to directories with
17591 delete-file (Bug#4739).
17593 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17595 * vc.el (vc-backend-for-registration): Rename from
17596 vc-get-backend-for-registration. Update callers.
17598 * international/mule-cmds.el (set-language-info-alist):
17600 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17601 (charset): Purecopy the name.
17602 (define-char-code-property): Purecopy string arguments.
17604 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17605 Purecopy string arguments.
17607 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17608 * ediff-hook.el (menu-bar-ediff-menu):
17609 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17610 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17612 2009-10-24 Glenn Morris <rgm@gnu.org>
17614 * comint.el (comint-dynamic-list-completions):
17615 * term.el (term-dynamic-list-completions): Use choose-completion rather
17616 than obsolete alias mouse-choose-completion.
17618 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17619 file-cache-choose-completion.
17620 (file-cache-choose-completion): Handle an optional event argument.
17621 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17623 * progmodes/octave-mod.el (octave-complete-symbol):
17624 Use choose-completion if mouse-choose-completion is ever removed.
17626 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17629 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17632 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17634 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17636 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17637 Ignore `pred' now that we receive one.
17638 Handle test-completion specially.
17640 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17642 * vc.el (vc-responsible-backend): Throw an error if not backend is
17643 found. Remove the REGISTER argument. Move the code dealing with
17645 (vc-get-backend-for-registration): ... here. New function.
17646 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17647 of vc-responsible-backend, pass the file name instead of the
17650 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17652 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17654 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17655 (pcomplete-comint-setup): Don't modify a global var via
17656 accidental side-effects.
17657 (pcomplete-shell-setup): Adjust call accordingly.
17658 (pcomplete-parse-comint-arguments): Use push.
17660 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17662 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17663 Allow uncapitalized info node names (Bug#3921).
17665 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17666 to the DEBUG file (Bug#3781).
17668 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17670 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17671 dictionary entry (Bug#4579).
17673 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17675 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17676 from `rfn-eshadow-update-overlay-hook' when unloading.
17677 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17678 "rsyncc". Adjust doc string.
17679 (tramp-temp-buffer-file-name): New buffer-local defvar.
17680 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17681 Keep temporary file when indicated by method ("rsync" and
17683 (tramp-handle-write-region): Handle APPEND.
17684 (tramp-delete-temp-file-function): New defun. Added to
17685 `kill-buffer-hook'.
17687 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17689 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17691 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17693 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17694 (color-name-rgb-alist, tty-standard-colors)
17695 (tty-color-mode-alist): Change to defconst.
17697 * simple.el (mark-inactive): Purecopy message.
17699 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17700 (global-map, yank-menu):
17701 * textmodes/ispell.el (ispell-menu-map):
17702 * net/eudc.el (eudc-tools-menu):
17703 * international/mule-cmds.el (describe-language-environment-map)
17704 (setup-language-environment-map, set-coding-system-map)
17705 (mule-menu-keymap):
17706 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17707 * replace.el (occur-mode-map):
17708 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17710 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17712 * calc/calc.el (math-read-number, math-read-number-simple):
17713 Use `save-match-data'.
17715 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17717 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17718 rather than fiddling with global-map bindings, since it should only
17719 affect per-terminal settings.
17720 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17722 * minibuffer.el (completion-table-with-terminator): Allow to specify
17723 the terminator-regexp.
17725 * simple.el (switch-to-completions): Look for *Completions* in other
17728 * pcomplete.el: Allow the use of completion-tables.
17729 (pcomplete-std-complete): New command.
17730 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17731 (pcomplete--here): Use a function for `form' rather than an expression,
17732 so it can be byte-compiled.
17733 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17734 Add edebug declaration.
17735 (pcomplete-show-completions): Remove unused var `curbuf'.
17736 (pcomplete-do-complete, pcomplete-stub):
17737 Don't assume `completions' is a list of strings any more.
17739 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17741 * find-dired.el (find-name-arg): Fix typo in docstring.
17743 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17745 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17746 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17748 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17751 * comint.el (comint-read-input-ring, comint-write-input-ring)
17752 (comint-substitute-in-file-name)
17753 (comint-dynamic-complete-as-filename)
17754 (comint-dynamic-simple-complete)
17755 (comint-dynamic-list-filename-completions)
17756 (comint-dynamic-list-completions)
17757 (comint-redirect-results-list-from-process): Minor simplifications.
17759 2009-10-21 Kevin Ryde <user42@zip.com.au>
17761 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17762 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17763 the first form. And insert a blank line after ";;; Code" since
17764 that's usual style. (Bug#4612)
17766 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17768 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17770 * minibuffer.el (completion-table-with-terminator): Properly implement
17771 boundaries, in case `terminator' appears in the suffix.
17772 (completion--embedded-envvar-table): Don't return boundaries if
17773 there's no valid completion. Simplify.
17774 (completion-file-name-table): New completion table extracted from
17775 completion--file-name-table.
17776 (completion--file-name-table): Use it.
17777 (read-file-name-predicate): Declare obsolete.
17778 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17779 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17780 completion-file-name-table, and use the `pred' argument.
17781 * files.el (locate-file-completion-table): Use the `pred' arg rather
17782 than read-file-name-predicate.
17783 (abbreviate-file-name): Use \` rather than ^ for BOS.
17785 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17787 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17788 vc-responsible-backend to register, it causes problems.
17790 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17792 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17794 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17796 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17797 (tramp-smb-handle-file-attributes): Use it.
17798 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17799 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17800 `mapcar'. Use `tramp-smb-get-stat-capability'.
17801 Add `dired-filename' text properties.
17802 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17803 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17806 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17808 * subr.el (read-key-delay): Reduce to 0.01.
17809 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17812 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17814 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17816 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17817 (Info-menu): Remove unused vars `last' and `completions'.
17818 (Info-index-nodes): Remove unused var `node'.
17820 * info.el (Info-complete-menu-item): Use complete-with-action.
17822 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17824 Make vc-annotate work through copies and renames.
17825 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17826 Return the file name too.
17827 (vc-annotate-revision-at-line)
17828 (vc-annotate-find-revision-at-line)
17829 (vc-annotate-revision-previous-to-line)
17830 (vc-annotate-show-log-revision-at-line): Update to get the file
17831 name from vc-annotate-extract-revision-at-line.
17832 (vc-annotate-show-diff-revision-at-line-internal): Change the
17833 argument to mean whether to show a file diff or not. Get the file
17834 name from vc-annotate-extract-revision-at-line.
17835 (vc-annotate-show-diff-revision-at-line):
17836 Update vc-annotate-show-diff-revision-at-line call.
17837 (vc-annotate-warp-revision): Add an optional file argument.
17839 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17840 (vc-git-annotate-extract-revision-at-line): Also return the file
17843 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17844 command. Remove unused code.
17845 (vc-hg-annotate-re): Update to match --follow output.
17846 (vc-hg-annotate-extract-revision-at-line): Also return the file
17849 * vc.el: Update annotate-extract-revision-at-line documentation.
17851 2009-10-18 Kevin Ryde <user42@zip.com.au>
17853 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17854 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17856 * net/browse-url.el (browse-url): Identify alist with "consp and
17857 not functionp" and let all other things go down the `apply' leg,
17858 as suggested by Stefan. (Further to bug#4531.)
17860 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17862 * minibuffer.el (read-file-name): Check for repeat before putting
17863 a default argument in file-name-history (Bug#4657).
17865 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17866 read syntax (Bug#4737).
17868 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17870 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17872 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17873 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17874 entries and make note of obsolete tags.
17876 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17878 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17880 2009-10-18 Glenn Morris <rgm@gnu.org>
17882 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17883 grep, so that binary files (eg international/uni-bidi.el) can match.
17884 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17885 now, and in any case the file header format has changed.
17887 2009-10-17 Glenn Morris <rgm@gnu.org>
17889 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17890 (flyspell-get-word, flyspell-large-region)
17891 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17893 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17895 * Makefile.in (ELCFILES): Add ede/shell.
17897 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17899 * term/common-win.el (x-colors): Purecopy it.
17901 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17903 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17904 permissive for when the buffer is empty.
17905 (tar-header-block-tokenize): Decode the username and groupname.
17906 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17908 2009-10-17 Eric Ludlam <zappo@gnu.org>
17910 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17911 contains multibyte characters, choose first applicable coding
17912 system automatically.
17914 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17916 * international/mule-cmds.el (select-safe-coding-system): If the file
17917 has a coding cookie, use it regardless of any other setting (bug#4712).
17919 2009-10-17 Glenn Morris <rgm@gnu.org>
17921 * foldout.el (foldout-mouse-swallow-events):
17922 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17924 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17925 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17926 (dired-keep-marker-symlink, dired-dwim-target)
17927 (dired-copy-preserve-time): Do not autoload these defcustoms.
17929 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17930 messages from messing up the file coding. (Bug#4623)
17932 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17934 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17935 if no match is found for the current dictionary. (Bug#4578)
17937 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17938 optional, since that is how it is documented, and this is often called
17939 with a nil argument. (Bug#4577)
17940 (flyspell-external-point-words, flyspell-auto-correct-word)
17941 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17942 (flyspell-word-search-backward): Remove nil argument in calls to
17943 flyspell-get-word, since it is not needed now.
17945 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17947 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17949 2009-10-16 Glenn Morris <rgm@gnu.org>
17951 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17953 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17955 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17956 (ange-ftp-file-size): New function.
17957 (ange-ftp-file-attributes): Use it.
17959 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17961 * net/tramp-smb.el (tramp-smb-version): New defvar.
17962 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17965 2009-10-16 Glenn Morris <rgm@gnu.org>
17967 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17968 Maybe copy some custom properties from old to new name. (Bug#4706)
17970 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17972 * subr.el (error, sit-for, start-process-shell-command)
17973 (start-file-process-shell-command): Set the calling convention
17974 after the function definition.
17976 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17978 * subr.el (error, sit-for, start-process-shell-command)
17979 (start-file-process-shell-command): Use the new
17980 set-advertised-calling-convention feature.
17982 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17984 * international/ucs-normalize.el (ucs-normalize-version):
17986 (check-range): Adjust for Unicode 5.2.
17988 2009-10-15 Juri Linkov <juri@jurta.org>
17990 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17991 to the `menu-item' format.
17993 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17995 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17996 if the environment variable does not exist.
17998 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17999 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18001 (tramp-smb-handle-add-name-to-file)
18002 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18003 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18004 (tramp-smb-handle-file-attributes)
18005 (tramp-smb-do-file-attributes-with-stat)
18006 (tramp-smb-handle-file-local-copy)
18007 (tramp-smb-handle-insert-directory)
18008 (tramp-smb-handle-make-directory)
18009 (tramp-smb-handle-make-directory-internal)
18010 (tramp-smb-handle-make-symbolic-link)
18011 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18012 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18013 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18014 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18015 Handle long file names.
18016 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18017 process is running.
18018 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18019 Read share names with "-g" option.
18021 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18023 * net/rcirc.el (rcirc-view-log-file): New command.
18024 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18025 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18028 2009-10-15 Glenn Morris <rgm@gnu.org>
18030 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18031 from the second command-line argument.
18032 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18033 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18034 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18035 w32-batch-update-autoloads.
18036 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18037 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18039 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18040 the headers cannot be located. Simplify, subtracting superflous
18043 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18045 Replace completion-base-size by completion-base-position to fix bugs
18046 such as (bug#4699).
18047 * simple.el (completion-base-position): New var.
18048 (completion-base-size): Mark as obsolete.
18049 (choose-completion): Make it work for mouse events as well.
18050 Pass the new base-position to choose-completion-string.
18051 (choose-completion-guess-base-position): New function, extracted from
18052 choose-completion-delete-max-match.
18053 (choose-completion-delete-max-match): Use it. Make obsolete.
18054 (choose-completion-string): Use the new base-position info.
18055 (completion-root-regexp): Delete.
18056 (completion-setup-function): Preserve completion-base-position.
18057 Eliminate obsolete base-size manipulation.
18058 * minibuffer.el (display-completion-list): Don't mess with base-size.
18059 (minibuffer-completion-help): Set completion-base-position instead.
18060 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18062 * textmodes/bibtex.el (bibtex-complete):
18063 * emacs-lisp/crm.el (crm--choose-completion-string):
18064 Adjust to new calling convention.
18065 * complete.el (partial-completion-mode): Use minibufferp to avoid
18066 bumping into incompatible change to choose-completion-string-functions.
18067 * ido.el (ido-choose-completion-string): Make its calling convention
18069 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18070 base-size manipulation.
18071 (comint-dynamic-list-input-ring): Use dotimes and push.
18072 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18073 fundamental-mode. Use `or'.
18075 2009-10-14 Juri Linkov <juri@jurta.org>
18077 * misearch.el (multi-isearch-next-buffer-from-list)
18078 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18080 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18082 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18085 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18086 string we return is all made up of text from the completions rather
18087 than part from the completions and part from the input (bug#4219).
18089 * ido.el (ido-everywhere): Use define-minor-mode.
18091 * buff-menu.el (list-buffers, ctl-x-map):
18092 Mark the entry points with ;;;###autoload cookies.
18094 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18096 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18097 correctly in the detached head case.
18098 (vc-git-print-log): Remove unused binding.
18100 * vc.el (vc-responsible-backend): When a directory is passed for
18101 for registration create a VC repository if no backend is
18102 responsible for the directory argument.
18103 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18105 * vc.el: Move comments about RCS and SCCS ...
18107 * vc-sccs.el: ... here, respectively.
18109 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18111 * minibuffer.el (completion--file-name-table): Return nil if there's
18112 no file completion, even if substitute-in-file-name changed
18113 the string (bug#4708).
18115 2009-10-13 Juri Linkov <juri@jurta.org>
18117 * files-x.el (read-file-local-variable-value): Don't filter out
18118 minor modes from mode name completion (bug#4664).
18120 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18122 * international/mule-cmds.el (ucs-names): Remove exclusion of
18123 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18125 2009-10-13 Kenichi Handa <handa@m17n.org>
18127 * international/uni-name.el: Regenerated.
18129 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18131 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18132 should be automatically buffer-local, but isn't.)
18134 2009-10-12 Sam Steingold <sds@gnu.org>
18136 * progmodes/compile.el (compilation-next-error-function): Fix the
18137 timestamps if the buffer has been visited before.
18138 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18139 non-anchored patterns, like the perl one (bug#3928).
18141 2009-10-12 Glenn Morris <rgm@gnu.org>
18143 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18146 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18148 * proced.el (proced-unload-function): New function.
18150 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18151 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18154 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18156 2009-10-11 Juri Linkov <juri@jurta.org>
18158 * files-x.el (read-file-local-variable-value):
18159 Provide default value only for bound variables (bug#4664).
18161 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18163 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18164 connection methods like smb.
18166 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18169 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18170 (tramp-smb-file-name-handler-alist): Add handlers for
18171 `add-name-to-file', `make-symbolic-link'.
18172 (tramp-smb-handle-add-name-to-file)
18173 (tramp-smb-do-file-attributes-with-stat)
18174 (tramp-smb-handle-make-symbolic-link)
18175 (tramp-smb-get-cifs-capabilities): New defuns.
18176 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18177 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18178 (tramp-smb-handle-file-local-copy)
18179 (tramp-smb-handle-make-directory-internal)
18180 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18181 The file name syntax depends on cifs capabilities.
18182 (tramp-smb-handle-file-attributes):
18183 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18184 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18185 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18187 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18189 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18190 (eieio-defclass): Apply deftype handler and setf-method properties
18192 (eieio-add-new-slot): Avoid union function from cl library.
18193 (eieio--typep): New function.
18194 (eieio-perform-slot-validation): Use it.
18196 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18198 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18199 Update documentation to refer to the variables documented in r1.135.
18202 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18204 * bookmark.el (Info-suffix-list): Remove this unused variable.
18205 (bookmark-current-point): Remove this obsolete variable.
18206 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18207 Adjust for removal of bookmark-current-point.
18209 (bookmarks-already-loaded, bookmark-current-buffer)
18210 (bookmark-yank-point): Document. (Bug#4188)
18212 2009-10-10 Glenn Morris <rgm@gnu.org>
18214 * frame.el (frame-height): Doc fix.
18216 * calendar/calendar.el (calendar-split-width-threshold): New option.
18217 (calendar-basic-setup): Use calendar-split-width-threshold.
18219 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18221 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18222 Ideographic Supplement" range (U+1F200..U+1F2FF).
18224 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18226 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18227 since the list will have been rebuilt anyway. (Bug#4349)
18229 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18231 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18232 (bookmark-bmenu-execute-deletions): Don't save here, as
18233 bookmark-delete will now do so if necessary.
18234 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18237 2009-10-09 Glenn Morris <rgm@gnu.org>
18239 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18241 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18243 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18244 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18245 argument now, so the two function's behaviors will match. (Bug#3645)
18247 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18249 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18250 (tramp-file-name-real-host, tramp-file-name-port):
18251 Apply `save-match-data'.
18253 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18254 case both directories are remote.
18255 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18256 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18258 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18260 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18262 2009-10-07 Glenn Morris <rgm@gnu.org>
18264 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18267 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18269 * files-x.el (read-file-local-variable): Include some
18270 non-user-variables in the completion table (bug#4664).
18272 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18274 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18277 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18278 (tramp-smb-file-name-handler-alist): Add handler for
18279 `copy-directory', `expand-file-name', `set-file-modes'.
18280 (tramp-smb-handle-copy-directory)
18281 (tramp-smb-handle-expand-file-name)
18282 (tramp-smb-handle-set-file-modes): New defuns.
18283 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18284 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18286 (tramp-smb-handle-insert-directory): Don't flush the cache.
18287 (tramp-smb-maybe-open-connection): Check for samba client and
18290 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18292 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18293 to not error out of search for "^lisp=" fails.
18295 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18297 * makefile.w32-in (WINS_UPDATES): New macro.
18298 (custom-deps, finder-data, autoloads): Use it.
18300 2009-10-07 Glenn Morris <rgm@gnu.org>
18302 * Makefile.in (autoloads): Revert previous change.
18303 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18304 the list of preloaded files passed on the command-line, get
18305 it from src/Makefile.
18307 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18308 show the original buffer rather than a random one.
18310 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18312 * help.el (describe-no-warranty): Place point in a slightly better
18313 position in the GPLv3 text.
18315 2009-10-06 Sam Steingold <sds@gnu.org>
18317 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18318 the comm attribute is present before calling regexp-quote.
18320 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18322 * play/animate.el (animate-string): For good effect, make sure
18323 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18325 * play/animate.el (animate-sequence, animate-birthday-present):
18326 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18328 2009-10-06 Glenn Morris <rgm@gnu.org>
18330 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18332 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18333 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18334 (batch-update-autoloads): Process a string value of autoload-excludes,
18335 set during the build process.
18336 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18338 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18339 inside with-parsed... macro so that `v' is defined.
18341 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18342 * progmodes/fortran.el (fortran-end-of-block)
18343 (fortran-beginning-of-block):
18344 Also push mark in the macro case.
18346 * emerge.el (emerge-show-file-name):
18347 * calc/calc.el (calc-quit):
18348 * calc/calc-misc.el (calc-big-or-small):
18349 * calc/calc-graph.el (calc-graph-view):
18350 * calc/calc-ext.el (calc-reset):
18351 * calendar/calendar.el (calendar-basic-setup):
18352 Use window-full-height-p.
18354 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18355 header we don't understand, don't insert another. (Bug#4624)
18356 If changing mime charset, insert the new one in the right place.
18358 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18360 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18361 (cal-tex-cursor-month): Correctly increment the end date for diary and
18362 holiday listing. (Bug#4626)
18364 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18366 * help-fns.el (describe-function-1): Don't burp if the function is not
18369 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18371 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18372 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18373 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18374 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18376 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18377 (eieio-default-superclass): Reflow docstrings.
18378 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18379 (eieio-unbind-method-implementations, defmethod)
18380 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18381 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18382 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18383 (eieio-slot-originating-class-p, eieio-slot-name-index)
18384 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18385 (constructor, initialize-instance, no-next-method, object-print)
18386 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18387 Fix typos in docstrings.
18388 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18389 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18390 (next-method-p): Doc fixes.
18391 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18392 Fix typos in error messages.
18393 (eieio-defmethod): Fix typo in description of generic method.
18395 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18396 (eieio-persistent-save-interactive, slot-missing):
18397 Fix typos in docstrings.
18398 (eieio-instance-inheritor-slot-boundp): Doc fix.
18400 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18401 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18403 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18404 (eieio-custom-object-apply-reset):
18405 Fix typos in docstrings and error messages.
18407 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18408 Fix typo in docstring.
18410 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18411 (eieio-browse-tree): Doc fix.
18412 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18413 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18414 Fix typos in docstrings.
18416 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18417 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18418 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18419 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18422 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18424 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18425 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18426 Set log-view-vc-backend so that diff can work.
18428 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18430 (vc-diff-internal): Autoload this instead of vc-version-diff.
18432 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18434 * simple.el (eval-expression): Doc fix.
18436 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18438 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18440 * files.el (directory-files-no-dot-files-regexp): New defconst.
18441 (delete-directory): Use it.
18442 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18444 * net/tramp.el (tramp-verbose): Fix docstring.
18445 (tramp-methods): Add recursive option to `tramp-copy-args'.
18446 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18447 "scp1_old", "scp2_old", "rsync", "rsyncc".
18448 (tramp-default-method): Check also for `auth-source-user-or-password'.
18449 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18450 Add handler for `copy-directory'.
18451 (tramp-handle-copy-directory): New defun.
18452 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18453 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18454 Optimize sent command.
18456 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18458 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18459 window if necessary.
18461 * calendar/calendar.el (calendar-basic-setup): Don't call
18462 switch-to-buffer in a dedicated window.
18464 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18466 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18467 don't do anything related to relocating, just return nil.
18468 (bookmark-error-no-filename): New error.
18469 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18470 bookmark has no file. Don't even attempt to handle things that
18471 are not files; the whole point of custom handlers is to keep that
18472 knowledge elsewhere anyway. Tighten some comments.
18473 (bookmark-file-or-variation-thereof): Remove now-unused function.
18474 (bookmark-location): Doc string fix.
18477 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18479 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18480 don't use a file dialog, because they usually don't know how to read
18481 a directory target from the user. (Bug#4230)
18482 Also, make sure the prompt can display directories as well as files.
18484 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18486 * bookmark.el (bookmark-set, bookmark-buffer-name):
18487 Improve doc strings. (Bug#1193)
18489 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18491 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18492 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18493 (bookmark-get-annotation, bookmark-set-annotation)
18494 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18495 (bookmark-set-position, bookmark-get-front-context-string)
18496 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18497 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18498 (bookmark-jump-other-window, bookmark-handle-bookmark)
18499 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18500 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18501 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18502 Improve doc strings to say whether bookmark can be a string or
18503 a record or both, and make other consistency and clarity fixes.
18504 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18505 (bookmark-default-annotation-text, bookmark-yank-word)
18506 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18507 (bookmark-import-new-list, bookmark-maybe-rename)
18508 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18509 (bookmark-bmenu-bookmark): Give these doc strings.
18510 (bookmark-bmenu-check-position): Give this a doc string, but also
18511 add a FIXME comment about how the function may be pointless.
18512 (bookmark-default-handler): Rework doc string and change a
18513 parameter name, to clarify that this takes a bookmark record
18514 not a bookmark name.
18515 (bookmark-set): Change a parameter name to indicate its meaning,
18516 and improve the doc string a bit.
18519 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18521 * bookmark.el (bookmark-alist): Document the new `handler' element
18522 in the param alist.
18523 (bookmark-make-record-function): Adjust documentation for above.
18526 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18528 * info.el (Info-bookmark-make-record): Document this function.
18529 (Info-bookmark-jump): Document with a doc string, not just a comment.
18532 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18534 * files.el (copy-directory): New defun.
18536 * dired-aux.el (dired-copy-file-recursive): Use it.
18538 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18540 * files-x.el (modify-dir-local-variable)
18541 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18544 * recentf.el (recentf-unload-function): New function.
18546 2009-10-04 Glenn Morris <rgm@gnu.org>
18548 * window.el (window-full-height-p): Add doc string.
18550 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18552 * window.el (window-full-height-p): New function. (Bug#4543)
18554 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18556 * vc.el: Remove commented out code.
18557 (vc-derived-from-dir-mode): Remove, unused.
18558 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18560 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18562 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18563 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18564 there could be recursive loading when `default-directory' is a
18565 remote file name. (Bug#4614)
18567 2009-10-03 Glenn Morris <rgm@gnu.org>
18569 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18571 (calendar-generate-window): Test for shrinkability rather than width.
18573 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18574 reusing existing buffers, in case we happen to visit two files with the
18575 same basename. (Bug#4593)
18577 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18579 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18580 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18581 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18582 subdirs of cedet as well.
18583 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18585 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18587 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18588 Obey advertised-signature-table.
18590 * help-fns.el (help-function-arglist): Don't check
18591 advertised-signature-table.
18592 (describe-function-1): Do it here instead so it also applies to subrs.
18594 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18596 * simple.el (start-file-process): Say in the doc-string, that file
18597 handlers might not support pty association, if PROGRAM is nil.
18599 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18600 HOST and USER are strings. They are nil, when there are
18601 incomplete entries in ~/.netrc, for example.
18602 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18603 root directory ("device busy" error otherwise).
18605 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18606 Flush file properties of created directory.
18608 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18610 * makefile.w32-in (WINS_BASIC): Remove cedet.
18611 (WINS_CEDET): Add cedet.
18612 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18614 2009-10-02 Kevin Ryde <user42@zip.com.au>
18616 * net/browse-url.el (browse-url): Pass any symbol in
18617 browse-url-browser-function to `apply', since if you've mistakenly put
18618 an unbound symbol then the error is clearer. (Bug#4531)
18620 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18622 * allout.el (allout-init, allout-back-to-current-heading)
18623 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18624 (allout-ascend, allout-up-current-level, allout-end-of-level)
18625 (allout-previous-visible-heading, allout-forward-current-level)
18626 (allout-backward-current-level, allout-show-children):
18627 * apropos.el (apropos-describe-plist):
18628 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18629 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18630 * completion.el (add-completion, add-permanent-completion):
18631 * descr-text.el (describe-text-category, describe-char):
18632 * desktop.el (desktop-lazy-abort):
18633 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18634 * dired.el (dired-build-subdir-alist):
18635 * ediff.el (ediff-version):
18636 * elide-head.el (elide-head, elide-head-show):
18637 * emerge.el (emerge-version):
18639 * face-remap.el (variable-pitch-mode):
18640 * faces.el (describe-face):
18641 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18643 * files.el (find-file-existing, auto-save-mode):
18644 * font-lock.el (font-lock-fontify-buffer):
18645 * help-fns.el (describe-function, describe-variable)
18646 (describe-syntax, describe-categories):
18647 * help.el (view-lossage, describe-bindings, describe-key)
18649 * hexl.el (hexl-current-address):
18650 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18651 * info.el (Info-goto-emacs-key-command-node):
18652 * log-edit.el (log-edit-insert-cvs-template)
18653 (log-edit-insert-cvs-rcstemplate):
18654 * menu-bar.el (menu-bar-mode):
18655 * mouse.el (mouse-appearance-menu):
18656 * newcomment.el (comment-indent-new-line):
18657 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18658 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18659 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18660 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18661 * recentf.el (recentf-mode):
18662 * savehist.el (savehist-mode, savehist-save):
18663 * shadowfile.el (shadow-copy-files):
18664 * simple.el (kill-ring-save, next-line, previous-line)
18665 (normal-erase-is-backspace-mode):
18666 * strokes.el (strokes-update-window-configuration)
18667 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18668 (strokes-xpm-for-stroke):
18669 * time.el (emacs-uptime, emacs-init-time):
18670 * tutorial.el (tutorial--describe-nonstandard-key)
18671 (tutorial--detailed-help):
18672 * type-break.el (type-break-mode)
18673 (type-break-mode-line-message-mode, type-break-query-mode)
18674 (type-break-guesstimate-keystroke-threshold):
18675 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18676 * version.el (emacs-version):
18677 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18678 * winner.el (winner-mode):
18679 * calendar/timeclock.el (timeclock-in, timeclock-out)
18680 (timeclock-status-string, timeclock-change)
18681 (timeclock-workday-remaining-string)
18682 (timeclock-workday-elapsed-string)
18683 (timeclock-when-to-leave-string):
18684 * calendar/todo-mode.el (todo-add-category):
18685 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18686 * emacs-lisp/autoload.el (update-file-autoloads):
18687 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18688 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18689 (checkdoc-message-text, checkdoc-defun):
18690 * emacs-lisp/debug.el (debugger-list-functions):
18691 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18692 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18693 (eieio-describe-generic):
18694 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18695 * emacs-lisp/shadow.el (list-load-path-shadows):
18696 * emulation/cua-base.el (cua-mode):
18697 * emulation/edt.el (edt-set-scroll-margins):
18698 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18699 (tpu-toggle-regexp, tpu-toggle-search-direction)
18700 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18701 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18702 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18703 (viper-set-parsing-style-toggling-macro)
18704 (viper-set-emacs-state-searchstyle-macros):
18705 * emulation/viper.el (viper-set-hooks):
18706 * eshell/esh-mode.el (eshell-truncate-buffer):
18707 * international/mule-cmds.el (prefer-coding-system)
18708 (describe-input-method, describe-language-environment):
18709 * international/mule-diag.el (list-character-sets)
18710 (describe-character-set, describe-coding-system)
18711 (describe-fontset, list-fontsets, list-input-methods):
18712 * mail/sendmail.el (mail-signature):
18713 * net/ange-ftp.el (ange-ftp-copy-file):
18714 * net/browse-url.el (browse-url):
18715 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18716 * net/quickurl.el (quickurl-add-url):
18717 * net/rcirc.el (names, topic):
18718 * net/xesam.el (xesam-mode):
18719 * play/5x5.el (5x5-new-game):
18720 * play/yow.el (apropos-zippy):
18721 * progmodes/ada-mode.el (ada-mode-version):
18722 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18724 (f90-beginning-of-block):
18725 * progmodes/fortran.el (fortran-end-of-block)
18726 (fortran-beginning-of-block):
18727 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18728 * progmodes/python.el (python-describe-symbol, python-shell):
18729 * term/ns-win.el (ns-print-buffer):
18730 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18731 * textmodes/flyspell.el (flyspell-mode-on):
18732 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18733 (pages-directory-for-addresses):
18734 * textmodes/table.el (table-recognize-cell)
18735 (table-query-dimension, table-generate-source)
18736 (table-insert-sequence, table--warn-incompatibility):
18737 * textmodes/tex-mode.el (tex-validate-buffer):
18738 * textmodes/texinfmt.el (texinfmt-version)
18739 (texinfo-format-buffer):
18740 Use `called-interactively-p' instead of `interactive-p'.
18742 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18744 * image-mode.el (image-toggle-display):
18745 * emacs-lisp/elp.el (elp-instrument-function):
18746 * emacs-lisp/advice.el (ad-make-advised-definition):
18747 * emacs-lisp/easy-mmode.el (define-minor-mode):
18748 * net/browse-url.el (browse-url-maybe-new-window):
18749 * progmodes/sh-script.el (sh-learn-buffer-indent):
18750 Pass new argument 'any to `called-interactively-p'.
18752 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18754 * international/uni-bidi.el:
18755 * international/uni-category.el:
18756 * international/uni-combining.el:
18757 * international/uni-comment.el:
18758 * international/uni-decimal.el:
18759 * international/uni-decomposition.el:
18760 * international/uni-digit.el:
18761 * international/uni-lowercase.el:
18762 * international/uni-mirrored.el:
18763 * international/uni-name.el:
18764 * international/uni-numeric.el:
18765 * international/uni-old-name.el:
18766 * international/uni-titlecase.el:
18767 * international/uni-uppercase.el:
18768 Regenerate from Unicode 5.2.0 data.
18770 2009-10-01 Glenn Morris <rgm@gnu.org>
18772 * Makefile.in (ELCFILES): Regenerate.
18774 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18776 * subr.el (interactive-p): Mark obsolete.
18777 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18778 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18779 advertised-signature-table for subroutines as well.
18781 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18782 (set-advertised-calling-convention): New function.
18783 (make-obsolete, define-obsolete-function-alias)
18784 (make-obsolete-variable, define-obsolete-variable-alias):
18785 Make the optional-ness of `when' obsolete.
18786 (define-obsolete-face-alias): Make `when' non-optional.
18787 * help-fns.el (help-function-arglist):
18788 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18789 Use advertised-signature-table.
18791 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18793 * files.el (delete-directory): New defun. The original function
18794 in fileio.c has been renamed to `delete-directory-internal'.
18796 * dired.el (dired-delete-file): Call `delete-directory' with
18797 RECURSIVE parameter.
18799 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18800 parameter RECURSIVE. Implementation is missing.
18802 * net/tramp.el (tramp-handle-make-directory): Flush upper
18803 directory's file properties.
18804 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18805 (tramp-handle-dired-recursive-delete-directory): Flush directory
18806 properties after the remove command only.
18808 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18809 Handle optional parameter RECURSIVE.
18811 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18812 Handle optional parameter RECURSIVE.
18814 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18815 connection timeout.
18816 (tramp-smb-handle-delete-directory): Handle optional parameter
18819 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18821 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18822 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18823 (byte-compile-defmacro): Use backquotes.
18825 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18827 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18828 has no associated file.
18829 (vc-resynch-buffer): Use vc-dir-buffers.
18831 2009-10-01 Glenn Morris <rgm@gnu.org>
18833 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18834 (chart-file-count):
18835 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18836 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18837 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18838 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18839 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18840 (eieio-copy-parents-into-subclass, make-instance, class-children)
18841 (eieio-generic-form):
18843 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18844 match-data. (Bug#4555).
18846 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18847 rather than parsing it as a regexp. This relaxes the layout
18848 requirements and makes errors easier to detect.
18849 (check-declare-verify): Check file is regular.
18850 (check-declare-directory): Doc fix.
18851 * subr.el (declare-function): Doc fix.
18853 * ibuffer.el (ibuffer-format-qualifier):
18854 * isearch.el (hi-lock-regexp-okay):
18855 * calc/calc.el (math-zerop):
18856 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18857 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18858 Remove unused declarations.
18860 2009-09-30 Eric Ludlam <zappo@gnu.org>
18862 * emacs-lisp/eieio.el (boolean-p): Delete.
18864 2009-09-30 Glenn Morris <rgm@gnu.org>
18866 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18868 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18869 filename is not a string.
18871 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18873 * files.el (safe-local-eval-forms): Fix typo.
18875 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18877 * vc-hooks.el (vc-dir-buffers): New var.
18878 (vc-state-refresh): New function.
18879 (vc-state): Use it.
18880 (vc-after-save): Always ask the backend to recompute the new state.
18881 Always call vc-dir if necessary, using vc-dir-buffers.
18882 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18883 Use vc-dir-buffers.
18884 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18885 (vc-dir-prepare-status-buffer, vc-dir-update)
18886 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18887 Don't call expand-file-name on default-directory.
18889 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18891 * speedbar.el (speedbar-item-delete):
18892 * calc/calc-prog.el (calc-kbd-if):
18893 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18895 * epa.el (epa-key-list-mode-map):
18896 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18898 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18899 (hs-show-hook): Fix typo in docstring.
18901 2009-09-29 Glenn Morris <rgm@gnu.org>
18903 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18904 file-name-nondirectory call preventing location of cedet files.
18905 (check-declare-verify): Use literal search rather than re-search.
18906 Add basic defmethod and defclass, and define-overloadable-function.
18908 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18909 Use tramp-compat-file-attributes rather than nonexistent
18910 tramp-compat-handle-file-attributes.
18912 * Makefile.in (lisptagsfiles4): New.
18913 (AUTOGENEL): Add cedet loaddefs files.
18914 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18915 (update-elclist, compile-always, backup-compiled-files)
18916 (bootstrap-clean): Add yet another directory level.
18917 (update-elclist): Use LC_COLLATE rather than COLLATE.
18918 (ELCFILES): Update, via `make update-elclist'.
18920 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18922 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18923 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18924 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18926 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18928 * Makefile.in (lisptagsfiles3): Define.
18929 (TAGS, TAGS-LISP): Use it.
18930 (update-elclist): Add third directory level to look for elc files.
18931 (compile-always): Likewise.
18932 (backup-compiled-files): Likewise.
18933 (bootstrap-clean): Likewise.
18934 (ELCFILES): Update.
18936 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18938 * Makefile.in (ELCFILES): Add CEDET files.
18940 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18942 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18944 * net/tramp.el (top): Require tramp-imap.
18946 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18947 Use `tramp-compat-handle-file-attributes'.
18949 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18951 * net/tramp-imap.el: New package.
18953 2009-09-28 Eric Ludlam <zappo@gnu.org>
18955 * emacs-lisp/chart.el:
18956 * emacs-lisp/eieio-base.el:
18957 * emacs-lisp/eieio-comp.el:
18958 * emacs-lisp/eieio-custom.el:
18959 * emacs-lisp/eieio-datadebug.el:
18960 * emacs-lisp/eieio-opt.el:
18961 * emacs-lisp/eieio-speedbar.el:
18962 * emacs-lisp/eieio.el: New files.
18964 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18966 * whitespace.el (whitespace-trailing-regexp)
18967 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18970 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18972 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18975 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18976 menu-bar-ediff-menu.
18978 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18979 define-overloadable-function.
18981 * progmodes/autoconf.el: Provide autoconf as well, so that this
18982 file can be `require'd.
18984 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18986 * emacs-lisp/autoload.el (generated-autoload-feature)
18987 (generated-autoload-load-name): New vars.
18988 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18989 (make-autoload): Recognize define-overloadable-function and
18990 defclass forms (for EIEIO).
18992 * Makefile.in (update-subdirs): Exclude cedet directory.
18994 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18996 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18998 * faces.el: Default light-background background for region face to
18999 ns_selection_color under NS.
19001 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19003 * net/imap-hash.el: New library, see NEWS.
19005 * Makefile.in (ELCFILES): Add imap-hash.el.
19007 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19009 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19010 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19011 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19012 definition where the docstring could be taken for the return value.
19014 2009-09-26 Glenn Morris <rgm@gnu.org>
19016 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19017 Add option to only show images below a certain size.
19018 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19019 save-excursion calls.
19021 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19023 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19024 subdirectories) and eieio.
19026 2009-09-26 Alan Mackenzie <acm@muc.de>
19028 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19029 Correct buggy bracketing. (Bug#4289)
19031 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19032 character constants (as case labels). (Bug#4289)
19034 2009-09-25 Juri Linkov <juri@jurta.org>
19036 * files.el (safe-local-eval-forms): Allow time-stamp in
19037 before-save-hook (Bug#4554).
19039 2009-09-25 Drew Adams <drew.adams@oracle.com>
19041 * menu-bar.el (list-buffers-directory): Doc fix.
19043 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19045 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19046 Try and avoid copying twice the same paragraph.
19047 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19048 Remove save-excursion.
19049 (log-edit-changelog-entry): Do it here instead.
19051 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19053 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19054 when available, instead of hardcoding mode names. Doc fix.
19056 * menu-bar.el (list-buffers-directory): Add docstring.
19057 Make automatically buffer-local.
19059 * dired.el (dired-mode):
19060 * files.el (cd-absolute):
19061 * pcvs.el (cvs-temp-buffer):
19062 * pcvs-util.el (cvs-get-buffer-create):
19063 * shell.el (shell-mode):
19064 * vc-dir.el (vc-dir-mode):
19065 Don't make `list-buffers-directory' buffer local.
19067 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19069 * comint.el (comint-exec, comint-run, make-comint):
19070 Doc fixes (Bug#4542).
19072 2009-09-25 Glenn Morris <rgm@gnu.org>
19074 * mail/rmailmm.el (rmail-mime): New custom group.
19075 Move all defcustoms in this file into this group.
19076 (rmail-mime-media-type-handlers-alist): Revert previous change.
19077 (rmail-mime-show-images): New option.
19078 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19079 references to it, since it wasn't actually used for anything.
19080 (rmail-mime-insert-image): New function.
19081 (rmail-mime-image): Use rmail-mime-insert-image.
19082 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19083 obey the value of `rmail-mime-show-images' option. Print the size of
19086 2009-09-25 David Engster <deng@randomsample.de>
19088 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19090 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19092 * whitespace.el: Does not highlight trailing spaces While point is
19093 at end of line. Does not highligt spaces at beginning of buffer
19094 while point is at beginning of buffer. Does not highlight spaces
19095 at end of buffer while point is at end of buffer. (Bug#4177)
19097 (whitespace-display-mappings): Adjust initialization.
19098 (whitespace-point, whitespace-font-lock-refontify): New vars.
19099 (whitespace-color-on, whitespace-color-off): Adjust code.
19100 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19101 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19102 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19104 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19106 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19108 * textmodes/sgml-mode.el: Remove xml-mode alias.
19110 * files.el (auto-mode-alist, conf-mode-maybe)
19111 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19113 2009-09-24 Alan Mackenzie <acm@muc.de>
19115 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19116 c-forward-conditionals, but it doesn't move point and doesn't set
19118 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19119 (c-down-conditional-with-else, c-backward-conditional)
19120 (c-forward-conditional): Refactor to use c-scan-conditionals.
19122 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19124 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19125 (help-default-arg-highlight): Remove.
19126 (help-highlight-arg): New function.
19127 (help-do-arg-highlight): Use it.
19128 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19130 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19132 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19133 Undo last change, which didn't fix the problem and introduced others.
19135 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19137 * progmodes/gdb-mi.el: Don't require speedbar.
19138 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19140 2009-09-24 Glenn Morris <rgm@gnu.org>
19142 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19144 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19146 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19147 there is no newline after the final mime boundary. (Bug#4539)
19148 Move markers on insertion so that any buttons inserted don't end up in
19149 the next part of a multipart message.
19150 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19151 (rmail-mime-bulk-handler): Optionally handle images.
19152 (rmail-mime-image): New button action.
19153 (rmail-mime-image-handler): New function.
19154 (rmail-mime-mode): New mode.
19155 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19157 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19159 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19160 than just dropping elements from it (bug#4504).
19162 * term.el (term-set-scroll-region): Don't move cursor any more.
19163 (term-handle-ansi-escape): Call term-goto here instead.
19164 Suggested by Ivan Kanis <apple@kanis.eu>.
19166 * term.el: Require CL.
19167 (term-ansi-reset): New function.
19168 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19169 (term-handle-colors-array): Simplify.
19171 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19173 * allout.el (allout-overlay-interior-modification-handler)
19174 (allout-obtain-passphrase):
19175 * epa-file.el (epa-file-write-region):
19176 * ps-print.el (ps-begin-job):
19177 * vc-hooks.el (vc-toggle-read-only):
19178 * vc-rcs.el (vc-rcs-rollback):
19179 * vc-sccs.el (vc-sccs-rollback):
19180 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19181 (vc-version-diff, vc-revert, vc-rollback):
19182 * wdired.el (wdired-check-kill-buffer):
19183 * emacs-lisp/authors.el (authors):
19184 * net/socks.el (socks-open-connection):
19185 * net/zeroconf.el (zeroconf-service-add-hook):
19186 * obsolete/vc-mcvs.el (vc-mcvs-register):
19187 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19188 (gdb-select-frame):
19189 * progmodes/grep.el (lgrep, rgrep):
19190 * progmodes/idlw-help.el (idlwave-help-check-locations)
19191 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19192 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19193 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19194 (reftex-toc-rename-label): Fix typos in error messages.
19196 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19197 (dired-copy-how-to-fn): Doc fix.
19198 (dired-files-attributes, dired-read-shell-command):
19199 Fix typos in docstrings.
19201 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19202 (dired-x-find-file-other-window): Reflow docstrings.
19203 (dired-omit-marker-char, dired-read-shell-command)
19204 (dired-x-submit-report): Fix typos in docstrings.
19206 * shell.el (shell-mode-hook):
19207 * view.el (View-scroll-line-forward):
19208 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19209 Fix typos in docstrings.
19211 * net/dig.el (dig-invoke): Fix typo in docstring.
19212 (query-dig): Reflow docstring.
19214 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19215 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19216 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19217 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19218 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19219 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19220 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19221 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19222 (idlwave-completion-map, idlwave-current-indent)
19223 (idlwave-custom-ampersand-surround, idlwave-customize)
19224 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19225 (idlwave-define-abbrev, idlwave-determine-class-special)
19226 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19227 (idlwave-end-block-reg, idlwave-end-of-statement)
19228 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19229 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19230 (idlwave-explicit-class-listed, idlwave-file-header)
19231 (idlwave-fill-paragraph, idlwave-find-class-definition)
19232 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19233 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19234 (idlwave-in-quote, idlwave-indent-action-table)
19235 (idlwave-indent-expand-table, idlwave-indent-line)
19236 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19237 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19238 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19239 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19240 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19241 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19242 (idlwave-outlawed-buffers, idlwave-popup-select)
19243 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19244 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19245 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19246 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19247 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19248 (idlwave-statement-type, idlwave-struct-skip)
19249 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19250 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19251 (idlwave-what-module-find-class): Fix typos in docstrings.
19252 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19253 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19254 (idlwave-find-module, idlwave-find-structure-definition)
19255 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19256 (idlwave-list-load-path-shadows, idlwave-next-statement)
19257 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19258 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19259 (idlwave-template): Reflow docstrings.
19261 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19262 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19263 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19264 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19265 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19266 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19267 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19268 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19269 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19270 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19271 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19272 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19273 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19274 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19275 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19276 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19277 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19278 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19279 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19280 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19281 Fix typos in docstrings.
19282 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19283 (idlwave-shell-hide-output, idlwave-shell-mode)
19284 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19287 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19289 2009-09-24 Ivan Kanis <apple@kanis.eu>
19291 * term.el (term-bold-attribute): New var.
19292 (term-handle-colors-array): Use it.
19294 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19296 * progmodes/gdb-mi.el (gdb-version): New variable.
19297 (gdb-non-stop-handler): Set gdb-version.
19298 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19299 Condition "--thread" option on gdb-version.
19300 (gdb-invalidate-threads): Remove unused argument.
19302 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19304 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19305 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19307 2009-09-23 Glenn Morris <rgm@gnu.org>
19309 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19310 replying to mail without References or Message-Id. (Bug#4525)
19312 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19314 * term/ns-win.el (ns-reg-to-script): New variable.
19316 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19318 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19320 2009-09-22 Sam Steingold <sds@gnu.org>
19322 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19323 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19324 to 1 because hg returns status 1 when nothing is found.
19325 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19327 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19329 * textmodes/fill.el: Convert to utf-8 encoding.
19330 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19333 * add-log.el (change-log-fill-forward-paragraph): New function.
19334 (change-log-mode): Use it so fill-region DTRT.
19335 Set fill-indent-according-to-mode here rather than in
19336 change-log-fill-paragraph.
19337 (change-log-fill-paragraph): Remove.
19339 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19341 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19342 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19344 2009-09-22 Glenn Morris <rgm@gnu.org>
19346 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19347 the scroll-bar scroll the calendar window rather than the buffer.
19349 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19350 commands that move point (as opposed to scrolling).
19352 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19354 * emacs-lisp/elint.el (elint): New custom group.
19355 (elint-log-buffer): Make it a defcustom.
19356 (elint-scan-preloaded, elint-ignored-warnings)
19357 (elint-directory-skip-re): New options.
19358 (elint-builtin-variables): Doc fix.
19359 (elint-preloaded-env): New variable.
19360 (elint-unknown-builtin-args): Add an entry for encode-time.
19361 (elint-extra-errors): Make it a variable rather than a constant.
19362 (elint-preloaded-skip-re): New constant.
19363 (elint-directory): Skip files matching elint-directory-skip-re.
19364 (elint-features): New variable, local to linted buffers.
19365 (elint-update-env): Initialize elint-features. Possibly add
19366 elint-preloaded-env to the buffer's environment.
19367 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19369 (elint-init-form): New function, extracted from elint-init-env.
19370 Make non-list forms a warning rather than an error.
19371 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19372 easy-menu-define, put that adds an error-condition, and provide.
19373 When requiring cl, also require cl-macs. Really require cl, to handle
19374 some cl macros. Store required libraries in the list elint-features,
19375 so as not to re-load them. Treat cc-require like require.
19376 (elint-init-env): Call elint-init-form to do the work.
19377 Handle eval-and-compile and such like.
19378 (elint-add-required-env): Do not clear messages.
19379 (elint-special-forms): Add handlers for function, defalias, if, when,
19381 (elint-form): Add optional argument to ignore elint-special-forms,
19382 useful to prevent recursive calls from handlers. Doc fix.
19383 Respect elint-ignored-warnings.
19384 (elint-form): Respect elint-ignored-warnings.
19385 (elint-bound-variable, elint-bound-function): New variables.
19386 (elint-unbound-variable): Respect elint-bound-variable.
19387 (elint-get-args): Respect elint-bound-function.
19388 (elint-check-cond-form): Add some simple handling for (f)boundp and
19390 (elint-check-defalias-form): New handler.
19391 (elint-check-let-form): Make an empty let a warning rather than an
19393 (elint-check-setq-form): Make an empty setq a warning rather than an
19394 error. Respect elint-ignored-warnings.
19395 (elint-check-defvar-form): Accept null doc-strings.
19396 (elint-check-conditional-form): New handler. Does some simple-minded
19397 checking of featurep and (f)boundp tests.
19398 (elint-put-function-args): New function.
19399 (elint-initialize): Use elint-scan-doc-file rather than
19400 elint-find-builtin-variables. Use elint-put-function-args.
19401 Possibly scan preloaded-file-list.
19402 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19403 extend to handle functions as well.
19405 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19407 * linum.el (linum-delete-overlays, linum-update-window):
19408 Do not modify the right margin. (Bug#3971)
19410 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19412 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19413 Use nxml-mode instead of xml-mode.
19415 2009-09-21 Kevin Ryde <user42@zip.com.au>
19417 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19419 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19421 * net/dig.el (dig-mode): Use define-derived-mode.
19423 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19425 * vc-dispatcher.el (vc-do-command): Return the process object in
19426 the asynchronous case. Use when instead of if. Do not run
19427 vc-exec-after to display a message if not enabled. (Bug#4463)
19429 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19430 properties to the stash strings.
19431 (vc-git-stash-list): Return a list of strings.
19432 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19433 (vc-git-stash-show-at-point): New functions.
19434 (vc-git-stash-map): New keymap.
19436 * register.el (ctl-x-r-map): Define the keys here instead of
19439 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19441 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19442 list, to workaround performance problem (bug#4485).
19444 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19446 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19448 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19450 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19451 Document that this option is not recommended to use.
19453 2009-09-19 Glenn Morris <rgm@gnu.org>
19455 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19458 * calc/calc-alg.el (var):
19459 * calc/calcalg2.el (var): Define for compiler.
19461 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19463 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19464 Doc fix (Bug#3932).
19466 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19468 * time-stamp.el (time-stamp-month-dd-yyyy)
19469 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19470 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19471 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19472 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19473 Remove functions that have been obsolete since 1995 (Bug#4436).
19475 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19476 indent buffer only if called interactively (Bug#4452).
19478 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19479 Eli Zaretskii <eliz@gnu.org>
19481 This fixes bug#4197 (merged to bug#865, though not identical).
19482 * server.el (server-auth-dir): Add docstring note about FAT32.
19483 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19484 but warn against using them.
19486 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19488 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19489 older GDB where there is no has_more field.
19491 2009-09-19 Glenn Morris <rgm@gnu.org>
19493 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19495 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19497 * files.el (auto-mode-alist): Change default for XML files to nXML
19500 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19502 * server.el (server-ensure-safe-dir): Pass 'integer
19503 to `file-attributes', as suggested.
19505 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19507 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19508 (dired-query): Use read-key.
19510 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19512 * cus-start.el (ns-use-qd-smoothing): Remove.
19514 2009-09-18 Glenn Morris <rgm@gnu.org>
19516 * allout.el (top-level): Remove unnecessary progn.
19518 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19520 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19521 definition of abbrev table.
19523 * speedbar.el (speedbar-track-mouse):
19524 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19525 * net/eudc.el (eudc-expand-inline):
19526 * net/newst-backend.el (newsticker--cache-read-feed):
19527 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19528 condition-case handlers.
19530 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19532 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19533 (gdb-var-list): Add an element for has_more field.
19534 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19535 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19536 (gdb-var-update-handler-1): Parse output of dynamic variable
19537 objects (STL containers).
19538 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19539 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19541 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19543 (gud-speedbar-buttons): Make node expandable if expression "has more"
19546 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19548 * startup.el (emacs-quick-startup): Remove variable and all uses.
19549 (command-line): Set `inhibit-x-resources' instead.
19550 (command-line-1): Use `inhibit-x-resources' instead.
19552 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19554 * subr.el: Fix last change to avoid using the `unless' macro,
19555 which breaks bootstrapping.
19557 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19559 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19560 extended definitions, in case we reload subr.el after having
19562 (eval-next-after-load): Mark as obsolete.
19564 2009-09-17 Juri Linkov <juri@jurta.org>
19566 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19567 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19568 (menu-bar-showhide-menu, menu-bar-tools-menu)
19569 (menu-bar-describe-menu, menu-bar-help-menu)
19570 (minibuffer-local-completion-map, minibuffer-local-map):
19573 2009-09-17 Glenn Morris <rgm@gnu.org>
19575 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19576 arguments, whether or not it has a handler.
19578 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19580 * simple.el (hard-newline): Give it a doc-string.
19582 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19583 (lisp-mode-syntax-table): Give them doc-strings.
19585 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19587 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19588 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19589 (menu-bar-options-menu, menu-bar-showhide-menu)
19590 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19591 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19592 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19593 (menu-bar-options-menu, menu-bar-tools-menu)
19594 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19595 (menu-bar-help-menu):
19596 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19599 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19600 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19601 calls for the menu names and :help.
19603 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19605 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19606 to :minor-mode-function (bug#4455).
19608 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19610 * startup.el (command-line): Initialize the window-system after
19611 processing the command-line.
19613 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19614 page-delimiter matches the empty string.
19616 2009-09-16 Glenn Morris <rgm@gnu.org>
19618 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19619 byte-compile-not-obsolete-var. It's a list now.
19620 (byte-compile-not-obsolete-funcs): New variable.
19621 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19622 byte-compile-not-obsolete-funcs.
19623 (byte-compile-variable-ref, byte-compile-defvar): Update for
19624 byte-compile-not-obsolete-vars name-change and list nature.
19625 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19626 and variables behind (f)boundp tests.
19627 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19629 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19631 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19633 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19635 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19636 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19639 2009-09-15 Stephen Eglen <stephen@gnu.org>
19641 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19642 the virtual-buffers, use the name of the buffer specified by
19643 find-file-noselect, as the match may be a symlink. (This was a
19644 problem if the target and the symlink had different names.)
19646 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19648 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19650 * desktop.el (desktop-path): Check user-emacs-directory.
19652 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19654 * loadup.el: Use after-load-functions to GC after loading each file.
19655 Remove the explicit GC calls that used to be sprinkled around.
19657 * subr.el (after-load-functions): New hook.
19658 (do-after-load-evaluation): Run it. Use string-match-p to detect
19659 `obsolete' packages, rather than painfully extracting the relevant
19662 2009-09-15 Glenn Morris <rgm@gnu.org>
19664 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19665 free variable `doc'.
19667 * dired.el (dired-mode-map): Add menu entry for async shell command.
19669 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19670 variables, also consider the .elc files, since the .el files are
19671 normally gzipped (subsequent code locates the .el.gz from the .elc).
19673 * calc/calc-prog.el (arglist): Define for compiler.
19675 * calendar/diary-lib.el (diary-display-function): Change the default to
19677 (body): Define for compiler.
19679 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19680 (byte-compile-file-form, byte-compile-lambda)
19681 (byte-compile-top-level-body, byte-compile-form)
19682 (byte-compile-variable-ref, byte-compile-setq)
19683 (byte-compile-setq-default, byte-compile-body)
19684 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19685 (batch-byte-compile): Give some more local variables with common names
19686 a "bytecomp-" prefix to avoid masking warnings about free variables.
19688 * startup.el (command-line-1): Give local variables with common names a
19689 distinguishing prefix, so as not to hide free variable warnings during
19692 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19693 clever and add a suffix to make a unique name, just let the user decide
19694 whether or not to overwrite it. If the input is a directory, write the
19695 default filename to that directory. (Bug#4388)
19696 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19697 is a filename-as-a-directory.
19699 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19701 * textmodes/page.el (what-page): Don't move to beginning of line.
19702 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19704 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19706 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19708 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19710 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19711 * help.el (help-for-help-internal): Add purecopy calls for text.
19713 * vc.el (top): print-log method now takes an optional SHORTLOG
19714 argument. Add a new method: root.
19715 (vc-root-diff, vc-print-root-log): New functions.
19716 (vc-log-short-style): New variable.
19717 (vc-print-log-internal): Add support for showing short logs.
19719 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19720 vc-print-root-log and vc-print-root-diff.
19722 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19723 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19724 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19727 * vc-cvs.el (vc-cvs-print-log):
19728 * vc-mtn.el (vc-mtn-print-log):
19729 * vc-rcs.el (vc-rcs-print-log):
19730 * vc-sccs.el (vc-sccs-print-log):
19731 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19732 that is ignored for now.
19734 * vc-mtn.el (vc-mtn-annotate-command):
19735 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19737 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19739 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19740 to function-key-map, and give them ascii-character property.
19741 * term/x-win.el (x-alternatives-map):
19742 * term/ns-win.el (ns-alternatives-map):
19743 * term/internal.el (msdos-key-remapping-map):
19744 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19746 2009-09-14 Glenn Morris <rgm@gnu.org>
19748 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19749 temp-buffers (2009-09-12).
19751 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19753 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19754 the new read-key function.
19756 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19758 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19759 is defined (Bug#4405).
19761 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19763 * recentf.el (recentf-cleanup): Use a hash table to find
19764 duplicates (Bug#4407).
19766 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19768 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19769 kp-0 to ascii equivalents (Bug#4325).
19771 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19773 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19775 * eshell/em-hist.el:
19776 * eshell/em-dirs.el (eshell-complete-user-reference):
19777 Declare pcomplete functions and variables to avoid compiler warnings.
19779 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19781 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19782 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19783 * eshell/em-alias.el (eshell-aliases-file):
19784 * eshell/em-hist.el (eshell-history-file-name):
19785 Use expand-file-name instead of concat to make file names (Bug#4308).
19787 2009-09-13 Glenn Morris <rgm@gnu.org>
19789 * ediff-merg.el (ediff-do-merge):
19790 * filesets.el (filesets-run-cmd):
19791 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19792 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19793 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19794 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19795 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19796 Replace empty `let's with `progn'.
19798 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19800 * mail/sendmail.el (send-mail-function):
19801 * tooltip.el (tooltip-mode):
19802 * simple.el (transient-mark-mode):
19803 * rfn-eshadow.el (file-name-shadow-mode):
19804 * frame.el (blink-cursor-mode):
19805 * font-core.el (global-font-lock-mode):
19806 * files.el (temporary-file-directory)
19807 (small-temporary-file-directory, auto-save-file-name-transforms):
19808 * epa-hook.el (auto-encryption-mode):
19809 * composite.el (global-auto-composition-mode):
19810 Use custom-initialize-delay.
19811 * startup.el (command-line): Don't explicitly call
19812 custom-reevaluate-setting for all the above vars.
19813 * custom.el (custom-initialize-safe-set)
19814 (custom-initialize-safe-default): Delete.
19816 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19818 * term/x-win.el (x-initialize-window-system):
19819 * term/w32-win.el (w32-initialize-window-system):
19820 * term/ns-win.el (ns-initialize-window-system): Don't call
19821 mouse-wheel-mode since it's enabled globally by default already.
19823 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19824 actually define the variable, but only silences the byte-compiler.
19825 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19826 before looking it up.
19827 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19830 2009-09-12 Glenn Morris <rgm@gnu.org>
19832 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19834 (elint-add-required-env): Don't beep on error.
19835 (elint-forms): In case of error, return ENV unchanged.
19836 (elint-init-env): Skip non-list forms.
19837 (elint-log): Handle unknown file positions.
19839 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19841 * epg.el (epg-make-context): Add autoload cookie.
19842 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19843 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19844 (epg-verify-string, epg-start-sign, epg-sign-file)
19845 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19846 (epg-encrypt-string, epg-start-export-keys)
19847 (epg-export-keys-to-file, epg-export-keys-to-string)
19848 (epg-start-import-keys, epg-import-keys-from-file)
19849 (epg-import-keys-from-string, epg-start-receive-keys)
19850 (epg-receive-keys, epg-import-keys-from-server)
19851 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19852 (epg-sign-keys, epg-start-generate-key)
19853 (epg-generate-key-from-file, epg-generate-key-from-string):
19854 Remove autoload cookie.
19856 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19858 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19859 reevaluation of trash-directory.
19861 * mwheel.el: Fix last change.
19862 (mouse-wheel-mode): New defvar.
19863 (mouse-wheel-mode): Remove autoload cookie.
19865 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19867 * mwheel.el (mwheel-installed-bindings): New var.
19868 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19869 the bindings we set last time. Use custom-initialize-delay.
19870 * loadup.el: Load mwheel after term/*-win.el.
19871 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19872 and mouse-wheel-up-event now that their first evaluation is done
19873 sufficiently late to be correct.
19875 * startup.el (tutorial-directory): Make it a defcustom.
19876 Use custom-initialize-delay rather than eval-at-startup to set it.
19877 * image.el (image-load-path): Make it a defcustom.
19878 Use custom-initialize-delay rather than eval-at-startup to set it.
19879 * subr.el (eval-at-startup): Remove.
19880 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19882 * subr.el (do-after-load-evaluation): Warn the user after loading an
19885 2009-09-12 Glenn Morris <rgm@gnu.org>
19887 * proced.el (proced-mark-alt): Remove alias.
19888 (proced-mode-map): Remove proced-mark-alt.
19890 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19891 Elint file and directory. Remove initialization entry.
19893 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19895 (elint-current-buffer): Set mode-line-process.
19896 (elint-init-env): Handle define-derived-mode.
19897 Fix declare-function with unspecified arglist. Guard against odd
19898 defalias statements (eg iso-insert's 8859-1-map).
19899 (elint-add-required-env): Use a temp buffer.
19900 (elint-form): Just print the function/macro name, not the whole form.
19901 Return env unchanged if we fail to parse a macro.
19902 (elint-forms): Guard against parse errors.
19903 (elint-output): New function, to handle batch mode.
19904 (elint-log-message): Add optional argument. Use elint-output.
19905 (elint-set-mode-line): New function.
19907 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19909 * emacs-lisp/elp.el (elp-not-profilable): Add more
19910 functions (Bug#4233).
19912 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19914 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19915 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19917 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19919 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19920 (gdb-var-list-children): Use json parsing.
19922 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19924 * progmodes/js.el (js--proper-indentation): Handle the case where
19925 char-before is null. Reported by Deniz Dogan.
19927 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19929 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19931 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19933 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19934 (epg-digest-algorithm-alist): Add SHA224.
19935 (epg-context-set-passphrase-callback)
19936 (epg-context-set-progress-callback): Add description about
19939 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19941 * custom.el (custom-delayed-init-variables): New var.
19942 (custom-initialize-delay): New function.
19943 * startup.el (command-line): "Re"evaluate all vars in
19944 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19945 explicitly any more.
19946 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19947 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19949 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19951 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19953 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19954 (gdb-var-update-handler): Use json parsing.
19956 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19958 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19959 decode annotated text, regardless of language environment. (Bug#2741)
19961 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19963 * Makefile.in (autoloads): Make rmail.el writable as well.
19965 2009-09-11 Glenn Morris <rgm@gnu.org>
19967 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19969 * dired.el: Regenerate with extracted autoloads.
19970 * Makefile.in (autoloads): Make dired.el writable.
19972 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19973 * ibuffer.el: Regenerate with extracted autoloads.
19974 * Makefile.in (autoloads): Make ibuffer.el writable.
19976 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19977 * version.el (emacs-copyright, emacs-major-version)
19978 (emacs-minor-version): Reformat doc-strings for make-docfile.
19980 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19981 functions and variables, since they must be stuff specific to some other
19983 (apropos-print): Make mouse-click message less specific about button.
19985 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19986 that records where a macro was defined.
19987 * help-fns.el (describe-function-1): Mention if a function has a
19989 * help-mode.el (help-function-cmacro): New button.
19991 * locate.el (top-level): Always require dired.
19992 (locate-mode-map): Initialize inside the defvar.
19994 * net/ange-ftp.el (dired-compress-file): Declare.
19995 (ange-ftp-dired-compress-file): Add doc string.
19997 * term/ns-win.el (x-display-name, x-setup-function-keys):
19998 Unify doc-strings with X versions.
20000 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20002 * emulation/crisp.el (crisp-mode-map): Move initialization
20004 (crisp-mode): Use define-minor-mode.
20006 * progmodes/xscheme.el (xscheme-evaluation-commands):
20007 Put a :advertised-binding property rather than using
20008 advertised-xscheme-send-previous-expression.
20009 (advertised-xscheme-send-previous-expression): Declare obsolete.
20010 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20012 (crisp-mode): Add corresponding bindings to
20013 undo's :advertised-binding instead.
20014 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20015 than using dired-advertised-find-file.
20016 (dired-advertised-find-file):
20017 * simple.el (advertised-undo):
20018 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20019 (widget-keymap): Put a :advertised-binding property rather
20020 than using advertised-widget-backward.
20021 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20022 than using advertised-undo.
20023 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20025 2009-09-10 Simon South <ssouth@slowcomputing.org>
20027 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20028 Mark mode is enabled and region is active; otherwise indent or
20029 insert TAB as usual.
20030 (delphi-mode): Update description of TAB-key binding.
20032 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20034 * subr.el (define-key-rebound-commands): Mark obsolete.
20035 * startup.el (precompute-menubar-bindings): Remove.
20036 (normal-top-level): Remove obsolete code that tried to precompute
20038 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20039 define-key-rebound-commands and precompute-menubar-bindings.
20041 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20043 * net/imap.el (imap-interactive-login): Better messages.
20044 (imap-open): Fix bug with renamed buffer on reconnect.
20045 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20046 for easier debugging and cleaner code. On successful (guessed based on
20047 server capabilities) secondary authentication, set imap-state
20049 (imap-last-authenticator): Define imap-last-authenticator as a variable
20052 2009-09-10 Glenn Morris <rgm@gnu.org>
20054 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20056 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20057 (byte-compile-file-form-autoload): Don't warn about unknown functions
20058 where the autoload statement comes after the use.
20059 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20060 that any handlers inside the body (eg require) are in turn respected.
20062 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20065 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20066 and syntax and abbrev tables basic docs, if they don't have any.
20068 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20070 * international/mule-cmds.el (top-level): Require cl when compiling.
20071 (view-hello-file): Use default-value rather than
20072 default-enable-multibyte-characters.
20074 * progmodes/fortran.el: Move all safe and risky properties into the
20077 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20078 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20079 * mail/undigest.el:
20080 Put autoloads in rmail.el rather than loaddefs.el.
20081 * mail/rmail.el: Regenerate with extracted autoloads.
20083 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20084 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20086 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20088 Reported in thread for Bug#4375.
20089 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20090 "-data-evaluate-expression" instead of print.
20091 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20092 (gdb-tooltip-print): Parse output from above MI command.
20093 (gdb): Revert 2009-08-11 change. User should detach inferior
20096 Remove the word "separate" from IO functions as inferior
20097 output is now never displayed in the GUD buffer.
20099 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20101 * startup.el (command-line-normalize-file-name): On Windows and
20102 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20104 2009-09-10 Juri Linkov <juri@jurta.org>
20106 * isearch.el (isearch-text-char-description): Propertize escape
20107 character sequences with the `escape-glyph' face. (Bug#4344)
20109 * simple.el (shell-command): Set asynchronous process filter to
20110 `comint-output-filter'. (Bug#4343)
20112 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20113 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20114 the list. Move "asm" to the bottom.
20115 (grep-find-ignored-directories): Add `choice' with nil value
20116 to empty the list easily.
20117 (grep-find-ignored-files): New option.
20118 (grep-files-history): Set to nil by default instead of '("ch" "el").
20119 (grep-compute-defaults): Add "<X>" to `grep-template'.
20120 (grep-read-files): Bind new local variables `default-alias' and
20121 `default-extension'. Use a list of default values for the file prompt.
20122 (lgrep): Add `--exclude=' command line options composed from
20123 `grep-find-ignored-files'.
20124 (rgrep): Add `-name' command line options composed from
20125 `grep-find-ignored-files'. (Bug#4301)
20127 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20129 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20132 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20134 * calendar/time-date.el (autoload):
20135 Expand define-obsolete-function-alias into defalias and make-obsolete
20136 for old Emacsen that Gnus supports.
20137 (with-no-warnings): Define it for old Emacsen.
20138 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20140 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20141 float-time is available; suppress compile warning for time-to-seconds.
20143 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20145 * net/imap.el (imap-message-map): Docstring fix.
20147 2009-09-09 Glenn Morris <rgm@gnu.org>
20149 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20150 line numbers too. (Bug#4374)
20152 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20154 * smerge-mode.el (smerge-remove-props, smerge-refine):
20155 Use with-silent-modifications (bug#4342).
20157 * subr.el (with-silent-modifications): New macro.
20159 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20161 * files.el (top-level): Require `cl' when compiling.
20163 2009-09-07 Glenn Morris <rgm@gnu.org>
20165 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20167 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20168 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20170 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20172 * vc-git.el (vc-git-annotate-command): Use separator to parse
20173 arguments correctly.
20175 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20177 * proced.el (proced-mode): Doc fix.
20179 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20181 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20183 (tramp-do-file-attributes-with-ls): Check for file existence at
20185 (tramp-do-file-attributes-with-stat): Likewise.
20186 (tramp-convert-file-attributes): Return nil when attr is nil.
20188 2009-09-05 Glenn Morris <rgm@gnu.org>
20190 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20191 properties to this button.
20192 (diary-fancy-display): Don't extend the button to the final newline.
20193 (diary-fancy-display-mode): Continue to define "q" as a local key.
20195 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20198 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20200 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20201 (byte-compile-dest-file-function): New option.
20202 (byte-compile-dest-file): Doc fix.
20203 Obey byte-compile-dest-file-function.
20204 (byte-compile-cl-file-p): New function.
20205 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20206 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20207 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20208 than for file being previously loaded.
20209 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20210 (byte-compile-file-form-require): Handle the case where requiring a file
20211 indirectly causes CL to be loaded.
20213 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20215 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20216 before killing the old buffer, since by the time `kill-buffer' is
20217 run so many buffer variables have been set to nil that it may not
20218 behave as expected. (Bug#4061)
20220 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20222 * files.el (find-alternate-file): If the old buffer is modified
20223 and visiting a file, behave similarly to `kill-buffer' when
20224 killing it, thus reverting to the pre-1.878 behavior; see
20225 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20226 for discussion. Also, consult `buffer-file-name' as a variable
20227 not as a function, for consistency with the rest of the code.
20229 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20231 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20232 also when adding a new directory.
20234 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20237 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20239 * files.el (locate-file-completion-table): Make it provide boundary
20240 information, so partial-completion works better.
20242 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20244 * mail/footnote.el (Footnote-text-under-cursor):
20245 Check footnote-text-marker-alist before using it (bug#4324).
20247 2009-09-04 Glenn Morris <rgm@gnu.org>
20249 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20250 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20251 * play/solitaire.el, play/tetris.el:
20252 Remove leading * from defcustom and defface docs.
20254 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20256 (diary-fancy-overriding-map): New variable.
20257 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20260 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20263 2009-09-03 Glenn Morris <rgm@gnu.org>
20265 * arc-mode.el (archive-mode):
20266 * dos-fns.el (set-default-process-coding-system):
20267 * man.el (Man-getpage-in-background):
20268 * menu-bar.el (menu-bar-describe-menu):
20269 * server.el (server-process-filter):
20270 * startup.el (command-line):
20271 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20272 * w32-fns.el (set-default-process-coding-system):
20273 * x-dnd.el (x-dnd-handle-file-name):
20274 * international/mule-cmds.el (mule-menu-keymap)
20275 (set-default-coding-systems, language-info-alist, set-language-info)
20276 (set-language-environment, standard-display-european-internal)
20277 (set-locale-environment):
20278 * international/mule-diag.el (mule-diag):
20279 * mail/emacsbug.el (report-emacs-bug):
20280 * mail/rmail.el (rmail-mode):
20281 * mail/sendmail.el (mail-setup):
20282 Use default-value rather than default-enable-multibyte-characters.
20284 * progmodes/f90.el: Move all safe properties into the defcustoms.
20285 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20287 * calendar/appt.el (appt-check):
20288 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20289 (diary-check-diary-file, diary-list-entries)
20290 (diary-include-other-diary-files, diary-simple-display)
20291 (diary-fancy-display, diary-print-entries)
20292 (diary-mark-included-diary-files, diary-make-entry):
20293 Don't call substitute-in-file-name on diary-file.
20295 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20296 Stefan Monnier <monnier@iro.umontreal.ca>
20298 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20299 (footnote-mode-map): Move initialization into the declaration.
20300 (footnote-minor-mode-map): Define it rather than changing global-map.
20301 (footnote-mode): Use define-minor-mode.
20303 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20305 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20306 (tramp-do-file-attributes-with-perl)
20307 (tramp-do-file-attributes-with-stat): Rename from
20308 `tramp-handle-file-attributes-with-*'.
20309 (tramp-handle-file-attributes): Use them.
20310 (tramp-do-directory-files-and-attributes-with-perl)
20311 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20312 `tramp-handle-directory-files-and-attributes-with-*'.
20313 (tramp-handle-directory-files-and-attributes): Use them.
20314 (tramp-method-out-of-band-p): Additional parameter SIZE.
20315 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20316 (tramp-handle-write-region): Use it.
20317 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20318 (tramp-handle-vc-registered): Check, whether the first run did
20319 return files to be tested.
20320 (tramp-advice-make-auto-save-file-name): Do not call directly
20321 `tramp-handle-make-auto-save-file-name', because this would bypass
20322 the locking mechanism.
20324 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20325 (file-remote-p, process-file, start-file-process, set-file-times)
20326 (tramp-compat-file-attributes): Compatibility functions shall not
20327 call directly `tramp-handle-*', because this would bypass the
20329 (tramp-compat-number-sequence): New defun.
20331 2009-09-02 Glenn Morris <rgm@gnu.org>
20333 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20334 alias for float-time.
20335 (time-to-number-of-days): In Emacs, use float-time.
20336 * net/newst-backend.el (time-add): Suppress warnings from compat
20338 * time.el (emacs-uptime, emacs-init-time):
20339 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20340 Use float-time rather than time-to-seconds.
20342 * minibuffer.el (completion-initials-expand): Fix typo.
20344 * faces.el (modeline, modeline-inactive, modeline-highlight)
20345 (modeline-buffer-id):
20346 * info.el (info-menu-5): Mark these face aliases as obsolete.
20348 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20350 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20352 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20353 no "--thread" option.
20354 (gdb-stopped): Don't print "Switched to thread" message when it is
20357 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20359 * minibuffer.el (completion-try-completion)
20360 (completion-all-completions): Remove ill-defined (and
20361 mistakenly installed and luckily never used nor documented)
20362 `completion-styles' property.
20363 (completion-initials-expand, completion-initials-all-completions)
20364 (completion-initials-try-completion): New functions.
20365 (completion-styles-alist): Add doc to each entry.
20366 Add new `initials' entry.
20368 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20370 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20371 MI command -var-evaluate-expression.
20372 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20373 and tweak for case of string child.
20374 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20376 2009-09-01 Glenn Morris <rgm@gnu.org>
20378 * add-log.el (change-log-date-face, change-log-name-face)
20379 (change-log-email-face, change-log-file-face, change-log-list-face)
20380 (change-log-conditionals-face, change-log-function-face)
20381 (change-log-acknowledgement-face):
20382 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20383 (custom-modified-face, custom-set-face, custom-changed-face)
20384 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20385 (custom-documentation-face, custom-state-face, custom-comment-face)
20386 (custom-comment-tag-face, custom-variable-tag-face)
20387 (custom-variable-button-face, custom-face-tag-face)
20388 (custom-group-tag-face-1, custom-group-tag-face):
20389 * diff-mode.el (diff-header-face, diff-file-header-face)
20390 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20391 (diff-added-face, diff-changed-face, diff-function-face)
20392 (diff-context-face, diff-nonexistent-face):
20393 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20394 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20395 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20396 (Info-title-4-face):
20397 * isearch.el (isearch-lazy-highlight-face):
20398 * log-view.el (log-view-file-face, log-view-message-face):
20399 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20400 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20401 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20403 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20404 (smerge-base-face, smerge-markers-face):
20405 * wid-edit.el (widget-documentation-face, widget-button-face)
20406 (widget-field-face, widget-single-line-field-face)
20407 (widget-inactive-face, widget-button-pressed-face):
20408 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20409 (woman-addition-face):
20410 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20411 (eshell-ls-executable-face, eshell-ls-readonly-face)
20412 (eshell-ls-unreadable-face, eshell-ls-special-face)
20413 (eshell-ls-missing-face, eshell-ls-archive-face)
20414 (eshell-ls-backup-face, eshell-ls-product-face)
20415 (eshell-ls-clutter-face):
20416 * eshell/em-prompt.el (eshell-prompt-face):
20417 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20418 * obsolete/old-whitespace.el (whitespace-highlight-face):
20419 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20420 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20421 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20422 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20423 (antlr-font-lock-literal-face):
20424 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20425 (ebrowse-root-class-face, ebrowse-file-name-face)
20426 (ebrowse-default-face, ebrowse-member-attribute-face)
20427 (ebrowse-member-class-face, ebrowse-progress-face):
20428 * progmodes/make-mode.el (makefile-space-face):
20429 * progmodes/sh-script.el (sh-heredoc-face):
20430 * textmodes/flyspell.el (flyspell-incorrect-face)
20431 (flyspell-duplicate-face):
20432 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20433 * textmodes/texinfo.el (texinfo-heading-face):
20434 Mark face aliases with "-face" suffix as obsolete.
20436 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20439 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20440 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20441 easy-menu-define wants to modify these.
20443 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20445 * net/browse-url.el (browse-url-file-url):
20446 * term/internal.el (dos-codepage-setup):
20447 Use default-value rather than default-enable-multibyte-characters.
20449 * progmodes/etags.el (etags-goto-tag-location):
20450 * progmodes/flymake.el (flymake-highlight-line)
20451 (flymake-goto-file-and-line, flymake-goto-line):
20452 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20453 (gdb-goto-breakpoint):
20454 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20455 * progmodes/python.el (python-find-function)
20456 (python-pdbtrack-track-stack-file):
20457 * progmodes/verilog-mode.el (verilog-surelint-off):
20458 * term/ns-win.el (ns-open-file-select-line):
20459 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20460 Use forward-line rather than goto-line.
20462 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20463 * textmodes/reftex-index.el (reftex-display-index):
20464 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20465 * textmodes/reftex-toc.el (reftex-toc):
20466 Remove unnecessary bindings of default-major-mode (all are followed by
20467 major-mode check and possible mode switch).
20469 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20471 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20472 Handle watchpoints (bug#4282).
20473 (def-gdb-thread-buffer-command): Enable thread to be selected by
20474 clicking without selecting threads buffer first.
20475 (gdb-current-context-command): Use selected frame so that "up",
20476 "down" etc work in the GUD buffer.
20477 (gdb-update): Find selected frame before rendering stack buffer.
20478 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20480 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20482 * progmodes/sym-comp.el (displayed-completions): Remove.
20483 (symbol-complete): Use minibuffer-complete.
20485 2009-08-31 Glenn Morris <rgm@gnu.org>
20487 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20489 * apropos.el (apropos-symbols-internal):
20490 Handle (obsolete) face aliases.
20492 * faces.el (describe-face): Adjust the output format to be more like
20493 describe-variable, and to mention (obsolete) face aliases.
20494 Adjust the whitespace so that help-setup-xref works.
20496 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20497 * calendar/diary-lib.el (diary-button-face):
20498 Mark these face aliases as obsolete.
20500 * calendar/calendar.el (calendar-today): Doc fix.
20502 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20504 * progmodes/gdb-mi.el (gdb-control-all-threads)
20505 (gdb-control-current-thread): Force tool bar update.
20506 (gdb-non-stop-handler): New function.
20507 (gdb-init-1): Use it to test if non-stop mode is supported.
20508 Remove unused gdbmi buffer type.
20510 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20512 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20513 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20515 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20517 * comint.el (comint-exec-1): Check command is non-null first.
20518 Part of gdb-mi.el change (2009-08-28).
20520 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20522 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20524 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20526 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20527 instead of `dolist' to avoid a recursive require when bootstrapping.
20529 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20531 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20533 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20535 * net/imap.el (imap-send-command): Simplify.
20536 (imap-wait-for-tag): point-max -> buffer-size.
20538 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20540 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20541 with constant argument.
20543 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20545 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20547 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20548 Change default, since most of our files don't have a history.
20549 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20552 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20555 * calc/calc.el: Improve commenting convention.
20556 (calc-digit-map, toplevel): Simplify.
20558 * comint.el (comint-insert-input): Be careful to only set point if we
20559 don't delegate to some other command.
20561 * proced.el (proced-signal-list): Make it an alist.
20562 (proced-grammar-alist): Capitalize names.
20563 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20564 Disable undo manually and make it read-only.
20565 Use completion-annotate-function.
20567 * minibuffer.el (minibuffer-message): If the current buffer is not
20568 a minibuffer, insert the message in the echo area rather than at the
20570 (completion-annotate-function): New variable.
20571 (minibuffer-completion-help): Use it.
20572 (completion--embedded-envvar-table): Environment vars are
20573 always case-sensitive.
20575 2009-08-30 Glenn Morris <rgm@gnu.org>
20577 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20578 from fortran-current-defun.
20579 (fortran-beginning-of-subprogram): Be more precise about finding the
20580 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20581 (fortran-end-of-subprogram): Simplify.
20582 (fortran-current-defun): Use fortran-start-prog-re.
20584 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20586 * subr.el (do-after-load-evaluation): Simplify.
20588 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20590 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20592 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20593 (vc-rcs-print-log): Use it.
20595 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20597 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20599 * paths.el (abbrev-file-name): Move to abbrev.el.
20600 * abbrev.el (abbrev-file-name): Move from paths.el.
20601 Obey user-emacs-directory.
20602 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20603 user-emacs-directory.
20604 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20605 abbrev-file-name and calc-settings-file any more.
20606 * startup.el (command-line): Recompute abbrev-file-name and
20607 abbreviated-home-dir.
20608 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20609 of the special code for when C-h bindings haven't been changed.
20610 (display-startup-echo-area-message): Use with-current-buffer.
20611 (command-line-1): Use a list of strings, rather than a list of lists
20612 of strings for longopts.
20614 * files.el (get-free-disk-space): Use / for default-directory.
20616 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20617 Use with-current-buffer.
20619 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20620 Recognize immutable variables like most-positive-fixnum.
20621 (byte-compile-setq-default): Check and warn if trying to assign
20622 to an immutable variable, or a non-variable.
20624 * progmodes/cc-vars.el (c-comment-continuation-stars):
20625 * progmodes/cc-engine.el (c-looking-at-bos):
20626 * progmodes/cc-cmds.el (c-toggle-auto-state)
20627 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20628 (c-comment-line-break-function): Add version of obsolescence.
20630 2009-08-28 Juri Linkov <juri@jurta.org>
20632 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20633 associated with `archive-mode'.
20635 * image.el (image-type-header-regexps): Use only JPEG magic number
20636 to determine JPEG images, and don't use `image-jpeg-p' because
20637 Emacs can display non-JFIF non-Exif JPEG images.
20639 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20641 * arc-mode.el (archive-mode):
20642 * emacs-lisp/re-builder.el (re-builder-unload-function):
20643 Protect against the default value of `major-mode' being nil.
20645 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20647 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20648 Fix typos in docstrings.
20650 * progmodes/js.el (js--macro-decl-re): Doc fix.
20651 (js--plain-method-re, js--split-name): Refloc docstring.
20652 (js--class-styles, js--make-merged-item, js--splice-into-items):
20653 Fix typos in docstrings; reflow docstrings.
20654 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20655 (js--variable-decl-matcher, js--inside-pitem-p)
20656 (js--parse-state-at-point, js--get-all-known-symbols)
20657 (js--symbol-history, js-find-symbol, js--js-references)
20658 (js--moz-interactor, js--js-encode-value, js--read-tab):
20659 Fix typos in docstrings.
20661 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20663 * textmodes/reftex.el (reftex-get-file-buffer-force):
20664 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20665 * emulation/viper.el (viper-go-away, viper-set-hooks):
20666 * emacs-lisp/re-builder.el (re-builder-unload-function):
20667 * emacs-lisp/bytecomp.el (byte-compile-file):
20668 * ses.el (ses-unload-function):
20669 * hexl.el (hexl-find-file):
20670 * files.el (normal-mode):
20671 * ehelp.el (with-electric-help):
20672 * autoinsert.el (auto-insert-alist):
20673 * arc-mode.el (archive-mode):
20674 Use (default-value 'major-mode) instead of default-major-mode.
20676 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20677 * international/mule.el (load-with-code-conversion):
20678 * emacs-lisp/debug.el (debug):
20679 * ediff-vers.el (ediff-rcs-get-output-buffer):
20680 * dired.el (dired-internal-noselect): Don't let-bind
20681 default-major-mode around code that doesn't use it.
20682 E.g. buffer creation via get-buffer-create doesn't use it.
20684 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20686 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20687 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20688 when writing the temp file. Otherwise, epa-file gets confused.
20689 (tramp-register-file-name-handlers): Make it a defun. Move also
20690 `epa-file-handler' to the front of `file-name-handler-alist'.
20692 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20694 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20695 start right after a ^M.
20696 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20697 (tramp-completion-file-name-regexp-separate)
20698 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20699 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20700 Don't modify last-coding-system-used by accident.
20701 (tramp-completion-file-name-handler): Apply the checks here,
20702 instead during registration.
20703 (tramp-register-file-name-handlers): Rename from
20704 `tramp-register-file-name-handler'. Register both
20705 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20706 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20708 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20710 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20711 Remove variable ...
20712 (gdb-init-1, gdb-display-separate-io-buffer)
20713 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20715 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20716 (gdb-inferior-filter): Use comint-output-filter to stop
20717 echoing and remove ^M characters.
20719 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20721 * emulation/viper-init.el (viper-restore-cursor-type):
20722 * emulation/cua-base.el (cua--update-indications):
20723 Replace default-cursor-type with (default-value 'cursor-type).
20725 * mail/sendmail.el (mail-recover-1):
20726 * international/mule-diag.el (describe-current-coding-system-briefly)
20727 (describe-current-coding-system):
20728 * international/mule-cmds.el (select-safe-coding-system)
20729 (select-message-coding-system)
20730 (set-language-environment-coding-systems, set-locale-environment):
20731 * hexl.el (hexl-insert-multibyte-char):
20732 * dos-w32.el (find-buffer-file-type-coding-system):
20733 * simple.el (what-cursor-position):
20734 Replace uses of default-buffer-file-coding-system
20735 with (default-value 'buffer-file-coding-system).
20737 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20738 Replace uses of default-cursor-in-non-selected-windows
20739 with (default-value 'cursor-in-non-selected-windows).
20740 Use with-current-buffer.
20742 * mail/feedmail.el: Use CL macros.
20743 (feedmail-run-the-queue, feedmail-send-it-immediately):
20744 * dos-w32.el (find-buffer-file-type): Replace uses of
20745 default-buffer-file-type with (default-value 'buffer-file-type).
20747 2009-08-28 Glenn Morris <rgm@gnu.org>
20749 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20750 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20751 Use default-value of major-mode rather than default-major-mode.
20753 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20755 * Makefile.in (update-elcfiles): Report left over elc files.
20757 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20758 expand-file-name and with-current-buffer.
20759 (mail-get-names, mail-directory): Use with-current-buffer.
20761 * vc.el (vc-read-revision): New function.
20762 (vc-version-diff, vc-merge): Use it.
20764 2009-08-27 Sam Steingold <sds@gnu.org>
20766 * simple.el (kill-do-not-save-duplicates): New user option.
20767 (kill-new): When it is non-nil, and the new string is the same as
20768 the latest kill, set replace to t to avoid duplicates in kill-ring.
20770 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20772 * net/tramp.el (tramp-handle-process-file): Do not flush all
20773 caches when `process-file-side-effects' is set.
20774 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20775 instead of `tramp-find-file-exists-command'.
20776 Unset `process-file-side-effects'.
20778 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20780 * net/tramp.el (tramp-methods): New method "rsyncc".
20781 (top): Add completion function for "rsyncc".
20782 (tramp-message-show-message): New defvar.
20783 (tramp-message, tramp-error): Use it.
20784 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20786 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20787 `tramp-methods' entry `copy-env' of "rsyncc".
20788 (tramp-vc-registered-read-file-names): New defconst.
20789 (tramp-vc-registered-file-names): New defvar.
20790 (tramp-handle-vc-registered): Implement optimization strategy.
20791 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20792 (tramp-vc-file-name-handler): New defun.
20793 (tramp-get-ls-command, tramp-get-test-command)
20794 (tramp-get-file-exists-command, tramp-get-remote-ln)
20795 (tramp-get-remote-perl, tramp-get-remote-stat)
20796 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20798 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20799 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20801 (tramp-get-file-property): Check for timestamps in
20802 `tramp-cache-inhibit-cache'.
20803 (tramp-set-file-property): Write timestamp.
20805 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20807 * language/japan-util.el (japanese-symbol-table): Add entries for
20810 * international/characters.el: Add category `j' to cp932-2-byte.
20812 2009-08-27 Kenichi Handa <handa@m17n.org>
20814 * international/fontset.el (build-default-fontset-data): New macro.
20815 (setup-default-fontset): Use build-default-fontset-data for CJK,
20816 tibetan, ethiopic, and ipa.
20818 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20820 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20821 (enable-multibyte-characters): Not customizable any more.
20823 * subr.el (default-mode-line-format, default-header-line-format)
20824 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20825 (default-direction-reversed, default-truncate-lines)
20826 (default-left-margin, default-tab-width, default-case-fold-search)
20827 (default-left-margin-width, default-right-margin-width)
20828 (default-left-fringe-width, default-right-fringe-width)
20829 (default-fringes-outside-margins, default-scroll-bar-width)
20830 (default-vertical-scroll-bar, default-indicate-empty-lines)
20831 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20832 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20833 (default-scroll-down-aggressively, default-fill-column)
20834 (default-cursor-type, default-buffer-file-type)
20835 (default-cursor-in-non-selected-windows)
20836 (default-buffer-file-coding-system, default-major-mode)
20837 (default-enable-multibyte-characters): Mark as obsolete.
20839 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20841 * vc-dir.el (vc-dir-update): Remove debug helper.
20843 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20845 2009-08-26 Sam Steingold <sds@gnu.org>
20847 * simple.el (save-interprogram-paste-before-kill): New user option.
20848 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20849 save the interprogram-paste into kill-ring before overriding it
20850 with the Emacs kill.
20852 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20854 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20855 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20856 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20857 and move to vc-rcs.el.
20858 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20860 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20861 (vc-rcs-update-changelog): Remove.
20862 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20863 and move to vc-rcs.el.
20865 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20866 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20868 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20869 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20870 vc.el, renamed to be RCS specific.
20872 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20874 (vc-cvs-update-changelog): Move here from vc.el.
20876 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20879 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20881 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20883 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20885 * vc-git.el (vc-git-register): Use "git add" for directories.
20886 (vc-git-stash, vc-git-stash-show): New functions.
20887 (vc-git-extra-menu-map): Bind them.
20889 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20890 directory correctly in case the item is a directory itself.
20892 * vc.el: Document the desired behavior for reverted files in the
20894 (vc-default-prettify-state-info): Remove function, unused.
20896 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20898 2009-08-26 Glenn Morris <rgm@gnu.org>
20900 * bindings.el (standard-mode-line-format): Reposition dashes in
20901 which-func entry. (Bug#4217)
20903 * files.el (enable-local-variables, enable-local-eval)
20904 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20906 (auto-mode-alist, ignored-local-variables)
20907 (save-some-buffers-action-alist): Move risky declarations to the
20909 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20910 (font-lock-defaults, format-alist, imenu--index-alist)
20911 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20912 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20913 (mode-line-modified, mode-line-mule-info, mode-line-position)
20914 (mode-line-process, mode-line-remote, outline-level)
20915 (parse-time-rules, rmail-output-file-alist)
20916 (special-display-buffer-names, vc-mode):
20917 Move risky declarations to the relevant files.
20918 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20919 (mode-line-modified, mode-line-process, mode-line-position)
20920 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20921 * font-core.el (font-lock-defaults):
20922 * format.el (format-alist):
20923 * vc-hooks.el (vc-mode):
20924 * window.el (special-display-buffer-names):
20925 * international/mule-cmds.el (input-method-alist):
20926 Define riskiness here (dumped file) rather than in files.el.
20927 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20928 * imenu.el (imenu-generic-expression, imenu--index-alist):
20929 * outline.el (outline-level):
20930 * time.el (display-time-string):
20931 * calendar/parse-time.el (parse-time-rules):
20932 * mail/rmailout.el (rmail-output-file-alist):
20933 Autoload riskiness here, rather than placing in files.el.
20935 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20937 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20939 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20941 * simple.el (process-file-side-effects): New defvar.
20943 * dired-aux.el (dired-show-file-type):
20944 * vc.el (vc-diff-internal):
20945 * vc-arch.el (vc-arch-diff):
20946 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20947 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20948 * vc-git.el (vc-git-registered, vc-git-working-revision)
20949 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20950 (vc-git--empty-db-p):
20951 * vc-hooks.el (vc-user-login-name):
20952 * vc-svn.el (vc-svn-registered, vc-svn-state)
20953 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20954 * progmodes/grep.el (grep-probe): Let-bind
20955 `process-file-side-effects' with nil.
20957 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20959 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20960 daemon. Replace ping by checking for running service for bluez
20961 and zeroconf. (Bug#4239)
20963 2009-08-25 Kevin Ryde <user42@zip.com.au>
20965 * net/dig.el (dig): Add autoload cookie.
20967 2009-08-25 Glenn Morris <rgm@gnu.org>
20969 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20970 load-history for absolute file-names.
20971 (byte-compile-file-form-require): Warn about use of the cl package.
20973 * format.el (format-alist): Doc fix.
20975 * play/bubbles.el (top-level): Don't require cl at run-time.
20977 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20980 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20982 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20984 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20986 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20988 * calc/calc-alg.el (math-trig-rewrite)
20989 (math-hyperbolic-trig-rewrite): New functions.
20990 (calc-simplify): Simplify trig functions when asked.
20992 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20994 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20996 2009-08-24 Kenichi Handa <handa@m17n.org>
20998 * language/ind-util.el (mapthread): Delete it.
20999 (combinatorial): New function.
21000 (indian--puthash-cv): Use combinatorial instead of mapthread.
21002 2009-08-22 Kevin Ryde <user42@zip.com.au>
21004 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21005 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21006 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21007 Clarify docstring that the value is strings not symbols.
21008 (checkdoc-list-of-strings-p): New function.
21010 2009-08-22 Glenn Morris <rgm@gnu.org>
21012 * files.el (auto-mode-alist):
21013 * hippie-exp.el (he-concat-directory-file-name):
21014 * lpr.el (lpr-windows-system, printer-name):
21015 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21016 * ps-print.el (ps-windows-system):
21017 * startup.el (command-line):
21018 * emulation/viper-ex.el (viper-glob-function):
21019 * international/mule-cmds.el (set-language-environment-coding-systems):
21020 * net/ange-ftp.el (ange-ftp-write-region):
21021 * obsolete/fast-lock.el (fast-lock-cache-name):
21022 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21023 unisoft-unix, vax-vms, win32, w32.
21025 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21026 given name if the pattern is not more specific.
21028 * calendar/lunar.el (lunar-phase-names): New option.
21029 (lunar-phase): Doc fix.
21030 (lunar-cycles-per-year): New constant.
21031 (lunar-index): New function.
21032 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21033 (lunar-phase-name): Use lunar-phase-names.
21034 (calendar-lunar-phases): Use format.
21035 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21037 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21038 Copy imenu-example--name-and-position function here for own use.
21039 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21041 * bs.el (bs--redisplay):
21042 * cus-edit.el (custom-redraw):
21043 * ibuffer.el (ibuffer-bury-buffer):
21044 * server.el (server-goto-line-column):
21045 * startup.el (command-line-1):
21046 * strokes.el (strokes-xpm-for-stroke):
21047 * term.el (term-display-buffer-line):
21048 * view.el (View-goto-line):
21049 * calc/calc.el (calc-do, calc-trail-buffer):
21050 * play/gamegrid.el (gamegrid-add-score-insecure):
21051 * progmodes/ada-mode.el (ada-compile-goto-error):
21052 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21053 (ebrowse-select-1st-to-9nth):
21054 * progmodes/cperl-mode.el (cperl-time-fontification):
21055 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21056 * progmodes/gud.el (gud-display-line):
21057 (idlwave-shell-display-line):
21058 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21059 * progmodes/make-mode.el (makefile-browser-toggle):
21060 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21061 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21062 * textmodes/picture.el (picture-draw-rectangle):
21063 * textmodes/reftex-index.el (reftex-index-goto-letter):
21064 (reftex-select-jump-to-previous):
21065 * textmodes/reftex-sel.el (reftex-find-start-point)
21066 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21067 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21068 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21069 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21070 * textmodes/two-column.el (2C-associated-buffer):
21071 Use forward-line rather than goto-line.
21073 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21076 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21077 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21078 (quick-check-list-to-regexp): Declare.
21080 * progmodes/make-mode.el (makefile-browser-insert-selection):
21081 Use goto-char rather than goto-line.
21083 * progmodes/prolog.el (compilation-error-regexp-alist)
21084 (compilation-forget-errors): Declare.
21086 2009-08-22 Juri Linkov <juri@jurta.org>
21088 * progmodes/grep.el (lgrep, rgrep): At the beginning
21089 set `dir' to `default-directory' unless `dir' is a non-nil
21090 readable directory. (Bug#4052)
21091 (lgrep, rgrep): Change a weird way to report an error
21092 from using `read-string' to using `error'.
21093 Instead of using interactive arguments in the function body,
21094 add new argument `confirm'.
21096 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21098 * textmodes/remember.el (remember-buffer):
21099 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21100 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21101 (icalendar-extract-ical-from-buffer):
21102 * net/newst-treeview.el (newsticker-groups-filename):
21103 * net/newst-backend.el (newsticker-cache-filename):
21104 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21105 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21106 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21107 (speedbar-buffers-line-path, speedbar-path-line)
21108 (speedbar-buffers-line-path):
21109 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21111 * epa.el (epa-display-verify-result):
21112 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21114 2009-08-21 Glenn Morris <rgm@gnu.org>
21116 * progmodes/js.el (inferior-moz-process): Fix declaration.
21118 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21120 * obsolete/rnewspost.el (news-mail-reply):
21121 Use goto-char rather than goto-line.
21123 * term/ns-win.el (ns-open-file-select-line):
21124 Use line-beginning-position rather than goto-line.
21126 * apropos.el (apropos-command):
21127 * ehelp.el (electric-helpify):
21128 * printing.el (pr-show-setup):
21129 * strokes.el (strokes-help):
21130 * tutorial.el (tutorial--describe-nonstandard-key)
21131 (tutorial--detailed-help):
21132 * woman.el (woman-mini-help, woman-display-extended-fonts):
21133 * calc/calc-help.el (calc-describe-key):
21134 * emulation/edt.el (edt-electric-helpify):
21135 * international/mule-diag.el (mule-diag):
21136 * play/yow.el (apropos-zippy):
21137 * progmodes/python.el (python-describe-symbol):
21138 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21139 * textmodes/table.el (*table--cell-describe-mode)
21140 (*table--cell-describe-bindings):
21141 Use help-print-return-message rather than the now obsolete alias.
21143 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21144 (calendar-cursor-to-visible-date):
21145 * play/5x5.el (5x5-position-cursor):
21146 * play/decipher.el (decipher):
21147 * play/gomoku.el (gomoku-goto-xy):
21148 * play/landmark.el (lm-goto-xy):
21149 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21150 (mpuz-paint-digit):
21151 Use forward-line, not goto-line.
21153 * mail/rmail.el (rmail-obsolete): Delete custom group.
21154 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21155 (rmail-remote-password, rmail-remote-password-required):
21156 Remove unneeded :set-after and :set properties.
21158 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21160 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21162 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21164 * loadup.el: Remove leftover macos code.
21166 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21167 Explicitly pass the date format to git blame so that user local
21168 so that the output format can be parsed.
21170 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21172 * net/dbus.el (top): Don't check for (getenv
21173 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21175 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21177 * log-edit.el (log-edit-strip-single-file-name): New var.
21178 (log-edit-insert-changelog): Use it. Bug#3571.
21180 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21182 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21185 * help.el (help-print-return-message): Rename from
21186 print-help-return-message.
21188 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21189 cvs-mode-map parent hack.
21190 (log-view-mode): Derive from special-mode.
21192 * linum.el (linum-mode): window-size-change-functions is redundant.
21193 Adapt to new window-configuration-change-hook behavior.
21194 (linum-after-size, linum-after-config): Remove.
21196 * imenu.el (imenu-example--name-and-position)
21197 (imenu-example--lisp-extract-index-name)
21198 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21201 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21202 (inferior-prolog-mode): Use it.
21203 (inferior-prolog-load-file): Reset list of errors.
21205 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21207 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21209 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21211 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21213 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21214 is running already.
21216 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21218 * subr.el (listify-key-sequence-1): Use normal syntax since those
21219 integers are nowadays always represented by the same (positive) number
21221 (read-key-empty-map): New const.
21222 (read-key-delay): New var.
21223 (read-key): New function.
21224 (force-mode-line-update): Use with-current-buffer.
21225 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21226 (start-process-shell-command, start-file-process-shell-command):
21227 Discourage the use of command-args.
21229 2009-08-19 Glenn Morris <rgm@gnu.org>
21231 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21233 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21235 * simple.el (choose-completion-string): Don't rely on
21236 minibuffer-completing-file-name and ad-hoc checks to decide whether
21237 to continue completion or not.
21239 * minibuffer.el (minibuffer-hide-completions): New function.
21240 (completion--do-completion): Use it.
21241 (completions-annotations): New face.
21242 (completion--insert-strings): Use it.
21243 (completion-pcm--delim-wild-regex): Add docstring.
21244 (completion-pcm--string->pattern): Add support for 0-width delimiters
21245 in completion-pcm--delim-wild-regex.
21247 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21249 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21250 Remove unused var `buffer-modified-p'.
21252 * minibuffer.el (completion--do-completion): Move point for the #b001
21253 case as well (bug#4176).
21254 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21256 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21258 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21259 and :session buses.
21261 2009-08-18 Kenichi Handa <handa@m17n.org>
21263 * international/ucs-normalize.el (ucs-normalize-version):
21265 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21266 (utf-8-hfs): Make it perform normalization on encoding too.
21268 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21269 (sentence-end-without-space): Delete duplicated chars.
21270 (sentence-end-base): Likewise.
21272 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21273 (html-mode): Delete duplicated chars from sentence-end-base.
21275 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21276 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21278 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21280 * files.el (hack-one-local-variable): If the mode function is for
21281 a minor mode, pass it an argument (Bug#4148).
21283 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21285 * net/tramp.el (tramp-register-completion-file-name-handler):
21286 Check also for (member 'partial-completion completion-styles).
21288 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21290 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21293 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21295 * progmodes/cperl-mode.el: Merge upstream 6.2.
21296 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21297 (cperl-forward-re): Check cperl-brace-recursing.
21298 (cperl-highlight-charclass): New function.
21299 (cperl-find-pods-heres): Use it.
21300 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21301 (cperl-beautify-regexp-piece): Fix column calculation.
21302 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21303 (cperl-beautify-level): Don't process entire regexp.
21304 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21306 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21307 (cperl-init-faces): Build a list in the normal way.
21309 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21311 * calendar/parse-time.el (parse-time-string-chars): Save match
21314 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21316 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21317 (sql-product): Use it.
21318 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21319 (sql-set-product): Add completion.
21320 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21321 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21322 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21323 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21324 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21325 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21326 (sql-highlight-db2-keywords): Remove.
21327 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21328 (sql-highlight-product): Use derived-mode-p.
21329 (sql-set-sqli-buffer): Use with-current-buffer.
21330 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21333 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21335 * term.el: Fix commenting convention, turn comments into docstrings.
21337 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21339 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21341 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21343 * calendar/parse-time.el (parse-time-string-chars): Compute using
21344 character classes, to handle non-ascii characters (Bug#3190).
21346 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21348 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21349 another heredoc if the user adds another < (Bug#3226).
21351 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21352 Don't initialize based on window-system (Bug#4124).
21354 * facemenu.el (facemenu-read-color): Use a completion function
21355 that accepts any defined color, such as RGB triplets (Bug#3677).
21357 * files.el (get-free-disk-space): Change fallback default
21358 directory to /. Expand DIR argument before switching to fallback.
21359 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21361 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21363 * files.el (load-library): Doc fix.
21365 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21367 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21368 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21369 incremental search string.
21371 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21374 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21375 (ediff-merge-region-is-non-clash)
21376 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21377 Also check if the job is really a merge job.
21379 * ediff.el (ediff-current-file): New function.
21381 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21383 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21385 (js-insert-and-indent): Delete function.
21386 (js-mode-map): Don't bind keys to js-insert-and-indent.
21387 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21388 (js-end-of-defun): Rename from js--end-of-defun.
21389 (js-auto-indent-flag): Delete variable.
21391 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21393 * progmodes/js.el: Remove proclaim statement.
21394 Defvar which-func-imenu-joiner-function to silence compiler.
21396 * files.el (auto-mode-alist): Use js-mode for .js files.
21398 * progmodes/js2-mode.el: Remove file.
21400 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21402 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21404 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21406 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21407 Karl Landstrom <karl.landstrom@brgeight.se>
21409 * progmodes/js.el: New file.
21411 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21413 * timezone.el (timezone-parse-date): Add ability to understand ISO
21414 basic format (minimal separators) dates in addition to the
21415 already-supported extended format dates.
21417 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21419 * international/ucs-normalize.el: Add a `coding' file variable.
21421 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21423 2009-08-14 Sam Steingold <sds@gnu.org>
21425 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21427 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21429 * faces.el (help-argument-name): Define it here instead of
21430 help-fns.el, because in daemon mode help-fns.el may be loaded when
21431 faces are still uninitialized (Bug#1078).
21433 * help-fns.el (help-argument-name): Move defface to faces.el.
21435 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21437 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21438 create buffer with a pty but no process so that GDB can make the
21439 inferior the controlling process.
21441 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21443 * international/ucs-normalize.el: New file.
21445 2009-08-13 Richard Stallman <rms@gnu.org>
21447 * mail/rmail.el (rmail-get-attr-names):
21448 Accept an attribute header that is too short.
21450 * mail/rmail.el (rmail-forget-messages):
21451 Ignore nil elt in rmail-message-vector. Use dotimes.
21453 * progmodes/compile.el (compilation-goto-locus):
21454 Use next-error-move-function.
21456 * simple.el (next-error-move-function): New variable.
21458 2009-08-12 Juri Linkov <juri@jurta.org>
21460 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21461 always non-nil. (Bug#4052)
21463 * replace.el (read-regexp): Return empty string when
21464 `default-value' is nil.
21465 (keep-lines-read-args): Don't use empty string as the
21466 default value for `read-regexp'. (Bug#2495)
21468 2009-08-12 Juri Linkov <juri@jurta.org>
21470 * international/mule-cmds.el (ucs-insert): Change arguments
21471 from `arg' to `character', `count', `inherit' to be the same
21472 as in `insert-char'. Doc fix. (Bug#4039)
21474 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21476 2009-08-12 Juri Linkov <juri@jurta.org>
21478 * files-x.el: New file.
21480 * files.el: Move code that deals with adding/deleting
21481 file/directory-local variables to files-x.el.
21483 * Makefile.in (ELCFILES): Add files-x.elc.
21485 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21487 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21488 to use `goto-line'.
21489 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21491 (gdb-invalidate-disassembly): Do not refresh upon receiving
21492 'update signal. Instead, update all disassembly buffers only after
21494 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21495 (gdb-starting): Move -data-list-register-names...
21496 (gdb-stopped): ...here so it's sent when first thread stops.
21497 (gdb-registers-handler-custom): Do nothing if register names are
21500 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21501 from `gdb-mi.el' to avoid extra tangling.
21503 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21504 change which breaks `gud-def' definitions used in `gdb'.
21505 (gdb-update-gud-running): No extra fuss for updating frame number.
21507 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21509 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21510 (describe-language-environment-map, setup-language-environment-map)
21511 (set-coding-system-map): Move initialization into declaration.
21512 (set-language-info-alist): Last arg to define-key-after can be skipped.
21514 * international/quail.el (quail-completion-1): Simplify.
21515 (quail-define-rules): Use slightly more compact code.
21516 (quail-insert-decode-map): Propertize keys, compact columns.
21518 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21521 2009-08-10 Miles Bader <miles@gnu.org>
21523 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21524 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21525 (js2-instance-member, js2-private-member, js2-private-function-call)
21526 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21527 (js2-magic-paren, js2-external-variable):
21528 Remove "-face" suffix from face names.
21529 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21530 (js2-highlight-undeclared-vars, js2-peek-token)
21531 (js2-parse-function-params, js2-mode-show-errors)
21532 (js2-mode-show-warnings, js2-make-magic-delimiter)
21533 (js2-mode-highlight-magic-parens): Update to use new face names.
21535 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21537 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21538 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21540 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21542 * subr.el: Provide hashtable-print-readable.
21544 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21545 hs-c-like-adjust-block-beginning.
21546 (hs-hide-block-at-point): Stop hiding at the beginning of
21547 hs-block-end-regexp (Bug#700).
21549 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21551 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21553 (gdb-registers-handler-custom): Do not fail when register names
21556 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21558 * progmodes/gdb-mi.el (gdb-control-all-threads)
21559 (gdb-control-current-thread): Interactive setters for
21560 `gdb-gud-control-all-threads' to use in menu.
21561 (gdb-show-run-p): Show «Go» when process is not active.
21562 (gud-tool-bar-map): Add non-stop/A,T indicator.
21563 Uses gud/thread.xpm and gud/all.xpm.
21565 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21567 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21568 (nslookup-font-lock-keywords): Make it a variable.
21569 (net-utils-mode): New mode for viewing diagnostic network output.
21570 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21571 (net-utils-run-simple): New function.
21572 (ifconfig, iwconfig, netstat, arp, route): Use it.
21574 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21576 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21577 (gdb-memory-set-address, def-gdb-set-positive-number)
21578 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21579 after changing settings.
21580 (gdb-invalidate-disassembly): Update when first shown.
21581 (gdb-edit-locals-value): Fix.
21582 (gdb-registers-handler-custom): Print registers in right order and
21583 allow changing register values (only for current thread yet).
21584 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21585 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21586 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21587 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21588 Thread info in mode name.
21589 (gdb-registers-mode-map): TAB to switch to locals.
21591 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21593 * mail/rmail.el (rmail-add-mbox-headers)
21594 (rmail-set-message-counters-counter): Search for
21595 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21597 2009-08-08 Glenn Morris <rgm@gnu.org>
21599 * Makefile.in (ELCFILES): Update.
21601 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21603 * mail/sendmail.el (mail-yank-original):
21604 Set buffer-file-coding-system from the one used by the message whose
21607 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21608 to "windows" when "pgnuplot" is used.
21609 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21610 Don't call accept-process-output if "pgnuplot" is used.
21611 (calc-graph-init): Don't send -display and -geometry to
21612 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21613 running "pgnuplot -V" with shell-command-to-string.
21615 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21618 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21620 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21623 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21625 * vc-dispatcher.el (vc-resynch-window): Update comment.
21627 * term.el (term-handle-ansi-escape): Add comments with the
21628 terminfo capabilities implemented.
21630 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21632 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21633 (gdb-var-create-handler): Rewritten using JSON parser.
21634 (gdb-propertize-header): Move earlier.
21635 (gdb-set-header): Remove to avoid duplication.
21636 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21637 Refresh disassembly buffers only after threads list have been
21639 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21642 2009-08-04 Juri Linkov <juri@jurta.org>
21644 * files.el: Commands to add/delete file/directory-local variables.
21645 (read-file-local-variable, read-file-local-variable-value)
21646 (read-file-local-variable-mode, modify-file-local-variable)
21647 (modify-file-local-variable-prop-line)
21648 (modify-dir-local-variable): New functions.
21649 (add-file-local-variable, delete-file-local-variable)
21650 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21651 (add-dir-local-variable, delete-dir-local-variable)
21652 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21653 (copy-dir-locals-to-file-locals-prop-line): New commands.
21655 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21657 * abbrev.el (insert-abbrev-table-description): Prettify output.
21658 Suggested by Karl Chen.
21660 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21662 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21663 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21664 (gdb-overlay-arrow-position, gdb-thread-position)
21665 (gdb-disassembly-position): Declare variables.
21666 (gdb-wait-for-pending): Function now.
21667 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21668 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21669 compilation goes smoothly.
21670 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21671 (gdb-non-stop-setting): New customization setting which replaces
21672 `gdb-non-stop' so changing it doesn't break active GDB session.
21673 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21674 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21675 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21676 (gdb-show-threads-by-default): New customization options.
21677 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21679 (gdb-get-buffer-create): Send buffers update signal when they are
21681 (gdb-invalidate-locals, gdb-invalidate-registers)
21682 (gdb-invalidate-breakpoints)
21683 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21684 (gdb-invalidate-memory): Accept update signal.
21685 (gdb-current-context-command): Use --frame option.
21686 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21687 Implement `gdb-frame-number' selection logic.
21688 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21689 whether to show GUD toolbar buttons.
21690 (gdb-thread-exited): Unselect current thread when it exits.
21691 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21692 (gdb-mark-line): Routine which sets overlay arrow or inverses
21693 video on fringeless displays.
21694 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21695 to build aligned columns of data in GDB buffers and set text
21696 properties line-by-line.
21697 (gdb-invalidate-breakpoints)
21698 (gdb-breakpoints-list-handler-custom)
21699 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21700 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21701 (gdb-registers-handler-custom): Align data columns.
21702 (gdb-locals-handler-custom): Now prints data like in variable
21704 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21705 Remove confusing buttons.
21706 (gdb-invalidate-threads): Append --frame.
21707 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21708 between breakpoints/threads buffers.
21709 (gdb-set-window-buffer): Now can ignore dedicated windows.
21710 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21711 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21712 (def-gdb-thread-buffer-gud-command): Replaces
21713 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21714 for fine thread control.
21715 (gdb-preempt-existing-or-display-buffer): New function used to
21716 display bound buffers without breaking window layout.
21717 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21718 (gdb-select-frame): New version of `gdb-frames-select' which now
21719 sets `gdb-frame-number' so commands may use --frame option instead
21720 of inner debugger state.
21721 (gdb-frame-handler): Do not set `gdb-frame-number'.
21722 (gdb-threads-mode-map): Select threads with mouse.
21724 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21725 avoid compilation warning.
21726 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21729 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21730 Argument `key' renamed to `buffer-type'.
21731 (gdb-current-context-buffer-name): Do not add thread info to
21732 buffer name when no thread is selected.
21733 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21734 command (bug 3794).
21735 (gdb-thread-selected): Handle `=thread-selected' notification.
21736 (gdb-wait-for-pending): New macro to deal with congestion problems.
21737 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21739 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21740 This fixes problem similar to one described in bug 3947.
21741 (gud-menu-map): More menu items.
21742 (gdb-init-1): Reset `gdb-thread-number' to nil.
21744 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21747 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21748 (gdb-current-context-command): Do not append --thread if
21749 `gdb-thread-number' is nil.
21750 (gdb-running-threads-count, gdb-stopped-threads-count):
21752 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21753 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21754 New customization options.
21755 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21757 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21758 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21759 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21760 set `gdb-thread-number' and update `gud-running' properly.
21761 (gdb-running): Update threads list when new threads appear.
21762 (gdb-stopped): Support non-stop operation and new thread switching
21764 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21765 (gdb-json-partial-output): New set of JSON routines.
21766 (def-gdb-auto-update-trigger): New `signal-list' optional
21768 (gdb-thread-list-handler-custom): Update `gud-running',
21769 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21770 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21771 (gdb-continue-thread, gdb-step-thread): New commands for fine
21772 thread execution control.
21773 (gud-menu-map): New menu items to switch non-stop options.
21774 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21775 (gdb-send): Mimic RET properly (bug 3794).
21777 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21778 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21780 (def-gdb-auto-update-handler): New nopreserve optional argument.
21781 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21783 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21784 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21785 (gdb-parent-mode): New mode to derive other GDB modes from.
21786 (gdb-display-disassembly-for-thread)
21787 (gdb-frame-disassembly-for-thread): New commands for threads
21790 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21791 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21792 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21793 (gdb-update): We now store all GDB buffers in a list so that they
21794 can be updated by traversing a list instead of calling invalidate
21795 triggers explicitly.
21796 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21797 pair for GDB buffer.
21798 (gdb-stack-buffer-name): Add thread information.
21799 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21800 handle pending triggers.
21801 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21802 (def-gdb-thread-buffer-simple-command)
21803 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21804 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21805 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21806 New commands which show buffers bound to thread.
21807 (gdb-stack-list-locals-regexp): Remove unused regexp.
21809 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21810 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21811 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21812 to (gud-comint-buffer) in *-buffer-name functions
21813 because (gdb-get-target-string) already does that.
21814 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21815 (gdb-changed-registers-handler): Rewritten without regexps.
21817 * progmodes/gdb-mi.el: Basic thread selection support.
21818 (gdb-thread-number): New variable.
21819 (gdb-current-context-command): New macro which adds --thread
21821 (gdb-threads-mode-map): Select thread with SPC.
21822 (gdb-thread-list-handler-custom): Mark current thread with overlay
21823 arrow. Synchronize GDB thread and Emacs thread.
21824 (gdb-select-thread): New command which selects current thread.
21825 (gdb-invalidate-frames, gdb-invalidate-locals)
21826 (gdb-invalidate-registers): Use --thread option.
21828 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21830 * net/tramp.el (top): Make check for tramp-gvfs loading more
21832 (tramp-handle-insert-file-contents): `unwind-protect' must be
21833 inside `with-parsed-tramp-file-name'.
21835 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21838 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21840 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21841 directory if CLASSPATH is not set.
21843 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21845 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21847 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21849 2009-08-02 Kevin Ryde <user42@zip.com.au>
21851 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21852 Update freshmeat link. Delete newsforge.com as it seems gone.
21854 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21856 * select.el (x-set-selection): Doc fix (Bug#4021).
21858 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21860 * help-fns.el (describe-variable): Treat list return values from
21861 dir-locals-find-file properly (Bug#4005).
21863 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21865 * net/tramp.el (tramp-debug-message): Print also microseconds.
21867 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21869 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21871 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21872 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21875 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21876 (tramp-get-file-property): Use it.
21878 * autorevert.el (auto-revert-handler):
21879 Allow `auto-revert-tail-mode' for remote files.
21881 2009-08-02 Jason Rumney <jasonr@gnu.org>
21883 * minibuffer.el (read-file-name): Treat confirm options to
21884 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21886 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21888 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21889 (font-lock-variable-name-face, font-lock-constant-face):
21890 Darken the colors for light backgrounds.
21892 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21894 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21895 month names. (Bug#3987)
21897 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21899 * simple.el (line-move-finish): Pass whole number to
21900 line-move-to-column.
21901 (line-move-visual): Perform hscroll to the recorded position.
21903 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21905 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21907 2009-07-29 Alan Mackenzie <acm@muc.de>
21909 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21911 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21913 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21914 (gdb-place-breakpoints): Use full path when setting breakpoints.
21916 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21918 * calc/calc.el (calc-mode-map): Add keybinding for
21919 `calc-transpose-lines'.
21921 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21923 * calc/calc-misc.el (calc-transpose-lines): New function.
21925 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21927 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21928 Simplify check for out-of-band methods.
21929 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21930 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21932 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21934 * vc-git.el (vc-git-checkin): Fix typo.
21936 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21938 * progmodes/js2-mode.el: New file.
21940 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21942 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21943 (gud-menu-map): Adjust tooltip accordingly.
21945 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21947 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21948 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21950 * add-log.el (change-log-mode-map): Add a menu.
21952 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21954 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21955 function returns nil.
21956 (dbus-handle-event): Handle special return value :ignore.
21957 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21959 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21961 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21964 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21968 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21970 * term/pc-win.el (x-display-name, x-colors)
21971 (x-select-enable-clipboard, x-select-text): Doc fix.
21973 * term/common-win.el (x-display-name, x-colors): Doc fix.
21975 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21976 (xw-defined-colors): Doc fix.
21978 * w32-fns.el (x-select-text, x-setup-function-keys)
21979 (x-get-selection, x-set-selection): Doc fix.
21981 * term/x-win.el (x-select-text, x-setup-function-keys)
21982 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21984 * select.el (x-set-selection): Doc fix.
21986 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21988 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21989 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21990 "IsNSSSupportAvailable" method is not available.
21991 Reported by Steve Youngs <steve@sxemacs.org>.
21993 2009-07-24 Kenichi Handa <handa@m17n.org>
21995 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21996 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21997 (build-unicode-category-table): Fix range checks.
21999 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22001 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22002 the buffer we try to sync is current when calling
22005 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22006 not show up to date files.
22008 2009-07-24 Glenn Morris <rgm@gnu.org>
22010 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22011 Add autoload cookies. If necessary, initialize.
22012 (elint-log): Handle non-file buffers.
22013 (elint-initialize): Add optional argument to reinitialize.
22014 (elint-find-builtin-variables): Save excursion.
22016 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22018 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22021 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22023 * vc.el (vc-print-log-internal): New function, split out from ...
22024 (vc-print-log): ... here.
22025 (vc-dir-move-to-goal-column): Declare.
22027 * vc-git.el (vc-git-add-signoff): New variable.
22028 (vc-git-checkin): Use it.
22029 (vc-git-toggle-signoff): New function.
22030 (vc-git-extra-menu-map): Bind it to menu.
22031 (vc-git--run-command-string): Accept a nil FILE argument.
22032 (vc-git-stash-list): New function.
22033 (vc-git-dir-extra-headers): Use it.
22035 2009-07-23 Glenn Morris <rgm@gnu.org>
22037 * help-fns.el (describe-variable): Describe ignored and risky local
22038 variables in a similar way to that in which we describe safe ones.
22040 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22041 (byte-compile-output-file-form, byte-compile-output-docform)
22042 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22043 Give some more local variables with common names a "bytecomp-" prefix,
22044 so as not to shadow things during compilation.
22045 * emacs-lisp/cl-macs.el (load-time-value)
22046 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22047 `outbuffer' to `bytecomp-outbuffer'.
22049 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22050 since the next two variables cover them automatically now.
22051 (elint-builtin-variables, elint-autoloaded-variables): New.
22052 (elint-unknown-builtin-args): Remove all members, since they can be
22053 parsed automatically now.
22054 (elint-extra-errors): New.
22055 (elint-env-add-env, elint-env-add-macro): Use cadr.
22056 (elint-current-buffer): Use or. Change final message.
22057 (elint-get-top-forms): Use line-end-position.
22058 (elint-init-env): Use cadr. Handle autoload, declare-function,
22060 (elint-add-required-env): Doc fix. Use or. Standardize error.
22061 (regexp-assoc): Remove unused function.
22062 (elint-top-form): Set elint-current-pos, to record the start of the
22063 top-level form, for compilation-mode.
22064 (elint-form): Trap errors in macro expansion. Use dolist.
22065 (elint-unbound-variable): Use elint-builtin-variables and
22066 elint-autoloaded-variables.
22067 (elint-get-args): Use cadr, or.
22068 (elint-check-cond-form): Use dolist, cadr.
22069 (elint-check-condition-case-form): Doc fix. Use cadr.
22070 Use elint-extra-errors.
22071 (elint-log): New function.
22072 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22073 Distinguish errors and warnings.
22074 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22075 Use a bytecomp-style format.
22076 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22077 (elint-get-log-buffer): Use compilation mode. Disable undo.
22078 Don't truncate lines.
22079 (elint-initialize): Set builtin and autoloaded variable lists.
22080 Only process elint-unknown-builtin-args if non-nil.
22081 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22083 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22085 2009-07-22 Kevin Ryde <user42@zip.com.au>
22087 * net/newst-backend.el (newsticker--parse-atom-1.0)
22088 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22089 (newsticker--parse-rss-1.0):
22090 * progmodes/idlwave.el (idlwave-mode):
22091 * progmodes/idlw-shell.el (idlwave-shell-mode):
22092 * progmodes/vera-mode.el (vera-mode):
22093 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22094 * progmodes/vhdl-mode.el (vhdl-mode):
22095 * textmodes/table.el (table-generate-source)
22096 (table--warn-incompatibility):
22097 Hyperlink urls in docstrings with URL `...'.
22099 2009-07-22 Glenn Morris <rgm@gnu.org>
22101 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22102 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22103 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22104 Remove leading * from defcustom docs.
22106 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22108 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22110 (list-load-path-shadows): Optionally, just return shadows as a string.
22112 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22114 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22116 * mail/rmailedit.el (rmail-edit-mode):
22117 Use auto-save-include-big-deletions.
22119 * mail/rmail.el (rmail-variables):
22120 Use auto-save-include-big-deletions.
22122 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22125 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22127 * calc/calc.el (calc-undo-length): New variable.
22128 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22130 2009-07-21 Richard Stallman <rms@gnu.org>
22132 * files.el (auto-save-mode): Handle buffer-save-size = -2
22135 2009-07-21 Glenn Morris <rgm@gnu.org>
22137 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22139 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22141 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22142 silence compiler. Instead...
22143 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22144 (ps-print-ensure-fontified): Update for above function name changes.
22146 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22147 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22148 silence compiler. Instead...
22149 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22150 (mh-show-buffer): Only define for compiler.
22151 (pr-mh-current-message): Update for above function name changes.
22153 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22155 (find-file-noselect, insert-file-1): Update for above change.
22157 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22159 * mail/mailclient.el (mailclient-send-it): Fix message.
22161 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22162 (edebug-eval): Check cl-debug-env is bound.
22163 (print-level, print-circle): Don't redefine built-in variables.
22165 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22166 (custom-print-vectors): Remove old comments from doc.
22168 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22169 (emerge-version): Make the variable an obsolete alias for the
22170 emacs-version variable. Make the function obsolete.
22171 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22172 Emerge options, rather than merging in into the main Options menu.
22173 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22174 and auto advance modes. Disable edit/fast items when not relevant.
22176 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22178 * term/vt420.el (terminal-init-vt420): Fix typo.
22180 2009-07-20 Sam Steingold <sds@gnu.org>
22182 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22183 variable (removed from compile.el on 2004-03-11).
22185 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22187 * files.el (hack-local-variables-filter): Fix last change.
22189 2009-07-19 Juri Linkov <juri@jurta.org>
22191 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22192 (dir-local-variables-alist): New buffer-local variable.
22193 (hack-local-variables-filter): If variable is not dir-local,
22194 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22195 because file-local overrides dir-local.
22196 (c-postprocess-file-styles) <declare-function>:
22197 Remove obsolete declaration.
22198 (hack-dir-local-variables): Add dir-local variable/value pair to
22199 `dir-local-variables-alist' and remove duplicates. Doc fix.
22201 * help-fns.el (describe-variable): Add information about
22202 file-local and dir-local variables.
22204 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22206 * files.el (hack-local-variables-filter): Rewrite.
22208 2009-07-19 Glenn Morris <rgm@gnu.org>
22210 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22211 Silence compiler by only defining on XEmacs.
22213 * international/mule.el (auto-coding-regexp-alist): Only match
22214 BABYL... at the start of buffer, not of lines. (Bug#3790)
22216 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22217 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22218 (cal-menu-context-mouse-menu): Doc fix.
22220 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22222 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22224 2009-07-18 Juri Linkov <juri@jurta.org>
22226 * info.el: Virtual Info keyword finder.
22227 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22228 (Info-finder-file): New variable.
22229 (Info-finder-find-file): New function.
22230 (finder-known-keywords, finder-package-info)
22231 (find-library-name, lm-commentary): Use defvar and
22232 declare-function to silence compiler warnings.
22233 (Info-finder-find-node): New function.
22234 (info-finder): New command.
22236 * subr.el (process-kill-buffer-query-function): New function.
22237 (add-hook)<kill-buffer-query-functions>: Add hook
22238 `process-kill-buffer-query-function'.
22240 2009-07-18 Alan Mackenzie <acm@muc.de>
22242 * progmodes/cc-mode.el (c-before-hack-hook)
22243 (c-postprocess-file-styles): Give invocation of `c-set-style'
22244 DONT-OVERRIDE parameter of t. Already set style variables will
22245 thus not be overridden by style settings given by `c-file-syle'.
22247 * files.el (hack-local-variables-filter): Remove entries with
22248 duplicate keys from `file-local-variables-alist'.
22250 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22252 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22253 x-set-selection if display-selections-p returns nil for the
22256 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22258 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22260 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22262 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22263 Accept nil in addition to a regexp.
22264 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22265 Accept nil in addition to a regexp.
22266 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22267 buffers that have an associated file. Handle nil values of
22268 desktop-buffers-not-to-save and desktop-files-not-to-save.
22271 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22272 (x-disown-selection-internal): New functions.
22274 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22276 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22278 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22279 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22281 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22283 * simple.el (set-mark): Revert last change.
22285 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22287 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22288 rendering of pngs is not possible instead of messaging a long
22291 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22293 * w32-fns.el (x-selection-owner-p): New function.
22295 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22296 (mouse-yank-at-click, mouse-yank-primary):
22297 If select-active-regions is non-nil, deactivate the mark before
22300 * simple.el (deactivate-mark, set-mark): Only save selection if we
22303 2009-07-17 Kenichi Handa <handa@m17n.org>
22305 * case-table.el (describe-buffer-case-table): Fix for the case
22306 that KEY is a cons.
22308 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22310 * vc-rcs.el (vc-rcs-find-file-hook):
22311 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22313 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22315 * net/tramp.el (tramp-wait-for-output): Handle the case when
22316 commands do not return a newline but a null byte before the shell
22319 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22321 * term/ns-win.el (ns-set-alpha): Don't declare.
22322 (ns-set-background-alpha): Remove function.
22324 2009-07-16 Kevin Ryde <user42@zip.com.au>
22326 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22327 y-or-n-p, for safety.
22329 2009-07-16 Richard Stallman <rms@gnu.org>
22331 * files.el (auto-save-mode): If buffer-saved-size is -2,
22334 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22335 (rmail-retry-ignored-headers): Add more uninteresting fields.
22337 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22339 * net/rcirc.el (rcirc): Use history variables.
22340 (rcirc-server-name-history, rcirc-nick-name-history)
22341 (rcirc-server-port-history): New variables.
22343 2009-07-15 Kenichi Handa <handa@m17n.org>
22345 * international/mule-cmds.el (set-language-environment-charset):
22346 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22349 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22350 Delete unibyte-display.
22352 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22354 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22356 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22358 * simple.el (deactivate-mark): Optional argument FORCE.
22359 (set-mark): Use deactivate-mark.
22361 * info.el (Info-search): No need to check transient-mark-mode
22362 before calling deactivate-mark.
22364 * select.el (x-set-selection): Doc fix.
22365 (x-valid-simple-selection-p): Allow buffer values.
22366 (xselect--selection-bounds): Handle buffer values.
22367 Suggested by David De La Harpe Golden.
22369 * mouse.el (mouse-set-region, mouse-drag-track):
22370 Call copy-region-as-kill before setting the mark, to let
22371 select-active-regions work.
22373 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22375 * simple.el (deactivate-mark): If select-active-regions is
22376 non-nil, copy the selection data into a string.
22377 (activate-mark): If select-active-regions is non-nil, set the
22378 selection to the current buffer.
22379 (set-mark): Update selection if select-active-regions is non-nil.
22381 * select.el (x-valid-simple-selection-p): Allow buffer values.
22383 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22385 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22386 and more featureful message-mode.
22388 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22390 * select.el (x-set-selection): Doc fix.
22391 (x-valid-simple-selection-p): Disallow selection data consisting
22392 of a list or cons of integers, since that is not used.
22393 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22394 (xselect-convert-to-string, xselect-convert-to-length)
22395 (xselect-convert-to-filename, xselect-convert-to-charpos)
22396 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22398 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22400 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22401 output in -break-info command (Emacs bug #3794).
22403 2009-07-14 Glenn Morris <rgm@gnu.org>
22405 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22406 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22407 (edebug-print-length, edebug-print-level, edebug-print-circle)
22408 (edebug-sit-for-seconds, edebug-view-outside)
22409 (edebug-bounce-point, edebug-set-global-break-condition)
22410 (edebug-Go-nonstop-mode, edebug-trace-mode)
22411 (edebug-Trace-fast-mode, edebug-continue-mode)
22412 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22413 (edebug-visit-eval-list): Doc fixes.
22415 * subr.el (def-edebug-spec): Doc fix.
22417 2009-07-14 Kenichi Handa <handa@m17n.org>
22419 * international/characters.el: Fix setting of category ?C.
22421 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22423 * term/ns-win.el (x-select-font): defalias x-select-font to
22424 ns-popup-font-panel instead of generate-fontset-menu.
22426 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22428 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22430 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22432 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22433 the PK\003\004 header (Bug#3770).
22435 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22437 * pcomplete.el (pcomplete-comint-setup): Check for
22438 shell-dynamic-complete-filename too.
22440 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22442 * simple.el (temporary-goal-column): Change the value for
22443 line-move-visual to a cons cell.
22444 (line-move-visual): Record or set the window hscroll, if
22445 necessary (Bug#3494).
22446 (line-move-1): Handle cons value of temporary-goal-column.
22448 2009-07-11 Kenichi Handa <handa@m17n.org>
22450 * international/mule-diag.el (describe-character-set): Don't show
22453 2009-07-10 Sam Steingold <sds@gnu.org>
22455 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22456 Omake sometimes indents the errors it prints, so allow all
22457 regexps to start with spaces.
22459 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22461 * cus-edit.el (customize-changed-options-previous-release):
22462 Bump value to 22.1. (Bug#3804)
22464 2009-07-08 Sam Steingold <sds@gnu.org>
22466 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22467 to be a cons cell (test . ignored-directory) to selectively ignore
22468 some directories depending on the location of the search.
22470 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22472 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22473 remote user is root, on the local host.
22474 (tramp-local-host-p): Either the local user or the remote user
22475 must be root. (Bug#3771)
22477 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22479 * progmodes/gdb-mi.el (gdb): Remove description of
22480 gdb-use-separate-io-buffer.
22481 (menu): Don't allow toggling of or enable
22482 gdb-use-separate-io-buffer from menubar.
22484 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22486 * mail/unrmail.el (unrmail): Make sure the message ends with two
22487 newlines (Bug#3769).
22489 2009-07-08 Glenn Morris <rgm@gnu.org>
22491 * calendar/calendar.el (calendar-current-date): Rework previous change.
22493 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22495 * calendar/calendar.el (calendar-current-date):
22496 Add an optional argument giving an offset from today.
22498 2009-07-08 Glenn Morris <rgm@gnu.org>
22500 * tutorial.el (tutorial--describe-nonstandard-key):
22501 Adjust the message for when a key has been unbound.
22502 (help-with-tutorial): Hide the arch-tag.
22504 2009-07-08 Kenichi Handa <handa@m17n.org>
22506 * international/fontset.el (setup-default-fontset): For each
22507 script, append (not set) font-specs.
22509 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22512 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22514 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22515 -data-list-register-names to ...
22516 (gdb-starting): ... here because GDB 7.0 requires execution to
22517 have started when using this MI command.
22518 (gdb-set-header): New function to distinguish select and
22519 unselected tabs in gdb buffers.
22520 (gdb-propertize-header): New macro that uses gdb-set-header.
22521 (gdb-breakpoints-header, gdb-locals-header): Use it.
22522 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22524 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22526 * Makefile.in (ELCFILES): Remove fadr.elc.
22528 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22530 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22531 may contain frame information, so `string-match' should be used.
22532 (gdb-update): Disassembly is invalidated through
22533 `gdb-get-selected-frame'.
22534 (gdb-pad-string): New function to pad string with spaces.
22535 (gdb-invalidate-disassembly): Invalidate only if the buffer
22537 (gdb-disassembly-handler-custom): Column alignment.
22538 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22540 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22542 (gdb-frame-handler): Match convention to for disassembly buffer
22544 (gdb-stack-list-frames-handler): Rewritten without regexps.
22545 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22546 not highlight breakpoints without line information.
22547 (gdb-input): Add trailing newline to command.
22549 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22551 (gdb-breakpoints-list-handler-custom): Replacement for
22552 `gdb-break-list-handler'. Using real parser instead of regexps
22554 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22555 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22556 to place breakpoints.
22557 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22559 (gdb-disassembly-handler-custom): Show overlay arrow.
22560 (gdb-disassembly-place-breakpoints): Show breakpoints in
22561 disassembly buffer.
22562 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22563 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22564 instead of parsing breakpoints buffer. Fixed old menu references
22569 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22570 (gdb-memory-address): New variable which holds top address of
22571 memory page shown in memory buffer.
22572 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22573 New customization variables.
22575 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22576 display the memory buffer.
22577 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22578 buffer display parameters.
22579 (def-gdb-memory-format, gdb-memory-format-binary)
22580 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22581 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22582 Functions for setting memory buffer format.
22583 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22584 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22585 unit size used in memory buffer.
22586 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22587 Switch to next/previous page of memory buffer.
22588 Now using (bindat-get-field) instead of fadr functions.
22590 2009-07-07 Sam Steingold <sds@gnu.org>
22592 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22593 non-top-level files.
22595 2009-07-07 Kenichi Handa <handa@m17n.org>
22597 * international/mule-cmds.el (reset-language-environment):
22598 Put the highset priority to the charset iso-8859-1.
22600 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22602 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22603 to the end of the line when locating the block (Bug#700).
22605 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22607 * net/tramp.el (tramp-handle-write-region): Flush file properties
22608 in case of short track.
22610 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22612 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22613 Coded custom representation of verilog error regular expressions
22614 to work with Emacs-22's new format.
22615 (verilog-error-regexp-xemacs-alist): Coded custom representation
22616 of verilog error regular expressions to work with XEmacs format.
22617 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22618 error recognition into XEmacs.
22619 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22620 error recognition into Emacs-22.
22622 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22624 * woman.el: Remove stand-alone closing parentheses.
22625 (woman-file-name, woman2-format-paragraphs)
22626 (woman-leave-blank-lines): Code cleanup.
22627 (woman-use-own-frame): Change default to nil.
22628 (woman-italic, woman-bold, woman-unknown, woman-addition):
22629 Change defaults to inherit from default faces.
22630 (woman2-process-escapes): Consume the newline after a stand-alone
22631 filler character (Bug#3651).
22633 2009-07-06 Glenn Morris <rgm@gnu.org>
22635 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22636 (top-level): Move provide to the end.
22637 (ffap): Remove defunct URL from custom group.
22639 * subr.el (eval-after-load): Doc fix.
22641 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22643 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22644 `calc-embedded-word' is called twice.
22646 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22648 * files.el (find-alternate-file-other-window, find-alternate-file):
22649 Obey confirm-nonexistent-file-or-buffer.
22651 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22653 * dired-aux.el (dired-show-file-type): Handle remote files.
22655 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22657 * desktop.el (desktop-globals-to-save):
22658 Add file-name-history (Bug#2750).
22660 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22662 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22664 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22666 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22667 property on entire argument since this is what eshell-lisp-command
22670 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22672 * net/tramp-gvfs.el (tramp-gvfs-methods)
22673 (tramp-gvfs-zeroconf-domain)
22674 (tramp-bluez-discover-devices-timeout): Add version flag.
22675 (tramp-gvfs-handler-mounted-unmounted)
22676 (tramp-gvfs-connection-mounted-p): Polish handling of
22677 incompatibilities between GVFS 0.2 and 1.0.
22679 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22681 * cus-start.el (all): Add make-pointer-invisible.
22683 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22685 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22686 formatted correctly.
22688 2009-07-02 Juri Linkov <juri@jurta.org>
22690 * info.el: Virtual Info files and nodes.
22691 (Info-virtual-files, Info-virtual-nodes): New variables.
22692 (Info-current-node-virtual): New variable.
22693 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22695 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22696 to check for a virtual file instead of checking a fixed list
22698 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22699 instead of ad-hoc processing of "dir" and (apropos history toc).
22700 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22701 instead of ad-hoc processing of "dir" and (apropos history toc).
22702 Reread a file when moving from a virtual node.
22703 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22704 (Info-directory-toc-nodes, Info-directory-find-file)
22705 (Info-directory-find-node): New functions.
22706 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22707 (Info-history): Move part of code to
22708 `Info-history-find-node'.
22709 (Info-history-toc-nodes, Info-history-find-file)
22710 (Info-history-find-node): New functions.
22711 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22712 (Info-toc): Move part of code to `Info-toc-find-node'.
22713 (Info-toc-find-node): New function.
22714 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22715 the current Info file name to references because now the node
22716 "*TOC*" belongs to the same Info manual.
22717 (Info-toc-build): Rename from `Info-build-toc'.
22718 (Info-toc-nodes): Rename input argument `file' to `filename'.
22719 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22720 instead of ad-hoc processing of ("dir" apropos history toc).
22721 (Info-index-nodes): Use Info-virtual-file-p
22722 to check for a virtual file instead of checking a fixed list
22724 (Info-index-node): Add check for `Info-current-node-virtual'.
22725 Raise `save-match-data' higher up the tree to contain
22726 `search-forward' too (bug fix).
22727 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22728 (Info-virtual-index-nodes): New variable.
22729 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22730 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22731 (Info-apropos-file, Info-apropos-nodes): New variables.
22732 (Info-apropos-toc-nodes, Info-apropos-find-file)
22733 (Info-apropos-find-node, Info-apropos-matches): New functions.
22734 (info-apropos): Move part of code to `Info-apropos-find-node' and
22735 `Info-apropos-matches'.
22736 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22737 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22738 for a virtual file instead of checking a fixed list of node names.
22740 * simple.el (async-shell-command): New command.
22742 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22744 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22745 instead of `mount-info'.
22747 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22749 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22750 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22752 2009-07-02 Kenichi Handa <handa@m17n.org>
22754 * international/mule.el (set-keyboard-coding-system): Force *-unix
22755 coding-system to avoid eol conversion.
22757 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22759 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22760 Add handler for `process-file', `shell-command' and
22761 `start-file-process'.
22762 (tramp-gvfs-handle-shell-command)
22763 (tramp-gvfs-handle-start-file-process)
22764 (tramp-gvfs-handle-process-file): New defuns.
22765 (tramp-synce-list-devices): Simplify check for existence of property.
22767 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22769 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22771 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22773 * language/korean.el (set-language-info-alist): Add korean-cp949,
22776 2009-07-01 Kenichi Handa <handa@m17n.org>
22778 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22780 * international/encoded-kb.el: Deleted.
22782 * international/mule.el (set-keyboard-coding-system): Perform the
22783 necessary setup here instead of calling encoded-kbd-setup-display.
22785 2009-07-01 Glenn Morris <rgm@gnu.org>
22787 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22789 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22791 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22793 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22795 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22796 Handle also the 'rename case, when setting file modes. (Bug#3712)
22797 (tramp-default-file-modes): Remove execute permissions.
22799 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22800 (top): Add a default for "synce" in `tramp-default-user-alist'.
22801 Add completion function for "synce" method.
22802 (tramp-hal-service, tramp-hal-path-manager)
22803 (tramp-hal-interface-manager, tramp-hal-interface-device):
22805 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22806 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22809 * net/trampver.el: Update release number.
22811 2009-06-30 Kenichi Handa <handa@m17n.org>
22813 * international/fontset.el (setup-default-fontset): Add CJK fonts
22814 for symbols and the other miscellaneous characters.
22816 * language/korea-util.el (setup-korean-environment-internal):
22817 Make char-width-table suitable for Korean environments.
22818 (exit-korean-environment): Cancel above.
22820 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22821 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22822 setup-function to make char-width-table suitable for respective
22823 environments, and an exit-function to cancel that.
22825 * language/japan-util.el (setup-japanese-environment-internal):
22826 Call use-cjk-char-width-table with arg `ja_JP'.
22828 * international/characters.el (cjk-char-width-table): Delete it.
22829 (cjk-char-width-table-list): New variable.
22830 (use-cjk-char-width-table): New arg local-name.
22831 (use-default-char-width-table): Fix for the case that Emacs is
22832 already using the default char-width-table.
22834 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22836 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22837 modes mandatory. (Bug#3712)
22839 2009-06-29 Alan Mackenzie <acm@muc.de>
22841 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22842 correction between the visible width of TABs and their number of bytes.
22844 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22846 * server.el (server-buffer-done): Prevent kill-buffer from
22847 prompting by clearing the buffer modification flag (Bug#3696).
22849 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22851 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22852 (verilog-endcomment-reason-re): Support unique case and priority case.
22853 (verilog-basic-complete-re): Support localparam lineup.
22854 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22855 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22857 (verilog-leap-to-case-head): Now support *nested* unique &
22858 priority case statements.
22859 (verilog-auto-lineup): Make just declarations the default (as it
22861 (verilog-leap-to-case-head): Support priority/unique case statements.
22862 (verilog-auto-lineup): Rework to give users radio buttons to
22863 select the various styles of automatic lineup.
22864 (verilog-error-regexp-alist): Rework to support the XEmacs style
22865 of error regular expressions from compilers, lint tools &
22866 simulators. Note that GNU Emacs has made it impossible for a mode
22867 to load such things.
22868 (electric-verilog-terminate-line, verilog-indent-declaration)
22869 (verilog-auto-wiure): Rework for radio button selection of
22870 auto-lineup selection of specification of auto lineup.
22871 (verilog-beg-of-statement-1): Redesign to support proper operation
22872 in additional code, based on testing with auto-lineup.
22873 (verilog-calculate-indent, assignments & declarations)
22874 (verilog-backward-token): Enhance to support auto-lineup of
22875 assignments & declarations.
22876 (verilog-in-directive-p, verilog-at-struct-p): New function for
22877 easy test of whether we are.
22878 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22879 to support safe execution at almost anyline.
22880 (verilog-calc-1): Properly support indenting deep inside generate
22882 (verilog-init-font): Remove definition & use of verilog-init-font,
22883 as it is redundant with font-lock-defaults.
22884 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22885 to avoid circular calls if syntax-ppss is a function (as is the
22886 case now in 22.x GNU Emacs) as that function would sometimes call
22887 itself, leading to (nearly) infinite recursion.
22888 (verilog-ovm-begin-re, verilog-ovm-end-re)
22889 (verilog-ovm-statement-re, verilog-leap-to-head)
22890 (verilog-backward-token): Add support for OVM macros. Some are
22891 complete statements, and others open and close scopes like begin
22893 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22894 (verilog-defun-level-generate-only-re): Really fix the defun-list
22896 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22897 coverpoint, constraint and cross statements.
22898 (verilog-defun-level-list, verilog-generate-defun-level-list)
22899 (verilog-all-defun-level-list): Redo these specifications - it is
22900 too hard to support eval-when compile aggregation of lists also
22901 built at when-compile time.
22902 (verilog-defun-level-list): Place defconsts of variables used in
22903 building regular expressions which are built in eval-when-compile
22904 bodies in the same eval-when-compile body to facilitate compile
22906 (verilog-beg-block-re-ordered): Support indenting
22907 virtual/protected tasks and functions.
22908 (verilog-defun-level-list, verilog-in-generate-region-p)
22909 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22910 indentation of some module items (generate items).
22911 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22912 across virtual/protected tasks and functions.
22914 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22916 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22917 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22918 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22919 in concatenations. Reported by Yishay Belkind.
22920 (verilog-auto-ascii-enum): Support one-hot state machines in
22921 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22922 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22923 modport in AUTOINST and add vl-modport for users.
22924 Reported by David Rogoff.
22925 (verilog-auto-inout-module, verilog-auto-inst)
22926 (verilog-decls-get-interfaces, verilog-insert-definition)
22927 (verilog-insert-one-definition, verilog-read-decls)
22928 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22929 (verilog-sig-modport, verilog-signals-combine-bus)
22930 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22931 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22932 Suggested by David Rogoff.
22933 (verilog-repair-open-comma): Fix non-insertion of comma when
22934 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22935 (verilog-make-width-expression): Simplify [A-1:0] expression
22936 widths to just {A{1'b0}}.
22937 (verilog-mode): Cleanup checkdoc warnings.
22938 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22939 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22940 inputs/outputs or data type. Suggested by Vasu Kandadi.
22941 (next-error-last-buffer): Fix byte-compiler warning.
22942 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22943 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22944 or shell command text during AUTO expansion. Suggested by Tad Truex.
22945 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22946 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22947 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22948 in AUTOINOUT. Reported by Matthew Lovell.
22949 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22950 causing use of <= assignments. Reported by Alex Reed.
22951 (verilog-read-decls): Fix triand, trior, wand, wor to be
22952 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22953 (verilog-extended-complete-re): Support import "DPI-C" functions.
22954 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22955 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22956 (verilog-insert-date, verilog-insert-year)
22957 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22958 Windows systems. Reported by Michael Potts.
22959 (verilog-read-module-name): Fix AUTOINST when the child module
22960 declaration's name is a tick define. Reported by Elliot Mednick.
22961 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22962 passed to next parameter's definition. Reported by Bruce T.
22963 (verilog-read-decls): Fix detecting "parameter int" when using
22964 AUTOINSTPARAM. Reported by Bruce T.
22965 (verilog-goto-defun): Fix goto not finding modules unless first
22966 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22967 (verilog-mode): Expand -f flag arguments on entry to mode so
22968 verilog-goto-defun will work. Reported by Lawrence Butcher.
22969 (verilog-getopt): Expand environment variables in -f file
22970 arguments. Suggested by Lawrence Butcher.
22971 (verilog-set-define): Fix "Symbol's value as variable is void"
22972 when reading enumerations.
22973 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22974 Suggested by Stephen Peltan.
22975 (verilog-read-defines): Fix reading of enumerations in include
22976 files. Reported by Steve Peltan.
22978 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22980 * files.el (trash-directory): Fix defcustom type.
22982 2009-06-28 Juri Linkov <juri@jurta.org>
22984 * help-fns.el (describe-function-1): Correctly locate adviced
22985 functions in hyperlink (Bug#2438).
22987 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22989 * files.el (trash-directory): Change default to nil.
22990 (move-file-to-trash): If trash-directory is nil and
22991 system-move-file-to-trash is unbound, perform freedesktop-style
22994 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22996 * files.el (move-file-to-trash): Add freedesktop trash
22999 2009-06-28 Glenn Morris <rgm@gnu.org>
23001 * autorevert.el (global-auto-revert-non-file-buffers)
23002 (global-auto-revert-mode): Doc fixes.
23004 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23006 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23008 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23010 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23011 opened an X connection before calling x-get-resource (Bug#3194).
23013 * play/doctor.el: Remove reference to obsolete website.
23014 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23016 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23018 Remove find-file-not-found-hook VC method. (Bug#2757)
23019 * vc-hooks.el (vc-file-not-found-hook)
23020 (vc-default-find-file-not-found-hook): Remove functions.
23021 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23022 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23025 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23027 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23029 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23030 compatibility function for `looking-back'.
23032 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23033 Use `ispell-looking-back'.
23035 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23037 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23038 rather than `filename'.
23040 2009-06-23 Miles Bader <miles@gnu.org>
23042 * face-remap.el (text-scale-set): New function.
23044 2009-06-23 Glenn Morris <rgm@gnu.org>
23046 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23048 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23050 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23052 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23054 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23055 Simplify Persian conditionals.
23057 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23058 variable `filename'.
23060 * comint.el (comint-insert-input): Doc fix.
23062 * Makefile.in (ELCFILES): Fix typo in previous change.
23064 2009-06-23 Miles Bader <miles@gnu.org>
23066 * cus-start.el: Add entry for `recenter-redisplay'.
23068 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23070 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23071 Add an optional argument for the backend, use it instead of
23072 calling vc-backend.
23073 (vc-mode-line): Add an optional argument for the backend.
23074 Pass the backend to vc-state and vc-working-revision. Move code for
23075 special handling for vc-state being a buffer to ...
23077 * vc-rcs.el (vc-rcs-find-file-hook):
23078 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23080 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23081 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23082 vc-stay-local-p and vc-mode-line calls.
23084 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23085 (vc-cvs-diff, vc-cvs-annotate-command)
23086 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23087 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23088 vc-mode-line calls.
23090 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23092 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23093 backend when calling vc-mode-line.
23094 (vc-register): Do not create a closure for calling the vc register
23095 function, call it directly.
23097 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23099 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23100 to make it obvious item can be clicked.
23102 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23104 2009-06-23 Kenichi Handa <handa@m17n.org>
23106 * language/korea-util.el (korean-key-bindings): Change the binding
23107 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23110 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23112 Sync with Tramp 2.1.16.
23114 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23116 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23117 when a loading of a package fails. Completion function for rsync
23118 is `tramp-completion-function-alist-ssh'.
23119 (all): Replace all calls of `split-string' and
23120 `tramp-split-string' by `tramp-compat-split-string'.
23121 (tramp-default-method): Use `tramp-compat-process-running-p'.
23122 (tramp-default-proxies-alist): Allow also Lisp forms.
23123 (tramp-remote-path): Add choice "Private Directories".
23124 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23125 (tramp-domain-regexp): Allow also "-", "_" and ".".
23126 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23127 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23128 (tramp-debug-message): Insert header line in debug buffer.
23129 (tramp-handle-directory-files-and-attributes-with-stat):
23130 Care about filenames with spaces, or starting with "-".
23131 (tramp-handle-dired-uncache): New defun.
23132 (tramp-handle-insert-directory): Don't flush the directory from
23133 cache, this is handled by `dired-uncache' now.
23134 (tramp-handle-insert-file-contents): Improve error handling.
23135 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23136 Quote `tramp-end-of-output'.
23137 (tramp-action-password): Improve trace message.
23138 (tramp-check-for-regexp): Both echoes must be present, before removing.
23139 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23140 (tramp-compute-multi-hops): Eval cons cells of
23141 `tramp-default-proxies-alist'.
23142 (tramp-maybe-open-connection): Use the same command pattern for
23143 first hop and further hops.
23144 (tramp-wait-for-output): Remove handling of newlines.
23145 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23146 (tramp-split-string): Remove function. It is handled in
23149 * net/tramp-cmds.el (tramp-bug):
23150 Recommend `tramp-cleanup-all-connections' in the bug mail.
23152 * net/tramp-compat.el (tramp-compat-split-string)
23153 (tramp-compat-process-running-p): New defuns.
23155 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23156 for `dired-uncache'.
23158 * net/tramp-gvfs.el: New package.
23160 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23161 Add handler for `dired-uncache'.
23162 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23164 * net/trampver.el: Update release number. Make version check fit
23167 2009-06-22 Jim Meyering <meyering@redhat.com>
23169 Automatically handle .xz suffix (XZ-compressed files), too.
23170 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23171 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23173 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23174 Nick Roberts <nickrob@snap.net.nz>
23176 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23177 repository (http://sphinx.net.ru/hg/gdb-mi/).
23179 2009-06-22 Glenn Morris <rgm@gnu.org>
23181 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23182 `mode' and `eval' entries. (Bug#3430)
23184 * Makefile.in (ELCFILES): Add fadr.elc.
23186 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23187 differing behavior of \n and ^ in strings. (Bug#3385)
23189 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23191 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23193 (lisp-indent-function): Make it a defcustom.
23195 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23197 * progmodes/gdb-ui.el: Replace with ...
23198 * progmodes/gdb-mi.el: ... this file.
23199 * progmodes/gud.el: Modify for gdb-mi.el.
23201 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23203 * fadr.el: New file.
23205 See ChangeLog.14 for earlier changes.
23207 ;; Local Variables:
23211 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23213 This file is part of GNU Emacs.
23215 GNU Emacs is free software: you can redistribute it and/or modify
23216 it under the terms of the GNU General Public License as published by
23217 the Free Software Foundation, either version 3 of the License, or
23218 (at your option) any later version.
23220 GNU Emacs is distributed in the hope that it will be useful,
23221 but WITHOUT ANY WARRANTY; without even the implied warranty of
23222 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23223 GNU General Public License for more details.
23225 You should have received a copy of the GNU General Public License
23226 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.