1 2011-03-21 Leo Liu <sdl.web@gmail.com>
3 * minibuffer.el (read-file-name-function): Change default value.
4 (read-file-name--defaults): Rename from read-file-name-defaults.
5 (read-file-name-default): Rename from read-file-name.
6 (read-file-name): Call read-file-name-function.
8 2011-03-21 Glenn Morris <rgm@gnu.org>
10 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15 * cus-theme.el: Add missing provide statement.
16 (customize-create-theme): Extract theme value correctly.
17 (custom-theme-visit-theme): Autoload.
18 (customize-create-theme): Prompt before inserting default faces.
20 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23 units and musical notes.
25 2011-03-20 Leo <sdl.web@gmail.com>
27 * ido.el (ido-read-internal): Use completing-read-default.
28 (ido-completing-read): Fix compatibility with completing-read.
30 2011-03-20 Christian Ohler <ohler@gnu.org>
32 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
33 (ert-delete-all-tests): Use `called-interactively-p' rather than
35 (ert--make-xrefs-region): Respect END.
37 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
39 * dired-aux.el (dired-create-directory): Signal an error if the
40 directory already exists (Bug#8246).
42 * facemenu.el (list-colors-display): Call list-faces-display
43 inside with-help-window.
44 (list-colors-print): Use display property to align the final
45 column, instead of checking window-width.
47 2011-03-19 Eli Zaretskii <eliz@gnu.org>
49 * emerge.el (emerge-metachars): Separate value for ms-dos and
51 (emerge-protect-metachars): Quote correctly for ms-dos and
54 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
56 * info.el (info-initialize): Replace all uses of `:' with
57 path-separator for compatibility with non-Unix systems.
58 Cache quoting of path-separator. (Bug#8258)
60 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
62 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
63 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
64 (mouse-avoidance-mode): Fix typos in docstrings.
66 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
68 * startup.el (package-subdirectory-regexp): Move from package.el.
69 Omit \\` and \\', and let callers add them.
71 * emacs-lisp/package.el (package-strip-version)
72 (package-load-all-descriptors): Add \\` and \\' to
73 package-subdirectory-regexp before using it.
74 (package-untar-buffer): New arg DIR; ensure that file untars only
75 into this expected directory. Remove superfluous delete-region.
76 (package-unpack): Caller changed.
77 (package-tar-file-info): Use package-subdirectory-regexp.
79 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
81 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
82 diff-mode-shared-map (bug#8284).
83 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
85 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
87 * calendar/time-date.el (format-seconds): Use assoc instead of
88 assoc-string, since assoc-string doesn't exist in XEmacs.
90 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
92 * custom.el (custom-known-themes): Reflow docstring.
93 (custom-theme-load-path): Fix typo in docstring.
94 (load-theme): Fix typo in error message.
95 (custom-available-themes, custom-variable-theme-value):
96 Use `let', not `let*'.
98 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
100 * calc/README: Mention inclusion of musical notes.
102 * calc/calc-units.el (calc-lu-quant): Rename from
103 `calc-logunits-quantity'.
104 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
105 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
106 (calc-db): Rename from `calc-dblevel'.
107 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
108 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
109 (calc-np): Rename from `calc-nplevel'.
110 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
111 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
112 (calc-lu-plus): Rename from `calc-logunits-add'.
113 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
114 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
115 (calc-lu-minus): Rename from `calc-logunits-sub'.
116 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
117 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
118 (calc-lu-times): Rename from `calc-logunits-mul'.
119 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
120 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
121 (calc-lu-divide): Rename from `calc-logunits-div'.
122 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
123 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
125 * calc/calc-ext.el (calc-init-extensions): Update the names of the
126 functions being autoloaded.
128 * calc/calc.el (calc-lu-power-reference): Rename from
129 `calc-logunits-power-reference'.
130 (calc-lu-field-reference): Rename from
131 `calc-logunits-field-reference'.
133 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
135 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
137 * minibuffer.el (completion-all-sorted-completions):
138 Use :completion-cycle-penalty text property if present.
140 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
142 * allout.el (allout-yank-processing): Adjust for new rebulleting
143 regime so bullet being yanked is used without prompting the user
146 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
148 * startup.el (command-line): Warn the user that _emacs is deprecated.
150 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
152 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
153 (delphi-verbose, delphi-comment-face, delphi-string-face)
154 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
155 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
156 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
157 (delphi-new-comment-line, delphi-font-lock-defaults)
158 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
159 Fix typos in docstrings.
161 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
163 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
164 Invert the roles of character and string values for INSTEAD, so a
165 string is used for the more common case of a defaulting prompt.
167 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
169 * progmodes/ruby-mode.el (ruby-backward-sexp):
170 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
171 * play/gamegrid.el (gamegrid-make-face):
172 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
173 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
174 * notifications.el (notifications-notify):
175 * net/xesam.el (xesam-search-engines):
176 * net/quickurl.el (quickurl-list-insert):
177 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
179 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
181 * startup.el (command-line): Update package subdirectory regexp.
183 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
185 * allout.el (allout-abbreviate-flattened-numbering)
186 (allout-mode-deactivate-hook): Fix up obsolescence "date".
188 * subr.el (read-char-choice): Only show the cursor after the prompt,
189 not after the answer.
191 2011-03-15 Kevin Ryde <user42@zip.com.au>
193 * help-fns.el (variable-at-point): Skip leading quotes, if any
196 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
198 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
201 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
203 * shell.el (shell): When called interactively, offer to change the
204 shell file name on remote hosts.
206 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
208 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
209 integration for LDAP parameters. The host, base, user or binddn,
210 and secret tokens can be specified in a netrc file, for instance.
211 This is optional because an `auth-source' parameter must be
212 specified in the search attributes.
214 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
216 * help.el (describe-mode): Link to the mode's definition (bug#8185).
218 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
220 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
221 into declaration. Remove redundant and harmful binding.
223 2011-03-12 Eli Zaretskii <eliz@gnu.org>
225 * files.el (file-ownership-preserved-p): Pass `integer' as an
226 explicit 2nd argument to `file-attributes'. If the file's owner
227 is the Administrators group on Windows, and the current user is
228 Administrator, consider that a match.
230 * server.el (server-ensure-safe-dir): Consider server directory
231 safe on MS-Windows if its owner is the Administrators group while
232 the current Emacs user is Administrator. Use `=' to compare
233 numerical UIDs, since they could be integers or floats.
235 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
237 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
239 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
241 Sync with Tramp 2.2.1.
243 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
245 * net/trampver.el: Update release number.
247 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
249 * progmodes/compile.el (compilation--previous-directory): Fix up
250 various nil/dead-marker mismatches (bug#8014).
251 (compilation-directory-properties, compilation-error-properties):
252 Don't call it at a position past the one we're about to change.
254 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
255 Disable obsolescence warnings in the file that declares it.
257 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
259 * allout-widgets.el (allout-widgets-tally): Initialize
260 allout-widgets-tally as a hash table rather than nil to prevent
261 mode-line redisplay warnings.
262 Also, clarify the module description and fix a comment typo.
264 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
266 * help-fns.el (describe-variable): Don't complete keywords.
267 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
269 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
271 * emacs-lisp/package.el (package-version-join): Impose a standard
272 string representation for pre/alpha/beta version lists.
273 (package-unpack-single): Standardize the directory name by passing
274 it through package-version-join.
275 (package-strip-rcs-id): Accept any version string that does not
276 signal an error in version-to-list.
278 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
280 * simple.el (delete-trailing-whitespace): Return nil for the
281 benefit of `write-file-functions'.
283 2011-03-10 Glenn Morris <rgm@gnu.org>
285 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
287 * vc/vc-git.el (vc-git-program): New option.
288 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
289 (vc-git--call): Use it.
291 * eshell/esh-util.el (eshell-condition-case): Doc fix.
293 * cus-edit.el (Custom-newline): If no button at point, look
294 for a subgroup button at start-of-line. (Bug#2298)
296 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
298 2011-03-10 Julien Danjou <julien@danjou.info>
300 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
301 `cursor-type' is nil.
303 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
305 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
307 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
309 * allout.el Summary: Change so yank of distinctive-bullet items
310 preserves the existing header prefix, rebulleting it if necessary,
311 rather than replacing it. This is necessary for proper operation
312 of cooperative addons like allout-widgets.
313 (allout-make-topic-prefix, allout-rebullet-heading): Change
314 SOLICIT arg to INSTEAD, and interpret additionally a string value
315 as alternate bullet to be used, instead of prompting the user for
318 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
321 not use `tramp-file-name-port', because this returns also
322 `tramp-default-port'.
324 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
326 * net/rcirc.el (rcirc-handler-001): Remove useless
327 with-rcirc-process-buffer.
328 (rcirc-check-auth-status): Swap arguments to string-match.
330 2011-03-09 Glenn Morris <rgm@gnu.org>
332 * shell.el (shell-mode):
333 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
335 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
336 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
338 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
340 * emacs-lisp/package.el (package-refresh-contents)
341 (package-menu-execute): Use condition-case-no-debug.
343 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
345 * simple.el (shell-command-to-string): Use `process-file'.
347 * emacs-lisp/package.el (package-tar-file-info): Handle also
350 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
351 `equal' for upload base check.
353 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
355 * textmodes/texinfo.el (texinfo-environments):
356 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
358 2011-03-08 Glenn Morris <rgm@gnu.org>
360 * cus-start.el (cursor-in-non-selected-windows):
361 Fix :set quoting oddness. (Bug#8192)
363 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
364 in some setf expressions. (Bug#2159)
366 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
368 * custom.el (custom-available-themes): Return themes in
371 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
373 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
374 application of patch from Alan Mackenzie (Bug#7595).
376 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
378 * net/rcirc.el (rcirc-connect): Fix PASS bug.
380 2011-03-07 Glenn Morris <rgm@gnu.org>
382 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
383 Give an explicit error if failed to make writable. (Bug#6146)
385 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
387 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
388 Add optional `after-sunset' argument. (Bug#8190)
390 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
392 * play/morse.el (nato-alphabet, nato-region, denato-region):
393 New variable and functions. (Bug#2288)
394 (morse-region, unmorse-region): Barf if read-only.
396 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
398 * progmodes/gud.el (gdb-script-syntax-propertize-function):
399 Don't change the syntax of a \n that closes a comment (bug#8169).
401 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
403 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
405 (package--update-file): Doc fix. Accept relative file names.
406 (package--archive-contents-from-file): Remove the argument, since
407 it's necessarily always "archive-contents".
408 (package-maint-add-news-item): Pass relative file name args to
409 package--update-file.
410 (package-upload-buffer-internal): Prompt for a destination if
411 package-archive-upload-base is invalid. Create the directory if
413 (package-upload-buffer, package-upload-file): Doc fix.
415 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
417 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
418 and move isearch-yank-line to M-s C-e (Bug#8183).
420 2011-03-06 Alan Mackenzie <acm@muc.de>
422 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
423 (c-guess-basic-syntax): Move CASE 19 to a different place,
424 correctly to process template-args-cont lines.
426 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
428 * calc/calc-ext.el (calc-init-extensions):
429 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
430 and calc-nplevel, respectively. Add keybindings for calc-spn,
431 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
432 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
434 * calc/calc-units.el (calc-dblevel): Rename from
435 calc-logunits-dblevel.
436 (calc-nplevel): Rename from calc-logunits-nplevel.
437 (math-midi-round, math-freqp, math-midip, math-spnp)
438 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
439 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
440 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
441 (math-notes): New variable.
443 * calc/calc.el (calc-note-threshold): New variable.
445 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
447 * emacs-lisp/package.el (package-archives): Accept either ordinary
448 directory names, in addition to HTTP URLs.
449 (package--with-work-buffer): New macro. Handle normal directories.
450 (package-handle-response): Don't display the failing buffer.
451 (package-download-single, package-download-tar)
452 (package--download-one-archive): Use package--with-work-buffer.
453 (package-archive-base): Rename from package-archive-url.
455 2011-03-06 Glenn Morris <rgm@gnu.org>
457 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
458 (xmodmap-generic-mode): Respect generic-extras-enable-list.
460 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
462 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
464 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
466 * allout.el (allout-init, allout-prefixed-keybindings)
467 (allout-unprefixed-keybindings):
468 * progmodes/prolog.el (prolog-find-term):
469 Fix typos in docstrings.
471 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
473 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
475 2011-03-06 Kevin Ryde <user42@zip.com.au>
477 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
479 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
481 * window.el (one-window-p, walk-windows, display-buffer):
482 Doc fixes. (Bug#5567)
484 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
486 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
487 of the variable if it exists.
489 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
496 * net/tramp-cache.el:
497 * obsolete/fast-lock.el:
498 * textmodes/reftex.el:
499 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
501 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
503 * files.el (delete-directory, copy-directory, list-directory):
504 Use read-directory-name.
506 * find-file.el (ff-find-the-other-file):
507 * net/ange-ftp.el (ange-ftp-make-directory):
508 * printing.el (pr-interactive-dir):
509 * progmodes/ada-prj.el (ada-prj-load-directory):
510 * progmodes/ebnf2ps.el (ebnf-print-directory)
511 (ebnf-spool-directory, ebnf-eps-directory)
512 (ebnf-syntax-directory):
514 * speedbar.el (speedbar-create-directory):
515 * vc/emerge.el (emerge-merge-directories):
516 * vc/vc-dir.el (vc-dir):
517 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
519 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
521 * help-mode.el (help-buffer): If we are to return the current
522 buffer, signal an error if it's not in Help mode (Bug#8147).
524 2011-03-05 Reuben Thomas <rrt@sc3d.org>
526 * files.el (file-name-version-regexp): Handle backup files of the
527 form `foo.js.~HEAD~1~' (Bug#8159).
529 2011-03-05 Glenn Morris <rgm@gnu.org>
531 * eshell/esh-var.el: Don't require esh-test when compiling.
532 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
533 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
534 * eshell/esh-test.el: Move to ../../test/eshell.el.
536 2011-03-05 David Engster <deng@randomsample.de>
538 * files.el (save-some-buffers): Report the names of buffers saved
539 automatically due to buffer-save-without-query (Bug#8134).
541 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
543 * net/rcirc.el: Add QuakeNet authentication support.
544 (rcirc-authinfo, rcirc-check-auth-status)
545 (rcirc-authenticate): Support QuakeNet.
547 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
549 * net/rcirc.el: Add functionality to authenticate before
550 autojoining channels.
551 (rcirc-authenticate-before-join): New option.
552 (rcirc-authenticated-hook): New variable.
553 (rcirc-connect): Make local variable rcirc-user-authenticated.
554 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
555 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
557 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
558 Call rcirc-check-auth-status.
560 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
562 * net/soap-client.el (soap-namespace-put-link): Check if the target
563 name is fully qualified -- use only the name part.
564 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
565 types, treated the same as xsd:sequence. (Bug#8166)
567 2011-03-05 Eli Zaretskii <eliz@gnu.org>
569 * files.el (find-file-noselect): Don't ask about re-visiting
570 non-literally if the file is already visited in image-mode.
573 2011-03-05 Glenn Morris <rgm@gnu.org>
575 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
576 (eshell-mode): Use eshell-kill-buffer-function.
577 Run the -initialize functions independently of the -load-hooks.
578 * eshell/esh-proc.el (eshell-kill-process-function): New function.
579 (eshell-gather-process-output, eshell-sentinel)
580 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
581 Use eshell-kill-process-function.
582 * eshell/em-alias.el (eshell-alias-load-hook):
583 * eshell/em-banner.el (eshell-banner-load-hook):
584 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
585 * eshell/em-dirs.el (eshell-dirs-load-hook):
586 * eshell/em-glob.el (eshell-glob-load-hook):
587 * eshell/em-hist.el (eshell-hist-load-hook):
588 * eshell/em-pred.el (eshell-pred-load-hook):
589 * eshell/em-prompt.el (eshell-prompt-load-hook):
590 * eshell/em-rebind.el (eshell-rebind-load-hook):
591 * eshell/em-script.el (eshell-script-load-hook):
592 * eshell/em-smart.el (eshell-smart-load-hook):
593 * eshell/em-term.el (eshell-term-load-hook):
594 * eshell/em-unix.el (eshell-unix-load-hook):
595 * eshell/esh-arg.el (eshell-arg-load-hook):
596 * eshell/esh-cmd.el (eshell-cmd-load-hook):
597 * eshell/esh-ext.el (eshell-ext-load-hook):
598 * eshell/esh-io.el (eshell-io-load-hook):
599 * eshell/esh-mode.el (eshell-exit-hook):
600 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
601 * eshell/esh-var.el (eshell-var-load-hook):
602 Set default hook values to nil. (Bug#5375)
604 * eshell/esh-module.el (eshell-module-unload-hook)
605 (eshell-modules-list): Remove leading * from defcustom docs.
607 * eshell/esh-util.el (eshell-for): Make it obsolete.
608 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
609 * eshell/em-dirs.el (eshell-save-some-last-dir):
610 * eshell/em-hist.el (eshell-save-some-history)
611 (eshell-hist-parse-modifier):
612 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
614 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
615 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
617 * eshell/esh-ext.el (eshell-find-interpreter):
618 * eshell/esh-mode.el (eshell-mode):
619 * eshell/esh-module.el (eshell-unload-extension-modules):
620 * eshell/esh-proc.el (eshell-process-interact):
621 * eshell/esh-test.el (eshell-test):
622 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
623 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
624 (eshell-variables-list):
625 * eshell/eshell.el (eshell-unload-all-modules):
626 Replace eshell-for with dolist.
628 2011-03-04 Glenn Morris <rgm@gnu.org>
630 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
632 2011-03-04 Tom Tromey <tromey@redhat.com>
634 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
636 2011-03-04 Glenn Morris <rgm@gnu.org>
638 * outline.el (outline-regexp): No longer allow nil.
639 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
641 * net/browse-url.el (browse-url):
642 Handle deleted default-directory. (Bug#6077)
644 * recentf.el (recentf-include-p): In case of a buggy predicate,
645 err on the side of including, not excluding. (Bug#5843)
647 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
649 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
652 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
654 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
655 if there is no node. (Bug#3261)
657 2011-03-04 Leo <sdl.web@gmail.com>
659 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
661 * time.el (display-time-world-list): Fix typo. (Bug#7571)
663 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
665 * cus-edit.el (custom-buffer-create-internal):
666 Split search string before passing it to `customize-apropos' (bug#8136).
668 2011-03-04 Drew Adams <drew.adams@oracle.com>
670 * image-dired.el (image-dired-cmd-read-exif-data-options):
671 Fix typo in docstring (bug#8156).
673 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
675 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
677 2011-03-03 Christian Ohler <ohler@gnu.org>
679 * emacs-lisp/ert.el (ert--explain-equal): New function.
680 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
682 (ert--explain-equal-including-properties): Renamed from
683 `ert--explain-not-equal-including-properties'. All callers
686 2011-03-03 Christian Ohler <ohler@gnu.org>
688 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
689 (ert-char-for-test-result, ert-string-for-test-result)
690 (ert-run-tests-batch, ert--print-test-for-ewoc):
691 Handle `ert-test-quit'.
693 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
695 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
696 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
698 2011-03-03 Glenn Morris <rgm@gnu.org>
700 * files.el (file-truename): Doc fix. (Bug#2341)
702 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
704 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
706 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
708 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
709 programs output backslashes. (Bug#7663)
711 2011-03-03 Glenn Morris <rgm@gnu.org>
713 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
714 (mail-mode): Remove mail-sent-via from the doc.
715 (mail-sent-via): Make it obsolete. (Bug#1776)
717 * progmodes/grep.el (grep-highlight-matches): Doc fix.
718 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
720 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
721 with no parents. (Bug#8025)
723 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
725 * password-cache.el (password-in-cache-p): Add autoload.
727 2011-03-02 Glenn Morris <rgm@gnu.org>
729 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
730 * dired-x.el (Man-support-local-filenames): Autoload it.
731 (dired-guess-shell-alist-default): Also handle Red Hat's man.
733 * dired-x.el (dired-default-directory-alist, dired-default-directory):
735 (dired-smart-shell-command): Just call dired-current-directory.
737 * dired-x.el (dired-jump-other-window): Add autoload.
738 (dired-default-directory-alist, dired-default-directory): Doc fixes.
739 (dired-default-directory-alist): Mark as risky.
741 * dired-x.el (dired-omit-here-always): Make it obsolete.
743 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
745 * textmodes/artist.el (artist-curr-go): Default to pen-line.
746 (artist-select-op-pen-line): New function.
747 (artist-menu-map): New variable.
748 (artist-mode-map): Add a menu to the menu-bar.
750 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
752 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
755 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
757 (math-logunits-add, math-logunits-mul, math-logunits-divide):
758 (math-logunits-quant, math-logunits-level):
759 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
761 (math-logunits-level): Extract units from ratio.
763 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
765 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
767 2011-03-01 Glenn Morris <rgm@gnu.org>
769 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
770 (diary-hebrew-birthday): Rename and rework functions added
773 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
775 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
776 (diary-hebrew-birthday): New functions.
778 2011-03-01 Glenn Morris <rgm@gnu.org>
780 * dired.el (dired-safe-switches-p): Beef it up.
781 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
783 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
785 * dired.el (dired-safe-switches-p): New function.
787 2011-03-01 Glenn Morris <rgm@gnu.org>
789 * files.el (dir-locals-collect-variables):
790 Add the ability to exclude subdirectories. (Bug#8100)
792 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
794 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
796 * ido.el (ido-everywhere): Doc fix.
799 2011-02-28 Glenn Morris <rgm@gnu.org>
801 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
803 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
805 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
808 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
810 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
812 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
814 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
815 Fix typos in docstrings.
817 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
819 * dired-aux.el (dired-update-file-line):
820 Fix 2010-11-09 change. (Bug#8131)
822 2011-02-28 Eli Zaretskii <eliz@gnu.org>
824 * international/mule-cmds.el (set-default-coding-systems): Use the
825 -unix variant of encoding in default-keyboard-coding-system.
828 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
830 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
832 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
834 * term/screen.el: New file (Bug#2650).
836 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
838 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
839 (pcase-mutually-exclusive-predicates): New var.
840 (pcase--split-consp, pcase--split-pred): Use it.
841 (pcase--split-equal, pcase--split-member): When splitting against
842 a pure predicate, run it to know the outcome.
843 (pcase--u1): Mark vars that are actually used.
844 (pcase--q1): Avoid introducing unused vars.
846 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
848 * calc/calc-ext.el (calc-init-extensions):
849 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
851 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
854 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
855 argument is a variable.
857 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
859 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
860 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
861 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
863 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
865 * password-cache.el (password-in-cache-p): Convenience function to
866 check if a key is in the cache, even if the value is nil.
868 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
870 * emacs-lisp/package-x.el (package--archive-contents-from-url)
871 (package--archive-contents-from-file): New functions.
872 (package-update-news-on-upload): New var.
873 (package-upload-buffer-internal): Extract archive-contents from
874 package-archive-upload-base if it is not found at archive-url.
875 Obey package-update-news-on-upload.
876 (package-upload-buffer, package-upload-file): Doc fix.
878 2011-02-24 Glenn Morris <rgm@gnu.org>
880 * files-x.el (modify-dir-local-variable): Handle dir-locals from
881 the cache, and from non-file sources.
883 * help-fns.el (describe-variable): Return consistent results when a
884 dir-local from a file came from the cache or did not. (Bug#8095)
885 If a dir-local has no associated file, say it came from a "directory".
887 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
888 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
890 * files.el (dir-locals-find-file): Doc fix.
891 Fix the check for cache elements that have no associated file,
892 and the mtime check for those that do. (Bug#8095)
894 * dired-x.el (dired-hack-local-variables):
895 Handle interrupts during hacking local variables. (Bug#5216)
897 * emacs-lisp/autoload.el (autoload-save-buffers)
898 (autoload-find-destination, update-directory-autoloads):
899 Avoid prompts when updating autoloads.
901 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
903 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
905 2011-02-23 Kenichi Handa <handa@m17n.org>
907 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
908 error when a multipart boundary in the nested multipart is found.
910 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
913 2011-02-23 Glenn Morris <rgm@gnu.org>
915 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
916 * dired-x.el (dired-omit-mode): Safe if boolean.
917 (dired-enable-local-variables): Fix doc and custom type.
918 (dired-enable-local-variables, dired-local-variables-file)
919 (dired-hack-local-variables): Make obsolete.
920 (dired-omit-here-always): Use dir-locals.el instead.
922 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
924 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
926 * help-fns.el (describe-function-1): Don't signal an error just because
927 the DOC file disappeared.
929 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
931 * eshell/esh-ext.el (eshell-external-command): Do not restrict
932 remote check to "ftp". (Bug#8089)
934 2011-02-21 Alan Mackenzie <acm@muc.de>
937 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
938 in macros finding their way into c-state-nonlit-pos-cache.
939 Strengthen the comments.
940 (c-state-dump): New commented out diagnostic routine.
942 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
944 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
945 `field' property of `rfn-eshadow-overlay'.
947 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
949 * net/netrc.el (netrc-parse): Comment fix.
951 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
953 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
954 Autoload. Add optional arg FRAME, and pass it to color-values.
955 (color-complement): Caller changed. Doc fix.
956 (color-gradient): Rewrite for better clarity and efficiency.
958 * faces.el (color-values): Use cond for clarity. Doc fix.
960 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
962 (list-colors-sort-key, list-colors-print):
963 Use color-normalized-values.
965 2011-02-20 Drew Adams <drew.adams@oracle.com>
967 * color.el: First part of merge from hexrgb.el.
968 (color-rgb-to-hex): Rename from color-rgb->hex.
969 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
970 saturation to zero if the value is too small.
971 (color-rgb-to-hsl): Rename from color-rgb->hsl.
972 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
973 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
974 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
975 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
976 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
977 (color-cie-de2000): Doc fix.
979 2011-02-20 Alan Mackenzie <acm@muc.de>
981 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
982 locating the beginning of a macro. (Bug#7595)
984 2011-02-20 Glenn Morris <rgm@gnu.org>
986 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
989 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
990 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
992 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
993 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
995 * progmodes/hideshow.el (hs-find-block-beginning)
996 (hs-hide-level-recursive): Ignore comments when parsing braces
999 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1001 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1002 (vc-bzr-pull): Use it.
1004 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1006 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1007 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1008 but returning an alist. Ignore comments in bzr conffile.
1009 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1010 (vc-bzr-error-regex-alist): New var.
1011 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1013 * vc/vc-dispatcher.el (vc-do-async-command):
1014 Bind inhibit-read-only to t.
1016 * progmodes/compile.el (compilation--flush-directory-cache):
1017 Handle the case where cdr of compilation--flush-directory-cache
1018 points to no buffer, which can occur if we previously switched to
1019 compilation-mode in a pregenerated buffer.
1021 2011-02-19 Kenichi Handa <handa@m17n.org>
1023 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1024 get the header copy into the temporary buffer.
1025 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1026 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1027 buffer-file-coding-system to undecided.
1029 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1031 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1032 Document completion with asterisk and a substring.
1034 2011-02-19 Glenn Morris <rgm@gnu.org>
1036 * files.el (find-file-literally): Doc fix.
1038 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1040 * log-edit.el (log-edit-insert-changelog):
1041 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1043 2011-02-19 Glenn Morris <rgm@gnu.org>
1045 * dired-x.el: Don't require dired-aux.
1046 (dired-do-create-files, dired-mark-read-regexp)
1047 (dired-do-create-files-regexp): Autoload from dired-aux.
1049 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1050 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1052 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1053 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1055 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1056 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1057 (dired-clean-up-buffers-too): Declare.
1059 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1060 * dired.el (dired-initial-position): Merge dired-x's version here.
1061 (dired-find-subdir): Declare.
1063 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1064 * dired-aux.el (dired-add-entry): Give it a doc-string.
1065 Merge dired-x's dired-omit handling here.
1066 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1068 * international/mule-diag.el (list-input-methods-1):
1069 Indent all lines of multi-line doc-strings. (Bug#8066)
1071 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1073 Fix 2011-02-02 changes.
1075 * apropos.el (apropos-print): Call apropos-mode before setting up
1076 buffer variables. Use inhibit-read-only.
1078 * emacs-lisp/package.el (package--list-packages):
1079 Call package-menu-mode before setting up buffer variables.
1081 * play/solitaire.el (solitaire): Call solitaire-mode before
1082 setting up buffer variables. Use inhibit-read-only.
1084 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1086 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1087 Bind case-fold-search to nil when looking for end of here-doc.
1089 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1091 * image-mode.el (image-toggle-display-image):
1092 Set find-file-literally non-nil in buffers visiting binary image
1095 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1097 * files.el (cd): Make completion obey cd-path (bug#7924).
1099 2011-02-18 Glenn Morris <rgm@gnu.org>
1101 * progmodes/prolog.el: Don't require compile when compiling.
1102 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1103 (compilation-forget-errors, compilation-fake-loc)
1104 (compilation-parse-errors-function, compilation-error-list): Declare.
1105 (prolog-inferior-mode): Require 'compile.
1107 * emulation/cua-base.el (pc-selection-mode): Declare.
1109 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1110 (customize-object): Add autoload cookie.
1111 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1112 (eieio-browse, describe-class, eieio-describe-class)
1113 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1114 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1115 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1116 * Makefile.in (autoloads): Make eieio.el writable.
1118 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1119 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1120 (dired-hack-local-variables): Use inhibit-read-only.
1121 (dired-guess-default): Simplify.
1122 (dired-make-relative-symlink): Use dotimes.
1123 (dired-simultaneous-find-file): Use dolist.
1124 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1125 (dired-x-hands-off-my-keys): Doc fix.
1126 (dired-x-bind-find-file): Doc fix. Use remapping.
1127 (after-init-hook): No need to add dired-x-bind-find-file.
1128 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1129 No need to call expand-file-name.
1130 (dired-filename-at-point): Remove unused locals `end', `filename'.
1132 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1134 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1136 2011-02-18 Christian Ohler <ohler@gnu.org>
1138 * emacs-lisp/ert.el (ert--setup-results-buffer)
1139 (ert-results-pop-to-backtrace-for-test-at-point)
1140 (ert-results-pop-to-messages-for-test-at-point)
1141 (ert-results-pop-to-should-forms-for-test-at-point)
1142 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1143 were incorrect and unnecessary. This should make `make check'
1146 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1148 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1149 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1150 * lisp/allout.el: Remove commentary about remove encryption
1151 passphrase mnemonic support and verification.
1152 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1153 armored text using gpg1, and indicate that the gpg version *might*
1154 be the problem in the error message.
1156 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1158 * net/rcirc.el (rcirc-float-time): New function.
1159 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1160 (rcirc-ctcp-sender-PING): Use it.
1162 2011-02-17 Glenn Morris <rgm@gnu.org>
1164 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1165 (speedbar-update-flag, speedbar-fetch-etags-command)
1166 (speedbar-fetch-etags-arguments):
1167 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1168 (term-completion-autolist, term-completion-addsuffix)
1169 (term-completion-recexact, term-completion-fignore):
1170 * term/sup-mouse.el (sup-mouse-fast-select-window):
1171 * term/x-win.el (x-select-request-type):
1172 Convert some defvars with "*" to defcustoms.
1174 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1176 * vc/vc.el (vc-default-previous-version):
1177 Remove alias that points nowhere. (Bug#4496)
1179 * dired-x.el (dired-clean-up-after-deletion):
1180 kill-buffer does not need save-excursion.
1181 (dired-do-run-mail): Doc fix.
1182 (dired-filename-at-point): Doc fix.
1183 Use looking-at, and skip-chars rather than re search.
1185 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1187 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1189 * allout-widgets.el: New allout extension that shows allout
1190 outline structure with graphical widgets. 'allout-widgets'
1191 customize group is an 'allout' subgroup, for easy discovery.
1193 * allout.el: Include PGP and GnuPG in Keywords, and other
1194 commentary refinements.
1195 (allout-abbreviate-flattened-numbering): Rename to
1196 allout-flattened-numbering-abbreviation, and
1197 define-obsolete-variable-alias the old name.
1198 (allout-flattened-numbering-abbreviation): Rename from
1199 allout-abbreviate-flattened-numbering.
1200 (allout-mode-p): Include among autoloads, for use by other modes
1202 (allout-listify-exposed):
1203 Use allout-flattened-numbering-abbreviation.
1204 (allout-encrypt-string): Use set-buffer-multibyte directly.
1205 (allout-set-buffer-multibyte): Remove.
1207 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1209 * simple.el (just-one-space): Remove useless `or' call.
1211 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1213 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1214 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1215 (soap-decoded-multi-refs, soap-current-wsdl)
1216 (soap-encoded-namespaces): Rename CL-style *...* variables.
1218 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1220 * net/soap-client.el: Add "comm" and "hypermedia" to the
1221 keywords. Reflow too long lines.
1223 * net/soap-inspect.el: Ditto. Require 'cl.
1225 2011-02-16 Bastien Guerry <bzg@altern.org>
1227 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1228 in a `doctor-type' argument.
1230 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1232 * net/soap-client.el:
1233 * net/soap-inspect.el: New files.
1235 2011-02-16 Leo <sdl.web@gmail.com>
1237 * dired-x.el (dired-mode-map, dired-extra-startup):
1238 Remove dired-copy-filename-as-kill since it's already in dired.el.
1240 2011-02-16 Glenn Morris <rgm@gnu.org>
1242 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1243 Doc fixes. Add :set property, replacing top-level calls.
1244 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1245 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1246 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1247 (dired-clean-up-after-deletion): Use when and dolist.
1248 (dired-jump): Use unless and when.
1249 (dired-virtual): Use line-end-position.
1250 (dired-default-directory-alist): Rename from default-directory-alist.
1251 (dired-default-directory): Update for above name change.
1252 (dired-vm): Drop VM < 5 and simplify.
1253 (dired-buffer-more-recently-used-p): Rewrite.
1254 (dired-filename-at-point): Use when and or.
1255 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1258 2011-02-15 Glenn Morris <rgm@gnu.org>
1260 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1262 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1264 * vc/vc-git.el (vc-git-root-log-format): New option for
1265 customizing log format.
1266 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1267 (vc-git-log-view-mode): Use it.
1268 (vc-git-expanded-log-entry): New function.
1269 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1271 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1272 customizing log format.
1273 (vc-hg-print-log): Use it.
1274 (vc-hg-expanded-log-entry): New function.
1275 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1276 vc-hg-expanded-log-entry. Truncate lines in root log.
1278 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1280 * vc/log-view.el (log-view-mode-menu):
1281 Add log-view-toggle-entry-display.
1283 2011-02-14 Glenn Morris <rgm@gnu.org>
1285 * dired-x.el: Don't require man when compiling.
1286 (dired-omit-extensions, dired-local-variables-file)
1287 (dired-x-hands-off-my-keys): Make them defcustoms.
1288 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1289 (vm-visit-folder): Declare rather than defining.
1290 (dired-x-help-address, dired-x-variable-list): Remove.
1291 (dired-x-submit-report): Make it an obsolete alias.
1293 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1295 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1297 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1299 * net/imap.el: Bring it back.
1301 2011-02-13 Alan Mackenzie <acm@muc.de>
1303 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1304 narrow-to-region call that cuts context off the end (Bug#7722).
1306 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1307 Refactor nested if-forms with a simple cond.
1308 (c-forward-<>-arglist): Revert 2011-01-31 change.
1310 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1312 * vc/log-view.el: New command log-view-toggle-entry-display for
1313 toggling log entries between concise and detailed forms.
1314 (log-view-toggle-entry-display): New command.
1315 (log-view-mode-map): Bind RET to it.
1316 (log-view-expanded-log-entry-function): New variable.
1317 (log-view-current-entry, log-view-inside-comment-p)
1318 (log-view-current-tag): New functions.
1319 (log-view-toggle-mark-entry): Use log-view-current-entry and
1320 log-view-end-of-defun instead of searching directly with
1321 log-view-message-re.
1322 (log-view-end-of-defun): Likewise. Add optional ARG for
1323 compatibility with end-of-defun.
1324 (log-view-end-of-defun): Ignore comments and VC buttons.
1326 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1327 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1329 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1331 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1333 * net/imap-hash.el: Remove file.
1335 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1337 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1339 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1342 * net/tramp-imap.el: Remove file.
1344 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1346 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1347 widget library for buttons, just use button.el.
1349 * vc/log-view.el (log-view-mode-map): Don't inherit from
1352 2011-02-12 Glenn Morris <rgm@gnu.org>
1354 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1355 (nintersection, set-difference, nset-difference)
1356 (set-exclusive-or, nset-exclusive-or): Doc fix.
1358 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1360 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1361 :italic props, so that frame-set-background-mode works. (Bug#7966)
1363 * simple.el (next-error): Doc fix.
1365 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1367 * dired-aux.el (dired-create-files): Adapt destination name to
1368 match the new behavior of copy-directory.
1370 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1372 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1373 from rmail-dont-reply-to-names. Callers changed.
1374 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1375 (rmail-dont-reply-to): Make it an obsolete alias.
1377 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1378 nil, and make obsolete (Bug#7888).
1379 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1381 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1383 * mail/rmailsort.el (rmail-sort-by-correspondent)
1384 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1386 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1388 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1390 * files.el (copy-directory): New argument COPY-CONTENTS for
1391 copying directory contents into another existing directory.
1393 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1395 * minibuffer.el (completion-table-case-fold): New function for
1396 creating a case-insensitive completion table.
1398 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1400 * net/tramp.el (tramp-default-method): Also check if
1401 `auth-source-search' is bound.
1402 (tramp-read-passwd): Use `auth-source-search' instead of
1403 `auto-source-user-or-password'.
1405 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1406 `auto-source-user-or-password.
1407 (tramp-imap-passphrase-callback-function): Use it.
1409 * net/imap-hash.el: Autoload `auto-source-search' instead of
1410 `auto-source-user-or-password.
1411 (imap-hash-open-connection): Use it.
1413 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1414 `auto-source-user-or-password.
1415 (smtpmail-try-auth-methods): Use it.
1417 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1419 * emacs-lisp/package.el: Allow packages to be reinstalled.
1420 (package--write-file-no-coding): Remove EXCL arg.
1421 (package-unpack-single): Don't use it.
1423 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1425 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1426 in each sub directory.
1427 (vc-svn-registered): Use vc-svn-root.
1428 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1429 (vc-svn-repository-hostname): Use "svn info".
1431 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1433 * simple.el (delete-trailing-whitespace): New optional buffer
1436 2011-02-11 Bastien Guerry <bzg@altern.org>
1438 * files.el (basic-save-buffer): save unmodified buffers when
1439 the file pointed by buffer-file-name doesn't exist.
1441 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1443 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1445 2011-02-11 Glenn Morris <rgm@gnu.org>
1447 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1449 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1451 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1453 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1455 * server.el (server-process-filter): Use pcase.
1457 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1459 (smie-indent--parent): Extend to "parent of arg".
1460 (smie-indent-inside-string): New function.
1461 (smie-indent-functions): Use it.
1463 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1464 bzr locking race condition.
1466 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1467 still valid before using it.
1469 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1470 `message' -> `compilation-message' rename (bug#8004).
1472 Move keymap initialization into declaration.
1473 * textmodes/enriched.el (enriched-mode-map):
1474 * textmodes/bib-mode.el (bib-mode-map):
1475 * term/lk201.el (lk201-function-map):
1476 * tar-mode.el (tar-mode-map):
1477 * replace.el (occur-mode-map):
1478 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1479 * progmodes/idlw-help.el (idlwave-help-mode-map):
1480 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1481 * play/solitaire.el (solitaire-mode-map):
1482 * play/snake.el (snake-mode-map, snake-null-map):
1483 * play/pong.el (pong-mode-map):
1484 * play/handwrite.el (menu-bar-handwrite-map):
1485 * play/gametree.el (gametree-mode-map):
1486 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1487 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1488 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1489 (newsticker--url-keymap):
1490 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1491 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1492 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1493 (menu-bar-edit-menu, menu-bar-custom-menu)
1494 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1495 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1496 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1497 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1498 (menu-bar-tools-menu, menu-bar-describe-menu)
1499 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1500 (menu-bar-help-menu):
1501 * mail/rmailsum.el (rmail-summary-mode-map):
1502 * kmacro.el (kmacro-step-edit-map):
1503 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1504 (ibuffer-mode-operate-map):
1505 * hi-lock.el (hi-lock-menu, hi-lock-map):
1506 * emulation/vip.el (vip-mode-map):
1507 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1508 * bookmark.el (bookmark-bmenu-mode-map):
1509 * help-mode.el (help-mode-map): Move initialization into declaration.
1511 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1513 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1514 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1515 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1516 (rcirc-cmd-me, rcirc-authenticate): Use them.
1518 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1520 * allout.el: Synopsis: Change allout user configuration so
1521 auto-activation is controlled solely by customization
1522 `allout-auto-activation'.
1524 (allout-auto-activation-helper, allout-setup): New autoloads
1525 implement new custom set procedure for allout-auto-activation.
1526 Also, explicitly invoke (allout-setup) after allout-auto-activation
1527 is custom-defined, to affect the settings in emacs sessions besides
1528 the few where allout-auto-activation customization is done.
1529 (allout-auto-activation): Use allout-auto-activation-helper to
1530 :set. Revise the docstring.
1531 (allout-init): Reduce functionality to just customizing
1532 allout-auto-activation, and mark obsolete.
1533 (allout-mode): Respect string values for allout-auto-activation.
1534 Run allout-after-copy-or-kill-hook without any args.
1535 (allout-mode, allout-layout, allout-default-layout)
1536 (outlineify-sticky): Adjust docstring for new scheme.
1537 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1538 should concentrate on the kill ring.
1540 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1542 * password-cache.el (password-cache-remove): Accept secrets that are
1545 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1548 of here-doc that immediately follows a comment.
1550 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1552 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1554 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1556 (rcirc-ctcp-sender-PING): New function.
1558 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1560 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1561 Remove the mark/nomark handling, and activate shift-select-mode instead.
1563 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1565 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1567 * calc/calc-units.el (math-logunits-quant): Add support for
1568 non-logarithmic units.
1570 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1572 * allout.el (allout-after-copy-or-kill-hook): New hook for
1573 extension-specific processing of killed text.
1574 (allout-mode): Include new allout-after-copy-or-kill-hook among
1576 (allout-kill-line, allout-kill-topic): Ensure that processing
1577 after kill happens even if barf-if-buffer-read-only is raised.
1578 Include new allout-after-copy-or-kill-hook among that subsequent
1580 (allout-deannotate-hidden): Actually remove the annotation text
1583 * allout.el (allout-listify-exposed): Copy text sans text properties.
1585 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1587 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1589 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1591 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1593 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1595 * calc/calc.el (calc-logunits-field-reference): Rename from
1596 `calc-default-field-reference-level'.
1597 (calc-logunits-power-reference): Rename from
1598 `calc-default-power-reference-level'.
1600 * calc/calc-units.el (math-logunits-quant): Rename from
1601 `math-logunits-level'
1602 (math-logunits-plus): Rename from math-logcombine.
1603 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1604 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1605 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1607 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1608 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1609 (calc-logunits-quantity): Rename from `calc-level'.
1610 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1611 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1612 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1613 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1614 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1617 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1618 (calc-ul-prefix-help): Remove.
1619 (calc-l-prefix-help): New function.
1620 (calc-full-help): Add reference to `calc-l-prefix-help'.
1622 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1624 * calc/README: Mention logarithmic units.
1626 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1628 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1629 non-ASCII characters (Bug#7925).
1631 2011-02-05 Glenn Morris <rgm@gnu.org>
1633 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1635 * calendar/diary-lib.el (diary-font-lock-keywords):
1636 Tweak diary-time-regexp match. (Bug#7891)
1638 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1639 (f90-mode): Use it for mode's `find-tag-default-function' property.
1641 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1643 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1645 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1647 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1650 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1652 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1653 font-lock-syntax-table remappings.
1654 (sh-here-doc-markers, sh-here-doc-re): Remove.
1655 (sh-font-lock-close-heredoc): Remove.
1656 (sh-syntax-propertize-here-doc): New function.
1657 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1658 instead of the sh-here-doc-re.
1659 (sh-font-lock-paren): Don't do anything in comments or strings.
1660 Handle line continuations. Accept a few more chars.
1661 Don't rely on the font-lock-syntax-table remappings.
1662 `esac' is not a valid pattern.
1663 (sh-syntax-propertize-function): Handle here-docs differently, so we
1664 don't bother syntax-propertizing the insides.
1666 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1667 Handle new bashisms ";&" and ";;&" (bug#7947).
1669 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1671 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1672 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1674 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1676 * net/tramp.el (tramp-postfix-method-format)
1677 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1678 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1679 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1680 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1681 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1684 2011-02-04 Sam Steingold <sds@gnu.org>
1686 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1688 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1690 * international/mule-util.el (with-coding-priority): Doc fix.
1692 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1694 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1696 2011-02-03 Sam Steingold <sds@gnu.org>
1698 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1699 Do not error out when `func' is nil.
1701 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1703 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1704 `tramp-default-remote-path' to the docstring.
1705 (tramp-get-remote-path): Suppress error message when `getconf
1708 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1710 2011-02-03 Glenn Morris <rgm@gnu.org>
1712 * vc/vc-hg.el (vc-hg-command): Doc fix.
1714 * term/w32-win.el (libpng-version): Declare for compiler.
1716 * msb.el: No need to load dired while compiling.
1718 * emacs-lisp/elint.el (elint-standard-variables):
1719 Remove a couple of built-ins that now have doc-strings.
1721 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1722 `require' is automatically `eval-and-compile'd.
1724 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1725 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1727 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1728 Move definition before use.
1729 (strokes-report-bug): Make it obsolete.
1731 2011-02-02 Sam Steingold <sds@gnu.org>
1733 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1734 from `special-mode', entering it makes the buffer read-only, so
1735 call it only when everything has been already inserted.
1736 * emacs-lisp/ert.el (ert--setup-results-buffer)
1737 (ert-results-pop-to-backtrace-for-test-at-point)
1738 (ert-results-pop-to-messages-for-test-at-point)
1739 (ert-results-pop-to-timings): Ditto.
1740 * emacs-lisp/package.el (package--list-packages): Ditto.
1741 * play/solitaire.el (solitaire): Ditto.
1743 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1745 * progmodes/compile.el: Make all faces inherit.
1746 (compilation-warning): Inherit from font-lock-variable-name-face.
1747 (compilation-info): Inherit from font-lock-type-face.
1748 (compilation-line-number): Reassign to font-lock-keyword-face.
1749 (compilation-column-number): Reassign to font-lock-doc-face.
1750 (compilation-leave-directory-face): Reassign to
1751 font-lock-builtin-face.
1753 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1755 * dired.el (dired-insert-directory): Don't invoke `ls' when
1756 ls-lisp.el is used to emulate it.
1758 2011-02-01 Julien Danjou <julien@danjou.info>
1760 * color.el (color-gradient): Add a color-gradient function.
1762 2011-02-01 Sam Steingold <sds@gnu.org>
1764 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1765 bind "z" to `kill-this-buffer'.
1766 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1767 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1768 (apropos-mode): Inherit from `special-mode'.
1769 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1770 * bookmark.el (bookmark-bmenu-mode): Define using
1771 `define-derived-mode' inheriting from `special-mode'.
1772 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1773 * image-mode.el (image-mode-map): Ditto.
1774 * replace.el (occur-mode): Define using
1775 `define-derived-mode' inheriting from `special-mode'.
1776 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1777 * calendar/diary-lib.el (diary-fancy-display-mode):
1778 Inherit from `special-mode-map'.
1779 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1780 Inherit from `special-mode'.
1781 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1783 (package-menu-mode): Define using `define-derived-mode'
1784 inheriting from `special-mode'.
1785 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1786 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1787 (xesam-mode-map): Define separately.
1788 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1789 * progmodes/compile.el (compilation-minor-mode-map)
1790 (compilation-mode-map): Inherit from `special-mode-map'.
1791 * vc/diff-mode.el (diff-mode-shared-map):
1792 Inherit from `special-mode-map'.
1793 * vc/log-view.el (log-view-mode-map): Add a comment.
1795 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1797 * custom.el (load-theme): Define return value. Drop use of
1798 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1799 (custom-theme-load-confirm): Scroll in the correct window.
1800 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1802 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1803 checkbox if load-theme fails.
1805 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * progmodes/compile.el (compilation-next-error): Check there's
1808 a message before using it (bug#7941).
1810 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1812 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1813 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1814 of potential pivots.
1816 2011-01-31 Alan Mackenzie <acm@muc.de>
1818 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1819 Continue parsing if we encounter a naked # (Bug#7595).
1820 (c-beginning-of-statement): Avoid loop in locating the beginning
1821 of a macro. (Not actually committed until 2011-02-20, see above).
1823 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1825 * files.el (copy-directory): Fix arguments to recursive call.
1827 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1829 * files.el (copy-directory): If destination is an existing
1830 directory, copy into a subdirectory there.
1832 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1834 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1837 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1839 * image-dired.el (image-dired-mouse-display-image): No-op if no
1840 file is found (Bug#7817).
1842 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1844 2011-01-31 Kenichi Handa <handa@m17n.org>
1846 * international/quail.el (quail-keyboard-layout-alist):
1847 Remove superfluous SPC for "pc105-uk" (bug#7927).
1849 2011-01-31 Glenn Morris <rgm@gnu.org>
1851 * msb.el (msb-menu-bar-update-buffers): Update for changed
1852 argument handling of menu-bar-select-frame. (Bug#7902)
1854 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1856 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1857 to the recursion depth (Bug#7722).
1859 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1861 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1862 command-line-default-directory (Bug#7872).
1864 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1866 * progmodes/compile.el (compilation--flush-directory-cache):
1867 New function, extracted from compilation--remove-properties.
1868 (compilation--remove-properties, compilation--parse-region): Use it.
1869 (compilation--previous-directory): Handle one more case.
1870 (compilation-enable-debug-messages): Remove.
1871 (compilation-parse-errors, compilation--flush-parse): Just remove the
1872 left over debug messages.
1874 2011-01-31 Sam Steingold <sds@gnu.org>
1876 * progmodes/compile.el (compilation-enable-debug-messages):
1877 Add a variable to make the parsing messages introduced in
1878 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1879 (compilation-parse-errors, compilation--flush-parse): Use it.
1881 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1883 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1884 (rcirc-nick-completion-format): New defcustom.
1885 (rcirc-complete): Use it.
1887 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1889 * net/rcirc.el: Clean log filenames (Bug#7933).
1890 (rcirc-log-write): Use convert-standard-filename.
1891 (rcirc-log-filename-function): Documentation updates.
1893 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1895 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1896 Check report-emacs-bug-can-use-osx-open and use that if t.
1897 (report-emacs-bug-can-use-osx-open): New function.
1898 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1899 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1901 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1903 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1904 updating Dired or VC-dir buffers after async command completes.
1906 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1907 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1909 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1910 completions if it exists. Use vc-set-async-update.
1911 (vc-git-pull): Use vc-set-async-update.
1913 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1914 read-shell-command. Use vc-set-async-update.
1915 (vc-hg-merge-branch): Use vc-set-async-update.
1917 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1919 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1920 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1923 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * progmodes/compile.el: Avoid an N² behavior in grep.
1926 (compilation--previous-directory): New fun.
1927 (compilation--previous-directory-cache): New var.
1928 (compilation--remove-properties): Flush it.
1929 (compilation-directory-properties, compilation-error-properties):
1930 Use the new fun to speed up looking for the current directory.
1932 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1934 * vc/vc-hg.el (vc-hg-history): New var.
1935 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1936 (vc-hg-merge-branch): New function.
1938 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1939 the other way around.
1941 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1942 (vc-git-merge-branch): New functions.
1943 (vc-git-history): New var.
1945 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1947 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1949 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1950 vc-do-async-command.
1952 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1955 2011-01-28 Leo <sdl.web@gmail.com>
1957 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1958 highlighting to the "this function is advised" message.
1960 * help-mode.el (help-mode-finish): Apply highlighting here, to
1961 avoid clobbering by substitute-command-keys (Bug#6304).
1963 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1965 * woman.el (woman0-roff-buffer): Process roff escape sequences
1966 occurring prior to the first request (Bug#7843).
1968 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1970 * progmodes/compile.el: Don't use font-lock any more.
1971 (compilation-error-regexp-alist-alist): Change handling of makepp
1972 so it preserves the warning/error distinction on subsequent files.
1973 Simplify various rules.
1974 (compilation-directory-properties): Use font-lock-face.
1975 Add a compilation-message property.
1976 (compilation-internal-error-properties): Use font-lock-face.
1977 Don't set the compilation-debug property here.
1978 (compilation--put-prop, compilation--remove-properties)
1979 (compilation--parse-region, compilation--ensure-parse)
1980 (compilation--ensure-parse): New functions.
1981 (compilation-parse-errors): New function, largely inspired of
1982 compilation-mode-font-lock-keywords. Set compilation-debug here.
1983 (compilation--parsed): New var.
1984 (compilation--flush-parse): Use compilation--ensure-parse.
1985 (compilation-start): Don't call font-lock.
1986 (compilation-turn-on-font-lock): Remove.
1987 (compilation-setup): Don't set font-lock-extra-managed-props not change
1988 other font-lock settings, other than keywords.
1989 Don't activate font-lock-mode.
1990 Set change-major-mode-hook and before-change-functions.
1991 (compilation--unsetup): Remove properties and hooks.
1992 (compilation-next-single-property-change): New function.
1993 (compilation-next-error): Use it to parse when needed.
1994 (compile-goto-error): Parse buffer as needed.
1995 (compilation--compat-error-properties): Don't need a dummy `face'
1998 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2000 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2001 (compilation-process-setup-function): Fix docstring's false promises.
2002 (compilation-error-regexp-alist-alist): Catch omake's continuous
2003 recompilation message and avoid reuse of old markers.
2004 (compilation-parse-errors-function): Declare obsolete.
2005 (compilation-buffer-modtime): Remove.
2006 (compilation--make-cdrloc, compilation--loc->col)
2007 (compilation--loc->line, compilation--loc->file-struct)
2008 (compilation--loc->marker, compilation--loc->visited)
2009 (compilation--make-file-struct, compilation--file-struct->file-spec)
2010 (compilation--file-struct->formats)
2011 (compilation--file-struct->loc-tree): New macros. Use them.
2012 (compilation--message): New defstruct. Use them.
2013 (compilation-next-error-function): Don't mess with timestamps to try
2014 and guess when to reparse.
2016 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2019 (tex-old-error-file-name): New function,
2020 extracted from tex-compilation-parse-errors.
2021 (tex-compilation-parse-errors): Remove.
2022 (tex-error-regexp-alist): New var.
2023 (tex-shell): Use it to avoid compilation-parse-errors-function.
2025 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2026 (grep-mode-font-lock-keywords): Remove regexp that seems like
2027 a left-over from before we used compile.el.
2028 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2029 modifying the buffer within with-silent-modifications.
2031 * progmodes/compile.el: Cleanup text-properties namespace by using
2032 `compilation-message' instead of `message', `compilation-directory'
2033 instead of `directory', and `compilation-debug' instead of `debug'.
2034 (compilation-last-buffer, compilation-parsing-end)
2035 (compilation-error-list, compilation-old-error-list): Move to the
2036 compatibility part of the code.
2037 (compilation-error-properties): If `file' is a function, let it return
2039 (compilation-mode-font-lock-keywords): Be more conservative with the
2040 omake "^ *" pattern prefix, to try and minimize the risk of
2041 pathologically slow regexp matching.
2042 (compilation-start): Use inhibit-read-only.
2043 (compilation--unsetup): New function.
2044 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2045 (compilation-filter): Minor tweaks.
2046 (compilation-next-error-function): Try and avoid abusing variables.
2047 (compilation--flush-file-structure): New fun.
2048 (compilation-fake-loc): Use it to improve behavior when file is reused.
2049 (debug-ignored-errors): Add "Moved past last ...".
2050 (compilation--compat-error-properties)
2051 (compilation--compat-parse-errors): Rename by doubling the "-".
2053 Port features from the previous prolog.el to the new one.
2054 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2055 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2056 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2057 variable and use a function to compute the value dynamically.
2058 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2059 (prolog-continued-prompt-regexp): Remove, unused.
2060 (prolog-find-value-by-system): Try and use the value of prolog-system
2061 in the *prolog* buffer if it helps.
2062 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2063 (prolog-zip-on): ..and check prolog-system and version here instead.
2064 (prolog-inferior-self-insert-command): New command.
2065 (prolog-inferior-mode-map): Use it.
2066 (prolog-inferior-error-regexp-alist): New var.
2067 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2068 (prolog-input-filter): Use derived-mode-p.
2069 (prolog-inferior-guess-flavor): New function.
2070 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2071 make-comint to avoid running comint-mode twice.
2072 (prolog-inferior-buffer): New fun.
2073 (prolog-old-process-region, prolog-old-process-file):
2074 Don't call prolog-bsts here...
2075 (prolog-build-prolog-command): ...do it here instead.
2076 (prolog-old-process-region, prolog-old-process-file):
2077 Use compilation-fake-loc and compilation-forget-errors.
2078 (prolog-consult-compile-region): Use bolp.
2080 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2082 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2084 2011-01-27 Sam Steingold <sds@gnu.org>
2086 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2087 Remove "*server*" which is never created by emacs server.
2089 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2091 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2092 there are some diff switches.
2094 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2096 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2097 Copy change made to ruby-font-lock-syntactic-keywords.
2099 * htmlfontify.el: Make it obey the font-lock-face text property.
2100 Miscellaneous cleanup such as:
2101 - Don't hide expressions after a closing paren.
2102 - Move initial setq into let.
2103 - Hoist common parts out of ifs.
2104 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2105 (hfy-face-at): Use get-text-property instead.
2106 (hfy-prop-invisible-p): Use invisible-p if available.
2107 (htmlfontify-manual): Use \\[...].
2108 (hfy-html-quote-regex): Use [...].
2109 (hfy-combined-face-spec): Simplify.
2110 (hfy-compile-face-map): Don't presume point-min==1.
2111 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2112 match end of string.
2113 (hfy-text-p): η-reduce.
2114 (hfy-tags-for-file): Receive cache-hash directly.
2115 (hfy-mark-tag-names): Adjust call.
2117 2011-01-27 Glenn Morris <rgm@gnu.org>
2119 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2120 (msb-after-load-hook): Remove eval-after-load wackiness.
2122 2011-01-25 Sam Steingold <sds@gnu.org>
2124 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2125 literal "diff" (important for windows-nt).
2127 2011-01-25 Glenn Morris <rgm@gnu.org>
2129 * emacs-lisp/copyright.el (copyright-at-end-flag)
2130 (copyright-names-regexp): Add safety properties.
2131 (copyright-year-ranges): New option.
2132 (copyright-find-end): New function, split from copyright-update-year.
2133 (copyright-update-year): Use copyright-find-end.
2134 (copyright-fix-years): Optionally, convert years to ranges.
2135 Handle years continued over comment lines.
2136 Do not mess with the fill-prefix.
2137 Do not call copyright-update.
2138 (copyright-update-directory): Optionally, fix years rather than update.
2139 Skip directories. Find files with only safe local vars.
2141 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * files.el (file-name-non-special): Only change buffer-file-name after
2144 insert-file-contents if it's `visit'ing the file (bug#7854).
2146 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2148 * dired.el (dired-revert): Doc fix (Bug#7758).
2150 * simple.el (line-move-visual): Doc fix (Bug#7594).
2152 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2154 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2155 here-doc which ends with an underscore.
2156 (ruby-mode-set-encoding): Skip shebang line always.
2157 (ruby-mode-map): Bind C-c C-c to comment-region.
2158 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2159 (ruby-forward-sexp): Stop after literal hash key labels.
2160 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2163 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2165 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2166 the correct buffer (Bug#7650).
2168 2011-01-25 Glenn Morris <rgm@gnu.org>
2170 * comint.el (comint-mode): Doc fix. (Bug#7897)
2172 * simple.el (do-auto-fill): Give it a doc string.
2174 * button.el (make-text-button): Doc fix. (See bug#7881)
2176 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2179 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2181 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2182 Handle ?" and friends differently (e.g. don't use backrefs).
2184 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2186 * calc/calc.el (calc-default-power-reference-level)
2187 (calc-default-field-reference-level): New variables.
2188 * calc/calc-units.el (math-standard-units): Add dB and Np.
2189 (math-logunits): New variable.
2190 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2191 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2192 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2194 (math-find-base-units-rec): Add entry for ln(10).
2195 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2196 (calc-ul-prefix-help): New function.
2197 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2198 functions. Add keybindings for new units functions.
2200 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2202 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2203 rcirc buffers. (Bug#4940)
2205 2011-01-22 Glenn Morris <rgm@gnu.org>
2207 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2208 split out from copyright-update-year.
2209 (copyright-update): Don't mess with the GPL version if we don't own the
2210 copyright. Update license regexp, and remove no longer needed
2212 (copyright-fix-years): Use copyright-find-copyright.
2214 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2216 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2218 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2220 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2221 (lm): Rename to landmark.
2222 (lm-test-run): Rename to landmark-test-run.
2224 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2226 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2227 "Case sensitive" menu item.
2229 2011-01-22 Roland McGrath <roland@frob.com>
2231 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2232 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2234 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2236 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2238 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2240 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2241 Assume foo(bar) is a manpage reference rather than some unquoted
2244 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2246 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2247 Suggested by Flo <sensorflo@gmail.com>.
2249 2011-01-22 Glenn Morris <rgm@gnu.org>
2251 * progmodes/compile.el (compilation-error-regexp-alist):
2252 Fix custom type. (Bug#7812)
2254 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2256 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2257 allout-number-siblings, in keeping with what obtained due to
2258 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2260 (allout-before-change-handler): Better expose spots affected by
2263 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2265 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2267 2011-01-22 Phil Hagelberg <phil@evri.com>
2269 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2270 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2271 (pcmpl-ssh-config-hosts): New function.
2272 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2273 pcmpl-ssh-known-hosts.
2275 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2277 * calc/calc-undo.el (calc-undo): Autoload it.
2278 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2279 and autoload for `calc-undo'.
2280 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2281 * calc/calc-prog.el:
2282 * calc/calc-graph.el:
2283 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2285 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2287 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2288 keybindings to `calc-undo'.
2290 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2292 Don't mess with *temp*.
2293 * obsolete/spell.el: Move from textmodes/spell.el.
2295 * term.el (term-read-input-ring):
2296 * startup.el (display-startup-echo-area-message):
2297 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2298 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2299 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2302 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2304 * allout.el (allout-institute-keymap): Use fset instead of
2305 reapplying defalias.
2307 (allout-hotspot-key-handler): Check for non-control-modified
2308 bindings for hotspot characters if there are no control-modified
2311 * allout.el: Summary - migrate to defining allout mode using
2312 define-minor-mode instead of defun. Significantly clean-up
2313 internal keymap provisions, refactoring and, in the process,
2314 removing a lot of accumulated cruft.
2316 allout-mode-map is now a keymap by virtue of being a defalias to
2317 allout-mode-map-value, which contains the actual keymap structure.
2319 (allout-mode): Use define-minor-mode rather than defun.
2320 Remove now-unnecessary minor-mode setup activities from the body.
2321 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2322 entry will be '(allout-mode . allout-mode-map) - see
2323 allout-mode-map-value, below. Adjust docstring to track changes.
2324 (allout-minor-mode): Remove this defalias, now that we're using
2326 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2327 keymap is allout-mode-map-value, via defalias.
2328 (allout-mode-map-value): The variable holding the actual mode
2329 keymap structure, by virtue of defalias from allout-mode-map.
2330 (allout-compose-and-institute-keymap): Rename from
2331 allout-bind-keys, and including the binding-composition
2332 functionality of the former produce-allout-mode-map and
2333 allout-setup-mode-map.
2334 (allout-institute-keymap): Take over the "setup" part of the former
2335 allout-setup-mode-map. Reassign allout-mode-map-value value and
2336 update the defalias.
2337 (allout-command-prefix, allout-prefixed-keybindings)
2338 (allout-unprefixed-keybindings):
2339 Use allout-compose-and-institute-keymap to process the bindings.
2340 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2341 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2342 user can customize if they want to use that binding.
2343 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2344 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2345 elided that, previously, instead of the one for \C-h.)
2346 (allout-hotspot-key-handler): Remove attempt to resolve the key
2347 through the literal key-string lookup on allout-keybindings-list.
2348 That probably hasn't worked for a Long Time, and removal of
2349 allout-keybindings-list further simplifies the keybindings situation.
2350 (allout-pre-command-business): Use allout-mode-map-value instead
2352 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2353 the bindings if they want to use a keybinding having a trailing
2354 \C-h. No deprecation needed since this feature was never in a release.
2355 (allout-keybindings-list): Remove. It's not been useful for a
2356 while. (See allout-hotspot-key-handler changes, above.)
2357 (produce-allout-mode-map): Remove. Consolidate into
2358 allout-compose-and-institute-keymap.
2359 (allout-mode-map-adjustments): Remove. No longer necessary with
2360 removal of allout-preempt-trailing-ctrl-h.
2361 (allout-setup-mode-map): Remove. Consolidate into
2362 allout-compose-and-institute-keymap and allout-institute-keymap.
2364 2011-01-20 Glenn Morris <rgm@gnu.org>
2366 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2368 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2370 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2372 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2374 * files.el (find-alternate-file, basic-save-buffer)
2375 (basic-save-buffer-2, revert-buffer, recover-file)
2376 (kill-buffer-ask, abort-if-file-too-large)
2377 (set-visited-file-name, write-file, backup-buffer)
2378 (basic-save-buffer, save-some-buffers):
2379 * dired-aux.el (dired-compress-file): Callers changed.
2381 2011-01-19 Glenn Morris <rgm@gnu.org>
2383 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2384 Also check the property status. (Bug#7861)
2386 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2388 * net/tramp.el (tramp-debug-message): Extend function exclude
2389 list. Use `regexp-opt'.
2391 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2393 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2394 highlighting doesn't spill over subsequent lines.
2396 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2397 keymap expression. Improve docstring.
2399 * electric.el (electric-indent-post-self-insert-function):
2400 Don't auto-indent for indent-to-left-margin, it's too often
2403 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2405 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2406 spaces if the frame was resized, so that the full visible buffer
2407 serves as canvas for strokes.
2409 2011-01-16 Glenn Morris <rgm@gnu.org>
2411 * info-xref.el (info-xref-docstrings): Replace cl function.
2412 Also skip directories.
2414 2011-01-16 Kevin Ryde <user42@zip.com.au>
2416 * info-xref.el: Version 3.
2417 (info-xref-check, info-xref-check-all): Move commentary details
2418 into docstrings for better visibility.
2419 Use compilation-mode for the results buffer.
2420 (info-xref-output, info-xref-output-error, info-xref-with-output)
2421 (info-xref-filename, info-xref-in-progress):
2422 New internals for this.
2423 (info-xref-check-list, info-xref-check-buffer)
2424 (info-xref-check-all-custom): Use those.
2425 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2426 (info-xref-output-heading): Rename from info-xref-filename-heading.
2427 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2428 (info-xref-filename-heading): Move to output managing section.
2429 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2430 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2431 (info-xref-subfile-p): Move to generic section with those two.
2432 (info-xref-check-node): New function split from
2433 info-xref-check-buffer, shared by info-xref-docstrings.
2434 (info-xref-goto-node-p): Move to a checking section with that func.
2435 (info-xref-unavail): New counter.
2436 (info-xref-check-node): Use it.
2437 (info-xref-with-output): Show count of unavailables at end of output.
2438 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2439 symlinks. Exclude .texi files. Exclude Emacs backup files.
2440 (info-xref-check-all-custom): Fix quietening viper-mode and
2441 gnus-registry-install -- use setq not let so as not to unbind
2444 2011-01-16 Juri Linkov <juri@jurta.org>
2446 * isearch.el (isearch-abort): Don't quit if search has
2447 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2449 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2451 * files.el (backup-buffer): Make last-resort backup file in
2452 .emacs.d (Bug#6953).
2454 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2455 make it with permission 700.
2457 2011-01-15 Kenichi Handa <handa@m17n.org>
2459 * mail/rmailmm.el (rmail-mime-insert-header):
2460 Set rmail-mime-coding-system to a cons whose car is the last coding
2461 system used to decode the header.
2462 (rmail-mime-find-header-encoding): New function.
2463 (rmail-mime-insert-decoded-text):
2464 Override rmail-mime-coding-system if it is a cons.
2465 (rmail-show-mime): If only a header part was decoded, find the
2466 coding system while ignoring mm-charset-override-alist.
2468 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2470 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2472 2011-01-15 Kenichi Handa <handa@m17n.org>
2474 * mail/rmailmm.el (rmail-mime-next-item)
2475 (rmail-mime-previous-item): Delete them.
2476 (rmail-mime-shown-mode): Recursively call for children.
2477 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2479 (rmail-mime-raw-mode): Recursively call for children.
2480 (rmail-mode-map): Change mapping of tab and backtab to
2481 forward-button and backward-button respectively.
2482 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2484 (rmail-mime-update-tagline): New function.
2485 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2486 body display is changed.
2487 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2488 (rmail-mime-image): Delete this button type.
2489 (rmail-mime-toggle): New button type.
2490 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2491 body display is changed. Change the save button label to "Save".
2492 Don't process show/hide button here.
2493 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2494 the body display is changed. Unconditionally call
2495 rmail-mime-insert for children.
2496 (rmail-mime-handle): Update `display' vector of the just inserted
2498 (rmail-mime-process): If mail-header-parse-content-type returns
2499 nil, use "text/plain" as the fallback type.
2500 (rmail-mime-insert): For raw-mode, recursively call
2501 rmail-mim-insert for children.
2502 (rmail-mime): Handle the case that the current buffer is not rmail
2503 buffer (e.g. in summary buffer).
2505 2011-01-15 Kenichi Handa <handa@m17n.org>
2507 * mail/rmailmm.el (rmail-mime-next-item)
2508 (rmail-mime-previous-item): Skip the body of a non-multipart
2509 entity if a tagline is shown.
2511 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2514 (tmm-prompt): Simplify.
2515 (tmm-add-prompt): Remove unused var `win'.
2517 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2518 to minor mode which used nil accidentally to mean "turn off".
2520 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2522 * net/tramp-sh.el (tramp-find-inline-compress)
2523 (tramp-get-inline-coding): Quote command after pipe symbol for
2524 local calls under W32. (Bug#6784)
2526 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2528 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2529 only when running under W32.
2531 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2533 * progmodes/grep.el (grep-compute-defaults): Quote the program
2534 file name after the pipe symbol in Grep templates. (Bug#6784)
2535 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2537 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2539 * buff-menu.el (Buffer-menu-buffer-list): New var.
2540 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2541 restricted buffer list is not lost on revert (Bug#7749).
2543 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2545 * net/ldap.el (ldap-search-internal): Discard stderr output.
2547 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2549 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2551 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2553 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2555 2011-01-15 Kenichi Handa <handa@m17n.org>
2557 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2558 part as a plain text.
2559 (rmail-mime-process-multipart): Set the default content-type to
2560 nil for unknown multipart subtypes (bug#7651).
2562 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2564 * hexl.el (hexl-mode-old-*): Remove.
2565 (hexl-mode--old-var-vals): New var to replace them.
2566 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2567 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2568 Use them to set local vars (bug#7846).
2569 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2570 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2571 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2573 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2574 (smerge-resolve--normalize-re): New var.
2575 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2576 (smerge-resolve): Use them.
2577 * newcomment.el (comment-only-p): New function.
2578 (comment-or-uncomment-region): Use it.
2580 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2582 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2583 table, get the value before switching to the output buffer. (Bug#7733)
2585 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2589 2011-01-14 Kim F. Storm <storm@cua.dk>
2591 * emulation/cua-base.el (cua--init-keymaps):
2592 Remap exchange-point-and-mark in cua-global-keymap.
2594 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2596 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2599 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2601 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2603 (easy-menu-create-menu, easy-menu-convert-item-1):
2604 Use :label rather than nil for labels. Use `case'.
2605 Add :enable as alias for :active.
2606 (easy-menu-binding): Obey :label.
2608 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2610 Use run-mode-hooks for major mode hooks (bug#513).
2611 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2612 Rename from reftex-toc-map.
2613 (reftex-toc-mode): Use define-derived-mode.
2614 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2615 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2616 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2617 (reftex-select-label-mode, reftex-select-bib-mode):
2618 Use define-derived-mode.
2619 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2620 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2621 Move init into delcaration.
2622 (reftex-index-mode, reftex-index-phrases-mode):
2623 Use define-derived-mode.
2624 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2625 speedbar-syntax-table. Move init into declaration.
2626 (speedbar-mode-map): Rename from speedbar-key-map.
2627 Move init into declaration.
2628 (speedbar-file-key-map): Move init into declaration.
2629 (speedbar-mode): Use define-derived-mode.
2630 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2631 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2632 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2633 (chart-face-list): Move initialization into declaration.
2634 (chart-mode): Use define-derived-mode.
2635 * calculator.el (calculator-mode-map): Move init into declaration.
2636 (calculator-mode): Use define-derived-mode.
2638 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2639 work for nested comments.
2641 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2642 (prolog-use-prolog-tokenizer-flag): Change default when
2643 syntax-propertize can be used.
2644 (prolog-syntax-propertize-function): New var.
2645 (prolog-mode-variables): Move make-local-variable into `set'.
2646 Don't make comment-column local since we don't set it.
2647 Set comment-add (as it was in previous prolog.el). Use dolist.
2648 Set syntax-propertize-function.
2649 (prolog-mode, prolog-inferior-mode):
2650 Call prolog(-inferior)-menu directly, not through the mode-hook.
2651 (prolog-buffer-module, prolog-indent-level)
2652 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2653 (prolog-comment-limits, prolog-goto-comment-column):
2654 Use line-(end|beginning)-position.
2655 (prolog-build-prolog-command): Tighten up regexp.
2656 (prolog-consult-compile): Move make-local-variable into `set'.
2657 (prolog-consult-compile-filter, prolog-goto-next-paren)
2658 (prolog-help-on-predicate, prolog-clause-info)
2659 (prolog-mark-predicate): Don't let+setq.
2660 (prolog-indent-line): Use indent-line-to.
2661 Only call prolog-goto-comment-column if necessary.
2662 (prolog-indent-level): Use bobp.
2663 (prolog-first-pos-on-line): Remove, not used any more.
2664 (prolog-in-string-or-comment): Use syntax-ppss if available.
2665 (prolog-help-on-predicate): Use read-string.
2666 (prolog-goto-predicate-info): Simplify.
2667 (prolog-read-predicate): Use `default' rather than `initial'.
2668 (prolog-temporary-file): Use make-temp-file to close a security hole.
2669 (prolog-toggle-sicstus-sd): New command.
2670 (prolog-electric-underscore, prolog-variables-to-anonymous):
2671 Use dynamic-scoping as it was meant.
2672 (prolog-menu): Move menu definitions to top-level.
2673 Use a toggle-button for Sicstus's source debugger.
2674 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2676 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2677 Move other menu definition to top-level.
2679 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2681 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2682 name. Keep original document's directory as default-directory
2684 (doc-view-initiate-display): Fall back to normal mode when
2685 doc-view-mode cannot be enabled, also when extracting the document
2686 text into a separate buffer (bug#6446).
2688 * simple.el (shell-command): Don't error out if shell command
2689 buffer contains text with non-nil read-only property when erasing
2692 2011-01-13 Kim F. Storm <storm@cua.dk>
2694 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2695 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2696 items when cycling through the matches.
2698 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2700 * dired-x.el (dired-omit-verbose): New defcustom that allows
2701 disabling the omit messages.
2702 (dired-omit-expunge): Use it.
2704 2011-01-13 Christian Ohler <ohler@gnu.org>
2706 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2708 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2710 * font-lock.el (font-lock-verbose): Default to nil.
2712 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2714 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2715 (compose-mail): New arg RETURN-ACTION.
2716 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2718 * mail/sendmail.el (mail-return-action): New var.
2719 (mail-mode): Make it buffer-local.
2720 (mail-bury): Obey it. Move special Rmail window handling to
2722 (mail, mail-setup): New arg RETURN-ACTION.
2723 (sendmail-user-agent-compose): Move from simple.el.
2725 * mail/rmail.el (rmail-mail-return): New function.
2726 (rmail-start-mail): Pass it to compose-mail.
2728 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2730 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2731 menus. Add menu item for customize-themes.
2733 * cus-theme.el (customize-themes):
2734 * emacs-lisp/package.el (package--list-packages):
2735 Use switch-to-buffer.
2737 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2739 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2741 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * progmodes/prolog.el: Fix up coding convention and such.
2744 (prolog-indent-width): Use the same default as in
2745 previous prolog.el rather than tab-width which depends on which buffer
2746 is current when the file is loaded.
2747 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2749 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2750 (prolog-known-systems): Remove.
2751 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2752 Move initialization into declaration.
2753 (prolog-mode-map): Move initialization into declaration.
2754 Remove system-specific mode-map vars, since they referred to the same
2756 (prolog-mode-variables): Obey the user's preference w.r.t
2757 adaptive-fill-mode. Prefer symbol-value to `eval'.
2758 (prolog-mode-keybindings-edit): Add compatibility bindings.
2759 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2760 (mercury-mode-map): New var.
2761 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2762 (prolog-ensure-process, prolog-process-insert-string)
2763 (prolog-consult-compile): Use with-current-buffer.
2764 (prolog-guess-fill-prefix): Simplify data flow.
2765 (prolog-replace-in-string): New function to use instead of
2767 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2768 (prolog-uncomment-region): Use `uncomment-region' when available.
2769 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2770 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2771 of int-to-char and char-to-int.
2772 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2774 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2776 * progmodes/prolog.el: Replace by a whole new file.
2778 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2780 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2781 (declare-function, undefined, insert-for-yank)
2782 (replace-regexp-in-string): Follow checkdoc's recommendations.
2784 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2786 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2787 refreshing the diary buffer.
2789 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2791 * allout.el: Add 2011 to the file copyright.
2792 (allout-encrypt-string): Prevent encryption from adding an extra
2793 newline at the end of the topic body.
2794 (allout-version): Increment to 2.3.
2796 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2798 * net/dbus.el (dbus-unregister-service): Complete doc.
2799 Fix call of dbus-error signal.
2800 (dbus-register-property): Use `dont-register' keyword.
2802 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2804 * net/dbus.el (dbus-unregister-service): Translate returned
2805 integer into a symbol.
2806 (dbus-register-property): Use `dbus-register-service' to do the
2809 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2811 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2812 Suggested by Joakim Verona.
2814 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2816 * wid-edit.el (visibility): Replace :on-image and :off-image
2817 widget properties with :on-glyph and :off-glyph, for consistency
2818 with the `visibility' widget.
2819 (widget-toggle-value-create, widget-visibility-value-create):
2820 Merge into a single function `widget-toggle-value-create'.
2822 * cus-edit.el (custom-variable-value-create, custom-visibility)
2823 (custom-face-edit-value-create, custom-face-value-create):
2824 Replace :on-image and :off-image widget properties with :on-glyph and
2825 :off-glyph, for consistency with the `visibility' widget.
2827 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2829 * net/ldap.el (ldap-search-internal): Don't use eval.
2831 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2833 * subr.el (read-char-choice): Use read-key.
2835 * custom.el (custom-safe-themes): Rename from
2836 custom-safe-theme-files. Add :risky tag.
2837 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2838 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2840 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2842 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2843 from Search and add a label to Undo.
2845 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2846 inappropriate buttons and adding :vert-only tags.
2848 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2849 removal of Help tool-bar button. Remove Undo button for space.
2851 * info.el (info-tool-bar-map): Add :vert-only tags.
2853 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2855 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2856 image backend support. Either of them is fine.
2858 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2860 * subr.el (y-or-n-p): Doc fix.
2862 * custom.el (custom-safe-theme-files): New defcustom.
2863 (custom-theme-load-confirm): New function.
2864 (load-theme): Load theme using `load', confirming with
2865 custom-theme-load-confirm if necessary.
2867 * subr.el (read-char-choice): New function, factored out from
2868 dired-query and hack-local-variables-confirm.
2870 * dired-aux.el (dired-query):
2871 * files.el (hack-local-variables-confirm): Use it.
2873 * dired-aux.el (dired-compress-file):
2874 * files.el (abort-if-file-too-large, find-alternate-file)
2875 (set-visited-file-name, write-file, backup-buffer)
2876 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2877 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2878 Use new format string args for y-or-n-p and yes-or-no-p.
2880 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2882 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2883 [gcc-include]: Tighten file name match, add match for column
2885 [gnu]: Remove unused group.
2887 2011-01-08 Glenn Morris <rgm@gnu.org>
2889 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2891 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2893 2011-01-07 Sam Steingold <sds@gnu.org>
2895 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2896 the `explicit-shell-file-name' because that is the
2897 non-interactive shell.
2899 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2901 * subr.el (y-or-n-p): Accept format string args.
2903 2011-01-07 Glenn Morris <rgm@gnu.org>
2905 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2907 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2909 * allout.el (allout-back-to-current-heading): Ensure return to
2910 the visible containing topic, rather than a collapsed one.
2911 (allout-view-change-hook): Remove hook that was deprecated long ago.
2912 (allout-exposure-change-hook): Remove documentation remarks
2913 concerning removed allout-view-change-hook.
2914 (allout-flag-region): Remove invocation of and documentation
2915 remarks concerning allout-view-change-hook.
2917 2011-01-06 Glenn Morris <rgm@gnu.org>
2919 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2920 (vc-bzr-annotate-extract-revision-at-line):
2921 Handle authors with embedded spaces. (Bug#7792)
2923 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2925 * doc-view.el (doc-view-image-width): New variable.
2926 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2927 backend for PNG images, and do dynamic rescaling instead of
2928 reconverting the whole doc.
2930 2011-01-05 Glenn Morris <rgm@gnu.org>
2932 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2934 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2936 * allout.el: Reconcile with changes in line movement behavior for
2937 long text lines that cross more than a single physical window
2938 line, ie when truncate-lines is nil.
2939 (allout-next-visible-heading): Provide for change in line-move
2940 behavior on long lines when truncate-lines is nil. In that case,
2941 line-move can wind up on the same textual line when it moves to
2942 the next window line, and moving to the bullet position after the
2943 move yields zero advancement. Add logic to detect and compensate
2944 for the lack of progress.
2945 (allout-current-topic-collapsed-p): move-end-of-line respect for
2946 field boundaries is different when operating with body lines
2947 shorter than window width versus ones greater than window width,
2948 which can yield false negatives in this function. Avoid
2949 difference by applying move-end-of-line while field-text-motion is
2952 2011-01-04 Glenn Morris <rgm@gnu.org>
2954 * textmodes/rst.el (rst-compile-toolsets):
2955 Add pdf and s5 to option alist.
2957 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2959 * net/dbus.el (dbus-register-property): Add optional parameter
2960 dont-register-service. Updated docstring accordingly.
2962 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2964 * textmodes/rst.el (rst-compile-pdf-preview)
2965 (rst-compile-slides-preview): Remove extra line.
2967 2011-01-04 Glenn Morris <rgm@gnu.org>
2969 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2970 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2971 default to `prog' without a .py extension.
2972 (rst-compile-pdf-preview, rst-compile-slides-preview):
2973 Use program names from rst-compile-toolsets, rather than hard-coding.
2974 (rst-portable-mark-active-p): Fix presumed typo.
2976 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2978 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2979 libpng versions both before and after 1.4.0. (Bug#7716)
2981 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2983 * time.el (display-time-mode): Mention display-time-interval in
2984 the doc string. (Bug#7713)
2986 2011-01-02 Kenichi Handa <handa@m17n.org>
2988 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2989 condition-case and return an error message string if something
2991 (rmail-show-mime): Adjust for the above change. Insert the
2992 header by rmail-mime-insert-header.
2994 2011-01-02 Kenichi Handa <handa@m17n.org>
2996 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2997 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2998 (rmail-mime-mbox-buffer)
2999 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3000 (rmail-mime-entity): Argument changed. All codes handling an
3001 entity object are changed.
3002 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3004 (rmail-mime-entity-children, rmail-mime-entity-handler)
3005 (rmail-mime-entity-tagline): New functions.
3006 (rmail-mime-message-p): New function.
3007 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3008 (rmail-mime-entity-segment, rmail-mime-next-item)
3009 (rmail-mime-previous-item, rmail-mime-shown-mode)
3010 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3011 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3012 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3014 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3015 (rmail-mime-insert-decoded-text): New function.
3016 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3017 (rmail-mime-insert-image): Argument changed. Caller changed.
3018 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3019 (rmail-mime-set-bulk-data): New function.
3020 (rmail-mime-insert-bulk): Argument changed.
3021 (rmail-mime-multipart-handler): Return t.
3022 (rmail-mime-process-multipart): Argument changed.
3023 Handle "multipart/alternative" here.
3024 (rmail-mime-process): Argument changed.
3025 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3026 (rmail-mime-insert): Argument changed. Handle raw display mode.
3027 (rmail-mime): Argument changed. Handle toggling of raw display
3029 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3030 rmail-mime-view-buffer.
3031 (rmail-insert-mime-forwarded-message): Likewise.
3032 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3034 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3035 non-nil, handle the header in rmail-show-mime-function.
3037 2011-01-02 Leo <sdl.web@gmail.com>
3039 * help-fns.el (describe-variable): Fix previous change.
3041 2011-01-02 Juri Linkov <juri@jurta.org>
3043 * isearch.el (isearch-lazy-highlight-error): New variable.
3044 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3045 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3046 to the current value of `isearch-error' (Bug#7468).
3048 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3050 * help-fns.el (describe-variable): Don't emit trailing whitespace
3053 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3055 * textmodes/rst.el (rst-compile-pdf-preview)
3056 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3058 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3060 * emulation/edt-mapper.el: Override mapping of function keys so
3061 that the later call to read-key-sequence works.
3063 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3065 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3066 Unix EOLs. (Bug#7589)
3068 2011-01-02 Leo <sdl.web@gmail.com>
3070 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3071 if point is not behind eshell-last-output-end (Bug#7585).
3073 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3075 * files.el (file-local-variables-alist):
3076 Make permanent-local (bug#7767).
3078 2011-01-02 Glenn Morris <rgm@gnu.org>
3080 * version.el (emacs-copyright): Set short copyright year to 2011.
3082 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3084 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3085 an existing temp buffer. (Bug#7746)
3087 2011-01-02 Glenn Morris <rgm@gnu.org>
3089 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3090 multiple addresses. (Bug#7760)
3092 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3094 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3095 do-auto-fill if everything points back to allout-auto-fill.
3096 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3097 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3099 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3101 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3104 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3106 * doc-view.el (doc-view-set-doc-type): New function refactored
3108 (doc-view-fallback-mode): New function.
3109 (doc-view-mode): Use it.
3110 (doc-view-mode-maybe): New function that checks if doc-view-mode
3111 can be used and falls back to the next best mode otherwise.
3113 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3114 DVI, OpenDocument, and MS Office files.
3116 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3118 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3120 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3122 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3123 on a copy of auto-mode-alist, because that deletes with side
3126 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3128 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3129 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3130 fallback instead of hard coding fundamental mode.
3132 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3134 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3135 Office) files also for searching.
3137 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3139 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3140 Office) files. Not yet enabled via auto-mode-list.
3141 (doc-view-unoconv-program): New custom variable.
3142 (doc-view-mode-p): Handle new odf document type.
3143 (doc-view-odf->pdf): New conversion function.
3144 (doc-view-convert-current-doc): Call it for odf files.
3145 (doc-view-mode): Recognize newly supported file extensions.
3147 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3149 * net/tramp.el (tramp-default-method-alist)
3150 (tramp-default-user-alist)
3151 (tramp-local-host-regexp, tramp-prefix-domain-format)
3152 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3155 * net/tramp-gvfs.el:
3157 * net/tramp-imap.el:
3159 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3160 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3162 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3164 * saveplace.el (save-place-alist-to-file): Save list sorted and
3165 pretty-printed, so that it is mergeable by line-based text merging,
3166 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3168 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3170 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3171 (allout-mode): Argument "toggle" => "force".
3172 Refine the docstring.
3173 Remove special provisions for reactivation, besides the 'force'
3175 Consolidate layout provisions coce directly into the activation
3176 condition branch, now that we've removed those provisions.
3177 (allout-unload-function): Explicitly activate the mode before
3178 deactivating, if it's initially deactivated.
3179 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3180 warnings for version of function used only where
3181 set-buffer-multibyte is unavailable.
3183 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3185 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3186 are handled by the menu-bar entries. As before, don't use
3187 :visibile to avoid changing the tool-bar.
3189 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3191 * net/secrets.el (secrets-delete-alias): New defun.
3193 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3195 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3196 methods, otherwise ~/.ssh/config would be ignored.
3198 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * emacs-lisp/rx.el: Make it a superset of sregex.
3201 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3202 of args, add `regex' alias.
3203 (rx-info): Add arg to distinguish head and standalone forms.
3204 (rx-check, rx-form): Pass the corresponding arg.
3206 (rx-repeat): Make it work for any number of args.
3207 (rx-syntax): Make it accept syntax chars as is.
3208 * obsolete/sregex.el: Move from emacs-lisp/.
3209 * emacs-lisp/re-builder.el: Remove sregex support.
3210 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3212 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3214 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3215 PRIMARY first, then the clipboard. (Bug#7699)
3217 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3219 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3222 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3224 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3225 .emacs.elc (Bug#7530).
3227 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3228 image spec (Bug#7480).
3230 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3232 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3233 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3236 2010-12-20 Leo <sdl.web@gmail.com>
3238 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3239 always be performed (Bug#7680).
3241 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3243 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3244 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3247 * color.el: Move from gnus/.
3249 * vc/diff.el (diff-better-file-name): Function deleted.
3250 abbreviating file names causes problems with shell-quote-argument.
3251 (diff-no-select): Just use expand-file-name.
3253 * tool-bar.el (tool-bar--image-expression): New function.
3254 (tool-bar-local-item, tool-bar--image-exp): Use it.
3255 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3256 Use :enable instead of :visible to avoid changing the tool-bar
3257 configuration unnecessarily.
3259 * info.el (info-tool-bar-map): Add separators.
3261 2010-12-17 Ken Brown <kbrown@cornell.edu>
3263 * loadup.el: Use version numbers in Cygwin build.
3265 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3267 * ido.el (ido-file-internal): Ask for confirmation before
3268 overwriting an existing file (Bug#1238).
3270 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3272 * tool-bar.el (tool-bar-setup): Add separators.
3274 * menu-bar.el (featurep): Use menu-bar-separator.
3276 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3278 Migrate allout encryption provisions from pgg to epg.
3280 * allout.el (allout-toggle-current-subtree-encryption)
3281 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3282 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3283 for simpler universal argument interpretation.
3284 (allout-toggle-subtree-encryption): Adjust docstring to describe
3285 changed encryption provisions. Change fetch-pass to keymode-cue, for
3286 simpler universal argument interpretation. Remove provisions for
3287 handling key type and identity - they'll all be within
3288 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3289 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3290 for keypair recipients (universal argument > 1) and, in addition,
3291 associating the specified recipients with the outline (universal
3292 argument > 4) using a file local variable setting for
3293 'epa-file-encrypt-to'.
3294 Require epa, for recipients handling.
3295 Change how regexp filtering elements are named.
3296 Describe the problem with caching of incorrect symmetric-decryption
3298 Use the epa-passphrase-callback-function, in case the user is using
3300 Support saving of the selected keypair recipients when invoked with a
3302 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3304 Establish epg-context with armoring and default epg-protocol.
3305 Remove all passphrase cache, verification, and hinting code.
3306 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3307 No longer used, delete.
3308 (allout-mode): Adjust docstring to describe changed encryption
3309 provisions. Describe the problem with caching of incorrect
3310 symmetric-decryption keys.
3311 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3312 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3313 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3314 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3317 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3319 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3320 key selection prompt; make 'silent as default (Bug#7487).
3322 2010-12-16 Leo <sdl.web@gmail.com>
3324 * eshell/eshell.el (eshell-directory-name):
3325 Use locate-user-emacs-file (Bug#7578).
3327 2010-12-15 Glenn Morris <rgm@gnu.org>
3329 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3331 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3332 Scott Evans <gse@antisleep.com>
3334 * rect.el (rectange--default-line-number-format)
3335 (rectangle-number-line-callback): New functions.
3336 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3338 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3340 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3341 Delete unused variables.
3342 (move-to-column-force): Remove function obsolete since 21.2.
3344 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3346 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3347 (tramp-handle-insert-file-contents): Do not set permanent-local
3350 * net/tramp-cache.el (tramp-persistency-file-name):
3351 Use `locate-user-emacs-file' if fboundp.
3353 * net/tramp-sh.el (tramp-methods): Add "ksu".
3354 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3357 2010-12-14 Glenn Morris <rgm@gnu.org>
3359 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3360 (find-tag-marker-ring): Declare.
3361 (js-find-symbol): Require etags.
3363 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3365 (mail-alias-file): Don't autoload. Doc fix.
3366 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3367 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3368 Mark as obsolete, and risky.
3369 (mail-setup): Simplify.
3371 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3372 * mail/sendmail.el (build-mail-aliases): Update autoload.
3374 * dired.el (dired-trivial-filenames, dired-chown-program)
3375 (dired-auto-revert-buffer): Remove autoload cookies.
3376 * mail/sendmail.el (mail-recover-1): Require 'dired.
3378 * dired.el (dired-subdir-switches, dired-chown-program)
3379 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3380 Make into defcustoms.
3381 (dired-chown-program): Simplify initialization.
3383 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3385 2010-12-13 Romain Francoise <romain@orebokech.com>
3387 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3389 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3391 * net/netrc.el (netrc-point-at-eol): Remove the unused
3392 netrc-point-at-old and netrc-bound-and-true-p bindings.
3393 (netrc-parse): Cache the netrc contents.
3395 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3397 * subr.el (posn-col-row): Evaluate header-line-format in the
3398 context of the POSITION window's buffer.
3400 2010-12-13 Glenn Morris <rgm@gnu.org>
3402 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3403 (with-silent-modifications): Doc fixes.
3405 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3407 * net/tramp.el (tramp-action-password, tramp-process-actions):
3408 Revert previous from. Use `save-restriction'.
3410 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3412 * calendar/diary-lib.el (diary-list-sexp-entries):
3413 Handle case of no newline at end of file. (Bug#7536)
3415 2010-12-13 Glenn Morris <rgm@gnu.org>
3417 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3419 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3421 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3422 (tramp-process-actions): Do not widen.
3424 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3425 Protect buffer-modified value. (Bug#7557)
3427 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3429 * log-edit.el (log-edit-changelog-entries):
3430 Regexp quote filename. (Bug#7505)
3432 2010-12-13 Tom Breton <tehom@panix.com>
3434 * cus-edit.el (custom-save-all):
3435 Bind print-length and print-level to nil. (Bug#7581)
3437 2010-12-13 Glenn Morris <rgm@gnu.org>
3439 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3440 Run hooks to update menu contents. (Bug#7586)
3442 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3443 file names, for the sake of MS Windows. (Bug#7588)
3445 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3447 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3448 empty lines without a leading space.
3450 2010-12-13 Leo <sdl.web@gmail.com>
3452 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3453 while mapping over marks (Bug#6810).
3455 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3457 * image-dired.el (image-dired-db-file)
3458 (image-dired-temp-image-file, image-dired-gallery-dir)
3459 (image-dired-temp-rotate-image-file): Set default values relative
3460 to image-dired-dir (Bug#7518).
3462 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3464 * format.el (format-decode-run-method): Pass args FROM and TO, not
3465 point-min and point-max, to shell-command-on-region (Bug#7488).
3467 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3469 * frame.el (blink-cursor-mode): Make default t for ns.
3471 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3473 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3475 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3477 * comint.el (comint-dynamic-list-input-ring)
3478 (comint-dynamic-complete-filename)
3479 (comint-replace-by-expanded-filename)
3480 (comint-dynamic-simple-complete)
3481 (comint-dynamic-list-filename-completions)
3482 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3484 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3487 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3489 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3492 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3494 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3497 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3499 * files.el (file-relative-name): Handle UNC file names on
3500 DOS/Windows. (Bug#4674)
3502 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3504 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3505 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3506 (epg-context-set-passphrase-callback): Mention that the callback
3507 is not called when used with GnuPG 2.x.
3509 2010-12-13 Glenn Morris <rgm@gnu.org>
3511 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3512 Ensure ps-footer-font-size-internal is initialized.
3513 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3515 2010-12-13 Kenichi Handa <handa@m17n.org>
3517 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3518 within condition-case.
3519 (rmail-show-mime): Don't use condition-case.
3520 (rmail-search-mime-message): New function.
3521 (rmail-search-mime-message-function): Set to
3522 rmail-search-mime-message.
3524 2010-12-13 Leo <sdl.web@gmail.com>
3526 * ido.el (ido-common-initialization): New function. (bug#3274)
3528 (ido-completing-read): Call it.
3530 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3532 * bookmark.el (bookmark-name-from-full-record): Rename back to
3533 this original name from `bookmark-name-from-record' reverting part
3534 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3535 As Drew Adams pointed out, there was no reason to cause churn for
3536 third-party callers. (Bug#7609)
3538 2010-12-12 Alan Mackenzie <acm@muc.de>
3540 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3541 template arglist, check that the current language supports this.
3543 2010-12-11 Glenn Morris <rgm@gnu.org>
3545 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3546 state of the file matches. (Bug#7544)
3547 (vc-bzr-register, vc-bzr-checkin)
3548 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3549 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3551 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3553 2010-12-11 Karel Klíč <kklic@redhat.com>
3555 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3557 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3559 Derive from prog-mode, use derived-mode-p, and fix up various
3560 minor style issues in lisp/progmodes.
3562 * progmodes/vhdl-mode.el (vhdl-mode):
3563 * progmodes/verilog-mode.el (verilog-mode):
3564 * progmodes/vera-mode.el (vera-mode):
3565 * progmodes/sql.el (sql-mode):
3566 * progmodes/scheme.el (scheme-mode):
3567 * progmodes/perl-mode.el (perl-mode):
3568 * progmodes/octave-inf.el (inferior-octave-mode):
3569 * progmodes/autoconf.el (autoconf-mode):
3570 * progmodes/m4-mode.el (m4-mode):
3571 * progmodes/inf-lisp.el (inferior-lisp-mode):
3572 * progmodes/idlwave.el (idlwave-mode):
3573 * progmodes/icon.el (icon-mode):
3574 * progmodes/idlw-help.el (idlwave-help-mode):
3575 * progmodes/dcl-mode.el (dcl-mode):
3576 * progmodes/idlw-shell.el (idlwave-shell-mode):
3577 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3578 (ebrowse-member-mode, ebrowse-electric-position-mode):
3579 Use define-derived-mode.
3581 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3582 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3583 (xscheme-debugger-mode-p, xscheme-send-string-1):
3584 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3585 (tcl-load-file, tcl-restart-with-file):
3586 * progmodes/ps-mode.el (ps-run-running):
3587 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3588 * progmodes/js.el (js--get-all-known-symbols):
3589 * progmodes/inf-lisp.el (inferior-lisp-proc):
3590 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3591 (idlwave-template, idlwave-update-buffer-routine-info)
3592 (idlwave-update-current-buffer-info)
3593 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3594 (idlwave-scan-class-info, idlwave-fix-keywords)
3595 (idlwave-list-buffer-load-path-shadows):
3596 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3597 (idlwave-toolbar-remove):
3598 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3599 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3600 (idlwave-shell-menu-def):
3601 * progmodes/idlw-complete-structtag.el
3602 (idlwave-prepare-structure-tag-completion):
3603 * progmodes/gud.el (gud-set-buffer):
3604 * progmodes/f90.el (f90-backslash-not-special):
3605 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3607 * progmodes/xscheme.el (xscheme-start)
3608 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3609 * progmodes/which-func.el (which-function):
3610 * progmodes/vhdl-mode.el (vhdl-set-style):
3611 * progmodes/verilog-mode.el (verilog-set-compile-command)
3612 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3613 (verilog-set-define, verilog-auto-reeval-locals):
3614 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3615 * progmodes/simula.el (simula-mode):
3616 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3617 * progmodes/python.el (python-check, python-mode):
3618 * progmodes/prolog.el (prolog-mode-variables):
3619 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3620 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3621 * progmodes/delphi.el (delphi-mode):
3622 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3623 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3624 (c-font-lock-init): Move make-local-variable to their setq.
3626 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3627 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3629 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3630 (sh-set-shell): Don't set require-final-newline since it's already done
3632 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3633 since we never set it.
3634 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3635 Use read-string and standard prompt.
3636 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3637 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3638 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3639 (meta-common-mode-map): Rename from meta-mode-map.
3640 Remove C-m binding, which is a user preference, not mode specific.
3641 (meta-common-mode): New major mode; replace meta-common-initialization.
3642 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3643 around with font-lock.
3644 * progmodes/etags.el (select-tags-table-mode):
3645 Derive from special-mode.
3646 * progmodes/octave-mod.el (octave-mode):
3647 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3648 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3649 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3650 Let define-derived-mode do its job.
3651 * progmodes/cpp.el (cpp-edit-mode-map):
3652 Move initialization into declaration.
3653 (cpp-edit-mode): Use define-derived-mode.
3654 (cpp-edit-load): Use derived-mode-p.
3655 * progmodes/mixal-mode.el (mixal-mode):
3656 * progmodes/f90.el (f90-mode):
3657 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3658 require-final-newline since prog-mode does it already.
3659 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3660 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3661 * progmodes/antlr-mode.el: Require cc-mode upfront.
3662 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3664 (antlr-directory-dependencies, antlr-show-makefile-rules):
3666 (antlr-language-option): Don't assume point-min==1.
3667 (antlr-mode): Use define-derived-mode.
3668 * progmodes/ada-mode.el: Use derived-mode-p.
3669 (ada-mode): Use define-derived-mode.
3670 Use hack-local-variables-hook.
3672 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3674 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3675 (texinfo-mode): Don't disable adaptive-fill-mode.
3676 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3677 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3678 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3679 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3680 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3681 (texinfo-insert-@quotation, texinfo-insert-@samp)
3682 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3683 (texinfo-insert-@uref): Use define-skeleton.
3684 (texinfo-insert-@-with-arg): Delete.
3686 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3688 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3689 nil, do quote archive member names. (Bug#6144)
3691 2010-12-10 Glenn Morris <rgm@gnu.org>
3693 * files.el (diff-no-select): Declare.
3695 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3696 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3698 * comint.el (comint-input-ring-file-name): Doc fix.
3700 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3702 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3704 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3705 Use them instead of `nil' and `>', respectively.
3706 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3708 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3709 and menu-bar-positive-p instead of `nil' and `>', respectively.
3712 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3714 * whitespace.el (whitespace-newline-mode): Code fix.
3716 2010-12-09 Glenn Morris <rgm@gnu.org>
3718 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3719 Rename functions without commas, update callers.
3721 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3723 * whitespace.el (whitespace-cleanup-region):
3724 Clean up spaces before tabs. (Bug#7582)
3726 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3728 * bookmark.el: Adjust parameter names and doc strings to resolve
3729 confusion over whether "bookmark" meant a bookmark name or a
3730 bookmark record. Along the way, shorten one function's name for
3731 similar reasons. (Issue #7548)
3732 (bookmark-name-from-record): New name for
3733 `bookmark-name-from-full-record'. All callers changed.
3734 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3735 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3736 (bookmark-get-annotation, bookmark-set-annotation)
3737 (bookmark-get-filename, bookmark-set-filename)
3738 (bookmark-get-position, bookmark-set-position)
3739 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3740 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3741 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3742 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3743 Rename `bookmark' parameter to `bookmark-name-or-record', to
3744 clearly show its role, and shorten or adjust doc strings accordingly.
3745 (bookmark-set-name): Same, and pass the parameter directly to
3746 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3747 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3748 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3749 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3750 and in some cases shorten doc string accordingly.
3751 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3752 and `new-name', and adjust an internal variable to avoid confusion.
3753 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3754 parameter in doc string.
3756 2010-12-08 Glenn Morris <rgm@gnu.org>
3758 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3759 from gdb's history file. (Bug#7575)
3761 * mail/emacsbug.el (report-emacs-bug):
3762 Try to handle some other mail clients.
3764 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3766 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3767 Use string-prefix-p.
3768 (file-name-version-regexp): New var.
3769 (file-name-sans-versions):
3770 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3771 (jka-compr-get-compression-info): Use dolist.
3772 (jka-compr-compression-info-list): Don't bother specifying
3773 version/backup regexps.
3775 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3777 * simple.el (just-one-space): Make argument n default to 1 if
3780 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3782 * electric.el (electric-indent-post-self-insert-function):
3783 Delete trailing newlines even if we don't reindent.
3785 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * minibuffer.el (completion-at-point): Remove the `arg'.
3788 * bindings.el (complete-symbol): Move back from minibuffer.el.
3790 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3792 * simple.el (just-one-space): Delete newlines for negative arg.
3794 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3796 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3797 (ansi-color-filter-apply): Simplify.
3798 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3800 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3802 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3804 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3806 * dired.el (dired-use-ls-dired): Set default to a special
3807 "unspecified" value.
3808 (dired-insert-directory): When called the first time, check
3809 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3811 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3813 * replace.el: Add "collect" feature to occur.
3814 (occur-collect-regexp-history): New var.
3815 (occur-read-primary-args): Return a replace string for nlines,
3817 (occur): Extend the meaning of nlines.
3819 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3821 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3822 (which-func-update-1): Distinguish symbols from strings.
3823 (which-function): Stay within 80 columns.
3825 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3827 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3829 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3831 (comment-style): Use comment-styles's docs to describe values.
3833 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3835 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3836 and ns-show-prefs (Bug#7535).
3838 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3839 bindings (Bug#7535).
3841 2010-12-03 Glenn Morris <rgm@gnu.org>
3843 * nxml/nxml-mode.el: Require rng-nxml.
3844 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3845 Remove declarations.
3847 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3848 * nxml/rng-nxml.el, nxml/rng-valid.el:
3849 Remove leading `*' from defcustom docs.
3851 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3852 (normal-top-level-add-to-load-path, tty-handle-args):
3853 Convert comments to basic doc-strings.
3855 * net/browse-url.el (browse-url-url-at-point)
3856 (browse-url-default-browser): Remove autoload cookies.
3858 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3859 Remove more undefined cl functions.
3861 * vc/diff.el (diff-sentinel): Make new arguments optional.
3862 * ibuf-ext.el (diff-sentinel): Update declaration.
3864 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3866 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3867 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3868 (epg-context-set-passphrase-callback): Mention that the callback
3869 is not called when used with GnuPG 2.x.
3871 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3873 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3874 (tramp-file-name-port): Check also for `tramp-default-port'.
3875 (tramp-get-connection-name): New defun.
3876 (tramp-get-connection-process): Use it.
3877 (tramp-debug-message): Extend function exclude list.
3878 (tramp-drop-volume-letter): Fix doc string.
3880 * net/tramp-cmds.el: Remove solved todo item.
3883 * net/tramp-gvfs.el:
3885 * net/tramp-imap.el:
3886 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3887 and `tramp-default-user-alist', respectively.
3889 * net/tramp-gw.el (tramp-gw-open-connection):
3890 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3892 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3893 `tramp-file-name-port'.
3895 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3896 and "psftp". Exchange "%k" marker with options.
3897 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3898 Compute size of link target.
3899 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3900 `tramp-current-*' up due to gateway methods. Optimize computing of
3901 copy arguments. Use `tramp-get-connection-name' and
3902 `tramp-get-connection-buffer'. Improve debug messages.
3903 (tramp-compute-multi-hops): Remove port determination.
3904 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3906 * net/trampver.el: Update release number.
3908 2010-12-02 Glenn Morris <rgm@gnu.org>
3910 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3911 Avoid infinite loop over windows. (Bug#7492)
3913 * progmodes/flymake.el (flymake-check-file-limit):
3914 Allow nil to mean "no limit".
3915 (flymake-check-patch-master-file-buffer): Update for above change.
3916 Allow a .tex file-name extension to be optional.
3917 (flymake-master-tex-init): Also match \include statements.
3919 2010-11-30 Sam Steingold <sds@gnu.org>
3921 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3922 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3923 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3924 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3925 define-derived-mode').
3926 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3927 users who want to call `nxml-parent-document-set'.
3929 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3931 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3932 stand-alone lines, since that is handled by log-edit-match-to-eoh
3935 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3937 * dired.el (dired-get-filename): Replace backslashes with slashes
3938 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3939 * locate.el (locate-default-make-command-line): Don't consider
3940 drive letter and root directory part of
3941 `directory-listing-before-filename-regexp'. (Bug#7308)
3942 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3944 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3946 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3947 of :smie-open/close-alist.
3948 (smie-next-sexp): Make it accept a "start token" as argument.
3949 (smie-indent-keyword): Be careful not to misidentify tokens that span
3950 more than one line, as empty lines. Add argument `token'.
3952 2010-11-27 Kenichi Handa <handa@m17n.org>
3954 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3955 multipart subtypes, insert all as usual.
3957 * mail/rmail.el: Require rfc2047.
3959 2010-11-27 Kenichi Handa <handa@m17n.org>
3961 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3962 (rmail-mime-entity-disposition)
3963 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3964 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3965 (rmail-mime-save): Handle the case that the button's `data' is a
3967 (rmail-mime-insert-text): New function.
3968 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3969 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3970 (rmail-mime-insert-bulk): New function mostly copied from the old
3971 rmail-mime-bulk-handler.
3972 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3973 (rmail-mime-process-multipart): New function mostly copied from
3974 the old rmail-mime-multipart-handler.
3975 (rmail-mime-show): Just call rmail-mime-process.
3976 (rmail-mime-process): New function mostly copied from the old
3978 (rmail-mime-insert-multipart, rmail-mime-parse)
3979 (rmail-mime-insert, rmail-show-mime)
3980 (rmail-insert-mime-forwarded-message)
3981 (rmail-insert-mime-resent-message): New functions.
3982 (rmail-insert-mime-forwarded-message-function): Set to
3983 rmail-insert-mime-forwarded-message.
3984 (rmail-insert-mime-resent-message-function): Set to
3985 rmail-insert-mime-resent-message.
3987 * mail/rmailsum.el: Require rfc2047.
3988 (rmail-header-summary): Handle multiline Subject: field.
3989 (rmail-summary-line-decoder): Change the default to
3990 rfc2047-decode-string.
3992 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3993 (rmail-mime-feature): Change the default to `rmailmm'.
3994 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3995 (rmail-display-labels): Likewise.
3996 (rmail-show-message-1): Check rmail-enable-mime, and use
3997 rmail-show-mime-function for a MIME message. Decode the headers
3998 according to RFC2047.
4000 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4002 * progmodes/which-func.el (which-func-imenu-joiner-function):
4003 Return a string, as expected.
4004 (which-function-mode): Make sure we stop any previous timer before
4007 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4009 * net/tramp.el (tramp-default-method-alist)
4010 (tramp-default-user-alist, tramp-default-proxies-alist):
4011 Adapt custom options type. (Bug#7445)
4013 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4015 * progmodes/python.el: Add Ipython support (Bug#5390).
4016 (python-shell-prompt-alist)
4017 (python-shell-continuation-prompt-alist): New options.
4018 (python--set-prompt-regexp): New function.
4019 (inferior-python-mode, run-python, python-shell):
4020 Require ansi-color. Use python--set-prompt-regexp to set the comint
4021 prompt based on the Python interpreter.
4022 (python--prompt-regexp): New var.
4023 (python-check-comint-prompt)
4024 (python-comint-output-filter-function): Use it.
4025 (run-python): Use a pipe (Bug#5694).
4027 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4029 * progmodes/python.el (run-python): Doc fix.
4030 (python-keep-current-directory-in-path): New var (Bug#7454).
4032 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4034 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4035 Prompt user before actually printing.
4037 2010-11-27 Glenn Morris <rgm@gnu.org>
4039 * startup.el (package-enable-at-startup, package-initialize):
4040 Remove unnecessary declarations.
4042 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4044 * international/characters.el (glyphless-char-display-control):
4045 Exclude newline and TAB from the c0-control group.
4047 2010-11-27 Glenn Morris <rgm@gnu.org>
4049 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4050 (expand-mail-aliases): Remove unnecessary autoload.
4052 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4054 * shell.el (shell-dir-cookie-re): Move definition before use.
4056 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4057 Replace undefined CL functions.
4059 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4061 * simple.el (prog-mode): Set bidi-paragraph-direction to
4064 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4066 2010-11-26 Glenn Morris <rgm@gnu.org>
4068 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4069 diary-outlook-formats can be sensitive to calendar-date-style.
4070 (diary-outlook-formats): Simplify the default setting.
4071 (diary-from-outlook-internal): Pass subject and body as arguments.
4072 Use dolist rather than dotimes. Don't save the diary buffer.
4073 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4074 Pass subject and body as explicit arguments to the -internal function.
4076 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4078 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4079 parsing them. This makes mailto:...?subject=foo\nbar work.
4081 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4083 * vc/diff.el (diff): Fix last change.
4085 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4088 (pcase--dontcare-upats): New var.
4089 (pcase-let, pcase-let*): Generate better code.
4090 Accept the same bodies as `let'.
4091 (pcase-dolist): New macro.
4092 (pcase--trivial-upat-p): New helper function.
4093 (pcase--expand): Strip leading "(let nil" if any.
4095 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4097 * mail/mailclient.el (browse-url): Require.
4098 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4099 use the external browser function to send the mail (bug#7469).
4101 * net/browse-url.el (browse-url-browser-function): Revert the
4102 default back to the previous value, since the new value broke
4104 (browse-url-mailto-function): New variable for mailto: URLs.
4105 (browse-url): Use the new variable for mailto: URLs.
4107 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4109 * eshell/esh-cmd.el (eshell-parse-command):
4110 * eshell/esh-arg.el (eshell-parse-arguments):
4111 * eshell/em-script.el (eshell-source-file):
4112 Use with-silent-modifications.
4114 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4116 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4117 for a merge location.
4119 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4120 (vc-bzr-merge-branch): Always prompt.
4121 (vc-bzr-async-command): Use the full branch filename.
4123 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4125 * shell.el (shell): Use current-buffer by default if it's already
4126 a shell mode buffer and its process is dead.
4127 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4129 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4131 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4132 Mention that the keywords should be comma separated.
4134 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4136 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4137 Accept optional prefix arg meaning to prompt for a command.
4138 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4139 prefix arg meaning to prompt for a command.
4140 (vc-pull): Alias for vc-update.
4142 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4143 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4144 (vc-bzr-merge-branch): New functions, implementing merge-branch
4145 and pull operations.
4147 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * Makefile.in: Fix up last merge.
4151 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4152 (diff-sentinel): Get them as arguments instead.
4153 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4154 (diff-file-local-copy, diff-better-file-name): New funs.
4155 (diff-no-select): Rename from diff-into-buffer.
4156 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4157 Prefer closures to buffer-local variables.
4158 (diff): Adjust accordingly.
4159 (diff-buffer-with-file): Move from files.el.
4160 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4161 (diff-buffer-internal): Remove.
4162 (diff-buffer-buffer): Remove.
4163 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4164 the buffer name used, and so as not to mess up windows and frames.
4166 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4168 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4169 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4170 (diff-buffer-with-file): Use it.
4171 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4174 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4176 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4177 \ref's or \pageref's value as default instead of initial input.
4179 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4181 * files.el (backup-by-copying-when-mismatch): The default value is
4184 * startup.el (normal-top-level):
4185 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4186 `backup-by-copying-when-mismatch'.
4188 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4190 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4192 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4194 * progmodes/python.el (python-font-lock-keywords):
4195 Highlight top-level augmented assignments (Bug#6445).
4197 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4199 * term/ns-win.el (ns-right-control-modifier)
4200 (ns-right-command-modifier): Defvar them.
4202 * cus-start.el (all): Add ns-right-control-modifier and
4203 ns-right-command-modifier (Bug#7458).
4205 2010-11-20 Glenn Morris <rgm@gnu.org>
4207 * emacs-lisp/authors.el (authors-ignored-files)
4208 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4210 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4212 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4213 (report-emacs-bug-parse-query-results)
4214 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4215 keywords used for querying the bug database to show them in the
4216 existing bugs buffer.
4218 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4220 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4222 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4224 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4226 * international/characters.el (glyphless-char-display-control):
4227 Make it a defcustom, with update-glyphless-char-display as its
4229 (top level): Don't call update-glyphless-char-display.
4231 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4233 Sync with Tramp 2.2.0.
4235 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4236 `file-remote-p' (due to compatibility).
4238 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4239 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4241 * net/trampver.el: Update release number.
4243 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4245 * faces.el (glyphless-char): Define value for `pc'.
4247 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4249 Implemented a bug querying mechanism.
4250 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4251 (report-emacs-bug-create-existing-bugs-buffer)
4252 (report-emacs-bug-parse-query-results)
4253 (report-emacs-bug-query-existing-bugs): New functions.
4255 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4257 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4258 a \ref{} or \pageref{} macro, then use its value as initial input.
4260 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4262 * calc/calc-units.el (math-build-units-table-buffer):
4263 calc/README: Mention that the TeX specific units won't use the
4264 `tex' prefix in TeX mode.
4265 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4266 prefix for units in TeX mode.
4268 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4270 * simple.el (kill-new, kill-append, kill-region):
4271 * comint.el (comint-kill-region): Make the yank-handler argument
4274 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4276 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4277 that are both openers (resp. closers) and something else.
4278 (smie-grammar): Loosen definition of valid values.
4279 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4280 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4281 (smie-indent-after-keyword): Adjust users.
4282 (smie-indent-keyword): Don't indent empty lines.
4284 * vc-hg.el (vc-hg-program): New var.
4285 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4286 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4288 2010-11-18 Glenn Morris <rgm@gnu.org>
4290 * emacs-lisp/autoload.el (autoload-find-destination): The function
4291 coding-system-eol-type may return non-numeric values. (Bug#7414)
4293 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4295 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4297 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4299 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4301 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4303 * textmodes/picture.el (picture-mouse-set-point): Don't use
4304 posn-col-row; explicitly compute the motion based on the posn at
4305 the window-start (Bug#7390).
4307 2010-11-18 Glenn Morris <rgm@gnu.org>
4309 * novice.el (disabled-command-function):
4310 Fix 2009-11-15 change. (Bug#7384)
4312 2010-11-18 Glenn Morris <rgm@gnu.org>
4314 * calendar/calendar.el (diary-iso-date-forms): Make elements
4315 mutually exclusive. (Bug#7377)
4317 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4319 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4320 when filling the remaining "unconstrained" values.
4322 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4327 * files.el (safe-local-variable-p): Gracefully handle errors.
4329 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4330 Use smie-indent-virtual when indenting relative to an opener.
4331 (smie-rule-separator): Use smie-rule-parent.
4332 (smie-indent-keyword): Consult rules, even for openers at bol.
4333 (smie-indent-comment-close): Try to align closer's content.
4335 2010-11-18 Glenn Morris <rgm@gnu.org>
4337 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4339 2010-11-18 Glenn Morris <rgm@gnu.org>
4341 * printing.el (pr-menu-bind): Doc fix.
4343 * speedbar.el (speedbar-toggle-images): Doc fix.
4345 * progmodes/python.el (python-shell): Doc fix.
4347 * wid-edit.el (widget-field-use-before-change)
4348 (widget-use-overlay-change): Doc fixes.
4350 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4352 Minor cleanup to improve style.
4353 * textmodes/rst.el (rst-update-section): Use point-marker.
4354 (rst-get-decoration): Eliminate unneeded assignment.
4355 (rst-promote-region, rst-straighten-decorations)
4356 (rst-section-tree, rst-adjust): Use point-marker.
4357 (rst-toc-mode-mouse-goto): Avoid setq.
4358 (rst-shift-region-guts, rst-shift-region-left)
4359 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4360 (rst-convert-bullets-to-enumeration): Use copy-marker.
4362 * minibuffer.el (completion-fail-discreetly): New var.
4363 (completion--do-completion): Use it.
4365 * electric.el (electric-pair-pairs): New var.
4366 (electric-pair-post-self-insert-function): Use it.
4367 (electric-layout-post-self-insert-function): Don't insert a before
4368 newline unless it's actually needed.
4370 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * progmodes/python.el (run-python): Explain why we remove the current
4373 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4375 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4377 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4380 (octave-mode-map): Don't bind ;, SPC, and LF.
4381 (octave-auto-indent, octave-auto-newline): Remove.
4382 (electric-layout-rules): Declare.
4383 (octave-mode): Set electric-layout-rules.
4384 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4385 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4386 (octave-electric-space): Remove.
4388 * electric.el (electric-layout-mode): New minor mode.
4389 (electric--after-char-pos): New function.
4390 (electric-indent-post-self-insert-function): Use it.
4391 (electric-layout-rules): New var.
4392 (electric-layout-post-self-insert-function): New function.
4393 (electric-indent-mode): Make them interact better.
4395 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4397 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4398 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4399 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4401 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4403 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4404 Make sure to check inside the word (Bug#6761).
4406 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4408 * startup.el (command-line): If the cursorColor resource is set,
4409 change the cursor face-spec (Bug#7392).
4411 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4413 The main features of the following allout.el changes are:
4414 - implement user customization for the allout key bindings
4415 - add a customization control by which the user can inhibit use of
4416 a trailing Ctrl-H, so by default it's reserved for use with
4417 describe-prefix-bindings
4418 - adapt to new version of called-interactively-p, while
4419 maintaining backwards compatibility with old version
4420 - fix hotspot navigation so i works properly with meta-modified keys.
4422 * allout.el (allout-keybindings, allout-bind-keys)
4423 (allout-keybindings-binding, allout-prefixed-keybindings)
4424 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4425 (allout-keybindings-list, allout-mode-map-adjustments)
4426 (allout-setup-mode-map): Establish allout-mode keymaps as user
4427 customizable settings, and also establish a customizable setting which
4428 regulates whether or not a trailing control-h is reserved for use with
4429 describe-prefix-bindings - and inhibit it by default, so that control-h
4430 *is* reserved for describe-prefix-bindings unless the user changes it.
4432 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4433 and accurately between modified and unmodified events, and handle
4434 modified events more comprehensively.
4436 * allout.el (allout-substring-no-properties):
4437 Alias to use or provide version of `substring-no-properties'.
4438 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4440 * allout.el (allout-next-single-char-property-change):
4441 Alias to use or provide version of `next-single-char-property-change'.
4442 (allout-annotate-hidden, allout-hide-by-annotation):
4443 Use `allout-next-single-char-property-change'.
4445 * allout.el (allout-select-safe-coding-system):
4446 Alias to use or provide version of `select-safe-coding-system'.
4447 (allout-toggle-subtree-encryption):
4448 Use `allout-select-safe-coding-system'.
4450 * allout.el (allout-set-buffer-multibyte):
4451 Alias to use or provide version of `set-buffer-multibyte'.
4452 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4454 * allout.el (allout-called-interactively-p): Macro for using the
4455 different versions of called-interactively-p identically, depending on
4456 the subroutine's argument signature.
4457 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4458 Use `(interactive "p")' instead of `(called-interactively-p)'.
4460 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4461 (allout-previous-visible-heading, allout-forward-current-level)
4462 (allout-backward-current-level, allout-show-children):
4463 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4465 * allout.el (allout-before-change-handler):
4466 Exempt edits to the (overlaid) character after the allout outline
4467 bullet from edit confirmation prompt.
4469 * allout.el (allout-add-resumptions):
4470 Ensure that it respects correct buffer for keybindings.
4472 * allout.el (allout-beginning-of-line):
4473 Use `allout-previous-single-char-property-change' alias for the sake of
4474 diverse compatibility.
4476 * allout.el (allout-end-of-line):
4477 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4479 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4481 * frame.el (frame-notice-user-settings): Don't clobber other
4482 user-set parameters when calling face-set-after-frame-default in
4483 response to background-color parameter (Bug#7373).
4485 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4487 * international/characters.el (glyphless-char-display-control):
4488 Rename from glyphless-char-control; all users changed. Doc fix.
4489 Signal an error if display method is not one of the recognized
4492 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4494 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4495 (tramp-compat-line-end-position): Remove them.
4497 * net/tramp.el (tramp-parse-rhosts-group)
4498 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4499 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4500 (tramp-parse-netrc-group, tramp-parse-putty-group)
4501 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4502 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4503 (tramp-sh-handle-file-selinux-context)
4504 (tramp-sh-handle-file-name-all-completions)
4505 (tramp-sh-handle-insert-directory)
4506 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4507 (tramp-wait-for-output, tramp-send-command-and-read)
4508 * net/tramp-smb.el (tramp-smb-read-file-entry)
4509 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4511 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4513 (tramp-remote-coding-commands): Add an alternative using "base64
4514 -d -i". This is needed for older base64 versions from GNU
4515 coreutils. Reported by Klaus Reichl
4516 <Klaus.Reichl@thalesgroup.com>.
4518 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4520 * simple.el (count-words-region): New function.
4522 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4524 * shell.el (shell-dir-cookie-re): New custom variable.
4525 (shell-dir-cookie-watcher): New function.
4527 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4528 and compilation-mode (bug#7350).
4530 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4531 highlight when one of them is empty.
4533 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4535 (skeleton-newline): New function.
4536 (skeleton-internal-1): Use it.
4538 * simple.el (open-line): `newline' may strip trailing space.
4540 2010-11-12 Kevin Ryde <user42@zip.com.au>
4542 * international/mule-cmds.el (princ-list): Use mapc.
4544 2010-11-12 Glenn Morris <rgm@gnu.org>
4546 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4547 Use it to replace all instances of "*Compile-Log*".
4549 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4551 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4554 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * progmodes/modula2.el: Use SMIE and skeleton.
4557 (m2-mode-syntax-table): (*..*) can be nested.
4558 Add //...\n. Fix paren syntax.
4559 (m2-mode-map): Remove LF and TAB bindings.
4560 (m2-indent): Add safety property.
4561 (m2-smie-grammar): New var.
4562 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4563 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4564 (m2-mode): Use define-derived-mode.
4565 (m2-newline, m2-tab): Remove.
4566 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4567 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4568 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4569 (m2-import): Use define-skeleton.
4571 2010-11-11 Glenn Morris <rgm@gnu.org>
4573 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4575 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4576 (ls-lisp-verbosity): Add custom :set-after property.
4577 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4578 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4579 (ls-lisp-insert-directory): Update caller.
4580 (ls-lisp-set-options): New function.
4581 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4584 * play/landmark.el (lm-prompt-for-move):
4585 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4587 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4589 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4590 (idlwave-study-twins): Prefix dynamic local variable `name'.
4591 (idlwave-routine-twin-compare): Update for above change.
4593 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4594 Prefix dynamic local variables `name', `kwd', and `link'.
4595 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4596 * progmodes/idlw-complete-structtag.el
4597 (idlwave-complete-structure-tag-help):
4598 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4599 (idlwave-complete-sysvar-tag-help)
4600 (idlwave-complete-class-structure-tag-help):
4601 Update for above name changes.
4603 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4605 * net/browse-url.el (browse-url-browser-function): Change the
4606 default to use `browse-url-mail' on mailto: URLs.
4608 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4610 * emacs-lisp/package.el (package-read-all-archive-contents):
4611 Reset package-archive-contents to nil before re-reading.
4613 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4615 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4616 already found as misspellings by (flyspell-large-region), just
4617 do highlighting (bug#7322).
4619 2010-11-10 Glenn Morris <rgm@gnu.org>
4621 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4623 * emulation/edt.el (edt-with-position): New macro.
4624 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4625 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4626 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4628 * emulation/tpu-extras.el (tpu-with-position): New macro.
4629 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4631 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4633 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4634 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4635 (texinfo-master-menu, texinfo-insert-node-lines)
4636 (texinfo-multiple-files-update):
4637 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4638 Use line-beginning-position.
4640 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4641 No recent Emacs supports system-type `emx'.
4643 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4644 (ada-command-separator, ada-default-prj-properties)
4645 (ada-find-any-references): Update for above name change.
4647 * dirtrack.el (dirtrack-directory-function)
4648 (dirtrack-canonicalize-function):
4649 * filecache.el (file-cache-completion-ignore-case)
4650 (file-cache-case-fold-search, file-cache-ignore-case):
4651 * term.el (serial-port-is-file-p): Cosmetic change.
4653 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4654 Remove non-existent `windows-95' system-type.
4655 * dired.el (dired-chown-program): Remove non-existent `linux'
4658 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4659 (ping-program-options): Remove non-existent `linux' system-type.
4661 * startup.el (package-initialize): Update declaration.
4663 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4664 (ls-lisp-handle-switches): Use time-less-p.
4665 (ls-lisp-format-time): Use float-time.
4667 * textmodes/remember.el (remember-time-to-seconds): Remove.
4668 (remember-store-in-mailbox): Use float-time.
4670 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4672 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4673 never a real function.
4674 (with-no-warnings): Remove compat stub, now unused.
4675 (time-less-p): Doc fix.
4676 (time-to-number-of-days): Simplify.
4678 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4680 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4681 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4682 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4683 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4684 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4686 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4687 (eshell-shuffle-files, eshell-shorthand-tar-command)
4688 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4689 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4690 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4691 Prefix dynamic local variable `matches'.
4693 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4694 Prefix dynamic local variable `skeleton'.
4696 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4698 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4699 in mail buffer; make yank-action always a command that yanks original
4702 2010-11-09 Glenn Morris <rgm@gnu.org>
4704 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4706 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4708 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4709 completion field (bug#7211).
4711 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4712 Fix handling of backslash escapes.
4713 (python-quote-syntax): Adjust accordingly.
4715 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4717 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4718 (vc-mtn-workfile-branch): Adjust to new output format.
4720 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4722 * international/mule-cmds.el (princ-list): Mark as obsolete.
4724 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * emacs-lisp/smie.el: New package.
4728 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4730 * files.el (backup-by-copying-when-mismatch):
4731 Set `permanent-local' property.
4733 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4734 `permanent-local' property for `backup-by-copying-when-mismatch'.
4736 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4738 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4740 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4742 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4743 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4744 AUTOINOUT for SV style multidimensional arrays, bug294.
4745 Reported by Eric Mastromarchi.
4746 (verilog-preprocess): Use with-current-buffer and
4747 font-lock-fontify-buffer to cleanup style issues.
4749 2010-11-09 Glenn Morris <rgm@gnu.org>
4751 * locate.el (locate, locate-mode): Doc fixes.
4753 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4755 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4756 user for confirmation.
4757 (server-force-stop): Use it.
4758 (server-start): Use server-force-stop for kill-emacs-hook, to
4759 avoid user interaction while killing Emacs.
4761 2010-11-09 Glenn Morris <rgm@gnu.org>
4763 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4764 (meta-indent-line): Simplify.
4766 * vc/emerge.el (emerge-line-number-in-buf):
4767 * textmodes/ispell.el (ispell-region):
4768 * textmodes/fill.el (current-fill-column):
4769 * progmodes/xscheme.el (xscheme-send-current-line):
4770 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4771 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4772 * progmodes/sh-script.el (sh-handle-prev-do):
4773 * progmodes/meta-mode.el (meta-indent-line):
4774 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4776 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4777 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4778 * progmodes/fortran.el (fortran-looking-at-if-then):
4779 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4780 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4781 (cperl-find-pods-heres):
4782 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4783 * net/quickurl.el (quickurl-list-insert):
4784 * net/ldap.el (ldap-search-internal):
4785 * net/eudc.el (eudc-expand-inline):
4786 * mail/sendmail.el (sendmail-send-it):
4787 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4788 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4789 (viper-brac-function):
4790 * calc/calc-yank.el (calc-do-grab-region):
4791 * calc/calc-keypd.el (calc-keypad-press):
4792 * term.el (term-move-columns, term-insert-spaces):
4793 * speedbar.el (speedbar-highlight-one-tag-line):
4794 * simple.el (current-word):
4795 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4796 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4798 * hippie-exp.el (he-line-beg):
4799 * epa.el (epa--marked-keys):
4800 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4801 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4802 (dired-relist-entry):
4803 * buff-menu.el (Buffer-menu-buffer):
4804 * array.el (current-line):
4805 * allout.el (allout-resolve-xref)
4806 (allout-latex-verbatim-quote-curr-line):
4807 Replace yet more uses of end-of-line etc with line-end-position, etc.
4809 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4812 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4813 (checkdoc-syntax-table): Initialize in the declaration.
4814 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4815 the mode on unconditionally.
4817 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4818 (extent-end-position, extent-start-position): Remove setf method for
4819 non-existing functions (bug#7319).
4821 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4823 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4824 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4825 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4826 (smie-prec2->grammar): Rename from smie-prec2-levels.
4827 (smie-grammar): Rename from smie-op-levels.
4828 (smie-indent--hanging-p): Rename from smie-hanging-p.
4829 (smie-rule-hanging-p): New alias.
4830 (smie-indent--bolp): Rename from smie-bolp.
4831 (smie-indent--hanging-p): New alias.
4832 (smie--token): New dynamically bound variable.
4833 (smie-indent--parent): New function.
4834 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4835 (smie-rule-next-p): Rename from smie-next-p.
4836 (smie-rule-prev-p): Rename from smie-prev-p.
4837 (smie-rule-sibling-p, smie-rule-parent)
4838 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4839 (smie-rule-separator-outdent): New var.
4840 (smie-indent--rule): Merge with smie-indent--column.
4841 (smie-indent-forward-token, smie-indent-backward-token):
4842 Also recognize close parens.
4843 (smie-indent-keyword): Don't use smie-indent--column any more.
4844 (smie-indent-after-keyword): Ignore closers by default.
4845 (smie-indent-line): Use with-demoted-errors.
4846 * progmodes/octave-mod.el (octave-smie-grammar):
4847 Rename from octave-smie-op-levels.
4848 (octave-smie-rules): Adjust to new behavior.
4849 * progmodes/prolog.el (prolog-smie-grammar):
4850 Rename from prolog-smie-op-levels.
4852 2010-11-07 Glenn Morris <rgm@gnu.org>
4854 * eshell/esh-util.el (subst-char-in-string)
4855 (directory-files-and-attributes): These compatibility definitions are
4856 not needed on any version of Emacs since at least 21.4.
4858 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4859 (verilog-get-end-of-line): Remove.
4860 (verilog-within-string, verilog-re-search-forward-substr)
4861 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4862 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4863 Use point-at-bol, point-at-eol.
4864 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4866 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4867 (electric-pascal-terminate-line, pascal-set-auto-comments)
4868 (pascal-indent-paramlist, pascal-indent-declaration)
4869 (pascal-get-lineup-indent, pascal-func-completion)
4870 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4871 Use point-at-bol, point-at-eol.
4872 * progmodes/flymake.el (flymake-line-beginning-position)
4873 (flymake-line-end-position): Remove.
4874 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4875 * eshell/esh-util.el (line-end-position, line-beginning-position):
4876 Remove compat definitions.
4878 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4880 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4881 Use line-end-position.
4883 * emacs-lisp/chart.el (chart-zap-chars):
4884 * play/decipher.el (decipher-set-map):
4885 * progmodes/ada-mode.el (ada-get-current-indent)
4886 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4887 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4888 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4889 (ada-get-all-references):
4890 * progmodes/cperl-mode.el (cperl-electric-paren)
4891 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4892 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4893 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4894 (cperl-word-at-point-hard):
4895 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4896 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4897 (idlwave-shell-display-line):
4898 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4899 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4900 * progmodes/js.el (js--re-search-forward-inner)
4901 (js--re-search-backward-inner):
4902 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4903 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4904 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4905 * textmodes/flyspell.el (flyspell-process-localwords):
4906 * textmodes/ispell.el (ispell-buffer-local-parsing)
4907 (ispell-buffer-local-dict, ispell-buffer-local-words):
4908 Use point-at-bol and point-at-eol.
4910 * speedbar.el (speedbar-generic-item-info)
4911 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4912 (speedbar-add-indicator, speedbar-check-vc-this-line)
4913 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4914 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4915 Replace more uses of end-of-line etc with line-end-position.
4917 2010-11-06 Glenn Morris <rgm@gnu.org>
4919 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4920 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4921 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4922 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4923 (texinfo-multiple-files-update):
4924 * textmodes/table.el (table--probe-cell-left-up)
4925 (table--probe-cell-right-bottom):
4926 * textmodes/picture.el (picture-tab-search):
4927 * textmodes/page-ext.el (pages-copy-header-and-position)
4928 (pages-directory-for-addresses):
4929 * progmodes/vera-mode.el (vera-get-offset):
4930 * progmodes/simula.el (simula-calculate-indent):
4931 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4932 * progmodes/prolog.el (end-of-prolog-clause):
4933 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4934 * progmodes/icon.el (indent-icon-exp):
4935 * progmodes/etags.el (tag-re-match-p):
4936 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4937 * progmodes/ebnf2ps.el (ebnf-begin-file):
4938 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4939 (dcl-save-local-variable):
4940 * play/life.el (life-setup):
4941 * play/gametree.el (gametree-looking-at-ply):
4942 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4943 * mail/sendmail.el (mail-mode-auto-fill):
4944 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4945 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4946 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4947 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4948 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4949 * type-break.el (type-break-file-keystroke-count):
4950 * term.el (term-replace-by-expanded-history-before-point)
4951 (term-skip-prompt, term-extract-string):
4952 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4953 (speedbar-contract-line, speedbar-toggle-line-expansion)
4954 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4955 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4956 * sort.el (sort-skip-fields):
4957 * skeleton.el (skeleton-internal-list):
4958 * simple.el (line-move-finish, line-move-to-column):
4959 * shell.el (shell-forward-command):
4960 * misc.el (copy-from-above-command):
4961 * makesum.el (double-column):
4962 * ebuff-menu.el (electric-buffer-update-highlight):
4963 * dired.el (dired-move-to-end-of-filename):
4964 * dframe.el (dframe-popup-kludge):
4965 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4966 * arc-mode.el (archive-get-lineno):
4967 Use line-end-position and line-beginning-position.
4969 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4970 (idlwave-study-twins): Prefix dynamic local `class'.
4971 (idlwave-routine-twin-compare): Update for above name change.
4973 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4974 Use boundp tests to silence compiler. Update for changed name of
4975 bytecomp-filename variable.
4977 * emulation/viper-cmd.el (viper-read-string-with-history):
4978 Prefix dynamic local `initial'.
4979 (viper-minibuffer-standard-hook): Update for above name change.
4981 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4982 (elint-init-form): Update for above name change.
4984 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4985 local variables `cbeg' and `cend' a prefix.
4986 (mail-extr-voodoo): Update for above name change.
4988 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4989 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4990 (reftex-toc-promote-action): Doc fix.
4992 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4993 `prompt', `data' a prefix.
4994 (reftex-select-post-command-hook, reftex-select-callback)
4995 (reftex-select-mouse-accept, reftex-select-read-cite):
4996 Update for above name changes.
4998 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4999 `refstyle' to reftex-refstyle.
5000 (reftex-offer-label-menu): Update for above name change.
5001 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5002 `refstyle' name change.
5004 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5005 with with-current-buffer.
5006 (diff, template): Give dynamic local variables a prefix.
5007 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5008 (emerge-line-number-in-buf): Update for above name change.
5009 (emerge-combine-versions-internal): Rename local `template' to
5010 emerge-combine-template.
5011 (emerge-combine-versions-edit): Update for above name change.
5013 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5015 * textmodes/reftex-cite.el
5016 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5017 entries with whitespace after \bibitem.
5018 (reftex-create-bibtex-file): Match entries containing numbers and
5019 symbol constituents. Make sure that entries with whitespace at
5020 various places are found.
5022 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5024 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5026 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5028 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5030 2010-11-05 Glenn Morris <rgm@gnu.org>
5032 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5033 (woman2-roff-buffer): Give local variable `request' a prefix.
5034 (woman0-macro): Rename argument `request' in the same way.
5035 (woman-request): New name for `request' dynamic variable.
5036 (woman-unquote, woman-forward-arg): Update for above name change.
5037 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5038 (woman1-unquote): New name for `unquote' dynamic variable.
5039 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5040 (woman-translations): Rename from `translations'. No longer global.
5041 (woman2-tr, woman-translate): Update for above name change.
5042 (woman-translate): Check for bound variable.
5043 (woman2-roff-buffer): Give local variable `translations' a prefix.
5045 * play/doctor.el: Give all local variables a prefix. Update callers.
5046 (doc$, doctor-put-meaning): Use backquote.
5048 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5049 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5051 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5052 variables bytes, ptr, op a prefix.
5053 (disassemble-offset): Update for above change.
5055 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5057 * emacs-lisp/package.el (package-unpack): Remove no-op.
5058 (package--builtins, package--dir): Doc fix.
5059 (package-activate-1, package-activate, package-install)
5060 (package-compute-transaction): Fix error message.
5061 (package-delete): Use delete-directory. Omit system packages.
5062 (package-initialize): Set package-alist to nil first.
5063 (package-menu-mark-delete, package-menu-mark-install): Don't add
5064 symbols that are inconsistent with the package state.
5065 (package-menu-execute): Perform deletions and installations as
5066 single batch operations.
5068 2010-11-03 Glenn Morris <rgm@gnu.org>
5070 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5071 (props): Remove unnecessary declaration.
5073 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5074 set-process-query-on-exit-flag.
5076 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5077 (reftex-toc-do-promote): Remove unused local `mpos'.
5078 (reftex-toc-restore-region): Make `mpos' local to this function.
5080 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5082 * play/landmark.el (lm-losing-threshold): Correct spelling.
5083 (lm-human-plays): Use new name.
5085 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5086 (gomoku-human-plays): Use new name.
5088 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5089 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5090 (gomoku-score-trans-table, gomoku-winning-threshold)
5091 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5093 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5095 * emacs-lisp/package.el: Don't put built-in packages in
5096 package-alist, to avoid loading inefficiencies.
5097 (package-built-in-p): Make VERSION optional, and treat it as a
5098 minimum acceptable version.
5099 (package-activate): Search separately for built-in packages.
5100 Emit a warning if a dependency fails.
5101 (define-package): Handle most common case, where there is no
5102 obsolete package, first.
5103 (package-compute-transaction): Print required version in error.
5104 (package--initialized): New variable.
5105 (list-packages): Use it.
5106 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5107 built-in packages in packages-alist; keep it separate.
5108 Set package--initialized.
5109 (describe-package): Avoid activating packages as a side-effect.
5110 Search separately for built-in packages.
5111 (describe-package-1): Handle the case where an elpa package is
5112 simultaneously built-in and available/installed.
5113 (package-installed-p, package--generate-package-list):
5114 Search separately for built-in packages.
5115 (package-load-descriptor): Doc fix.
5117 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5119 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5120 Handle __DATA__ and __END__.
5122 2010-11-02 Noah Friedman <friedman@splode.com>
5124 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5125 nil, do not ask to recompile files that are not already compiled,
5126 and do not recompile them.
5128 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5130 * emacs-lisp/package.el (package-initialize): Ensure that
5131 obsoleted built-in packages are not in package-activated-list
5133 (describe-package-1): Make the "installed" status override
5136 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5138 * subr.el (version-separator, version-regexp-alist): Remove '*'
5140 (version-list-<=, version<=, version=): Doc fix.
5142 2010-11-01 Kenichi Handa <handa@m17n.org>
5144 * faces.el (glyphless-char): Inherit underline for tty.
5146 2010-11-01 Kenichi Handa <handa@m17n.org>
5148 Implement various display methods for glyphless characters.
5150 * international/characters.el (char-acronym-table): New variable.
5151 (glyphless-char-control): New variable.
5152 (update-glyphless-char-display): New function.
5154 * faces.el (glyphless-char): New face.
5156 2010-11-01 Glenn Morris <rgm@gnu.org>
5158 * calendar/holidays.el (general-holidays, oriental-holidays)
5159 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5160 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5161 the definitions of their targets.
5163 * emacs-lisp/smie.el (smie): New custom group.
5164 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5166 * faces.el (xw-defined-colors, x-setup-function-keys):
5167 * mouse-sel.el (x-select-text):
5168 * term/w32console.el (x-setup-function-keys): Update declarations.
5170 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5172 * textmodes/ispell.el (comment-add): Declare.
5174 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5177 * info.el (finder-keywords-hash, package-alist): Declare.
5179 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5181 * finder.el (finder-compile-keywords): Don't use intern-soft,
5182 since package names may not yet exist in the obarray.
5184 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5186 * vc/vc-arch.el (vc-arch-checkin):
5187 * vc/vc-cvs.el (vc-cvs-checkin):
5188 * vc/vc-mtn.el (vc-mtn-checkin):
5189 * vc/vc-rcs.el (vc-rcs-checkin):
5190 * vc/vc-sccs.el (vc-sccs-checkin):
5191 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5192 since 2010-04-21 commit by Stefan Monnier.
5194 2010-11-01 Glenn Morris <rgm@gnu.org>
5196 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5198 * startup.el (package-enable-at-startup, package-initialize):
5201 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5204 2010-10-31 Julien Danjou <julien@danjou.info>
5206 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5207 (byte-recompile-directory):
5208 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5209 Use `byte-recompile-file'.
5211 2010-10-31 Glenn Morris <rgm@gnu.org>
5213 * cus-start.el: Handle standard values via a keyword.
5214 Only set version property if specified.
5215 (cursor-in-non-selected-windows, menu-bar-mode)
5216 (tool-bar-mode, show-trailing-whitespace):
5217 Do not specify standard values.
5218 (transient-mark-mode, temporary-file-directory): Use :standard.
5220 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5222 * term/x-win.el (x-get-selection-value): New function that gets
5223 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5225 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5227 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5228 preserve owner and group when editing files. (Bug#7289)
5230 2010-10-31 Glenn Morris <rgm@gnu.org>
5232 * speedbar.el (speedbar-mode):
5233 * play/fortune.el (fortune-in-buffer, fortune):
5234 * play/gomoku.el (gomoku-mode):
5235 * play/landmark.el (lm-mode):
5236 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5237 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5239 * select.el (x-selection): Mark it as an obsolete alias.
5241 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5243 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5244 major-mode (bug#7284).
5246 2010-10-31 Glenn Morris <rgm@gnu.org>
5248 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5249 rather than just an unused variable that inherits from the real one.
5251 2010-10-31 Alan Mackenzie <acm@muc.de>
5253 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5254 This fixes bug #7185.
5256 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5258 * startup.el (command-line): Search for package directories, and
5259 don't load package.el if none are found.
5261 * emacs-lisp/package.el (describe-package, list-packages):
5262 Call package-initialize if it has not been called yet.
5264 2010-10-30 Alan Mackenzie <acm@muc.de>
5266 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5267 which fontifies the tail of an enum.
5268 (c-basic-matchers-after): Insert a call to the above new function.
5269 This fixes bug #7264.
5271 2010-10-30 Glenn Morris <rgm@gnu.org>
5273 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5274 tool-bar-mode, transient-mark-mode. (Bug#7306)
5275 Include the :set property in the dumped Emacs.
5277 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5279 SMIE: change indent rules format, improve smie-setup.
5280 * emacs-lisp/smie.el (smie-precs-precedence-table)
5281 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5282 Mark them pure so the tables gets built at compile time.
5283 (smie-bnf-precedence-table): Store the closer-alist in the table.
5284 (smie-prec2-levels): Preserve the closer-alist.
5285 (smie-blink-matching-open): Be more forgiving in case of indentation.
5286 (smie-hanging-p): Rename from smie-indent--hanging-p.
5287 (smie-bolp): Rename from smie-indent--bolp.
5288 (smie--parent, smie--after): New dynamic vars.
5289 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5290 (smie-indent-rules): Remove.
5291 (smie-indent--offset-rule): Remove fun.
5292 (smie-rules-function): New var.
5293 (smie-indent--rule): New fun.
5294 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5295 (smie-indent-exps): Use it.
5296 (smie-setup): Setup paren blinking; add keyword args for token
5297 functions; extract closer-alist from op-levels.
5298 (smie-indent-debug-log): Remove var.
5299 (smie-indent-debug): Remove fun.
5300 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5301 (prolog-smie-rules): New fun to replace it.
5302 (prolog-mode-variables): Simplify.
5303 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5304 it's setup automatically.
5305 (octave-smie-indent-rules): Remove.
5306 (octave-smie-rules): New fun to replace it.
5307 (octave-mode): Simplify.
5309 2010-10-29 Glenn Morris <rgm@gnu.org>
5311 * files.el (temporary-file-directory): Remove (already defined in C).
5312 * cus-start.el: Add temporary-file-directory.
5314 * abbrev.el (abbrev-mode):
5315 * composite.el (auto-composition-mode):
5316 * menu-bar.el (menu-bar-mode):
5317 * simple.el (transient-mark-mode):
5318 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5319 that they do not define the associated variables twice.
5320 * simple.el (transient-mark-mode): Remove defvar.
5321 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5322 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5323 Handle multiple groups, and also custom-delayed-init-variables.
5324 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5326 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5329 (pcase-if): Add one minor optimization.
5330 (pcase-split-equal): Rename from pcase-split-eq.
5331 (pcase-split-member): Rename from pcase-split-memq.
5332 (pcase-u1): Add strings to the member optimization.
5333 Add `guard' variant of predicates.
5334 (pcase-q1): Add string patterns.
5336 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5340 2010-10-28 Glenn Morris <rgm@gnu.org>
5342 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5343 Move menu-bar related settings to ../menu-bar.el.
5344 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5345 Move ns-specific settings here from term/ns-win.el.
5347 * simple.el (x-selection-owner-p): Remove unused declaration.
5349 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5351 * minibuffer.el (completion-cycling): New var (bug#7266).
5352 (minibuffer-complete, completion--do-completion):
5353 Use completion--flush-all-sorted-completions.
5354 (minibuffer-complete): Only cycle if completion-cycling is set.
5355 (completion--flush-all-sorted-completions): Unset completion-cycling.
5356 (minibuffer-force-complete): Set completion-cycling.
5357 (completion-all-sorted-completions): Move declaration before first use.
5359 2010-10-28 Leo <sdl.web@gmail.com>
5361 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5362 which changes the order of matches seen by users (bug#7231).
5364 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5366 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5367 Don't confuse -omega as "-o mega".
5369 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5372 (log-edit-author): New dynamic var.
5373 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5374 to return the author if different from committer.
5375 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5377 * play/landmark.el: Adjust commenting convention.
5378 (lm-nil-score): Rename from nil-score.
5379 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5380 (OOOOscore): Move into a let in lm-score-trans-table.
5381 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5383 * electric.el (electric-indent-chars): Autoload.
5384 * progmodes/octave-mod.el (octave-mode):
5385 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5386 (ruby-mode-abbrev-table): Merge initialization and declaration.
5388 2010-10-27 Glenn Morris <rgm@gnu.org>
5390 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5393 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5395 * term/ns-win.el: Restore require of cl when compiling.
5396 (menu-bar-final-items): Remove non-existent `windows' menu.
5397 (ns-handle-nxopen): Optionally handle the temp-case.
5398 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5399 (ns-insert-file, ns-find-file): Use `pop'.
5401 2010-10-26 Glenn Morris <rgm@gnu.org>
5403 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5405 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5407 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5409 * term/common-win.el (x-setup-function-keys): Remove most of the
5410 keymappings. Comment on the remaining ones.
5412 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5414 * server.el (server-port): New option. (Bug#854)
5415 (server-start): Use server-port.
5417 2010-10-26 Glenn Morris <rgm@gnu.org>
5419 * term/ns-win.el (ns-version-string): Remove unused declaration.
5420 (ns-invocation-args): Change to x-invocation-args.
5421 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5422 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5423 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5424 Use x-invocation-args instead of ns-invocation-args.
5425 (ns-initialize-window-system, handle-args-function-alist):
5426 Use x-handle-args instead of ns-handle-args.
5427 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5428 * startup.el (command-line-ns-option-alist): Replace
5429 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5430 ns-handle-iconic with the x- equivalents.
5432 * term/common-win.el (x-select-enable-clipboard):
5433 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5435 * term/ns-win.el: No need to require cl when compiling.
5436 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5437 (xw-defined-colors): Use the common-win definitions.
5438 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5439 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5440 * term/common-win.el (x-select-text, x-alternatives-map)
5441 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5442 * loadup.el [ns]: Load common-win.
5444 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5446 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5447 recipients; expand mail aliases (Bug#7280).
5449 2010-10-25 Glenn Morris <rgm@gnu.org>
5451 * term/common-win.el (x-handle-switch): Simplify with pop.
5452 Optionally handle numeric switches.
5453 (x-handle-numeric-switch): Just call x-handle-switch.
5454 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5455 (x-handle-name-switch, x-handle-display, x-handle-args):
5458 * term/ns-win.el: Do not require easymenu.
5459 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5460 <spell>: Move adjustments to menu-bar.el.
5461 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5462 <separator-undo, spell>: Move ns-win's adjustments here.
5463 * loadup.el [ns]: Do not load easymenu.
5465 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5467 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5470 * startup.el (fancy-startup-tail): Instead of using inline images,
5471 refer to image files from etc/.
5473 * wid-edit.el (checkbox): Likewise.
5474 (widget-image-find): Center image specs.
5476 2010-10-24 Glenn Morris <rgm@gnu.org>
5478 * term/ns-win.el (x-select-text): Doc fix.
5479 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5480 (x-select-text): Move to term/common-win.
5481 * term/w32-win.el (xw-defined-colors): Move to common-win.
5482 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5483 (x-setup-function-keys, x-select-text): Move to common-win.
5484 * term/common-win.el (x-select-text, x-alternatives-map)
5485 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5488 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5490 * net/mairix.el (mairix-searches-mode-map):
5491 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5493 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5495 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5496 auto-built for efficiency of execution and updating.
5497 (verilog-extended-complete-re): Support 'pure' fucntion & task
5498 declarations (these have no bodies).
5499 (verilog-beg-of-statement): General cleanup to enable support of
5500 'pure' fucntion & task declarations (these have no bodies).
5501 These efforts together fix Verilog bug210 from veripool; which was also
5502 noticed by Steve Pearlmutter.
5503 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5504 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5505 Support `elsif. Reported by Shankar Giri.
5506 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5507 attribute handling for lining up declarations and assignments.
5508 (verilog-beg-of-statement-1): Fix issue where continued declaration
5509 is indented differently if it is after a begin..end clock.
5510 (verilog-in-attribute-p, verilog-skip-backward-comments)
5511 (verilog-skip-forward-comment-p): Support proper treatment of
5512 attributes by indent code. Reported by Jeff Steele.
5513 (verilog-in-directive-p): Fix comment to correctly describe function.
5514 (verilog-backward-up-list, verilog-in-struct-region-p)
5515 (verilog-backward-token, verilog-in-struct-p)
5516 (verilog-in-coverage-p, verilog-do-indent)
5517 (verilog-pretty-declarations): Use verilog-backward-up-list as
5518 wrapper around backward-up-list inorder to properly skip comments.
5519 Reported by David Rogoff.
5520 (verilog-property-re, verilog-endcomment-reason-re)
5521 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5522 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5523 of if). Reported by Max Bjurling and
5524 (verilog-calc-1): Fix for clocking block in modport
5525 declaration. Reported by Brian Hunter.
5527 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5529 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5530 (verilog-gate-keywords, verilog-read-sub-decls)
5531 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5532 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5533 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5534 (verilog-read-decls): Fix spaces in V2K module parameters causing
5535 mis-identification as interfaces, bug287.
5536 (verilog-read-decls): Fix not treating "parameter string" as a
5537 parameter in AUTOINSTPARAM.
5538 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5539 treating `elsif similar to `endif inside AUTOSENSE.
5540 (verilog-do-indent): Implement correct automatic or static task or
5541 function end comment highlight. Reported by Steve Pearlmutter.
5542 (verilog-font-lock-keywords-2): Fix highlighting of single
5543 character pins, bug264. Reported by Michael Laajanen.
5544 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5545 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5546 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5547 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5548 (verilog-pretty-expr): Fix interactive arguments, bug272.
5549 Reported by Mark Johnson.
5550 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5551 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5552 bug269. Suggested by Gary Delp.
5553 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5554 (verilog-preprocessor, verilog-set-compile-command):
5555 Create verilog-preprocess and verilog-preprocessor to show
5556 preprocessed output.
5557 (verilog-get-beg-of-line, verilog-get-end-of-line)
5558 (verilog-modi-file-or-buffer, verilog-modi-name)
5559 (verilog-modi-point, verilog-within-string): Move defmacro's
5560 before first use to avoid warning. Reported by Steve Pearlmutter.
5561 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5562 (verilog-colorize-region, verilog-highlight-buffer)
5563 (verilog-highlight-includes, verilog-highlight-modules)
5564 (verilog-highlight-region, verilog-mode): Rename colorize to
5565 highlight to match other packages. Disable module highlighting,
5566 as received speed complaints, reenable for experimentation only
5567 using new verilog-highlight-modules.
5568 (verilog-read-decls): Fix regexp stack overflow in very large
5569 AUTO_TEMPLATEs, bug250.
5570 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5571 (verilog-scan): Create verilog-save-buffer-state to standardize
5572 making insignificant changes that shouldn't call hooks.
5573 (verilog-save-no-change-functions, verilog-save-scan-cache)
5574 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5575 Create verilog-save-no-change-functions to wrap verilog-scan
5576 preservation, and fix to work with nested preserved calls.
5577 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5578 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5579 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5580 (verilog-submit-bug-report): Update variable list to be complete.
5581 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5582 breaking on-the-fly font-locking.
5583 (verilog-colorize-buffer, verilog-colorize-include-files)
5584 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5585 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5586 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5587 AUTOINST cell instance name, middle mouse button now finds-file on
5588 it. Suggested by Brad Dobbie.
5589 (verilog-alw-get-temps, verilog-auto-reset)
5590 (verilog-auto-sense-sigs, verilog-read-always-signals)
5591 (verilog-read-always-signals-recurse): Fix loop indexes being
5592 AUTORESET. AUTORESET now assumes any variables in the
5593 initialization section of a for() should be ignored.
5594 Reported by Dan Dever.
5595 (verilog-error-font-lock-keywords)
5596 (verilog-error-regexp-emacs-alist)
5597 (verilog-error-regexp-xemacs-alist): Fix error detection of
5598 Cadence HAL, reported by David Asher. Repair drift between the
5599 three similar error variables.
5600 (verilog-modi-lookup, verilog-modi-lookup-cache)
5601 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5602 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5603 Fix slow verilog-auto expansion on very large files.
5604 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5605 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5606 "{1*2{...". Broke in last revision.
5607 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5608 submodule connections with replications "{#{a},#{b}}".
5610 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5612 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5613 Fix typo in docstring.
5615 2010-10-24 Kenichi Handa <handa@m17n.org>
5617 * face-remap.el (text-scale-adjust): Call read-event with a proper
5620 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5622 * emacs-lisp/unsafep.el: Don't mark functions that display
5623 messages as safe. Suggested by Johan Bockgård.
5625 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5627 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5628 Turn comments into docstrings.
5630 * minibuffer.el (completion--replace): Move point where it belongs
5631 when there's a common suffix (bug#7215).
5633 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5635 Merge read-color and facemenu-read-color (Bug#7242).
5637 * faces.el (read-color): Use the completion code from
5638 facemenu-read-color. Require match in completion. Doc fix.
5640 * facemenu.el (facemenu-read-color): Alias for read-color.
5641 (facemenu-set-foreground, facemenu-set-background):
5644 * frame.el (set-background-color, set-foreground-color)
5645 (set-cursor-color, set-mouse-color, set-border-color):
5648 2010-10-24 Leo <sdl.web@gmail.com>
5650 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5651 argument of delete-file and delete-directory (Bug#7011).
5653 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5655 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5658 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5660 * emacs-lisp/package.el (package--generate-package-list): Make the
5661 *Packages* buffer read-only.
5663 2010-10-24 Alan Mackenzie <acm@muc.de>
5665 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5666 result of `c-beginning-of-decl-1' between invocations of a lambda
5667 function (Bug #7265).
5669 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5671 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5672 executable is not available on the system (Bug#7268).
5674 2010-10-24 Glenn Morris <rgm@gnu.org>
5676 * select.el (selection-coding-system, next-selection-coding-system):
5677 Sync doc with C versions.
5679 * w32-vars.el (x-select-enable-clipboard):
5680 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5681 * term/common-win.el (x-select-enable-clipboard): Move here.
5683 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5684 definition of C variable.
5686 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5687 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5688 Don't redefine things that are defined in C.
5689 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5690 (show-trailing-whitespace, auto-hscroll-mode)
5691 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5692 Set up the appropriate custom properties.
5694 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5697 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5698 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5699 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5700 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5702 2010-10-23 Glenn Morris <rgm@gnu.org>
5704 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5707 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5708 Sync docs with C version.
5710 * term/ns-win.el (xw-defined-colors):
5711 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5713 * term/pc-win.el (x-select-enable-clipboard):
5714 * term/x-win.el (x-select-enable-clipboard):
5715 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5717 * comint.el (comint-password-prompt-regexp): Make it less vague.
5720 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5722 * help.el (finder-by-keyword): Remove unnecessary autoload.
5724 2010-10-22 Glenn Morris <rgm@gnu.org>
5726 * loadup.el: Unconditionally load float-sup.
5727 * paren.el (show-paren-delay):
5728 * emacs-lisp/float-sup.el:
5729 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5730 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5731 (lazy-lock-stealth-verbose): Assume float support.
5732 * ps-print.el: Assume float support on Emacs.
5733 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5734 Remove non-float branch.
5736 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5737 src/Makefile no longer being pre-processed.
5739 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5741 * emacs-lisp/find-func.el (find-library): Use test-completion.
5743 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5747 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5749 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5750 space in stat format string.
5751 (tramp-send-command): Unset $PS1 when using here documents, in
5752 order not to get several prompts.
5753 (tramp-get-inline-coding): Return `nil' in case of errors.
5755 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5757 * hexl.el (hexl-mode, hexl-mode-exit):
5758 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5759 (hexl-revert-buffer-function): New function.
5760 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5762 2010-10-19 Alan Mackenzie <acm@muc.de>
5764 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5765 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5766 that these keywords aren't wrongly matched as identifiers.
5768 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5769 setting of c-new-BEG and c-new-END from c-before-change to
5770 c-after-change. (Bug#7181)
5772 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5774 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5777 * custom.el (custom-theme-set-variables): Likewise.
5778 (load-theme): Add custom-theme-set-faces and
5779 custom-theme-set-variables to safe-functions while loading.
5780 (custom-enabled-themes): Mark as risky.
5782 2010-10-18 Julien Danjou <julien@danjou.info>
5784 * bindings.el: Remove end dashes in default mode-line-format.
5786 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5788 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5789 to delete-forward-char.
5791 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5792 deletechar, and hence delete-forward-char.
5794 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * repeat.el (repeat): Use read-key (bug#6256).
5798 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5800 * emacs-lisp/unsafep.el: Don't mark functions that display
5801 messages as safe. Suggested by Johan Bockgård.
5803 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * minibuffer.el (completion--replace): Move point where it belongs
5806 when there's a common suffix (bug#7215).
5808 2010-10-19 Kenichi Handa <handa@m17n.org>
5810 * international/characters.el: Add category '|' (word breakable)
5811 to fullwidth characters.
5813 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5815 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5816 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5817 order to make stat results a float. Patch by Andreas Schwab
5818 <schwab@linux-m68k.org>.
5820 2010-10-18 Julien Danjou <julien@danjou.info>
5822 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5823 hidden by `make-pointer-invisible'.
5825 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5827 * files.el (locate-file-completion-table): Strip non-matching elements
5828 before checking length of list (bug#7238).
5830 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5832 * custom.el (custom-theme-set-variables): Mark as a safe function.
5833 (load-theme): Check forms using unsafep.
5835 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5837 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5839 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5840 Fix aspell data file searching (bug#7230).
5842 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5844 * cus-theme.el (custom-theme--migrate-settings): New var.
5845 (customize-create-theme): Allow editing the `user' theme.
5846 (custom-theme-add-variable, custom-theme-add-var-1)
5847 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5848 to the front of each variable or face widget.
5849 (custom-theme-write): Save theme settings in the correct order.
5850 Optionally, remove saved settings from user customizations.
5851 (custom-theme-write-variables, custom-theme-write-faces):
5852 Save only the checked widgets.
5853 (customize-themes): Add a link for migrating custom settings.
5855 * custom.el (custom-declare-theme, provide-theme):
5856 Use custom-theme-name-valid-p.
5857 (custom-theme-name-valid-p): Remove checks that are now
5858 unnecessary since themes no longer obey load-path.
5860 * cus-edit.el (custom-variable-value-create): For the simple
5861 style, hide documentation string when hidden.
5863 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5865 * cus-edit.el (custom-variable, custom-face): Combine the
5866 :inhibit-magic and :display-style properties into a single
5867 :custom-style property.
5868 (custom-toggle-hide-variable, custom-toggle-hide-face):
5869 New functions. If hiding an edited value, save it to :shown-value.
5870 (custom-variable-value-create, custom-face-value-create): Use them.
5871 (custom-magic-reset): Allow magic property to be unset.
5873 * custom.el: Custom themes no longer use load-path.
5874 (custom-theme-load-path): New option. Change built-in theme
5876 (custom-enabled-themes): Add custom-theme-load-path dependency.
5877 (custom-theme--load-path): New function.
5878 (load-theme, custom-available-themes): Use it.
5880 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5881 (customize-themes): Link to custom-theme-load-path variable.
5882 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5883 :custom-style property.
5885 * themes/*.el: Moved to etc/.
5887 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5889 * textmodes/reftex-cite.el
5890 (reftex-extract-bib-entries-from-thebibliography): Do not move
5891 point when searching for \bibitem entries. Match entries with
5892 spaces or tabs in front of arguments.
5894 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5896 * cus-theme.el (customize-create-theme): Delete overlays after
5897 erasing. If given a THEME arg, display only the faces of that arg
5898 instead of custom-theme--listed-faces.
5899 (custom-theme-variable-menu, custom-theme-variable-action)
5900 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5901 (custom-theme-add-variable, custom-theme-add-face): Apply value
5902 from the theme settings, instead of the current value.
5903 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5904 (custom-theme-visit-theme): Allow calling outside theme buffers.
5905 (custom-theme-merge-theme): Don't enable the theme when merging.
5906 (custom-theme-write-variables, custom-theme-write-faces): Use the
5907 :shown-value properties to save buffer values, not global ones.
5908 (customize-themes): Display a warning about user customizations.
5910 * cus-edit.el (custom-variable-value-create)
5911 (custom-face-value-create): Obey new special properties
5912 :shown-value and :inhibit-magic.
5914 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5916 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5917 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5920 2010-10-14 Kenichi Handa <handa@m17n.org>
5922 * mail/rmail.el (rmail-show-message-1): Catch an error of
5923 base64-decode-region and just show an error message (bug#7165).
5925 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5926 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5927 a font-spec (bug#7197).
5929 2010-10-14 Glenn Morris <rgm@gnu.org>
5931 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5933 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5935 * international/mule.el (define-coding-system):
5936 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5937 * composite.el (compose-region): Fix typo in docstring.
5939 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5941 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5942 only after checking the theme-face property.
5944 * faces.el (face-spec-reset-face): Reset all attributes in one
5945 single call to set-face-attribute.
5946 (face-spec-match-p): Make it a defsubst.
5947 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5948 (x-create-frame-with-faces, tty-create-frame-with-faces)
5949 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5950 frame-set-background-mode, since they are recomputed immediately
5951 afterwards in face-set-after-frame-default.
5952 (face-set-after-frame-default): Minor optimization.
5953 (cursor): Provide non-trivial defface spec.
5955 * custom.el (custom-theme-recalc-face): Simplify.
5957 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5959 * calc/calc-alg.el (math-var): Rename from `var'.
5960 (math-is-polynomial, math-is-poly-rec): Replace `var'
5963 * calc/calcalg2.el (math-var): Rename from `var'.
5964 (calcFunc-table, math-scan-for-limits): Replace `var'
5967 2010-10-13 Glenn Morris <rgm@gnu.org>
5969 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5971 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5973 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5975 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5977 * net/tls.el (tls-program): Remove spurious %s from openssl.
5978 (tls-starttls-switches): Remove starttls hack.
5979 (open-tls-stream): Ditto.
5980 (tls-find-starttls-argument): Ditto.
5982 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5984 * image.el (image-library-alist): Declare as obsolete alias.
5985 (image-type-available-p): Use `dynamic-library-alist'.
5987 * term/w32-win.el (dynamic-library-alist):
5988 Use instead of `image-library-alist'.
5990 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5992 * subr.el (last): Make it faster. (Bug#7174)
5994 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5996 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5998 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6000 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6001 (describe-theme-1): Extract doc from unloaded themes.
6003 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6005 * themes/tango-theme.el:
6006 * themes/tango-dark-theme.el:
6007 * themes/wheatgrass-theme.el: New files.
6009 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6011 * cus-theme.el (describe-theme, customize-themes)
6012 (custom-theme-save): New commands.
6013 (custom-new-theme-mode-map): Bind C-x C-s.
6014 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6015 (customize-create-theme): New optional arg THEME.
6016 (custom-theme-revert): Use it.
6017 (custom-theme-visit-theme): Remove dead code.
6018 (custom-theme-merge-theme): Use custom-available-themes.
6019 (custom-theme-write): Make interactive.
6020 (custom-theme-write): Use custom-theme-name-valid-p.
6021 (describe-theme-1, custom-theme-choose-revert)
6022 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6024 (custom-theme-allow-multiple-selections): New option.
6025 (custom-theme-choose-mode): New major mode.
6027 * custom.el (custom-theme-set-variables): Remove dead code.
6028 Obey custom--inhibit-theme-enable.
6029 (custom--inhibit-theme-enable): New var.
6030 (provide-theme): Obey it.
6031 (load-theme): Replace load with manual read/eval, in order to
6032 check for correctness. Use custom-theme-name-valid-p.
6033 (custom-theme-name-valid-p): New function.
6034 (custom-available-themes): Use it.
6036 * cus-edit.el (custom--initialize-widget-variables): New function.
6037 (Custom-mode): Use it.
6039 * cus-face.el (custom-theme-set-faces): Remove dead code.
6040 Obey custom--inhibit-theme-enable.
6042 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6044 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6046 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6048 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6050 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6051 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6052 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6054 * cus-start.el (all): ns-right-alternate-modifier is new.
6056 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * emacs-lisp/lisp.el (lisp-completion-at-point):
6059 Use emacs-lisp-mode-syntax-table for the whole function.
6061 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6063 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6064 instead of font-lock-mode before adding keywords.
6065 Remove hi-lock-mode off code. Remove inhibit hack.
6066 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6067 non-nil; removed hook inhibit hack.
6069 2010-10-12 Glenn Morris <rgm@gnu.org>
6071 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6072 (load-path-shadows-find): ... to this.
6073 (list-load-path-shadows): Update for above change.
6075 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6077 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6079 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6080 Fix comment for declare-function.
6082 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6084 * custom.el (custom-fix-face-spec): New function; code moved from
6085 custom-face-edit-fix-value.
6086 (custom-push-theme): Use it when checking if a face has been
6087 changed outside customize.
6088 (custom-available-themes): New function.
6089 (load-theme): Use it.
6091 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6093 * custom.el (custom-push-theme): Cleanup (use cond).
6094 (disable-theme): Recompute the saved-face property.
6095 (custom-theme-recalc-face): Follow face alias before setting prop.
6097 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6098 New variables, containing checkbox images.
6100 * startup.el (fancy-startup-tail):
6101 * wid-edit.el (checkbox): Use them.
6103 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6105 * shell.el (shell-mode-map):
6106 * progmodes/modula2.el (m2-mode-map):
6107 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6108 * play/mpuz.el (mpuz-mode-map):
6109 * play/landmark.el (lm-mode-map):
6110 * play/decipher.el (decipher-mode-map):
6111 * play/5x5.el (5x5-mode-map):
6112 * net/telnet.el (telnet-mode-map):
6113 * net/quickurl.el (quickurl-list-mode-map):
6114 * net/mairix.el (mairix-searches-mode-map):
6115 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6116 * net/dig.el (dig-mode-map):
6117 * mail/mspools.el (mspools-mode-map):
6118 * hexl.el (hexl-mode-map):
6119 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6120 (wordstar-C-o-map, wordstar-C-q-map):
6121 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6122 * emacs-lisp/chart.el (chart-map):
6123 * edmacro.el (edmacro-mode-map):
6124 * erc/erc-list.el (erc-list-menu-mode-map):
6125 * array.el (array-mode-map): Declare and define in one step.
6127 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6129 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6131 * epa.el (epa-passphrase-callback-function): Display filename
6132 passed as the 3rd arg.
6133 * epa-file.el (epa-file-passphrase-callback-function):
6134 Pass filename to epa-passphrase-callback-function.
6136 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6138 * cus-edit.el (custom-face-widget-to-spec)
6139 (custom-face-get-current-spec, custom-face-state): New functions.
6140 (custom-face-set, custom-face-mark-to-save)
6141 (custom-face-value-create, custom-face-state-set): Use them.
6143 * cus-theme.el (custom-theme--listed-faces): New var.
6144 (customize-create-theme): Use *Custom Theme* as the buffer name.
6145 Set revert-buffer-function. Optional arg BUFFER. Insert all
6146 faces listed in custom-theme--listed-faces.
6147 (custom-theme-revert): New function.
6148 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6150 (custom-theme-write): Prompt for theme name if empty.
6151 (custom-theme-write-variables): Use dolist.
6152 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6154 2010-10-09 Alan Mackenzie <acm@muc.de>
6156 Enhance fontification of declarators to take account of the
6157 presence/absence of "typedef".
6159 * cc-engine.el (c-forward-type): New &optional param
6161 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6162 presence of either or both of a "struct"-like keyword and "typedef".
6164 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6165 fontification of declarators which follow a "}".
6166 (c-font-lock-declarations): Fontify declarators according to the
6167 presence/absence of "typedef".
6169 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6171 (c-typedef-decl-key): New lang variable built from
6172 c-typedef-decl-kwds.
6174 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6176 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6177 since that's too annoying. Move the filter groups commands to
6180 * epa.el (epa-passphrase-callback-function): Say what we're
6181 querying the password for.
6183 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6184 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6186 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6188 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6189 (custom-magic-value-create): Pad button tags with spaces.
6190 (custom-face-edit): New variable.
6191 (custom-face-value-create): Determine whether to use the usual
6192 face editor here, instead of using custom-face-selected.
6193 Pass face defaults to custom-face-edit widget.
6194 (custom-face-selected, custom-display-unselected): Delete widgets.
6195 (custom-display-unselected-match): Function removed.
6196 (custom-face-set, custom-face-mark-to-save):
6197 Accept custom-face-edit widgets as the direct widget child.
6199 * wid-edit.el (widget--completing-widget): New var.
6200 (widget-default-complete): Bind it when doing completion.
6201 (widget-string-complete, widget-file-complete): Use it.
6203 2010-10-09 Glenn Morris <rgm@gnu.org>
6205 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6206 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6207 (holiday-hebrew-misc): Small simplifications.
6209 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6211 * net/browse-url.el: Don't require thingatpt, term, dired,
6212 executable, or w3-auto when compiling.
6213 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6215 (browse-url-text-emacs): Require term.
6217 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6219 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6221 2010-10-08 Glenn Morris <rgm@gnu.org>
6223 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6225 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6226 (shadows-compare-text-p): Make it an obsolete alias for...
6227 (load-path-shadows-compare-text): ... new name.
6228 (find-emacs-lisp-shadows): Update for above name change.
6229 (load-path-shadows-same-file-or-nonexistent): New name for the old
6230 shadow-same-file-or-nonexistent.
6232 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6234 * minibuffer.el (completion--some, completion--do-completion)
6235 (minibuffer-complete-and-exit, minibuffer-completion-help)
6236 (completion-basic-try-completion)
6237 (completion-basic-all-completions)
6238 (completion-pcm--find-all-completions): Use lexical-let to
6239 avoid some false matches in variable completion (Bug#7056)
6241 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6243 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6245 2010-10-08 Leo <sdl.web@gmail.com>
6247 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6248 return non-nil if the file exists (Bug#7090).
6250 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6252 * minibuffer.el (completion--replace):
6253 Better preserve markers (bug#7138).
6255 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6257 * server.el (server-process-filter): Doc fix.
6259 2010-10-08 Drew Adams <drew.adams@oracle.com>
6261 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6263 2010-10-08 Glenn Morris <rgm@gnu.org>
6265 * vc/ediff-wind.el (ediff-setup-control-frame):
6266 * vc/ediff-ptch.el (ediff-default-backup-extension):
6267 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6268 (ediff-exec-process): Remove system-types emx, windows-95.
6270 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6272 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6274 * cus-edit.el (custom-variable, custom-face): Doc fix.
6275 (custom-face-edit): Add value-create attribute.
6276 (custom-face-edit-value-create)
6277 (custom-face-edit-value-visibility-action): New functions.
6278 Hide unused face attributes by default, and add a visibility toggle.
6279 (custom-face-edit-deactivate): Show empty values with shadow face.
6280 (custom-face-selected): Only use this for face specs with default
6282 (custom-face-value-create): Cleanup.
6284 * wid-edit.el (widget-checklist-value-create): Use dolist.
6285 (widget-checklist-match-find): Make second arg optional.
6287 2010-10-07 Glenn Morris <rgm@gnu.org>
6289 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6292 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6293 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6294 load-path-shadows-mode, update references.
6295 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6296 Rename variable and button.
6297 (list-load-path-shadows): Update button caller.
6299 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6302 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6303 (smie-merge-prec2s): Handle those new entries.
6304 (smie-prec2-levels): Only set precedence to nil for actual
6306 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6307 that is now unnecessary.
6309 2010-10-07 Miles Bader <miles@gnu.org>
6311 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6313 2010-10-07 Glenn Morris <rgm@gnu.org>
6315 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6316 (mail-position-on-field): Remove declarations.
6317 (mail-position-on-field): Autoload it.
6318 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6319 and mail-header-end. Don't require sendmail.
6321 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6322 (shadow-mode): New mode.
6323 (shadow-find-file): New button.
6324 (list-load-path-shadows): Use shadow-mode and buttons.
6326 * iimage.el (iimage-version): Remove.
6327 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6328 Turn into defcustoms.
6329 (iimage-mode-map): Give it a doc string.
6331 * calendar/appt.el (appt-activate): Give a warning rather than an error
6332 if there is no diary-file.
6334 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6336 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6337 Use `tramp-handle-find-backup-file-name'.
6339 2010-10-06 Glenn Morris <rgm@gnu.org>
6341 * font-core.el (font-lock-defaults-alist): Remove variable.
6342 (font-lock-mode): Doc fix.
6343 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6344 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6345 (font-lock-set-defaults): Doc fix.
6346 Do not consult font-lock-defaults-alist.
6348 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6350 * emacs-lisp/cl.el: No longer provide cl-19.
6352 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6354 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6355 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6356 New defuns, taken from tramp-smb.el.
6357 (tramp-coding-system-change-eol-conversion)
6358 (tramp-set-process-query-on-exit-flag): Remove.
6360 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6361 (tramp-compat-coding-system-change-eol-conversion)
6362 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6365 * net/tramp-gvfs.el:
6366 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6367 by `tramp-compat-set-process-query-on-exit-flag'.
6369 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6370 Use `tramp-handle-directory-files-and-attributes',
6371 `tramp-handle-file-exists-p' and
6372 `tramp-handle-file-newer-than-file-p'.
6373 (tramp-imap-handle-file-exists-p)
6374 (tramp-imap-handle-file-executable-p)
6375 (tramp-imap-handle-file-readable-p)
6376 (tramp-imap-handle-directory-files-and-attributes)
6377 (tramp-imap-handle-file-newer-than-file-p): Remove.
6379 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6380 by `tramp-compat-set-process-query-on-exit-flag' and
6381 `tramp-coding-system-change-eol-conversion' by
6382 `tramp-compat-coding-system-change-eol-conversion'.
6384 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6385 Use `tramp-handle-directory-files-and-attributes',
6386 `tramp-handle-file-exists-p' and
6387 `tramp-handle-file-newer-than-file-p'.
6388 (tramp-smb-handle-directory-files-and-attributes)
6389 (tramp-smb-handle-file-exists-p)
6390 (tramp-smb-handle-file-newer-than-file-p): Remove.
6391 (tramp-smb-maybe-open-connection):
6392 Replace `tramp-set-process-query-on-exit-flag' by
6393 `tramp-compat-set-process-query-on-exit-flag'.
6395 2010-10-05 Glenn Morris <rgm@gnu.org>
6397 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6399 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6401 Continue reorganization of load dependencies. (Bug#7156)
6403 * net/tramp.el (tramp-handle-file-local-copy-hook)
6404 (tramp-delete-temp-file-function): Move down.
6405 (tramp-exists-file-name-handler): Move up.
6406 (tramp-register-file-name-handlers): Simplify autoload.
6407 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6408 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6409 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6410 (tramp-handle-file-name-completion)
6411 (tramp-handle-file-name-directory)
6412 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6413 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6414 (tramp-handle-find-backup-file-name)
6415 (tramp-handle-insert-file-contents, tramp-handle-load)
6416 (tramp-handle-substitute-in-file-name)
6417 (tramp-handle-unhandled-file-name-directory)
6418 (tramp-mode-string-to-int, tramp-local-host-p)
6419 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6421 * net/tramp-gvfs.el (top):
6422 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6424 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6425 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6427 2010-10-04 Glenn Morris <rgm@gnu.org>
6429 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6430 (appt-activate): Give status messages.
6432 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6434 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6435 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6436 `gnutls-negotiate' (formerly `starttls-negotiate').
6437 Remove trivial wrapper `starttls-open-stream'.
6439 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6441 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6442 log-outgoing commands.
6443 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6444 to create a buffer local revert-buffer-function variable.
6445 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6446 revert-buffer-function lambda.
6448 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6450 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6451 `gnutls-boot'. Make TYPE the only required parameter.
6452 Allow TRUSTFILES and KEYFILES to be lists.
6453 (open-ssl-stream): Use it.
6455 2010-10-03 Glenn Morris <rgm@gnu.org>
6457 * subr.el (directory-sep-char): Remove obsolete variable.
6458 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6461 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6462 * vc/vc.el (vc-static-header-alist): Doc fix.
6463 * vc/vc-cvs.el (vc-cvs-header):
6464 * vc/vc-rcs.el (vc-rcs-header):
6465 * vc/vc-sccs.el (vc-sccs-header):
6466 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6467 * obsolete/vc-mcvs.el (vc-mcvs-header):
6468 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6471 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6473 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6474 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6476 2010-10-03 Glenn Morris <rgm@gnu.org>
6478 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6480 * textmodes/rst.el (rst-font-lock-keywords-function):
6483 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6485 * printing.el: Drop Emacs 20 code.
6487 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6488 without having used appt.el already).
6490 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6491 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6492 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6494 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6495 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6497 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6498 (charset-width, find-charset-region, chars-in-region, forward-point)
6499 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6500 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6501 Remove compatibility cruft (none of these are used by ps*.el).
6503 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6505 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6507 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6509 * server.el (server-process-filter, server-return-error):
6510 Give emacsclient time to shut down after receiving an error string.
6512 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6514 * files.el (remote-file-name-inhibit-cache): New defcustom.
6516 * time.el (display-time-file-nonempty-p):
6517 Use `remote-file-name-inhibit-cache'.
6519 * net/tramp.el (tramp-completion-reread-directory-timeout):
6522 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6523 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6524 `remote-file-name-inhibit-cache'. Check also for an integer
6525 value. Add/increase counter when `tramp-verbose' >= 10.
6526 (tramp-set-file-property): Add/increase counter when
6527 `tramp-verbose' >= 10.
6529 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6530 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6531 (tramp-bug): Set tramp-autoload cookie. Report all interned
6532 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6533 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6534 characters only in strings.
6536 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6537 to backward compatibility.
6539 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6540 (tramp-handle-file-name-all-completions)
6541 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6542 (tramp-open-connection-setup-interactive-shell):
6543 Call `tramp-cleanup-connection' directly.
6545 2010-10-02 Glenn Morris <rgm@gnu.org>
6547 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6549 * subr.el (char-bytes): Remove obsolete function.
6551 * isearch.el (isearch-return-char): Remove obsolete function.
6553 * mouse.el: No longer provide mldrag.
6554 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6555 Remove obsolete aliases.
6557 * comint.el (comint-kill-output): Remove obsolete alias.
6559 * composite.el (decompose-composite-char): Remove obsolete function.
6560 * ps-def.el (decompose-composite-char): Remove unused function.
6562 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6564 * outline.el (outline-visible): Remove obsolete function.
6566 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6567 * faces.el (internal-find-face, internal-get-face)
6568 (frame-update-faces, frame-update-face-colors)
6569 (x-frob-font-weight, x-frob-font-slant)
6570 (internal-frob-font-weight, internal-frob-font-slant)
6571 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6572 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6573 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6575 * emulation/viper-util.el (viper-get-face):
6576 * obsolete/lucid.el (find-face, get-face): Use facep.
6577 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6578 Remove unused functions.
6579 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6581 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6582 delete tempfile if interrupted during compilation.
6584 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6586 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6588 (tls-program): Add --insecure to be consistent with the defaults from
6589 openssl s_client. Now all three commands are insecure.
6591 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6593 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6594 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6595 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6597 2010-10-01 Glenn Morris <rgm@gnu.org>
6599 * obsolete/sc.el: Remove file.
6601 * files.el (temporary-file-directory): On darwin, also try
6602 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6604 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6606 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6607 Let's not break compatibility gratuitously, shall we?
6609 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611 * net/tls.el (tls-starttls-switches): New variable.
6612 (tls-find-starttls-argument): Use it.
6613 (open-tls-stream): Ditto.
6615 * net/netrc.el (netrc-credentials): Return the value of the "default"
6617 (netrc-machine): Ditto.
6619 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6621 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6623 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6625 * server.el (server-start): Don't write pid to the authentication file.
6626 (server-create-tty-frame): Don't send pid.
6627 (server-process-filter): Send pid at the start of every connection.
6629 2010-09-30 Glenn Morris <rgm@gnu.org>
6631 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6632 (show-all-diary-entries): Remove obsolete function aliases.
6634 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6635 Remove options, obsolete since 22.1.
6636 (appt-display-format, appt-display-message):
6637 Remove backwards-compatibility code.
6638 (appt-check): No longer check appt-issue-message.
6639 (appt-make-list): No longer autoload it. Doc fix. No longer
6640 activate the package.
6642 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6644 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6645 (starttls-negotiate): Just call boot, and let the handshake be
6646 triggered from the read loop.
6648 2010-09-29 Glenn Morris <rgm@gnu.org>
6650 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6651 not displaying the diary.
6652 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6653 * calendar/appt.el (appt-check): No longer need to kill diary.
6655 * calendar/diary-lib.el (diary-list-entries): Move the
6656 "Preparing..." message entirely here.
6657 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6658 messages to diary-list-entries.
6659 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6660 diary-display-function.
6662 * calendar/diary-lib.el (diary-include-other-diary-files):
6663 Trap some recursive includes.
6665 * calendar/appt.el (appt-activate): Check diary file.
6667 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6669 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6672 * calendar/time-date.el: No need to require cl for Emacs 21.
6674 2010-09-28 Glenn Morris <rgm@gnu.org>
6676 * calendar/appt.el (appt-check): Minor simplification.
6678 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6680 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6683 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6685 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6686 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6688 2010-09-27 Kenichi Handa <handa@m17n.org>
6690 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6693 2010-09-27 Kenichi Handa <handa@m17n.org>
6695 * international/mule.el (define-coding-system): Docstring fixed.
6697 * international/mule-diag.el (describe-character-set): Use princ
6698 with proper print-length and print-level instead of insert.
6700 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6702 * window.el (walk-windows): Doc fix (bug#7105).
6704 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * emacs-lisp/float-sup.el (e): Remove.
6708 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6710 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6712 (starttls-negotiate): Use it.
6714 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6716 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6719 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6723 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6725 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6727 * net/netrc.el (netrc-store-data): New function.
6729 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6731 * net/gnutls.el: GnuTLS glue code to set up a connection.
6733 2010-09-25 Julien Danjou <julien@danjou.info>
6735 * notifications.el: Call dbus-register-signal only if it is bound.
6737 2010-09-25 Glenn Morris <rgm@gnu.org>
6739 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6740 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6741 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6742 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6743 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6744 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6745 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6746 * eshell/esh-util.el, eshell/esh-var.el:
6747 Remove leading `*' from docs of faces and defcustoms.
6749 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6751 * eshell/em-ls.el (eshell-ls-archive-regexp):
6752 * eshell/esh-util.el (eshell-tar-regexp):
6753 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6754 * info.el (Info-suffix-list):
6755 * international/mule.el (auto-coding-alist):
6756 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6757 * progmodes/etags.el (tags-compression-info-list):
6758 Support xz compression.
6760 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6762 * files.el (get-free-disk-space): Don't assume the "df" output
6763 columns line up (Bug#6995).
6765 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6767 * finder.el (finder-unknown-keywords):
6768 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6769 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6771 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6773 * server.el (server-start): Revert part of 2010-08-08 change. Using
6774 address 127.0.0.1 for local host is now done in Fmake_network_process.
6776 2010-09-24 Glenn Morris <rgm@gnu.org>
6778 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6779 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6780 * textmodes/css-mode.el, textmodes/dns-mode.el:
6781 Move autoloaded auto-mode-alist entries to files.el.
6782 * files.el (auto-mode-alist): Move entries here.
6784 2010-09-23 Glenn Morris <rgm@gnu.org>
6786 * isearch.el (isearch-lazy-highlight-cleanup)
6787 (isearch-lazy-highlight-initial-delay)
6788 (isearch-lazy-highlight-interval)
6789 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6790 * net/net-utils.el (ipconfig-program-options):
6791 Move aliases to options before the associated definitions.
6793 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6795 * newcomment.el (comment-normalize-vars): Better test validity of
6798 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6800 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6801 (float-e): New name for `e'.
6802 (degrees-to-radians, radians-to-degrees):
6803 * calendar/solar.el (solar-longitude):
6804 * calculator.el (calculator-registers, calculator-funcall):
6805 * textmodes/artist.el (artist-spray-random-points):
6806 * play/bubbles.el (bubbles--initialize-images): Use new names.
6808 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6810 Update to CEDET 1.0's version of EIEIO.
6812 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6814 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6815 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6816 (class-precedence-list): If class is nil, return nil.
6817 (eieio-generic-call): If class of first input arg is nil, don't
6818 look up static methods, and do check for primary methods.
6819 (initialize-instance): See if the default needs to be evaluated
6820 during the constructor.
6821 (eieio-perform-slot-validation-for-default): Don't do the check
6822 for values that will eventually be evaluated.
6823 (eieio-eval-default-p): New function.
6824 (eieio-default-eval-maybe): Use it.
6826 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6828 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6829 method-invocation-order.
6830 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6831 (eieio-class-precedence-dfs): Compute class precedence list using
6833 (eieio-class-precedence-bfs): Compute class precedence list using
6835 (eieio-class-precedence-c3): Compute class precedence list using
6837 (class-precedence-list): New function.
6838 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6839 (inconsistent-class-hierarchy): New error symbol.
6840 (call-next-method): Stow the replacement argument list for future
6841 call-next-method invocations.
6843 2010-09-23 Glenn Morris <rgm@gnu.org>
6845 * calendar/appt.el (appt-check): If not displaying the diary,
6846 use (diary 1) to only get the entries we need.
6847 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6848 that it is in day order. (Bug#7019)
6850 * calendar/appt.el (appt-check): Rather than showing the diary,
6851 just turn off invisible display, and only if needed.
6853 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6855 2010-09-23 Glenn Morris <rgm@gnu.org>
6857 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6858 (byte-compile-defvar, byte-compile-cl-warn):
6859 Start warnings with lower-case, like the majority.
6861 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6863 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6865 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6866 * files.el (auto-mode-alist): Move ld-script entries here, further down
6869 * vc/add-log.el: Don't require timezone when compiling.
6870 (timezone-make-date-sortable): Autoload it.
6871 (change-log-sortable-date-at): Don't require timezone.
6872 Use `ignore-errors'.
6874 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6875 Move alias before definition, so it does not need autoloading.
6877 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6878 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6879 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6880 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6881 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6882 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6883 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6884 * textmodes/tex-mode.el, textmodes/two-column.el:
6885 Remove leading `*' from docs of defcustoms etc.
6887 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6889 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6891 2010-09-22 Dan Christensen <jdc@uwo.ca>
6893 * calendar/time-date.el (date-to-time): Try using parse-time-string
6894 first before using the slower timezone-make-date-arpa-standard.
6896 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6898 * calendar/time-date.el (format-seconds): Comment fix.
6900 2010-09-22 Glenn Morris <rgm@gnu.org>
6902 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6903 is not automatically buffer-local.
6905 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6907 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6908 (smie-indent-comment): Be more careful with comment-start-skip.
6909 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6910 (smie-indent-functions): Use them.
6912 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6914 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6916 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6918 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6919 tool-bar-position. Don't modify frame parameters here.
6920 (menu-bar-options-save): Add tool-bar-position.
6922 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6924 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6926 * textmodes/reftex-parse.el (reftex-what-macro)
6927 (reftex-context-substring): Let-bind forward-sexp-function to nil
6928 since we don't need/want to treat \begin...\end as a block (bug#7053).
6930 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6932 * simple.el (blink-matching-open): Use syntax-class.
6934 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6935 Set invisibility spec for pascal's outline mode.
6936 (pascal-outline-change): Clean up calling convention.
6937 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6939 * progmodes/prolog.el (prolog-smie-forward-token)
6940 (prolog-smie-backward-token): New functions.
6941 (prolog-mode-variables): Use them to parse "!," correctly.
6942 Set up smie-blink-matching for ".".
6944 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6946 (ispell-region, ispell-process-line): Update users.
6948 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6951 * textmodes/ispell.el: Fix commenting convention.
6952 (ispell-parse-output): Simplify, use push.
6953 (ispell-region): Use match-string-no-properties.
6954 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6955 (ispell-minor-mode): Use define-minor-mode.
6956 (ispell-message): Remove unused var `skip-regexp'.
6957 (ispell-add-per-file-word-list): Use dynamic let-binding.
6958 Try and use the proper comment marker.
6960 * mail/sendmail.el: Fix commenting convention.
6961 (sendmail-send-it): Use line-beginning-position.
6963 * help-fns.el (describe-variable): Add original value, if applicable.
6965 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6967 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6969 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6971 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6973 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6974 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6975 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6976 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6977 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6978 something like "." can also be a closer.
6979 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6980 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6981 Rename internal functions to use "--". Update callers.
6983 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6985 * fringe.el (fringe-styles): New var.
6986 (fringe-mode, fringe-query-style): Use it.
6988 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6990 * progmodes/sql.el: Version 2.8
6991 (sql-login-params): Update widget structure; changes still needed.
6992 (sql-product-alist): Add :list-all and :list-table features for
6993 SQLite, Postgres and MySQL products.
6994 (sql-redirect): Handle default value.
6995 (sql-execute, sql-execute-feature): New functions.
6996 (sql-read-table-name): New function.
6997 (sql-list-all, sql-list-table): New functions. User API.
6998 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6999 for above functions.
7000 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7001 for above functions.
7002 (sql-postgres-login-params): Add user and database defaults.
7003 (sql-buffer-live-p): Bug fix.
7004 (sql-product-history): New variable.
7005 (sql-read-product): New function. Use it.
7006 (sql-set-product, sql-product-interactive): Use it.
7007 (sql-connection-history): New variable.
7008 (sql-read-connection): New function. Use it.
7009 (sql-connect): New function.
7010 (sql-for-each-login): Redesign function interface.
7011 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7012 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7013 (sql-comint): Check for program. Existing live buffer.
7014 (sql-comint-postgres): Add port parameter.
7016 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7018 * emacs-lisp/warnings.el: Fix commenting convention.
7019 (display-warning): Use special mode and make the buffer read-only.
7021 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7023 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7024 empty string when it follows a repeated or optional pattern.
7026 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7028 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7029 (indent-region): Use indent-according-to-mode.
7031 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7033 * fringe.el (fringe-mode): Doc fix.
7035 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7037 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7038 refreshing the preview buffer.
7040 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7043 (latex-syntax-propertize-rules): New consts; replace
7044 tex-font-lock-syntactic-keywords.
7045 (tex-env-mark, latex-env-before-change): New functions.
7046 (latex-electric-env-pair-mode): New minor mode.
7047 (tex-font-lock-verb): Change arguments; do move point.
7048 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7049 representation as a form of comment.
7050 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7051 (doctex-syntax-propertize-rules): New const; replaces
7052 doctex-font-lock-syntactic-keywords.
7053 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7055 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7056 (fortran-make-syntax-propertize-function): New function; replaces
7057 fortran-font-lock-syntactic-keywords.
7058 (fortran-mode): Use it.
7059 (fortran-line-length): Use it. Improve interactive spec.
7061 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7062 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7063 when adding surrounding \(..\).
7065 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7067 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7069 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7070 Use with-current-buffer.
7072 * isearch.el (isearch-face): Rename from `isearch'.
7073 (isearch-highlight): Use new name.
7075 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7077 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7078 5, for `half' width fringes. (Bug#6933)
7080 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7082 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7083 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7085 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7087 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7089 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7090 in calculating new frame position. Add more space between new and
7091 parent on the left (Bug#7048).
7093 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7095 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7098 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7100 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7102 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7103 obsolete alias for x-selection-value.
7105 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7107 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7109 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7112 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7114 * net/tramp-compat.el (tramp-compat-with-temp-message)
7115 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7116 (tramp-compat-process-put): New defuns.
7118 * net/tramp.el (top):
7119 * net/tramp-gvfs.el (top):
7120 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7122 * net/tramp.el (tramp-progress-reporter-update):
7123 Use `tramp-compat-funcall'.
7125 * net/tramp.el (tramp-process-actions):
7126 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7127 * net/tramp-sh.el (tramp-handle-vc-registered)
7128 (tramp-get-remote-stat, tramp-get-remote-readlink):
7129 Use `tramp-compat-with-temp-message'.
7131 * net/tramp-sh.el (top): Require 'cl.
7132 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7133 (tramp-open-connection-setup-interactive-shell):
7134 Use `tramp-compat-process-put'.
7136 2010-09-15 Alan Mackenzie <acm@muc.de>
7138 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7140 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7142 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7144 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7145 `lexical' for warnings related to lexical scoping.
7146 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7147 global vars which don't have a prefix and could hence affect lexical
7148 scoping in unrelated files.
7150 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7152 * net/imap.el: Revert back to version
7153 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7156 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7158 * obsolete/old-whitespace.el (whitespace-unload-function):
7159 Explicitly pass `obarray' to `unintern' to avoid a warning.
7161 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7164 Add `when' argument. Update callers.
7166 * subr.el (unintern): Declare the obarray arg mandatory.
7168 2010-09-14 Glenn Morris <rgm@gnu.org>
7170 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7173 * calendar/diary-lib.el (diary-included-files): New variable.
7174 (diary-list-entries): Maybe initialize diary-included-files.
7175 (diary-include-other-diary-files): Append to diary-included-files.
7176 * calendar/appt.el (appt-update-list): Also check the members of
7177 diary-included-files. (Bug#6999)
7178 (appt-check): Doc fix.
7180 2010-09-14 David Reitter <david.reitter@gmail.com>
7182 * simple.el (line-move-visual): Do not truncate goal column to
7183 integer size. (Bug#7020)
7185 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7187 * repeat.el (repeat): Allow repeating when the last event is a click.
7188 Suggested by Drew Adams (bug#6256).
7190 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7192 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7193 Replace setting HGRCPATH to "" by some less invasive --config options.
7195 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7197 * font-lock.el (font-lock-beginning-of-syntax-function):
7200 2010-09-14 Glenn Morris <rgm@gnu.org>
7202 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7203 and tool-bar modes. (Bug#6211)
7204 (menu-bar-mode): Move setting of standard-value after the
7205 minor-mode definition, otherwise it seems to have no effect.
7207 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7209 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7210 Fix typo. (Bug#6976)
7212 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7214 * whitespace.el: Allow cleaning up blanks without blank
7215 visualization (Bug#6651). Adjust help window for
7216 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7217 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7218 (whitespace-style): Add new value 'face. Adjust docstring.
7219 (whitespace-space, whitespace-hspace, whitespace-tab):
7220 Adjust foreground property face.
7221 (whitespace-line-column): Adjust docstring and type declaration.
7222 (whitespace-style-value-list, whitespace-toggle-option-alist)
7223 (whitespace-help-text): Adjust const initialization.
7224 (whitespace-toggle-options, global-whitespace-toggle-options):
7226 (whitespace-display-window, whitespace-interactive-char)
7227 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7228 (whitespace-help-scroll): New fun.
7230 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7232 * calendar/time-date.el (format-seconds): Comment fix.
7234 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7236 * progmodes/sql.el: Version 2.7.
7237 (sql-buffer-live-p): Improve detection.
7238 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7239 (sql-set-sqli-buffer): Use it.
7240 (sql-product-interactive): Run `sql-set-sqli-hook'.
7241 (sql-rename-buffer): Code cleanup.
7242 (sql-redirect, sql-redirect-value): New functions. More to come.
7244 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7246 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.
7247 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7248 (TRAMP_SRC): New macro.
7249 ($(lisp)/net/tramp-loaddefs.el): New target.
7251 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7253 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7255 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7257 * net/tramp.el (top): Don't show loading message. Require just
7258 'tramp-compat, everything else is required there.
7259 Use `ignore-errors' where appropriate.
7260 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7261 (tramp-terminal-type, tramp-end-of-output)
7262 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7263 (tramp-completion-function-alist-ssh)
7264 (tramp-completion-function-alist-telnet)
7265 (tramp-completion-function-alist-su)
7266 (tramp-completion-function-alist-putty, tramp-remote-path)
7267 (tramp-remote-process-environment, tramp-sh-extra-args)
7268 (tramp-actions-before-shell, tramp-uudecode)
7269 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7270 (tramp-perl-file-attributes)
7271 (tramp-perl-directory-files-and-attributes)
7272 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7273 (tramp-perl-encode, tramp-perl-decode)
7274 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7275 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7276 (tramp-handle-make-symbolic-link, tramp-handle-load)
7277 (tramp-handle-file-name-as-directory)
7278 (tramp-handle-file-name-directory)
7279 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7280 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7281 (tramp-do-file-attributes-with-ls)
7282 (tramp-do-file-attributes-with-perl)
7283 (tramp-do-file-attributes-with-stat)
7284 (tramp-handle-set-visited-file-modtime)
7285 (tramp-handle-verify-visited-file-modtime)
7286 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7287 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7288 (tramp-handle-file-selinux-context)
7289 (tramp-handle-set-file-selinux-context)
7290 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7291 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7292 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7293 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7294 (tramp-handle-file-ownership-preserved-p)
7295 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7296 (tramp-handle-directory-files-and-attributes)
7297 (tramp-do-directory-files-and-attributes-with-perl)
7298 (tramp-do-directory-files-and-attributes-with-stat)
7299 (tramp-handle-file-name-all-completions)
7300 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7301 (tramp-handle-copy-file, tramp-handle-copy-directory)
7302 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7303 (tramp-do-copy-or-rename-file-via-buffer)
7304 (tramp-do-copy-or-rename-file-directly)
7305 (tramp-do-copy-or-rename-file-out-of-band)
7306 (tramp-handle-make-directory, tramp-handle-delete-directory)
7307 (tramp-handle-delete-file)
7308 (tramp-handle-dired-recursive-delete-directory)
7309 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7310 (tramp-handle-insert-directory)
7311 (tramp-handle-unhandled-file-name-directory)
7312 (tramp-handle-expand-file-name)
7313 (tramp-handle-substitute-in-file-name)
7314 (tramp-handle-executable-find, tramp-process-sentinel)
7315 (tramp-handle-start-file-process, tramp-handle-process-file)
7316 (tramp-handle-call-process-region, tramp-handle-shell-command)
7317 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7318 (tramp-handle-insert-file-contents)
7319 (tramp-handle-insert-file-contents-literally)
7320 (tramp-handle-find-backup-file-name)
7321 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7322 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7323 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7324 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7325 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7326 (tramp-find-file-exists-command, tramp-open-shell)
7327 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7328 (tramp-open-connection-setup-interactive-shell)
7329 (tramp-local-coding-commands, tramp-remote-coding-commands)
7330 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7331 (tramp-inline-compress-commands, tramp-find-inline-compress)
7332 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7333 (tramp-send-command, tramp-wait-for-output)
7334 (tramp-send-command-and-check, tramp-barf-unless-okay)
7335 (tramp-send-command-and-read, tramp-mode-string-to-int)
7336 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7337 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7338 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7339 (tramp-method-out-of-band-p, tramp-local-host-p)
7340 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7341 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7342 (tramp-get-test-command, tramp-get-test-nt-command)
7343 (tramp-get-file-exists-command, tramp-get-remote-ln)
7344 (tramp-get-remote-perl, tramp-get-remote-stat)
7345 (tramp-get-remote-readlink, tramp-get-remote-trash)
7346 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7347 (tramp-get-local-uid, tramp-get-local-gid)
7348 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7350 (tramp-methods, tramp-default-method-alist)
7351 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7352 Move initialization to tramp-sh.el.
7353 (tramp-temp-name-prefix): Make it a defconst.
7354 (tramp-dissect-file-name): Don't check anymore for multi-hop
7356 (tramp-debug-outline-regexp): Add a docstring.
7357 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7358 (tramp-get-debug-buffer): Use it.
7360 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7361 initialization forms.
7362 (tramp-set-connection-property): Don't protect `tramp-message'
7363 call, it isn't necessary any longer.
7364 (tramp-dump-connection-properties): Use `ignore-errors'.
7366 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7367 'password-cache and 'auth-source.
7369 * net/tramp-gvfs.el (top):
7370 * net/tramp-smb.el (top): Require 'tramp-sh.
7372 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7374 * net/tramp-sh.el: New file, derived from tramp.el.
7375 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7376 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7377 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7378 Use `ignore-errors' where appropriate.
7379 (tramp-sh-file-name-handler-alist): Rename from
7380 `tramp-file-name-handler-alist'.
7381 (tramp-send-command-and-check): Return t or nil. Remove all
7382 `zerop' checks, where called.
7383 (tramp-handle-set-file-modes)
7384 (tramp-do-copy-or-rename-file-directly)
7385 (tramp-handle-delete-directory, tramp-handle-delete-file)
7386 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7387 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7388 (tramp-get-remote-ln): Set tramp-autoload cookie.
7390 * net/tramp-fish.el: Remove file.
7392 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7394 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7395 buffer-file-name to avoid file-locking. (Bug#7026)
7397 2010-09-13 Julien Danjou <julien@danjou.info>
7399 * notifications.el (notifications-notify): Add support for
7400 image-path and sound-name.
7401 (notifications-specification-version): Add this variable.
7403 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7405 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7407 2010-09-12 Leo <sdl.web@gmail.com>
7409 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7410 (rcirc-completion-start): New variables.
7411 (rcirc-nick-completions): Rename to rcirc-completions.
7412 (rcirc-nick-completion-start-offset): Delete.
7413 (rcirc-completion-at-point): New function for constructing
7414 completion data for both nicks and irc commands. Add to
7415 completion-at-point-functions in rcirc mode.
7416 (rcirc-complete): Rename from rcirc-nick-complete; use
7417 rcirc-completion-at-point.
7418 (defun-rcirc-command): Update rcirc-client-commands.
7420 2010-09-11 Glenn Morris <rgm@gnu.org>
7422 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7423 atomically, to avoid parallel build errors. (Bug#4196)
7425 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7427 * progmodes/sql.el: Version 2.6
7428 (sql-dialect): Synonym for "sql-product".
7429 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7430 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7431 Set "sql-buffer" to buffer name not buffer object so multiple sql
7432 interactive buffers work properly. Reverts misguided changes in
7434 (sql-comint): Make sure different buffer name is used if "*SQL*"
7435 buffer is for a different product.
7436 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7438 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7439 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7440 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7441 Accept new buffer name or prompt for one.
7442 (sql-port): Default to zero.
7443 (sql-comint-mysql): Handle "sql-port" as a numeric.
7444 (sql-port-history): Delete unused variable.
7445 (sql-get-login): Default "sql-port" to a number.
7446 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7447 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7448 "sqlite3" executables.
7449 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7450 (sql-buffer-live-p): New function.
7451 (sql-mode-menu, sql-send-string): Use it.
7452 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7454 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7455 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7457 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7459 * net/netrc.el (netrc-credentials): New convenience function.
7461 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7464 to replace texinfo-font-lock-syntactic-keywords.
7465 (texinfo-mode): Use it.
7467 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7468 Use syntax-propertize-function.
7470 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7471 replace sgml-font-lock-syntactic-keywords.
7472 (sgml-mode): Use it.
7474 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7475 since we don't use it.
7477 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7479 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7481 (vhdl-fontify-buffer): Adjust.
7483 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7484 replace tcl-font-lock-syntactic-keywords.
7487 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7488 replace simula-font-lock-syntactic-keywords.
7489 (simula-mode): Use it.
7491 * progmodes/sh-script.el (sh-st-symbol): Remove.
7492 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7493 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7494 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7495 (sh-font-lock-paren): Set syntax-multiline.
7496 (sh-font-lock-syntactic-keywords): Remove.
7497 (sh-syntax-propertize-function): New function to replace it.
7500 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7501 Define while compiling.
7502 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7503 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7504 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7505 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7506 (ruby-here-doc-end-syntax): Only define when
7507 syntax-propertize is not available.
7508 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7510 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7511 (electric-indent-chars): Silence bytecompiler.
7512 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7513 electric-indent-chars.
7515 * progmodes/python.el (python-syntax-propertize-function): New var to
7516 replace python-font-lock-syntactic-keywords.
7517 (python-mode): Use it.
7518 (python-quote-syntax): Simplify and adjust to new use.
7520 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7521 replace perl-font-lock-syntactic-keywords.
7522 (perl-syntax-propertize-special-constructs): New fun to replace
7523 perl-font-lock-special-syntactic-constructs.
7524 (perl-font-lock-syntactic-face-function): New fun.
7525 (perl-mode): Use it.
7527 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7528 to replace octave-font-lock-close-quotes.
7529 (octave-syntax-propertize-function): New function to replace
7530 octave-font-lock-syntactic-keywords.
7531 (octave-mode): Use it.
7533 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7534 replaces mixal-font-lock-syntactic-keywords.
7535 (mixal-mode): Use it.
7537 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7538 New var; replaces makefile-font-lock-syntactic-keywords.
7539 (makefile-mode): Use it.
7540 (makefile-imake-mode): Adjust.
7542 * progmodes/js.el (js--regexp-literal): Define while compiling.
7543 (js-syntax-propertize-function): New var; replaces
7544 js-font-lock-syntactic-keywords.
7547 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7548 replaces gdb-script-font-lock-syntactic-keywords.
7549 (gdb-script-mode): Use it.
7551 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7552 (fortran--font-lock-syntactic-keywords): New var.
7553 (fortran-line-length): Update syntax-propertize-function and
7554 fortran--font-lock-syntactic-keywords.
7556 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7558 * progmodes/cfengine.el (cfengine-mode):
7559 Use syntax-propertize-function.
7560 (cfengine-font-lock-syntactic-keywords): Remove.
7562 * progmodes/autoconf.el (autoconf-mode):
7563 Use syntax-propertize-function.
7564 (autoconf-font-lock-syntactic-keywords): Remove.
7566 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7567 (ada-after-change-function, ada-initialize-syntax-table-properties)
7568 (ada-handle-syntax-table-properties): Only define when
7569 syntax-propertize is not available.
7570 (ada-mode): Use syntax-propertize-function.
7572 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7573 (font-lock-fontify-syntactic-keywords-region): Move handling of
7574 font-lock-syntactically-fontified to...
7575 (font-lock-default-fontify-region): ...here.
7576 Let syntax-propertize-function take precedence.
7577 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7579 * emacs-lisp/syntax.el (syntax-propertize-function)
7580 (syntax-propertize-chunk-size, syntax-propertize--done)
7581 (syntax-propertize-extend-region-functions): New vars.
7582 (syntax-propertize-wholelines, syntax-propertize-multiline)
7583 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7584 (syntax-propertize): New functions.
7585 (syntax-propertize-rules): New macro.
7586 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7587 (syntax-ppss): Call syntax-propertize.
7589 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7591 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7593 * textmodes/ispell.el (ispell-init-process): Improve comments.
7594 XEmacs compatibility changes regarding (add-hook) 'local option
7595 and (set-process-query-on-exit-flag).
7597 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7599 * net/tramp-cache.el (tramp-parse-connection-properties):
7600 Set tramp-autoload cookie.
7602 2010-09-09 Glenn Morris <rgm@gnu.org>
7604 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7605 (imagemagick-register-types): Doc fix.
7607 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7609 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7611 * progmodes/js.el (require): Require is already "eval-and-compile".
7612 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7613 (js--re-search-backward): Use js--re-search-forward.
7615 * progmodes/fortran.el (fortran-line-length): Don't recompute
7616 syntactic keywords redundantly a second time.
7618 * progmodes/ada-mode.el: Replace "(set '" with setq.
7619 (ada-mode): Simplify.
7620 (ada-create-case-exception, ada-adjust-case-interactive)
7621 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7622 (ada-search-ignore-string-comment, ada-move-to-start)
7623 (ada-move-to-end): Use with-syntax-table.
7625 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7626 (font-lock-unfontify-region, font-lock-default-fontify-region):
7627 Update usage correspondingly.
7628 (font-lock-fontify-syntactic-keywords-region):
7629 Set parse-sexp-lookup-properties buffer-locally here.
7630 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7632 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7634 2010-09-08 Glenn Morris <rgm@gnu.org>
7636 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7637 Error if not compiled with -DBYTE_CODE_METER.
7639 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7640 Ignore dir-locals-file.
7642 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7646 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7647 for the `gnu' messages.
7648 (compilation-set-skip-threshold): New command.
7649 (compilation-start): Use \' rather than $.
7650 (compilation-forget-errors): Use clrhash.
7652 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7654 * textmodes/ispell.el (ispell-valid-dictionary-list):
7657 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7659 Migrate to Tramp 2.2. Rearrange load dependencies.
7660 (Bug#1529, Bug#5448, Bug#5705)
7662 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7663 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7664 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7666 * net/tramp.el (top): Remove all other tramp-* loads except
7667 tramp-compat.el. Remove all changes to tramp-unload-hook for
7668 other tramp-* packages. Rearrange defun order. Change calls of
7669 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7670 `tramp-compat-octal-to-decimal' to new function names.
7671 (tramp-terminal-type, tramp-initial-end-of-output)
7672 (tramp-methods, tramp-foreign-file-name-handler-alist)
7673 (tramp-tramp-file-p, tramp-completion-mode-p)
7674 (tramp-send-command-and-check, tramp-get-remote-path)
7675 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7676 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7677 (with-file-property, with-connection-property): Move to
7679 (tramp-local-call-process, tramp-decimal-to-octal)
7680 (tramp-octal-to-decimal): Move to tramp-compat.el.
7681 (tramp-handle-shell-command): Do not require 'shell.
7682 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7684 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7686 * net/tramp-cache.el (top): Require 'tramp. Add to
7687 `tramp-unload-hook'.
7688 (tramp-cache-data, tramp-get-file-property)
7689 (tramp-set-file-property, tramp-flush-file-property)
7690 (tramp-flush-directory-property, tramp-get-connection-property)
7691 (tramp-set-connection-property, tramp-flush-connection-property)
7692 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7694 (with-file-property, with-connection-property): New defuns, moved
7696 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7699 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7700 (tramp-version): Set tramp-autoload cookie.
7702 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7703 changes to tramp-unload-hook for other tramp-* packages. Add to
7704 `tramp-unload-hook'.
7705 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7706 (tramp-compat-call-process): New defuns, moved from tramp.el.
7708 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7709 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7710 Add to `tramp-unload-hook'. Change call of
7711 `tramp-compat-decimal-to-octal' to new function name.
7712 (tramp-fish-method): Make it a defconst.
7713 (tramp-fish-file-name-p): Make it a defsubst.
7714 (tramp-fish-method, tramp-fish-file-name-handler)
7715 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7717 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7718 `tramp-foreign-file-name-handler-alist'. Add to
7719 `tramp-unload-hook'.
7720 (tramp-ftp-method): Make it a defconst.
7721 (tramp-ftp-file-name-p): Make it a defsubst.
7722 (tramp-ftp-method, tramp-ftp-file-name-handler)
7723 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7725 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7726 `tramp-foreign-file-name-handler-alist'. Add to
7727 `tramp-unload-hook'. Change checks, whether package can be
7729 (tramp-gvfs-file-name-p): Make it a defsubst.
7730 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7731 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7732 (tramp-gvfs-handle-file-directory-p): New defun.
7733 (tramp-gvfs-file-name-handler-alist): Use it.
7735 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7736 `tramp-foreign-file-name-handler-alist'. Add to
7737 `tramp-unload-hook'.
7738 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7739 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7741 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7742 (tramp-gw-open-connection): Set tramp-autoload cookie.
7744 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7745 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7746 Add to `tramp-unload-hook'. Change checks, whether package can be
7748 (tramp-imap-file-name-p): Make it a defsubst.
7749 (tramp-imap-method, tramp-imaps-method)
7750 (tramp-imap-file-name-handler)
7751 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7753 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7754 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7755 Add to `tramp-unload-hook'. Change checks, whether package can be
7756 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7758 (tramp-smb-tunnel-method): Make it a defconst.
7759 (tramp-smb-file-name-p): Make it a defsubst.
7760 (tramp-smb-method, tramp-smb-file-name-handler)
7761 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7763 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7764 (tramp-uuencode-region): Set tramp-autoload cookie.
7766 * net/trampver.el (top) Add to `tramp-unload-hook'.
7767 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7768 cookie. Update release number.
7770 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7772 * textmodes/ispell.el (ispell-start-process): Make sure original
7773 arg list is properly initialized (Bug#6993, Bug#6994).
7775 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7777 * files.el (directory-abbrev-alist): Use \` as default regexp.
7779 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7780 chars like - or ] (bug#6984).
7781 (rx-any-condense-range): Explode 2-char ranges.
7783 2010-09-06 Glenn Morris <rgm@gnu.org>
7785 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7787 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7789 * textmodes/bibtex.el:
7790 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7792 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7795 since no callers use it.
7796 (imap-message-get): Ditto.
7797 (imap-message-put): Ditto.
7798 (imap-mailbox-map): Ditto.
7799 (imap-mailbox-put): Ditto.
7800 (imap-mailbox-get): Ditto.
7801 (imap-mailbox-get): Revert last change for this function.
7803 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7805 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7806 callers to use `imap-fetch' instead. According to the comments, this
7807 should be safe, since all other IMAP clients use the 1:* syntax.
7808 (imap-enable-exchange-bug-workaround): Remove.
7809 (imap-debug): Remove -- doesn't seem very useful.
7811 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7813 * net/imap.el (imap-log): New convenience function used throughout
7814 instead of repeating the same code all over the place.
7816 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7818 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7819 when mouse-drag-copy-region is non-nil (Bug#6956).
7821 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7823 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7824 Improve regexps (Bug#6987).
7825 (dired-sort-toggle): Search more robustly for -t flag.
7827 * files.el (get-free-disk-space): Search more robustly for
7828 "available" column. Suggested by Ehud Karni
7829 <ehud@unix.mvs.co.il>.
7831 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7833 * international/uni-bidi.el:
7834 * international/uni-category.el:
7835 * international/uni-combining.el:
7836 * international/uni-decimal.el:
7837 * international/uni-mirrored.el:
7838 * international/uni-name.el: Regenerate.
7840 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7842 * electric.el (electric-indent-post-self-insert-function):
7843 Don't reindent with a sloppy indentation function.
7845 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7846 border case in change-log-mode.
7848 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7850 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7851 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7852 Recognize leading tab in gcc-include regexp. Ignore names with
7853 leading "from" or "in" in gnu regexp (Bug#6937).
7855 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7857 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7858 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7859 (ispell-start-process): Avoid setq and simplify logic.
7860 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7861 (kill-buffer-hook): Don't use it globally with code that uses
7862 expand-file-name since that may call kill-buffer via
7863 code_conversion_restore.
7865 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7867 * emacs-lisp/package.el (package-directory-list): Only call
7868 file-name-nondirectory on a string.
7870 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7872 * emacs-lisp/package.el (package--download-one-archive):
7873 Ensure that archive-contents is valid before saving it.
7874 (package-activate-1, package-mark-obsolete, define-package)
7875 (package-compute-transaction, package-list-maybe-add): Use push.
7877 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7879 Use SMIE's blink-paren for octave-mode.
7880 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7881 Backslashes do not escape single-quotes, single-quotes do.
7882 (octave-block-else-regexp, octave-block-end-regexp)
7883 (octave-block-match-alist): Remove.
7884 (octave-smie-bnf-table): New var, with old content.
7885 (octave-smie-op-levels): Use it.
7886 (octave-smie-closer-alist): New var.
7887 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7888 (octave-blink-matching-block-open): Remove.
7889 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7890 (octave-electric-space): Let self-insert-command run expand-abbrev and
7893 * electric.el (electricity): New group.
7894 (electric-indent-chars): New var.
7895 (electric-indent-post-self-insert-function): New fun.
7896 (electric-indent-mode): New minor mode.
7897 (electric-pair-skip-self): New custom.
7898 (electric-pair-post-self-insert-function): New function.
7899 (electric-pair-mode): New minor mode.
7901 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7902 calcAlg-blink-matching-open.
7903 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7904 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7905 Use the new blink-matching-check-function.
7907 Provide blink-matching support to SMIE.
7908 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7909 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7910 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7912 * simple.el (newline): Fix last change to properly remove itself from
7915 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7917 * simple.el (newline): Eliminate optimization.
7918 Use post-self-insert-hook to set hard-newline and things before
7919 running post-self-insert-hook.
7920 (blink-matching-check-mismatch): New function.
7921 (blink-matching-check-function): New variable.
7922 (blink-matching-open): Use them.
7923 Skip back forward over prefix chars skipped by forward-sexp.
7924 Don't check if the parens are backslash escaped.
7925 (blink-paren-post-self-insert-function): Check backslash escaping here.
7927 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7929 * emacs-lisp/package.el (package-menu-mode-map):
7930 Change package-menu-revert bindings to revert-buffer.
7931 (package-menu-mode): Set revert-buffer-function.
7932 (package-menu-revert): Doc fix.
7934 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7936 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7937 `default-directory' unless using Ispell per-directory personal
7938 dictionaries and not in a mini-buffer under XEmacs.
7939 (kill-buffer-hook): Do not kill ispell process on exit when
7940 `ispell-process-directory' is "~/". (Bug#6143)
7942 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7944 * simple.el (kill-new): Call interprogram-cut-function with only
7947 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7948 Remove cut buffer from error message.
7950 * term/x-win.el (x-select-text):
7951 * term/pc-win.el (x-selection-value):
7952 * term/ns-win.el (x-selection-value):
7953 * eshell/em-term.el:
7954 * w32-fns.el (x-get-selection-value):
7955 * mouse-sel.el (mouse-sel-set-selection-function):
7956 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7958 * term/x-win.el: Update documentation for x-last-selected-text-*.
7959 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7960 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7961 (x-select-text): Remove argument PUSH, update documentation.
7962 Remove cut-buffer code.
7963 (x-selection-value-internal): Was previously x-selection-value.
7964 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7965 Update documentation, remove cut-buffer code.
7966 Call x-selection-value-internal.
7967 (x-clipboard-yank): Call x-selection-value-internal.
7968 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7970 * term/pc-win.el (x-last-selected-text):
7971 x-cut-buffer-or-selection-value renamed to x-selection-value
7972 (x-select-text): Remove argument PUSH, update documentation.
7974 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7975 x-cut-buffer-or-selection-value renamed to x-selection-value
7976 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7977 (x-select-text): Remove argument PUSH, update documentation.
7979 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7981 * w32-fns.el (x-last-selected-text):
7982 x-cut-buffer-or-selection-value renamed to x-selection-value.
7983 (x-cut-buffer-max): Remove.
7984 (x-select-text): Remove argument PUSH, update documentation.
7986 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7988 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7990 * mouse-sel.el (mouse-sel-get-selection-function):
7991 x-cut-buffer-or-selection-value renamed to x-selection-value.
7992 (x-select-text): Remove optional push.
7994 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7996 * simple.el (blink-paren-function): Move from C to here.
7997 (blink-paren-post-self-insert-function): New function.
7998 (post-self-insert-hook): Use it.
8000 * emacs-lisp/pcase.el (pcase-split-memq):
8001 Fix overenthusiastic optimisation.
8002 (pcase-u1): Handle the case of a lambda pred.
8004 2010-08-31 Kenichi Handa <handa@m17n.org>
8006 * international/mule-cmds.el (standard-display-european-internal):
8007 Setup standard-display-table for 8-bit characters by storing 8-bit
8008 characters in the element vector.
8010 * disp-table.el (standard-display-8bit):
8011 Setup standard-display-table for 8-bit characters by storing 8-bit
8012 characters in the element vector.
8013 (standard-display-european): Likewise.
8015 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8017 * textmodes/nroff-mode.el (nroff-view): New command.
8018 (nroff-mode-map): Bind it to C-c C-c.
8020 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8022 * emacs-lisp/smie.el (smie-down-list): New command.
8024 Remove old indentation and navigation code on octave-mode.
8025 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8026 smie-down-list rather than add a binding for octave-down-block.
8027 (octave-mark-block, octave-blink-matching-block-open):
8028 Rely on forward-sexp-function.
8029 (octave-fill-paragraph): Don't narrow, so you can use
8030 indent-according-to-mode.
8031 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8032 (octave-in-block-p, octave-re-search-forward-kw)
8033 (octave-re-search-backward-kw, octave-indent-calculate)
8034 (octave-end-as-array-index-p, octave-block-end-offset)
8035 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8036 (octave-down-block, octave-backward-up-block, octave-up-block)
8037 (octave-before-magic-comment-p, octave-indent-line): Remove.
8039 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8041 * emacs-lisp/package.el (package--read-archive-file): Just use
8042 `read', to avoid copying an additional string.
8043 (package-menu-mode): Set header-line-format here.
8044 (package-menu-refresh, package-menu-revert): Signal an error if
8045 not in the Package Menu.
8046 (package-menu-package-list): New var.
8047 (package--generate-package-list): Operate on the current buffer;
8048 don't assume that it is *Packages*, since the user may rename it.
8049 Allow persistent package listings and sort keys using
8050 package-menu-package-list and package-menu-package-sort-key.
8051 (package-menu--version-predicate): Fix version calculation.
8052 (package-menu-sort-by-column): Don't select the window.
8053 (package--list-packages): Create the *Packages* buffer.
8054 Set package-menu-package-list-key.
8055 (list-packages): Sorting by status is now the default.
8056 (package-buffer-info): Use match-string-no-properties.
8057 (define-package): Add a &rest argument for future proofing, but
8059 (package-install-from-buffer, package-install-buffer-internal):
8060 Merge into a single function, package-install-from-buffer.
8061 (package-install-file): Change caller.
8063 * finder.el: Load finder-inf using `require'.
8064 (finder-list-matches): Sorting by status is now the default.
8065 (finder-compile-keywords): Simpify printing.
8067 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8069 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8070 (octave-mode-map): Remove special bindings for forward/backward-block
8071 and octave-backward-up-block. Use smie-close-block.
8072 (octave-continuation-marker-regexp): New var.
8073 (octave-continuation-regexp): Use it.
8074 (octave-operator-table, octave-smie-op-levels)
8075 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8076 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8077 (octave-mode): Use SMIE.
8078 (octave-close-block): Delete.
8080 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8082 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8083 CLIPBOARD, not in PRIMARY. (Bug#6944)
8085 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8087 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8089 (smie-indent-column): Allow indirection through variables.
8091 * composite.el (save-buffer-state): Delete, unused.
8092 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8093 (font-lock-default-fontify-region): Use with-syntax-table.
8094 * jit-lock.el (with-buffer-unmodified): Remove.
8095 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8097 Use `declare' in defmacros.
8098 * window.el (save-selected-window):
8099 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8100 * progmodes/python.el (def-python-skeleton):
8101 * net/dbus.el (dbus-ignore-errors):
8102 * jka-cmpr-hook.el (with-auto-compression-mode):
8103 * international/mule.el (with-category-table):
8104 * emacs-lisp/timer.el (with-timeout):
8105 * emacs-lisp/lisp-mnt.el (lm-with-file):
8106 * emacs-lisp/eieio.el (with-slots):
8107 * emacs-lisp/easymenu.el (easy-menu-define):
8108 * emacs-lisp/debug.el (debugger-env-macro):
8109 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8110 (Multiple-value-call, Multiple-value-prog1):
8111 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8112 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8113 edebug rule to definition.
8114 * emacs-lisp/lisp-mode.el (save-selected-window)
8115 (with-current-buffer, combine-after-change-calls)
8116 (with-output-to-string, with-temp-file, with-temp-buffer)
8117 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8118 (dolist, dotimes, when, unless):
8119 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8121 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8123 * finder.el: Require `package'.
8124 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8125 (finder-package-info): Var deleted.
8126 (finder-keywords-hash, finder--builtins-alist): New vars.
8127 (finder-compile-keywords): Compute package--builtins and
8128 finder-keywords-hash instead of finder-keywords-hash, respecting
8129 the "Package" header.
8130 (finder-unknown-keywords, finder-list-matches):
8131 Use finder-keywords-hash and package--list-packages.
8132 (finder-mode): Don't set font-lock-defaults.
8133 (finder-exit): We don't use "*Finder-package*" and "*Finder
8134 Category*" buffers anymore.
8136 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8137 (package--builtins): Set default value to nil.
8138 (package-initialize): Load precomputed value of package--builtins
8140 (package-alist, package-compute-transaction)
8141 (package-download-transaction): Improve docstring.
8142 (package-read-all-archive-contents): Do not change
8143 package--builtins here.
8144 (list-packages): Make package-list-packages an alias for this.
8145 Sort by status by default.
8146 (package--list-packages): Add optional PACKAGES arg.
8147 (describe-package-1): Use font-lock-face property. For built-in
8148 packages, insert file commentary.
8149 (package--generate-package-list): Rename from
8150 package-list-packages-internal; all callers changed. Add optional
8151 PACKAGES arg. Add alphabetical sort fallbacks.
8152 (package-menu--version-predicate, package-menu--status-predicate)
8153 (package-menu--description-predicate)
8154 (package-menu--name-predicate): New functions.
8156 * info.el (Info-finder-find-node): Search package-alist instead of
8157 finder-package-info.
8159 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8161 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8163 (version-to-list): Handle versions like "10.3d".
8165 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8167 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8168 (macroexp-accumulate): Use `declare'.
8170 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8172 * whitespace.el (whitespace-style): Adjust type declaration.
8174 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8176 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8178 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8180 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8183 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8185 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8186 (js-paren-indent-offset, js-square-indent-offset)
8187 (js-curly-indent-offset): New options.
8188 (js--proper-indentation): Use them.
8190 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8192 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8193 instead of inspecting font-lock properties (Bug#6916).
8195 2010-08-26 David Reitter <david.reitter@gmail.com>
8197 * server.el (server-visit-files): Run pre-command-hook and
8198 post-command-hook for each buffer while it is current (Bug#6910).
8199 (server-execute): Do not run hooks here.
8201 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8203 Sync with Tramp 2.1.19.
8205 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8207 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8209 * net/tramp.el (tramp-handle-expand-file-name)
8210 (tramp-completion-handle-file-name-all-completions)
8211 (tramp-completion-handle-file-name-completion):
8212 Use `tramp-connectable-p'.
8214 * net/trampver.el: Update release number.
8216 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8218 * help.el (help-map): Bind `C-h P' to describe-package.
8220 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8222 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8223 when downloading archives.
8224 (describe-package-1): Add package commentary.
8225 (package-install-button-action): New function.
8226 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8227 (package-menu-view-commentary): Function removed.
8228 (package-list-packages-internal): Hide the `package' package too.
8230 2010-08-25 Kenichi Handa <handa@m17n.org>
8232 * language/misc-lang.el ("Arabic"): New language environment.
8233 Setup composition-function-table for Arabic characters.
8235 * international/fontset.el (setup-default-fontset): Fix typo for
8236 arabic OTF spec (fini->fina).
8238 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8240 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8243 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8245 * whitespace.el: Allow cleaning up blanks without blank
8246 visualization (Bug#6651). Adjust help window for
8247 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8248 instead of whitespace-line-column (from EmacsWiki). New version
8250 (whitespace-style): Add new value 'face. Adjust docstring.
8251 (whitespace-space, whitespace-hspace, whitespace-tab):
8252 Adjust foreground property face.
8253 (whitespace-line-column): Adjust docstring and type declaration.
8254 (whitespace-style-value-list, whitespace-toggle-option-alist)
8255 (whitespace-help-text): Adjust const initialization.
8256 (whitespace-toggle-options, global-whitespace-toggle-options):
8258 (whitespace-display-window, whitespace-interactive-char)
8259 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8260 (whitespace-help-scroll): New fun.
8262 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8264 * emacs-lisp/package.el (list-packages): Alias for
8265 package-list-packages.
8267 2010-08-24 Kevin Ryde <user42@zip.com.au>
8269 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8272 * progmodes/ruby-mode.el (ruby): Add defgroup.
8274 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8276 * progmodes/python.el: Add Ipython support (Bug#5390).
8277 (python-shell-prompt-alist)
8278 (python-shell-continuation-prompt-alist): New options.
8279 (python--set-prompt-regexp): New function.
8280 (inferior-python-mode, run-python, python-shell):
8281 Require ansi-color. Use python--set-prompt-regexp to set the comint
8282 prompt based on the Python interpreter.
8283 (python--prompt-regexp): New var.
8284 (python-check-comint-prompt)
8285 (python-comint-output-filter-function): Use it.
8286 (run-python): Use a pipe (Bug#5694).
8288 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8290 * progmodes/python.el (python-send-region): Send a different
8291 Python command if Ipython is in use.
8292 (python-check-version): Use a Python command to find the version.
8294 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8296 * mouse.el (mouse-yank-primary): Avoid setting primary when
8297 deactivating the mark (Bug#6872).
8299 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8301 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8302 with "else" (Bug#3991).
8304 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8306 * net/dbus.el: Accept UNIX domain sockets as bus address.
8307 (top): Don't initialize `dbus-registered-objects-table' anymore,
8308 this is done in dbusbind.c.
8309 (dbus-check-event): Adapt test for bus.
8310 (dbus-return-values-table, dbus-unregister-service)
8311 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8314 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8316 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8318 2010-08-22 Juri Linkov <juri@jurta.org>
8320 * simple.el (read-extended-command): New function with the logic
8321 for `completing-read' moved to Elisp from `execute-extended-command'.
8322 Use `function-called-at-point' in `minibuffer-default-add-function'
8323 to get a command name for M-n (bug#5364, bug#5214).
8325 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8327 * startup.el (command-line-1): Issue warning for ignored arguments
8328 --unibyte, etc (Bug#6886).
8330 2010-08-22 Leo <sdl.web@gmail.com>
8332 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8333 (ignore, bright, dim, keyword): Split list of nicknames before
8334 passing to rcirc-add-or-remove (Bug#6894).
8336 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8338 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8340 2010-08-22 Leo <sdl.web@gmail.com>
8342 Fix buffer-list rename&refresh after killing a buffer in ido.
8343 * ido.el: Revert Óscar's.
8344 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8345 Remember the buffers at head, rather than their name.
8346 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8348 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8349 Stefan Monnier <monnier@iro.umontreal.ca>
8351 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8352 extra backslash added to each line (bug#6890).
8354 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8356 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8358 2010-08-22 Glenn Morris <rgm@gnu.org>
8360 * menu-bar.el (menu-bar-games-menu): Add landmark.
8362 2010-08-22 Glenn Morris <rgm@gnu.org>
8364 * align.el (align-regexp): Make group and spacing arguments
8365 use the interactive defaults when non-interactive. (Bug#6698)
8367 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8368 expansion, so as not to need sendmail.
8369 (mail-text-start): Remove declaration.
8370 (rmail-retry-failure): Require sendmail.
8372 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8374 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8376 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8378 * progmodes/flymake.el (flymake-start-syntax-check-process):
8379 Use `start-file-process' in order to let it run also on remote hosts.
8381 2010-08-22 Kenichi Handa <handa@m17n.org>
8383 * files.el: Add `word-wrap' as safe local variable.
8385 2010-08-22 Glenn Morris <rgm@gnu.org>
8387 * woman.el (woman-translate): Case matters. (Bug#6849)
8389 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8391 * simple.el (kill-region): Doc fix (Bug#6787).
8393 2010-08-22 Glenn Morris <rgm@gnu.org>
8395 * calendar/diary-lib.el (diary-header-line-format):
8396 Fit it to the window, not the frame.
8398 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8400 * subr.el (ignore-errors): Add debug declaration.
8402 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8404 * whitespace.el (whitespace-color-off): Remove post-command-hook
8407 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8409 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8411 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8413 * cus-edit.el (custom-group-value-create): Add extra newline
8414 before end line (Bug#6876).
8416 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8418 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8419 when extending it. Before killing on the second click, check if
8420 the buffer is the correct one. Doc fix.
8421 (mouse-secondary-save-then-kill): Allow usage without first
8422 calling mouse-start-secondary, by defaulting to point. Don't save
8423 an empty secondary selection. Doc fix.
8425 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8427 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8428 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8430 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8431 Adjust initialization.
8432 (whitespace-bob-marker, whitespace-eob-marker)
8433 (whitespace-buffer-changed): New vars.
8434 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8435 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8436 (whitespace-post-command-hook, whitespace-display-char-on):
8438 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8439 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8441 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8443 * files.el (locate-file-completion-table): Only list the .el and .elc
8444 extensions if there's no other choice (bug#5955).
8446 * facemenu.el (facemenu-self-insert-data): New var.
8447 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8449 (facemenu-add-face): Use them.
8451 * simple.el (blink-matching-open): Obey forward-sexp-function.
8453 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8455 * simple.el (prog-mode-map): New var.
8456 (prog-indent-sexp): New command.
8458 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8460 * progmodes/prolog.el (smie): Require.
8462 * emacs-lisp/smie.el (smie-default-backward-token)
8463 (smie-default-forward-token): Strip properties.
8464 (smie-next-sexp): Be more careful with associative operators.
8465 (smie-forward-sexp-command): Generalize.
8466 (smie-backward-sexp-command): Simplify.
8467 (smie-closer-alist): New var.
8468 (smie-close-block): New command.
8469 (smie-indent-debug-log): New var.
8470 (smie-indent-offset-rule): Add a few more cases.
8471 (smie-indent-column): New function.
8472 (smie-indent-after-keyword): Use it.
8473 (smie-indent-keyword): Use it.
8474 Fix up the opener code's point position.
8475 (smie-indent-comment): Only applies at BOL.
8476 (smie-indent-debug): New command.
8478 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8479 declarations that are useful before running the macro.
8481 2010-08-18 Joakim Verona <joakim@verona.se>
8483 * image.el (imagemagick-types-inhibit): New variable.
8484 (imagemagick-register-types): New function.
8485 * image-mode.el (image-transform-properties): New function.
8486 (image-transform-set-scale, image-transform-fit-to-height)
8487 (image-transform-set-rotation, image-transform-set-resize)
8488 (image-transform-fit-to-width, image-transform-fit-to-height):
8490 (image-toggle-display-image): Support image transforms.
8492 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8494 * image.el (create-animated-image): Don't add heuristic mask to image
8497 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8499 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8500 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8502 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8506 Font-lock '...' strings, plus various simplifications and fixes.
8507 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8508 (octave-font-lock-close-quotes): New function.
8509 (octave-font-lock-syntactic-keywords): New var.
8510 (octave-mode): Use it. Set beginning-of-defun-function.
8511 (octave-mode-map): Don't override the <foo>-defun commands.
8512 (octave-mode-menu): Pass it directly to easy-menu-define;
8513 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8514 (octave-block-match-alist): Fix up last change so that
8515 octave-close-block uses the more specific keyword.
8516 (info-lookup-mode): Silence byte-compiler.
8517 (octave-beginning-of-defun): Not interactive any more.
8519 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8520 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8521 (octave-completion-at-point-function): Make sure point is within
8523 (octave-reindent-then-newline-and-indent):
8524 Use reindent-then-newline-and-indent.
8525 (octave-add-octave-menu): Remove.
8527 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8529 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8530 (report-emacs-bug-can-use-xdg-email): New functions.
8531 (report-emacs-bug): Set can-xdg-email to result of
8532 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8533 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8536 * net/browse-url.el (browse-url-default-browser): Add cond
8537 for browse-url-xdg-open.
8538 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8540 2010-08-17 Glenn Morris <rgm@gnu.org>
8542 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8543 (c-fontify-recorded-types-and-refs): Define for compiler.
8544 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8547 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8550 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8552 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8554 (tramp-handle-process-file): Call the program in a subshell, in
8555 order to preserve working directory.
8556 (tramp-action-password): Hide password prompt before next run.
8557 (tramp-process-actions): Widen connection buffer for the trace.
8559 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8561 * net/rcirc.el (rcirc-log-process-buffers): New option.
8562 (rcirc-print): Use it.
8563 (rcirc-generate-log-filename): New function.
8564 (rcirc-log-filename-function): Change default to
8565 rcirc-generate-log-filename (Bug#6828).
8567 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8569 * simple.el (deactivate-mark): If select-active-regions is `only',
8570 only set selection for temporarily active regions.
8572 * cus-start.el: Change defcustom for select-active-regions.
8574 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8576 * mouse.el (mouse--drag-set-mark-and-point): New function.
8577 (mouse-drag-track): Use LOCATION arg to push-mark.
8578 Use mouse--drag-set-mark-and-point to take click-count into
8579 consideration when updating point and mark (Bug#6840).
8581 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8583 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8584 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8586 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8588 * font-lock.el (lisp-font-lock-keywords-2):
8589 Add combine-after-change-calls, condition-case-no-debug,
8590 with-demoted-errors, and with-silent-modifications (Bug#6025).
8592 2010-08-14 Kevin Ryde <user42@zip.com.au>
8594 * emacs-lisp/copyright.el (copyright-update-year)
8595 (copyright-update): Temporary switch-to-buffer to ensure the
8596 buffer change being queried is visible (Bug#5394).
8598 2010-08-14 Tom Tromey <tromey@redhat.com>
8600 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8603 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8605 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8608 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8610 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8611 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8612 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8613 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8614 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8615 Call menu-bar-set-tool-bar-position.
8617 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8619 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8620 comment style (bug#6834).
8621 * progmodes/scheme.el (scheme-mode-syntax-table):
8622 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8623 "b" flag in "' 14b" syntax.
8625 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8626 for (un)commenting the region and performing completion.
8627 (octave-mode-menu): Use standard commands for help and completion.
8628 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8629 (octave-mode): Use define-derived-mode.
8630 Set completion-at-point-functions and don't set columns.
8631 Don't disable adaptive-fill-regexp.
8632 (octave-describe-major-mode, octave-comment-region)
8633 (octave-uncomment-region, octave-comment-indent)
8634 (octave-indent-for-comment): Remove.
8635 (octave-indent-calculate): Rename from calculate-octave-indent.
8636 (octave-indent-line, octave-fill-paragraph): Update caller.
8637 (octave-initialize-completions): No need to make an alist.
8638 (octave-completion-at-point-function): New function.
8639 (octave-complete-symbol): Use it.
8640 (octave-insert-defun): Use define-skeleton.
8642 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8643 (octave-mode-map): Use comment-dwim (bug#6829).
8645 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8647 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8648 indentation of inserted comment.
8650 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8652 * faces.el (region): Add type gtk that uses gtk colors.
8654 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8655 Handle theme-name change.
8657 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8659 * progmodes/sql.el: Version 2.5
8660 (sql-product-alist): Add :prompt-cont-regexp property for several
8662 (sql-prompt-cont-regexp): New variable.
8663 (sql-output-newline-count, sql-output-by-send):
8664 New variables. Record number of newlines in input text.
8665 (sql-send-string): Handle multiple filters and count newlines.
8666 (sql-send-magic-terminator): Count terminator newline.
8667 (sql-interactive-remove-continuation-prompt): Filters output to
8668 remove continuation prompts; one for each newline.
8669 (sql-interactive-mode): Set up new variables, prompt regexp and
8671 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8672 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8674 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * emacs-lisp/pcase.el: New file.
8678 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8680 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8681 as here-document, otherwise the command could exceed maximum
8682 length of command line.
8683 (tramp-handle-vc-registered): Call script accordingly.
8684 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8686 2010-08-10 Kenichi Handa <handa@m17n.org>
8688 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8691 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8693 * emacs-lisp/package.el (package-version-split)
8694 (package--version-first-nonzero, package-version-compare):
8696 (package-directory-list, package-load-all-descriptors)
8697 (package--built-in, package-activate, define-package)
8698 (package-installed-p, package-compute-transaction)
8699 (package-read-all-archive-contents)
8700 (package--add-to-archive-contents, package-buffer-info)
8701 (package-tar-file-info, package-list-packages-internal):
8702 Use version-to-list and version-list-*.
8704 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8705 Use version-to-list.
8706 (package-upload-buffer-internal): Use version-list-<=.
8708 2010-08-09 Kenichi Handa <handa@m17n.org>
8710 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8713 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8715 * tutorial.el (tutorial--default-keys): C-d is now bound to
8716 delete-forward-char (Bug#6826).
8718 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8719 for `double' value of mouse-1-click-follows-link (Bug#6807).
8721 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8723 * replace.el (replace-highlight): Bind isearch-forward and
8724 isearch-error, ensuring that highlighting is updated if the user
8725 switches the search direction (Bug#6808).
8727 * isearch.el (isearch-lazy-highlight-forward): New var.
8728 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8729 (isearch-lazy-highlight-update): Use it.
8731 2010-08-08 Kenichi Handa <handa@m17n.org>
8733 * international/mule.el (define-charset): Store NAME as :base property.
8734 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8735 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8736 current priority. Force using the designation of the specific
8737 charset by adding `charset' text property. Improve the whole algorithm.
8739 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8741 * emulation/pc-select.el (pc-selection-mode-hook)
8742 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8743 (pc-selection-mode): Fix typos in docstrings.
8745 2010-08-08 Kenichi Handa <handa@m17n.org>
8747 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8748 ctext-non-standard-encodings-alist here.
8750 * international/mule.el (ctext-non-standard-encodings-alist):
8751 Add "koi8-r" and "microsoft-cp1251".
8752 (ctext-standard-encodings): New variable.
8753 (ctext-non-standard-encodings-table): List only elements for
8754 non-standard encodings.
8755 (ctext-pre-write-conversion): Adjust for the above change.
8756 Check ctext-standard-encodings.
8758 * international/mule-conf.el (compound-text): Doc fix.
8759 (ctext-no-compositions): Doc fix.
8760 (compound-text-with-extensions): Doc fix.
8762 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8764 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8766 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8768 * progmodes/which-func.el (which-func-format): Split help-echo text
8769 into lines, like other mode-line tooltips.
8771 * server.el (server-start): When using TCP sockets, force IPv4
8772 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8774 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8776 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8778 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8780 * term.el (term-delimiter-argument-list): Reflow docstring.
8781 (term-read-input-ring, term-write-input-ring, term-send-input)
8782 (term-bol, term-erase-in-display, serial-supported-or-barf):
8783 Fix typos in docstrings.
8785 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8787 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8789 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8791 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8793 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8795 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8796 Fix typo in docstring (bug#6747).
8798 2010-08-08 Leo <sdl.web@gmail.com>
8800 * eshell/esh-io.el (eshell-get-target): Better detection of
8801 read-only file (Bug#6762).
8803 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8805 * align.el (align-default-spacing): Doc fix.
8806 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8808 2010-08-08 Stephen Peters <speters@itasoftware.com>
8810 * calendar/icalendar.el
8811 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8812 (icalendar--get-weekday-numbers): New.
8813 (icalendar--convert-recurring-to-diary): Handle multiple byday
8814 values in weekly rules. (Bug#6766)
8816 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8818 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8819 (icalendar--create-uid, icalendar-export-region)
8820 (icalendar--parse-summary-and-rest): Code formatting.
8822 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8824 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8825 to italicize headers.
8826 (calc-highlight-selections-with-faces): New variable.
8827 (calc-selected-face, calc-nonselected-face): New faces.
8829 * calc/calccomp.el (math-comp-highlight-string): Use
8830 `calc-highlight-selections-with-faces' to determine how to highlight
8833 * calc/calc-sel.el (calc-show-selections): Change message to when
8834 using faces to highlight selections.
8836 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8838 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8839 Add SQLite 3 keywords, functions and datatypes.
8840 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8843 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8845 * simple.el (select-active-regions): Move to keyboard.c.
8846 (deactivate-mark): Used saved-region-selection.
8847 (select-active-region): Function removed.
8848 (activate-mark, set-mark, push-mark-command)
8849 (handle-shift-selection): Don't call it.
8850 (keyboard-quit): Avoid adding the region to the window selection.
8852 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8853 select-active-regions implementation.
8854 (mouse-yank-at-click): Doc fix.
8856 * cus-start.el: Add custom declaration for select-active-regions.
8858 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8860 * simple.el (delete-forward-char): Doc fix.
8862 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8863 after reading the tutorial.
8865 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8867 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8868 Fix for the case that a C style comment has its delimiters alone on
8869 their respective lines. (Bug#193)
8871 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8873 * net/tramp.el (tramp-handle-start-file-process): Set connection
8875 (tramp-process-sentinel): Use it for flushing the cache.
8876 We cannot do it via the process buffer, the buffer could be deleted
8877 already when running the sentinel.
8879 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8881 * comint.el (comint-mode): Make directory tracking functions
8882 functional on remote files. (Bug#6764)
8884 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8886 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8888 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8890 * emacs-lisp/find-gc.el (find-gc-source-files):
8891 Rename unexec.c => unexcoff.c.
8893 * emacs-lisp/authors.el (authors-fixed-entries):
8894 Rename unexec.c => unexcoff.c.
8896 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8898 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8899 cache, not only file cache.
8900 (tramp-process-sentinel): New defun.
8901 (tramp-handle-start-file-process): Use it, in order to invalidate
8904 2010-08-03 Leo <sdl.web@gmail.com>
8906 * server.el (server-start): Simplify loop.
8908 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8910 * frame.el (screen-height, screen-width, set-screen-width)
8911 (set-screen-height): Remove ancient compatibility aliases.
8913 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8914 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8916 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8917 that change current buffer.
8919 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8921 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8922 beginning of the string. Use `string-match-p'. (Bug#6765)
8924 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8926 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8928 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8930 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8931 (package--builtins): Tweak descriptions.
8932 (package-print-package): Upcase descriptions if necessary.
8933 Show all built-in packages in font-lock-builtin-face.
8934 (package-list-packages-internal): Omit "emacs" package.
8935 Show status of built-in packages as "built-in".
8937 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8939 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8940 before killing to preserve the primary selection (Bug#6701).
8942 * term/x-win.el (x-select-text): Doc fix.
8944 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8946 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8947 (objc-font-lock-extra-types):
8948 * progmodes/cc-mode.el (c-basic-common-init):
8949 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8950 (c++-make-template-syntax-table)
8951 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8952 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8953 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8954 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8955 * progmodes/cc-fonts.el (c-make-inverse-face)
8956 (c-basic-matchers-after):
8957 * progmodes/cc-engine.el (c-forward-keyword-clause)
8958 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8959 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8960 (c-guess-continued-construct, c-guess-basic-syntax):
8961 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8962 The above functions were modified or created.
8964 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8966 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8968 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8970 * files.el (bidi-paragraph-direction): Define safe local values.
8972 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8973 language-info-alist. Remove outdated FIXME in a comment.
8975 2010-07-31 Alan Mackenzie <acm@muc.de>
8977 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8978 Auto-fill broken in C/C++ modes.
8980 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8982 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8983 (menu-bar-showhide-tool-bar-menu-customize-disable)
8984 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8985 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8986 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8987 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8988 make a menu for Options => toolbar that can move it.
8990 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8992 * emacs-lisp/package-x.el (package--make-rss-entry):
8993 (package-maint-add-news-item, package--update-news)
8994 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8996 * emacs-lisp/package.el (package-archive-url): Rename from
8998 (package-install): Doc fix.
8999 (package-download-single, package-download-tar, package-install)
9000 (package-menu-view-commentary): Callers changed.
9002 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9004 * net/tramp.el (tramp-handle-start-file-process): Check only for
9005 `remote-tty' process property.
9006 (tramp-open-shell): Don't check for tty.
9007 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9010 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9013 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9015 * emacs-lisp/package.el (package-load-list, package-archives)
9016 (package-archive-contents, package-user-dir)
9017 (package-directory-list, package--builtins, package-alist)
9018 (package-activated-list, package-obsolete-alist): Mark as risky.
9020 2010-07-28 Phil Hagelberg <phil@evri.com>
9022 Add support for non-default package repositories.
9023 * emacs-lisp/package.el (package-archive-base): Var deleted.
9024 (package-archives): New variable.
9025 (package-archive-contents): Doc fix.
9026 (package-load-descriptor): Do nothing if descriptor file is missing.
9027 (package--write-file-no-coding): New function.
9028 (package-unpack-single): Use it.
9029 (package-archive-id): New function.
9030 (package-download-single, package-download-tar)
9031 (package-menu-view-commentary): Use it.
9032 (package-installed-p): Make second argument optional.
9033 (package-read-all-archive-contents): New function.
9034 (package-initialize): Use it.
9035 (package-read-archive-contents): Add ARCHIVE argument.
9036 (package--add-to-archive-contents): New function.
9037 (package-install): Don't call package-read-archive-contents.
9038 (package--download-one-archive): Store archive file in a
9039 subdirectory of package-user-dir.
9040 (package-menu-execute): Remove spurious line movement.
9042 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9044 * cus-start.el (tool-bar-style): Add text-image-horiz.
9046 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9048 * progmodes/gud.el (gud-common-init): Check for remoteness of
9049 `file', and not of `default-directory'.
9051 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9053 * net/tramp.el (tramp-methods): Move hostname to the end in all
9054 ssh `tramp-login-args'.
9055 (tramp-verbose): Describe verbose level 9.
9056 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9057 (tramp-open-connection-setup-interactive-shell): Trace stty
9058 settings if `tramp-verbose' >= 9.
9059 (tramp-handle-start-file-process): Implement tty setting.
9060 (Bug#4604, Bug#6360)
9062 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9063 `tramp-verbose' to 9.
9065 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9067 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9068 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9069 Remove references to package `lisp-re' (bug#4369).
9071 2010-07-27 Tom Tromey <tromey@redhat.com>
9073 * progmodes/js.el (js-mode):
9074 * progmodes/make-mode.el (makefile-mode):
9075 * progmodes/simula.el (simula-mode):
9076 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9078 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9080 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9082 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9083 (display-time-world-buffer-name, display-time-world-mode-map):
9084 Fix typos in docstrings.
9086 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9088 * image-mode.el (image-display-size): New function.
9089 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9090 (image-mode-fit-frame): Use it (Bug#6639).
9092 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9094 * dired.el (dired-buffers-for-dir): Handle list values of
9095 dired-directory (Bug#6636).
9097 2010-07-26 Sam Steingold <sds@gnu.org>
9099 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9100 Do not call `x-get-selection' the second time, reuse the value.
9102 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9104 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9105 which consist of control chars only. Suggested by Richard Stallman.
9107 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9109 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9110 exists before passing an error to find-file-not-found-functions
9113 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9115 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9116 Remove leading nil element, adjust values.
9117 (tetris-shapes, tetris-shape-scores):
9118 Change representation of shapes and remove some redundancy.
9119 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9120 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9121 Adjust for working with new representation of shapes.
9122 (tetris-shape-rotations): New function.
9123 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9124 (tetris-rotate-prev, tetris-rotate-next):
9125 Adjust for working with the new version of tetris-test-shape.
9127 2010-07-23 Markus Triska <markus.triska@gmx.at>
9129 * progmodes/ps-mode.el: Use comint (bug#5954).
9130 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9131 (ps-mode-other-newline): Simplify.
9132 (ps-run-mode): Derive from comint-mode instead of
9133 fundamental-mode, yielding input history etc.
9134 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9135 (ps-run-send-string): Adapt for comint-mode.
9136 (ps-run-newline): Remove now unneeded function.
9138 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9140 * net/tramp.el (tramp-methods): Move hostname to the end in all
9141 plink `tramp-login-args'.
9143 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9145 * net/tramp.el (tramp-open-shell): New defun.
9146 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9149 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9151 * net/tramp.el (tramp-file-name-regexp-unified)
9152 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9153 not regard the volume letter as remote filename. (Bug#5447)
9155 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9157 * custom.el (custom-declare-variable): Give a clearer error message
9158 when the docstring is missing (bug#6476).
9160 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9162 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9163 (sql-login-params): New widget definition.
9164 (sql-oracle-login-params, sql-mysql-login-params)
9165 (sql-solid-login-params, sql-sybase-login-params)
9166 (sql-informix-login-params, sql-ingres-login-params)
9167 (sql-ms-login-params, sql-postgres-login-params)
9168 (sql-interbase-login-params, sql-db2-login-params)
9169 (sql-linter-login-params): Use it.
9170 (sql-sqlite-login-params): Use it; Define "database" parameter as
9172 (sql-sqlite-program): Change to "sqlite3".
9173 (sql-comint-sqlite): Make sure database name is complete.
9174 (sql-for-each-login): New function.
9175 (sql-connect, sql-save-connection): Use it.
9176 (sql-get-login-ext): New function.
9177 (sql-get-login): Use it.
9178 (sql-make-alternate-buffer-name): Handle :file parameters.
9180 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9182 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9183 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9185 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9187 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9189 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9191 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9193 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9195 * net/tramp.el (tramp-get-ls-command)
9196 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9199 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9201 * progmodes/sql.el: Version 2.3.
9202 (sql-connection-alist): Change keys from symbols to strings;
9203 enhanced the widget definition.
9204 (sql-mode-menu): Add submenu to select connections.
9205 (sql-interactive-mode-menu): Add "Save Connection" item.
9206 (sql-add-product): Fix menu item.
9207 (sql-get-product-feature): Improved error handling.
9208 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9209 (sql-make-alternate-buffer-name): Simplified.
9210 (sql-product-interactive): Handle missing product.
9211 (sql-connect): Support string keys, minor improvements.
9212 (sql-save-connection): New function.
9213 (sql-connection-menu-filter): New function.
9215 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9217 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9218 (tramp-open-connection-setup-interactive-shell):
9219 Apply workaround for IRIX64 bug. Move argument of last
9220 `tramp-send-command' where it belongs to.
9222 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9224 * net/tramp.el (tramp-perl-file-attributes)
9225 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9226 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9227 front of `login-args'.
9229 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9231 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9232 Set `show-trailing-whitespace' to nil.
9233 (display-time-world-display): Simplify.
9235 2010-07-18 Alan Mackenzie <acm@muc.de>
9237 Enhance `c-file-style' in file/directory local variables.
9238 * progmodes/cc-mode.el (c-count-cfss): New function.
9239 (c-before-hack-hook): Call `c-set-style' differently according to
9240 whether c-file-style was set in file or directory local
9243 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9245 * progmodes/sql.el: Version 2.2.
9246 (sql-product, sql-user, sql-database, sql-server, sql-port):
9247 Use defcustom :safe keyword rather than putting safe-local-variable
9249 (sql-password): Use defcustom :risky keyword rather than putting
9250 risky-local-variable property.
9251 (sql-oracle-login-params, sql-sqlite-login-params)
9252 (sql-solid-login-params, sql-sybase-login-params)
9253 (sql-informix-login-params, sql-ingres-login-params)
9254 (sql-ms-login-params, sql-postgres-login-params)
9255 (sql-interbase-login-params, sql-db2-login-params)
9256 (sql-linter-login-params): Add `port' option.
9257 (sql-get-product-feature): Add NO-INDIRECT parameter.
9258 (sql-comint-oracle, sql-comint-sybase)
9259 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9260 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9261 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9262 (sql-comint-linter): Rename sql-connect-* functions to
9264 (sql-product-alist, sql-mode-menu): Rename as above and
9265 :sqli-connect-func to :sqli-comint-func.
9266 (sql-connection): New variable.
9267 (sql-interactive-mode): Set it.
9268 (sql-connection-alist): New variable.
9269 (sql-connect): New function.
9270 (sql--alt-buffer-part, sql--alt-if-not-empty)
9271 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9273 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9275 * image-mode.el (image-bookmark-make-record): Do not set context
9276 in an image (Bug#6650).
9278 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9280 * simple.el (select-active-region): New function.
9281 (push-mark-command, set-mark, activate-mark)
9282 (handle-shift-selection): Use it.
9283 (deactivate-mark): Don't check for size of region.
9285 * mouse.el (mouse-drag-track): Use select-active-region.
9287 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9289 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9292 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9294 * term/x-win.el (x-select-enable-primary): Change default to nil.
9295 (x-select-enable-clipboard): Add :version keyword.
9297 * mouse.el (mouse-drag-copy-region):
9298 * simple.el (select-active-regions): Likewise.
9300 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9302 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9303 (vc-coding-system-for-diff): Use it to decide whether to inherit
9304 from the file the EOL format for reading the diffs of that file.
9307 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9309 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9310 unibyte, so compressed attachments are not compressed again.
9312 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9314 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9315 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9316 (tramp-find-shell): Simplify setting connection property.
9317 (tramp-get-ls-command): Make test for "--color=never" stronger.
9319 2010-07-15 Simon South <ssouth@member.fsf.org>
9321 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9322 blocks within record declarations (i.e. variant parts) correctly.
9324 2010-07-15 Simon South <ssouth@member.fsf.org>
9326 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9327 over literal tokens when parsing so newlines aren't "absorbed" by
9328 single-line comments. Corrects the indentation of case blocks
9329 that have a comment on the first line.
9331 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9333 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9334 by Drew Adams (Bug#5504).
9336 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9338 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9339 now that Unicode is used (Bug#6594).
9341 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9343 * term/x-win.el (x-select-enable-clipboard): Default to t.
9344 (x-initialize-window-system): Don't overwrite Paste menu item.
9346 * simple.el (select-active-regions): Default to t.
9347 (push-mark-command): Don't overwrite primary with empty string.
9349 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9350 (mouse-drag-copy-region): Default to nil.
9352 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9353 Cut/Copy/Paste menu bar items.
9355 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9357 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9358 Patch applied by Karl Fogel.
9360 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9361 and `bookmark-current-buffer' if they have been already set in
9362 another buffer (e.g gnus-art).
9364 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9365 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9367 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9369 * bookmark.el (bookmark-make-record-default): Allow unneeded
9370 information to be omitted from the record.
9372 Adjust declarations and calls:
9374 * info.el (bookmark-make-record-default): Adjust declaration.
9375 (Info-bookmark-make-record): Adjust call.
9377 * woman.el (bookmark-make-record-default): Adjust declaration.
9378 (woman-bookmark-make-record): Adjust call.
9380 * man.el (bookmark-make-record-default): Adjust declaration.
9381 (Man-bookmark-make-record): Adjust call.
9383 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9385 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9387 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9389 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9390 This is also from Thierry Volpiatto's patch in bug #6444. However,
9391 because it was extraneous to the functional change in that patch,
9392 and causes a re-indendation, I am committing it separately.
9394 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9396 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9397 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9398 Patch applied by Karl Fogel (Bug#6444).
9400 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9402 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9404 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9406 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9407 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9408 (ns-alternatives-map): Change S-tab binding to backtab
9411 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9414 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9416 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9419 * language/tv-util.el (tai-viet-re): Remove format.
9421 2010-07-12 Kenichi Handa <handa@m17n.org>
9423 * language/hebrew.el: Remove no-byte-compile declaration.
9424 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9425 composition-function-table for 3-character looking back.
9426 (hebrew-font-get-precomposed): New function.
9427 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9429 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9431 * mouse.el (mouse-drag-track): Handle select-active-regions
9434 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9436 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9437 empty argument to gvfs-copy.
9439 2010-07-10 Glenn Morris <rgm@gnu.org>
9441 * calendar/calendar.el (calendar-week-end-day): New function.
9442 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9443 Respect calendar-week-start-day. (Bug#6606)
9444 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9445 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9446 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9447 respect calendar-week-start-day.
9449 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9451 * simple.el (use-region-p): Doc fix (Bug#6607).
9453 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9455 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9456 Add regexps for cucumber and ruby.
9458 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9460 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9461 (epa-file-insert-file-contents): Hack to prevent
9462 find-file from opening empty buffer when decryption failed
9465 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9467 * textmodes/ispell.el (ispell-alternate-dictionary):
9468 Use file-readable-p.
9469 Return nil if no word-list is found at default locations.
9470 (ispell-complete-word-dict): Default to nil.
9471 (ispell-command-loop): Use 'word-list' when using lookup-words.
9472 (lookup-words): Use ispell-complete-word-dict or
9473 ispell-alternate-dictionary. Check for word-list availability
9474 and handle errors if needed with better messages (Bug#6539).
9475 (ispell-complete-word): Use ispell-complete-word-dict or
9476 ispell-alternate-dictionary.
9478 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9480 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9481 builtins (BufferError, BytesWarning, WindowsError; callables
9482 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9484 2010-07-07 Glenn Morris <rgm@gnu.org>
9486 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9487 (zone-shift-left): Ignore intangibility, and any errors from
9489 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9490 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9491 deleting, and copying text properties.
9492 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9493 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9494 to point-max is hard.
9495 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9496 (zone-fill-out-screen): Ignore intangibility.
9498 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9500 * menu-bar.el (menu-bar-mode):
9501 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9504 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9505 word/line selection (Bug#6565).
9507 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9509 * net/dbus.el (dbus-send-signal): Declare function.
9511 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9513 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9514 (dbus-register-property): New optional argument EMITS-SIGNAL.
9515 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9517 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9519 * mouse.el (mouse-drag-overlay): Variable deleted.
9520 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9521 (mouse--remap-link-click-p): New function.
9522 (mouse-drag-track): Handle dragging by using temporary Transient
9523 Mark mode, instead of a special overlay.
9524 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9527 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9530 2010-07-02 Juri Linkov <juri@jurta.org>
9532 * autoinsert.el (auto-insert-alist): Fix readability
9533 by using dotted pair notation for lambda.
9535 2010-07-02 Juri Linkov <juri@jurta.org>
9537 * faces.el (read-face-name): Rename arg `string-describing-default'
9538 to `default'. Doc fix. Display the default value in quotes
9539 in the prompt. With empty input, return the `default' arg,
9540 unless the default value is a string (in which case return nil).
9541 (describe-face): Replace the string `default' arg of `read-face-name'
9542 with the symbol `default'.
9544 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9546 * emulation/viper-cmd.el (viper-delete-backward-char)
9547 (viper-del-backward-char-in-insert)
9548 (viper-del-backward-char-in-replace, viper-change)
9549 (viper-backward-indent): Replace delete-backward-char with
9550 delete-char (Bug#6552).
9552 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9554 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9556 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9558 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9559 argument passed to frame-creation-function (Bug#5378).
9561 * faces.el (x-handle-named-frame-geometry)
9562 (x-handle-reverse-video, x-create-frame-with-faces)
9563 (face-set-after-frame-default, tty-create-frame-with-faces):
9564 Don't separately consult default-frame-alist. It is now passed as the
9567 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9569 * startup.el (command-line): Don't call tool-bar-setup in a
9572 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9574 * ruler-mode.el (ruler--save-header-line-format): New fun.
9575 (ruler-mode): Use it as a setter function, so as not to overwrite
9576 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9578 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9580 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9581 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9582 (vc-log-outgoing): Use it.
9583 (vc-diff-internal): Set diff-vc-backend.
9585 * vc/diff-mode.el (diff-vc-backend): New var.
9587 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9589 * dynamic-setting.el (font-setting-change-default-font):
9590 Remove call to message.
9592 2010-06-28 Kenichi Handa <handa@m17n.org>
9594 * international/quail.el (quail-insert-kbd-layout): Fix the
9595 showing of untranslated characters.
9597 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9599 * simple.el (delete-active-region): New option.
9600 (delete-backward-char): Implement in Lisp.
9601 (delete-forward-char): New command.
9603 * mouse.el (mouse-region-delete-keys): Delete.
9604 (mouse-show-mark): Simplify.
9606 * bindings.el (global-map): Bind delete and DEL, the former to
9607 delete-forward-char.
9609 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9611 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9612 (ruby-mode): Bind indent-line-function (Bug#5119).
9614 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9616 * startup.el (command-line): Recognize "0" X resource value.
9618 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9620 * startup.el (command-line): Use X resources to set the value of
9621 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9623 * menu-bar.el (menu-bar-mode):
9624 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9625 Set init-value to t.
9627 * frame.el (frame-notice-user-settings): Don't change
9628 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9629 vice versa (Bug#2249).
9631 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9633 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9635 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9637 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9638 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9640 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9641 default directories are expanded (Bug#6143).
9643 2010-06-24 Juri Linkov <juri@jurta.org>
9645 * minibuffer.el (completions-format): Change default from nil to
9646 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9648 2010-06-24 Juri Linkov <juri@jurta.org>
9650 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9651 buffer-locally to lambda that re-runs the vc diff command.
9654 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9656 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9657 echo area is in use (Bug#3412).
9659 2010-06-22 Glenn Morris <rgm@gnu.org>
9661 * textmodes/texinfmt.el (texinfo-format-region)
9662 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9663 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9664 (texinfo-format-option, texinfo-noindent):
9665 Use line-beginning-position and line-end-position.
9667 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9668 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9669 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9672 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9674 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9675 forward-line fallout.
9677 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9679 * mouse.el (mouse-appearance-menu): Add docstring.
9681 * help.el (describe-key): Print up-event using key-description.
9683 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9685 * net/zeroconf.el (zeroconf-resolve-service)
9686 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9687 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9689 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9691 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9693 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9695 Avoid displaying files with a nil state in vc-dir.
9696 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9697 cases that cause insertion.
9698 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9701 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9703 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9705 2010-06-29 Leo <sdl.web@gmail.com>
9707 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9709 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9711 * generic-x.el (bat-generic-mode): Fix regexp for command line
9712 switches (Bug#5719).
9714 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9716 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9717 of nconc to avoid pure storage error (Bug#6239).
9719 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9721 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9722 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9723 bindings of bookmark-automatically-show-annotations (Bug#6515).
9725 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9727 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9728 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9730 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9732 * comint.el (make-comint, make-comint-in-buffer): Mention return
9733 value in the docstrings. (Bug#6498)
9735 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9737 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9738 since it is not present when using some non-default switches.
9740 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9742 * simple.el (compose-mail): Fix doc string to refer to
9743 `compose-mail-user-agent-warnings', instead of to the
9744 nonexistent `compose-mail-check-user-agent'.
9746 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9748 Fix an indentation bug:
9750 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9751 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9754 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9755 (c-clear->-pair-props-if-match-before): now return t when they've
9756 cleared properties, nil otherwise.
9757 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9758 by taking account of the existing value.
9760 * progmodes/cc-defs.el
9761 (c-clear-char-property-with-value-function): Fix this to clear the
9762 property rather than overwriting it with nil.
9764 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9766 * emacs-lisp/package.el (package-print-package): Add link to
9767 package description via describe-package.
9768 (describe-package-1): List package requirements. Add button to
9769 perform installation.
9770 (package-menu-describe-package): New command.
9772 * help-mode.el (help-package): New button type.
9774 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9776 * emacs-lisp/package.el: Move package-list-packages binding to
9778 (describe-package, describe-package-1, package--dir): New funs.
9779 (package-activate-1): Use package--dir.
9781 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9783 * help-mode.el (help-package-def): New button type.
9785 * menu-bar.el: Move package-list-packages binding here from
9788 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9790 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9792 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * emacs-lisp/edebug.el (edebug-read-list):
9795 Phase out old-style backquotes.
9797 2010-06-17 Juri Linkov <juri@jurta.org>
9799 * help-mode.el (help-mode): Set buffer-local variable
9800 revert-buffer-function to help-mode-revert-buffer.
9801 (help-mode-revert-buffer): New function.
9803 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9804 before popping to "*info*" (like in other Info functions).
9805 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9806 old-history-forward. Pop to old-buffer-name or "*info*" to
9807 recreate the killed buffer. Set Info-history-forward from
9808 old-history-forward.
9809 (Info-breadcrumbs-depth): Add :group and :version.
9811 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9813 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9815 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9817 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9818 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9820 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9822 * emacs-lisp/package.el (package-menu-mode-map):
9823 Move initialization into declaration.
9825 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9827 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9829 * emacs-lisp/package.el (package-archive-base): Point to
9831 (package-enable, package-load-list): New defcustoms.
9832 (package-user-dir, package-directory-list): Turn into defcustoms.
9833 Don't include package-user-dir in package-directory-list.
9834 (package--builtins-base): Don't include Emacs as a "package".
9835 (package-subdirectory-regexp): New var.
9836 (package-load-all-descriptors, package-compute-transaction)
9837 (package-download-transaction): Obey package-load-list.
9838 (package-activate-1): Rename from package-do-activate.
9839 (package-list-packages-internal): Check package-load-list.
9840 (package-load-descriptor, package-generate-autoloads)
9841 (package-unpack, package-unpack-single)
9842 (package--read-archive-file, package-delete):
9843 Use expand-file-name.
9845 * emacs-lisp/package-x.el: New file. Package uploading
9846 functionality split out from package.el.
9848 * startup.el (command-line): Load packages after reading init file.
9850 2010-06-17 Tom Tromey <tromey@redhat.com>
9852 * emacs-lisp/package.el: New file.
9854 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9856 Fix vc-annotate for renamed files when using Git.
9857 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9858 ls-files. Doe not pass the object as a file name to cat-file, it
9860 (vc-git-annotate-command): Pass the file name using -- to avoid
9861 ambiguity with the revision.
9862 (vc-git-previous-revision): Pass a relative file name.
9864 2010-06-22 Glenn Morris <rgm@gnu.org>
9866 * progmodes/js.el (js-mode-map): Use standard capitalization and
9867 ellipses for menu entries.
9869 * wid-edit.el (widget-complete): Doc fix.
9871 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9873 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9875 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9877 Fix annotating other revisions for renamed files in vc-annotate.
9878 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9879 VC backend. Use it when non-nil.
9880 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9883 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9884 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9885 Do not pass the file name to the 'previous-revision call when we
9886 don't want a file diff. (Bug#6489)
9888 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9890 Fix finding revisions for renamed files in vc-annotate.
9891 * vc/vc.el (vc-find-revision): Add an optional argument for
9892 the VC backend. Use it when non-nil.
9893 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9894 backend to vc-find-revision. (Bug#6487)
9896 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9898 Fix reading file names in Git annotate buffers.
9899 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9900 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9902 2010-06-20 Alan Mackenzie <acm@muc.de>
9904 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9905 in file local variables, set it first.
9907 2010-06-19 Glenn Morris <rgm@gnu.org>
9909 * descr-text.el (describe-char-unicode-data): Insert separating
9910 space when needed. (Bug#6422)
9912 * progmodes/idlwave.el (idlwave-action-and-binding):
9913 Fix typo in 2009-12-03 change. (Bug#6450)
9915 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9917 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9918 handling for `lambda' (misunderstanding).
9920 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9922 * calc/calc-poly.el (math-accum-factors): Make sure that
9923 constants aren't distributed after they are factored out.
9925 2010-06-16 Juri Linkov <juri@jurta.org>
9927 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9928 `list-colors-print'. (Bug#6332)
9930 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9932 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9934 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9935 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9937 * font-lock.el (font-lock-major-mode): Rename from
9938 font-lock-mode-major-mode to distinguish it from
9939 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9940 (font-lock-set-defaults):
9941 * font-core.el (font-lock-default-function): Adjust users.
9942 (font-lock-mode): Don't set it at all.
9944 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9946 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9948 2010-06-16 Glenn Morris <rgm@gnu.org>
9950 * calendar/appt.el (appt-time-msg-list): Doc fix.
9951 (appt-check): Let-bind appt-warn-time.
9952 (appt-add): Make the 3rd argument optional.
9953 Simplify argument names. Doc fix. Check for integer WARNTIME.
9954 Only add WARNTIME to the output list if non-nil.
9956 2010-06-16 Ivan Kanis <apple@kanis.eu>
9958 * calendar/appt.el (appt-check): Let the 3rd element of
9959 appt-time-msg-list specify the warning time.
9960 (appt-add): Add new argument with the warning time. (Bug#5176)
9962 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9964 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9965 older than version 1.6. (Bug#6361)
9967 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9969 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9970 used by cl-do-arglist. (Bug#6408)
9972 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9974 * textmodes/ispell.el (ispell-dictionary-base-alist):
9975 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9976 Suggested by Rolando Pereira (bug#6434).
9978 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9980 * facemenu.el (list-colors-sort): Doc fix.
9982 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9984 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9986 2010-06-14 Juri Linkov <juri@jurta.org>
9988 Add sort option `list-colors-sort'. (Bug#6332)
9989 * facemenu.el (color-rgb-to-hsv): New function.
9990 (list-colors-sort): New defcustom.
9991 (list-colors-sort-key): New function.
9992 (list-colors-display): Doc fix. Sort list according to the option
9994 (list-colors-print): Add HSV values to `help-echo' property of
9997 2010-06-14 Juri Linkov <juri@jurta.org>
9999 * compare-w.el: Move to the "vc" subdirectory.
10001 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * image-mode.el (image-mode-map): Remap left-char and right-char.
10005 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10007 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10009 * term/common-win.el (x-colors): Add all the color names defined
10010 in rgb.txt (Bug#6332).
10012 * facemenu.el (list-colors-print): Don't print extra names if it
10013 will overflow the window width.
10015 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10018 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10020 * files.el (make-directory): Doc fix (bug#6396).
10022 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10024 * net/tramp.el (tramp-remote-process-environment): Protect version
10025 string by apostroph.
10026 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10028 (tramp-file-name-for-operation): Add `call-process-region'.
10029 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10031 * net/tramp-compat.el (top): Do not autoload
10032 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10033 only when `start-file-process' is not bound.
10034 (tramp-advice-file-expand-wildcards): Do not use
10035 `tramp-handle-file-remote-p'.
10036 (tramp-compat-make-temp-file): Handle the case, that
10037 `make-temp-file' has no third argument EXTENSION.
10039 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10041 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10043 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10045 2010-06-11 Juri Linkov <juri@jurta.org>
10047 * finder.el (finder-known-keywords): Add keyword "vc"
10048 for version control.
10050 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10051 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10052 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10053 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10055 2010-06-11 Juri Linkov <juri@jurta.org>
10057 Move version control related files to the "vc" subdirectory.
10058 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10059 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10060 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10061 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10062 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10063 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10064 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10065 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10066 Move files to the "vc" subdirectory.
10068 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10070 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10073 2010-06-11 Stephen Eglen <stephen@gnu.org>
10075 * shell.el: Bind `shell-resync-dirs' to M-RET.
10077 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10079 * notifications.el: Move file from lisp/net, because it is
10080 supposed to talk locally to the user.
10082 2010-06-10 Julien Danjou <julien@danjou.info>
10084 * net/notifications.el (notifications-on-action-signal)
10085 (notifications-on-closed-signal): Pass notification id as first
10086 argument to the callback functions. Add docstrings.
10087 (notifications-notify): Fix docstring.
10089 2010-06-10 Glenn Morris <rgm@gnu.org>
10091 * emacs-lisp/authors.el (authors-ignored-files)
10092 (authors-valid-file-names): Add some files.
10094 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10096 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10097 merge conflict, giving preference to the emacs-23 version of the code.
10099 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10101 * emacs-lisp/advice.el (ad-compile-function):
10102 Define warning-suppress-types before we let-bind it (bug#6275).
10104 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10105 declare it, make it buffer-local and permanent-local (bug#6324).
10106 (vc-resynch-window): Adjust name.
10107 * vc-hooks.el (vc-find-file-hook): Adjust name.
10109 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10111 * net/notifications.el (notifications-notify): Fix docstring.
10113 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10115 Update to Unicode 6.0.0 beta.
10116 * international/charprop.el: Update copyright.
10117 * international/mule-cmds.el (ucs-names): Update character ranges.
10118 * international/uni-bidi.el:
10119 * international/uni-category.el:
10120 * international/uni-combining.el:
10121 * international/uni-comment.el:
10122 * international/uni-decimal.el:
10123 * international/uni-decomposition.el:
10124 * international/uni-digit.el:
10125 * international/uni-lowercase.el:
10126 * international/uni-mirrored.el:
10127 * international/uni-name.el:
10128 * international/uni-numeric.el:
10129 * international/uni-old-name.el:
10130 * international/uni-titlecase.el:
10131 * international/uni-uppercase.el: Regenerate.
10133 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10135 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10136 (smie-precs-precedence-table): Fix typo in docstring.
10138 * vc-mtn.el (log-edit-extract-headers): Declare function.
10140 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10142 * net/notifications.el (dbus-register-signal): Declare function.
10143 (notifications-notify): Fix typos and reflow docstring.
10145 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10147 Improve VC create/retrieve tag/branch.
10148 * vc.el (vc-create-tag): Do not read the directory name for VCs
10149 with repository revision granularity. Adjust the tag/branch
10150 prompt. Reset VC properties.
10151 (vc-retrieve-tag): Do not read the directory name for VCs
10152 with repository revision granularity. Reset VC properties.
10154 2010-06-09 Julien Danjou <julien@danjou.info>
10156 * net/notifications.el: New file.
10158 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10160 Add optional support for resetting VC properties.
10161 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10162 call vc-file-clearprops when true.
10163 (vc-resynch-buffer): Add new optional argument, pass it down.
10164 (vc-resynch-buffers-in-directory): Likewise.
10166 Improve support for special markup in the VC commit message.
10167 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10168 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10169 * vc-git.el (vc-git-checkin):
10170 * vc-bzr.el (vc-bzr-checkin): Likewise.
10172 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10174 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10175 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10177 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10179 * iimage.el: Remove images as soon as the underlying text is modified.
10180 (iimage-modification-hook): New function.
10181 (iimage-mode-buffer): Use it.
10183 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10185 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10186 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10187 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10188 (smie-indent-keyword): Add handling of open-paren keywords.
10189 (smie-indent-comment-continue): Don't assume comment-continue.
10191 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10193 * window.el (pop-to-buffer): Remove the conditional that
10194 compares new-window and old-window, so it will reselect
10195 the selected window unconditionally.
10196 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10198 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10200 * emacs-lisp/smie.el (smie-indent-offset-after)
10201 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10202 (smie-indent-after-keyword): Use them.
10203 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10204 (smie-indent-keyword): Tweak the black magic.
10205 (smie-indent-comment-continue): Strip comment-continue before use.
10206 (smie-indent-functions): Indent comments before keywords.
10208 2010-06-06 Juri Linkov <juri@jurta.org>
10210 * isearch.el (isearch-lazy-highlight-search): Fix looping
10211 by checking for empty match. This syncs this loop with the
10212 similar loop in `isearch-search'. (Bug#6362)
10214 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10216 * net/dbus.el (dbus-register-method): Declare function.
10217 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10218 (dbus-introspect): Doc fix.
10219 (dbus-event-bus-name, dbus-introspect-get-interface)
10220 (dbus-introspect-get-argument): Reflow docstrings.
10222 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10224 vc-log-incoming/vc-log-outgoing fixes for Git.
10225 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10226 incoming/outgoing logs.
10227 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10228 instead of vc-git-compute-remote.
10229 (vc-git-compute-remote): Remove.
10231 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10233 * term/common-win.el (x-colors): Add "dark green" and "dark
10234 turquoise" (Bug#6332).
10236 2010-06-04 Juri Linkov <juri@jurta.org>
10238 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10239 Instead of setting `replace' to t and replacing the same string
10240 with itself, don't do certain actions when
10241 kill-do-not-save-duplicates is non-nil and string is equal to car
10242 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10243 interprogram-paste strings to kill-ring, and don't push the input
10244 argument `string' to kill-ring.
10245 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10247 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10249 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10251 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10253 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10254 (tramp-gvfs-handler-mounted-unmounted)
10255 (tramp-gvfs-connection-mounted-p): Handle default-location.
10257 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10258 move files to trash.
10260 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10262 * international/mule-cmds.el (nonascii-insert-offset)
10263 (nonascii-translation-table): Add obsolescence information.
10265 * international/mule.el (make-translation-table-from-vector): Doc fix.
10267 2010-06-03 Glenn Morris <rgm@gnu.org>
10269 * desktop.el (desktop-clear-preserve-buffers):
10270 Add "*Warnings*" buffer. (Bug#6336)
10272 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10274 vc-log-incoming/vc-log-outgoing improvements for Git.
10275 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10277 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10279 Add bindings for vc-log-incoming and vc-log-outgoing.
10280 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10281 and vc-log-outgoing.
10282 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10283 and vc-log-outgoing.
10285 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10287 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10288 (rcirc-handler-366): Always sort nicknames.
10290 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10292 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10294 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10296 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10298 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10300 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10301 (rcirc-sort-nicknames-join): Avoid setq.
10303 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10305 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10306 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10307 (rcirc-handler-366): Use them.
10309 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10311 Split smie-indent-calculate into more manageable chunks.
10312 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10313 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10314 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10315 (smie-indent-exps): Extract from smie-indent-calculate.
10316 (smie-indent-functions): New var.
10317 (smie-indent-functions): Use them.
10319 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10321 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10322 (smie-indent-calculate): Simplify and cleanup.
10324 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10326 * net/tramp-gvfs.el (top): Require url-util.
10327 (tramp-gvfs-mount-point): Remove.
10328 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10330 (with-tramp-dbus-call-method): Format trace message.
10331 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10332 Implement backup call, when operation on local files fails.
10333 Use progress reporter. Flush properties of changed files.
10334 (tramp-gvfs-handle-make-directory): Make more traces.
10335 (tramp-gvfs-url-file-name): Hexify file name in url.
10336 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10337 into account for the resulting file name.
10338 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10339 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10340 (tramp-gvfs-handler-mounted-unmounted)
10341 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10342 attribute "default_location". Set "prefix" property.
10343 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10344 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10345 exists. Raise an error, if not (due to a corresponding answer
10346 "no" in interactive questions, for example).
10348 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10350 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10352 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10354 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10355 right-*. (Bug#6265)
10357 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10359 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10360 * vc-git.el (vc-git-compute-remote): New function.
10361 (vc-git-log-outgoing): Use it instead of hard coding a value.
10362 (vc-git-log-incoming): New function.
10364 Improve state updating for VC tag commands.
10365 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10366 to update the state of all buffers in the directory.
10368 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10370 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10372 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10373 `file-directory-p' to the filename part rather than to the whole text.
10375 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10377 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10379 2010-05-31 Drew Adams <drew.adams@oracle.com>
10381 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10383 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10385 * subr.el (momentary-string-display): Just use read-event to read
10386 the exit event (Bug#6238).
10388 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10390 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10392 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10394 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10395 Suggested by Eli Zaretskii <eliz@gnu.org>.
10397 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * minibuffer.el (completion-file-name-table): Don't return a boundary
10400 past the end of `string' (bug#6299).
10401 (completion--file-name-table): Delegate to completion-file-name-table
10402 for the `boundaries' case.
10404 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10406 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10409 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10410 `path-separator', but maintain compatibility with Emacs 20.2.
10412 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10414 * server.el (server-process-filter): Receive parent-id argument
10416 (server-create-window-system-frame): New arg. Pass parent-id as
10419 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10421 Bidi-sensitive word movement with arrow keys.
10422 * subr.el (right-arrow-command, left-arrow-command): Move to
10425 * bindings.el (right-char, left-char): Move from subr.el and
10426 rename from right-arrow-command and left-arrow-command.
10427 (right-word, left-word): New functions.
10428 (global-map) <right>: Bind to right-char.
10429 (global-map) <left>: Bind to left-char.
10430 (global-map) <C-right>: Bind to right-word.
10431 (global-map) <C-left>: Bind to left-word.
10433 * ls-lisp.el (ls-lisp-classify-file): New function.
10434 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10435 (ls-lisp-classify): Call ls-lisp-classify-file.
10436 (insert-directory): Remove blanks from switches.
10438 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10440 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10441 (ansi-color-drop-regexp): New constant.
10442 (ansi-color-apply, ansi-color-filter-region)
10443 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10444 (ansi-color-apply): Build string list before calling concat.
10446 2010-05-28 Juri Linkov <juri@jurta.org>
10448 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10449 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10452 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10454 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10455 to ignored backtrace functions.
10456 (with-progress-reporter): Expand docstring.
10457 (tramp-handle-delete-file): Implement TRASH argument.
10458 (tramp-get-remote-trash): New defun.
10460 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10462 * net/tramp-compat.el (tramp-compat-delete-file):
10463 Use `symbol-value' for backward compatibility.
10465 * net/tramp.el (tramp-handle-make-symbolic-link)
10466 (tramp-handle-load)
10467 (tramp-do-copy-or-rename-file-via-buffer)
10468 (tramp-do-copy-or-rename-file-directly)
10469 (tramp-do-copy-or-rename-file-out-of-band)
10470 (tramp-handle-process-file, tramp-handle-call-process-region)
10471 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10472 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10473 (tramp-delete-temp-file-function): Use `delete-file' instead
10474 of `tramp-compat-delete-file'.
10476 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10477 (tramp-fish-handle-make-symbolic-link)
10478 (tramp-fish-handle-process-file): Use `delete-file' instead
10479 of `tramp-compat-delete-file'.
10481 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10482 Use `delete-file' instead of `tramp-compat-delete-file'.
10484 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10485 `delete-file' instead of `tramp-compat-delete-file'.
10487 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10488 Use `delete-file' instead of `tramp-compat-delete-file'.
10490 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10491 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10492 (tramp-smb-handle-write-region): Use `delete-file' instead of
10493 `tramp-compat-delete-file'.
10494 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10496 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10498 * dired.el (dired-delete-file): New arg TRASH.
10499 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10500 (dired-do-flagged-delete, dired-do-delete): Use trash.
10502 * speedbar.el (speedbar-item-delete): Allow trashing.
10504 * files.el (delete-directory): New arg TRASH.
10506 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10507 (ange-ftp-rename-remote-to-remote)
10508 (ange-ftp-rename-local-to-remote)
10509 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10510 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10512 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10515 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10516 handle new TRASH arg of `delete-file'.
10518 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10519 (tramp-handle-make-symbolic-link, tramp-handle-load)
10520 (tramp-do-copy-or-rename-file-via-buffer)
10521 (tramp-do-copy-or-rename-file-directly)
10522 (tramp-do-copy-or-rename-file-out-of-band)
10523 (tramp-handle-process-file, tramp-handle-call-process-region)
10524 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10525 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10526 (tramp-delete-temp-file-function): Use null TRASH arg in
10527 tramp-compat-delete-file call.
10529 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10530 (tramp-fish-handle-delete-file)
10531 (tramp-fish-handle-make-symbolic-link)
10532 (tramp-fish-handle-process-file): Use null TRASH arg in
10533 `tramp-compat-delete-file' call.
10535 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10536 arg in `tramp-compat-delete-file' call.
10538 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10539 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10540 `tramp-compat-delete-file' call.
10542 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10543 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10544 `tramp-compat-delete-file' call.
10546 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10547 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10548 (tramp-smb-handle-write-region): Use null TRASH arg in
10549 tramp-compat-delete-file call.
10550 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10551 (tramp-smb-handle-delete-file): Rename arg.
10553 * diff.el (diff-sentinel):
10554 * epg.el (epg--make-temp-file, epg-decrypt-string)
10555 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10556 * jka-compr.el (jka-compr-partial-uncompress)
10557 (jka-compr-call-process, jka-compr-write-region):
10558 * server.el (server-sentinel): Remove optional arg from
10559 delete-file, reverting 2010-05-03 change.
10561 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10563 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10564 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10566 2010-05-27 Kenichi Handa <handa@m17n.org>
10568 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10569 element of GSTRING is nil.
10571 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10573 * emacs-lisp/smie.el (smie-forward-token-function)
10574 (smie-backward-token-function): New vars.
10575 (smie-backward-sexp, smie-forward-sexp)
10576 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10577 (smie-default-backward-token): Rename from smie-backward-token and
10579 (smie-default-forward-token): Rename from smie-forward-token and
10581 (smie-next-sexp): Handle nil results from next-token.
10582 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10584 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10586 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10587 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10589 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10591 * htmlfontify.el (hfy-face-resolve-face): New function.
10592 (hfy-face-to-style): Use it (Bug#6279).
10594 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10596 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10597 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10599 2010-05-26 Glenn Morris <rgm@gnu.org>
10601 * emulation/edt.el (edt-load-keys): Use locate-library.
10603 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10605 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10606 (log-edit-changelog-entries): Doc fix.
10607 (log-edit-changelog-insert-entries): Args changed.
10608 Rename relative filenames in ChangeLog entries. Delete tabs.
10609 (log-edit-insert-changelog-entries): Reorganize return value of
10610 `log-edit-changelog-entries' to pass filenames to
10611 log-edit-changelog-insert-entries.
10613 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10615 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10616 `image-dired-dired-insert-marked-thumbs' to
10617 `image-dired-dired-toggle-marked-thumbs'.
10619 * image-dired.el: Require cl when compiling.
10620 (image-dired-dired-toggle-marked-thumbs): Rename from
10621 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10622 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10623 to 'no-dir. Skip files whose names don't match
10624 `image-file-name-regexp'. When file has a thumbnail overlay,
10625 delete it. (Bug#5270)
10627 2010-05-25 Juri Linkov <juri@jurta.org>
10629 * image-mode.el (image-mode): Add image-after-revert-hook to
10631 (image-after-revert-hook): New function. (Bug#5669)
10633 2010-05-25 Juri Linkov <juri@jurta.org>
10635 * image.el (image-animated-p): When delay between animated images
10636 is 0, set it to 10 (0.1 sec). (Bug#6258)
10638 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10640 * net/tramp.el (tramp-handle-insert-directory): Don't use
10641 `forward-word', its default syntax could be changed.
10643 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10645 * net/tramp.el (tramp-progress-reporter-update): New defun.
10646 (with-progress-reporter): Use it.
10647 (tramp-process-actions):
10648 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10649 Preserve current message, in order to let progress reporter continue
10650 afterwards. (Bug#6257)
10652 2010-05-25 Glenn Morris <rgm@gnu.org>
10654 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10657 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10659 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10660 (rcirc-default-full-name): Change to "unknown".
10661 (rcirc-user-name-history): Add variable.
10663 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10664 Jonathan Rockway <jon@jrock.us>
10666 * net/rcirc.el (rcirc-server-alist): Add :pass.
10667 (rcirc): When prompting for connection parameters, also prompt for
10668 username and password.
10669 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10670 value to server when connecting.
10672 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10675 (smie-merge-prec2s): Pass the tables as separate args.
10676 (smie-bnf-precedence-table): Adjust call accordingly.
10677 (smie-prec2-levels): Set levels at the end.
10679 Replace Lisp calls to delete-backward-char by delete-char.
10680 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10681 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10682 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10683 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10684 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10685 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10686 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10687 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10688 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10689 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10690 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10691 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10692 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10693 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10694 delete-backward-char by calls to delete-char.
10696 2010-05-25 Kenichi Handa <handa@m17n.org>
10698 * language/hebrew.el (hebrew-shape-gstring): New function.
10699 Register it in composition-function-table for all Hebrew combining
10702 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * epa.el (epa--select-keys): Don't explicitly delete the window since
10705 that can fail (e.g. sole window in frame). Use dedication instead.
10707 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10709 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10711 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10713 * image.el (image-refresh): Define as an alias for image-flush.
10715 * image-mode.el (image-toggle-display-image): Caller changed.
10717 2010-05-21 Juri Linkov <juri@jurta.org>
10719 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10720 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10721 whitespace, call wildcard-to-regexp on substrings and concat them
10722 with "\\|". (Bug#6114)
10724 2010-05-21 Alan Mackenzie <acm@muc.de>
10726 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10727 Replace parameter `here' with `here-' and `here-plus', which sandwich
10728 any pertinent CPP construct.
10729 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10730 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10731 CPP construct from taking part in the scanning.
10733 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10735 * net/tramp.el (tramp-do-copy-or-rename-file)
10736 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10737 Tune `with-progress-reporter' messages.
10738 (tramp-handle-vc-registered):
10739 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10740 (tramp-fish-handle-insert-file-contents)
10741 (tramp-fish-maybe-open-connection):
10742 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10743 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10744 (tramp-imap-handle-insert-file-contents)
10745 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10747 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10749 * add-log.el (change-log-font-lock-keywords):
10750 Highlight all authors in multi-author entries.
10752 * smerge-mode.el (smerge-refine-ignore-whitespace)
10753 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10754 Fix typos in docstrings.
10755 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10757 2010-05-21 Glenn Morris <rgm@gnu.org>
10759 * progmodes/fortran.el (fortran-mode):
10760 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10762 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10763 having a relative path in src/Makefile.in.
10765 2010-05-20 Kevin Ryde <user42@zip.com.au>
10767 * help-mode.el (help-make-xrefs): For Info node links turn
10768 newlines into spaces. Link node names with newlines are matched
10769 by help-xref-info-regexp and buttonized, this change ensures they
10770 can be followed successfully with RET. (Bug#6206)
10772 2010-05-20 Juri Linkov <juri@jurta.org>
10774 * locate.el (locate): Use pop-to-buffer instead of
10775 switch-to-buffer-other-window. (Bug#6204)
10777 2010-05-20 Juri Linkov <juri@jurta.org>
10779 * replace.el (replace-highlight): Fix lazy-highlighting
10780 for `M-s w str M-% str RET'.
10782 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10784 * isearch.el (isearch-yank-word-or-char): Pull next subword
10785 when `subword-mode' is activated. (Bug#6220)
10787 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10789 * isearch.el (isearch-update-post-hook): New hook.
10790 (isearch-update): Use the new hook. (Bug#6225)
10792 2010-05-20 Juri Linkov <juri@jurta.org>
10794 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10795 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10798 2010-05-20 Juri Linkov <juri@jurta.org>
10800 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10803 2010-05-20 Juri Linkov <juri@jurta.org>
10805 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10806 FILE-NAME to read from the minibuffer when called interactively
10807 with prefix argument instead of using buffer-file-name.
10808 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10810 * dired.el: Update autoloads.
10812 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10814 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10815 nxml-finish-element, for consistency with SGML mode.
10817 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10818 octave-close-block.
10820 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10822 * composite.el: Require cl when compiling.
10823 (reference-point-alist, compose-gstring-for-graphic)
10824 (compose-gstring-for-terminal): Fix typos in docstrings.
10826 2010-05-19 Juri Linkov <juri@jurta.org>
10828 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10829 set-window-parameter.
10831 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10833 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10835 (tramp-maybe-open-connection): Use it.
10837 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10839 * simple.el (move-end-of-line): Make sure we are at line beginning
10840 before backing up to end of previous line.
10842 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10844 * password-cache.el (password-cache-remove): Fix docstring.
10846 * net/secrets.el: Autoload the widget functions.
10847 (secrets-search-items, secrets-create-item)
10848 (secrets-get-attributes, secrets-expand-item): Attributes will be
10849 stored on the password database without leading ":", as all other
10850 clients do as well.
10851 (secrets-mode): Fix docstring.
10852 (secrets-show-secrets): Provide it as autoloaded command only when
10853 D-Bus support is available. Check existence of Secret Service API.
10855 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * indent.el (indent-region): Deactivate region (bug#6200).
10859 2010-05-19 Glenn Morris <rgm@gnu.org>
10861 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10863 2010-05-19 Kenichi Handa <handa@m17n.org>
10865 * composite.el: Register compose-gstring-for-graphic in
10866 composition-function-table only for combining characters (Mn, Mc, Me).
10868 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10870 * calc/calc-trail.el (calc-trail-isearch-forward)
10871 (calc-trail-isearch-backward): Ensure that the new window
10872 point is set correctly.
10874 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10876 * subr.el (read-quoted-char): Resolve modifiers after key
10877 remapping (bug#6212).
10879 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10881 Add visualization code for secrets.
10882 * net/secrets.el (secrets-mode): New major mode.
10883 (secrets-show-secrets, secrets-show-collections)
10884 (secrets-expand-collection, secrets-expand-item)
10885 (secrets-tree-widget-after-toggle-function)
10886 (secrets-tree-widget-show-password): New defuns.
10888 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10890 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10891 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10892 handled in smie-next-sexp.
10893 (smie-indent-calculate): Provide a starting indentation (so the
10894 recursion is well-founded ;-).
10896 Fix handling of non-associative equal levels.
10897 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10898 when it's not needed.
10899 (smie-op-left, smie-op-right): New functions.
10900 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10901 Better handle equal levels to distinguish the associative case from
10902 the "multi-keyword construct" case.
10903 (smie-backward-sexp, smie-forward-sexp): Use it.
10905 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10907 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10909 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10910 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10912 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10914 Provide a simple generic indentation engine and use it for Prolog.
10915 * emacs-lisp/smie.el: New file.
10916 * progmodes/prolog.el (prolog-smie-op-levels)
10917 (prolog-smie-indent-rules): New var.
10918 (prolog-mode-variables): Use them to configure SMIE.
10919 (prolog-indent-line, prolog-indent-level): Remove.
10921 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10923 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10924 order before computing the averages.
10926 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10928 * calc/calc-vec.el (calc-histogram):
10929 (calcFunc-histogram): Allow vectors as inputs.
10930 (math-vector-avg): New function.
10932 * calc/calc-ext.el (math-group-float): Have the number of digits
10933 being grouped depend on the radix (Bug#6189).
10935 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10937 * version.el (emacs-copyright, emacs-version): Don't define here,
10938 now that emacs.c defines it.
10940 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10942 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10943 "Describe Language Environment" menu item.
10945 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10947 Bidi-sensitive movement with arrow keys.
10948 * subr.el (right-arrow-command, left-arrow-command): New functions.
10950 * bindings.el (global-map): Bind them to right and left arrow keys.
10952 Don't override standard definition of convert-standard-filename.
10953 * files.el (convert-standard-filename):
10954 Call w32-convert-standard-filename and dos-convert-standard-filename on
10955 the corresponding systems.
10957 * w32-fns.el (w32-convert-standard-filename): Rename from
10958 convert-standard-filename. Doc fix.
10960 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10961 (convert-standard-filename): Don't defalias.
10962 (register-name-alist, make-register, register-value)
10963 (set-register-value, intdos): Obsolete aliases for the
10964 corresponding dos-* functions and variables.
10965 (dos-intdos): Add a doc string.
10967 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10969 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10970 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10971 (math-compose-tex-func):
10972 * calc/calccomp.el (math-compose-expr):
10973 * calc/calc-ext.el (math-format-flat-expr-fancy):
10974 * calc/calc-store.el (calc-read-var-name):
10975 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10977 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10978 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10979 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10980 (math-standard-units): Add units.
10982 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10984 * progmodes/asm-mode.el (asm-mode):
10985 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10987 * pcomplete.el (pcomplete-completions-at-point): New function,
10988 extracted from pcomplete-std-complete.
10989 (pcomplete-std-complete): Use it.
10991 2010-05-15 Glenn Morris <rgm@gnu.org>
10993 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10994 Remove references to CVS, RCS and Old directories.
10996 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10998 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11001 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11003 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11004 (sh-mode-syntax-table): Give it a default value instead.
11005 (sh-header-marker): Make buffer-local.
11006 (sh-mode): Move make-local-variable to the corresponding setq.
11007 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11008 Use complete-with-action.
11010 * simple.el (prog-mode): New (abstract) major mode.
11011 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11012 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11014 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11016 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11017 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11018 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11019 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11020 (sql-escape-newlines-filter, sql-input-sender)
11021 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11023 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11025 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11027 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11028 latex-open-block and C-c / to latex-close-block.
11030 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11031 and C-c C-e to sgml-close-tag.
11033 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11035 * net/tramp.el (with-progress-reporter): Create reporter object
11036 only when the message would be displayed. Handle nested calls.
11037 (tramp-handle-load, tramp-handle-file-local-copy)
11038 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11039 (tramp-maybe-send-script, tramp-find-shell):
11040 Use `with-progress-reporter'.
11041 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11044 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11045 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11046 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11047 Use `with-progress-reporter'.
11049 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11051 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11052 process everytime when spellchecking from the minibuffer (bug#6143).
11054 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11056 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11058 * dos-fns.el: Add "dos-" prefix for namespace control.
11059 (convert-standard-filename): Define as alias for
11060 dos-convert-standard-filename but only if applicable.
11062 2010-05-12 Alan Mackenzie <acm@muc.de>
11064 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11065 Push the mark at the start of these functions when appropriate.
11067 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11069 * minibuffer.el (completion-cycle-threshold): New custom var.
11070 (completion--do-completion): Use it.
11071 (minibuffer-complete): Use cycling if appropriate.
11073 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11075 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11076 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11078 2010-05-11 Juri Linkov <juri@jurta.org>
11080 * scroll-all.el (scroll-all-check-to-scroll):
11081 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11083 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11085 * iimage.el (iimage-mode-map): Move initialization into declaration.
11086 (iimage-mode-buffer): Use with-silent-modifications.
11087 Simplify calling convention. Adjust callers.
11088 (iimage-mode): Don't run hook redundantly.
11090 * minibuffer.el (completion-pcm--pattern->regex):
11091 Fix last change (bug#6160).
11093 2010-05-10 Juri Linkov <juri@jurta.org>
11095 Remove nodes visited during Isearch from the Info history.
11096 * info.el (Info-isearch-initial-history)
11097 (Info-isearch-initial-history-list): New variables.
11098 (Info-isearch-start): Record initial values of
11099 Info-isearch-initial-history and Info-isearch-initial-history-list.
11100 Add Info-isearch-end to isearch-mode-end-hook.
11101 (Info-isearch-end): New function.
11103 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11105 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11106 format string, in order to work around a bug in pdksh.
11107 Reported by Gilles Pion <gpion@lfdj.com>.
11108 (tramp-handle-verify-visited-file-modtime): Do not send a command
11109 when the connection is not established.
11110 (tramp-handle-set-file-times): Simplify the check for utc.
11112 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11114 Fix use of `filter-buffer-substring' (rework previous change).
11115 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11116 (cua-repeat-replace-region):
11117 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11118 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11119 (cua-cut-region-to-global-mark): Use it.
11121 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11123 * progmodes/sql.el: Version 2.1.
11124 (sql-product-alist): Redesign structure of product info.
11125 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11126 (sql-port, sql-port-history): New variables.
11127 (sql-interactive-product): New variable.
11128 (sql-send-terminator): New variable.
11129 (sql-imenu-generic-expression): Add "Types" imenu entry.
11130 (sql-oracle-login-params, sql-sqlite-login-params)
11131 (sql-mysql-login-params, sql-solid-login-params)
11132 (sql-sybase-login-params, sql-informix-login-params)
11133 (sql-ingres-login-params, sql-ms-login-params)
11134 (sql-postgres-login-params, sql-interbase-login-params)
11135 (sql-db2-login-params, sql-linter-login-params)
11136 (sql-oracle-scan-on): New variables.
11137 (sql-mode-map): Add C-c C-i to start interactive mode.
11138 (sql-mode-menu): Update existing menu entries.
11139 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11140 (sql-mode-oracle-font-lock-keywords)
11141 (sql-mode-postgres-font-lock-keywords)
11142 (sql-mode-ms-font-lock-keywords)
11143 (sql-mode-sybase-font-lock-keywords)
11144 (sql-mode-informix-font-lock-keywords)
11145 (sql-mode-interbase-font-lock-keywords)
11146 (sql-mode-ingres-font-lock-keywords)
11147 (sql-mode-solid-font-lock-keywords)
11148 (sql-mode-mysql-font-lock-keywords)
11149 (sql-mode-sqlite-font-lock-keywords)
11150 (sql-mode-db2-font-lock-keywords)
11151 (sql-mode-linter-font-lock-keywords): Update initialization to
11152 reduce run-time complexity.
11153 (sql-add-product, sql-del-product): New functions.
11154 (sql-set-product-feature, sql-get-product-feature): New functions.
11155 (sql-product-font-lock): Update product API.
11156 (sql-add-product-keywords): New function.
11157 (sql-highlight-product): Update product API.
11158 (sql-help-list-products): New function.
11159 (sql-help): Dynamically lists free and non-free products.
11160 (sql-get-login): Correct bug in handling history and added
11162 (sql-copy-column): Copy without properties.
11163 (sqli-input-sender): Apply filters to SQLi input.
11164 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11165 Implement as a filter.
11166 (sql-escape-newlines-filter): Implement as a filter.
11167 (sql-remove-tabs-filter): New function.
11168 (sql-send-magic-terminator): New function.
11169 (sql-send-string): Implement magic terminator.
11170 (sql-send-region): Use `sql-send-string'.
11171 (sql-interactive-mode): Use product API.
11172 (sql-product-interactive): Use product API.
11173 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11174 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11175 (sql-db2, sql-linter): Use `sql-product-interactive'.
11176 (sql-connect): New function.
11177 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11178 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11179 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11180 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11183 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11185 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11186 New custom variable.
11187 (completion-pcm--string->pattern): Use it.
11188 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11189 Make it handle any symbol as `any'.
11190 (completion-pcm--merge-completions): Extract common suffix for the new
11191 `prefix' symbol as well.
11192 (completion-substring--all-completions): Use the new `prefix' symbol.
11194 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11196 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11198 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11199 (tramp-compat-funcall): New defmacro.
11200 (tramp-compat-line-beginning-position)
11201 (tramp-compat-line-end-position)
11202 (tramp-compat-temporary-file-directory)
11203 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11204 (tramp-compat-copy-file, tramp-compat-copy-directory)
11205 (tramp-compat-delete-file, tramp-compat-delete-directory)
11206 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11207 * net/tramp.el (top, with-progress-reporter)
11208 (tramp-rfn-eshadow-setup-minibuffer)
11209 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11210 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11211 (tramp-completion-mode-p, tramp-check-for-regexp)
11212 (tramp-open-connection-setup-interactive-shell)
11213 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11214 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11215 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11216 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11217 (tramp-reporter-dump-variable, tramp-load-report-modules)
11218 (tramp-append-tramp-buffers)
11219 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11221 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11223 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11225 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11226 buffer-modtime. Adjust users.
11228 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11230 * international/mule.el (auto-coding-alist): Only purecopy
11231 car of each item, not the whole list (Bug#6083).
11233 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11235 * progmodes/js.el (js-mode): Make paragraph variables local before
11236 calling c-setup-paragraph-variables (Bug#6071).
11238 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11240 * composite.el (compose-region, reference-point-alist): Fix typos
11241 in the doc strings.
11243 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11245 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11246 gnuplot's "set" command.
11248 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11250 * abbrev.el (last-abbrev-text): Doc fix.
11251 (abbrev-prefix-mark): Don't escape parenthesis.
11253 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11255 * composite.el (find-composition): Doc fix.
11257 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11259 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11260 (sql-oracle-program, sql-sqlite-options)
11261 (sql-query-placeholders-and-send): Doc fixes.
11262 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11263 (sql-imenu-generic-expression, sql-buffer)
11264 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11265 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11266 (sql-mode-sybase-font-lock-keywords)
11267 (sql-mode-informix-font-lock-keywords)
11268 (sql-mode-interbase-font-lock-keywords)
11269 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11270 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11271 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11272 (sql-product-feature, sql-highlight-product)
11273 (comint-line-beginning-position, sql-rename-buffer)
11274 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11275 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11276 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11277 Fix typos in docstrings.
11279 2010-05-08 Juri Linkov <juri@jurta.org>
11281 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11282 property instead of `invisible' and `after-string' (bug#5998).
11284 2010-05-08 Juri Linkov <juri@jurta.org>
11286 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11288 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11290 * filecache.el (file-cache-add-directory-list)
11291 (file-cache-add-directory-recursively): Fix typos in docstrings.
11293 2010-05-08 Kenichi Handa <handa@m17n.org>
11295 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11296 (gujarati-composable-pattern): Fix typo.
11298 2010-05-08 Kenichi Handa <handa@m17n.org>
11300 * language/indian.el (oriya-composable-pattern)
11301 (tamil-composable-pattern, malayalam-composable-pattern):
11302 Add two-part vowels to "v" (vowel sign).
11304 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11306 * files.el (copy-directory): Handle symlinks (Bug#5982).
11308 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11310 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11311 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11314 2010-05-08 Glenn Morris <rgm@gnu.org>
11316 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11318 * minibuffer.el (completion-at-point): Doc fix.
11320 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11322 * electric.el (Electric-command-loop): Minor tweak.
11324 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11325 better with dedicated windows.
11327 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11329 * Version 23.2 released.
11331 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11332 Stefan Monnier <monnier@iro.umontreal.ca>
11334 Highlight vendor specific properties.
11335 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11336 (css-proprietary-property): New face.
11337 (css-font-lock-keywords): Use them.
11339 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11341 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11343 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11345 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11346 * files.el (auto-mode-alist): Remove redundant entries.
11348 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11349 * simple.el (auto-save-mode): Move from files.el.
11350 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11352 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11354 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11356 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11358 * mail/binhex.el (binhex-decode-region-internal)
11359 * mail/uudecode.el (uudecode-decode-region-internal)
11360 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11361 (dns-read-type, dns-query)
11362 * pgg-parse.el (pgg-parse-armor)
11363 * pgg.el (pgg-verify-region)
11364 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11367 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11369 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11371 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11373 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11374 * emulation/cua-base.el (cua-repeat-replace-region):
11375 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11376 (cua-cut-region-to-global-mark):
11377 Remove text properties with `set-text-properties'.
11379 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11381 * net/tramp.el (top, with-progress-reporter):
11382 Use `symbol-function' inside `funcall'.
11384 * net/tramp-compat.el (tramp-compat-file-attributes)
11385 (tramp-compat-delete-file, tramp-compat-delete-directory):
11386 Handle only `wrong-number-of-arguments' error.
11388 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11389 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11392 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11394 * minibuffer.el (completion--sreverse, completion--common-suffix):
11396 (completion-pcm--merge-completions): Extract common suffix when safe.
11398 * emacs-lisp/easy-mmode.el (define-minor-mode):
11399 Make :variable more flexible.
11400 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11402 2010-05-05 Juri Linkov <juri@jurta.org>
11404 Add `slow' and `history' tags to the desktop data.
11406 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11407 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11408 (Info-finder-find-node): Require `finder.el' to be able
11409 to restore node from the desktop.
11410 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11411 data `Info-history' and `slow' tag in the assoc list.
11412 (Info-restore-desktop-buffer): Don't restore nodes with the
11413 `slow' tag. Restore `Info-history'.
11415 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11417 Add FORCE argument to `delete-file'.
11419 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11420 forcing to delete the temporary file.
11421 (ange-ftp-delete-file): Add FORCE arg.
11422 (ange-ftp-rename-remote-to-remote)
11423 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11424 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11425 Force file deletion.
11427 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11429 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11430 (tramp-handle-make-symbolic-link, tramp-handle-load)
11431 (tramp-do-copy-or-rename-file-via-buffer)
11432 (tramp-do-copy-or-rename-file-directly)
11433 (tramp-do-copy-or-rename-file-out-of-band)
11434 (tramp-handle-process-file, tramp-handle-call-process-region)
11435 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11436 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11437 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11439 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11440 (tramp-fish-handle-make-symbolic-link)
11441 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11443 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11444 Use `tramp-compat-delete-file'.
11446 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11447 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11449 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11450 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11452 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11453 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11454 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11455 Use `tramp-compat-delete-file'.
11457 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * subr.el (add-minor-mode): Use push.
11461 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11462 * emulation/edt.el (edt-select-mode): Simplify.
11464 Use define-minor-mode in more cases.
11465 * term/tvi970.el (tvi970-set-keypad-mode):
11466 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11467 (normal-erase-is-backspace-mode):
11468 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11469 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11470 (get-scroll-bar-mode): New function.
11471 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11473 Use define-minor-mode for less obvious cases.
11474 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11475 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11476 * international/iso-ascii.el (iso-ascii-mode):
11477 * frame.el (auto-raise-mode, auto-lower-mode):
11478 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11480 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11482 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11483 in order to see error messages for failed logins.
11485 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11487 * diff.el (diff-sentinel):
11489 * epg.el (epg--make-temp-file, epg-decrypt-string)
11490 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11492 * jka-compr.el (jka-compr-partial-uncompress)
11493 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11495 * server.el (server-sentinel): Use delete-file's new FORCE arg
11498 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11500 Use define-minor-mode where applicable.
11501 * view.el (view-mode):
11502 * type-break.el (type-break-query-mode)
11503 (type-break-mode-line-message-mode):
11504 * textmodes/reftex.el (reftex-mode):
11505 * term/vt100.el (vt100-wide-mode):
11506 * tar-mode.el (tar-subfile-mode):
11507 * savehist.el (savehist-mode):
11508 * ibuf-ext.el (ibuffer-auto-mode):
11509 * composite.el (auto-composition-mode):
11510 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11511 Use define-minor-mode.
11512 (vhdl-mode): Use static mode-line format.
11513 (vhdl-mode-line-update): Delete.
11514 (vhdl-create-mode-menu, vhdl-activate-customizations)
11515 (vhdl-hs-minor-mode): Don't bother calling it.
11517 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11519 * simple.el (with-wrapper-hook): Move.
11520 (buffer-substring-filters): Mark obsolete.
11521 (filter-buffer-substring-functions): New variable.
11522 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11524 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11525 Michael Albinus <michael.albinus@gmx.de>
11527 Implement compression for inline methods.
11529 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11530 (tramp-copy-size-limit): Allow also nil.
11531 (tramp-inline-compress-commands): New defconst.
11532 (tramp-find-inline-compress, tramp-get-inline-compress)
11533 (tramp-get-inline-coding): New defuns.
11534 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11535 replaced by `tramp-get-inline-coding'.
11536 (tramp-handle-file-local-copy, tramp-handle-write-region)
11537 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11539 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11542 Remove unused functions.
11544 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11545 Set find-tag-default-function as a variable rather than a property.
11547 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11548 * progmodes/etags.el (tags-completion-at-point-function):
11549 Remove left over interactive spec. Add autoloading stub.
11550 (complete-tag): Use tags-completion-at-point-function.
11552 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11554 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11556 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11558 * ido.el (ido-init-completion-maps): Remove C-v binding.
11559 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11561 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11563 * minibuffer.el (tags-completion-at-point-function): New function.
11564 (completion-at-point-functions): Use it.
11566 * progmodes/etags.el (complete-tag): Revert last change.
11568 2010-04-29 Alan Mackenzie <acm@muc.de>
11570 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11571 off-by-one error (in end of macro position).
11573 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11575 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11576 firefox is absent. Don't autoload.
11577 (browse-url-galeon-program): Don't autoload.
11579 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11581 * bindings.el (complete-symbol): Move into minibuffer.el.
11583 * minibuffer.el (complete-tag): Move from etags.el. If tags
11584 completion cannot be performed, return nil instead of signalling
11586 (completion-at-point): Make it an alias for complete-symbol.
11587 (complete-symbol): Move from bindings.el, and replace with the
11588 body of completion-at-point.
11590 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11592 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11594 * net/tramp.el (tramp-remote-selinux-p): New defun.
11595 (tramp-handle-file-selinux-context)
11596 (tramp-handle-set-file-selinux-context): Use it.
11598 2010-04-28 Sam Steingold <sds@gnu.org>
11600 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11601 `safe-local-variable' if the value is a string or a symbol with
11602 the property `bug-reference-url-format'.
11604 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11606 * progmodes/bug-reference.el (bug-reference-url-format):
11607 Revert 2010-04-27 change due to security risk.
11609 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11611 Make it possible to locally disable a globally enabled mode.
11612 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11613 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11614 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11615 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11616 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11617 that subsequent hooks get a chance to disable it.
11619 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11622 Avoid re-enabling a minor mode after the user turned the minor mode
11623 off if MODE-enable-in-buffers is run twice (typically once from
11624 fundamental-mode's after-change-major-mode-hook and a second time from
11625 run-mode-hook's own after-change-major-mode-hook).
11627 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11629 2010-04-27 Sam Steingold <sds@gnu.org>
11631 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11632 `safe-local-variable' if the value is a string or a function, as
11633 documented and implemented on 2010-04-02.
11635 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11637 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11638 when method is 'kill.
11640 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11642 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11643 condition in default directory check.
11644 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11645 Kill ispell process when killing its associated buffer.
11647 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11649 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11650 but we aren't using it.
11652 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11654 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11655 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11657 2010-04-24 Glenn Morris <rgm@gnu.org>
11659 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11660 Ignore VCS-ignore files, and deleted nextstep preferences files.
11661 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11662 (authors-ambiguous-files): New list.
11663 (authors-valid-file-names): Add some deleted files.
11664 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11665 (authors-disambiguate-file-name): New function. (Bug#5501)
11666 (authors-canonical-file-name): Doc fix.
11667 Don't warn about obsolete files.
11668 (authors-canonical-file-name, authors-scan-el):
11669 Use authors-disambiguate-file-name.
11671 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11672 Add autoload cookies.
11673 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11674 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11675 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11676 They have definitions / compiler macros in cl.el.
11677 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11678 Replace manual autoloads with generated ones.
11679 (htmlfontify-unload-rgb-file): Remove autoload.
11680 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11682 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11684 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11685 (byte-compile-setq-default): Optimize for the
11686 single-var case and don't call byte-compile-form in this case to avoid
11687 inf-loop with byte-compile-set-default.
11689 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11691 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11693 Implement SELINUX backends.
11695 * net/tramp.el (tramp-file-name-handler-alist):
11696 Add `file-selinux-context' and `set-file-selinux-context'.
11697 (tramp-handle-file-selinux-context)
11698 (tramp-handle-set-file-selinux-context): New defuns.
11699 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11700 Handle PRESERVE-SELINUX-CONTEXT.
11702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11703 Add `file-selinux-context' and `set-file-selinux-context'.
11704 (tramp-gvfs-handle-file-selinux-context)
11705 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11706 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11708 * net/ange-ftp.el (ange-ftp-copy-file):
11709 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11710 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11711 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11712 Add PRESERVE-SELINUX-CONTEXT.
11714 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11716 Synchronize with Tramp repository.
11718 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11719 (tramp-action-process-alive, tramp-action-out-of-band)
11720 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11721 (tramp-exists-file-name-handler): Fix docstring.
11722 (with-progress-reporter): New defmacro.
11723 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11724 (tramp-maybe-open-connection): Use it.
11726 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11728 Detect ssh 'ControlMaster' argument automatically in some cases.
11730 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11731 (tramp-default-method): Use it.
11733 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11735 * net/tramp.el (tramp-handle-copy-file): Add new optional
11736 parameter `preserve-selinux-context'.
11737 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11739 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11741 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11742 Ensure, that non remote files are still checked. Oops.
11744 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11748 * icomplete.el (icomplete-completions): Use `non-essential'.
11750 * net/tramp.el (tramp-connectable-p): New defun.
11751 (tramp-handle-expand-file-name)
11752 (tramp-completion-handle-file-name-all-completions)
11753 (tramp-completion-handle-file-name-completion): Use it.
11755 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11757 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11759 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11761 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11763 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11765 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11768 * info.el (info-tool-bar-map): Add labels.
11770 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11772 * cus-edit.el (custom-commands): Add labels for tool bar.
11773 (custom-buffer-create-internal, Custom-mode): Adjust for
11774 labels in custom-commands.
11776 * dynamic-setting.el: Renamed from font-setting.el.
11778 2010-04-21 John Wiegley <jwiegley@gmail.com>
11780 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11781 toggles the use of virtual buffers.
11782 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11783 (ido-toggle-virtual-buffers): New function.
11785 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11787 Use `define-derived-mode'; fix window selection; doc fixes.
11788 * play/tetris.el (tetris, tetris-update-speed-function)
11789 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11790 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11791 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11792 (tetris-pause-game): Fix typos in docstrings.
11793 (tetris-mode-map, tetris-null-map):
11794 Move initialization into declaration.
11795 (tetris-mode): Define with `define-derived-mode';
11796 set show-trailing-whitespace to nil.
11797 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11799 2010-04-21 Karel Klíč <kklic@redhat.com>
11801 * files.el (backup-buffer): Handle SELinux context, and return it
11802 if a backup was made by renaming.
11803 (backup-buffer-copy): Set SELinux context to the target file.
11804 (basic-save-buffer): Set SELinux context of the newly written file.
11805 (basic-save-buffer-1): Now it also returns any SELinux context.
11806 (basic-save-buffer-2): Set SELinux context of the newly created file,
11808 * net/tramp.el (tramp-file-name-for-operation):
11809 Add file-selinux-context.
11811 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11813 Make the log-edit comments use RFC822 format throughout.
11815 * vc.el (vc-checkin, vc-modify-change-comment):
11816 Adjust to new vc-start/finish-logentry.
11817 (vc-find-conflicted-file): New command.
11818 (vc-transfer-file): Adjust to new vc-checkin.
11819 (vc-next-action): Improve scoping.
11821 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11822 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11824 * vc-git.el (vc-git-log-edit-mode): Remove.
11825 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11826 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11828 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11829 (vc-start-logentry): Remove argument `extra'.
11830 (vc-finish-logentry): Remove extra args.
11832 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11833 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11834 (vc-bzr-conflicted-files): New function.
11836 * log-edit.el (log-edit-extra-flags)
11837 (log-edit-before-checkin-process): Remove.
11838 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11839 (log-edit-headers-alist): New var.
11840 (log-edit-header-contents-regexp): New const.
11841 (log-edit-match-to-eoh): New function.
11842 (log-edit-font-lock-keywords): Use them.
11843 (log-edit): Insert a "Summary:" header as default.
11844 (log-edit-mode): Mark font-lock rules as case-insensitive.
11845 (log-edit-done): Cleanup headers.
11846 (log-view-process-buffer): Remove.
11847 (log-edit-extract-headers): New function to replace it.
11849 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11851 * subr.el (default-direction-reversed): Remove obsolescence info.
11853 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11855 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11858 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11859 I.e. include text after point in the completion region.
11860 Also, return nil when we're not after/in a symbol.
11862 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11863 default enable-multibyte-characters.
11865 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11867 * international/mule.el: Help the user choose a valid coding-system.
11868 (read-buffer-file-coding-system): New function.
11869 (set-buffer-file-coding-system): Use it. Prompt the user if the
11870 coding-system cannot encode all the chars.
11872 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11873 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11874 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11875 Don't use *vc-bzr-shelve*.
11877 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11879 Fix the version number for added files.
11880 * vc-hg.el (vc-hg-working-revision): Check if the file is
11881 registered after hg parent fails (Bug#5961).
11883 2010-04-19 Glenn Morris <rgm@gnu.org>
11885 * htmlfontify.el (htmlfontify-buffer)
11886 (htmlfontify-copy-and-link-dir): Autoload entry points.
11888 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11890 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11891 name relative to the project root (Bug#5960).
11893 2010-04-19 Glenn Morris <rgm@gnu.org>
11895 * vc-git.el (vc-git-print-log): Doc fix.
11897 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11899 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11901 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11903 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11904 default settings (Bug#5928).
11906 2010-04-19 Glenn Morris <rgm@gnu.org>
11908 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11910 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11912 2010-04-19 Kenichi Handa <handa@m17n.org>
11914 * language/indian.el (malayalam-composable-pattern): Fix previous
11915 change (add U+0D4D "SIGN VIRAMA").
11916 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11917 (tamil-composable-pattern): Fix typo in the regexp.
11918 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11919 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11920 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11922 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11924 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11925 paragraph-separate (Bug#5821).
11927 2010-04-19 Juri Linkov <juri@jurta.org>
11929 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11931 * info.el (Info-find-node-2): Comment out code that skips
11933 (Info-mouse-follow-link): New command.
11934 (Info-link-keymap): New keymap.
11935 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11936 Return a string with links instead of inserting breadcrumbs
11937 to the Info buffer.
11938 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11939 Instead of putting the `invisible' text property over the Info
11940 header, make an overlay over the Info header with the `invisible'
11941 property and `after-string' set to the string returned by
11942 `Info-breadcrumbs'.
11944 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11946 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11947 Reported by monkey@sandpframing.com.
11949 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11952 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11953 available in the "keyseq cache" any more.
11955 * custom.el (defcustom): Add edebug spec.
11957 2010-04-18 Juri Linkov <juri@jurta.org>
11959 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11961 * view.el (view-file, view-buffer): Move test for special mode-class
11962 from view-file to view-buffer.
11964 * tar-mode.el (tar-extract): Turn if's into one cond
11965 like in arc-mode.el.
11967 2010-04-18 Juri Linkov <juri@jurta.org>
11969 Add 7z archive format support (bug#5475).
11971 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11972 (archive-7z-extract): New defcustom.
11973 (archive-find-type): Add magic string for 7z.
11974 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11975 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11976 `buffer' arg of `call-process'.
11977 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11978 call the function `archive-7z-extract' with the variable
11979 `archive-7z-extract' let-bound to `archive-zip-extract'.
11980 (archive-7z-summarize, archive-7z-extract): New functions.
11982 * international/mule.el (auto-coding-alist):
11983 * files.el (auto-mode-alist): Add 7z file extension.
11985 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11987 * loadup.el: Setup hash-cons for pure data.
11989 Fix duplicate entries in cedet's loaddefs.el files.
11990 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11991 Should make most file-local generated-autoload-file unnecessary.
11992 (print-readably): Silence warnings.
11993 (autoload-find-destination): Take load-name as an arg to make sure
11994 it's the same as the one that will be in the file.
11995 (autoload-generate-file-autoloads): Adjust to above changes.
11996 Try to make the dataflow a bit simpler.
11998 * cvs-status.el (cvs-refontify): Remove unused.
12000 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12002 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12004 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12005 twos-complement mode.
12007 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12009 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12010 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12011 (calc-inverse): Add "Option" to message, as appropriate.
12012 (calc-hyperbolic): Add "Option" to message, as appropriate.
12013 (calc-option, calc-is-option): New functions.
12015 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12016 (calc-option-prefix-help): New function.
12018 * calc/calc-misc.el (calc-help): Add "Option" entry.
12020 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12021 (calc-option-flag): New variable.
12022 (calc-do): Set `calc-option-flag to nil.
12023 (calc-set-mode-line): Add "Opt " as appropriate.
12025 2010-04-16 Juri Linkov <juri@jurta.org>
12027 Move scrolling commands from simple.el to window.el
12028 because their primitives are implemented in window.c.
12030 * simple.el (scroll-error-top-bottom)
12031 (scroll-up-command, scroll-down-command, scroll-up-line)
12032 (scroll-down-line, scroll-other-window-down)
12033 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12034 * window.el (scroll-error-top-bottom)
12035 (scroll-up-command, scroll-down-command, scroll-up-line)
12036 (scroll-down-line, scroll-other-window-down)
12037 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12038 Move from simple.el to window.el because their primitives are
12039 implemented in window.c.
12041 2010-04-16 Juri Linkov <juri@jurta.org>
12043 * isearch.el (isearch-lookup-scroll-key): Check both
12044 `isearch-scroll' and `scroll-command' properties.
12045 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12047 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12049 * simple.el (scroll-up-command, scroll-down-command)
12050 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12052 2010-04-15 Juri Linkov <juri@jurta.org>
12054 * simple.el (scroll-up-command, scroll-down-command)
12055 (scroll-up-line, scroll-down-line): Put `scroll-command'
12056 property on the these symbols. Remove them from
12057 `scroll-preserve-screen-position-commands'.
12059 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12060 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12061 Remove it from `scroll-preserve-screen-position-commands'.
12063 * isearch.el (isearch-allow-scroll): Doc fix.
12065 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12067 * net/tramp.el (tramp-error-with-buffer): Don't show the
12068 connection buffer when we are in completion mode.
12069 (tramp-file-name-handler): Catch the error for some operations
12070 when we are in completion mode. This gives the user the chance to
12071 correct the file name in the minibuffer.
12073 2010-04-15 Glenn Morris <rgm@gnu.org>
12075 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12077 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12079 Simplify by using `define-derived-mode'.
12080 * info.el (Info-mode):
12081 * calendar/todo-mode.el (todo-mode):
12082 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12083 (gomoku-mode-map): Move initialization into declaration.
12085 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12088 * ido.el (ido-file-name-all-completions-1):
12089 * minibuffer.el (minibuffer-completion-help):
12090 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12092 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12094 * simple.el (non-essential): New var.
12096 Add a new field `location' to bookmarks for non-file bookmarks.
12097 * bookmark.el (bookmark-location): Use the new field, if present.
12098 (bookmark-insert-location): Undo last change, not needed any more.
12099 * man.el (Man-bookmark-make-record):
12100 * woman.el (woman-bookmark-make-record): Add `location' field.
12102 2010-04-14 Juri Linkov <juri@jurta.org>
12104 * simple.el (scroll-error-top-bottom): New defcustom.
12105 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12107 * emulation/pc-select.el (pc-select-override-scroll-error):
12108 Obsolete in favor of `scroll-error-top-bottom'.
12110 2010-04-14 Juri Linkov <juri@jurta.org>
12112 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12113 `scroll-up-command' and `M-v' to `scroll-down-command'.
12115 * emulation/cua-rect.el (cua--init-rectangles):
12116 * forms.el (forms--change-commands):
12117 * image-mode.el (image-mode-map):
12118 Remap scroll-down-command and scroll-up-command
12119 in addition to scroll-down and scroll-up.
12121 2010-04-14 Juri Linkov <juri@jurta.org>
12123 * mwheel.el (scroll-preserve-screen-position-commands):
12124 Add mwheel-scroll to this list of commands.
12126 * simple.el (scroll-preserve-screen-position-commands):
12127 Add scroll-up-command, scroll-down-command, scroll-up-line,
12128 scroll-down-line to this list of commands.
12130 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12132 * obsolete/complete.el: Move from lisp/complete.el.
12134 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12136 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12137 to the minor mode function now turns the mode ON unconditionally.
12139 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12141 * vc-dir.el (vc-dir-kill-line): New command.
12142 (vc-dir-mode-map): Bind it to C-k.
12144 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12146 * woman.el: Add bookmark declarations to silence the compiler.
12147 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12148 step to compatibility between man and woman bookmarks.
12149 Adjust for Man-default-bookmark-title renaming.
12150 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12152 * man.el: Add bookmark declarations to silence the compiler.
12153 (Man-name-local-regexp): Make it match NAME as well.
12154 (Man-getpage-in-background): Return the buffer.
12155 (Man-notify-when-ready): Use `case'.
12156 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12157 Don't hardcode "NAME". Simplify.
12158 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12159 Rename from Man-bookmark-make-record.
12160 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12161 we have the actual man-args. Use Man-getpage-in-background rather
12162 than `man' since the arg is already processed. Let bookmark.el do the
12163 window handling. Only wait for the relevant process.
12164 Don't forget to autoload.
12166 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12168 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12170 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12172 (woman-mode): Setup bookmark support.
12174 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12175 (man-bookmark-jump): New functions.
12176 (Man-mode): Setup bookmark support.
12178 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12180 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12181 recognize ssh-keygen prompt (Bug#2817).
12183 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12185 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12187 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12189 Synchronize with Tramp repository.
12191 * net/tramp.el (tramp-completion-function-alist)
12192 (tramp-file-name-regexp, tramp-chunksize)
12193 (tramp-local-coding-commands, tramp-remote-coding-commands):
12195 (tramp-remote-process-environment): Use `format' instead of `concat'.
12196 (tramp-handle-directory-files-and-attributes)
12197 (tramp-get-remote-path): Use `copy-tree'.
12198 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12199 compatibility: Use `completion-ignore-case' if
12200 `read-file-name-completion-ignore-case' does not exist.
12201 (tramp-do-copy-or-rename-file-directly): Do not use
12202 `tramp-handle-file-remote-p'.
12203 (tramp-do-copy-or-rename-file-out-of-band):
12204 Use `tramp-compat-delete-directory'.
12205 (tramp-do-copy-or-rename-file-out-of-band)
12206 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12207 Use `format-spec-make'.
12208 (tramp-find-foreign-file-name-handler)
12209 (tramp-advice-make-auto-save-file-name)
12210 (tramp-set-auto-save-file-modes): Remove superfluous check for
12211 `stringp'. This is done inside `tramp-tramp-file-p'.
12212 (tramp-debug-outline-regexp): New defconst.
12213 (tramp-get-debug-buffer): Use it.
12214 (tramp-check-for-regexp): Use (forward-line 1).
12215 (tramp-set-auto-save-file-modes): Adapt version check.
12217 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12218 Wrap call of `featurep' for 2nd argument.
12219 (tramp-compat-make-temp-file): Simplify fallback implementation.
12220 (tramp-compat-copy-tree): Remove function.
12221 (tramp-compat-delete-directory): Provide implementation for older
12224 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12225 Do not use `tramp-fish-handle-file-attributes.
12227 * net/trampver.el: Update release number.
12229 2010-04-10 Glenn Morris <rgm@gnu.org>
12231 * progmodes/compile.el (compilation-save-buffers-predicate):
12232 Add missing :version tag.
12234 2010-04-09 Sam Steingold <sds@gnu.org>
12236 * progmodes/compile.el (compilation-save-buffers-predicate):
12237 Remove the "autoload" cookie.
12239 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12240 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12241 and `bug-reference-prog-mode' can be used in hooks directly.
12243 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12245 Add --author support to git commit.
12246 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12247 (vc-git-log-edit-mode): New minor mode.
12248 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12251 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12253 * vc-hooks.el, vc-git.el: Improve documentation comments.
12255 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12257 Fix some of the problems in defsubst* (bug#5728).
12258 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12259 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12261 2010-04-07 Sam Steingold <sds@gnu.org>
12263 * progmodes/compile.el (compilation-save-buffers-predicate):
12264 New custom variable.
12265 (compile, recompile): Pass it to `save-some-buffers'.
12267 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12269 * wid-edit.el (widget-choose): Move cursor to the second line of
12270 the buffer (Bug#5695).
12272 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12274 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12275 * vc.el (vc-print-log-setup-buttons): New function split out from
12276 vc-print-log-internal.
12277 (vc-log-internal-common): New function, a parametrized version of
12278 vc-print-log-internal.
12279 (vc-print-log-internal): Just call vc-log-internal-common with the
12281 (vc-incoming-outgoing-internal):
12282 (vc-log-incoming, vc-log-outgoing): New functions.
12283 (vc-log-view-type): New permanent local variable.
12285 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12287 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12288 of the dynamic bound vc-short-log.
12289 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12291 * vc-git.el (vc-git-log-outgoing): New function.
12292 (vc-git-log-view-mode): Use vc-log-view-type instead
12293 of the dynamic bound vc-short-log.
12295 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12296 of the dynamic bound vc-short-log. Highlight the tag.
12297 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12298 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12299 (vc-hg-incoming-mode): Remove.
12300 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12302 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12304 Fix default-directory for vc-root-diff.
12305 * vc.el (vc-root-diff): Bind default-directory to the root
12306 directory for the diff command.
12308 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12310 * progmodes/verilog-mode.el (verilog-forward-sexp):
12311 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12312 word keywords, suggested by Steve Pearlmutter.
12313 (verilog-pretty-declarations): Support lineup of declarations in
12315 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12316 fix bug for /* / comments.
12317 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12318 Speed up and simplfy as this is never called with a bound.
12319 (verilog-pretty-declarations): Enhance to line up declarations
12320 inside a parameter list, suggested by Alan Morgan.
12321 (verilog-pretty-expr): Tune assignment regular expression match
12322 string for corner cases; also use markers instead of character
12323 number as indent changes the later.
12325 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12327 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12328 as missing keyword.
12329 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12330 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12331 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12332 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12334 (verilog-keywords):
12335 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12336 1800-2009 keywords, including "global.".
12338 2010-04-06 John Wiegley <jwiegley@gmail.com>
12340 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12341 appearing in buffer list (if a live buffer name matched a recentf
12342 file basename). Should use uniquify to offer a real solution.
12344 2010-04-06 John Wiegley <jwiegley@gmail.com>
12346 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12347 comment to code, and add a :version tag.
12348 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12350 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12352 Enable recentf-mode if using virtual buffers.
12353 * ido.el (recentf-list): Declare for byte-compiler.
12354 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12355 (ido-make-buffer-list): Simplify.
12356 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12358 2010-04-05 Juri Linkov <juri@jurta.org>
12360 Scrolling commands which scroll a line instead of full screen.
12361 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12363 * simple.el (scroll-up-line, scroll-down-line): New commands.
12364 Put property isearch-scroll=t on them.
12366 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12369 2010-04-05 Juri Linkov <juri@jurta.org>
12371 Scrolling commands which do not signal errors at top/bottom.
12372 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12374 * simple.el (scroll-up-command, scroll-down-command): New commands.
12375 Put property isearch-scroll=t on them.
12377 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12378 `scroll-down-command' and [next] from `scroll-up' to
12379 `scroll-up-command'.
12381 * emulation/cua-base.el: Put property CUA=move on
12382 `scroll-up-command' and `scroll-down-command'.
12383 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12384 and `scroll-down-command' to `cua-scroll-down'.
12386 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12388 * help.el (describe-mode): Return nil.
12390 2010-04-04 John Wiegley <jwiegley@gmail.com>
12392 * ido.el (ido-use-virtual-buffers): New variable to indicate
12393 whether "virtual buffer" support is enabled for IDO.
12394 (ido-virtual): Face used to indicate virtual buffers in the list.
12395 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12396 exists, but a virtual buffer of that name does (which would be why
12397 it was in the list), recreate the buffer by reopening the file.
12398 (ido-make-buffer-list): If virtual buffers are being used, call
12399 `ido-add-virtual-buffers-to-list' before the make list hook.
12400 (ido-virtual-buffers): New variable which contains a copy of the
12401 current contents of the `recentf-list', albeit pared down for the
12402 sake of speed, and with proper faces applied.
12403 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12404 create a list of "virtual buffers" to present to the user in
12405 addition to the currently open set. Note that this logic could
12406 get rather slow if that list is too large. With the default
12407 `recentf-max-saved-items' of 200, there is little speed penalty.
12409 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12411 * font-lock.el: Require CL when compiling.
12412 (font-lock-turn-on-thing-lock): Use `case'.
12414 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12416 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12419 2010-04-02 Juri Linkov <juri@jurta.org>
12421 * ehelp.el (electric-help-orig-major-mode):
12422 New buffer-local variable.
12423 (electric-help-mode): Set it to original major-mode. Doc fix.
12424 (with-electric-help): Use `electric-help-orig-major-mode' instead
12425 of (default-value 'major-mode). Doc fix.
12426 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12428 2010-04-02 Sam Steingold <sds@gnu.org>
12430 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12431 `vc-hg-command' with a list of flags.
12433 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12434 Also accept "patch" and "RFE".
12435 (bug-reference-fontify): `bug-reference-url-format' can also be a
12436 function to be able to handle the bug kind.
12437 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12439 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12441 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12442 value to fboundp, it may not be a symbol.
12444 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12446 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12448 2010-03-31 Juri Linkov <juri@jurta.org>
12450 * simple.el (next-line, previous-line): Re-throw a signal
12451 with `signal' instead of using `ding'.
12452 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12454 2010-03-31 Juri Linkov <juri@jurta.org>
12456 * simple.el (keyboard-escape-quit): Raise deselecting the active
12457 region higher than exiting the minibuffer.
12458 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12460 2010-03-31 Juri Linkov <juri@jurta.org>
12462 * image.el (image-animated-p): Use `image-metadata' instead of
12463 `image-extension-data'. Get GIF extenstion data from metadata
12464 property `extension-data'.
12466 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12468 * simple.el (append-to-buffer): Simplify.
12470 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12472 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12473 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12475 2010-03-31 Kenichi Handa <handa@m17n.org>
12477 * language/sinhala.el (composition-function-table): Fix regexp for
12478 the new Unicode specification.
12480 * language/indian.el (devanagari-composable-pattern)
12481 (tamil-composable-pattern, kannada-composable-pattern)
12482 (malayalam-composable-pattern): Adjust for the new Unicode
12484 (bengali-composable-pattern, gurmukhi-composable-pattern)
12485 (gujarati-composable-pattern, oriya-composable-pattern)
12486 (telugu-composable-pattern): New variables to cope with the new
12487 Unicode specification. Use them in composition-function-table.
12489 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12491 Make tmm-menubar work for the Buffers menu again (bug#5726).
12492 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12493 vectors rather than cons cells, as used in menu-bar-update-buffers.
12495 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12497 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12498 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12499 electric punctuation for "{}();,:" (Bug#5586).
12501 * mail/sendmail.el (mail-default-directory): Doc fix.
12503 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12505 * mail/sendmail.el (mail-default-directory): Doc fix.
12507 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12509 * subr.el (version-regexp-alist, version-to-list)
12510 (version-list-<, version-list-=, version-list-<=)
12511 (version-list-not-zero, version<, version<=, version=): Doc fix.
12514 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12516 * vc.el (vc-root-diff): Doc fix.
12518 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12520 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12522 * simple.el (append-to-buffer): Fix last change.
12524 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12526 * simple.el (append-to-buffer): Ensure that point is preserved if
12527 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12530 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * files.el (auto-mode-case-fold): Change default to t.
12534 2010-03-30 Juri Linkov <juri@jurta.org>
12536 * dired-x.el (dired-omit-mode): Doc fix.
12538 2010-03-30 Juri Linkov <juri@jurta.org>
12540 * replace.el (occur-accumulate-lines): Move occur-engine related
12541 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12542 to be located after `occur-engine'.
12544 2010-03-30 Juri Linkov <juri@jurta.org>
12546 Make occur handle multi-line matches cleanly with context.
12547 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12549 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12550 (occur-engine): Add local variables `ret', `prev-after-lines',
12551 `prev-lines'. Use more arguments for `occur-context-lines'.
12552 Set first elem of its returned list to `data', and the second elem
12553 to `prev-after-lines'. Don't print the separator line.
12554 In the end, print remaining context after-lines.
12555 (occur-context-lines): Add new arguments `begpt', `endpt',
12556 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12557 after-lines of the previous match with before-lines of the
12558 current match and not overlap them. Return a list with two
12559 values: the output line and the list of context after-lines.
12561 2010-03-30 Juri Linkov <juri@jurta.org>
12563 * replace.el (occur-accumulate-lines): Fix a bug where the first
12564 context line at the beginning of the buffer was missing.
12566 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12568 * files.el: Make bidi-display-reordering safe variable for boolean
12571 2010-03-29 Phil Hagelberg <phil@evri.com>
12572 Chong Yidong <cyd@stupidchicken.com>
12574 * subr.el: Extend progress reporters to perform "spinning".
12575 (progress-reporter-update, progress-reporter-do-update):
12576 Handle non-numeric value arguments.
12577 (progress-reporter--pulse-characters): New var.
12579 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12581 * progmodes/compile.el (compilation-start): Fix regexp detection
12582 of initial cd command (Bug#5771).
12584 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12586 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12588 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12590 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12591 * progmodes/gdb-mi.el: Restore.
12592 * progmodes/gdb-ui.el: Remove.
12593 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12595 2010-03-25 Glenn Morris <rgm@gnu.org>
12597 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12598 all dired buffers, even tramp ones. (Bug#5755)
12600 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12602 Add "union tags" in mpc.el.
12603 * mpc.el: Remove backward compatibility code.
12604 (mpc-browser-tags): Change default.
12605 (mpc--find-memoize-union-tags): New var.
12606 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12607 (mpc-cmd-find): Handle the case where the playlist does not exist.
12609 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12610 (mpc-cmd-add): Use mpc-cmd-flush.
12611 (mpc-tagbrowser-tag-name): New fun.
12612 (mpc-tagbrowser-buf): Use it.
12613 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12615 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12618 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12619 Use replace-regexp-in-string.
12620 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12621 (makefile-imake-mode-syntax-table): Move init into defvar.
12622 (makefile-mode): Use define-derived-mode.
12624 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12625 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12626 not be present any more.
12628 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12630 * faces.el (set-face-attribute): Fix typo in docstring.
12631 (face-valid-attribute-values): Reflow docstring.
12633 2010-03-24 Glenn Morris <rgm@gnu.org>
12635 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12637 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12639 * indent.el (indent-for-tab-command): Doc fix.
12641 2010-03-24 Alan Mackenzie <acm@muc.de>
12643 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12644 Fix off-by-one error. Fixes bug #5747.
12646 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12648 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12649 (image-dired-read-comment): Doc fix.
12651 * json.el (json-object-type, json-array-type, json-key-type)
12652 (json-false, json-null, json-read-number):
12653 * minibuffer.el (completion-in-region-functions):
12654 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12655 (cal-tex-cursor-week):
12656 * emacs-lisp/trace.el (trace-function):
12657 * eshell/em-basic.el (eshell/printnl):
12658 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12659 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12660 * obsolete/levents.el (allocate-event, event-key, event-object)
12661 (event-point, event-process, event-timestamp, event-to-character)
12662 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12663 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12664 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12665 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12666 (reftex-highlight-selection): Fix typos in docstrings.
12668 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12670 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12672 2010-03-24 Glenn Morris <rgm@gnu.org>
12674 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12675 2008-02-13 without comment; mark it obsolete.
12676 (rmail-highlight-headers): Use rmail-highlight-face once more.
12678 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12680 * woman.el (woman2-process-escapes): Only consume the newline if
12681 the filler character is on a line by itself (Bug#5729).
12683 2010-03-24 Kenichi Handa <handa@m17n.org>
12685 * language/indian.el (devanagari-composable-pattern): Add more
12688 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12690 * net/trampver.el: Update release number.
12692 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12694 * net/tramp.el (tramp-find-executable):
12695 Use `tramp-get-connection-buffer'. Make the regexp for checking
12696 output of "wc -l" more robust.
12697 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12698 (tramp-open-connection-setup-interactive-shell): Remove workaround
12699 for OpenSolaris bug, it is not needed anymore.
12701 2010-03-24 Glenn Morris <rgm@gnu.org>
12703 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12705 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12707 * files.el (auto-mode-alist): Accept more verilog file patterns.
12709 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12711 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12713 2010-03-24 Glenn Morris <rgm@gnu.org>
12715 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12716 log-edit-before-checkin-process.
12718 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12720 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12722 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12723 (log-view-process-buffer, log-edit-extra-flags): Declare.
12725 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12727 2010-03-23 Sam Steingold <sds@gnu.org>
12729 Fix bug#5620: recalculate all markers on compilation buffer
12730 modifications, not on file modifications.
12731 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12732 variable: the buffer modification time, for buffers not associated with
12734 (compilation-mode): Create it.
12735 (compilation-filter): Update it.
12736 (compilation-next-error-function): Use it instead of
12737 `visited-file-modtime' for timestamp.
12739 2010-03-23 Juri Linkov <juri@jurta.org>
12741 Implement Occur multi-line matches.
12742 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12744 * replace.el (occur): Doc fix.
12745 (occur-engine): Set `begpt' to the beginning of the first line.
12746 Set `endpt' to the end of the last match line. At first, count
12747 line numbers between `origpt' and `begpt'. Split out code from
12748 `out-line' variable to new let-bindings `match-prefix' and
12749 `match-str'. In `out-line' add non-numeric prefix to all
12750 non-first lines of multi-line matches. Finally, count lines
12751 between `begpt' and `endpt' and add to `lines'.
12753 2010-03-23 Juri Linkov <juri@jurta.org>
12755 * replace.el (occur-accumulate-lines, occur-engine):
12756 Use `occur-engine-line' instead of duplicate code.
12757 (occur-engine-line): New function created from duplicate code
12758 in `occur-accumulate-lines' and `occur-engine'.
12760 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12761 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12763 2010-03-23 Juri Linkov <juri@jurta.org>
12765 * finder.el: Remove TODO tasks.
12767 * info.el (Info-finder-find-node): Add node "all"
12768 with all package info. Handle a list of multiple keywords
12769 separated by comma.
12770 (info-finder): In interactive use with a prefix argument,
12771 use `completing-read-multiple' to read a list of keywords
12772 separated by comma.
12774 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12776 Add a new completion style `substring'.
12777 * minibuffer.el (completion-basic--pattern): New function.
12778 (completion-basic-try-completion, completion-basic-all-completions):
12780 (completion-substring--all-completions)
12781 (completion-substring-try-completion)
12782 (completion-substring-all-completions): New functions.
12783 (completion-styles-alist): New style `substring'.
12785 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12787 Get rid of .elc files after removal of the corresponding .el.
12788 * Makefile.in (compile-clean): New target.
12789 (compile-main): Use it.
12791 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12793 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12794 don't do make there. When compiling with separate object dir, there
12795 is no Makefile there.
12797 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12799 Get rid of the ELCFILES abomination, again.
12800 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12801 (all, compile): Don't call compile-last.
12802 (compile-main): Build the "elcfiles" list dynamically.
12803 (compile-targets): New (internal) target.
12805 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12807 * Makefile.in (top_srcdir): Define.
12808 (abs_top_builddir): Define.
12809 (srcdir): Don't append `/..'.
12810 (EMACS): Use ${abs_top_builddir}.
12811 (all, compile, compile-always, compile-last): Don't set emacswd.
12812 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12814 (lisp): Use $(srcdir) instead of @srcdir@.
12816 2010-03-21 Juri Linkov <juri@jurta.org>
12818 Fix message of multi-line occur regexps and multi-buffer header lines.
12819 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12821 * replace.el (occur-1): Don't display regexp if it is longer
12822 than window-width. Use `query-replace-descr' to display regexp.
12823 (occur-engine): Don't display regexp in the buffer header for
12824 multi-buffer occur. Display a separate header line with total
12825 match count and regexp for multi-buffer occur.
12826 Use `query-replace-descr' to display regexp.
12828 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12830 * net/secrets.el: Fix parenthesis.
12831 (secrets-enabled): Fix parenthesis.
12833 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12835 Use more relative file and directory names.
12836 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12837 (setwins, setwins_almost, setwins_for_subdirs):
12838 Don't `cd'; output relative names.
12839 (all, compile, compile-always, compile-last): Set emacswd.
12840 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12841 Just cd to the lisp source dir so we can use relative file names.
12843 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12845 2010-03-20 Glenn Morris <rgm@gnu.org>
12847 * textmodes/rst.el: Use faces for font-lock customization, and make the
12848 old -face variables obsolete.
12849 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12850 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12851 (rst-block-face, rst-external-face, rst-definition-face)
12852 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12853 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12855 (rst-font-lock-keywords-function): Update for above changes.
12857 2010-03-20 Juri Linkov <juri@jurta.org>
12860 * obsolete/s-region.el: Move to obsolete.
12862 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12864 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12866 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12868 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12870 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12872 Add special markup processing for commit logs.
12873 * log-edit.el (log-edit-extra-flags): New variable.
12874 (log-edit): Add new argument MODE. Use that mode when non-nil
12875 instead of the log-view-mode.
12876 (log-view-process-buffer): New function.
12878 * vc.el: Document that the checkin method takes optional
12879 arguments. Document new backend specific method: log-view-mode.
12880 (vc-default-log-edit-mode): New function.
12881 (vc-checkin): Use a backend specific log-view-mode.
12882 Pass extra arguments to the checkin method.
12883 (vc-modify-change-comment): Pass a dummy extra argument.
12885 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12887 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12888 (vc-finish-logentry): Process the log buffer before passing it
12889 down. Pass log-edit-extra-flags.
12891 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12893 (log-edit-extra-flags, log-edit-before-checkin-process):
12896 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12898 (log-edit-extra-flags, log-edit-before-checkin-process):
12900 (vc-hg-log-edit-mode): New derived mode.
12902 * vc-arch.el (vc-arch-checkin):
12903 * vc-cvs.el (vc-cvs-checkin):
12904 * vc-git.el (vc-git-checkin):
12905 * vc-mtn.el (vc-mtn-checkin):
12906 * vc-rcs.el (vc-rcs-checkin):
12907 * vc-sccs.el (vc-sccs-checkin):
12908 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12910 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12912 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12915 2010-03-19 Glenn Morris <rgm@gnu.org>
12917 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12919 2010-03-18 Glenn Morris <rgm@gnu.org>
12921 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12923 * replace.el (query-replace-history): Give it a doc string.
12924 (map-query-replace-regexp): Use query-replace-from-history-variable
12925 and query-replace-to-history-variable.
12927 * mail/hashcash.el (declare-function): Remove duplicate definition.
12929 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12930 Make it an obsolete alias for report-emacs-bug-address.
12931 (message-strip-special-text-properties): Declare.
12932 (report-emacs-bug): Remove test for a pretest bug address.
12933 Combine message-mode-specific code.
12935 * mail/supercite.el: Don't require sendmail.
12936 (mh-in-header-p): Declare rather than using with-no-warnings.
12937 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12938 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12940 * calendar/cal-french.el: Convert to utf-8.
12942 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12945 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12947 * net/secrets.el (secrets-enabled): New variable. Use it instead
12950 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12952 * net/secrets.el (top): Register the D-Bus signals only when the
12953 service "org.freedesktop.secrets" can be pinged.
12954 Provide subfeature `enabled'.
12956 2010-03-14 Juri Linkov <juri@jurta.org>
12958 Add finder unknown keywords.
12960 * finder.el (finder-unknown-keywords): New function.
12962 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12963 to create a Finder node with unknown keywords.
12965 2010-03-14 Juri Linkov <juri@jurta.org>
12967 * finder.el (finder-compile-keywords): Replace `princ' with
12968 `prin1' on a list of symbols interned from keyword strings.
12970 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12971 a comma, then split keywords using a comma and optional whitespace.
12972 Otherwise, split by whitespace.
12980 * progmodes/mixal-mode.el: Fix keywords.
12982 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12984 * Makefile.in (ELCFILES): Add net/secrets.elc.
12986 * net/secrets.el: New file.
12988 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12990 * facemenu.el (list-colors-display, list-colors-print): New arg
12991 callback. Use it to allow selecting colors.
12993 * wid-edit.el (widget-image-insert): Insert image prop even if the
12994 current display is non-graphic.
12995 (widget-field-value-set): New fun.
12996 (editable-field): Use it.
12997 (widget-field-value-get): Clean up unused var.
12998 (widget-color-value-create, widget-color--choose-action):
12999 New funs. Allow using list-colors-display to choose color.
13001 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13003 * cus-edit.el: Resort topmost custom groups.
13004 (custom-buffer-sort-alphabetically): Default to t.
13005 (customize-apropos): Use apropos-parse-pattern.
13006 (custom-search-field): New var.
13007 (custom-buffer-create-internal): Add custom-apropos search field.
13008 (custom-add-parent-links): Don't display parent doc.
13009 (custom-group-value-create): Don't sort top-level custom group.
13010 (custom-magic-value-create): Show visibility button before option name.
13012 (custom-variable-state): New fun, from custom-variable-state-set.
13013 (custom-variable-state-set): Use it.
13014 (custom-group-value-create): Hide options with standard values
13015 using the :hidden-states property. Use progress reporter.
13017 (custom-show): Simplify.
13018 (custom-visibility): Disable images by default.
13019 (custom-variable): New property :hidden-states.
13020 (custom-variable-value-create): Enable images for
13021 custom-visibility widgets. Use :hidden-states property to
13022 determine initial visibility.
13024 * wid-edit.el (widget-image-find): Give images center ascent.
13025 (visibility): Add :on-image and :off-image properties.
13026 (widget-visibility-value-create): Use them.
13028 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13030 * cus-edit.el (processes): Remove from development group.
13031 (oop, hypermedia): Delete group.
13032 (comm): Promote to top-level group.
13034 * net/browse-url.el (browse-url):
13035 * net/xesam.el (xesam):
13036 * net/tramp.el (tramp):
13037 * net/goto-addr.el (goto-address):
13038 * net/ange-ftp.el (ange-ftp): Put in comm group.
13040 * view.el (view): Remove from editing group.
13042 * uniquify.el (uniquify): Put in files group.
13044 * net/browse-url.el (browse-url):
13045 * ps-print.el (postscript): Put in external group.
13047 * cus-edit.el (outlines):
13048 * textmodes/text-mode.el (text-mode-hook):
13049 * textmodes/table.el (table):
13050 * textmodes/picture.el (picture):
13051 * outline.el (outlines): Put in wp group.
13053 * nxml/nxml-mode.el (nxml): Remove from wp group.
13055 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13057 * mail/metamail.el (metamail): Remove from hypermedia group.
13059 * cus-edit.el (abbrev):
13060 * whitespace.el (whitespace):
13061 * vcursor.el (vcursor):
13062 * reveal.el (reveal):
13063 * hl-line.el (hl-line): Put in convenience group.
13065 * epg-config.el (epg): Put in data group.
13067 * emulation/pc-select.el (pc-select): Put in emulations group.
13069 * calculator.el (calculator): Put in applications group.
13071 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13073 Add .dir-locals.el support for file-less buffers.
13074 * files.el (hack-local-variables): Split out code to apply local
13075 variable settings ...
13076 (hack-local-variables-apply): ... here. New function.
13077 (hack-dir-local-variables): Use the default directory for when the
13078 buffer does not have an associated file.
13079 (hack-dir-local-variables-non-file-buffer): New function.
13080 * diff-mode.el (diff-mode):
13081 * vc-annotate.el (vc-annotate-mode):
13082 * vc-dir.el (vc-dir-mode):
13083 * log-edit.el (log-edit-mode):
13084 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13086 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13088 Add support for shelving snapshots and for showing shelves.
13089 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13090 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13092 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13093 (vc-bzr-extra-menu-map): Map them.
13095 2010-03-11 Glenn Morris <rgm@gnu.org>
13097 * cus-edit.el (customize-changed-options-previous-release):
13100 * image.el (image-animate-max-time): Fix :version tag.
13102 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13106 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13108 * vc-git.el (vc-git-revision-table): Include remote branches.
13110 2010-03-10 Kim F. Storm <storm@cua.dk>
13112 Animated image API.
13113 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13115 * image.el (image-animate-max-time): New defcustom.
13116 (image-animated-types): New defconst.
13117 (create-animated-image, image-animate-timer)
13118 (image-animate-start, image-animate-stop, image-animate-timeout)
13119 (image-animated-p): New functions.
13121 * image-mode.el (image-toggle-display-image):
13122 Replace `create-image' with `create-animated-image'.
13124 2010-03-09 Miles Bader <miles@gnu.org>
13126 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13127 instead of "format:"; this ensures that the output is
13128 newline-terminated.
13130 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13132 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13133 that all errors are caught, and that the return value is always a
13136 2010-03-08 Kenichi Handa <handa@m17n.org>
13138 * language/misc-lang.el (windows-1256): New coding system.
13139 (cp1256): New alias of windows-1256 (bug#5690).
13141 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13143 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13144 call to rfc822-bad-address. (Bug#5692)
13146 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13148 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13149 Use vc-git-root as default directory for revision path (Bug#5657).
13151 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13153 * calculator.el (calculator): Don't bind split-window-keep-point
13156 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13158 * vc-git.el: Re-flow to fit into 80 columns.
13159 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13160 Remove spurious `quote' element in each case alternative.
13161 (vc-git-show-log-entry): Use prog1.
13162 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13164 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13166 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13168 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13170 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13171 definition, not the name (Bug#5481).
13173 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13175 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13176 argument with a local variable. (Bug#5670)
13178 2010-03-02 Juri Linkov <juri@jurta.org>
13180 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13182 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13184 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13185 error when FILENAME and NEWNAME are existing remote directories.
13187 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13188 parameter DIR-FLAG.
13190 2010-03-02 Glenn Morris <rgm@gnu.org>
13192 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13193 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13195 2010-03-01 Kenichi Handa <handa@m17n.org>
13197 * language/burmese.el (burmese-composable-pattern): Rename from
13198 myanmar-composable-pattern.
13200 * international/characters.el (script-list):
13201 * international/fontset.el (script-representative-chars):
13202 Change myanmar to burmese.
13203 (otf-script-alist): Likewise.
13204 (setup-default-fontset): Likewise. Re-fix :otf spec.
13206 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13208 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13210 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13212 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13214 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13216 * net/tramp.el (tramp-handle-write-region): START can be a string.
13217 Take care in the checks. Reported by Dan Davison
13218 <davison@stats.ox.ac.uk>.
13220 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13222 * net/dbus.el (dbus-introspect, dbus-get-property)
13223 (dbus-set-property, dbus-get-all-properties):
13224 Use `dbus-call-method' when noninteractive. (Bug#5645)
13226 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13228 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13229 * emacs-lisp/elint.el (elint-add-required-env):
13230 * calendar/icalendar.el (icalendar--add-diary-entry):
13231 * calc/calcalg2.el (math-tracing-integral):
13232 * files.el (recover-session-finish): Use with-current-buffer
13233 instead of save-excursion.
13235 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13237 Fix in-buffer completion when after-change-functions modify the buffer.
13238 * minibuffer.el (completion--replace): New function.
13239 (completion--do-completion): Use it and use relative movement.
13241 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13243 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13245 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13247 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13248 Allow the characters _<> in the stack entry (Bug#5653).
13250 2010-02-26 Kenichi Handa <handa@m17n.org>
13252 * language/burmese.el: Fix entries in composition-function-table.
13253 (myanmar-composable-pattern): New variable.
13255 * international/fontset.el (setup-default-fontset): Add an entry
13258 * international/characters.el (script-list): Add Myanmar
13261 2010-02-26 Glenn Morris <rgm@gnu.org>
13263 * custom.el (custom-initialize-delay): Doc fix.
13265 * mail/sendmail.el (send-mail-function): Autoload the call
13266 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13268 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13270 * files.el (hack-local-variables-filter): For eval forms, also
13271 check safe-local-variable-p (Bug#5636).
13273 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13275 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13276 setting the modes by `ignore-errors'. It might fail, for example
13277 if the file is not owned by the user but the group.
13278 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13280 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13282 * files.el (directory-listing-before-filename-regexp):
13283 Use stricter matching for iso-style dates, to avoid false matches with
13284 date-like filenames (Bug#5597).
13286 * htmlfontify.el (htmlfontify): Doc fix.
13288 * eshell/eshell.el (eshell): Doc fix.
13290 * startup.el (fancy-about-screen): In mode-line, apply
13291 mode-line-buffer-id face only to the buffer name (Bug#5613).
13293 2010-02-20 Kevin Ryde <user42@zip.com.au>
13295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13296 In `watcom' anchor regexp to start of line, to avoid slowness
13299 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13301 * subr.el (remove-yank-excluded-properties): Explain in a comment
13302 why `category' property is removed.
13304 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13306 * isearch.el (isearch-update-post-hook, isearch-update):
13307 Revert 2010-02-17 change.
13309 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13311 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13312 (icalendar--convert-weekly-to-ical)
13313 (icalendar--convert-yearly-to-ical)
13314 (icalendar--convert-block-to-ical)
13315 (icalendar--convert-cyclic-to-ical)
13316 (icalendar--convert-anniversary-to-ical): Take care of time
13317 specifications where hour has 1-digit only (Bug#5549).
13319 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13321 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13322 of disassemble output in GDB 7.1.
13324 2010-02-19 Glenn Morris <rgm@gnu.org>
13326 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13327 property. (Bug#5593)
13329 2010-02-18 Sam Steingold <sds@gnu.org>
13331 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13333 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13335 Use abbreviated file names in bookmarks (bug#5591).
13336 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13337 calls to expand-file-name.
13338 (bookmark-relocate): Use abbreviated file names in bookmarks.
13339 (bookmark-load): Use abbreviated file names in messages.
13341 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13343 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13344 expand "." and "..". Reported by Thierry Volpiatto
13345 <thierry.volpiatto@gmail.com>.
13347 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13349 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13350 permissions of the temporary file to "0600". In case the remote
13351 file has no read permissions for the owner, there might be
13352 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13354 22010-02-18 Glenn Morris <rgm@gnu.org>
13356 * emacs-lisp/authors.el (authors-renamed-files-alist):
13357 Add entries for INSTALL.CVS.
13359 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13361 * vc-bzr.el: Fix typo in Known Bugs section.
13363 * isearch.el (isearch-update-post-hook): New hook.
13364 (isearch-update): Use the new hook.
13366 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13368 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13369 Fix errors in copying directories.
13370 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13371 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13372 (tramp-handle-delete-file)
13373 (tramp-handle-dired-recursive-delete-directory)
13374 (tramp-handle-write-region): Flush also the cache for the upper
13377 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13379 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13381 * cus-edit.el (hardware): Doc fix.
13383 * man.el (man): Add to external custom group.
13385 * delim-col.el (columns): Move to wp custom group.
13387 * doc-view.el (doc-view): Add to data custom group.
13389 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13391 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13392 by ispell-parse-output (Bug#5575).
13394 2010-02-16 Kenichi Handa <handa@m17n.org>
13396 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13397 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13398 (skkdic-convert): Use `euc-japan' coding system for writing.
13400 2010-02-16 Glenn Morris <rgm@gnu.org>
13402 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13403 tex-main-file before using it. (Bug#5562)
13405 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13408 warnings, since it is annoying for the user to see them each time he
13411 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13413 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13414 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13415 instead of PROC for caching "first-password-request". Otherwise,
13416 new processes would not profit from passwords already entered.
13418 * net/tramp-cache.el (tramp-dump-connection-properties):
13419 Don't save "first-password-request" property.
13421 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13423 * outline.el (outline-head-from-level):
13424 * simple.el (with-wrapper-hook):
13425 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13426 (elint-defun, elint-buffer-env, elint-top-form-logged)
13427 (elint-unbound-variable):
13428 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13429 Fix typos in docstrings.
13431 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13433 * files.el (insert-directory): When WILDCARD-REGEXP and
13434 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13435 whole directory. (Bug#5551)
13437 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13438 dired's alignment sanity. (Bug#5516)
13440 2010-02-14 Juri Linkov <juri@jurta.org>
13442 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13443 Remove remaining ^H with their preceding chars. (Bug#5566)
13445 2010-02-13 Glenn Morris <rgm@gnu.org>
13447 * simple.el (transpose-subr): Give it a doc-string.
13449 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13452 2010-02-12 Juri Linkov <juri@jurta.org>
13454 * arc-mode.el (archive-unique-fname): Make directories for nested
13455 archives. (Bug#5540)
13457 2010-02-12 Juri Linkov <juri@jurta.org>
13459 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13461 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13463 * subr.el (copy-overlay): Handle deleted overlays.
13465 * man.el (Man-completion-table): Don't signal an error if we can't run
13466 manual-program (bug#4056).
13468 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13470 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13472 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13474 * info.el (Info-bookmark-jump): Simplify.
13476 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13477 (bookmark-default-handler): Accept new bookmark field `buffer'.
13479 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13481 * iswitchb.el (iswitchb-completions): Revert last change.
13483 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13485 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13486 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13487 This prevents file names like "~/" being listed literally.
13489 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13491 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13492 Remove dead code. (Bug#5546)
13494 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13496 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13497 correctly (Bug#5548).
13499 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13501 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13502 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13504 2010-02-08 Kenichi Handa <handa@m17n.org>
13506 * international/mule-util.el (with-coding-priority): Add autoload
13507 cookie for putting `lisp-indent-function'.
13509 2010-02-07 Glenn Morris <rgm@gnu.org>
13511 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13512 Move F2003 named interfaces from keywords-2 to keywords-1, and
13513 use function-name-face rather than constant-face.
13514 Simplify "abstract interface" regexp.
13516 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13518 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13519 ID-FORMAT. Pass it to `file-attributes'.
13521 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13523 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13525 * faces.el (set-face-attribute): Allow calling
13526 internal-set-lisp-face-attribute with 'unspecified family and
13527 foundry argument (Bug#5536).
13529 2010-02-07 Glenn Morris <rgm@gnu.org>
13531 * progmodes/f90.el (f90-font-lock-keywords-2)
13532 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13533 Handle F2003 named interfaces.
13535 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13537 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13538 beg and end before calling c-get-state-before-change-functions.
13540 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13542 * vc-bzr.el (vc-bzr-dir-extra-headers):
13543 Disable the pending merges header.
13545 2010-02-05 Juri Linkov <juri@jurta.org>
13547 * doc-view.el (doc-view-mode):
13548 * image-mode.el (image-mode): Put property mode-class=special.
13551 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13553 * vc-svn.el (vc-svn-revision-table): New function.
13555 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13557 * net/ange-ftp.el (ange-ftp-insert-directory):
13558 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13559 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13560 Handle also directories. (Bug#5478)
13562 2010-02-05 Glenn Morris <rgm@gnu.org>
13564 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13566 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13568 * startup.el (command-line-1): Convert options beginning with a
13569 single dash as well (Bug#5519).
13571 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13573 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13574 * minibuffer.el (completion-initials-expand): Only check the presence
13575 of delims *within* the boundaries, since otherwise the / delim is
13576 always found for files.
13578 Fix up various corner case problems.
13579 * doc-view.el (doc-view-last-page-number): New function.
13580 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13581 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13582 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13583 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13584 (doc-view-convert-current-doc): Don't create the resolution.el file
13586 (doc-view-pdf/ps->png): Do it here instead.
13587 (doc-view-already-converted-p): Check that resolution.el is present.
13588 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13589 windows that are not yet showing images.
13591 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13593 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13594 `dired-uncache' for every elemnt which is an absolute file name.
13596 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13597 directory, handle its directory component.
13598 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13599 function is called permanently and creates noise, otherwise.
13601 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13602 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13603 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13605 2010-02-04 David Burger <dburger@google.com> (tiny change)
13607 * macros.el (apply-macro-to-region-lines):
13608 Minor simplification. (Bug#5485)
13610 2010-02-04 Glenn Morris <rgm@gnu.org>
13612 * mail/rmail.el (rmail-show-message-1): Handle malformed
13613 quoted-printable text. (Bug#5441)
13615 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13617 * simple.el (visual-line-mode): Capitalize lighter.
13619 2010-02-03 John Wiegley <jwiegley@gmail.com>
13621 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13622 list of files considered for "virtual buffer" completions.
13624 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13626 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13627 also in case of (and (not full) (not wildcard)). This is needed
13628 when dired is called with a list of files, which are not in
13629 `default-directory'. (Bug#5478)
13631 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13633 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13635 2010-02-02 Juri Linkov <juri@jurta.org>
13637 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13638 from unidiff to allow function-line after @@.
13640 2010-02-02 Juri Linkov <juri@jurta.org>
13642 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13643 '(RCS SCCS) with inverted condition.
13645 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13647 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13650 2010-02-01 Juri Linkov <juri@jurta.org>
13652 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13653 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13654 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13655 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13657 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13659 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13660 (doc-view-revert-buffer): New command.
13661 (doc-view-mode-map): Use it.
13663 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13665 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13666 pending merge is detected.
13668 2010-01-31 Juri Linkov <juri@jurta.org>
13670 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13671 beginning of interactive spec like all other grep commands do.
13672 Put "all" in front of "gz". (Bug#5260)
13674 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13676 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13678 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13680 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13681 regexp is incorrect (Bug#5476).
13683 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13685 * net/tramp.el (tramp-handle-insert-directory): Handle also
13686 symlinks, when FILENAME is not in `default-directory'.
13688 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13690 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13691 FILE is not in `default-directory'. (Bug#5478)
13693 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13694 of SWITCHES. Handle the case, FILENAME is not in
13695 `default-directory'. (Bug#5478)
13696 (tramp-register-file-name-handlers): Add safe-magic property.
13698 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13700 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13703 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13705 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13706 (flymake-master-make-header-init): Add other C++ filename masks.
13707 (flymake-find-possible-master-files)
13708 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13710 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13712 Fix some busybox annoyances.
13714 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13715 not responding." string.
13716 (tramp-open-connection-setup-interactive-shell): Dump stty
13717 settings. Enable "neveropen" arg for all `tramp-send-command'
13718 calls. Handle "=" in variable values properly.
13719 (tramp-find-inline-encoding): Raise an error, when no encoding is
13721 (tramp-wait-for-output): Check, whether PROC buffer is available.
13722 Remove spurious " ^H" sequences, sent by busybox.
13723 (tramp-get-ls-command): Suppress coloring, if possible.
13725 2010-01-28 Glenn Morris <rgm@gnu.org>
13727 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13729 * log-edit.el (log-edit-strip-single-file-name): Add missing
13730 :safe, :group, and :version tags.
13732 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13734 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13735 buffers. (Bug#5477)
13737 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13739 * files.el (delete-directory): Handle moving to trash without
13740 first doing recursion (Bug#5436).
13742 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13744 * vc-hooks.el (vc-path): Mark as obsolete.
13746 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13748 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13751 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13753 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13755 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13757 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13759 * vc-bzr.el (vc-bzr-revision-table): New function.
13761 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13763 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13764 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13766 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13768 Remove support for adding --signoff on commit.
13769 Future support will use an incompatible generic mechanism.
13770 * vc-git.el (vc-git-add-signoff): Remove variable.
13771 (vc-git-toggle-signoff): Remove function.
13772 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13774 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13775 Rename from xterm-set-background-mode. Return t if the background mode
13777 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13778 earlier, call it again in case the background mode has changed.
13780 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13782 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13785 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13787 * emacs-lisp/assoc.el (aelement): Doc fix.
13788 (aput, adelete, amake): Use lexical-let (Bug#5450).
13790 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13792 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13793 is the same as subprogram call, not declaration. (Bug#5435).
13795 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13797 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13798 (tramp-smb-maybe-open-connection): Use it.
13800 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13802 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13804 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13806 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13807 just because we see "encoding: 8bit".
13808 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13810 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13812 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13814 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13816 * jka-compr.el (jka-compr-load): If load-file is not in
13817 load-history, try its file-truename version. (bug#5447)
13819 2010-01-21 Alan Mackenzie <acm@muc.de>
13821 Fix a situation where deletion of a cpp construct throws an error.
13822 * progmodes/cc-engine.el (c-invalidate-state-cache):
13823 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13824 special cpp construct is still in the buffer.
13825 (c-parse-state): Record the special cpp with markers, not numbers.
13827 2010-01-21 Kenichi Handa <handa@m17n.org>
13829 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13830 process last-command-event, as it is now decoded first (Bug#5380).
13832 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13834 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13836 2010-01-20 Glenn Morris <rgm@gnu.org>
13838 * indent.el (tab-always-indent): Fix custom-type.
13840 2010-01-19 Alan Mackenzie <acm@muc.de>
13842 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13843 buffer throws "args out of range".
13844 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13845 playing the role of delimiter.
13847 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13849 * progmodes/ada-mode.el: Fix bug#5400.
13850 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13851 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13852 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13853 Improve comments in "is" portion. Handle null procedure declaration.
13854 (ada-move-to-end): Improve doc string.
13856 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13858 * ido.el (ido-cur-list): Initialize to nil.
13859 Remove obsolete information from commentary.
13860 (ido-choice-list): Initialize to nil.
13861 (ido-get-bufname): Reject minibuffers.
13862 (ido-make-buffer-list): If "default" is a nonexistent
13863 buffer, ignore it, as per the function's comment.
13864 (ido-kill-buffer-internal): New function.
13865 (ido-kill-buffer-at-head): Use it.
13866 (ido-visit-buffer): Likewise.
13868 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13870 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13872 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13874 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13875 Fix typos in chart titles.
13877 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13878 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13879 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13880 (describe-class, eieio-describe-generic, describe-generic):
13881 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13882 (eieio-speedbar-expand):
13883 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13884 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13885 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13886 (viper-del-backward-char-in-replace, viper-backward-indent)
13887 (viper-brac-function, viper-register-to-point, viper-submit-report):
13888 * net/tramp.el (tramp-remote-coding-commands):
13889 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13890 Fix typos in docstrings.
13892 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13894 * mail/sendmail.el (mail-yank-original): Set the mark if the
13895 specified function for yanking does not do it.
13897 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13899 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13901 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13902 resyncing a directory.
13904 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13906 * progmodes/ada-mode.el: Fix bug#1920.
13907 (ada-ident-re): Delete ., allow multibyte characters.
13908 (ada-goto-label-re): New; matches goto labels.
13909 (ada-block-label-re): New; matches block labels.
13910 (ada-label-re): New; matches both.
13911 (ada-named-block-re): Delete; callers changed to use
13912 `ada-block-label-re' instead.
13913 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13914 Use `ada-block-label-re'.
13915 (ada-indent-on-previous-lines): Improve handling of goto labels.
13916 (ada-get-indent-block-start): Special-case block label.
13917 (ada-get-indent-label): Split into `ada-indent-block-label' and
13918 `ada-indent-goto-label'.
13919 (ada-goto-stmt-start, ada-goto-next-non-ws):
13920 Optionally ignore goto labels.
13921 (ada-goto-next-word): Simplify.
13922 (ada-indent-newline-indent-conditional): Insert newline before
13923 trying to fix indentation; doc fix.
13925 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13927 * calc/calc.el (calc-command-flags): Give it an initial value.
13929 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13931 * files.el (minibuffer-with-setup-hook):
13932 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13933 (artist-key-draw-continously, artist-key-do-continously-continously)
13934 (artist-key-set-point-continously, artist-mouse-draw-continously):
13935 Fix typos in docstrings.
13937 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13939 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13940 Never return t (Bug#3898).
13942 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13944 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13945 can parse the output of the external commands (Bug#5279).
13947 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13949 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13951 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13953 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13955 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13957 * startup.el (command-line): Remove unused --icon-type arg.
13958 Handle --display arg, passing it to command-line-1 (Bug#5392).
13960 2010-01-16 Mario Lang <mlang@delysid.org>
13962 * emacs-lisp/chart.el (chart-translate-namezone):
13963 * textmodes/artist.el (artist-compute-popup-menu-table):
13964 Remove duplicated words in doc-strings.
13966 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13968 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13969 to mairix-search to suppress threading (Bug#5342).
13971 2010-01-15 Kenichi Handa <handa@m17n.org>
13973 * international/mule-cmds.el (canonicalize-coding-system-name):
13974 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13976 2010-01-15 Glenn Morris <rgm@gnu.org>
13978 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13980 * wid-edit.el (widget-keymap): Doc fix.
13982 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13983 former seems to be more widely accepted by various svn versions.
13985 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13987 * find-cmd.el (find-constituents):
13988 * vc-arch.el (vc-arch-root):
13989 * window.el (window-body-height, pop-up-frames):
13990 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13991 * progmodes/ada-stmt.el (ada-if):
13992 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13993 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13994 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13995 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13997 * progmodes/flymake.el (flymake-post-syntax-check):
13998 Fix typo in error message.
14000 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14002 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14003 which is always a string. (Bug#5313)
14005 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14007 * progmodes/ada-xref.el (ada-default-prj-properties):
14008 Simplify previous change.
14010 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14012 * progmodes/ada-xref.el (ada-default-prj-properties):
14013 Default ada_project_path to $ADA_PROJECT_PATH.
14015 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14017 * progmodes/ada-mode.el (ada-create-keymap):
14018 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14020 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14022 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14023 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14024 (ada-get-current-indent, ada-imenu-generic-expression)
14025 (ada-which-function): Check for it.
14027 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14029 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14030 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14032 2010-01-14 Glenn Morris <rgm@gnu.org>
14034 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14036 2010-01-14 Kenichi Handa <handa@m17n.org>
14038 * composite.el (auto-composition-mode): Make it a buffer local
14039 variable (permanent-local).
14040 (auto-composition-function): Set the default value to
14041 auto-compose-chars.
14042 (auto-composition-mode): Make it a simple function, not a minor mode.
14043 (global-auto-composition-mode): Likewise.
14044 (turn-on-auto-composition-if-enabled): Delete it.
14046 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14048 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14050 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14052 * files.el (copy-directory): Compute target for recursive
14053 directories with identical names. (Bug#5343)
14055 2010-01-12 Glenn Morris <rgm@gnu.org>
14057 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14058 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14060 2010-01-11 Sam Steingold <sds@gnu.org>
14062 * imenu.el (imenu-default-create-index-function): Detect infinite
14063 loops caused by imenu-prev-index-position-function.
14065 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14067 * htmlfontify.el (htmlfontify-load-rgb-file)
14068 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14069 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14070 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14071 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14072 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14073 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14074 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14075 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14076 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14077 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14078 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14079 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14080 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14081 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14082 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14083 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14084 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14085 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14086 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14087 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14088 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14089 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14090 backslash-quoting from parentheses, etc.
14092 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14094 * progmodes/js.el: Autoload javascript-mode alias.
14096 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14098 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14099 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14100 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14101 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14102 Fix typos in docstrings.
14103 (ffap-url-regexp): Doc fix.
14104 (ffap-at-mouse): Fix typo in message.
14106 2010-01-11 Glenn Morris <rgm@gnu.org>
14108 * version.el (emacs-copyright): Set copyright year to 2010.
14110 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14112 * format.el (format-annotate-function): Only set
14113 write-region-post-annotation-function after running to-fn so as not to
14114 affect nested write-region calls (bug#5273).
14116 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14118 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14121 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14123 * man.el (Man-goto-section): Signal error if the section is not
14126 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14128 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14129 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14131 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14133 * progmodes/compile.el: Don't treat compile-command as safe if
14134 compilation-read-command might be nil (Bug#4218).
14136 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14138 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14141 2010-01-08 Kenichi Handa <handa@m17n.org>
14143 * international/fontset.el (build-default-fontset-data):
14144 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14146 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14148 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14149 to `create-file-buffer' as it expects, not just a buffer name.
14150 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14151 to help uniquify. (Bug#3224)
14153 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14155 * font-setting.el (font-setting-change-default-font): Use user-spec
14158 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14160 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14162 2010-01-05 Tom Tromey <tromey@redhat.com>
14164 * progmodes/python.el (python-font-lock-keywords):
14165 Handle qualified decorators (Bug#881).
14167 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14169 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14170 in a lightweight checkout.
14172 2010-01-05 Kenichi Handa <handa@m17n.org>
14174 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14176 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14178 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14180 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14182 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14183 checkouts. (Bug#618)
14184 (vc-bzr-log-view-mode): Also highlight the author.
14185 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14186 (vc-bzr-shelve-menu-map):
14187 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14188 (vc-bzr-shelve-apply): Make prompt more explicit.
14190 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14192 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14193 They are valid characters in URL paths (rfc3986), and at least
14194 Firefox does not understand the encoded version (Bug#3166).
14196 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14198 * progmodes/octave-mod.el (octave-end-keywords)
14199 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14200 Add "end" keyword (Bug#3061).
14201 (octave-end-as-array-index-p): New function.
14202 (calculate-octave-indent): Use it.
14204 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14206 * bookmark.el: Consistently put the text property on the bookmark name.
14207 (bookmark-bmenu-marks-width): Bump back to 2, to include
14209 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14210 property on the bookmark name, instead of not putting it at all.
14211 (bookmark-bmenu-list): Fix where we put the text property.
14213 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14215 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14216 for showing buffer modified state (as added in the previous change).
14218 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14220 * bookmark.el: Show modified state of bookmark buffer more accurately.
14221 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14222 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14223 (with-buffer-modified-unmodified): New macro.
14224 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14225 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14226 Use new macro to preserve the buffer modified state.
14228 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14230 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14231 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14232 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14233 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14234 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14235 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14236 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14238 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14240 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14241 Make the lines in the generated doc string shorter. (Bug#4668)
14243 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14245 * net/rcirc.el: Add follow-link binding (Bug#4738).
14247 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14249 * Makefile.in (bzr-update): Rename from cvs-update.
14250 (cvs-update): New target for backward compatibility.
14252 * makefile.w32-in (bzr-update): Rename from cvs-update.
14253 (cvs-update): New target for backward compatibility.
14255 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14257 * bookmark.el: Remove gratuitous gratitude.
14259 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14261 * bookmark.el (bookmark-bmenu-any-marks): New function.
14262 (bookmark-bmenu-save): Clear buffer modification if no marks.
14264 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14266 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14267 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14268 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14269 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14271 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14272 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14273 To: emacs-devel {_AT_} gnu.org
14274 Subject: bookmark.el bug report
14275 Date: Mon, 28 Dec 2009 14:19:16 +0800
14276 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14278 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14280 * bookmark.el: Improvements suggested by Drew Adams:
14281 (bookmark-bmenu-ensure-position): New name for
14282 `bookmark-bmenu-check-position'. Just ensure the position,
14283 don't return any meaningful value.
14284 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14287 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14289 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14290 (bookmark-yank-point, bookmark-bmenu-check-position):
14291 Fix typos in docstrings.
14292 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14293 (bookmark-name-from-full-record, bookmark-get-position)
14294 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14295 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14296 Remove useless quoting of parenthesis, etc. in docstrings.
14298 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14299 (ediff-append-custom-diff): Fix typo in error message.
14300 (ediff-meta-mark-equal-files): Fix typos in messages.
14302 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14304 * net/imap-hash.el (imap-hash-make): Doc fix.
14305 (imap-hash-test): Fix typo in error message; reflow docstring.
14306 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14307 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14308 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14309 Fix typos in docstrings.
14310 (imap-hash-open-connection): Fix typo in error message.
14312 * play/gomoku.el (gomoku): Fix typos in docstring.
14314 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14315 (gdb-jsonify-buffer): Fix typos in docstring.
14316 (gdb-goto-breakpoint): Fix typo in error message.
14317 ("Display Other Windows"): Fix typo in help message.
14318 (gdb-speedbar-expand-node): Fix typo in question.
14320 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14321 (idlwave-html-system-help-location, idlwave-html-help-location)
14322 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14323 (idlwave-help-browser-generic-args, idlwave-help-directory)
14324 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14325 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14326 (idlwave-online-help, idlwave-help-html-link)
14327 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14328 Fix typos in docstrings.
14329 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14331 (idlwave-help-assistant-start): Fix typo in error message.
14333 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14334 (octave-electric-space): Fix typos in docstrings.
14336 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14338 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14340 2010-01-01 Juri Linkov <juri@jurta.org>
14342 * comint.el (comint-input-ring-size): Make it a defcustom and
14343 increase the default to 500 (Bug#5148).
14345 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14347 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14348 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14349 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14351 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14353 Show working revision correctly for mercurial.
14354 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14355 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14357 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14359 Declare some functions for the byte-compiler.
14360 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14361 (speedbar-timer-fn, speedbar-change-expand-button-char)
14362 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14364 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14366 This changeset reverts GDB Graphical Interface to use annotations.
14367 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14369 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14371 Make vc-dir work on subdirectories of the bzr root.
14372 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14373 Return file names relative to it.
14374 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14375 relative directory to vc-bzr-after-dir-status.
14377 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14379 * font-lock.el (font-lock-refresh-defaults): New function, which
14380 can be used to let font-lock react to external changes in
14381 variables like font-lock-defaults and keywords.
14382 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14384 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14386 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14388 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14390 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14392 Supersede color.diff settings in git log (bug#5211).
14394 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14395 escape chars in its output when the user has color.diff set to `always'.
14396 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14398 2009-12-26 Kevin Ryde <user42@zip.com.au>
14400 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14401 node. Keep previous "Index" name to work with past coreutils too.
14403 * man.el (man): Revise docstring a bit to show -a and -l as
14404 examples. Add -k description since support for it has otherwise
14405 been a secret. (Further to bug#3717.)
14406 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14407 "no matches" rather than "Can't find manpage", as the latter reads
14408 like -k was interpreted as a page name, which is not so. (Bug#5431)
14410 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14412 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14413 switches. Check also for //SUBDIRED// line.
14415 2009-12-25 Kenichi Handa <handa@m17n.org>
14417 * language/indian.el (devanagari-composable-pattern): Fix to
14418 handle ZWNJ and ZWJ. Use it in composition-function-table for
14420 (malayalam-composable-pattern): Fix previous change.
14422 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14424 * ps-print.el (ps-face-attributes): It was not returning the
14425 attribute face for faces specified as string. Reported by harven
14426 <harven@free.fr>. (Bug#5254)
14427 (ps-print-version): New version 7.3.5.
14429 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14431 * calendar/icalendar.el (icalendar--convert-tz-offset):
14432 Fix timezone names.
14433 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14434 (icalendar--add-diary-entry): Remove the trailing blank that
14435 diary-make-entry inserts.
14437 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14439 Make `file-expand-wildcards' work for remote files.
14441 * files.el (file-expand-wildcards): In case of remote files, check
14442 only local file name part for wildcards. Provide feature 'files
14443 and subfeature 'remote-wildcards. (Bug#5198)
14445 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14446 if there is already an established connection.
14447 (tramp-advice-file-expand-wildcards): Remove it.
14449 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14450 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14451 Activate advice for older GNU Emacs versions. (Bug#5237)
14453 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14455 Some doc fixes (more needed).
14457 * find-cmd.el (find-constituents): Reflow docstring.
14458 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14459 (find-generic): Doc fix.
14461 2009-12-17 Juri Linkov <juri@jurta.org>
14463 Fix regression from 23.1 to allow multiple modes in Local Variables.
14465 * files.el (hack-local-variables-filter): While ignoring duplicates,
14466 don't take `mode' into account.
14467 (hack-local-variables-filter, hack-dir-local-variables):
14468 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14470 2009-12-17 Juri Linkov <juri@jurta.org>
14472 Make `dired-diff' safer. (Bug#5225)
14474 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14475 `current' or when `file' is a directory of the `current' file.
14477 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14479 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14480 unconditionally preloaded files.
14482 2009-12-16 Juri Linkov <juri@jurta.org>
14484 Revert to old 23.1 logic of using the file at the mark as default.
14485 * dired-aux.el (dired-diff): Use the file at the mark as default
14486 if it's not the same as the current file, and the target dir is
14487 the current dir or the mark is active. Add the current file
14488 as the arg of `dired-dwim-target-defaults'. Use the default file
14489 in the prompt. (Bug#5225)
14491 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14493 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14494 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14495 (tramp-check-for-regexp): Check also, when an echoing shell stops
14496 to echo sent commands.
14498 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14500 * Makefile.in: Revert last change (Bug#5191).
14502 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14504 * vc-hg.el (vc-hg-print-log): Fix argument order.
14505 (vc-hg-working-revision): Make sure the command is executed in a
14506 known environment so that we can parse the output. (Bug#4417)
14508 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14510 * progmodes/python.el (python-symbol-completions): Remove text
14511 properties from symbol string before calling python-send-receive.
14513 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14515 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14516 when there are values for both file and line. (Bug#5060)
14518 2009-12-14 Juri Linkov <juri@jurta.org>
14520 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14521 whitespace after the file name of the first line of unified format,
14522 because git-diff doesn't output whitespace and file modification time
14523 after the file name.
14525 2009-12-14 David Kastrup <dak@gnu.org>
14527 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14528 check if it already has the `display' property added by
14529 `Info-display-images-node', and not put the `invisible' property
14532 2009-12-13 Glenn Morris <rgm@gnu.org>
14534 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14535 (report-emacs-bug): In message-mode, sort manually before storing
14536 original report text. (Bug#5178)
14537 Remove superfluous save-excursion.
14539 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14541 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14542 when responding to "GetAll" properties.
14544 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14546 * simple.el (compose-mail): Remove mail-setup-with-from from
14547 customization checks.
14549 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14551 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14552 RAR archives created on Unix systems.
14554 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14556 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14557 the varalias that was accidentally removed by the 2009-11-19 change
14560 2009-12-12 Kenichi Handa <handa@m17n.org>
14562 * language/indian.el (indian-compose-regexp): New function.
14563 (malayalam-composable-pattern): Fix the pattern.
14564 (composition-function-table): Set malayalam-composable-pattern for
14565 Malayalam characters.
14567 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14569 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14570 rather than down-mouse-1, based on follow-link conventions.
14572 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14575 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14577 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14578 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14579 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14580 (verilog-leap-to-head, verilog-backward-token):
14581 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14583 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14585 * progmodes/verilog-mode.el (verilog-auto-lineup)
14586 (verilog-nameable-item-re): Cleanup user-visible spelling and
14587 documentation errors. One reported by Gary Delp.
14588 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14589 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14590 package, bug195. Reported by Pierre-David Pfister.
14592 2009-12-11 Glenn Morris <rgm@gnu.org>
14594 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14596 * mail/emacsbug.el: No longer require sendmail.
14597 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14598 (report-emacs-bug-orig-text): Doc fix.
14599 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14600 New local variables, to adapt to different mail-user-agents.
14601 (report-emacs-bug): Fix test for a gnu.org address.
14602 Use overlays for emphasis, since font-lock defeats 'face property.
14603 Pretest bugs also end up at the newsgroup these days.
14604 Stop message-mode stripping text properties.
14605 Set and use the new buffer-local variables.
14606 (report-emacs-bug-hook): Add doc-string.
14607 Remove some unnecessary save-excursions and simplify.
14608 Use the appropriate hook and send-command.
14610 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14611 capitalization of some menu entries.
14613 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14615 * whitespace.el (whitespace-display-char-on):
14616 Ensure `buffer-display-table' is unique when two or more windows are
14617 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14620 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14622 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14623 characters in the Attribute field.
14625 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14627 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14629 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14631 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14632 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14633 Disregard autoload-excludes.
14634 (update-directory-autoloads): Obey autoload-excludes here instead.
14635 But don't store its contents in no-autoloads and remove entries that
14636 refer to excludes files.
14638 2009-12-10 Glenn Morris <rgm@gnu.org>
14640 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14641 (expand-mail-aliases): Define for compiler.
14643 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14644 Define for compiler.
14646 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14647 appropriate for the mail-user-agent in use.
14649 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14651 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14653 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14655 Fix short log parsing and fontification.
14656 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14657 Fix fontification for the [merge] label.
14659 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14661 Drop some properties to avoid surprises (bug#5002).
14662 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14663 (hfy-fontify-buffer): Use it.
14665 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14668 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14669 Adjust all callers.
14670 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14671 args compulsory. Adjust callers.
14672 (ffap-gopher-at-point): Remove unused var `name'.
14674 Get rid of the ELCFILES abomination.
14675 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14676 (compile-elcfiles): New phony target.
14677 (compile-main): Compute ELCFILES dynamically.
14678 (compile-clean): New target to remove left-over elc files.
14679 (compile, all): Use it.
14681 2009-12-09 Kenichi Handa <handa@etlken>
14683 * international/mule-diag.el: Require help-mode instead of help-fns.
14685 2009-12-09 Kenichi Handa <handa@m17n.org>
14687 * international/mule-cmds.el (ucs-names): Supply sufficiently
14688 fine ranges instead of pre-calculating accurate ranges.
14689 Iterate with bigger gc-cons-threshold.
14691 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14693 Add support for stashing a snapshot of the current tree.
14694 * vc-git.el (vc-git-stash-snapshot): New function.
14695 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14697 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14699 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14700 instead of `(beginning|end)-of-line'.
14702 2009-12-08 Glenn Morris <rgm@gnu.org>
14704 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14706 * Makefile.in (ELCFILES): Regenerate.
14708 2009-12-07 Juri Linkov <juri@jurta.org>
14710 Don't lazy-highlight the comint output in history Isearch mode.
14712 * comint.el (comint-history-isearch-search): Instead of
14713 `comint-line-beginning-position', use `comint-after-pmark-p'
14714 to check if point if before the process mark, and go to
14715 `process-mark' in this case.
14717 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14719 * textmodes/tex-mode.el (latex-complete)
14720 (latex-indent-or-complete): Remove.
14721 (latex-mode): Set completion-at-point-functions instead.
14723 Provide a standard completion command and hook it into TAB.
14724 * minibuffer.el (completion-at-point-functions): New var.
14725 (completion-at-point): New command.
14726 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14727 * progmodes/python.el (python-mode-map): Use completion-at-point.
14728 (python-completion-at-point): Rename from python-partial-symbol and
14729 adjust for use in completion-at-point-functions.
14730 (python-mode): Setup completion-at-point for Python completion.
14731 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14732 extracted from lisp-complete-symbol.
14733 (lisp-complete-symbol): Use it.
14734 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14735 setup completion-at-point for Elisp completion.
14736 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14737 Use completion-at-point.
14738 * ielm.el (ielm-map): Use completion-at-point.
14739 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14740 * progmodes/sym-comp.el: Move to...
14741 * obsolete/sym-comp.el: Move from progmodes.
14743 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14745 Prevent save-buffer in Rmail buffers from using the coding-system
14746 of the current message, and from clobbering the encoding mnemonics
14747 in the mode line (Bug#4623).
14749 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14751 (rmail-message-encoding): New variable.
14752 (rmail-write-region-annotate): Record the encoding of the current
14753 message in rmail-message-encoding.
14754 (rmail-after-save-hook): New function, restores the encoding of
14755 the current message after the message collection is saved.
14757 2009-12-07 Juri Linkov <juri@jurta.org>
14759 * progmodes/grep.el (grep-read-files): Use `completing-read'
14760 instead of `read-string'. Set its `collection' arg to
14761 `read-file-name-internal'. (Bug#4301)
14763 2009-12-07 Juri Linkov <juri@jurta.org>
14765 Correctly restore original Isearch point. (Bug#4994)
14767 * isearch.el (isearch-mode): Move `isearch-push-state' after
14768 `(run-hooks 'isearch-mode-hook)'.
14769 (isearch-cancel): When `isearch-push-state-function' is defined,
14770 let-bind `isearch-cmds' to the first state (the last element of
14771 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14772 function and restores the original point). Otherwise, move point
14773 to `isearch-opoint'.
14775 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14777 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14778 chars that don't have names, so the table can be built much faster at
14781 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14783 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14784 change. Suggested by David Kastrup.
14786 * simple.el (compose-mail): Check for incompatibilities and warn.
14787 (compose-mail-user-agent-warnings): New option.
14789 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14791 Support showing a single log entry from vc-annotate.
14792 * vc.el (print-log): Add a new argument: START-REVISION.
14793 (vc-print-log-internal): Add a new optional argument and
14794 pass it to the backend.
14795 (vc-print-log, vc-print-root-log): Adjust callers.
14796 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14797 buffer already displays the requested log entry, use it.
14798 Otherwise display only the log entry in question.
14799 * vc-svn.el (vc-svn-print-log):
14800 * vc-mtn.el (vc-mtn-print-log):
14801 * vc-hg.el (vc-hg-state):
14802 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14803 (vc-git-show-log-entry): Return t on success.
14804 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14805 (vc-bzr-show-log-entry): Return t on success.
14806 * vc-rcs.el (vc-rcs-print-log):
14807 * vc-sccs.el (vc-sccs-print-log):
14808 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14810 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14812 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14813 Add menus to the meta mode. (Bug#5043)
14815 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14817 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14820 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14822 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14824 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14825 Berbain <raphael.berbain@gmail.com>.
14827 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14829 (tramp-initial-end-of-output): New defconst.
14830 (tramp-methods, tramp-find-shell)
14831 (tramp-open-connection-setup-interactive-shell)
14832 (tramp-maybe-open-connection): Use it.
14833 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14834 Handle existence of `#' and `$'.
14836 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14837 Use `tramp-initial-end-of-output'.
14839 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14841 Get the background mode from the terminal for xterm, and set
14843 * term/xterm.el (xterm-set-background-mode): New function.
14844 (terminal-init-xterm): Use it in case xterm supports background
14845 color queries. Recompute faces after getting the background
14848 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14850 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14851 number comment back on its own line, for easier parsing.
14853 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14855 Make it work for non-file buffers (bug#5102).
14856 * doc-view.el (doc-view-current-cache-dir):
14857 Use doc-view-buffer-file-name rather than buffer-file-name.
14858 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14860 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14862 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14863 author field is too short.
14865 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14867 * vc-git.el (vc-git-print-log): Handle a limit argument.
14868 Display the short log in graph form and with labels.
14869 (vc-git-log-view-mode): Handle labels.
14871 Make vc-revert change VC state from 'added to 'unregistered.
14872 * vc-git.el (vc-git-revert): Call git reset first.
14874 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14876 * net/newst-backend.el, net/newst-plainview.el:
14877 * net/newst-reader.el, net/newst-ticker.el:
14878 * net/newst-treeview.el, net/newsticker.el:
14879 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14881 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14883 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14885 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14886 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14887 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14888 Update annotation regexp.
14890 * simple.el (beginning-of-visual-line): Constrain to field
14891 boundaries (Bug#5106).
14893 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14895 * xml.el (xml-substitute-numeric-entities):
14896 Move newsticker--decode-numeric-entities in newst-backend.el to
14897 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14898 * net/newst-backend.el (newsticker--parse-generic-feed)
14899 (newsticker--parse-generic-items)
14900 (newsticker--decode-numeric-entities):
14901 Move newsticker--decode-numeric-entities in newst-backend.el to
14902 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14904 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14906 * progmodes/js.el (js--js-not): Add null to the list of values.
14908 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14910 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14912 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14914 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14915 delimiter if it is at the end of the current line.
14916 (bibtex-generate-url-list): Fix docstring.
14918 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14920 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14921 minibuffer's content with itself.
14922 Fold the confirm-after-completion case into the `confirm' case.
14923 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14925 2009-12-06 Kevin Ryde <user42@zip.com.au>
14927 * ffap.el (ffap-rfc-path): Make this a defcustom since
14928 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14930 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14931 manuals, similar to existing setup for help-mode. (Bug#3913.)
14933 2009-12-05 Juri Linkov <juri@jurta.org>
14935 Save and restore dired buffer's point positions too. (Bug#4880)
14937 * dired.el (dired-save-positions): Return in the first element
14938 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14940 (dired-restore-positions): First restore buffer's position.
14941 While restoring window's positions, check if window still displays
14942 the original buffer.
14944 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14946 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14949 * shell.el (shell): Require ansi-color (Bug#5113).
14951 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14953 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14955 2009-12-05 Alan Mackenzie <acm@muc.de>
14957 * progmodes/cc-mode.el (c-before-hack-hook)
14958 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14959 `c-file-style' to work again. This reversion restores the current
14960 software to its state in Emacs 23.1. (Bug#4146)
14962 2009-12-05 Kevin Ryde <user42@zip.com.au>
14964 * textmodes/sgml-mode.el (sgml-lexical-context):
14965 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14967 2009-12-05 Juri Linkov <juri@jurta.org>
14969 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14970 for virtual nodes. (Bug#4147)
14971 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14972 when moving from a virtual node.
14973 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14974 (Info-mode): Add `Info-virtual-index' to the docstring.
14976 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14978 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14979 track of the buffer position of the end of a BibTeX entry as this
14980 position may change during reformatting.
14981 (bibtex-format-entry): Remove whitespace before processing
14982 numerical fields so that we recognize the latter properly.
14983 (bibtex-reformat): Do not use push which changes the global value
14984 of bibtex-entry-format.
14985 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14986 (bibtex-field-re-init): Replace only space characters by regexp
14988 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14989 (bibtex-initialize): Also update bibtex-strings.
14990 (bibtex-kill-field): Preserve white space at end of entry.
14991 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14992 Update bibtex-reference-keys.
14994 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14996 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14997 point after a star, if that's the only place where modifications can
15000 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15002 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15005 2009-12-04 Juri Linkov <juri@jurta.org>
15007 * proced.el (proced): Call `(proced-update t)' to update process
15008 information instead of only running proced-post-display-hook.
15009 (proced-send-signal): Add a leading space to the buffer name
15010 " *Marked Processes*" to make this buffer ephemeral.
15012 2009-12-04 Juri Linkov <juri@jurta.org>
15014 * dired.el (dired-auto-revert-buffer): New defcustom.
15015 (dired-internal-noselect): Use it.
15017 2009-12-04 Juri Linkov <juri@jurta.org>
15019 Change roles of modes and functions in image-mode.el (Bug#5062).
15021 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15022 in `auto-mode-alist'.
15023 (image-mode-previous-major-mode): New variable.
15024 (image-minor-mode-map): Rename from `image-mode-text-map'.
15025 (image-mode): Move graceful error-handling code from
15026 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15027 (image-minor-mode): Remove all image-handling code.
15028 Replace `image-mode-text-map' with `image-minor-mode-map'.
15029 Check for `image-type' in mode-line format string.
15030 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15031 (image-mode-as-text): New function with most code from
15032 `image-mode-maybe'.
15033 (image-toggle-display-text): Move code that removes image
15034 properties from `image-toggle-display' to here.
15035 (image-toggle-display-image): New function with code that adds
15036 image properties copied from `image-toggle-display'.
15037 (image-toggle-display): Remove most code with leaving only code
15038 that toggles between `image-mode-as-text' and `image-mode'.
15040 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15042 * net/newst-treeview.el
15043 (newsticker--treeview-list-highlight-start): Restored call to
15044 save-excursion: Selected item was stuck.
15045 (newsticker--treeview-list-select): New.
15046 (newsticker--treeview-item-show-text)
15047 (newsticker--treeview-item-show)
15048 (newsticker--treeview-item-update): Use new
15049 newsticker-treeview-item-mode.
15050 (newsticker-treeview-update): Keep current item.
15051 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15052 (newsticker--treeview-first-feed): Doc change.
15053 (newsticker-treeview-list-menu)
15054 (newsticker-treeview-item-menu): Add menu entries.
15055 (newsticker-treeview-item-mode): New.
15057 * net/newst-backend.el (newsticker-customize): Delete other
15060 2009-12-04 Sam Steingold <sds@gnu.org>
15062 * log-view.el (log-view-mode-map): "q" calls quit-window,
15063 like in all the other non-self-insert buffers.
15065 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15068 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15069 key decoding rather than do it manually via last-input-event +
15071 (term-exec): Use delete-and-extract-region.
15072 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15073 (term-process-pager): Remove unused var `i'.
15074 (term-dynamic-simple-complete): Make obsolete.
15075 (serial-update-config-menu): Remove unused vars `y' and `str'.
15076 (term-update-mode-line): Remove unused var `temp'.
15078 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15080 Limit the number of log entries displayed by default.
15081 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15082 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15083 using a prefix argument.
15085 2009-12-03 Glenn Morris <rgm@gnu.org>
15087 * progmodes/idlwave.el (class): Restore still useful declaration.
15089 2009-12-03 Alan Mackenzie <acm@muc.de>
15091 Enhance `c-parse-state' to run efficiently in "brace deserts".
15093 * progmodes/cc-mode.el (c-basic-common-init):
15094 Call c-state-cache-init.
15095 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15096 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15097 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15099 * progmodes/cc-langs.el (c-before-font-lock-function):
15100 c-extend-and-neutralize-syntax-in-CPP has been renamed
15101 c-neutralize-syntax-in-and-mark-CPP.
15103 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15104 with `category' properties now, not `syntax-table' ones.
15106 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15107 enhanced (but slower) version of c-end-of-macro that won't land
15108 inside a literal or on another awkward character.
15109 (c-state-cache-too-far, c-state-cache-start)
15110 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15111 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15112 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15113 (c-state-min-scan-pos, c-state-brace-pair-desert)
15114 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15115 buffer local variables.
15116 (c-state-literal-at, c-state-lit-beg)
15117 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15118 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15119 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15120 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15121 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15122 (c-renarrow-state-cache)
15123 (c-append-lower-brace-pair-to-state-cache)
15124 (c-state-push-any-brace-pair, c-append-to-state-cache)
15125 (c-remove-stale-state-cache)
15126 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15127 (c-invalidate-state-cache-1, c-parse-state-1)
15128 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15129 (c-parse-state): Enhance and refactor.
15130 (c-debug-parse-state): Amend to deal with all the new variables.
15132 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15133 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15134 modify to use category text properties rather than syntax-table ones.
15135 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15136 to switch off/on the syntactic paren property of C++ template
15137 delimiters using the category property.
15138 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15139 template delims suppressed.
15140 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15141 New constant/macros which apply category properties to the start
15142 and end of preprocessor constructs.
15143 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15144 "comment out" the syntactic value of characters in preprocessor
15146 (c-with-cpps-commented-out)
15147 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15148 with characters in all or all but one preprocessor constructs
15151 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15153 * proced.el (proced-filter-alist): Use regexp-quote.
15155 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15158 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15159 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15160 arguments. Expand `default-directory'.
15162 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15163 the benefit of returning an expanded localname.
15164 (tramp-tramp-file-p): Handle the case NAME is not a string.
15166 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15168 Add support for bzr shelve/unshelve.
15169 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15170 (vc-bzr-extra-menu-map): New variables.
15171 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15172 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15173 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15174 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15175 (vc-bzr-dir-extra-headers): Display shelves.
15177 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15179 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15181 * textmodes/bibtex.el (bibtex-complete-internal):
15182 Use completion-in-region.
15183 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15185 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15187 Support applying stashes. Improve UI.
15188 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15189 (vc-git-stash-apply, vc-git-stash-pop)
15190 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15191 (vc-git-stash-menu): New functions.
15192 (vc-git-stash-menu-map): New variable.
15193 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15195 2009-12-03 Glenn Morris <rgm@gnu.org>
15197 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15198 (vc-print-log-internal): Fix previous change.
15199 (vc-revert): Correct pluralization.
15201 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15203 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15204 it to be an alist any more.
15205 (makefile-complete): Use completion-in-region.
15207 * progmodes/octave-mod.el (octave-complete-symbol):
15208 Use completion-in-region.
15211 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15212 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15213 (idlwave-complete-class): Don't quote lambda.
15214 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15215 (idlwave-mode-map): Move initialization into declaration.
15216 (idlwave-action-and-binding): Use backquotes.
15217 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15219 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15220 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15221 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15222 `parts', and `all-parts'.
15223 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15224 (idlwave-convert-xml-system-routine-info): Remove unused string
15226 (idlwave-display-user-catalog-widget): Use dolist.
15227 (idlwave-scanning-lib): Declare dynamically-scoped var.
15228 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15229 (completion-highlight-first-word-only): Declare to silence bytecomp.
15230 (idlwave-popup-select): Tighten scope of `resp'.
15231 (idlwave-find-struct-tag): Remove unused var `beg'.
15232 (idlwave-after-load-rinfo-hook): Declare.
15233 (idlwave-sintern-class-info): Remove unused var `taglist'.
15234 (idlwave-find-class-definition): Remove unused var `list'.
15235 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15236 (idlwave-what-module-find-class): Remove unused var `classes'.
15238 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15240 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15242 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15244 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15245 buffers visited. Remove redundant current-buffer-saving.
15247 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15249 Use completion-in-buffer and remove uses of dynamic scoping.
15250 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15251 (pascal-buffer-to-use, pascal-flag): Don't declare.
15252 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15253 (pascal-get-completion-decl, pascal-keyword-completion):
15254 Add `pascal-str' argument, save-excursion,
15255 return the found completions, and don't filter with pascal-pred.
15256 (pascal-completion-cache): New var.
15257 (pascal-completion): Don't switch buffer any more (it was never
15258 necessary). Don't save-excursion any more (it's done by the called
15259 subroutines). Use a cache to avoid redundant computations.
15260 Use complete-with-action rather than pascal-completion-response and
15261 let it apply the predicate as well.
15262 (pascal-complete-word): Use completion-in-buffer when
15263 pascal-toggle-completions is nil.
15264 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15266 (pascal-comp-defun): Don't change buffer any more.
15267 Use complete-with-action rather than pascal-completion-response and
15268 let it apply the predicate as well.
15269 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15272 2009-12-02 Kenichi Handa <handa@m17n.org>
15274 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15275 shape for all Indic scripts.
15277 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15279 Use completion-in-buffer.
15280 * wid-edit.el (widget-field-text-end): New function.
15281 (widget-field-value-get): Use it.
15282 (widget-string-complete, widget-file-complete)
15283 (widget-color-complete): Use it and completion-in-region.
15284 (widget-complete): Don't narrow the buffer.
15286 2009-12-02 Glenn Morris <rgm@gnu.org>
15288 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15289 (rmail-select-summary): Use rmail-pop-to-buffer.
15290 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15291 rmail-pop-to-buffer, to prevent horizontal splits.
15293 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15294 save-excursion with save-current-buffer.
15295 Widen before searching. (Bug#5093)
15296 (diary-list-sexp-entries): Remove superfluous save-excursion.
15298 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15300 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15303 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15305 * ido.el (ido-file-internal): Handle filenames at point that do
15306 not have a directory part. (Bug#5049)
15308 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15310 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15311 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15313 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15315 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15316 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15319 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15321 * comint.el (comint-insert-input): Ignore clicks to the right of
15322 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15324 * vc.el (vc-print-log-internal): Don't wait for the process to
15325 terminate before setting up the major mode.
15327 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15330 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15333 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15335 2009-12-01 Glenn Morris <rgm@gnu.org>
15337 * window.el (window--display-buffer-2): Fix previous changes.
15339 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15341 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15343 2009-12-01 Glenn Morris <rgm@gnu.org>
15345 * Makefile.in (ELCFILES): Add mpc.elc.
15347 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15349 * mpc.el: New file.
15351 2009-12-01 Glenn Morris <rgm@gnu.org>
15353 * window.el (window-to-use): Define for compiler.
15355 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15356 consistent with others (no final period).
15358 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15359 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15361 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15363 Make vc-print-log buttons work.
15364 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15366 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15368 * savehist.el (savehist-autosave-interval): Allow setting to nil
15369 through customize. (Bug#5056)
15371 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15373 Fix references to jit-lock properties.
15374 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15375 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15376 (perl-font-lock-special-syntactic-constructs):
15377 Quote jit-lock-defer-multiline property.
15379 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15381 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15383 2009-11-30 Juri Linkov <juri@jurta.org>
15385 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15386 value `buffer' of `multi-isearch-next-buffer-current-function'.
15387 Use `(current-buffer)' when `buffer' is nil.
15388 (multi-isearch-next-buffer-from-list): Don't fallback to
15389 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15391 2009-11-30 Juri Linkov <juri@jurta.org>
15393 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15394 of buffers with `get-buffer' to `multi-isearch-buffers'.
15395 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15396 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15397 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15398 FILES with `expand-file-name' converting relative file names
15399 to absolute. Doc fix. (Bug#4727)
15401 2009-11-30 Juri Linkov <juri@jurta.org>
15403 * misearch.el (multi-isearch-read-buffers)
15404 (multi-isearch-read-matching-buffers): New functions.
15405 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15406 Use them in the `interactive' spec. Doc fix.
15407 (multi-isearch-read-files, multi-isearch-read-matching-files):
15409 (multi-isearch-files, multi-isearch-files-regexp):
15410 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15412 2009-11-30 Juri Linkov <juri@jurta.org>
15414 * doc-view.el (doc-view-continuous):
15415 Rename from `doc-view-continuous-mode'.
15416 (doc-view-menu): Move "Toggle display" to the top.
15417 Add submenu "Continuous" with radio buttons "Off"/"On"
15418 and "Save as Default".
15419 (doc-view-scroll-up-or-next-page)
15420 (doc-view-scroll-down-or-previous-page)
15421 (doc-view-next-line-or-next-page)
15422 (doc-view-previous-line-or-previous-page):
15423 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15425 2009-11-30 Juri Linkov <juri@jurta.org>
15427 * comint.el (comint-mode-map): Rebind `M-r' from
15428 `comint-previous-matching-input' to
15429 `comint-history-isearch-backward-regexp'.
15430 Unbind `M-s' to allow global key binding `M-s'.
15431 Add menu items for `comint-history-isearch-backward' and
15432 `comint-history-isearch-backward-regexp'. (Bug#3746)
15434 2009-11-30 Juri Linkov <juri@jurta.org>
15436 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15437 For def=recenter, replace `recenter' with `recenter-top-bottom'
15438 that is called with `this-command' and `last-command' let-bound
15439 to `recenter-top-bottom'. When the last `def' was not `recenter',
15440 set `recenter-last-op' to nil. (Bug#4981)
15442 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15444 Minor cleanup and simplification.
15445 * filecache.el (file-cache-add-directory)
15446 (file-cache-add-directory-recursively)
15447 (file-cache-add-from-file-cache-buffer)
15448 (file-cache-delete-file-regexp, file-cache-delete-directory)
15449 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15450 (file-cache-temp-minibuffer-message): Delete function.
15451 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15453 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15454 Don't signal an error when bumping into EOB in tr, s, or y.
15456 2009-11-29 Juri Linkov <juri@jurta.org>
15458 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15461 * descr-text.el (describe-char-unidata-list): Use lowercase name
15462 for "Unicode name" like in other tags.
15464 2009-11-29 Juri Linkov <juri@jurta.org>
15466 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15467 New compatibility macro.
15468 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15470 2009-11-29 Juri Linkov <juri@jurta.org>
15472 Add defcustom to define the cycling order of `recenter-top-bottom'.
15475 * window.el (recenter-last-op): Doc fix.
15476 (recenter-positions): New defcustom.
15477 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15478 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15480 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15482 Improve integration of Tramp and ange-ftp in eshell.
15484 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15485 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15486 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15488 * eshell/esh-util.el (top): Require also Tramp when compiling.
15489 (eshell-directory-files-and-attributes): Check for FTP remote
15491 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15492 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15493 (eshell-file-attributes): Handle ".". Return `entry'.
15495 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15496 (ange-ftp-directory-files-and-attributes)
15497 (ange-ftp-real-directory-files-and-attributes): New defuns.
15499 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15500 shell with "exec" when possible. This prevents trailing prompts
15501 in `start-file-process'.
15503 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15505 Try and remove assumptions about point-min==1.
15506 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15507 (rng-compute-mode-line-string): Show the validation percentage in
15508 terms of the narrowed text, not the widened text.
15509 (rng-do-some-validation): Don't catch internal errors when debugging.
15510 (rng-first-error): Simplify.
15511 (rng-after-change-function): Remove work around. AFAIK the bug has
15512 been fixed a while ago.
15514 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15515 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15517 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15519 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15520 `cd' doesn't always do it for us (bug#5067).
15522 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15523 on 2009-10-25 as part of some other change (bug#5067).
15525 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15527 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15529 (byte-compile-warnings): Use byte-compile-warning-types.
15530 (byte-compile-save-excursion): Warn about use of set-buffer right
15531 after save-excursion.
15533 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15534 the excursion as well.
15536 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15538 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15539 providing a Tramp related implementation of "su" and "sudo".
15540 (eshell-unix-initialize): Add "su" and "sudo".
15542 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15544 * net/socks.el (socks-send-command): Convert binary request to
15545 unibyte before sending. This fixes mishandling of some port
15546 numbers such as 129.
15548 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15550 * help.el (describe-bindings-internal): Remove `interactive'.
15552 * man.el (Man-completion-table): Trim a terminating "(".
15553 Remove the space between name page a section.
15554 Add the command's description on the `help-echo' property.
15555 Remove `process-connection-type' binding since it's unused by
15557 Provide completion for the "<section> <name>" format as well.
15558 (Man-default-man-entry): Remove spurious var shadowing the argument.
15560 2009-11-26 Kevin Ryde <user42@zip.com.au>
15562 * log-view.el: Add "Keywords: tools", since its other keywords
15563 aren't in finder-known-keywords, and following vc.el.
15565 * sha1.el (sha1-string-external): default-directory "/" in case
15566 otherwise non-existent. process-connection-type pipe for touch of
15567 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15569 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15571 Misc coding convention cleanups.
15572 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15573 hfy-init-kludge-hooks.
15574 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15575 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15576 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15578 (hfy-slant, hfy-weight): Use tables rather than code.
15579 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15580 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15581 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15582 (hfy-face-to-css): Remove `nconc' with single arg.
15583 (hfy-p-to-face-lennart): Use `or'.
15584 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15585 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15586 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15587 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15588 (hfy-force-fontification): Use run-hooks.
15590 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15592 Various minor fixes.
15593 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15594 Javascript belongs in the header, not the body.
15595 (hfy-javascript): Remove.
15596 (hfy-fontify-buffer): Don't insert it any more.
15597 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15598 Fix bug in invis handling when there were no invis props in a chunk.
15600 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15602 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15604 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15606 * finder.el (finder-mode-map): Add a menu.
15608 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15610 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15611 "unsigned" structs.
15613 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15614 fork" statement better.
15616 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15618 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15619 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15620 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15621 Reported by Clay Douglass.
15623 (verilog-auto-inst, verilog-auto-star-safe)
15624 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15625 Fix removing "// Interfaces" when saving .* expansions.
15626 Reported by Pierre-David Pfister.
15628 2009-11-26 Glenn Morris <rgm@gnu.org>
15630 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15633 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15635 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15636 Really use previous revision.
15638 2009-11-25 Kevin Ryde <user42@zip.com.au>
15640 * man.el (Man-completion-table): default-directory "/" in case
15641 doesn't otherwise exist. process-environment COLUMNS=999 so as
15642 not to truncate long names. process-connection-type pipe to avoid
15643 any chance of hitting the pseudo-tty TIOCGWINSZ.
15644 (man): completion-ignore-case t for friendliness and since man
15645 itself is case-insensitive on the command line.
15646 Further to Bug#3717.
15648 * arc-mode.el: Add "Keywords: files", so the details in its
15649 commentary can be reached from finder-by-keyword.
15650 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15651 editing mode, but it's comms related and sgml-mode.el has "comm"
15653 * textmodes/bibtex-style.el: Add "Keywords: tex".
15654 * international/isearch-x.el, international/ja-dic-cnv.el:
15655 * international/ja-dic-utl.el, international/kkc.el:
15656 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15658 2009-11-25 Juri Linkov <juri@jurta.org>
15660 * man.el (Man-completion-table): Modify regexp to include
15661 section names to completion strings. (Bug#3717)
15663 2009-11-25 Juri Linkov <juri@jurta.org>
15665 Search recursively in gzipped files. (Bug#4982)
15667 * progmodes/grep.el (grep-highlight-matches): Add new options
15668 `always' and `auto'. Doc fix.
15669 (grep-process-setup): Check `grep-highlight-matches' for
15670 `auto-detect' to determine the need to compute grep defaults.
15671 Move Windows/DOS specific --colors settings handling
15672 to `grep-compute-defaults'. Check `grep-highlight-matches'
15673 to get the value of "--color=".
15674 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15675 has the value `auto-detect'. Move Windows/DOS specific settings
15676 from `grep-process-setup'.
15677 (zrgrep): New command with alias `rzgrep'.
15679 2009-11-25 Juri Linkov <juri@jurta.org>
15681 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15682 to nil instead of switching off view-mode. (Bug#4896)
15684 2009-11-25 Juri Linkov <juri@jurta.org>
15686 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15688 * mwheel.el (mwheel-scroll-up-function)
15689 (mwheel-scroll-down-function): New defvars.
15690 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15691 `scroll-up', and `mwheel-scroll-down-function' instead of
15694 * doc-view.el (doc-view-scroll-up-or-next-page)
15695 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15696 Use this ARG in the call to image-scroll-up/image-scroll-down.
15697 Change `interactive' spec to "P". Goto next/previous page only
15698 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15699 SPC/DEL case). Doc fix.
15700 (doc-view-next-line-or-next-page)
15701 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15703 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15704 `doc-view-scroll-up-or-next-page', and buffer-local
15705 `mwheel-scroll-down-function' to
15706 `doc-view-scroll-down-or-previous-page'.
15708 2009-11-25 Juri Linkov <juri@jurta.org>
15710 Provide additional default values (directories at other Dired
15711 windows) via M-n in the minibuffer of some Dired commands.
15713 * dired-aux.el (dired-diff, dired-compare-directories)
15714 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15715 `minibuffer-default' in `minibuffer-with-setup-hook'.
15716 (dired-dwim-target-directory): Find a window that displays Dired
15717 buffer instead of failing when the next window is not Dired.
15718 Use `get-window-with-predicate' to find for the next Dired window.
15719 (dired-dwim-target-defaults): New function.
15721 * ediff-util.el (ediff-read-file-name):
15722 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15723 in `minibuffer-with-setup-hook'.
15725 2009-11-25 Juri Linkov <juri@jurta.org>
15727 Provide additional default values (file name at point or at the
15728 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15730 * minibuffer.el (read-file-name-defaults): New function.
15731 (read-file-name): Reset `minibuffer-default' to nil when
15732 it duplicates initial input `insdef'.
15733 Bind `minibuffer-default-add-function' to lambda that
15734 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15735 (minibuffer-insert-file-name-at-point): New command.
15737 * files.el (file-name-at-point-functions): New defcustom.
15738 (find-file-default): Remove defvar.
15739 (find-file-read-args): Don't use `find-file-default'.
15740 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15741 to `read-file-name'.
15742 (find-file-literally): Use `read-file-name' with
15743 `confirm-nonexistent-file-or-buffer'.
15745 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15747 * dired.el (dired-read-dir-and-switches):
15748 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15749 to `read-file-name'.
15750 (dired-file-name-at-point): New function.
15751 (dired-mode): Add hook `dired-file-name-at-point' to
15752 `file-name-at-point-functions'.
15754 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15756 Really make the *Completions* window soft-dedicated (bug#5030).
15757 * window.el (window--display-buffer-2): Add `dedicated' argument.
15758 (display-buffer): Pass it when needed so the dedicated flag is set
15759 after calling set-window-buffer, which would otherwise reset it.
15761 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15763 * progmodes/meta-mode.el (meta-complete-symbol):
15764 * progmodes/etags.el (complete-tag):
15765 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15766 Use completion-in-region.
15768 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15769 (dabbrev-completion): Use completion-in-region.
15770 (dabbrev--abbrev-at-point): Simplify regexp.
15772 * abbrev.el (abbrev--before-point): Use word-motion functions
15773 if :regexp is not specified (bug#5031).
15775 * subr.el (string-prefix-p): New function.
15777 * man.el (Man-completion-cache): New var.
15778 (Man-completion-table): Use it.
15780 * vc.el (vc-print-log-internal): Make `limit' optional for better
15781 compatibility (e.g. with vc-annotate.el).
15783 2009-11-24 Kevin Ryde <user42@zip.com.au>
15785 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15786 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15788 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15789 when .el source file not found or other error.
15791 2009-11-24 Markus Triska <markus.triska@gmx.at>
15793 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15795 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15797 Handle the [back] button properly (bug#4979).
15798 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15799 Use help-setup-xref, help-buffer, and with-help-window.
15800 (describe-char): Add `buffer' argument.
15801 Pass proper command to help-setup-xref. Don't meddle with
15802 help-xref-stack-item directly.
15803 (describe-text-category): Use with-help-window and help-buffer.
15805 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15806 for the displayed buffer (bug#4887).
15808 * man.el (Man-completion-table): New function.
15811 2009-11-24 David Reitter <david.reitter@gmail.com>
15813 * vc-git.el (vc-git-registered): Use checkout directory (where
15814 .git is) rather than the file's directory and a relative path spec
15815 to work around a bug in git.
15817 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15819 Improve handling of processes on remote hosts.
15821 * eshell/esh-util.el (eshell-path-env): New defvar.
15822 (eshell-parse-colon-path): New defun.
15823 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15825 * eshell/esh-ext.el (eshell-search-path):
15826 Use `eshell-parse-colon-path'.
15827 (eshell-remote-command): Remove argument HANDLER.
15828 (eshell-external-command): Check for FTP remote connection.
15830 * eshell/esh-proc.el (eshell-gather-process-output):
15831 Use `file-truename', in order to start also symlinked files.
15832 Apply `start-file-process' instead of `start-process'.
15833 Shorten `command' to the local file name part.
15835 * eshell/em-cmpl.el (eshell-complete-commands-list):
15836 Use `eshell-parse-colon-path'.
15838 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15840 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15841 to `eshell-directory-change-hook'.
15843 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15845 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15846 because it could be enabled automatically if view-read-only is non-nil.
15848 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15850 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15851 made on 2009-11-22.
15853 2009-11-24 Glenn Morris <rgm@gnu.org>
15855 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15856 deleted variable bookmark-bmenu-bookmark-column.
15858 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15860 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15862 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15864 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15865 two slashes to the "file:" prefix.
15866 (browse-url-file-url): De-munge Cygwin filenames before passing
15867 them to Windows browser.
15868 (browse-url-default-windows-browser): Use call-process.
15870 2009-11-23 Juri Linkov <juri@jurta.org>
15872 Implement DocView Continuous mode. (Bug#4896)
15873 * doc-view.el (doc-view-continuous-mode): New defcustom.
15874 (doc-view-mode-map): Bind C-n/<down> to
15875 `doc-view-next-line-or-next-page', C-p/<up> to
15876 `doc-view-previous-line-or-previous-page'.
15877 (doc-view-next-line-or-next-page)
15878 (doc-view-previous-line-or-previous-page): New commands.
15880 2009-11-23 Juri Linkov <juri@jurta.org>
15882 Implement Isearch in comint input history. (Bug#3746)
15883 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15884 `isearch-mode-hook'.
15885 (comint-history-isearch): New defcustom.
15886 (comint-history-isearch-backward)
15887 (comint-history-isearch-backward-regexp): New commands.
15888 (comint-history-isearch-message-overlay): New buffer-local variable.
15889 (comint-history-isearch-setup, comint-history-isearch-end)
15890 (comint-goto-input, comint-history-isearch-search)
15891 (comint-history-isearch-message, comint-history-isearch-wrap)
15892 (comint-history-isearch-push-state)
15893 (comint-history-isearch-pop-state): New functions.
15895 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15897 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15899 (tramp-handle-make-symbolic-link)
15900 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15902 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15903 (tramp-handle-process-file): Use it.
15905 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15907 * window.el (move-to-window-line-last-op): Remove.
15908 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15910 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15912 Make M-r mirror the new cycling behavior of C-l.
15913 * window.el (move-to-window-line-last-op): New var.
15914 (move-to-window-line-top-bottom): New command.
15915 (global-map): Bind M-r move-to-window-line-top-bottom.
15917 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15919 * dired-x.el (dired-guess-shell-alist-default):
15920 Support xz format. (Bug#4953)
15922 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15924 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15925 last-command-char/last-command-event.
15926 (viper-prefix-arg-value): Do correct conversion of event-char for
15929 * emulation/viper-util.el, emulation/viper.el:
15930 Use viper-last-command-char instead of
15931 last-command-char/last-command-event.
15933 * ediff-init.el, ediff-mult.el, ediff-util.el:
15934 Replace last-command-char and last-command-event
15935 with (ediff-last-command-char) everywhere.
15937 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15938 created in fundamental mode.
15940 * ediff.el (ediff-version): Revert the change of interactive-p to
15941 called-interactively-p.
15943 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15945 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15946 generation from word-movement command names.
15948 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15950 * cus-start.el (all): Add native condition for font-use-system-font.
15952 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15954 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15955 Correct the patch from 2009-11-18. (Bug#3910)
15957 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15959 * progmodes/subword.el: Rename from lisp/subword.el.
15961 * subword.el: Rename to progmodes/subword.el.
15963 * Makefile.in (ELCFILES): Adapt to subword.el move.
15965 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15966 Stefan Monnier <monnier@iro.umontreal.ca>
15968 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15969 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15970 (bookmark-bmenu-show-filenames): Use push.
15971 (bookmark-bmenu-hide-filenames): Use local var instead of
15972 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15973 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15974 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15975 filenames now that the bookmark names are always available.
15977 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15979 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15980 (bookmark-search-pattern): Move and leave unbound.
15981 (bookmark-bmenu-mode-map): Change binding.
15982 (bookmark-read-search-input): Simplify.
15983 Don't use text-char-description. Don't error on non-char events.
15984 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15985 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15986 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15987 Use a local var for the timer.
15988 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15989 (i.e. bookmark-bmenu-search).
15991 2009-11-21 Glenn Morris <rgm@gnu.org>
15993 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15995 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15997 * net/browse-url.el (browse-url-default-windows-browser):
15998 Use cygstart for cygwin.
16000 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16002 * bookmark.el: Formatting and doc fixes only:
16003 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16004 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16005 Minor grammar and punctuation fixes in doc string.
16006 (bookmark-read-search-input): Adjust to fit within 80 columns.
16008 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16010 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16011 (c-backward-into-nomenclature): Adapt to subword renaming.
16013 * subword.el (subword-forward, subword-backward, subword-mark)
16014 (subword-kill, subword-backward-kill, subword-transpose)
16015 (subword-downcase, subword-upcase, subword-capitalize)
16016 (subword-forward-internal, subword-backward-internal):
16017 Rename from forward-subword, backward-subword, mark-subword,
16018 kill-subword, backward-kill-subword, transpose-subwords,
16019 downcase-subword, upcase-subword, capitalize-subword,
16020 forward-subword-internal, backward-subword-internal.
16022 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16024 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16026 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16028 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16029 (bookmark-bmenu-filter-alist-by-regexp)
16030 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16031 (bookmark-bmenu-search): New command.
16032 (bookmark-bmenu-mode-map): Bind it.
16034 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16036 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16037 backward-subword to quit the byte-compiler.
16039 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16041 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16043 * progmodes/cc-cmds.el (c-update-modeline)
16044 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16045 Refer to subword.el functions instead of cc-subword.el.
16047 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16048 subword.el functions instead of cc-subword.el.
16050 * progmodes/cc-subword.el: Rename to subword.el.
16051 * subword.el: Rename from progmodes/cc-subword.el.
16052 (subword-mode-map): Rename from c-subword-mode-map.
16053 (subword-mode): Rename from c-subword-mode.
16054 (global-subword-mode): New global minor mode.
16055 (forward-subword): Rename from c-forward-subword.
16056 (backward-subword): Rename from c-backward-subword.
16057 (mark-subword): Rename from c-mark-subword.
16058 (kill-subword): Rename from c-kill-subword.
16059 (backward-kill-subword): Rename from c-backward-kill-subword.
16060 (transpose-subwords): Rename from c-tranpose-subword.
16061 (downcase-subword): Rename from c-downcase-subword.
16062 (capitalize-subword): Rename from c-capitalize-subword.
16063 (forward-subword-internal): Rename from c-forward-subword-internal.
16064 (backward-subword-internal): Rename from c-backward-subword-internal.
16066 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16068 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16069 from a dired buffer.
16070 (vc-dired-deduce-fileset): New function.
16071 (vc-root-diff, vc-print-root-log): Use it.
16073 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16074 nil LIMIT argument to vc-print-log-internal.
16076 2009-11-20 Glenn Morris <rgm@gnu.org>
16078 * Makefile.in (ELCFILES): Regenerate.
16080 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16082 * calc/calc.el (calc-set-mode-line):
16083 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16084 (math-format-number): Rename `math-format-complement-signed' to
16085 `math-format-twos-complement'.
16087 * calc/calc-bin.el (math-format-twos-complement): Rename from
16088 math-format-complement-signed.
16089 (calc-radix): Rename `calc-complement-signed-mode' to
16090 `calc-twos-complement-mode'.
16091 (calc-octal-radix, calc-hex-radix): Add an argument for
16094 * calc/calc-embed.el (calc-embedded-mode-vars):
16095 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16097 * calc/calc-ext.el (calc-init-extensions):
16098 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16099 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16101 * calc/calc-units.el (math-build-units-table-buffer):
16102 Let `calc-twos-complement-mode' be nil.
16104 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16107 * calc/calc-vec.el (calcFunc-vunpack):
16108 * calc/calc-aent.el (calc-do-calc-eval):
16109 * calc/calc-forms.el (math-format-date):
16110 * calc/calc-graph.el (calc-graph-plot):
16111 * calc/calc-math.el (math-use-emacs-fn):
16112 * calc/calccomp.el (math-compose-expr):
16113 Let `calc-twos-complement-mode' be nil.
16115 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16117 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16118 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16119 * minibuffer.el (completion-in-region-functions): New hook.
16120 (completion-in-region): New function.
16121 * emacs-lisp/lisp.el (lisp-complete-symbol):
16122 * pcomplete.el (pcomplete-std-complete): Use it.
16124 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16126 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16127 (latex-complete-alist): New vars.
16128 (latex-string-prefix-p, latex-complete-bibtex-keys)
16129 (latex-complete-envnames, latex-complete-refkeys)
16130 (latex-complete-data): New functions.
16131 (latex-complete, latex-indent-or-complete): New commands.
16133 * window.el (display-buffer-mark-dedicated): New var.
16134 (display-buffer): Obey it.
16135 * minibuffer.el (minibuffer-completion-help): Use it.
16137 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16139 * filecache.el (file-cache-add-file): Use push and cons.
16140 (file-cache-delete-file-regexp): Use push.
16141 (file-cache-complete): Use completion-in-region.
16143 * simple.el (with-wrapper-hook): Fix thinko.
16145 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16146 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16147 Use with-current-buffer and string-to-number.
16148 (hfy-fallback-colour-values): Use assoc-string.
16149 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16150 (hfy-face-at): Remove unused var `found-face'.
16151 (hfy-compile-stylesheet): Remove unused var `css'.
16152 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16154 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16155 Use with-current-buffer.
16156 (hfy-text-p): Use expand-file-name and fewer setq.
16158 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16160 * htmlfontify.el, hfy-cmap.el: New files.
16162 2009-11-19 Juri Linkov <juri@jurta.org>
16164 * minibuffer.el (completions-format): New defcustom.
16165 (completion--insert-strings): Implement vertical format.
16167 * simple.el (switch-to-completions): Move point to the first
16168 completion when point was at the beginning of the buffer.
16170 2009-11-19 Juri Linkov <juri@jurta.org>
16172 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16174 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16176 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16178 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16179 (mail-signature): Change default to t.
16180 (mail-from-style): Deprecate `system-default' value.
16181 (mail-insert-from-field): For default value of mail-from-style,
16182 default to `angles' unless `angles' needs quoting and `parens'
16184 (mail-citation-prefix-regexp): Use citation regexp from
16187 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16189 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16190 Set variables for computing the prompt for reading password.
16192 2009-11-19 Glenn Morris <rgm@gnu.org>
16194 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16196 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16198 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16199 (newsticker-treeview-listwindow-height): Fix custom type.
16201 2009-11-19 Kenichi Handa <handa@m17n.org>
16203 * descr-text.el (describe-char-padded-string): Compose with TAB
16204 only if there's a font for CH.
16205 (describe-char): Fix the condition for detecting a trivial composition.
16207 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16209 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16210 more accurate version of the regexp. (Bug#3910)
16212 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16214 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16216 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16218 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16219 (font-setting-change-default-font): Fix typo in docstring.
16221 2009-11-18 Alan Mackenzie <acm@muc.de>
16223 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16225 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16227 * font-setting.el (font-use-system-font): Move ...
16229 * cus-start.el (all): ... to here.
16231 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16233 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16234 Don't set `ad-return-value' if `ad-do-it' doesn't.
16236 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16239 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16241 * menu-bar.el: Put "Use system font" in Option-menu.
16242 (menu-bar-options-save): Add font-use-system-font.
16244 * loadup.el: If feature system-font-setting or font-render-setting is
16245 there, load font-setting.
16247 * Makefile.in (ELCFILES): Add font-settings.el.
16248 * font-setting.el: New file.
16250 2009-11-17 Glenn Morris <rgm@gnu.org>
16252 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16254 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16255 Preserve point in the list buffer. (Bug#4939)
16257 (newsticker--treeview-list-update-highlight)
16258 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16260 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16262 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16265 * calc/calc-ext.el (calc-init-extensions): Remove references to
16268 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16270 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16271 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16274 2009-11-16 Kevin Ryde <user42@zip.com.au>
16276 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16277 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16279 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16280 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16281 Ignore trailing spaces by omit-nulls to split-string (fixing
16282 regression from Emacs 21 due to the incompatible split-string
16283 change). (Bug #4928.)
16285 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16287 * vc.el (vc-log-show-limit): Default to 2000.
16288 (vc-print-log-internal): Insert buttons to request more entries
16289 when limiting the output.
16291 * vc-sccs.el (vc-sccs-print-log):
16292 * vc-rcs.el (vc-rcs-print-log):
16293 * vc-cvs.el (vc-cvs-print-log):
16294 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16297 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16299 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16300 error when `tramp-gvfs-dbus-event-vector' is set.
16301 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16303 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16305 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16307 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16309 * net/dbus.el (dbus-unregister-service): New defun.
16310 (dbus-register-property): Register the handlers of
16311 "org.freedesktop.DBus.Properties" for SERVICE.
16312 (dbus-property-handler): Fix docstring.
16314 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16316 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16317 Quote doc string reference in defvaralias as it is not in special form.
16318 (byte-compile-output-docform): Doc fix.
16320 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16322 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16323 (calc-complement-signed-mode): New variables.
16324 (calc-set-mode-line): Add indicator for twos-complements.
16325 (math-format-number): Format twos-complement notation.
16327 * calc/calc-bin.el (calc-word-size): Reset the variables
16328 `math-2-word-size' and `math-half-2-word-size'.
16329 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16330 (calc-symclip): New functions.
16332 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16334 * calc/calc-embed.el (calc-embedded-mode-vars):
16335 Add `calc-complement-signed-mode' to the list of modes.
16337 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16338 (calc-b-oper-keys): Add `calc-symclip' to list.
16340 * calc/calc-ext.el (math-read-number-fancy): Read complement
16342 (calc-init-extensions): Add binding for `calc-symclip'.
16343 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16345 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16347 (calc-modes-menu): Add item for twos complement mode.
16349 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16351 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16353 * register.el (jump-to-register, insert-register): Handle Semantic
16354 tags. From commented-out advice in semantic/senator.el.
16356 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16358 * vc.el (vc-log-show-limit): New variable.
16359 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16360 when using a prefix argument.
16361 (vc-print-log-internal): Add new argument LIMIT.
16363 * vc-svn.el (vc-svn-print-log):
16364 * vc-mtn.el (vc-mtn-print-log):
16365 * vc-hg.el (vc-hg-print-log):
16366 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16367 pass it to the log command when set. Make the BUFFER argument
16370 * vc-sccs.el (vc-sccs-print-log):
16371 * vc-rcs.el (vc-rcs-print-log):
16372 * vc-git.el (vc-git-print-log):
16373 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16374 ignore it. Make the BUFFER argument non-optional.
16376 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16378 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16380 * dired.el (dired-mode-map): Move encryption items to "Operate"
16383 * strokes.el (strokes-update-window-configuration): Make strokes
16384 buffer current before erasing (Bug#4906).
16386 2009-11-15 Juri Linkov <juri@jurta.org>
16388 * simple.el (set-mark-default-inactive): Add :type, :group
16389 and :version. (Bug#4876)
16391 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16393 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16394 (archive-unique-fname): ... here. (Bug#4929)
16396 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16398 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16401 * novice.el (disabled-command-function): Add useful args.
16402 Setup the help buffer so that [back] works.
16403 Remove redundant call to help-mode.
16404 (disabled-command-function): Use `case'.
16405 (en/disable-command): New function extracted from enable-command.
16406 (enable-command, disable-command): Use it.
16408 2009-11-14 Glenn Morris <rgm@gnu.org>
16410 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16411 constants. (Bug#4913)
16413 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16415 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16417 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16418 defined in C that have no doc-strings. (Bug#1063)
16420 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16422 * cus-edit.el (data, files):
16423 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16425 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16427 * simple.el (shell-command): Doc fix (Bug#4891).
16429 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16431 2009-11-14 Glenn Morris <rgm@gnu.org>
16433 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16434 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16435 If they are already loaded, eval-after-load will do the right thing.
16437 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16440 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16442 * simple.el (x-selection-owner-p): Declare.
16443 (read-mail-command): Use custom radio type rather than choice.
16444 (completion-no-auto-exit): Doc fix.
16446 * custom.el (defgroup):
16447 * epg-config.el (epg): Doc fixes.
16449 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16451 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16452 * international/ccl.el (define-ccl-program): Do not purecopy the
16453 docstring, defconst does it anyway.
16455 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16457 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16460 * x-dnd.el (x-dnd-maybe-call-test-function):
16461 * window.el (split-window-vertically):
16462 * whitespace.el (whitespace-help-on):
16463 * vc-rcs.el (vc-rcs-consult-headers):
16464 * userlock.el (ask-user-about-lock-help)
16465 (ask-user-about-supersession-help):
16466 * type-break.el (type-break-force-mode-line-update):
16467 * time-stamp.el (time-stamp-conv-warn):
16468 * terminal.el (te-set-output-log, te-more-break, te-filter)
16469 (te-sentinel, terminal-emulator):
16470 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16471 (term-write-input-ring, term-check-source, term-start-output-log):
16472 (term-display-buffer-line, term-dynamic-list-completions):
16473 (term-ansi-make-term, serial-term):
16474 * subr.el (selective-display):
16475 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16476 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16477 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16478 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16479 (speedbar-remove-localized-speedbar-support)
16480 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16481 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16482 (speedbar-buffers-line-directory):
16483 * simple.el (shell-command-on-region, append-to-buffer)
16484 (prepend-to-buffer):
16485 * shadowfile.el (shadow-save-todo-file):
16486 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16487 (scroll-bar-maybe-set-window-start):
16488 * sb-image.el (speedbar-image-dump):
16489 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16490 (load-save-place-alist-from-file):
16491 * ps-samp.el (ps-print-message-from-summary):
16492 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16493 (ps-background-image, ps-begin-job, ps-do-despool):
16494 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16495 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16496 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16497 (pr-call-process, pr-file-list, pr-interface-save):
16498 * novice.el (disabled-command-function)
16499 (enable-command, disable-command):
16500 * mouse.el (mouse-buffer-menu-alist):
16501 * mouse-copy.el (mouse-kill-preserving-secondary):
16502 * macros.el (kbd-macro-query):
16503 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16504 * informat.el (batch-info-validate):
16505 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16506 * hippie-exp.el (try-expand-dabbrev-visible):
16507 * help-mode.el (help-make-xrefs):
16508 * help-fns.el (describe-variable):
16509 * generic-x.el (bat-generic-mode-run-as-comint):
16510 * finder.el (finder-mouse-select):
16511 * find-dired.el (find-dired-sentinel):
16512 * filesets.el (filesets-file-close):
16513 * files.el (list-directory):
16514 * faces.el (list-faces-display, describe-face):
16515 * facemenu.el (list-colors-display):
16516 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16517 * epg.el (epg--process-filter, epg-cancel):
16518 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16519 (epa--read-signature-type):
16520 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16521 (emerge-file-names):
16522 * ehelp.el (electric-helpify):
16523 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16524 * ediff-vers.el (rcs-ediff-view-revision):
16525 * ediff-util.el (ediff-setup):
16526 * ediff-mult.el (ediff-append-custom-diff):
16527 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16529 * echistory.el (Electric-command-history-redo-expression):
16530 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16531 * disp-table.el (describe-display-table):
16532 * dired.el (dired-find-buffer-nocreate):
16533 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16534 * dabbrev.el (dabbrev--same-major-mode-p):
16535 * chistory.el (list-command-history):
16536 * apropos.el (apropos-documentation):
16537 * allout.el (allout-obtain-passphrase):
16538 (allout-copy-exposed-to-buffer):
16539 (allout-verify-passphrase): Use with-current-buffer.
16541 2009-11-13 Glenn Morris <rgm@gnu.org>
16543 * Makefile.in (ELCFILES): Regenerate.
16545 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16547 * net/dbus.el (dbus-registered-objects-table): Rename from
16548 `dbus-registered-functions-table', because it contains also properties.
16549 (dbus-unregister-object): Unregister also properties.
16550 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16551 Use a timeout of 500 msec, in order to not block.
16552 (dbus-register-property, dbus-property-handler): New defuns.
16554 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16556 * simple.el (minibuffer-default-add-completions): Drop deprecated
16559 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16561 * textmodes/artist.el (artist-mouse-choose-operation):
16562 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16563 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16564 (artist-compute-up-event-key): New function.
16565 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16567 2009-11-13 Kenichi Handa <handa@m17n.org>
16569 * language/japan-util.el: Make sure that the value of jisx0208
16570 property is jisx0208 character.
16572 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16574 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16575 car or each item, not the whole list.
16577 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16579 * minibuffer.el (minibuffer-completion-help):
16580 Use minibuffer-hide-completions.
16582 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16584 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16585 (dired-revert): Use them (bug#4880).
16587 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16589 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16591 2009-11-12 Juri Linkov <juri@jurta.org>
16593 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16595 (find-file-literally-at-point): Alias of `ffap-literally'.
16597 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16599 * textmodes/ispell.el (ispell-skip-region-alist):
16600 * textmodes/css-mode.el (auto-mode-alist):
16601 * progmodes/compile.el (auto-mode-alist):
16602 * international/mule.el (ctext-non-standard-encodings-alist)
16603 (ctext-non-standard-encodings-regexp):
16604 * simple.el (shell-command-switch, text-read-only):
16605 * replace.el (occur-mode-map):
16606 * paths.el (rmail-file-name):
16607 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16608 * find-file.el (ff-special-constructs):
16609 * files.el (file-name-handler-alist):
16610 * composite.el: Purecopy strings.
16612 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16614 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16616 * widget.el (define-widget): Purecopy the docstring.
16617 * international/mule-cmds.el (charset): Do not purecopy the
16618 docstring here, define-widget does it.
16620 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16621 * textmodes/bibtex-style.el (auto-mode-alist):
16622 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16623 * progmodes/compile.el (compile-command):
16624 * language/korea-util.el (default-korean-keyboard):
16625 * international/mule-conf.el (file-coding-system-alist):
16626 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16627 * tooltip.el (tooltip-frame-parameters):
16628 * newcomment.el (comment-end, comment-padding):
16629 * dired.el (dired-trivial-filenames):
16630 * comint.el (comint-file-name-prefix): Purecopy initial values.
16632 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16634 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16635 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16637 (tramp-advice-make-auto-save-file-name)
16638 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16639 after removing the advice.
16641 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16643 * progmodes/grep.el (grep-regexp-alist):
16644 * international/mule-cmds.el (iso-2022-control-alist):
16645 * emacs-lisp/timer.el (timer-duration-words):
16646 * subr.el (version-separator, version-regexp-alist):
16647 * minibuffer.el (completion-styles-alist):
16648 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16649 Change defvars to defconsts.
16651 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16652 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16653 * international/mule-conf.el: Allow to be byte compiled.
16655 * international/mule.el (define-charset): Purecopy props.
16656 (load-with-code-conversion): Purecopy doc string and file name.
16657 (put-charset-property): Purecopy strings.
16658 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16660 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16661 (define-char-code-property): Correctly purecopy the table.
16663 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16665 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16667 * subr.el (add-hook): Purecopy strings.
16668 (eval-after-load): Purecopy load-history-regexp and the form.
16670 * custom.el (custom-declare-group): Purecopy load-file-name.
16672 * subr.el (menu-bar-separator): New defconst.
16673 * net/eudc.el (eudc-tools-menu):
16674 * international/mule-cmds.el (set-coding-system-map)
16675 (mule-menu-keymap):
16676 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16677 * vc-hooks.el (vc-menu-map):
16678 * replace.el (occur-mode-map):
16679 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16680 (menu-bar-edit-menu, menu-bar-goto-menu)
16681 (menu-bar-custom-menu, menu-bar-showhide-menu)
16682 (menu-bar-options-menu, menu-bar-tools-menu)
16683 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16684 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16685 (menu-bar-help-menu):
16686 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16687 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16689 * term/x-win.el (x-gtk-stock-map):
16690 * progmodes/vera-mode.el (auto-mode-alist):
16691 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16692 (inferior-lisp-program, inferior-lisp-load-command):
16693 * progmodes/hideshow.el (hs-special-modes-alist):
16694 * progmodes/gud.el (same-window-regexps):
16695 * progmodes/grep.el (grep-program, find-program, xargs-program):
16696 * net/telnet.el (same-window-regexps):
16697 * net/rlogin.el (same-window-regexps):
16698 * language/ethiopic.el (font-ccl-encoder-alist):
16699 * vc-sccs.el (vc-sccs-master-templates):
16700 * vc-rcs.el (vc-rcs-master-templates):
16701 * subr.el (cl-assertion-failed):
16702 * simple.el (next-error-overlay-arrow-position):
16703 * lpr.el (lpr-command):
16704 * locate.el (locate-ls-subdir-switches):
16705 * info.el (same-window-regexps, info)
16706 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16707 * image-mode.el (image-mode, auto-mode-alist):
16708 * hippie-exp.el (hippie-expand-ignore-buffers):
16709 * format.el (format-alist):
16710 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16712 * facemenu.el (facemenu-keybindings):
16713 * dired.el (dired-listing-switches, dired-chown-program):
16714 * diff.el (diff-switches, diff-command):
16715 * cus-edit.el (same-window-regexps):
16716 * bindings.el (mode-line-mule-info)
16717 (mode-line-buffer-identification): Purecopy strings.
16719 2009-11-11 Juri Linkov <juri@jurta.org>
16721 * simple.el (dired-get-filename) <declare-function>:
16722 Tell the byte-compiler about dired-get-filename.
16723 (shell-command): In Dired mode, get filename from the current line
16724 as the default value.
16726 2009-11-10 Glenn Morris <rgm@gnu.org>
16728 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16729 * calendar/holidays.el, progmodes/cperl-mode.el:
16730 Update x-popup-menu declarations.
16732 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16733 (list-load-path-shadows): Use dolist.
16734 (list-load-path-shadows): Use with-current-buffer.
16736 2009-11-10 Juri Linkov <juri@jurta.org>
16738 * minibuffer.el (read-file-name): Support a list of default values
16739 in `default-filename'. Use the first file name where only one
16740 element is required. Doc fix.
16742 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16744 * net/dbus.el (dbus-unregister-object): Release service, if no
16745 other method is registered for it.
16747 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16749 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16750 bookmark-sort-flag is non-nil (Bug#4653).
16752 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16754 * emulation/cua-base.el: Add CUA property to some CC mode commands
16757 2009-11-08 Kevin Ryde <user42@zip.com.au>
16759 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16760 at end of sentence (Bug#4818).
16762 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16764 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16765 Handle "see declaration of" MSFT statements (Bug#4100).
16767 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16769 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16770 (tramp-advice-file-expand-wildcards): Unload via
16771 `ad-remove-advice'.
16773 * net/trampver.el: Update release number.
16775 2009-11-08 Kevin Ryde <user42@zip.com.au>
16777 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16780 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16782 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16783 in order to keep context in SELinux.
16785 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16787 * dired-aux.el (dired-query): Place cursor in echo area and allow
16790 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16791 menu item if not on a directory (Bug#4701).
16793 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16795 Sync with Tramp 2.1.17.
16797 * net/tramp.el (tramp-handle-copy-directory): Don't use
16798 `file-remote-p' (due to compatibility).
16800 * net/tramp-compat.el (tramp-compat-copy-directory)
16801 (tramp-compat-delete-directory): New defuns.
16803 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16804 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16805 Use `tramp-compat-delete-directory'.
16807 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16808 (tramp-smb-handle-delete-directory):
16809 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16811 * net/trampver.el: Update release number.
16813 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16815 * tar-mode.el (tar-copy): Call write-region on the right buffer
16818 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16819 by hand, if necessary (Bug#4878).
16821 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16823 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16824 align size column (Bug#4839).
16826 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16829 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16831 * progmodes/ld-script.el (auto-mode-alist):
16832 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16834 * cus-face.el (custom-declare-face): Purecopy face spec.
16836 2009-11-06 Kenichi Handa <handa@m17n.org>
16838 * international/uni-bidi.el: Re-generated.
16839 * international/uni-category.el: Re-generated.
16840 * international/uni-combining.el: Re-generated.
16841 * international/uni-mirrored.el: Re-generated.
16843 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16845 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16846 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16847 (tex-start-options, slitex-run-command, latex-run-command)
16848 (tex-run-command, tex-directory):
16849 * textmodes/ispell.el (ispell-html-skip-alists)
16850 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16851 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16852 (adaptive-fill-regexp):
16853 * textmodes/dns-mode.el (auto-mode-alist):
16854 * progmodes/python.el (interpreter-mode-alist):
16855 * progmodes/etags.el (tags-compression-info-list):
16856 * progmodes/etags.el (tags-file-name):
16857 * net/browse-url.el (browse-url-galeon-program)
16858 (browse-url-firefox-program):
16859 * mail/sendmail.el (mail-signature-file)
16860 (mail-citation-prefix-regexp):
16861 * international/mule-conf.el (eight-bit):
16862 * international/latexenc.el (latex-inputenc-coding-alist):
16863 * international/fontset.el (x-pixel-size-width-font-regexp):
16864 * emacs-lisp/warnings.el (warning-type-format):
16865 * emacs-lisp/trace.el (trace-buffer):
16866 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16867 (emacs-lisp-mode-map):
16868 * calendar/holidays.el (holiday-solar-holidays)
16869 (holiday-bahai-holidays, holiday-islamic-holidays)
16870 (holiday-christian-holidays, holiday-hebrew-holidays)
16871 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16872 (hebrew-holidays-1, holiday-oriental-holidays)
16873 (holiday-general-holidays):
16874 * x-dnd.el (x-dnd-known-types):
16875 * tool-bar.el (tool-bar):
16876 * startup.el (site-run-file):
16877 * shell.el (shell-dumb-shell-regexp):
16878 * rfn-eshadow.el (file-name-shadow-tty-properties)
16879 (file-name-shadow-properties):
16880 * paths.el (remote-shell-program, news-directory):
16881 * mouse.el ([C-down-mouse-3]):
16882 * menu-bar.el (menu-bar-tools-menu):
16883 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16884 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16885 (jka-compr-compression-info-list):
16886 * isearch.el (search-whitespace-regexp):
16887 * image-file.el (image-file-name-extensions):
16888 * find-dired.el (find-ls-option):
16889 * files.el (directory-listing-before-filename-regexp)
16890 (directory-free-space-args, insert-directory-program)
16891 (list-directory-brief-switches, magic-fallback-mode-alist)
16892 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16893 (automount-dir-prefix):
16894 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16895 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16896 (face-font-registry-alternatives, face-font-registry-alternatives)
16897 (face-font-family-alternatives):
16898 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16899 (facemenu-foreground-menu, facemenu-face-menu):
16900 * epa-hook.el (epa-file-name-regexp):
16901 * dnd.el (dnd-protocol-alist):
16902 * textmodes/rst.el (auto-mode-alist):
16903 * button.el (default-button): Purecopy strings.
16905 2009-11-06 Glenn Morris <rgm@gnu.org>
16907 * Makefile.in (ELCFILES): Update.
16909 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16911 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16912 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16914 * nxml/xsd-regexp.el (xsdre-gen-categories):
16915 * nxml/xmltok.el (xmltok-parse-entity):
16916 * nxml/rng-parse.el (rng-parse-validate-file):
16917 * nxml/rng-maint.el (rng-format-manual)
16918 (rng-manual-output-force-new-line):
16919 * nxml/rng-loc.el (rng-save-schema-location-1):
16920 * nxml/rng-cmpct.el (rng-c-parse-file):
16921 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16922 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16924 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16926 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16927 Remove extra save-excursions and make-variable-buffer-local's.
16928 Suggested by Stefan Monnier.
16930 (verilog-getopt-file, verilog-module-inside-filename-p)
16931 (verilog-set-define): Merge GNU 1.35 and repair changes from
16932 switching to using with-current-buffer.
16934 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16935 being treated as a number and confusing AUTORESET.
16936 Reported by Dan Dever.
16938 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16939 Add verilog-auto-ignore-concat to fix backward compatibility with
16940 older verilog-modes. Reported by Dan Katz.
16942 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16943 containing closing anchors "...$".
16945 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16946 Reported by Wade Smith.
16948 (verilog-batch-execute-func): Comment on function usage.
16950 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16952 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16955 (verilog-label-re, verilog-calc-1): Support proper indent of named
16958 (verilog-backward-token, verilog-basic-complete-re)
16959 (verilog-beg-of-statement, verilog-indent-re): Support proper
16960 indent of the assert statement at the beginning of a block of text.
16962 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16963 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16966 2009-11-05 Glenn Morris <rgm@gnu.org>
16968 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16969 Emacs 19. (Bug#1531)
16970 (byte-compile-fix-header): Update for the above change.
16971 Drop test for epoch::version.
16973 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16974 * cus-dep.el (custom-make-dependencies):
16975 * finder.el (finder-compile-keywords):
16976 Use autoload-rubric's feature argument.
16978 * calendar/diary-lib.el (top-level): Make load behave more like require.
16980 * vc-git.el (vc-git-stash-map): Move definition before use.
16982 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16984 * custom.el (custom-declare-group): Purecopy standard-value.
16985 (custom-declare-group): Purecopy custom-prefix.
16987 * international/mule.el (load-with-code-conversion):
16988 Call do-after-load-evaluation unconditionally.
16990 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16992 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16994 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16996 2009-11-04 Glenn Morris <rgm@gnu.org>
16998 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16999 (byte-compile-compatibility): Remove option.
17000 (byte-compile-close-variables, byte-compile-fix-header)
17001 (byte-compile-insert-header, byte-compile-output-docform)
17002 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17003 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17004 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17005 (byte-compile-insert, byte-compile-defun):
17006 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17007 (byte-defop-compiler19): Remove.
17008 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17009 used by anything. Replace all calls with byte-defop-compiler.
17011 2009-11-04 Juri Linkov <juri@jurta.org>
17013 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17014 (menu-bar-options-menu): Don't quote the `prop' arg of
17015 `menu-bar-make-mm-toggle'.
17017 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17019 * calendar/calendar.el (cal-loaddefs):
17020 * calendar/diary-lib.el (diary-loaddefs):
17021 * calendar/holidays.el (hol-loaddefs):
17022 * eshell/esh-module.el (esh-groups): Load rather than require.
17024 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17026 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17028 (todo-top-priorities): Only display-buffer when called interactively.
17029 (todo-item-start): Don't save excursion point.
17030 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17031 (todo-insert-item-here, todo-file-item, todo-remove-item):
17032 Adjust uses of todo-item-start and todo-item-end.
17034 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17035 (autoload-rubric): Don't use any more.
17037 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17038 and only put a prop if it is non-nil.
17040 2009-11-03 Juri Linkov <juri@jurta.org>
17042 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17043 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17045 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17046 and "Menu" to make top-level menu item visually one unit (like
17047 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17048 multi-word menu items). Fix :help string for quit-window.
17050 2009-11-03 Glenn Morris <rgm@gnu.org>
17052 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17053 (byte-compile-file-form-define-abbrev-table)
17054 (byte-compile-file-form-custom-declare-variable)
17055 (byte-compile-variable-ref, byte-compile-defvar):
17056 Whether or not a warning is enabled should only affect whether we issue
17057 the warning, not whether or not we collect the relevant data.
17058 Eg warnings can be turned on and off throughout the course of a file.
17060 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17061 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17063 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17065 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17066 * play/mpuz.el (mpuz-create-buffer):
17067 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17068 (lm-print-y,s,noise, lm-print-w0, lm-init):
17069 * play/gomoku.el (gomoku-prompt-for-move):
17070 * play/fortune.el (fortune-in-buffer):
17071 * play/dissociate.el (dissociated-press):
17072 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17073 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17074 * mail/supercite.el (sc-eref-show):
17075 * mail/smtpmail.el (smtpmail-send-it):
17076 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17077 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17078 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17079 (rmail-summary-goto-msg, rmail-summary-expunge)
17080 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17081 (rmail-summary-add-label, rmail-summary-output-menu)
17082 (rmail-summary-output-body):
17083 * mail/rfc822.el (rfc822-addresses):
17084 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17085 * mail/mailpost.el (post-mail-send-it):
17086 * mail/hashcash.el (hashcash-generate-payment):
17087 * mail/feedmail.el (feedmail-run-the-queue)
17088 (feedmail-queue-send-edit-prompt-help-first)
17089 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17090 (feedmail-deduce-address-list):
17091 * eshell/esh-ext.el (eshell-remote-command):
17092 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17093 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17094 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17095 (viper-save-string-in-file, viper-valid-marker):
17096 * emulation/viper-keym.el (viper-toggle-key):
17097 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17098 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17099 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17100 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17101 (viper-exec-form-in-emacs, viper-brac-function):
17102 * emulation/viper.el (viper-delocalize-var):
17103 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17104 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17105 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17106 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17107 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17108 * emulation/edt.el (edt-electric-helpify):
17109 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17110 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17111 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17112 (cua-indent-to-global-mark-column):
17113 * calendar/diary-lib.el (calendar-mark-1):
17114 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17115 Use with-current-buffer.
17116 * emulation/viper.el (viper-delocalize-var): Use dolist.
17118 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17120 * comint.el (comint-replace-by-expanded-history-before-point):
17121 Replace !! with the previous input string literally (Bug#1795).
17123 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17125 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17126 to be made up of whitespace.
17128 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17130 * minibuffer.el (read-file-name): Don't use file dialogs for
17131 remote directories (Bug#99).
17133 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17135 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17137 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17139 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17140 instead of deleting the window or frame.
17142 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17144 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17145 Support face colors.
17147 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17148 New function. Support face colors (Bug#1168).
17149 (tex-common-initialization): Use it.
17151 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17152 mode allows it (Bug#1168).
17154 2009-10-31 Juri Linkov <juri@jurta.org>
17156 * facemenu.el (list-colors-display): Don't mark buffer as
17157 modified (Bug#3948).
17159 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17161 * international/mule-diag.el (list-character-sets-1):
17162 Minor message fix (Bug#3526).
17164 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17165 Fix face property (Bug#4834).
17166 (etags-list-tags, etags-tags-apropos-additional)
17167 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17170 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17173 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17175 * textmodes/two-column.el (2C-split):
17176 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17177 * textmodes/tex-mode.el (tex-set-buffer-directory):
17178 * textmodes/spell.el (spell-region, spell-string):
17179 * textmodes/reftex.el (reftex-erase-buffer):
17180 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17181 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17182 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17183 (reftex-select-item):
17184 * textmodes/reftex-ref.el (reftex-label-info-update)
17185 (reftex-offer-label-menu):
17186 * textmodes/reftex-index.el (reftex-index-change-entry)
17187 (reftex-index-phrases-info):
17188 * textmodes/reftex-global.el (reftex-create-tags-file)
17189 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17190 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17191 (reftex-view-crossref-from-bibtex):
17192 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17193 (reftex-extract-bib-entries-from-thebibliography)
17194 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17195 * textmodes/refbib.el (r2b-capitalize-title):
17196 (r2b-convert-buffer, r2b-help):
17197 * textmodes/page-ext.el (pages-directory)
17198 (pages-directory-goto-with-mouse):
17199 * textmodes/bibtex.el (bibtex-validate-globally):
17200 * textmodes/bib-mode.el (bib-capitalize-title):
17201 * textmodes/artist.el (artist-clear-buffer, artist-system):
17202 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17203 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17204 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17205 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17206 (xscheme-send-control-g-interrupt, xscheme-start-process)
17207 (xscheme-process-sentinel, xscheme-cd):
17208 * progmodes/verilog-mode.el (verilog-read-always-signals)
17209 (verilog-set-define, verilog-getopt-file)
17210 (verilog-module-inside-filename-p):
17211 * progmodes/sh-script.el:
17212 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17213 (python-pdbtrack-grub-for-buffer, python-execute-file):
17214 * progmodes/octave-inf.el (inferior-octave):
17215 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17216 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17217 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17218 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17219 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17220 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17221 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17222 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17223 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17224 (idlwave-shell-examine-display, idlwave-shell-run-region)
17225 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17226 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17227 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17228 (idlwave-help-get-help-buffer):
17229 * progmodes/gud.el (gud-basic-call, gud-find-class)
17230 (gud-tooltip-activate-mouse-motions-if-enabled):
17231 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17232 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17233 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17234 (ebrowse-tags-next-file):
17235 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17236 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17237 (ebnf-eps-finish-and-write):
17238 * progmodes/cpp.el (cpp-edit-save):
17239 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17240 * progmodes/cc-defs.el (c-emacs-features):
17241 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17242 (antlr-directory-dependencies):
17243 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17244 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17245 (ada-find-any-references, ada-make-filename-from-adaname)
17246 (ada-make-body-gnatstub):
17247 * obsolete/rnews.el (news-list-news-groups):
17248 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17249 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17250 * net/rcirc.el (rcirc-debug):
17251 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17252 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17253 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17254 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17255 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17256 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17257 (newsticker--treeview-list-clear-highlight)
17258 (newsticker--treeview-list-update-highlight)
17259 (newsticker--treeview-list-highlight-start)
17260 (newsticker--treeview-tree-update-highlight)
17261 (newsticker--treeview-get-selected-item)
17262 (newsticker-treeview-mark-list-items-old)
17263 (newsticker--treeview-set-current-node):
17264 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17265 * net/newst-backend.el (newsticker--get-news-by-funcall)
17266 (newsticker--get-news-by-wget, newsticker--image-get)
17267 (newsticker--image-sentinel):
17268 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17269 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17270 (eudc-ph-close-session):
17271 * net/eudc.el (eudc-save-options):
17272 * language/thai-word.el (thai-update-word-table):
17273 * language/japan-util.el (japanese-string-conversion):
17274 * international/titdic-cnv.el (tsang-quick-converter)
17275 (ziranma-converter, ctlau-converter):
17276 * international/mule-cmds.el (describe-language-environment):
17277 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17278 (skkdic-convert-postfix, skkdic-convert-prefix):
17279 (skkdic-convert-okuri-nasi, skkdic-convert):
17280 * emacs-lisp/re-builder.el (reb-update-overlays):
17281 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17282 * emacs-lisp/gulp.el (gulp-send-requests):
17283 * emacs-lisp/find-gc.el (trace-call-tree):
17284 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17285 (eieio-describe-generic):
17286 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17287 * emacs-lisp/edebug.el (edebug-outside-excursion):
17288 * emacs-lisp/debug.el (debugger-make-xrefs):
17289 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17290 * emacs-lisp/chart.el (chart-new-buffer):
17291 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17292 Use with-current-buffer.
17293 * textmodes/artist.el (artist-system): Don't call
17294 copy-sequence on a fresh string.
17295 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17297 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17299 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17300 is no item to edit. (Bug#4820)
17301 (todo-top-priorities): Restore point and restore narrowing in Todo
17304 2009-10-31 Glenn Morris <rgm@gnu.org>
17306 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17307 (comint-last-output-start, comint-last-input-start)
17308 (comint-last-input-end): Don't defvar when compiling.
17309 (ange-ftp-process-file): Use bound-and-true-p.
17311 * pcmpl-rpm.el (top-level): Move provide statement to end.
17312 (pcmpl-rpm): Remove unused custom group.
17314 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17316 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17318 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17319 (byte-compile-warnings): Add `constants' as an option.
17320 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17321 (display-call-tree): Update for byte-compile-fdefinition possibly
17322 returning `(macro lambda ...)'. (Bug#4778)
17323 (byte-compile-variable-ref, byte-compile-setq-default):
17324 Respect `constants' member of byte-compile-warnings.
17326 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17329 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17332 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17334 * textmodes/ispell.el (ispell-skip-region-alist):
17335 * international/mule-conf.el (eight-bit):
17336 * international/fontset.el (font-encoding-alist):
17337 * startup.el (pure-space-overflow-message):
17338 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17339 * paths.el (gnus-nntp-service, rmail-spool-directory)
17340 (term-file-prefix):
17341 * files.el (save-some-buffers-action-alist):
17342 * cmuscheme.el (same-window-buffer-names):
17343 * ielm.el (same-window-buffer-names):
17344 * shell.el (same-window-buffer-names):
17345 * mail/sendmail.el (same-window-buffer-names):
17346 * progmodes/inf-lisp.el (same-window-buffer-names):
17347 * bindings.el (mode-line-client)
17348 (mode-line-column-line-number-mode-map):
17349 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17350 (tibetan-precomposed-regexp): Purecopy string arguments.
17352 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17354 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17355 (calcDigit-nondigit):
17356 * calc/calc-yank.el (calc-copy-to-buffer):
17357 * calc/calc-units.el (calc-invalidate-units-table):
17358 * calc/calc-trail.el (calc-trail-yank):
17359 * calc/calc-store.el (calc-insert-variables):
17360 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17361 * calc/calc-prog.el (calc-read-parse-table):
17362 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17363 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17364 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17365 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17366 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17367 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17368 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17369 * calc/calc-ext.el (calc-realign):
17370 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17371 (calc-embedded-finish-edit, calc-embedded-make-info)
17372 (calc-embedded-finish-command, calc-embedded-stack-change):
17373 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17375 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17376 shell-dynamic-complete-filename in preference to
17377 comint-dynamic-complete-filename.
17379 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17380 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17381 Don't consider whether the display supports colors.
17382 (bookmark-import-new-list): Use dolist.
17383 (bookmark-bmenu-mode-map): Move initialization into declaration.
17384 (bookmark-bmenu-list): Use dolist, simplify.
17385 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17386 (menu-bar-final-items): Use push.
17388 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17390 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17391 it works on remote files.
17392 (vc-hg-diff): Don't pass any `--cwd' argument.
17394 2009-10-27 Kevin Ryde <user42@zip.com.au>
17396 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17397 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17398 (Further to Bug#3921).
17400 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17402 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17403 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17404 calling `tramp-imap-put-file'. Add file size to the call.
17405 (tramp-imap-get-file-entries): Compute also user name, file size,
17407 (tramp-imap-handle-insert-directory): Insert uid and gid.
17408 (tramp-imap-handle-file-attributes): Transform uid and gid
17409 according to `id-format'.
17410 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17411 size in header X-Size.
17413 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17415 * simple.el (transpose-subr): Give clearer error when the mark
17416 is not set. (Bug#4807)
17418 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17420 * net/tramp.el (tramp-perl-file-truename): New defconst.
17421 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17422 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17423 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17424 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17426 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17427 Ignore `dired-call-process'.
17428 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17430 2009-10-26 Julian Scheid <julians37@gmail.com>
17432 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17433 (tramp-get-remote-readlink): New defun.
17434 (tramp-handle-file-truename): Use it.
17435 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17436 file exists if cache value present.
17437 (tramp-check-cached-permissions): New defun.
17438 (tramp-handle-file-readable-p): Use it.
17439 (tramp-handle-file-writable-p): Likewise.
17440 (tramp-handle-file-executable-p): Likewise.
17441 (tramp-handle-file-name-all-completions): Try using Perl to get
17442 partial completions. When perl not available, combine `cd' and
17443 `ls' into single remote operation and use shell expansion to get
17444 partial remote directory contents. Set `file-exists-p' cache for
17445 directory and any files returned by ls. Change cache handling to
17446 support partial directory contents. Use error message emitted by
17447 remote `cd' or Perl code for local tramp-error.
17448 (tramp-do-copy-or-rename-file-directly): Avoid separate
17449 tramp-send-command-and-check call.
17450 (tramp-handle-process-file): Merge three remote ops into one.
17451 Do not flush all caches when `process-file-side-effects' is set.
17452 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17453 file-attributes shows uid/gid to be set already.
17455 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17457 * textmodes/tex-mode.el (tex-dvi-view-command)
17458 (tex-show-queue-command, tex-open-quote):
17459 * progmodes/ruby-mode.el (auto-mode-alist)
17460 (interpreter-mode-alist): Purecopy strings.
17462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17464 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17465 string for the hook, keymap and abbrev table.
17467 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17469 * x-dnd.el (x-dnd-xdnd-to-action):
17470 * startup.el (fancy-startup-text, fancy-about-text): Change to
17471 defconst from defvar.
17473 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17475 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17476 Purecopy initialization strings.
17478 * mail/sendmail.el (mail-header-separator)
17479 (mail-personal-alias-file):
17480 * mail/rmail.el (rmail-default-dont-reply-to-names)
17481 (rmail-ignored-headers, rmail-retry-ignored-headers)
17482 (rmail-highlighted-headers, rmail-secondary-file-directory)
17483 (rmail-secondary-file-regexp):
17484 * files.el (null-device, file-name-invalid-regexp)
17485 (locate-dominating-stop-dir-regexp)
17486 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17487 (interpreter-mode-alist): Use mapcar instead of mapc.
17489 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17491 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17492 (completion-ignored-extensions):
17493 (debug-ignored-errors): Purecopy strings.
17495 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17497 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17498 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17499 (pcomplete--here): Use push.
17501 * subr.el (all-completions): Declare the 4th arg obsolete.
17503 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17505 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17506 (pcomplete-unquote-argument): New function.
17507 (pcomplete--common-suffix): Always pay attention to case.
17508 (pcomplete--table-subvert): Quote and unquote the text.
17509 (pcomplete--common-quoted-suffix): New function.
17510 (pcomplete-std-complete): Use it and pcomplete-begin.
17512 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17513 we're inside a dedicated or minibuffer window.
17515 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17517 * bookmark.el: Update documentation, especially documentation
17518 of `bookmark-alist' and of the bookmark file format.
17519 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17521 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17523 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17524 keybindings apply to the mail buffer (Bug#4003). Shrink help
17527 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17528 (global-whitespace-mode, global-whitespace-newline-mode)
17529 (whitespace-toggle-options, global-whitespace-toggle-options):
17530 Doc fix (Bug#3660).
17532 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17533 of xmltok-start before the end tag was inserted (Bug#2840).
17535 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17536 patterns that are preceded by an open-paren (Bug#1320).
17538 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17540 * files.el (delete-directory): Delete symlinks to directories with
17541 delete-file (Bug#4739).
17543 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17545 * vc.el (vc-backend-for-registration): Rename from
17546 vc-get-backend-for-registration. Update callers.
17548 * international/mule-cmds.el (set-language-info-alist):
17550 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17551 (charset): Purecopy the name.
17552 (define-char-code-property): Purecopy string arguments.
17554 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17555 Purecopy string arguments.
17557 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17558 * ediff-hook.el (menu-bar-ediff-menu):
17559 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17560 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17562 2009-10-24 Glenn Morris <rgm@gnu.org>
17564 * comint.el (comint-dynamic-list-completions):
17565 * term.el (term-dynamic-list-completions): Use choose-completion rather
17566 than obsolete alias mouse-choose-completion.
17568 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17569 file-cache-choose-completion.
17570 (file-cache-choose-completion): Handle an optional event argument.
17571 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17573 * progmodes/octave-mod.el (octave-complete-symbol):
17574 Use choose-completion if mouse-choose-completion is ever removed.
17576 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17579 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17582 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17584 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17586 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17587 Ignore `pred' now that we receive one.
17588 Handle test-completion specially.
17590 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17592 * vc.el (vc-responsible-backend): Throw an error if not backend is
17593 found. Remove the REGISTER argument. Move the code dealing with
17595 (vc-get-backend-for-registration): ... here. New function.
17596 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17597 of vc-responsible-backend, pass the file name instead of the
17600 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17602 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17604 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17605 (pcomplete-comint-setup): Don't modify a global var via
17606 accidental side-effects.
17607 (pcomplete-shell-setup): Adjust call accordingly.
17608 (pcomplete-parse-comint-arguments): Use push.
17610 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17612 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17613 Allow uncapitalized info node names (Bug#3921).
17615 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17616 to the DEBUG file (Bug#3781).
17618 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17620 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17621 dictionary entry (Bug#4579).
17623 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17625 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17626 from `rfn-eshadow-update-overlay-hook' when unloading.
17627 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17628 "rsyncc". Adjust doc string.
17629 (tramp-temp-buffer-file-name): New buffer-local defvar.
17630 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17631 Keep temporary file when indicated by method ("rsync" and
17633 (tramp-handle-write-region): Handle APPEND.
17634 (tramp-delete-temp-file-function): New defun. Added to
17635 `kill-buffer-hook'.
17637 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17639 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17641 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17643 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17644 (color-name-rgb-alist, tty-standard-colors)
17645 (tty-color-mode-alist): Change to defconst.
17647 * simple.el (mark-inactive): Purecopy message.
17649 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17650 (global-map, yank-menu):
17651 * textmodes/ispell.el (ispell-menu-map):
17652 * net/eudc.el (eudc-tools-menu):
17653 * international/mule-cmds.el (describe-language-environment-map)
17654 (setup-language-environment-map, set-coding-system-map)
17655 (mule-menu-keymap):
17656 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17657 * replace.el (occur-mode-map):
17658 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17660 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17662 * calc/calc.el (math-read-number, math-read-number-simple):
17663 Use `save-match-data'.
17665 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17667 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17668 rather than fiddling with global-map bindings, since it should only
17669 affect per-terminal settings.
17670 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17672 * minibuffer.el (completion-table-with-terminator): Allow to specify
17673 the terminator-regexp.
17675 * simple.el (switch-to-completions): Look for *Completions* in other
17678 * pcomplete.el: Allow the use of completion-tables.
17679 (pcomplete-std-complete): New command.
17680 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17681 (pcomplete--here): Use a function for `form' rather than an expression,
17682 so it can be byte-compiled.
17683 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17684 Add edebug declaration.
17685 (pcomplete-show-completions): Remove unused var `curbuf'.
17686 (pcomplete-do-complete, pcomplete-stub):
17687 Don't assume `completions' is a list of strings any more.
17689 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17691 * find-dired.el (find-name-arg): Fix typo in docstring.
17693 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17695 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17696 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17698 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17701 * comint.el (comint-read-input-ring, comint-write-input-ring)
17702 (comint-substitute-in-file-name)
17703 (comint-dynamic-complete-as-filename)
17704 (comint-dynamic-simple-complete)
17705 (comint-dynamic-list-filename-completions)
17706 (comint-dynamic-list-completions)
17707 (comint-redirect-results-list-from-process): Minor simplifications.
17709 2009-10-21 Kevin Ryde <user42@zip.com.au>
17711 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17712 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17713 the first form. And insert a blank line after ";;; Code" since
17714 that's usual style. (Bug#4612)
17716 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17718 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17720 * minibuffer.el (completion-table-with-terminator): Properly implement
17721 boundaries, in case `terminator' appears in the suffix.
17722 (completion--embedded-envvar-table): Don't return boundaries if
17723 there's no valid completion. Simplify.
17724 (completion-file-name-table): New completion table extracted from
17725 completion--file-name-table.
17726 (completion--file-name-table): Use it.
17727 (read-file-name-predicate): Declare obsolete.
17728 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17729 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17730 completion-file-name-table, and use the `pred' argument.
17731 * files.el (locate-file-completion-table): Use the `pred' arg rather
17732 than read-file-name-predicate.
17733 (abbreviate-file-name): Use \` rather than ^ for BOS.
17735 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17737 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17738 vc-responsible-backend to register, it causes problems.
17740 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17742 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17744 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17746 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17747 (tramp-smb-handle-file-attributes): Use it.
17748 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17749 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17750 `mapcar'. Use `tramp-smb-get-stat-capability'.
17751 Add `dired-filename' text properties.
17752 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17753 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17756 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17758 * subr.el (read-key-delay): Reduce to 0.01.
17759 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17762 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17764 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17766 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17767 (Info-menu): Remove unused vars `last' and `completions'.
17768 (Info-index-nodes): Remove unused var `node'.
17770 * info.el (Info-complete-menu-item): Use complete-with-action.
17772 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17774 Make vc-annotate work through copies and renames.
17775 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17776 Return the file name too.
17777 (vc-annotate-revision-at-line)
17778 (vc-annotate-find-revision-at-line)
17779 (vc-annotate-revision-previous-to-line)
17780 (vc-annotate-show-log-revision-at-line): Update to get the file
17781 name from vc-annotate-extract-revision-at-line.
17782 (vc-annotate-show-diff-revision-at-line-internal): Change the
17783 argument to mean whether to show a file diff or not. Get the file
17784 name from vc-annotate-extract-revision-at-line.
17785 (vc-annotate-show-diff-revision-at-line):
17786 Update vc-annotate-show-diff-revision-at-line call.
17787 (vc-annotate-warp-revision): Add an optional file argument.
17789 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17790 (vc-git-annotate-extract-revision-at-line): Also return the file
17793 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17794 command. Remove unused code.
17795 (vc-hg-annotate-re): Update to match --follow output.
17796 (vc-hg-annotate-extract-revision-at-line): Also return the file
17799 * vc.el: Update annotate-extract-revision-at-line documentation.
17801 2009-10-18 Kevin Ryde <user42@zip.com.au>
17803 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17804 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17806 * net/browse-url.el (browse-url): Identify alist with "consp and
17807 not functionp" and let all other things go down the `apply' leg,
17808 as suggested by Stefan. (Further to bug#4531.)
17810 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17812 * minibuffer.el (read-file-name): Check for repeat before putting
17813 a default argument in file-name-history (Bug#4657).
17815 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17816 read syntax (Bug#4737).
17818 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17820 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17822 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17823 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17824 entries and make note of obsolete tags.
17826 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17828 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17830 2009-10-18 Glenn Morris <rgm@gnu.org>
17832 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17833 grep, so that binary files (eg international/uni-bidi.el) can match.
17834 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17835 now, and in any case the file header format has changed.
17837 2009-10-17 Glenn Morris <rgm@gnu.org>
17839 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17840 (flyspell-get-word, flyspell-large-region)
17841 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17843 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17845 * Makefile.in (ELCFILES): Add ede/shell.
17847 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17849 * term/common-win.el (x-colors): Purecopy it.
17851 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17853 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17854 permissive for when the buffer is empty.
17855 (tar-header-block-tokenize): Decode the username and groupname.
17856 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17858 2009-10-17 Eric Ludlam <zappo@gnu.org>
17860 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17861 contains multibyte characters, choose first applicable coding
17862 system automatically.
17864 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17866 * international/mule-cmds.el (select-safe-coding-system): If the file
17867 has a coding cookie, use it regardless of any other setting (bug#4712).
17869 2009-10-17 Glenn Morris <rgm@gnu.org>
17871 * foldout.el (foldout-mouse-swallow-events):
17872 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17874 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17875 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17876 (dired-keep-marker-symlink, dired-dwim-target)
17877 (dired-copy-preserve-time): Do not autoload these defcustoms.
17879 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17880 messages from messing up the file coding. (Bug#4623)
17882 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17884 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17885 if no match is found for the current dictionary. (Bug#4578)
17887 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17888 optional, since that is how it is documented, and this is often called
17889 with a nil argument. (Bug#4577)
17890 (flyspell-external-point-words, flyspell-auto-correct-word)
17891 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17892 (flyspell-word-search-backward): Remove nil argument in calls to
17893 flyspell-get-word, since it is not needed now.
17895 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17897 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17899 2009-10-16 Glenn Morris <rgm@gnu.org>
17901 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17903 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17905 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17906 (ange-ftp-file-size): New function.
17907 (ange-ftp-file-attributes): Use it.
17909 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17911 * net/tramp-smb.el (tramp-smb-version): New defvar.
17912 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17915 2009-10-16 Glenn Morris <rgm@gnu.org>
17917 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17918 Maybe copy some custom properties from old to new name. (Bug#4706)
17920 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17922 * subr.el (error, sit-for, start-process-shell-command)
17923 (start-file-process-shell-command): Set the calling convention
17924 after the function definition.
17926 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17928 * subr.el (error, sit-for, start-process-shell-command)
17929 (start-file-process-shell-command): Use the new
17930 set-advertised-calling-convention feature.
17932 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17934 * international/ucs-normalize.el (ucs-normalize-version):
17936 (check-range): Adjust for Unicode 5.2.
17938 2009-10-15 Juri Linkov <juri@jurta.org>
17940 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17941 to the `menu-item' format.
17943 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17945 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17946 if the environment variable does not exist.
17948 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17949 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17951 (tramp-smb-handle-add-name-to-file)
17952 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17953 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17954 (tramp-smb-handle-file-attributes)
17955 (tramp-smb-do-file-attributes-with-stat)
17956 (tramp-smb-handle-file-local-copy)
17957 (tramp-smb-handle-insert-directory)
17958 (tramp-smb-handle-make-directory)
17959 (tramp-smb-handle-make-directory-internal)
17960 (tramp-smb-handle-make-symbolic-link)
17961 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17962 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17963 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17964 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17965 Handle long file names.
17966 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17967 process is running.
17968 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17969 Read share names with "-g" option.
17971 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17973 * net/rcirc.el (rcirc-view-log-file): New command.
17974 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17975 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17978 2009-10-15 Glenn Morris <rgm@gnu.org>
17980 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17981 from the second command-line argument.
17982 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17983 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17984 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17985 w32-batch-update-autoloads.
17986 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17987 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17989 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17990 the headers cannot be located. Simplify, subtracting superflous
17993 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17995 Replace completion-base-size by completion-base-position to fix bugs
17996 such as (bug#4699).
17997 * simple.el (completion-base-position): New var.
17998 (completion-base-size): Mark as obsolete.
17999 (choose-completion): Make it work for mouse events as well.
18000 Pass the new base-position to choose-completion-string.
18001 (choose-completion-guess-base-position): New function, extracted from
18002 choose-completion-delete-max-match.
18003 (choose-completion-delete-max-match): Use it. Make obsolete.
18004 (choose-completion-string): Use the new base-position info.
18005 (completion-root-regexp): Delete.
18006 (completion-setup-function): Preserve completion-base-position.
18007 Eliminate obsolete base-size manipulation.
18008 * minibuffer.el (display-completion-list): Don't mess with base-size.
18009 (minibuffer-completion-help): Set completion-base-position instead.
18010 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18012 * textmodes/bibtex.el (bibtex-complete):
18013 * emacs-lisp/crm.el (crm--choose-completion-string):
18014 Adjust to new calling convention.
18015 * complete.el (partial-completion-mode): Use minibufferp to avoid
18016 bumping into incompatible change to choose-completion-string-functions.
18017 * ido.el (ido-choose-completion-string): Make its calling convention
18019 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18020 base-size manipulation.
18021 (comint-dynamic-list-input-ring): Use dotimes and push.
18022 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18023 fundamental-mode. Use `or'.
18025 2009-10-14 Juri Linkov <juri@jurta.org>
18027 * misearch.el (multi-isearch-next-buffer-from-list)
18028 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18030 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18032 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18035 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18036 string we return is all made up of text from the completions rather
18037 than part from the completions and part from the input (bug#4219).
18039 * ido.el (ido-everywhere): Use define-minor-mode.
18041 * buff-menu.el (list-buffers, ctl-x-map):
18042 Mark the entry points with ;;;###autoload cookies.
18044 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18046 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18047 correctly in the detached head case.
18048 (vc-git-print-log): Remove unused binding.
18050 * vc.el (vc-responsible-backend): When a directory is passed for
18051 for registration create a VC repository if no backend is
18052 responsible for the directory argument.
18053 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18055 * vc.el: Move comments about RCS and SCCS ...
18057 * vc-sccs.el: ... here, respectively.
18059 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18061 * minibuffer.el (completion--file-name-table): Return nil if there's
18062 no file completion, even if substitute-in-file-name changed
18063 the string (bug#4708).
18065 2009-10-13 Juri Linkov <juri@jurta.org>
18067 * files-x.el (read-file-local-variable-value): Don't filter out
18068 minor modes from mode name completion (bug#4664).
18070 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18072 * international/mule-cmds.el (ucs-names): Remove exclusion of
18073 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18075 2009-10-13 Kenichi Handa <handa@m17n.org>
18077 * international/uni-name.el: Regenerated.
18079 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18081 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18082 should be automatically buffer-local, but isn't.)
18084 2009-10-12 Sam Steingold <sds@gnu.org>
18086 * progmodes/compile.el (compilation-next-error-function): Fix the
18087 timestamps if the buffer has been visited before.
18088 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18089 non-anchored patterns, like the perl one (bug#3928).
18091 2009-10-12 Glenn Morris <rgm@gnu.org>
18093 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18096 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18098 * proced.el (proced-unload-function): New function.
18100 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18101 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18104 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18106 2009-10-11 Juri Linkov <juri@jurta.org>
18108 * files-x.el (read-file-local-variable-value):
18109 Provide default value only for bound variables (bug#4664).
18111 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18113 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18114 connection methods like smb.
18116 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18119 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18120 (tramp-smb-file-name-handler-alist): Add handlers for
18121 `add-name-to-file', `make-symbolic-link'.
18122 (tramp-smb-handle-add-name-to-file)
18123 (tramp-smb-do-file-attributes-with-stat)
18124 (tramp-smb-handle-make-symbolic-link)
18125 (tramp-smb-get-cifs-capabilities): New defuns.
18126 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18127 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18128 (tramp-smb-handle-file-local-copy)
18129 (tramp-smb-handle-make-directory-internal)
18130 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18131 The file name syntax depends on cifs capabilities.
18132 (tramp-smb-handle-file-attributes):
18133 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18134 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18135 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18137 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18139 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18140 (eieio-defclass): Apply deftype handler and setf-method properties
18142 (eieio-add-new-slot): Avoid union function from cl library.
18143 (eieio--typep): New function.
18144 (eieio-perform-slot-validation): Use it.
18146 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18148 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18149 Update documentation to refer to the variables documented in r1.135.
18152 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18154 * bookmark.el (Info-suffix-list): Remove this unused variable.
18155 (bookmark-current-point): Remove this obsolete variable.
18156 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18157 Adjust for removal of bookmark-current-point.
18159 (bookmarks-already-loaded, bookmark-current-buffer)
18160 (bookmark-yank-point): Document. (Bug#4188)
18162 2009-10-10 Glenn Morris <rgm@gnu.org>
18164 * frame.el (frame-height): Doc fix.
18166 * calendar/calendar.el (calendar-split-width-threshold): New option.
18167 (calendar-basic-setup): Use calendar-split-width-threshold.
18169 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18171 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18172 Ideographic Supplement" range (U+1F200..U+1F2FF).
18174 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18176 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18177 since the list will have been rebuilt anyway. (Bug#4349)
18179 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18181 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18182 (bookmark-bmenu-execute-deletions): Don't save here, as
18183 bookmark-delete will now do so if necessary.
18184 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18187 2009-10-09 Glenn Morris <rgm@gnu.org>
18189 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18191 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18193 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18194 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18195 argument now, so the two function's behaviors will match. (Bug#3645)
18197 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18199 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18200 (tramp-file-name-real-host, tramp-file-name-port):
18201 Apply `save-match-data'.
18203 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18204 case both directories are remote.
18205 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18206 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18208 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18210 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18212 2009-10-07 Glenn Morris <rgm@gnu.org>
18214 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18217 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18219 * files-x.el (read-file-local-variable): Include some
18220 non-user-variables in the completion table (bug#4664).
18222 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18224 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18227 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18228 (tramp-smb-file-name-handler-alist): Add handler for
18229 `copy-directory', `expand-file-name', `set-file-modes'.
18230 (tramp-smb-handle-copy-directory)
18231 (tramp-smb-handle-expand-file-name)
18232 (tramp-smb-handle-set-file-modes): New defuns.
18233 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18234 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18236 (tramp-smb-handle-insert-directory): Don't flush the cache.
18237 (tramp-smb-maybe-open-connection): Check for samba client and
18240 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18242 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18243 to not error out of search for "^lisp=" fails.
18245 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18247 * makefile.w32-in (WINS_UPDATES): New macro.
18248 (custom-deps, finder-data, autoloads): Use it.
18250 2009-10-07 Glenn Morris <rgm@gnu.org>
18252 * Makefile.in (autoloads): Revert previous change.
18253 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18254 the list of preloaded files passed on the command-line, get
18255 it from src/Makefile.
18257 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18258 show the original buffer rather than a random one.
18260 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18262 * help.el (describe-no-warranty): Place point in a slightly better
18263 position in the GPLv3 text.
18265 2009-10-06 Sam Steingold <sds@gnu.org>
18267 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18268 the comm attribute is present before calling regexp-quote.
18270 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18272 * play/animate.el (animate-string): For good effect, make sure
18273 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18275 * play/animate.el (animate-sequence, animate-birthday-present):
18276 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18278 2009-10-06 Glenn Morris <rgm@gnu.org>
18280 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18282 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18283 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18284 (batch-update-autoloads): Process a string value of autoload-excludes,
18285 set during the build process.
18286 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18288 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18289 inside with-parsed... macro so that `v' is defined.
18291 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18292 * progmodes/fortran.el (fortran-end-of-block)
18293 (fortran-beginning-of-block):
18294 Also push mark in the macro case.
18296 * emerge.el (emerge-show-file-name):
18297 * calc/calc.el (calc-quit):
18298 * calc/calc-misc.el (calc-big-or-small):
18299 * calc/calc-graph.el (calc-graph-view):
18300 * calc/calc-ext.el (calc-reset):
18301 * calendar/calendar.el (calendar-basic-setup):
18302 Use window-full-height-p.
18304 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18305 header we don't understand, don't insert another. (Bug#4624)
18306 If changing mime charset, insert the new one in the right place.
18308 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18310 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18311 (cal-tex-cursor-month): Correctly increment the end date for diary and
18312 holiday listing. (Bug#4626)
18314 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18316 * help-fns.el (describe-function-1): Don't burp if the function is not
18319 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18321 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18322 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18323 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18324 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18326 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18327 (eieio-default-superclass): Reflow docstrings.
18328 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18329 (eieio-unbind-method-implementations, defmethod)
18330 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18331 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18332 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18333 (eieio-slot-originating-class-p, eieio-slot-name-index)
18334 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18335 (constructor, initialize-instance, no-next-method, object-print)
18336 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18337 Fix typos in docstrings.
18338 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18339 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18340 (next-method-p): Doc fixes.
18341 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18342 Fix typos in error messages.
18343 (eieio-defmethod): Fix typo in description of generic method.
18345 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18346 (eieio-persistent-save-interactive, slot-missing):
18347 Fix typos in docstrings.
18348 (eieio-instance-inheritor-slot-boundp): Doc fix.
18350 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18351 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18353 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18354 (eieio-custom-object-apply-reset):
18355 Fix typos in docstrings and error messages.
18357 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18358 Fix typo in docstring.
18360 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18361 (eieio-browse-tree): Doc fix.
18362 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18363 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18364 Fix typos in docstrings.
18366 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18367 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18368 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18369 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18372 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18374 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18375 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18376 Set log-view-vc-backend so that diff can work.
18378 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18380 (vc-diff-internal): Autoload this instead of vc-version-diff.
18382 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18384 * simple.el (eval-expression): Doc fix.
18386 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18388 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18390 * files.el (directory-files-no-dot-files-regexp): New defconst.
18391 (delete-directory): Use it.
18392 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18394 * net/tramp.el (tramp-verbose): Fix docstring.
18395 (tramp-methods): Add recursive option to `tramp-copy-args'.
18396 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18397 "scp1_old", "scp2_old", "rsync", "rsyncc".
18398 (tramp-default-method): Check also for `auth-source-user-or-password'.
18399 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18400 Add handler for `copy-directory'.
18401 (tramp-handle-copy-directory): New defun.
18402 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18403 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18404 Optimize sent command.
18406 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18408 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18409 window if necessary.
18411 * calendar/calendar.el (calendar-basic-setup): Don't call
18412 switch-to-buffer in a dedicated window.
18414 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18416 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18417 don't do anything related to relocating, just return nil.
18418 (bookmark-error-no-filename): New error.
18419 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18420 bookmark has no file. Don't even attempt to handle things that
18421 are not files; the whole point of custom handlers is to keep that
18422 knowledge elsewhere anyway. Tighten some comments.
18423 (bookmark-file-or-variation-thereof): Remove now-unused function.
18424 (bookmark-location): Doc string fix.
18427 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18429 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18430 don't use a file dialog, because they usually don't know how to read
18431 a directory target from the user. (Bug#4230)
18432 Also, make sure the prompt can display directories as well as files.
18434 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18436 * bookmark.el (bookmark-set, bookmark-buffer-name):
18437 Improve doc strings. (Bug#1193)
18439 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18441 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18442 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18443 (bookmark-get-annotation, bookmark-set-annotation)
18444 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18445 (bookmark-set-position, bookmark-get-front-context-string)
18446 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18447 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18448 (bookmark-jump-other-window, bookmark-handle-bookmark)
18449 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18450 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18451 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18452 Improve doc strings to say whether bookmark can be a string or
18453 a record or both, and make other consistency and clarity fixes.
18454 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18455 (bookmark-default-annotation-text, bookmark-yank-word)
18456 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18457 (bookmark-import-new-list, bookmark-maybe-rename)
18458 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18459 (bookmark-bmenu-bookmark): Give these doc strings.
18460 (bookmark-bmenu-check-position): Give this a doc string, but also
18461 add a FIXME comment about how the function may be pointless.
18462 (bookmark-default-handler): Rework doc string and change a
18463 parameter name, to clarify that this takes a bookmark record
18464 not a bookmark name.
18465 (bookmark-set): Change a parameter name to indicate its meaning,
18466 and improve the doc string a bit.
18469 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18471 * bookmark.el (bookmark-alist): Document the new `handler' element
18472 in the param alist.
18473 (bookmark-make-record-function): Adjust documentation for above.
18476 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18478 * info.el (Info-bookmark-make-record): Document this function.
18479 (Info-bookmark-jump): Document with a doc string, not just a comment.
18482 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18484 * files.el (copy-directory): New defun.
18486 * dired-aux.el (dired-copy-file-recursive): Use it.
18488 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18490 * files-x.el (modify-dir-local-variable)
18491 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18494 * recentf.el (recentf-unload-function): New function.
18496 2009-10-04 Glenn Morris <rgm@gnu.org>
18498 * window.el (window-full-height-p): Add doc string.
18500 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18502 * window.el (window-full-height-p): New function. (Bug#4543)
18504 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18506 * vc.el: Remove commented out code.
18507 (vc-derived-from-dir-mode): Remove, unused.
18508 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18510 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18512 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18513 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18514 there could be recursive loading when `default-directory' is a
18515 remote file name. (Bug#4614)
18517 2009-10-03 Glenn Morris <rgm@gnu.org>
18519 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18521 (calendar-generate-window): Test for shrinkability rather than width.
18523 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18524 reusing existing buffers, in case we happen to visit two files with the
18525 same basename. (Bug#4593)
18527 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18529 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18530 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18531 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18532 subdirs of cedet as well.
18533 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18535 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18537 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18538 Obey advertised-signature-table.
18540 * help-fns.el (help-function-arglist): Don't check
18541 advertised-signature-table.
18542 (describe-function-1): Do it here instead so it also applies to subrs.
18544 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18546 * simple.el (start-file-process): Say in the doc-string, that file
18547 handlers might not support pty association, if PROGRAM is nil.
18549 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18550 HOST and USER are strings. They are nil, when there are
18551 incomplete entries in ~/.netrc, for example.
18552 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18553 root directory ("device busy" error otherwise).
18555 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18556 Flush file properties of created directory.
18558 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18560 * makefile.w32-in (WINS_BASIC): Remove cedet.
18561 (WINS_CEDET): Add cedet.
18562 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18564 2009-10-02 Kevin Ryde <user42@zip.com.au>
18566 * net/browse-url.el (browse-url): Pass any symbol in
18567 browse-url-browser-function to `apply', since if you've mistakenly put
18568 an unbound symbol then the error is clearer. (Bug#4531)
18570 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18572 * allout.el (allout-init, allout-back-to-current-heading)
18573 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18574 (allout-ascend, allout-up-current-level, allout-end-of-level)
18575 (allout-previous-visible-heading, allout-forward-current-level)
18576 (allout-backward-current-level, allout-show-children):
18577 * apropos.el (apropos-describe-plist):
18578 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18579 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18580 * completion.el (add-completion, add-permanent-completion):
18581 * descr-text.el (describe-text-category, describe-char):
18582 * desktop.el (desktop-lazy-abort):
18583 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18584 * dired.el (dired-build-subdir-alist):
18585 * ediff.el (ediff-version):
18586 * elide-head.el (elide-head, elide-head-show):
18587 * emerge.el (emerge-version):
18589 * face-remap.el (variable-pitch-mode):
18590 * faces.el (describe-face):
18591 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18593 * files.el (find-file-existing, auto-save-mode):
18594 * font-lock.el (font-lock-fontify-buffer):
18595 * help-fns.el (describe-function, describe-variable)
18596 (describe-syntax, describe-categories):
18597 * help.el (view-lossage, describe-bindings, describe-key)
18599 * hexl.el (hexl-current-address):
18600 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18601 * info.el (Info-goto-emacs-key-command-node):
18602 * log-edit.el (log-edit-insert-cvs-template)
18603 (log-edit-insert-cvs-rcstemplate):
18604 * menu-bar.el (menu-bar-mode):
18605 * mouse.el (mouse-appearance-menu):
18606 * newcomment.el (comment-indent-new-line):
18607 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18608 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18609 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18610 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18611 * recentf.el (recentf-mode):
18612 * savehist.el (savehist-mode, savehist-save):
18613 * shadowfile.el (shadow-copy-files):
18614 * simple.el (kill-ring-save, next-line, previous-line)
18615 (normal-erase-is-backspace-mode):
18616 * strokes.el (strokes-update-window-configuration)
18617 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18618 (strokes-xpm-for-stroke):
18619 * time.el (emacs-uptime, emacs-init-time):
18620 * tutorial.el (tutorial--describe-nonstandard-key)
18621 (tutorial--detailed-help):
18622 * type-break.el (type-break-mode)
18623 (type-break-mode-line-message-mode, type-break-query-mode)
18624 (type-break-guesstimate-keystroke-threshold):
18625 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18626 * version.el (emacs-version):
18627 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18628 * winner.el (winner-mode):
18629 * calendar/timeclock.el (timeclock-in, timeclock-out)
18630 (timeclock-status-string, timeclock-change)
18631 (timeclock-workday-remaining-string)
18632 (timeclock-workday-elapsed-string)
18633 (timeclock-when-to-leave-string):
18634 * calendar/todo-mode.el (todo-add-category):
18635 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18636 * emacs-lisp/autoload.el (update-file-autoloads):
18637 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18638 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18639 (checkdoc-message-text, checkdoc-defun):
18640 * emacs-lisp/debug.el (debugger-list-functions):
18641 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18642 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18643 (eieio-describe-generic):
18644 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18645 * emacs-lisp/shadow.el (list-load-path-shadows):
18646 * emulation/cua-base.el (cua-mode):
18647 * emulation/edt.el (edt-set-scroll-margins):
18648 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18649 (tpu-toggle-regexp, tpu-toggle-search-direction)
18650 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18651 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18652 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18653 (viper-set-parsing-style-toggling-macro)
18654 (viper-set-emacs-state-searchstyle-macros):
18655 * emulation/viper.el (viper-set-hooks):
18656 * eshell/esh-mode.el (eshell-truncate-buffer):
18657 * international/mule-cmds.el (prefer-coding-system)
18658 (describe-input-method, describe-language-environment):
18659 * international/mule-diag.el (list-character-sets)
18660 (describe-character-set, describe-coding-system)
18661 (describe-fontset, list-fontsets, list-input-methods):
18662 * mail/sendmail.el (mail-signature):
18663 * net/ange-ftp.el (ange-ftp-copy-file):
18664 * net/browse-url.el (browse-url):
18665 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18666 * net/quickurl.el (quickurl-add-url):
18667 * net/rcirc.el (names, topic):
18668 * net/xesam.el (xesam-mode):
18669 * play/5x5.el (5x5-new-game):
18670 * play/yow.el (apropos-zippy):
18671 * progmodes/ada-mode.el (ada-mode-version):
18672 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18674 (f90-beginning-of-block):
18675 * progmodes/fortran.el (fortran-end-of-block)
18676 (fortran-beginning-of-block):
18677 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18678 * progmodes/python.el (python-describe-symbol, python-shell):
18679 * term/ns-win.el (ns-print-buffer):
18680 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18681 * textmodes/flyspell.el (flyspell-mode-on):
18682 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18683 (pages-directory-for-addresses):
18684 * textmodes/table.el (table-recognize-cell)
18685 (table-query-dimension, table-generate-source)
18686 (table-insert-sequence, table--warn-incompatibility):
18687 * textmodes/tex-mode.el (tex-validate-buffer):
18688 * textmodes/texinfmt.el (texinfmt-version)
18689 (texinfo-format-buffer):
18690 Use `called-interactively-p' instead of `interactive-p'.
18692 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18694 * image-mode.el (image-toggle-display):
18695 * emacs-lisp/elp.el (elp-instrument-function):
18696 * emacs-lisp/advice.el (ad-make-advised-definition):
18697 * emacs-lisp/easy-mmode.el (define-minor-mode):
18698 * net/browse-url.el (browse-url-maybe-new-window):
18699 * progmodes/sh-script.el (sh-learn-buffer-indent):
18700 Pass new argument 'any to `called-interactively-p'.
18702 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18704 * international/uni-bidi.el:
18705 * international/uni-category.el:
18706 * international/uni-combining.el:
18707 * international/uni-comment.el:
18708 * international/uni-decimal.el:
18709 * international/uni-decomposition.el:
18710 * international/uni-digit.el:
18711 * international/uni-lowercase.el:
18712 * international/uni-mirrored.el:
18713 * international/uni-name.el:
18714 * international/uni-numeric.el:
18715 * international/uni-old-name.el:
18716 * international/uni-titlecase.el:
18717 * international/uni-uppercase.el:
18718 Regenerate from Unicode 5.2.0 data.
18720 2009-10-01 Glenn Morris <rgm@gnu.org>
18722 * Makefile.in (ELCFILES): Regenerate.
18724 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18726 * subr.el (interactive-p): Mark obsolete.
18727 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18728 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18729 advertised-signature-table for subroutines as well.
18731 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18732 (set-advertised-calling-convention): New function.
18733 (make-obsolete, define-obsolete-function-alias)
18734 (make-obsolete-variable, define-obsolete-variable-alias):
18735 Make the optional-ness of `when' obsolete.
18736 (define-obsolete-face-alias): Make `when' non-optional.
18737 * help-fns.el (help-function-arglist):
18738 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18739 Use advertised-signature-table.
18741 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18743 * files.el (delete-directory): New defun. The original function
18744 in fileio.c has been renamed to `delete-directory-internal'.
18746 * dired.el (dired-delete-file): Call `delete-directory' with
18747 RECURSIVE parameter.
18749 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18750 parameter RECURSIVE. Implementation is missing.
18752 * net/tramp.el (tramp-handle-make-directory): Flush upper
18753 directory's file properties.
18754 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18755 (tramp-handle-dired-recursive-delete-directory): Flush directory
18756 properties after the remove command only.
18758 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18759 Handle optional parameter RECURSIVE.
18761 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18762 Handle optional parameter RECURSIVE.
18764 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18765 connection timeout.
18766 (tramp-smb-handle-delete-directory): Handle optional parameter
18769 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18771 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18772 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18773 (byte-compile-defmacro): Use backquotes.
18775 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18777 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18778 has no associated file.
18779 (vc-resynch-buffer): Use vc-dir-buffers.
18781 2009-10-01 Glenn Morris <rgm@gnu.org>
18783 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18784 (chart-file-count):
18785 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18786 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18787 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18788 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18789 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18790 (eieio-copy-parents-into-subclass, make-instance, class-children)
18791 (eieio-generic-form):
18793 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18794 match-data. (Bug#4555).
18796 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18797 rather than parsing it as a regexp. This relaxes the layout
18798 requirements and makes errors easier to detect.
18799 (check-declare-verify): Check file is regular.
18800 (check-declare-directory): Doc fix.
18801 * subr.el (declare-function): Doc fix.
18803 * ibuffer.el (ibuffer-format-qualifier):
18804 * isearch.el (hi-lock-regexp-okay):
18805 * calc/calc.el (math-zerop):
18806 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18807 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18808 Remove unused declarations.
18810 2009-09-30 Eric Ludlam <zappo@gnu.org>
18812 * emacs-lisp/eieio.el (boolean-p): Delete.
18814 2009-09-30 Glenn Morris <rgm@gnu.org>
18816 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18818 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18819 filename is not a string.
18821 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18823 * files.el (safe-local-eval-forms): Fix typo.
18825 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18827 * vc-hooks.el (vc-dir-buffers): New var.
18828 (vc-state-refresh): New function.
18829 (vc-state): Use it.
18830 (vc-after-save): Always ask the backend to recompute the new state.
18831 Always call vc-dir if necessary, using vc-dir-buffers.
18832 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18833 Use vc-dir-buffers.
18834 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18835 (vc-dir-prepare-status-buffer, vc-dir-update)
18836 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18837 Don't call expand-file-name on default-directory.
18839 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18841 * speedbar.el (speedbar-item-delete):
18842 * calc/calc-prog.el (calc-kbd-if):
18843 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18845 * epa.el (epa-key-list-mode-map):
18846 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18848 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18849 (hs-show-hook): Fix typo in docstring.
18851 2009-09-29 Glenn Morris <rgm@gnu.org>
18853 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18854 file-name-nondirectory call preventing location of cedet files.
18855 (check-declare-verify): Use literal search rather than re-search.
18856 Add basic defmethod and defclass, and define-overloadable-function.
18858 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18859 Use tramp-compat-file-attributes rather than nonexistent
18860 tramp-compat-handle-file-attributes.
18862 * Makefile.in (lisptagsfiles4): New.
18863 (AUTOGENEL): Add cedet loaddefs files.
18864 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18865 (update-elclist, compile-always, backup-compiled-files)
18866 (bootstrap-clean): Add yet another directory level.
18867 (update-elclist): Use LC_COLLATE rather than COLLATE.
18868 (ELCFILES): Update, via `make update-elclist'.
18870 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18872 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18873 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18874 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18876 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18878 * Makefile.in (lisptagsfiles3): Define.
18879 (TAGS, TAGS-LISP): Use it.
18880 (update-elclist): Add third directory level to look for elc files.
18881 (compile-always): Likewise.
18882 (backup-compiled-files): Likewise.
18883 (bootstrap-clean): Likewise.
18884 (ELCFILES): Update.
18886 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18888 * Makefile.in (ELCFILES): Add CEDET files.
18890 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18892 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18894 * net/tramp.el (top): Require tramp-imap.
18896 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18897 Use `tramp-compat-handle-file-attributes'.
18899 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18901 * net/tramp-imap.el: New package.
18903 2009-09-28 Eric Ludlam <zappo@gnu.org>
18905 * emacs-lisp/chart.el:
18906 * emacs-lisp/eieio-base.el:
18907 * emacs-lisp/eieio-comp.el:
18908 * emacs-lisp/eieio-custom.el:
18909 * emacs-lisp/eieio-datadebug.el:
18910 * emacs-lisp/eieio-opt.el:
18911 * emacs-lisp/eieio-speedbar.el:
18912 * emacs-lisp/eieio.el: New files.
18914 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18916 * whitespace.el (whitespace-trailing-regexp)
18917 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18920 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18922 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18925 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18926 menu-bar-ediff-menu.
18928 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18929 define-overloadable-function.
18931 * progmodes/autoconf.el: Provide autoconf as well, so that this
18932 file can be `require'd.
18934 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18936 * emacs-lisp/autoload.el (generated-autoload-feature)
18937 (generated-autoload-load-name): New vars.
18938 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18939 (make-autoload): Recognize define-overloadable-function and
18940 defclass forms (for EIEIO).
18942 * Makefile.in (update-subdirs): Exclude cedet directory.
18944 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18946 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18948 * faces.el: Default light-background background for region face to
18949 ns_selection_color under NS.
18951 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18953 * net/imap-hash.el: New library, see NEWS.
18955 * Makefile.in (ELCFILES): Add imap-hash.el.
18957 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18959 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18960 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18961 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18962 definition where the docstring could be taken for the return value.
18964 2009-09-26 Glenn Morris <rgm@gnu.org>
18966 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18967 Add option to only show images below a certain size.
18968 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18969 save-excursion calls.
18971 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18973 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18974 subdirectories) and eieio.
18976 2009-09-26 Alan Mackenzie <acm@muc.de>
18978 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18979 Correct buggy bracketing. (Bug#4289)
18981 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18982 character constants (as case labels). (Bug#4289)
18984 2009-09-25 Juri Linkov <juri@jurta.org>
18986 * files.el (safe-local-eval-forms): Allow time-stamp in
18987 before-save-hook (Bug#4554).
18989 2009-09-25 Drew Adams <drew.adams@oracle.com>
18991 * menu-bar.el (list-buffers-directory): Doc fix.
18993 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18995 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18996 Try and avoid copying twice the same paragraph.
18997 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18998 Remove save-excursion.
18999 (log-edit-changelog-entry): Do it here instead.
19001 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19003 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19004 when available, instead of hardcoding mode names. Doc fix.
19006 * menu-bar.el (list-buffers-directory): Add docstring.
19007 Make automatically buffer-local.
19009 * dired.el (dired-mode):
19010 * files.el (cd-absolute):
19011 * pcvs.el (cvs-temp-buffer):
19012 * pcvs-util.el (cvs-get-buffer-create):
19013 * shell.el (shell-mode):
19014 * vc-dir.el (vc-dir-mode):
19015 Don't make `list-buffers-directory' buffer local.
19017 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19019 * comint.el (comint-exec, comint-run, make-comint):
19020 Doc fixes (Bug#4542).
19022 2009-09-25 Glenn Morris <rgm@gnu.org>
19024 * mail/rmailmm.el (rmail-mime): New custom group.
19025 Move all defcustoms in this file into this group.
19026 (rmail-mime-media-type-handlers-alist): Revert previous change.
19027 (rmail-mime-show-images): New option.
19028 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19029 references to it, since it wasn't actually used for anything.
19030 (rmail-mime-insert-image): New function.
19031 (rmail-mime-image): Use rmail-mime-insert-image.
19032 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19033 obey the value of `rmail-mime-show-images' option. Print the size of
19036 2009-09-25 David Engster <deng@randomsample.de>
19038 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19040 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19042 * whitespace.el: Does not highlight trailing spaces While point is
19043 at end of line. Does not highligt spaces at beginning of buffer
19044 while point is at beginning of buffer. Does not highlight spaces
19045 at end of buffer while point is at end of buffer. (Bug#4177)
19047 (whitespace-display-mappings): Adjust initialization.
19048 (whitespace-point, whitespace-font-lock-refontify): New vars.
19049 (whitespace-color-on, whitespace-color-off): Adjust code.
19050 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19051 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19052 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19054 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19056 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19058 * textmodes/sgml-mode.el: Remove xml-mode alias.
19060 * files.el (auto-mode-alist, conf-mode-maybe)
19061 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19063 2009-09-24 Alan Mackenzie <acm@muc.de>
19065 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19066 c-forward-conditionals, but it doesn't move point and doesn't set
19068 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19069 (c-down-conditional-with-else, c-backward-conditional)
19070 (c-forward-conditional): Refactor to use c-scan-conditionals.
19072 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19074 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19075 (help-default-arg-highlight): Remove.
19076 (help-highlight-arg): New function.
19077 (help-do-arg-highlight): Use it.
19078 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19080 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19082 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19083 Undo last change, which didn't fix the problem and introduced others.
19085 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19087 * progmodes/gdb-mi.el: Don't require speedbar.
19088 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19090 2009-09-24 Glenn Morris <rgm@gnu.org>
19092 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19094 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19096 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19097 there is no newline after the final mime boundary. (Bug#4539)
19098 Move markers on insertion so that any buttons inserted don't end up in
19099 the next part of a multipart message.
19100 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19101 (rmail-mime-bulk-handler): Optionally handle images.
19102 (rmail-mime-image): New button action.
19103 (rmail-mime-image-handler): New function.
19104 (rmail-mime-mode): New mode.
19105 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19107 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19109 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19110 than just dropping elements from it (bug#4504).
19112 * term.el (term-set-scroll-region): Don't move cursor any more.
19113 (term-handle-ansi-escape): Call term-goto here instead.
19114 Suggested by Ivan Kanis <apple@kanis.eu>.
19116 * term.el: Require CL.
19117 (term-ansi-reset): New function.
19118 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19119 (term-handle-colors-array): Simplify.
19121 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19123 * allout.el (allout-overlay-interior-modification-handler)
19124 (allout-obtain-passphrase):
19125 * epa-file.el (epa-file-write-region):
19126 * ps-print.el (ps-begin-job):
19127 * vc-hooks.el (vc-toggle-read-only):
19128 * vc-rcs.el (vc-rcs-rollback):
19129 * vc-sccs.el (vc-sccs-rollback):
19130 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19131 (vc-version-diff, vc-revert, vc-rollback):
19132 * wdired.el (wdired-check-kill-buffer):
19133 * emacs-lisp/authors.el (authors):
19134 * net/socks.el (socks-open-connection):
19135 * net/zeroconf.el (zeroconf-service-add-hook):
19136 * obsolete/vc-mcvs.el (vc-mcvs-register):
19137 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19138 (gdb-select-frame):
19139 * progmodes/grep.el (lgrep, rgrep):
19140 * progmodes/idlw-help.el (idlwave-help-check-locations)
19141 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19142 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19143 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19144 (reftex-toc-rename-label): Fix typos in error messages.
19146 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19147 (dired-copy-how-to-fn): Doc fix.
19148 (dired-files-attributes, dired-read-shell-command):
19149 Fix typos in docstrings.
19151 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19152 (dired-x-find-file-other-window): Reflow docstrings.
19153 (dired-omit-marker-char, dired-read-shell-command)
19154 (dired-x-submit-report): Fix typos in docstrings.
19156 * shell.el (shell-mode-hook):
19157 * view.el (View-scroll-line-forward):
19158 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19159 Fix typos in docstrings.
19161 * net/dig.el (dig-invoke): Fix typo in docstring.
19162 (query-dig): Reflow docstring.
19164 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19165 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19166 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19167 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19168 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19169 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19170 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19171 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19172 (idlwave-completion-map, idlwave-current-indent)
19173 (idlwave-custom-ampersand-surround, idlwave-customize)
19174 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19175 (idlwave-define-abbrev, idlwave-determine-class-special)
19176 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19177 (idlwave-end-block-reg, idlwave-end-of-statement)
19178 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19179 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19180 (idlwave-explicit-class-listed, idlwave-file-header)
19181 (idlwave-fill-paragraph, idlwave-find-class-definition)
19182 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19183 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19184 (idlwave-in-quote, idlwave-indent-action-table)
19185 (idlwave-indent-expand-table, idlwave-indent-line)
19186 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19187 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19188 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19189 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19190 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19191 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19192 (idlwave-outlawed-buffers, idlwave-popup-select)
19193 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19194 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19195 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19196 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19197 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19198 (idlwave-statement-type, idlwave-struct-skip)
19199 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19200 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19201 (idlwave-what-module-find-class): Fix typos in docstrings.
19202 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19203 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19204 (idlwave-find-module, idlwave-find-structure-definition)
19205 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19206 (idlwave-list-load-path-shadows, idlwave-next-statement)
19207 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19208 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19209 (idlwave-template): Reflow docstrings.
19211 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19212 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19213 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19214 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19215 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19216 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19217 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19218 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19219 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19220 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19221 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19222 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19223 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19224 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19225 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19226 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19227 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19228 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19229 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19230 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19231 Fix typos in docstrings.
19232 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19233 (idlwave-shell-hide-output, idlwave-shell-mode)
19234 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19237 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19239 2009-09-24 Ivan Kanis <apple@kanis.eu>
19241 * term.el (term-bold-attribute): New var.
19242 (term-handle-colors-array): Use it.
19244 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19246 * progmodes/gdb-mi.el (gdb-version): New variable.
19247 (gdb-non-stop-handler): Set gdb-version.
19248 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19249 Condition "--thread" option on gdb-version.
19250 (gdb-invalidate-threads): Remove unused argument.
19252 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19254 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19255 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19257 2009-09-23 Glenn Morris <rgm@gnu.org>
19259 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19260 replying to mail without References or Message-Id. (Bug#4525)
19262 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19264 * term/ns-win.el (ns-reg-to-script): New variable.
19266 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19268 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19270 2009-09-22 Sam Steingold <sds@gnu.org>
19272 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19273 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19274 to 1 because hg returns status 1 when nothing is found.
19275 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19277 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19279 * textmodes/fill.el: Convert to utf-8 encoding.
19280 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19283 * add-log.el (change-log-fill-forward-paragraph): New function.
19284 (change-log-mode): Use it so fill-region DTRT.
19285 Set fill-indent-according-to-mode here rather than in
19286 change-log-fill-paragraph.
19287 (change-log-fill-paragraph): Remove.
19289 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19291 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19292 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19294 2009-09-22 Glenn Morris <rgm@gnu.org>
19296 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19297 the scroll-bar scroll the calendar window rather than the buffer.
19299 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19300 commands that move point (as opposed to scrolling).
19302 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19304 * emacs-lisp/elint.el (elint): New custom group.
19305 (elint-log-buffer): Make it a defcustom.
19306 (elint-scan-preloaded, elint-ignored-warnings)
19307 (elint-directory-skip-re): New options.
19308 (elint-builtin-variables): Doc fix.
19309 (elint-preloaded-env): New variable.
19310 (elint-unknown-builtin-args): Add an entry for encode-time.
19311 (elint-extra-errors): Make it a variable rather than a constant.
19312 (elint-preloaded-skip-re): New constant.
19313 (elint-directory): Skip files matching elint-directory-skip-re.
19314 (elint-features): New variable, local to linted buffers.
19315 (elint-update-env): Initialize elint-features. Possibly add
19316 elint-preloaded-env to the buffer's environment.
19317 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19319 (elint-init-form): New function, extracted from elint-init-env.
19320 Make non-list forms a warning rather than an error.
19321 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19322 easy-menu-define, put that adds an error-condition, and provide.
19323 When requiring cl, also require cl-macs. Really require cl, to handle
19324 some cl macros. Store required libraries in the list elint-features,
19325 so as not to re-load them. Treat cc-require like require.
19326 (elint-init-env): Call elint-init-form to do the work.
19327 Handle eval-and-compile and such like.
19328 (elint-add-required-env): Do not clear messages.
19329 (elint-special-forms): Add handlers for function, defalias, if, when,
19331 (elint-form): Add optional argument to ignore elint-special-forms,
19332 useful to prevent recursive calls from handlers. Doc fix.
19333 Respect elint-ignored-warnings.
19334 (elint-form): Respect elint-ignored-warnings.
19335 (elint-bound-variable, elint-bound-function): New variables.
19336 (elint-unbound-variable): Respect elint-bound-variable.
19337 (elint-get-args): Respect elint-bound-function.
19338 (elint-check-cond-form): Add some simple handling for (f)boundp and
19340 (elint-check-defalias-form): New handler.
19341 (elint-check-let-form): Make an empty let a warning rather than an
19343 (elint-check-setq-form): Make an empty setq a warning rather than an
19344 error. Respect elint-ignored-warnings.
19345 (elint-check-defvar-form): Accept null doc-strings.
19346 (elint-check-conditional-form): New handler. Does some simple-minded
19347 checking of featurep and (f)boundp tests.
19348 (elint-put-function-args): New function.
19349 (elint-initialize): Use elint-scan-doc-file rather than
19350 elint-find-builtin-variables. Use elint-put-function-args.
19351 Possibly scan preloaded-file-list.
19352 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19353 extend to handle functions as well.
19355 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19357 * linum.el (linum-delete-overlays, linum-update-window):
19358 Do not modify the right margin. (Bug#3971)
19360 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19362 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19363 Use nxml-mode instead of xml-mode.
19365 2009-09-21 Kevin Ryde <user42@zip.com.au>
19367 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19369 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19371 * net/dig.el (dig-mode): Use define-derived-mode.
19373 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19375 * vc-dispatcher.el (vc-do-command): Return the process object in
19376 the asynchronous case. Use when instead of if. Do not run
19377 vc-exec-after to display a message if not enabled. (Bug#4463)
19379 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19380 properties to the stash strings.
19381 (vc-git-stash-list): Return a list of strings.
19382 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19383 (vc-git-stash-show-at-point): New functions.
19384 (vc-git-stash-map): New keymap.
19386 * register.el (ctl-x-r-map): Define the keys here instead of
19389 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19391 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19392 list, to workaround performance problem (bug#4485).
19394 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19396 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19398 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19400 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19401 Document that this option is not recommended to use.
19403 2009-09-19 Glenn Morris <rgm@gnu.org>
19405 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19408 * calc/calc-alg.el (var):
19409 * calc/calcalg2.el (var): Define for compiler.
19411 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19413 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19414 Doc fix (Bug#3932).
19416 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19418 * time-stamp.el (time-stamp-month-dd-yyyy)
19419 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19420 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19421 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19422 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19423 Remove functions that have been obsolete since 1995 (Bug#4436).
19425 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19426 indent buffer only if called interactively (Bug#4452).
19428 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19429 Eli Zaretskii <eliz@gnu.org>
19431 This fixes bug#4197 (merged to bug#865, though not identical).
19432 * server.el (server-auth-dir): Add docstring note about FAT32.
19433 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19434 but warn against using them.
19436 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19438 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19439 older GDB where there is no has_more field.
19441 2009-09-19 Glenn Morris <rgm@gnu.org>
19443 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19445 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19447 * files.el (auto-mode-alist): Change default for XML files to nXML
19450 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19452 * server.el (server-ensure-safe-dir): Pass 'integer
19453 to `file-attributes', as suggested.
19455 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19457 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19458 (dired-query): Use read-key.
19460 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19462 * cus-start.el (ns-use-qd-smoothing): Remove.
19464 2009-09-18 Glenn Morris <rgm@gnu.org>
19466 * allout.el (top-level): Remove unnecessary progn.
19468 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19470 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19471 definition of abbrev table.
19473 * speedbar.el (speedbar-track-mouse):
19474 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19475 * net/eudc.el (eudc-expand-inline):
19476 * net/newst-backend.el (newsticker--cache-read-feed):
19477 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19478 condition-case handlers.
19480 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19482 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19483 (gdb-var-list): Add an element for has_more field.
19484 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19485 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19486 (gdb-var-update-handler-1): Parse output of dynamic variable
19487 objects (STL containers).
19488 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19489 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19491 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19493 (gud-speedbar-buttons): Make node expandable if expression "has more"
19496 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19498 * startup.el (emacs-quick-startup): Remove variable and all uses.
19499 (command-line): Set `inhibit-x-resources' instead.
19500 (command-line-1): Use `inhibit-x-resources' instead.
19502 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19504 * subr.el: Fix last change to avoid using the `unless' macro,
19505 which breaks bootstrapping.
19507 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19509 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19510 extended definitions, in case we reload subr.el after having
19512 (eval-next-after-load): Mark as obsolete.
19514 2009-09-17 Juri Linkov <juri@jurta.org>
19516 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19517 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19518 (menu-bar-showhide-menu, menu-bar-tools-menu)
19519 (menu-bar-describe-menu, menu-bar-help-menu)
19520 (minibuffer-local-completion-map, minibuffer-local-map):
19523 2009-09-17 Glenn Morris <rgm@gnu.org>
19525 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19526 arguments, whether or not it has a handler.
19528 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19530 * simple.el (hard-newline): Give it a doc-string.
19532 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19533 (lisp-mode-syntax-table): Give them doc-strings.
19535 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19537 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19538 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19539 (menu-bar-options-menu, menu-bar-showhide-menu)
19540 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19541 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19542 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19543 (menu-bar-options-menu, menu-bar-tools-menu)
19544 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19545 (menu-bar-help-menu):
19546 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19549 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19550 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19551 calls for the menu names and :help.
19553 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19555 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19556 to :minor-mode-function (bug#4455).
19558 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19560 * startup.el (command-line): Initialize the window-system after
19561 processing the command-line.
19563 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19564 page-delimiter matches the empty string.
19566 2009-09-16 Glenn Morris <rgm@gnu.org>
19568 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19569 byte-compile-not-obsolete-var. It's a list now.
19570 (byte-compile-not-obsolete-funcs): New variable.
19571 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19572 byte-compile-not-obsolete-funcs.
19573 (byte-compile-variable-ref, byte-compile-defvar): Update for
19574 byte-compile-not-obsolete-vars name-change and list nature.
19575 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19576 and variables behind (f)boundp tests.
19577 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19579 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19581 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19583 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19585 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19586 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19589 2009-09-15 Stephen Eglen <stephen@gnu.org>
19591 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19592 the virtual-buffers, use the name of the buffer specified by
19593 find-file-noselect, as the match may be a symlink. (This was a
19594 problem if the target and the symlink had different names.)
19596 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19598 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19600 * desktop.el (desktop-path): Check user-emacs-directory.
19602 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19604 * loadup.el: Use after-load-functions to GC after loading each file.
19605 Remove the explicit GC calls that used to be sprinkled around.
19607 * subr.el (after-load-functions): New hook.
19608 (do-after-load-evaluation): Run it. Use string-match-p to detect
19609 `obsolete' packages, rather than painfully extracting the relevant
19612 2009-09-15 Glenn Morris <rgm@gnu.org>
19614 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19615 free variable `doc'.
19617 * dired.el (dired-mode-map): Add menu entry for async shell command.
19619 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19620 variables, also consider the .elc files, since the .el files are
19621 normally gzipped (subsequent code locates the .el.gz from the .elc).
19623 * calc/calc-prog.el (arglist): Define for compiler.
19625 * calendar/diary-lib.el (diary-display-function): Change the default to
19627 (body): Define for compiler.
19629 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19630 (byte-compile-file-form, byte-compile-lambda)
19631 (byte-compile-top-level-body, byte-compile-form)
19632 (byte-compile-variable-ref, byte-compile-setq)
19633 (byte-compile-setq-default, byte-compile-body)
19634 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19635 (batch-byte-compile): Give some more local variables with common names
19636 a "bytecomp-" prefix to avoid masking warnings about free variables.
19638 * startup.el (command-line-1): Give local variables with common names a
19639 distinguishing prefix, so as not to hide free variable warnings during
19642 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19643 clever and add a suffix to make a unique name, just let the user decide
19644 whether or not to overwrite it. If the input is a directory, write the
19645 default filename to that directory. (Bug#4388)
19646 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19647 is a filename-as-a-directory.
19649 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19651 * textmodes/page.el (what-page): Don't move to beginning of line.
19652 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19654 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19656 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19658 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19660 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19661 * help.el (help-for-help-internal): Add purecopy calls for text.
19663 * vc.el (top): print-log method now takes an optional SHORTLOG
19664 argument. Add a new method: root.
19665 (vc-root-diff, vc-print-root-log): New functions.
19666 (vc-log-short-style): New variable.
19667 (vc-print-log-internal): Add support for showing short logs.
19669 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19670 vc-print-root-log and vc-print-root-diff.
19672 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19673 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19674 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19677 * vc-cvs.el (vc-cvs-print-log):
19678 * vc-mtn.el (vc-mtn-print-log):
19679 * vc-rcs.el (vc-rcs-print-log):
19680 * vc-sccs.el (vc-sccs-print-log):
19681 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19682 that is ignored for now.
19684 * vc-mtn.el (vc-mtn-annotate-command):
19685 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19687 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19689 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19690 to function-key-map, and give them ascii-character property.
19691 * term/x-win.el (x-alternatives-map):
19692 * term/ns-win.el (ns-alternatives-map):
19693 * term/internal.el (msdos-key-remapping-map):
19694 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19696 2009-09-14 Glenn Morris <rgm@gnu.org>
19698 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19699 temp-buffers (2009-09-12).
19701 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19703 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19704 the new read-key function.
19706 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19708 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19709 is defined (Bug#4405).
19711 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19713 * recentf.el (recentf-cleanup): Use a hash table to find
19714 duplicates (Bug#4407).
19716 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19718 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19719 kp-0 to ascii equivalents (Bug#4325).
19721 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19723 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19725 * eshell/em-hist.el:
19726 * eshell/em-dirs.el (eshell-complete-user-reference):
19727 Declare pcomplete functions and variables to avoid compiler warnings.
19729 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19731 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19732 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19733 * eshell/em-alias.el (eshell-aliases-file):
19734 * eshell/em-hist.el (eshell-history-file-name):
19735 Use expand-file-name instead of concat to make file names (Bug#4308).
19737 2009-09-13 Glenn Morris <rgm@gnu.org>
19739 * ediff-merg.el (ediff-do-merge):
19740 * filesets.el (filesets-run-cmd):
19741 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19742 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19743 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19744 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19745 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19746 Replace empty `let's with `progn'.
19748 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19750 * mail/sendmail.el (send-mail-function):
19751 * tooltip.el (tooltip-mode):
19752 * simple.el (transient-mark-mode):
19753 * rfn-eshadow.el (file-name-shadow-mode):
19754 * frame.el (blink-cursor-mode):
19755 * font-core.el (global-font-lock-mode):
19756 * files.el (temporary-file-directory)
19757 (small-temporary-file-directory, auto-save-file-name-transforms):
19758 * epa-hook.el (auto-encryption-mode):
19759 * composite.el (global-auto-composition-mode):
19760 Use custom-initialize-delay.
19761 * startup.el (command-line): Don't explicitly call
19762 custom-reevaluate-setting for all the above vars.
19763 * custom.el (custom-initialize-safe-set)
19764 (custom-initialize-safe-default): Delete.
19766 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19768 * term/x-win.el (x-initialize-window-system):
19769 * term/w32-win.el (w32-initialize-window-system):
19770 * term/ns-win.el (ns-initialize-window-system): Don't call
19771 mouse-wheel-mode since it's enabled globally by default already.
19773 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19774 actually define the variable, but only silences the byte-compiler.
19775 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19776 before looking it up.
19777 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19780 2009-09-12 Glenn Morris <rgm@gnu.org>
19782 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19784 (elint-add-required-env): Don't beep on error.
19785 (elint-forms): In case of error, return ENV unchanged.
19786 (elint-init-env): Skip non-list forms.
19787 (elint-log): Handle unknown file positions.
19789 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19791 * epg.el (epg-make-context): Add autoload cookie.
19792 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19793 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19794 (epg-verify-string, epg-start-sign, epg-sign-file)
19795 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19796 (epg-encrypt-string, epg-start-export-keys)
19797 (epg-export-keys-to-file, epg-export-keys-to-string)
19798 (epg-start-import-keys, epg-import-keys-from-file)
19799 (epg-import-keys-from-string, epg-start-receive-keys)
19800 (epg-receive-keys, epg-import-keys-from-server)
19801 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19802 (epg-sign-keys, epg-start-generate-key)
19803 (epg-generate-key-from-file, epg-generate-key-from-string):
19804 Remove autoload cookie.
19806 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19808 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19809 reevaluation of trash-directory.
19811 * mwheel.el: Fix last change.
19812 (mouse-wheel-mode): New defvar.
19813 (mouse-wheel-mode): Remove autoload cookie.
19815 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19817 * mwheel.el (mwheel-installed-bindings): New var.
19818 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19819 the bindings we set last time. Use custom-initialize-delay.
19820 * loadup.el: Load mwheel after term/*-win.el.
19821 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19822 and mouse-wheel-up-event now that their first evaluation is done
19823 sufficiently late to be correct.
19825 * startup.el (tutorial-directory): Make it a defcustom.
19826 Use custom-initialize-delay rather than eval-at-startup to set it.
19827 * image.el (image-load-path): Make it a defcustom.
19828 Use custom-initialize-delay rather than eval-at-startup to set it.
19829 * subr.el (eval-at-startup): Remove.
19830 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19832 * subr.el (do-after-load-evaluation): Warn the user after loading an
19835 2009-09-12 Glenn Morris <rgm@gnu.org>
19837 * proced.el (proced-mark-alt): Remove alias.
19838 (proced-mode-map): Remove proced-mark-alt.
19840 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19841 Elint file and directory. Remove initialization entry.
19843 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19845 (elint-current-buffer): Set mode-line-process.
19846 (elint-init-env): Handle define-derived-mode.
19847 Fix declare-function with unspecified arglist. Guard against odd
19848 defalias statements (eg iso-insert's 8859-1-map).
19849 (elint-add-required-env): Use a temp buffer.
19850 (elint-form): Just print the function/macro name, not the whole form.
19851 Return env unchanged if we fail to parse a macro.
19852 (elint-forms): Guard against parse errors.
19853 (elint-output): New function, to handle batch mode.
19854 (elint-log-message): Add optional argument. Use elint-output.
19855 (elint-set-mode-line): New function.
19857 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19859 * emacs-lisp/elp.el (elp-not-profilable): Add more
19860 functions (Bug#4233).
19862 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19864 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19865 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19867 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19869 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19870 (gdb-var-list-children): Use json parsing.
19872 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19874 * progmodes/js.el (js--proper-indentation): Handle the case where
19875 char-before is null. Reported by Deniz Dogan.
19877 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19879 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19881 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19883 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19884 (epg-digest-algorithm-alist): Add SHA224.
19885 (epg-context-set-passphrase-callback)
19886 (epg-context-set-progress-callback): Add description about
19889 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19891 * custom.el (custom-delayed-init-variables): New var.
19892 (custom-initialize-delay): New function.
19893 * startup.el (command-line): "Re"evaluate all vars in
19894 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19895 explicitly any more.
19896 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19897 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19899 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19901 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19903 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19904 (gdb-var-update-handler): Use json parsing.
19906 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19908 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19909 decode annotated text, regardless of language environment. (Bug#2741)
19911 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19913 * Makefile.in (autoloads): Make rmail.el writable as well.
19915 2009-09-11 Glenn Morris <rgm@gnu.org>
19917 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19919 * dired.el: Regenerate with extracted autoloads.
19920 * Makefile.in (autoloads): Make dired.el writable.
19922 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19923 * ibuffer.el: Regenerate with extracted autoloads.
19924 * Makefile.in (autoloads): Make ibuffer.el writable.
19926 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19927 * version.el (emacs-copyright, emacs-major-version)
19928 (emacs-minor-version): Reformat doc-strings for make-docfile.
19930 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19931 functions and variables, since they must be stuff specific to some other
19933 (apropos-print): Make mouse-click message less specific about button.
19935 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19936 that records where a macro was defined.
19937 * help-fns.el (describe-function-1): Mention if a function has a
19939 * help-mode.el (help-function-cmacro): New button.
19941 * locate.el (top-level): Always require dired.
19942 (locate-mode-map): Initialize inside the defvar.
19944 * net/ange-ftp.el (dired-compress-file): Declare.
19945 (ange-ftp-dired-compress-file): Add doc string.
19947 * term/ns-win.el (x-display-name, x-setup-function-keys):
19948 Unify doc-strings with X versions.
19950 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19952 * emulation/crisp.el (crisp-mode-map): Move initialization
19954 (crisp-mode): Use define-minor-mode.
19956 * progmodes/xscheme.el (xscheme-evaluation-commands):
19957 Put a :advertised-binding property rather than using
19958 advertised-xscheme-send-previous-expression.
19959 (advertised-xscheme-send-previous-expression): Declare obsolete.
19960 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19962 (crisp-mode): Add corresponding bindings to
19963 undo's :advertised-binding instead.
19964 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19965 than using dired-advertised-find-file.
19966 (dired-advertised-find-file):
19967 * simple.el (advertised-undo):
19968 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19969 (widget-keymap): Put a :advertised-binding property rather
19970 than using advertised-widget-backward.
19971 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19972 than using advertised-undo.
19973 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19975 2009-09-10 Simon South <ssouth@slowcomputing.org>
19977 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19978 Mark mode is enabled and region is active; otherwise indent or
19979 insert TAB as usual.
19980 (delphi-mode): Update description of TAB-key binding.
19982 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19984 * subr.el (define-key-rebound-commands): Mark obsolete.
19985 * startup.el (precompute-menubar-bindings): Remove.
19986 (normal-top-level): Remove obsolete code that tried to precompute
19988 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19989 define-key-rebound-commands and precompute-menubar-bindings.
19991 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19993 * net/imap.el (imap-interactive-login): Better messages.
19994 (imap-open): Fix bug with renamed buffer on reconnect.
19995 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19996 for easier debugging and cleaner code. On successful (guessed based on
19997 server capabilities) secondary authentication, set imap-state
19999 (imap-last-authenticator): Define imap-last-authenticator as a variable
20002 2009-09-10 Glenn Morris <rgm@gnu.org>
20004 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20006 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20007 (byte-compile-file-form-autoload): Don't warn about unknown functions
20008 where the autoload statement comes after the use.
20009 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20010 that any handlers inside the body (eg require) are in turn respected.
20012 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20015 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20016 and syntax and abbrev tables basic docs, if they don't have any.
20018 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20020 * international/mule-cmds.el (top-level): Require cl when compiling.
20021 (view-hello-file): Use default-value rather than
20022 default-enable-multibyte-characters.
20024 * progmodes/fortran.el: Move all safe and risky properties into the
20027 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20028 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20029 * mail/undigest.el:
20030 Put autoloads in rmail.el rather than loaddefs.el.
20031 * mail/rmail.el: Regenerate with extracted autoloads.
20033 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20034 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20036 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20038 Reported in thread for Bug#4375.
20039 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20040 "-data-evaluate-expression" instead of print.
20041 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20042 (gdb-tooltip-print): Parse output from above MI command.
20043 (gdb): Revert 2009-08-11 change. User should detach inferior
20046 Remove the word "separate" from IO functions as inferior
20047 output is now never displayed in the GUD buffer.
20049 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20051 * startup.el (command-line-normalize-file-name): On Windows and
20052 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20054 2009-09-10 Juri Linkov <juri@jurta.org>
20056 * isearch.el (isearch-text-char-description): Propertize escape
20057 character sequences with the `escape-glyph' face. (Bug#4344)
20059 * simple.el (shell-command): Set asynchronous process filter to
20060 `comint-output-filter'. (Bug#4343)
20062 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20063 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20064 the list. Move "asm" to the bottom.
20065 (grep-find-ignored-directories): Add `choice' with nil value
20066 to empty the list easily.
20067 (grep-find-ignored-files): New option.
20068 (grep-files-history): Set to nil by default instead of '("ch" "el").
20069 (grep-compute-defaults): Add "<X>" to `grep-template'.
20070 (grep-read-files): Bind new local variables `default-alias' and
20071 `default-extension'. Use a list of default values for the file prompt.
20072 (lgrep): Add `--exclude=' command line options composed from
20073 `grep-find-ignored-files'.
20074 (rgrep): Add `-name' command line options composed from
20075 `grep-find-ignored-files'. (Bug#4301)
20077 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20079 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20082 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20084 * calendar/time-date.el (autoload):
20085 Expand define-obsolete-function-alias into defalias and make-obsolete
20086 for old Emacsen that Gnus supports.
20087 (with-no-warnings): Define it for old Emacsen.
20088 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20090 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20091 float-time is available; suppress compile warning for time-to-seconds.
20093 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20095 * net/imap.el (imap-message-map): Docstring fix.
20097 2009-09-09 Glenn Morris <rgm@gnu.org>
20099 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20100 line numbers too. (Bug#4374)
20102 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20104 * smerge-mode.el (smerge-remove-props, smerge-refine):
20105 Use with-silent-modifications (bug#4342).
20107 * subr.el (with-silent-modifications): New macro.
20109 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20111 * files.el (top-level): Require `cl' when compiling.
20113 2009-09-07 Glenn Morris <rgm@gnu.org>
20115 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20117 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20118 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20120 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20122 * vc-git.el (vc-git-annotate-command): Use separator to parse
20123 arguments correctly.
20125 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20127 * proced.el (proced-mode): Doc fix.
20129 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20131 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20133 (tramp-do-file-attributes-with-ls): Check for file existence at
20135 (tramp-do-file-attributes-with-stat): Likewise.
20136 (tramp-convert-file-attributes): Return nil when attr is nil.
20138 2009-09-05 Glenn Morris <rgm@gnu.org>
20140 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20141 properties to this button.
20142 (diary-fancy-display): Don't extend the button to the final newline.
20143 (diary-fancy-display-mode): Continue to define "q" as a local key.
20145 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20148 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20150 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20151 (byte-compile-dest-file-function): New option.
20152 (byte-compile-dest-file): Doc fix.
20153 Obey byte-compile-dest-file-function.
20154 (byte-compile-cl-file-p): New function.
20155 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20156 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20157 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20158 than for file being previously loaded.
20159 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20160 (byte-compile-file-form-require): Handle the case where requiring a file
20161 indirectly causes CL to be loaded.
20163 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20165 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20166 before killing the old buffer, since by the time `kill-buffer' is
20167 run so many buffer variables have been set to nil that it may not
20168 behave as expected. (Bug#4061)
20170 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20172 * files.el (find-alternate-file): If the old buffer is modified
20173 and visiting a file, behave similarly to `kill-buffer' when
20174 killing it, thus reverting to the pre-1.878 behavior; see
20175 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20176 for discussion. Also, consult `buffer-file-name' as a variable
20177 not as a function, for consistency with the rest of the code.
20179 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20181 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20182 also when adding a new directory.
20184 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20187 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20189 * files.el (locate-file-completion-table): Make it provide boundary
20190 information, so partial-completion works better.
20192 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20194 * mail/footnote.el (Footnote-text-under-cursor):
20195 Check footnote-text-marker-alist before using it (bug#4324).
20197 2009-09-04 Glenn Morris <rgm@gnu.org>
20199 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20200 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20201 * play/solitaire.el, play/tetris.el:
20202 Remove leading * from defcustom and defface docs.
20204 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20206 (diary-fancy-overriding-map): New variable.
20207 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20210 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20213 2009-09-03 Glenn Morris <rgm@gnu.org>
20215 * arc-mode.el (archive-mode):
20216 * dos-fns.el (set-default-process-coding-system):
20217 * man.el (Man-getpage-in-background):
20218 * menu-bar.el (menu-bar-describe-menu):
20219 * server.el (server-process-filter):
20220 * startup.el (command-line):
20221 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20222 * w32-fns.el (set-default-process-coding-system):
20223 * x-dnd.el (x-dnd-handle-file-name):
20224 * international/mule-cmds.el (mule-menu-keymap)
20225 (set-default-coding-systems, language-info-alist, set-language-info)
20226 (set-language-environment, standard-display-european-internal)
20227 (set-locale-environment):
20228 * international/mule-diag.el (mule-diag):
20229 * mail/emacsbug.el (report-emacs-bug):
20230 * mail/rmail.el (rmail-mode):
20231 * mail/sendmail.el (mail-setup):
20232 Use default-value rather than default-enable-multibyte-characters.
20234 * progmodes/f90.el: Move all safe properties into the defcustoms.
20235 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20237 * calendar/appt.el (appt-check):
20238 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20239 (diary-check-diary-file, diary-list-entries)
20240 (diary-include-other-diary-files, diary-simple-display)
20241 (diary-fancy-display, diary-print-entries)
20242 (diary-mark-included-diary-files, diary-make-entry):
20243 Don't call substitute-in-file-name on diary-file.
20245 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20246 Stefan Monnier <monnier@iro.umontreal.ca>
20248 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20249 (footnote-mode-map): Move initialization into the declaration.
20250 (footnote-minor-mode-map): Define it rather than changing global-map.
20251 (footnote-mode): Use define-minor-mode.
20253 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20255 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20256 (tramp-do-file-attributes-with-perl)
20257 (tramp-do-file-attributes-with-stat): Rename from
20258 `tramp-handle-file-attributes-with-*'.
20259 (tramp-handle-file-attributes): Use them.
20260 (tramp-do-directory-files-and-attributes-with-perl)
20261 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20262 `tramp-handle-directory-files-and-attributes-with-*'.
20263 (tramp-handle-directory-files-and-attributes): Use them.
20264 (tramp-method-out-of-band-p): Additional parameter SIZE.
20265 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20266 (tramp-handle-write-region): Use it.
20267 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20268 (tramp-handle-vc-registered): Check, whether the first run did
20269 return files to be tested.
20270 (tramp-advice-make-auto-save-file-name): Do not call directly
20271 `tramp-handle-make-auto-save-file-name', because this would bypass
20272 the locking mechanism.
20274 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20275 (file-remote-p, process-file, start-file-process, set-file-times)
20276 (tramp-compat-file-attributes): Compatibility functions shall not
20277 call directly `tramp-handle-*', because this would bypass the
20279 (tramp-compat-number-sequence): New defun.
20281 2009-09-02 Glenn Morris <rgm@gnu.org>
20283 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20284 alias for float-time.
20285 (time-to-number-of-days): In Emacs, use float-time.
20286 * net/newst-backend.el (time-add): Suppress warnings from compat
20288 * time.el (emacs-uptime, emacs-init-time):
20289 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20290 Use float-time rather than time-to-seconds.
20292 * minibuffer.el (completion-initials-expand): Fix typo.
20294 * faces.el (modeline, modeline-inactive, modeline-highlight)
20295 (modeline-buffer-id):
20296 * info.el (info-menu-5): Mark these face aliases as obsolete.
20298 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20300 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20302 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20303 no "--thread" option.
20304 (gdb-stopped): Don't print "Switched to thread" message when it is
20307 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20309 * minibuffer.el (completion-try-completion)
20310 (completion-all-completions): Remove ill-defined (and
20311 mistakenly installed and luckily never used nor documented)
20312 `completion-styles' property.
20313 (completion-initials-expand, completion-initials-all-completions)
20314 (completion-initials-try-completion): New functions.
20315 (completion-styles-alist): Add doc to each entry.
20316 Add new `initials' entry.
20318 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20320 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20321 MI command -var-evaluate-expression.
20322 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20323 and tweak for case of string child.
20324 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20326 2009-09-01 Glenn Morris <rgm@gnu.org>
20328 * add-log.el (change-log-date-face, change-log-name-face)
20329 (change-log-email-face, change-log-file-face, change-log-list-face)
20330 (change-log-conditionals-face, change-log-function-face)
20331 (change-log-acknowledgement-face):
20332 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20333 (custom-modified-face, custom-set-face, custom-changed-face)
20334 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20335 (custom-documentation-face, custom-state-face, custom-comment-face)
20336 (custom-comment-tag-face, custom-variable-tag-face)
20337 (custom-variable-button-face, custom-face-tag-face)
20338 (custom-group-tag-face-1, custom-group-tag-face):
20339 * diff-mode.el (diff-header-face, diff-file-header-face)
20340 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20341 (diff-added-face, diff-changed-face, diff-function-face)
20342 (diff-context-face, diff-nonexistent-face):
20343 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20344 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20345 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20346 (Info-title-4-face):
20347 * isearch.el (isearch-lazy-highlight-face):
20348 * log-view.el (log-view-file-face, log-view-message-face):
20349 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20350 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20351 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20353 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20354 (smerge-base-face, smerge-markers-face):
20355 * wid-edit.el (widget-documentation-face, widget-button-face)
20356 (widget-field-face, widget-single-line-field-face)
20357 (widget-inactive-face, widget-button-pressed-face):
20358 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20359 (woman-addition-face):
20360 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20361 (eshell-ls-executable-face, eshell-ls-readonly-face)
20362 (eshell-ls-unreadable-face, eshell-ls-special-face)
20363 (eshell-ls-missing-face, eshell-ls-archive-face)
20364 (eshell-ls-backup-face, eshell-ls-product-face)
20365 (eshell-ls-clutter-face):
20366 * eshell/em-prompt.el (eshell-prompt-face):
20367 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20368 * obsolete/old-whitespace.el (whitespace-highlight-face):
20369 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20370 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20371 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20372 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20373 (antlr-font-lock-literal-face):
20374 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20375 (ebrowse-root-class-face, ebrowse-file-name-face)
20376 (ebrowse-default-face, ebrowse-member-attribute-face)
20377 (ebrowse-member-class-face, ebrowse-progress-face):
20378 * progmodes/make-mode.el (makefile-space-face):
20379 * progmodes/sh-script.el (sh-heredoc-face):
20380 * textmodes/flyspell.el (flyspell-incorrect-face)
20381 (flyspell-duplicate-face):
20382 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20383 * textmodes/texinfo.el (texinfo-heading-face):
20384 Mark face aliases with "-face" suffix as obsolete.
20386 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20389 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20390 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20391 easy-menu-define wants to modify these.
20393 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20395 * net/browse-url.el (browse-url-file-url):
20396 * term/internal.el (dos-codepage-setup):
20397 Use default-value rather than default-enable-multibyte-characters.
20399 * progmodes/etags.el (etags-goto-tag-location):
20400 * progmodes/flymake.el (flymake-highlight-line)
20401 (flymake-goto-file-and-line, flymake-goto-line):
20402 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20403 (gdb-goto-breakpoint):
20404 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20405 * progmodes/python.el (python-find-function)
20406 (python-pdbtrack-track-stack-file):
20407 * progmodes/verilog-mode.el (verilog-surelint-off):
20408 * term/ns-win.el (ns-open-file-select-line):
20409 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20410 Use forward-line rather than goto-line.
20412 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20413 * textmodes/reftex-index.el (reftex-display-index):
20414 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20415 * textmodes/reftex-toc.el (reftex-toc):
20416 Remove unnecessary bindings of default-major-mode (all are followed by
20417 major-mode check and possible mode switch).
20419 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20421 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20422 Handle watchpoints (bug#4282).
20423 (def-gdb-thread-buffer-command): Enable thread to be selected by
20424 clicking without selecting threads buffer first.
20425 (gdb-current-context-command): Use selected frame so that "up",
20426 "down" etc work in the GUD buffer.
20427 (gdb-update): Find selected frame before rendering stack buffer.
20428 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20430 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20432 * progmodes/sym-comp.el (displayed-completions): Remove.
20433 (symbol-complete): Use minibuffer-complete.
20435 2009-08-31 Glenn Morris <rgm@gnu.org>
20437 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20439 * apropos.el (apropos-symbols-internal):
20440 Handle (obsolete) face aliases.
20442 * faces.el (describe-face): Adjust the output format to be more like
20443 describe-variable, and to mention (obsolete) face aliases.
20444 Adjust the whitespace so that help-setup-xref works.
20446 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20447 * calendar/diary-lib.el (diary-button-face):
20448 Mark these face aliases as obsolete.
20450 * calendar/calendar.el (calendar-today): Doc fix.
20452 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20454 * progmodes/gdb-mi.el (gdb-control-all-threads)
20455 (gdb-control-current-thread): Force tool bar update.
20456 (gdb-non-stop-handler): New function.
20457 (gdb-init-1): Use it to test if non-stop mode is supported.
20458 Remove unused gdbmi buffer type.
20460 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20462 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20463 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20465 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20467 * comint.el (comint-exec-1): Check command is non-null first.
20468 Part of gdb-mi.el change (2009-08-28).
20470 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20472 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20474 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20476 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20477 instead of `dolist' to avoid a recursive require when bootstrapping.
20479 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20481 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20483 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20485 * net/imap.el (imap-send-command): Simplify.
20486 (imap-wait-for-tag): point-max -> buffer-size.
20488 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20490 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20491 with constant argument.
20493 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20495 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20497 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20498 Change default, since most of our files don't have a history.
20499 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20502 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20505 * calc/calc.el: Improve commenting convention.
20506 (calc-digit-map, toplevel): Simplify.
20508 * comint.el (comint-insert-input): Be careful to only set point if we
20509 don't delegate to some other command.
20511 * proced.el (proced-signal-list): Make it an alist.
20512 (proced-grammar-alist): Capitalize names.
20513 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20514 Disable undo manually and make it read-only.
20515 Use completion-annotate-function.
20517 * minibuffer.el (minibuffer-message): If the current buffer is not
20518 a minibuffer, insert the message in the echo area rather than at the
20520 (completion-annotate-function): New variable.
20521 (minibuffer-completion-help): Use it.
20522 (completion--embedded-envvar-table): Environment vars are
20523 always case-sensitive.
20525 2009-08-30 Glenn Morris <rgm@gnu.org>
20527 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20528 from fortran-current-defun.
20529 (fortran-beginning-of-subprogram): Be more precise about finding the
20530 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20531 (fortran-end-of-subprogram): Simplify.
20532 (fortran-current-defun): Use fortran-start-prog-re.
20534 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20536 * subr.el (do-after-load-evaluation): Simplify.
20538 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20540 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20542 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20543 (vc-rcs-print-log): Use it.
20545 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20547 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20549 * paths.el (abbrev-file-name): Move to abbrev.el.
20550 * abbrev.el (abbrev-file-name): Move from paths.el.
20551 Obey user-emacs-directory.
20552 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20553 user-emacs-directory.
20554 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20555 abbrev-file-name and calc-settings-file any more.
20556 * startup.el (command-line): Recompute abbrev-file-name and
20557 abbreviated-home-dir.
20558 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20559 of the special code for when C-h bindings haven't been changed.
20560 (display-startup-echo-area-message): Use with-current-buffer.
20561 (command-line-1): Use a list of strings, rather than a list of lists
20562 of strings for longopts.
20564 * files.el (get-free-disk-space): Use / for default-directory.
20566 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20567 Use with-current-buffer.
20569 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20570 Recognize immutable variables like most-positive-fixnum.
20571 (byte-compile-setq-default): Check and warn if trying to assign
20572 to an immutable variable, or a non-variable.
20574 * progmodes/cc-vars.el (c-comment-continuation-stars):
20575 * progmodes/cc-engine.el (c-looking-at-bos):
20576 * progmodes/cc-cmds.el (c-toggle-auto-state)
20577 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20578 (c-comment-line-break-function): Add version of obsolescence.
20580 2009-08-28 Juri Linkov <juri@jurta.org>
20582 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20583 associated with `archive-mode'.
20585 * image.el (image-type-header-regexps): Use only JPEG magic number
20586 to determine JPEG images, and don't use `image-jpeg-p' because
20587 Emacs can display non-JFIF non-Exif JPEG images.
20589 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20591 * arc-mode.el (archive-mode):
20592 * emacs-lisp/re-builder.el (re-builder-unload-function):
20593 Protect against the default value of `major-mode' being nil.
20595 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20597 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20598 Fix typos in docstrings.
20600 * progmodes/js.el (js--macro-decl-re): Doc fix.
20601 (js--plain-method-re, js--split-name): Refloc docstring.
20602 (js--class-styles, js--make-merged-item, js--splice-into-items):
20603 Fix typos in docstrings; reflow docstrings.
20604 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20605 (js--variable-decl-matcher, js--inside-pitem-p)
20606 (js--parse-state-at-point, js--get-all-known-symbols)
20607 (js--symbol-history, js-find-symbol, js--js-references)
20608 (js--moz-interactor, js--js-encode-value, js--read-tab):
20609 Fix typos in docstrings.
20611 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20613 * textmodes/reftex.el (reftex-get-file-buffer-force):
20614 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20615 * emulation/viper.el (viper-go-away, viper-set-hooks):
20616 * emacs-lisp/re-builder.el (re-builder-unload-function):
20617 * emacs-lisp/bytecomp.el (byte-compile-file):
20618 * ses.el (ses-unload-function):
20619 * hexl.el (hexl-find-file):
20620 * files.el (normal-mode):
20621 * ehelp.el (with-electric-help):
20622 * autoinsert.el (auto-insert-alist):
20623 * arc-mode.el (archive-mode):
20624 Use (default-value 'major-mode) instead of default-major-mode.
20626 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20627 * international/mule.el (load-with-code-conversion):
20628 * emacs-lisp/debug.el (debug):
20629 * ediff-vers.el (ediff-rcs-get-output-buffer):
20630 * dired.el (dired-internal-noselect): Don't let-bind
20631 default-major-mode around code that doesn't use it.
20632 E.g. buffer creation via get-buffer-create doesn't use it.
20634 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20636 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20637 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20638 when writing the temp file. Otherwise, epa-file gets confused.
20639 (tramp-register-file-name-handlers): Make it a defun. Move also
20640 `epa-file-handler' to the front of `file-name-handler-alist'.
20642 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20644 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20645 start right after a ^M.
20646 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20647 (tramp-completion-file-name-regexp-separate)
20648 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20649 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20650 Don't modify last-coding-system-used by accident.
20651 (tramp-completion-file-name-handler): Apply the checks here,
20652 instead during registration.
20653 (tramp-register-file-name-handlers): Rename from
20654 `tramp-register-file-name-handler'. Register both
20655 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20656 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20658 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20660 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20661 Remove variable ...
20662 (gdb-init-1, gdb-display-separate-io-buffer)
20663 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20665 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20666 (gdb-inferior-filter): Use comint-output-filter to stop
20667 echoing and remove ^M characters.
20669 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20671 * emulation/viper-init.el (viper-restore-cursor-type):
20672 * emulation/cua-base.el (cua--update-indications):
20673 Replace default-cursor-type with (default-value 'cursor-type).
20675 * mail/sendmail.el (mail-recover-1):
20676 * international/mule-diag.el (describe-current-coding-system-briefly)
20677 (describe-current-coding-system):
20678 * international/mule-cmds.el (select-safe-coding-system)
20679 (select-message-coding-system)
20680 (set-language-environment-coding-systems, set-locale-environment):
20681 * hexl.el (hexl-insert-multibyte-char):
20682 * dos-w32.el (find-buffer-file-type-coding-system):
20683 * simple.el (what-cursor-position):
20684 Replace uses of default-buffer-file-coding-system
20685 with (default-value 'buffer-file-coding-system).
20687 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20688 Replace uses of default-cursor-in-non-selected-windows
20689 with (default-value 'cursor-in-non-selected-windows).
20690 Use with-current-buffer.
20692 * mail/feedmail.el: Use CL macros.
20693 (feedmail-run-the-queue, feedmail-send-it-immediately):
20694 * dos-w32.el (find-buffer-file-type): Replace uses of
20695 default-buffer-file-type with (default-value 'buffer-file-type).
20697 2009-08-28 Glenn Morris <rgm@gnu.org>
20699 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20700 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20701 Use default-value of major-mode rather than default-major-mode.
20703 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20705 * Makefile.in (update-elcfiles): Report left over elc files.
20707 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20708 expand-file-name and with-current-buffer.
20709 (mail-get-names, mail-directory): Use with-current-buffer.
20711 * vc.el (vc-read-revision): New function.
20712 (vc-version-diff, vc-merge): Use it.
20714 2009-08-27 Sam Steingold <sds@gnu.org>
20716 * simple.el (kill-do-not-save-duplicates): New user option.
20717 (kill-new): When it is non-nil, and the new string is the same as
20718 the latest kill, set replace to t to avoid duplicates in kill-ring.
20720 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20722 * net/tramp.el (tramp-handle-process-file): Do not flush all
20723 caches when `process-file-side-effects' is set.
20724 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20725 instead of `tramp-find-file-exists-command'.
20726 Unset `process-file-side-effects'.
20728 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20730 * net/tramp.el (tramp-methods): New method "rsyncc".
20731 (top): Add completion function for "rsyncc".
20732 (tramp-message-show-message): New defvar.
20733 (tramp-message, tramp-error): Use it.
20734 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20736 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20737 `tramp-methods' entry `copy-env' of "rsyncc".
20738 (tramp-vc-registered-read-file-names): New defconst.
20739 (tramp-vc-registered-file-names): New defvar.
20740 (tramp-handle-vc-registered): Implement optimization strategy.
20741 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20742 (tramp-vc-file-name-handler): New defun.
20743 (tramp-get-ls-command, tramp-get-test-command)
20744 (tramp-get-file-exists-command, tramp-get-remote-ln)
20745 (tramp-get-remote-perl, tramp-get-remote-stat)
20746 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20748 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20749 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20751 (tramp-get-file-property): Check for timestamps in
20752 `tramp-cache-inhibit-cache'.
20753 (tramp-set-file-property): Write timestamp.
20755 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20757 * language/japan-util.el (japanese-symbol-table): Add entries for
20760 * international/characters.el: Add category `j' to cp932-2-byte.
20762 2009-08-27 Kenichi Handa <handa@m17n.org>
20764 * international/fontset.el (build-default-fontset-data): New macro.
20765 (setup-default-fontset): Use build-default-fontset-data for CJK,
20766 tibetan, ethiopic, and ipa.
20768 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20770 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20771 (enable-multibyte-characters): Not customizable any more.
20773 * subr.el (default-mode-line-format, default-header-line-format)
20774 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20775 (default-direction-reversed, default-truncate-lines)
20776 (default-left-margin, default-tab-width, default-case-fold-search)
20777 (default-left-margin-width, default-right-margin-width)
20778 (default-left-fringe-width, default-right-fringe-width)
20779 (default-fringes-outside-margins, default-scroll-bar-width)
20780 (default-vertical-scroll-bar, default-indicate-empty-lines)
20781 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20782 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20783 (default-scroll-down-aggressively, default-fill-column)
20784 (default-cursor-type, default-buffer-file-type)
20785 (default-cursor-in-non-selected-windows)
20786 (default-buffer-file-coding-system, default-major-mode)
20787 (default-enable-multibyte-characters): Mark as obsolete.
20789 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20791 * vc-dir.el (vc-dir-update): Remove debug helper.
20793 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20795 2009-08-26 Sam Steingold <sds@gnu.org>
20797 * simple.el (save-interprogram-paste-before-kill): New user option.
20798 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20799 save the interprogram-paste into kill-ring before overriding it
20800 with the Emacs kill.
20802 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20804 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20805 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20806 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20807 and move to vc-rcs.el.
20808 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20810 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20811 (vc-rcs-update-changelog): Remove.
20812 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20813 and move to vc-rcs.el.
20815 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20816 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20818 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20819 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20820 vc.el, renamed to be RCS specific.
20822 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20824 (vc-cvs-update-changelog): Move here from vc.el.
20826 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20829 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20831 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20833 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20835 * vc-git.el (vc-git-register): Use "git add" for directories.
20836 (vc-git-stash, vc-git-stash-show): New functions.
20837 (vc-git-extra-menu-map): Bind them.
20839 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20840 directory correctly in case the item is a directory itself.
20842 * vc.el: Document the desired behavior for reverted files in the
20844 (vc-default-prettify-state-info): Remove function, unused.
20846 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20848 2009-08-26 Glenn Morris <rgm@gnu.org>
20850 * bindings.el (standard-mode-line-format): Reposition dashes in
20851 which-func entry. (Bug#4217)
20853 * files.el (enable-local-variables, enable-local-eval)
20854 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20856 (auto-mode-alist, ignored-local-variables)
20857 (save-some-buffers-action-alist): Move risky declarations to the
20859 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20860 (font-lock-defaults, format-alist, imenu--index-alist)
20861 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20862 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20863 (mode-line-modified, mode-line-mule-info, mode-line-position)
20864 (mode-line-process, mode-line-remote, outline-level)
20865 (parse-time-rules, rmail-output-file-alist)
20866 (special-display-buffer-names, vc-mode):
20867 Move risky declarations to the relevant files.
20868 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20869 (mode-line-modified, mode-line-process, mode-line-position)
20870 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20871 * font-core.el (font-lock-defaults):
20872 * format.el (format-alist):
20873 * vc-hooks.el (vc-mode):
20874 * window.el (special-display-buffer-names):
20875 * international/mule-cmds.el (input-method-alist):
20876 Define riskiness here (dumped file) rather than in files.el.
20877 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20878 * imenu.el (imenu-generic-expression, imenu--index-alist):
20879 * outline.el (outline-level):
20880 * time.el (display-time-string):
20881 * calendar/parse-time.el (parse-time-rules):
20882 * mail/rmailout.el (rmail-output-file-alist):
20883 Autoload riskiness here, rather than placing in files.el.
20885 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20887 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20889 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20891 * simple.el (process-file-side-effects): New defvar.
20893 * dired-aux.el (dired-show-file-type):
20894 * vc.el (vc-diff-internal):
20895 * vc-arch.el (vc-arch-diff):
20896 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20897 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20898 * vc-git.el (vc-git-registered, vc-git-working-revision)
20899 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20900 (vc-git--empty-db-p):
20901 * vc-hooks.el (vc-user-login-name):
20902 * vc-svn.el (vc-svn-registered, vc-svn-state)
20903 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20904 * progmodes/grep.el (grep-probe): Let-bind
20905 `process-file-side-effects' with nil.
20907 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20909 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20910 daemon. Replace ping by checking for running service for bluez
20911 and zeroconf. (Bug#4239)
20913 2009-08-25 Kevin Ryde <user42@zip.com.au>
20915 * net/dig.el (dig): Add autoload cookie.
20917 2009-08-25 Glenn Morris <rgm@gnu.org>
20919 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20920 load-history for absolute file-names.
20921 (byte-compile-file-form-require): Warn about use of the cl package.
20923 * format.el (format-alist): Doc fix.
20925 * play/bubbles.el (top-level): Don't require cl at run-time.
20927 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20930 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20932 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20934 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20936 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20938 * calc/calc-alg.el (math-trig-rewrite)
20939 (math-hyperbolic-trig-rewrite): New functions.
20940 (calc-simplify): Simplify trig functions when asked.
20942 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20944 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20946 2009-08-24 Kenichi Handa <handa@m17n.org>
20948 * language/ind-util.el (mapthread): Delete it.
20949 (combinatorial): New function.
20950 (indian--puthash-cv): Use combinatorial instead of mapthread.
20952 2009-08-22 Kevin Ryde <user42@zip.com.au>
20954 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20955 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20956 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20957 Clarify docstring that the value is strings not symbols.
20958 (checkdoc-list-of-strings-p): New function.
20960 2009-08-22 Glenn Morris <rgm@gnu.org>
20962 * files.el (auto-mode-alist):
20963 * hippie-exp.el (he-concat-directory-file-name):
20964 * lpr.el (lpr-windows-system, printer-name):
20965 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20966 * ps-print.el (ps-windows-system):
20967 * startup.el (command-line):
20968 * emulation/viper-ex.el (viper-glob-function):
20969 * international/mule-cmds.el (set-language-environment-coding-systems):
20970 * net/ange-ftp.el (ange-ftp-write-region):
20971 * obsolete/fast-lock.el (fast-lock-cache-name):
20972 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20973 unisoft-unix, vax-vms, win32, w32.
20975 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20976 given name if the pattern is not more specific.
20978 * calendar/lunar.el (lunar-phase-names): New option.
20979 (lunar-phase): Doc fix.
20980 (lunar-cycles-per-year): New constant.
20981 (lunar-index): New function.
20982 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20983 (lunar-phase-name): Use lunar-phase-names.
20984 (calendar-lunar-phases): Use format.
20985 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20987 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20988 Copy imenu-example--name-and-position function here for own use.
20989 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20991 * bs.el (bs--redisplay):
20992 * cus-edit.el (custom-redraw):
20993 * ibuffer.el (ibuffer-bury-buffer):
20994 * server.el (server-goto-line-column):
20995 * startup.el (command-line-1):
20996 * strokes.el (strokes-xpm-for-stroke):
20997 * term.el (term-display-buffer-line):
20998 * view.el (View-goto-line):
20999 * calc/calc.el (calc-do, calc-trail-buffer):
21000 * play/gamegrid.el (gamegrid-add-score-insecure):
21001 * progmodes/ada-mode.el (ada-compile-goto-error):
21002 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21003 (ebrowse-select-1st-to-9nth):
21004 * progmodes/cperl-mode.el (cperl-time-fontification):
21005 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21006 * progmodes/gud.el (gud-display-line):
21007 (idlwave-shell-display-line):
21008 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21009 * progmodes/make-mode.el (makefile-browser-toggle):
21010 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21011 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21012 * textmodes/picture.el (picture-draw-rectangle):
21013 * textmodes/reftex-index.el (reftex-index-goto-letter):
21014 (reftex-select-jump-to-previous):
21015 * textmodes/reftex-sel.el (reftex-find-start-point)
21016 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21017 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21018 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21019 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21020 * textmodes/two-column.el (2C-associated-buffer):
21021 Use forward-line rather than goto-line.
21023 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21026 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21027 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21028 (quick-check-list-to-regexp): Declare.
21030 * progmodes/make-mode.el (makefile-browser-insert-selection):
21031 Use goto-char rather than goto-line.
21033 * progmodes/prolog.el (compilation-error-regexp-alist)
21034 (compilation-forget-errors): Declare.
21036 2009-08-22 Juri Linkov <juri@jurta.org>
21038 * progmodes/grep.el (lgrep, rgrep): At the beginning
21039 set `dir' to `default-directory' unless `dir' is a non-nil
21040 readable directory. (Bug#4052)
21041 (lgrep, rgrep): Change a weird way to report an error
21042 from using `read-string' to using `error'.
21043 Instead of using interactive arguments in the function body,
21044 add new argument `confirm'.
21046 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21048 * textmodes/remember.el (remember-buffer):
21049 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21050 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21051 (icalendar-extract-ical-from-buffer):
21052 * net/newst-treeview.el (newsticker-groups-filename):
21053 * net/newst-backend.el (newsticker-cache-filename):
21054 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21055 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21056 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21057 (speedbar-buffers-line-path, speedbar-path-line)
21058 (speedbar-buffers-line-path):
21059 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21061 * epa.el (epa-display-verify-result):
21062 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21064 2009-08-21 Glenn Morris <rgm@gnu.org>
21066 * progmodes/js.el (inferior-moz-process): Fix declaration.
21068 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21070 * obsolete/rnewspost.el (news-mail-reply):
21071 Use goto-char rather than goto-line.
21073 * term/ns-win.el (ns-open-file-select-line):
21074 Use line-beginning-position rather than goto-line.
21076 * apropos.el (apropos-command):
21077 * ehelp.el (electric-helpify):
21078 * printing.el (pr-show-setup):
21079 * strokes.el (strokes-help):
21080 * tutorial.el (tutorial--describe-nonstandard-key)
21081 (tutorial--detailed-help):
21082 * woman.el (woman-mini-help, woman-display-extended-fonts):
21083 * calc/calc-help.el (calc-describe-key):
21084 * emulation/edt.el (edt-electric-helpify):
21085 * international/mule-diag.el (mule-diag):
21086 * play/yow.el (apropos-zippy):
21087 * progmodes/python.el (python-describe-symbol):
21088 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21089 * textmodes/table.el (*table--cell-describe-mode)
21090 (*table--cell-describe-bindings):
21091 Use help-print-return-message rather than the now obsolete alias.
21093 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21094 (calendar-cursor-to-visible-date):
21095 * play/5x5.el (5x5-position-cursor):
21096 * play/decipher.el (decipher):
21097 * play/gomoku.el (gomoku-goto-xy):
21098 * play/landmark.el (lm-goto-xy):
21099 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21100 (mpuz-paint-digit):
21101 Use forward-line, not goto-line.
21103 * mail/rmail.el (rmail-obsolete): Delete custom group.
21104 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21105 (rmail-remote-password, rmail-remote-password-required):
21106 Remove unneeded :set-after and :set properties.
21108 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21110 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21112 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21114 * loadup.el: Remove leftover macos code.
21116 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21117 Explicitly pass the date format to git blame so that user local
21118 so that the output format can be parsed.
21120 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21122 * net/dbus.el (top): Don't check for (getenv
21123 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21125 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21127 * log-edit.el (log-edit-strip-single-file-name): New var.
21128 (log-edit-insert-changelog): Use it. Bug#3571.
21130 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21132 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21135 * help.el (help-print-return-message): Rename from
21136 print-help-return-message.
21138 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21139 cvs-mode-map parent hack.
21140 (log-view-mode): Derive from special-mode.
21142 * linum.el (linum-mode): window-size-change-functions is redundant.
21143 Adapt to new window-configuration-change-hook behavior.
21144 (linum-after-size, linum-after-config): Remove.
21146 * imenu.el (imenu-example--name-and-position)
21147 (imenu-example--lisp-extract-index-name)
21148 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21151 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21152 (inferior-prolog-mode): Use it.
21153 (inferior-prolog-load-file): Reset list of errors.
21155 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21157 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21159 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21161 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21163 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21164 is running already.
21166 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21168 * subr.el (listify-key-sequence-1): Use normal syntax since those
21169 integers are nowadays always represented by the same (positive) number
21171 (read-key-empty-map): New const.
21172 (read-key-delay): New var.
21173 (read-key): New function.
21174 (force-mode-line-update): Use with-current-buffer.
21175 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21176 (start-process-shell-command, start-file-process-shell-command):
21177 Discourage the use of command-args.
21179 2009-08-19 Glenn Morris <rgm@gnu.org>
21181 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21183 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21185 * simple.el (choose-completion-string): Don't rely on
21186 minibuffer-completing-file-name and ad-hoc checks to decide whether
21187 to continue completion or not.
21189 * minibuffer.el (minibuffer-hide-completions): New function.
21190 (completion--do-completion): Use it.
21191 (completions-annotations): New face.
21192 (completion--insert-strings): Use it.
21193 (completion-pcm--delim-wild-regex): Add docstring.
21194 (completion-pcm--string->pattern): Add support for 0-width delimiters
21195 in completion-pcm--delim-wild-regex.
21197 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21199 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21200 Remove unused var `buffer-modified-p'.
21202 * minibuffer.el (completion--do-completion): Move point for the #b001
21203 case as well (bug#4176).
21204 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21206 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21208 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21209 and :session buses.
21211 2009-08-18 Kenichi Handa <handa@m17n.org>
21213 * international/ucs-normalize.el (ucs-normalize-version):
21215 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21216 (utf-8-hfs): Make it perform normalization on encoding too.
21218 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21219 (sentence-end-without-space): Delete duplicated chars.
21220 (sentence-end-base): Likewise.
21222 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21223 (html-mode): Delete duplicated chars from sentence-end-base.
21225 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21226 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21228 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21230 * files.el (hack-one-local-variable): If the mode function is for
21231 a minor mode, pass it an argument (Bug#4148).
21233 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21235 * net/tramp.el (tramp-register-completion-file-name-handler):
21236 Check also for (member 'partial-completion completion-styles).
21238 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21240 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21243 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21245 * progmodes/cperl-mode.el: Merge upstream 6.2.
21246 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21247 (cperl-forward-re): Check cperl-brace-recursing.
21248 (cperl-highlight-charclass): New function.
21249 (cperl-find-pods-heres): Use it.
21250 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21251 (cperl-beautify-regexp-piece): Fix column calculation.
21252 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21253 (cperl-beautify-level): Don't process entire regexp.
21254 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21256 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21257 (cperl-init-faces): Build a list in the normal way.
21259 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21261 * calendar/parse-time.el (parse-time-string-chars): Save match
21264 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21266 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21267 (sql-product): Use it.
21268 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21269 (sql-set-product): Add completion.
21270 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21271 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21272 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21273 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21274 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21275 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21276 (sql-highlight-db2-keywords): Remove.
21277 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21278 (sql-highlight-product): Use derived-mode-p.
21279 (sql-set-sqli-buffer): Use with-current-buffer.
21280 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21283 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21285 * term.el: Fix commenting convention, turn comments into docstrings.
21287 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21289 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21291 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21293 * calendar/parse-time.el (parse-time-string-chars): Compute using
21294 character classes, to handle non-ascii characters (Bug#3190).
21296 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21298 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21299 another heredoc if the user adds another < (Bug#3226).
21301 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21302 Don't initialize based on window-system (Bug#4124).
21304 * facemenu.el (facemenu-read-color): Use a completion function
21305 that accepts any defined color, such as RGB triplets (Bug#3677).
21307 * files.el (get-free-disk-space): Change fallback default
21308 directory to /. Expand DIR argument before switching to fallback.
21309 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21311 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21313 * files.el (load-library): Doc fix.
21315 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21317 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21318 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21319 incremental search string.
21321 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21324 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21325 (ediff-merge-region-is-non-clash)
21326 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21327 Also check if the job is really a merge job.
21329 * ediff.el (ediff-current-file): New function.
21331 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21333 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21335 (js-insert-and-indent): Delete function.
21336 (js-mode-map): Don't bind keys to js-insert-and-indent.
21337 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21338 (js-end-of-defun): Rename from js--end-of-defun.
21339 (js-auto-indent-flag): Delete variable.
21341 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21343 * progmodes/js.el: Remove proclaim statement.
21344 Defvar which-func-imenu-joiner-function to silence compiler.
21346 * files.el (auto-mode-alist): Use js-mode for .js files.
21348 * progmodes/js2-mode.el: Remove file.
21350 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21352 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21354 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21356 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21357 Karl Landstrom <karl.landstrom@brgeight.se>
21359 * progmodes/js.el: New file.
21361 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21363 * timezone.el (timezone-parse-date): Add ability to understand ISO
21364 basic format (minimal separators) dates in addition to the
21365 already-supported extended format dates.
21367 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21369 * international/ucs-normalize.el: Add a `coding' file variable.
21371 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21373 2009-08-14 Sam Steingold <sds@gnu.org>
21375 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21377 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21379 * faces.el (help-argument-name): Define it here instead of
21380 help-fns.el, because in daemon mode help-fns.el may be loaded when
21381 faces are still uninitialized (Bug#1078).
21383 * help-fns.el (help-argument-name): Move defface to faces.el.
21385 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21387 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21388 create buffer with a pty but no process so that GDB can make the
21389 inferior the controlling process.
21391 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21393 * international/ucs-normalize.el: New file.
21395 2009-08-13 Richard Stallman <rms@gnu.org>
21397 * mail/rmail.el (rmail-get-attr-names):
21398 Accept an attribute header that is too short.
21400 * mail/rmail.el (rmail-forget-messages):
21401 Ignore nil elt in rmail-message-vector. Use dotimes.
21403 * progmodes/compile.el (compilation-goto-locus):
21404 Use next-error-move-function.
21406 * simple.el (next-error-move-function): New variable.
21408 2009-08-12 Juri Linkov <juri@jurta.org>
21410 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21411 always non-nil. (Bug#4052)
21413 * replace.el (read-regexp): Return empty string when
21414 `default-value' is nil.
21415 (keep-lines-read-args): Don't use empty string as the
21416 default value for `read-regexp'. (Bug#2495)
21418 2009-08-12 Juri Linkov <juri@jurta.org>
21420 * international/mule-cmds.el (ucs-insert): Change arguments
21421 from `arg' to `character', `count', `inherit' to be the same
21422 as in `insert-char'. Doc fix. (Bug#4039)
21424 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21426 2009-08-12 Juri Linkov <juri@jurta.org>
21428 * files-x.el: New file.
21430 * files.el: Move code that deals with adding/deleting
21431 file/directory-local variables to files-x.el.
21433 * Makefile.in (ELCFILES): Add files-x.elc.
21435 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21437 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21438 to use `goto-line'.
21439 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21441 (gdb-invalidate-disassembly): Do not refresh upon receiving
21442 'update signal. Instead, update all disassembly buffers only after
21444 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21445 (gdb-starting): Move -data-list-register-names...
21446 (gdb-stopped): ...here so it's sent when first thread stops.
21447 (gdb-registers-handler-custom): Do nothing if register names are
21450 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21451 from `gdb-mi.el' to avoid extra tangling.
21453 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21454 change which breaks `gud-def' definitions used in `gdb'.
21455 (gdb-update-gud-running): No extra fuss for updating frame number.
21457 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21459 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21460 (describe-language-environment-map, setup-language-environment-map)
21461 (set-coding-system-map): Move initialization into declaration.
21462 (set-language-info-alist): Last arg to define-key-after can be skipped.
21464 * international/quail.el (quail-completion-1): Simplify.
21465 (quail-define-rules): Use slightly more compact code.
21466 (quail-insert-decode-map): Propertize keys, compact columns.
21468 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21471 2009-08-10 Miles Bader <miles@gnu.org>
21473 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21474 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21475 (js2-instance-member, js2-private-member, js2-private-function-call)
21476 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21477 (js2-magic-paren, js2-external-variable):
21478 Remove "-face" suffix from face names.
21479 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21480 (js2-highlight-undeclared-vars, js2-peek-token)
21481 (js2-parse-function-params, js2-mode-show-errors)
21482 (js2-mode-show-warnings, js2-make-magic-delimiter)
21483 (js2-mode-highlight-magic-parens): Update to use new face names.
21485 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21487 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21488 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21490 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21492 * subr.el: Provide hashtable-print-readable.
21494 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21495 hs-c-like-adjust-block-beginning.
21496 (hs-hide-block-at-point): Stop hiding at the beginning of
21497 hs-block-end-regexp (Bug#700).
21499 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21501 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21503 (gdb-registers-handler-custom): Do not fail when register names
21506 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21508 * progmodes/gdb-mi.el (gdb-control-all-threads)
21509 (gdb-control-current-thread): Interactive setters for
21510 `gdb-gud-control-all-threads' to use in menu.
21511 (gdb-show-run-p): Show «Go» when process is not active.
21512 (gud-tool-bar-map): Add non-stop/A,T indicator.
21513 Uses gud/thread.xpm and gud/all.xpm.
21515 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21517 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21518 (nslookup-font-lock-keywords): Make it a variable.
21519 (net-utils-mode): New mode for viewing diagnostic network output.
21520 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21521 (net-utils-run-simple): New function.
21522 (ifconfig, iwconfig, netstat, arp, route): Use it.
21524 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21526 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21527 (gdb-memory-set-address, def-gdb-set-positive-number)
21528 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21529 after changing settings.
21530 (gdb-invalidate-disassembly): Update when first shown.
21531 (gdb-edit-locals-value): Fix.
21532 (gdb-registers-handler-custom): Print registers in right order and
21533 allow changing register values (only for current thread yet).
21534 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21535 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21536 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21537 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21538 Thread info in mode name.
21539 (gdb-registers-mode-map): TAB to switch to locals.
21541 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21543 * mail/rmail.el (rmail-add-mbox-headers)
21544 (rmail-set-message-counters-counter): Search for
21545 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21547 2009-08-08 Glenn Morris <rgm@gnu.org>
21549 * Makefile.in (ELCFILES): Update.
21551 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21553 * mail/sendmail.el (mail-yank-original):
21554 Set buffer-file-coding-system from the one used by the message whose
21557 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21558 to "windows" when "pgnuplot" is used.
21559 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21560 Don't call accept-process-output if "pgnuplot" is used.
21561 (calc-graph-init): Don't send -display and -geometry to
21562 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21563 running "pgnuplot -V" with shell-command-to-string.
21565 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21568 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21570 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21573 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21575 * vc-dispatcher.el (vc-resynch-window): Update comment.
21577 * term.el (term-handle-ansi-escape): Add comments with the
21578 terminfo capabilities implemented.
21580 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21582 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21583 (gdb-var-create-handler): Rewritten using JSON parser.
21584 (gdb-propertize-header): Move earlier.
21585 (gdb-set-header): Remove to avoid duplication.
21586 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21587 Refresh disassembly buffers only after threads list have been
21589 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21592 2009-08-04 Juri Linkov <juri@jurta.org>
21594 * files.el: Commands to add/delete file/directory-local variables.
21595 (read-file-local-variable, read-file-local-variable-value)
21596 (read-file-local-variable-mode, modify-file-local-variable)
21597 (modify-file-local-variable-prop-line)
21598 (modify-dir-local-variable): New functions.
21599 (add-file-local-variable, delete-file-local-variable)
21600 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21601 (add-dir-local-variable, delete-dir-local-variable)
21602 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21603 (copy-dir-locals-to-file-locals-prop-line): New commands.
21605 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21607 * abbrev.el (insert-abbrev-table-description): Prettify output.
21608 Suggested by Karl Chen.
21610 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21612 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21613 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21614 (gdb-overlay-arrow-position, gdb-thread-position)
21615 (gdb-disassembly-position): Declare variables.
21616 (gdb-wait-for-pending): Function now.
21617 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21618 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21619 compilation goes smoothly.
21620 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21621 (gdb-non-stop-setting): New customization setting which replaces
21622 `gdb-non-stop' so changing it doesn't break active GDB session.
21623 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21624 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21625 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21626 (gdb-show-threads-by-default): New customization options.
21627 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21629 (gdb-get-buffer-create): Send buffers update signal when they are
21631 (gdb-invalidate-locals, gdb-invalidate-registers)
21632 (gdb-invalidate-breakpoints)
21633 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21634 (gdb-invalidate-memory): Accept update signal.
21635 (gdb-current-context-command): Use --frame option.
21636 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21637 Implement `gdb-frame-number' selection logic.
21638 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21639 whether to show GUD toolbar buttons.
21640 (gdb-thread-exited): Unselect current thread when it exits.
21641 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21642 (gdb-mark-line): Routine which sets overlay arrow or inverses
21643 video on fringeless displays.
21644 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21645 to build aligned columns of data in GDB buffers and set text
21646 properties line-by-line.
21647 (gdb-invalidate-breakpoints)
21648 (gdb-breakpoints-list-handler-custom)
21649 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21650 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21651 (gdb-registers-handler-custom): Align data columns.
21652 (gdb-locals-handler-custom): Now prints data like in variable
21654 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21655 Remove confusing buttons.
21656 (gdb-invalidate-threads): Append --frame.
21657 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21658 between breakpoints/threads buffers.
21659 (gdb-set-window-buffer): Now can ignore dedicated windows.
21660 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21661 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21662 (def-gdb-thread-buffer-gud-command): Replaces
21663 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21664 for fine thread control.
21665 (gdb-preempt-existing-or-display-buffer): New function used to
21666 display bound buffers without breaking window layout.
21667 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21668 (gdb-select-frame): New version of `gdb-frames-select' which now
21669 sets `gdb-frame-number' so commands may use --frame option instead
21670 of inner debugger state.
21671 (gdb-frame-handler): Do not set `gdb-frame-number'.
21672 (gdb-threads-mode-map): Select threads with mouse.
21674 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21675 avoid compilation warning.
21676 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21679 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21680 Argument `key' renamed to `buffer-type'.
21681 (gdb-current-context-buffer-name): Do not add thread info to
21682 buffer name when no thread is selected.
21683 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21684 command (bug 3794).
21685 (gdb-thread-selected): Handle `=thread-selected' notification.
21686 (gdb-wait-for-pending): New macro to deal with congestion problems.
21687 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21689 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21690 This fixes problem similar to one described in bug 3947.
21691 (gud-menu-map): More menu items.
21692 (gdb-init-1): Reset `gdb-thread-number' to nil.
21694 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21697 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21698 (gdb-current-context-command): Do not append --thread if
21699 `gdb-thread-number' is nil.
21700 (gdb-running-threads-count, gdb-stopped-threads-count):
21702 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21703 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21704 New customization options.
21705 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21707 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21708 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21709 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21710 set `gdb-thread-number' and update `gud-running' properly.
21711 (gdb-running): Update threads list when new threads appear.
21712 (gdb-stopped): Support non-stop operation and new thread switching
21714 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21715 (gdb-json-partial-output): New set of JSON routines.
21716 (def-gdb-auto-update-trigger): New `signal-list' optional
21718 (gdb-thread-list-handler-custom): Update `gud-running',
21719 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21720 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21721 (gdb-continue-thread, gdb-step-thread): New commands for fine
21722 thread execution control.
21723 (gud-menu-map): New menu items to switch non-stop options.
21724 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21725 (gdb-send): Mimic RET properly (bug 3794).
21727 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21728 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21730 (def-gdb-auto-update-handler): New nopreserve optional argument.
21731 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21733 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21734 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21735 (gdb-parent-mode): New mode to derive other GDB modes from.
21736 (gdb-display-disassembly-for-thread)
21737 (gdb-frame-disassembly-for-thread): New commands for threads
21740 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21741 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21742 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21743 (gdb-update): We now store all GDB buffers in a list so that they
21744 can be updated by traversing a list instead of calling invalidate
21745 triggers explicitly.
21746 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21747 pair for GDB buffer.
21748 (gdb-stack-buffer-name): Add thread information.
21749 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21750 handle pending triggers.
21751 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21752 (def-gdb-thread-buffer-simple-command)
21753 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21754 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21755 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21756 New commands which show buffers bound to thread.
21757 (gdb-stack-list-locals-regexp): Remove unused regexp.
21759 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21760 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21761 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21762 to (gud-comint-buffer) in *-buffer-name functions
21763 because (gdb-get-target-string) already does that.
21764 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21765 (gdb-changed-registers-handler): Rewritten without regexps.
21767 * progmodes/gdb-mi.el: Basic thread selection support.
21768 (gdb-thread-number): New variable.
21769 (gdb-current-context-command): New macro which adds --thread
21771 (gdb-threads-mode-map): Select thread with SPC.
21772 (gdb-thread-list-handler-custom): Mark current thread with overlay
21773 arrow. Synchronize GDB thread and Emacs thread.
21774 (gdb-select-thread): New command which selects current thread.
21775 (gdb-invalidate-frames, gdb-invalidate-locals)
21776 (gdb-invalidate-registers): Use --thread option.
21778 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21780 * net/tramp.el (top): Make check for tramp-gvfs loading more
21782 (tramp-handle-insert-file-contents): `unwind-protect' must be
21783 inside `with-parsed-tramp-file-name'.
21785 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21788 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21790 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21791 directory if CLASSPATH is not set.
21793 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21795 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21797 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21799 2009-08-02 Kevin Ryde <user42@zip.com.au>
21801 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21802 Update freshmeat link. Delete newsforge.com as it seems gone.
21804 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21806 * select.el (x-set-selection): Doc fix (Bug#4021).
21808 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21810 * help-fns.el (describe-variable): Treat list return values from
21811 dir-locals-find-file properly (Bug#4005).
21813 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21815 * net/tramp.el (tramp-debug-message): Print also microseconds.
21817 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21819 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21821 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21822 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21825 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21826 (tramp-get-file-property): Use it.
21828 * autorevert.el (auto-revert-handler):
21829 Allow `auto-revert-tail-mode' for remote files.
21831 2009-08-02 Jason Rumney <jasonr@gnu.org>
21833 * minibuffer.el (read-file-name): Treat confirm options to
21834 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21836 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21838 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21839 (font-lock-variable-name-face, font-lock-constant-face):
21840 Darken the colors for light backgrounds.
21842 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21844 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21845 month names. (Bug#3987)
21847 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21849 * simple.el (line-move-finish): Pass whole number to
21850 line-move-to-column.
21851 (line-move-visual): Perform hscroll to the recorded position.
21853 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21855 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21857 2009-07-29 Alan Mackenzie <acm@muc.de>
21859 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21861 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21863 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21864 (gdb-place-breakpoints): Use full path when setting breakpoints.
21866 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21868 * calc/calc.el (calc-mode-map): Add keybinding for
21869 `calc-transpose-lines'.
21871 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21873 * calc/calc-misc.el (calc-transpose-lines): New function.
21875 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21877 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21878 Simplify check for out-of-band methods.
21879 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21880 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21882 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21884 * vc-git.el (vc-git-checkin): Fix typo.
21886 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21888 * progmodes/js2-mode.el: New file.
21890 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21892 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21893 (gud-menu-map): Adjust tooltip accordingly.
21895 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21897 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21898 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21900 * add-log.el (change-log-mode-map): Add a menu.
21902 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21904 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21905 function returns nil.
21906 (dbus-handle-event): Handle special return value :ignore.
21907 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21909 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21911 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21914 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21918 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21920 * term/pc-win.el (x-display-name, x-colors)
21921 (x-select-enable-clipboard, x-select-text): Doc fix.
21923 * term/common-win.el (x-display-name, x-colors): Doc fix.
21925 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21926 (xw-defined-colors): Doc fix.
21928 * w32-fns.el (x-select-text, x-setup-function-keys)
21929 (x-get-selection, x-set-selection): Doc fix.
21931 * term/x-win.el (x-select-text, x-setup-function-keys)
21932 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21934 * select.el (x-set-selection): Doc fix.
21936 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21938 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21939 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21940 "IsNSSSupportAvailable" method is not available.
21941 Reported by Steve Youngs <steve@sxemacs.org>.
21943 2009-07-24 Kenichi Handa <handa@m17n.org>
21945 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21946 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21947 (build-unicode-category-table): Fix range checks.
21949 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21951 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21952 the buffer we try to sync is current when calling
21955 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21956 not show up to date files.
21958 2009-07-24 Glenn Morris <rgm@gnu.org>
21960 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21961 Add autoload cookies. If necessary, initialize.
21962 (elint-log): Handle non-file buffers.
21963 (elint-initialize): Add optional argument to reinitialize.
21964 (elint-find-builtin-variables): Save excursion.
21966 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21968 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21971 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21973 * vc.el (vc-print-log-internal): New function, split out from ...
21974 (vc-print-log): ... here.
21975 (vc-dir-move-to-goal-column): Declare.
21977 * vc-git.el (vc-git-add-signoff): New variable.
21978 (vc-git-checkin): Use it.
21979 (vc-git-toggle-signoff): New function.
21980 (vc-git-extra-menu-map): Bind it to menu.
21981 (vc-git--run-command-string): Accept a nil FILE argument.
21982 (vc-git-stash-list): New function.
21983 (vc-git-dir-extra-headers): Use it.
21985 2009-07-23 Glenn Morris <rgm@gnu.org>
21987 * help-fns.el (describe-variable): Describe ignored and risky local
21988 variables in a similar way to that in which we describe safe ones.
21990 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21991 (byte-compile-output-file-form, byte-compile-output-docform)
21992 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21993 Give some more local variables with common names a "bytecomp-" prefix,
21994 so as not to shadow things during compilation.
21995 * emacs-lisp/cl-macs.el (load-time-value)
21996 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21997 `outbuffer' to `bytecomp-outbuffer'.
21999 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22000 since the next two variables cover them automatically now.
22001 (elint-builtin-variables, elint-autoloaded-variables): New.
22002 (elint-unknown-builtin-args): Remove all members, since they can be
22003 parsed automatically now.
22004 (elint-extra-errors): New.
22005 (elint-env-add-env, elint-env-add-macro): Use cadr.
22006 (elint-current-buffer): Use or. Change final message.
22007 (elint-get-top-forms): Use line-end-position.
22008 (elint-init-env): Use cadr. Handle autoload, declare-function,
22010 (elint-add-required-env): Doc fix. Use or. Standardize error.
22011 (regexp-assoc): Remove unused function.
22012 (elint-top-form): Set elint-current-pos, to record the start of the
22013 top-level form, for compilation-mode.
22014 (elint-form): Trap errors in macro expansion. Use dolist.
22015 (elint-unbound-variable): Use elint-builtin-variables and
22016 elint-autoloaded-variables.
22017 (elint-get-args): Use cadr, or.
22018 (elint-check-cond-form): Use dolist, cadr.
22019 (elint-check-condition-case-form): Doc fix. Use cadr.
22020 Use elint-extra-errors.
22021 (elint-log): New function.
22022 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22023 Distinguish errors and warnings.
22024 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22025 Use a bytecomp-style format.
22026 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22027 (elint-get-log-buffer): Use compilation mode. Disable undo.
22028 Don't truncate lines.
22029 (elint-initialize): Set builtin and autoloaded variable lists.
22030 Only process elint-unknown-builtin-args if non-nil.
22031 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22033 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22035 2009-07-22 Kevin Ryde <user42@zip.com.au>
22037 * net/newst-backend.el (newsticker--parse-atom-1.0)
22038 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22039 (newsticker--parse-rss-1.0):
22040 * progmodes/idlwave.el (idlwave-mode):
22041 * progmodes/idlw-shell.el (idlwave-shell-mode):
22042 * progmodes/vera-mode.el (vera-mode):
22043 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22044 * progmodes/vhdl-mode.el (vhdl-mode):
22045 * textmodes/table.el (table-generate-source)
22046 (table--warn-incompatibility):
22047 Hyperlink urls in docstrings with URL `...'.
22049 2009-07-22 Glenn Morris <rgm@gnu.org>
22051 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22052 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22053 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22054 Remove leading * from defcustom docs.
22056 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22058 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22060 (list-load-path-shadows): Optionally, just return shadows as a string.
22062 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22064 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22066 * mail/rmailedit.el (rmail-edit-mode):
22067 Use auto-save-include-big-deletions.
22069 * mail/rmail.el (rmail-variables):
22070 Use auto-save-include-big-deletions.
22072 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22075 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22077 * calc/calc.el (calc-undo-length): New variable.
22078 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22080 2009-07-21 Richard Stallman <rms@gnu.org>
22082 * files.el (auto-save-mode): Handle buffer-save-size = -2
22085 2009-07-21 Glenn Morris <rgm@gnu.org>
22087 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22089 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22091 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22092 silence compiler. Instead...
22093 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22094 (ps-print-ensure-fontified): Update for above function name changes.
22096 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22097 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22098 silence compiler. Instead...
22099 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22100 (mh-show-buffer): Only define for compiler.
22101 (pr-mh-current-message): Update for above function name changes.
22103 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22105 (find-file-noselect, insert-file-1): Update for above change.
22107 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22109 * mail/mailclient.el (mailclient-send-it): Fix message.
22111 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22112 (edebug-eval): Check cl-debug-env is bound.
22113 (print-level, print-circle): Don't redefine built-in variables.
22115 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22116 (custom-print-vectors): Remove old comments from doc.
22118 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22119 (emerge-version): Make the variable an obsolete alias for the
22120 emacs-version variable. Make the function obsolete.
22121 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22122 Emerge options, rather than merging in into the main Options menu.
22123 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22124 and auto advance modes. Disable edit/fast items when not relevant.
22126 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22128 * term/vt420.el (terminal-init-vt420): Fix typo.
22130 2009-07-20 Sam Steingold <sds@gnu.org>
22132 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22133 variable (removed from compile.el on 2004-03-11).
22135 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22137 * files.el (hack-local-variables-filter): Fix last change.
22139 2009-07-19 Juri Linkov <juri@jurta.org>
22141 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22142 (dir-local-variables-alist): New buffer-local variable.
22143 (hack-local-variables-filter): If variable is not dir-local,
22144 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22145 because file-local overrides dir-local.
22146 (c-postprocess-file-styles) <declare-function>:
22147 Remove obsolete declaration.
22148 (hack-dir-local-variables): Add dir-local variable/value pair to
22149 `dir-local-variables-alist' and remove duplicates. Doc fix.
22151 * help-fns.el (describe-variable): Add information about
22152 file-local and dir-local variables.
22154 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22156 * files.el (hack-local-variables-filter): Rewrite.
22158 2009-07-19 Glenn Morris <rgm@gnu.org>
22160 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22161 Silence compiler by only defining on XEmacs.
22163 * international/mule.el (auto-coding-regexp-alist): Only match
22164 BABYL... at the start of buffer, not of lines. (Bug#3790)
22166 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22167 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22168 (cal-menu-context-mouse-menu): Doc fix.
22170 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22172 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22174 2009-07-18 Juri Linkov <juri@jurta.org>
22176 * info.el: Virtual Info keyword finder.
22177 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22178 (Info-finder-file): New variable.
22179 (Info-finder-find-file): New function.
22180 (finder-known-keywords, finder-package-info)
22181 (find-library-name, lm-commentary): Use defvar and
22182 declare-function to silence compiler warnings.
22183 (Info-finder-find-node): New function.
22184 (info-finder): New command.
22186 * subr.el (process-kill-buffer-query-function): New function.
22187 (add-hook)<kill-buffer-query-functions>: Add hook
22188 `process-kill-buffer-query-function'.
22190 2009-07-18 Alan Mackenzie <acm@muc.de>
22192 * progmodes/cc-mode.el (c-before-hack-hook)
22193 (c-postprocess-file-styles): Give invocation of `c-set-style'
22194 DONT-OVERRIDE parameter of t. Already set style variables will
22195 thus not be overridden by style settings given by `c-file-syle'.
22197 * files.el (hack-local-variables-filter): Remove entries with
22198 duplicate keys from `file-local-variables-alist'.
22200 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22202 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22203 x-set-selection if display-selections-p returns nil for the
22206 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22208 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22210 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22212 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22213 Accept nil in addition to a regexp.
22214 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22215 Accept nil in addition to a regexp.
22216 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22217 buffers that have an associated file. Handle nil values of
22218 desktop-buffers-not-to-save and desktop-files-not-to-save.
22221 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22222 (x-disown-selection-internal): New functions.
22224 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22226 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22228 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22229 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22231 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22233 * simple.el (set-mark): Revert last change.
22235 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22237 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22238 rendering of pngs is not possible instead of messaging a long
22241 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22243 * w32-fns.el (x-selection-owner-p): New function.
22245 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22246 (mouse-yank-at-click, mouse-yank-primary):
22247 If select-active-regions is non-nil, deactivate the mark before
22250 * simple.el (deactivate-mark, set-mark): Only save selection if we
22253 2009-07-17 Kenichi Handa <handa@m17n.org>
22255 * case-table.el (describe-buffer-case-table): Fix for the case
22256 that KEY is a cons.
22258 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22260 * vc-rcs.el (vc-rcs-find-file-hook):
22261 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22263 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22265 * net/tramp.el (tramp-wait-for-output): Handle the case when
22266 commands do not return a newline but a null byte before the shell
22269 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22271 * term/ns-win.el (ns-set-alpha): Don't declare.
22272 (ns-set-background-alpha): Remove function.
22274 2009-07-16 Kevin Ryde <user42@zip.com.au>
22276 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22277 y-or-n-p, for safety.
22279 2009-07-16 Richard Stallman <rms@gnu.org>
22281 * files.el (auto-save-mode): If buffer-saved-size is -2,
22284 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22285 (rmail-retry-ignored-headers): Add more uninteresting fields.
22287 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22289 * net/rcirc.el (rcirc): Use history variables.
22290 (rcirc-server-name-history, rcirc-nick-name-history)
22291 (rcirc-server-port-history): New variables.
22293 2009-07-15 Kenichi Handa <handa@m17n.org>
22295 * international/mule-cmds.el (set-language-environment-charset):
22296 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22299 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22300 Delete unibyte-display.
22302 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22304 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22306 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22308 * simple.el (deactivate-mark): Optional argument FORCE.
22309 (set-mark): Use deactivate-mark.
22311 * info.el (Info-search): No need to check transient-mark-mode
22312 before calling deactivate-mark.
22314 * select.el (x-set-selection): Doc fix.
22315 (x-valid-simple-selection-p): Allow buffer values.
22316 (xselect--selection-bounds): Handle buffer values.
22317 Suggested by David De La Harpe Golden.
22319 * mouse.el (mouse-set-region, mouse-drag-track):
22320 Call copy-region-as-kill before setting the mark, to let
22321 select-active-regions work.
22323 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22325 * simple.el (deactivate-mark): If select-active-regions is
22326 non-nil, copy the selection data into a string.
22327 (activate-mark): If select-active-regions is non-nil, set the
22328 selection to the current buffer.
22329 (set-mark): Update selection if select-active-regions is non-nil.
22331 * select.el (x-valid-simple-selection-p): Allow buffer values.
22333 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22335 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22336 and more featureful message-mode.
22338 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22340 * select.el (x-set-selection): Doc fix.
22341 (x-valid-simple-selection-p): Disallow selection data consisting
22342 of a list or cons of integers, since that is not used.
22343 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22344 (xselect-convert-to-string, xselect-convert-to-length)
22345 (xselect-convert-to-filename, xselect-convert-to-charpos)
22346 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22348 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22350 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22351 output in -break-info command (Emacs bug #3794).
22353 2009-07-14 Glenn Morris <rgm@gnu.org>
22355 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22356 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22357 (edebug-print-length, edebug-print-level, edebug-print-circle)
22358 (edebug-sit-for-seconds, edebug-view-outside)
22359 (edebug-bounce-point, edebug-set-global-break-condition)
22360 (edebug-Go-nonstop-mode, edebug-trace-mode)
22361 (edebug-Trace-fast-mode, edebug-continue-mode)
22362 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22363 (edebug-visit-eval-list): Doc fixes.
22365 * subr.el (def-edebug-spec): Doc fix.
22367 2009-07-14 Kenichi Handa <handa@m17n.org>
22369 * international/characters.el: Fix setting of category ?C.
22371 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22373 * term/ns-win.el (x-select-font): defalias x-select-font to
22374 ns-popup-font-panel instead of generate-fontset-menu.
22376 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22378 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22380 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22382 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22383 the PK\003\004 header (Bug#3770).
22385 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22387 * pcomplete.el (pcomplete-comint-setup): Check for
22388 shell-dynamic-complete-filename too.
22390 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22392 * simple.el (temporary-goal-column): Change the value for
22393 line-move-visual to a cons cell.
22394 (line-move-visual): Record or set the window hscroll, if
22395 necessary (Bug#3494).
22396 (line-move-1): Handle cons value of temporary-goal-column.
22398 2009-07-11 Kenichi Handa <handa@m17n.org>
22400 * international/mule-diag.el (describe-character-set): Don't show
22403 2009-07-10 Sam Steingold <sds@gnu.org>
22405 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22406 Omake sometimes indents the errors it prints, so allow all
22407 regexps to start with spaces.
22409 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22411 * cus-edit.el (customize-changed-options-previous-release):
22412 Bump value to 22.1. (Bug#3804)
22414 2009-07-08 Sam Steingold <sds@gnu.org>
22416 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22417 to be a cons cell (test . ignored-directory) to selectively ignore
22418 some directories depending on the location of the search.
22420 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22422 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22423 remote user is root, on the local host.
22424 (tramp-local-host-p): Either the local user or the remote user
22425 must be root. (Bug#3771)
22427 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22429 * progmodes/gdb-mi.el (gdb): Remove description of
22430 gdb-use-separate-io-buffer.
22431 (menu): Don't allow toggling of or enable
22432 gdb-use-separate-io-buffer from menubar.
22434 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22436 * mail/unrmail.el (unrmail): Make sure the message ends with two
22437 newlines (Bug#3769).
22439 2009-07-08 Glenn Morris <rgm@gnu.org>
22441 * calendar/calendar.el (calendar-current-date): Rework previous change.
22443 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22445 * calendar/calendar.el (calendar-current-date):
22446 Add an optional argument giving an offset from today.
22448 2009-07-08 Glenn Morris <rgm@gnu.org>
22450 * tutorial.el (tutorial--describe-nonstandard-key):
22451 Adjust the message for when a key has been unbound.
22452 (help-with-tutorial): Hide the arch-tag.
22454 2009-07-08 Kenichi Handa <handa@m17n.org>
22456 * international/fontset.el (setup-default-fontset): For each
22457 script, append (not set) font-specs.
22459 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22462 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22464 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22465 -data-list-register-names to ...
22466 (gdb-starting): ... here because GDB 7.0 requires execution to
22467 have started when using this MI command.
22468 (gdb-set-header): New function to distinguish select and
22469 unselected tabs in gdb buffers.
22470 (gdb-propertize-header): New macro that uses gdb-set-header.
22471 (gdb-breakpoints-header, gdb-locals-header): Use it.
22472 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22474 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22476 * Makefile.in (ELCFILES): Remove fadr.elc.
22478 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22480 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22481 may contain frame information, so `string-match' should be used.
22482 (gdb-update): Disassembly is invalidated through
22483 `gdb-get-selected-frame'.
22484 (gdb-pad-string): New function to pad string with spaces.
22485 (gdb-invalidate-disassembly): Invalidate only if the buffer
22487 (gdb-disassembly-handler-custom): Column alignment.
22488 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22490 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22492 (gdb-frame-handler): Match convention to for disassembly buffer
22494 (gdb-stack-list-frames-handler): Rewritten without regexps.
22495 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22496 not highlight breakpoints without line information.
22497 (gdb-input): Add trailing newline to command.
22499 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22501 (gdb-breakpoints-list-handler-custom): Replacement for
22502 `gdb-break-list-handler'. Using real parser instead of regexps
22504 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22505 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22506 to place breakpoints.
22507 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22509 (gdb-disassembly-handler-custom): Show overlay arrow.
22510 (gdb-disassembly-place-breakpoints): Show breakpoints in
22511 disassembly buffer.
22512 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22513 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22514 instead of parsing breakpoints buffer. Fixed old menu references
22519 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22520 (gdb-memory-address): New variable which holds top address of
22521 memory page shown in memory buffer.
22522 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22523 New customization variables.
22525 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22526 display the memory buffer.
22527 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22528 buffer display parameters.
22529 (def-gdb-memory-format, gdb-memory-format-binary)
22530 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22531 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22532 Functions for setting memory buffer format.
22533 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22534 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22535 unit size used in memory buffer.
22536 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22537 Switch to next/previous page of memory buffer.
22538 Now using (bindat-get-field) instead of fadr functions.
22540 2009-07-07 Sam Steingold <sds@gnu.org>
22542 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22543 non-top-level files.
22545 2009-07-07 Kenichi Handa <handa@m17n.org>
22547 * international/mule-cmds.el (reset-language-environment):
22548 Put the highset priority to the charset iso-8859-1.
22550 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22552 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22553 to the end of the line when locating the block (Bug#700).
22555 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22557 * net/tramp.el (tramp-handle-write-region): Flush file properties
22558 in case of short track.
22560 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22562 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22563 Coded custom representation of verilog error regular expressions
22564 to work with Emacs-22's new format.
22565 (verilog-error-regexp-xemacs-alist): Coded custom representation
22566 of verilog error regular expressions to work with XEmacs format.
22567 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22568 error recognition into XEmacs.
22569 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22570 error recognition into Emacs-22.
22572 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22574 * woman.el: Remove stand-alone closing parentheses.
22575 (woman-file-name, woman2-format-paragraphs)
22576 (woman-leave-blank-lines): Code cleanup.
22577 (woman-use-own-frame): Change default to nil.
22578 (woman-italic, woman-bold, woman-unknown, woman-addition):
22579 Change defaults to inherit from default faces.
22580 (woman2-process-escapes): Consume the newline after a stand-alone
22581 filler character (Bug#3651).
22583 2009-07-06 Glenn Morris <rgm@gnu.org>
22585 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22586 (top-level): Move provide to the end.
22587 (ffap): Remove defunct URL from custom group.
22589 * subr.el (eval-after-load): Doc fix.
22591 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22593 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22594 `calc-embedded-word' is called twice.
22596 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22598 * files.el (find-alternate-file-other-window, find-alternate-file):
22599 Obey confirm-nonexistent-file-or-buffer.
22601 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22603 * dired-aux.el (dired-show-file-type): Handle remote files.
22605 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22607 * desktop.el (desktop-globals-to-save):
22608 Add file-name-history (Bug#2750).
22610 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22612 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22614 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22616 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22617 property on entire argument since this is what eshell-lisp-command
22620 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22622 * net/tramp-gvfs.el (tramp-gvfs-methods)
22623 (tramp-gvfs-zeroconf-domain)
22624 (tramp-bluez-discover-devices-timeout): Add version flag.
22625 (tramp-gvfs-handler-mounted-unmounted)
22626 (tramp-gvfs-connection-mounted-p): Polish handling of
22627 incompatibilities between GVFS 0.2 and 1.0.
22629 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22631 * cus-start.el (all): Add make-pointer-invisible.
22633 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22635 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22636 formatted correctly.
22638 2009-07-02 Juri Linkov <juri@jurta.org>
22640 * info.el: Virtual Info files and nodes.
22641 (Info-virtual-files, Info-virtual-nodes): New variables.
22642 (Info-current-node-virtual): New variable.
22643 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22645 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22646 to check for a virtual file instead of checking a fixed list
22648 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22649 instead of ad-hoc processing of "dir" and (apropos history toc).
22650 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22651 instead of ad-hoc processing of "dir" and (apropos history toc).
22652 Reread a file when moving from a virtual node.
22653 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22654 (Info-directory-toc-nodes, Info-directory-find-file)
22655 (Info-directory-find-node): New functions.
22656 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22657 (Info-history): Move part of code to
22658 `Info-history-find-node'.
22659 (Info-history-toc-nodes, Info-history-find-file)
22660 (Info-history-find-node): New functions.
22661 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22662 (Info-toc): Move part of code to `Info-toc-find-node'.
22663 (Info-toc-find-node): New function.
22664 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22665 the current Info file name to references because now the node
22666 "*TOC*" belongs to the same Info manual.
22667 (Info-toc-build): Rename from `Info-build-toc'.
22668 (Info-toc-nodes): Rename input argument `file' to `filename'.
22669 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22670 instead of ad-hoc processing of ("dir" apropos history toc).
22671 (Info-index-nodes): Use Info-virtual-file-p
22672 to check for a virtual file instead of checking a fixed list
22674 (Info-index-node): Add check for `Info-current-node-virtual'.
22675 Raise `save-match-data' higher up the tree to contain
22676 `search-forward' too (bug fix).
22677 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22678 (Info-virtual-index-nodes): New variable.
22679 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22680 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22681 (Info-apropos-file, Info-apropos-nodes): New variables.
22682 (Info-apropos-toc-nodes, Info-apropos-find-file)
22683 (Info-apropos-find-node, Info-apropos-matches): New functions.
22684 (info-apropos): Move part of code to `Info-apropos-find-node' and
22685 `Info-apropos-matches'.
22686 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22687 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22688 for a virtual file instead of checking a fixed list of node names.
22690 * simple.el (async-shell-command): New command.
22692 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22694 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22695 instead of `mount-info'.
22697 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22699 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22700 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22702 2009-07-02 Kenichi Handa <handa@m17n.org>
22704 * international/mule.el (set-keyboard-coding-system): Force *-unix
22705 coding-system to avoid eol conversion.
22707 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22709 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22710 Add handler for `process-file', `shell-command' and
22711 `start-file-process'.
22712 (tramp-gvfs-handle-shell-command)
22713 (tramp-gvfs-handle-start-file-process)
22714 (tramp-gvfs-handle-process-file): New defuns.
22715 (tramp-synce-list-devices): Simplify check for existence of property.
22717 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22719 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22721 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22723 * language/korean.el (set-language-info-alist): Add korean-cp949,
22726 2009-07-01 Kenichi Handa <handa@m17n.org>
22728 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22730 * international/encoded-kb.el: Deleted.
22732 * international/mule.el (set-keyboard-coding-system): Perform the
22733 necessary setup here instead of calling encoded-kbd-setup-display.
22735 2009-07-01 Glenn Morris <rgm@gnu.org>
22737 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22739 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22741 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22743 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22745 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22746 Handle also the 'rename case, when setting file modes. (Bug#3712)
22747 (tramp-default-file-modes): Remove execute permissions.
22749 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22750 (top): Add a default for "synce" in `tramp-default-user-alist'.
22751 Add completion function for "synce" method.
22752 (tramp-hal-service, tramp-hal-path-manager)
22753 (tramp-hal-interface-manager, tramp-hal-interface-device):
22755 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22756 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22759 * net/trampver.el: Update release number.
22761 2009-06-30 Kenichi Handa <handa@m17n.org>
22763 * international/fontset.el (setup-default-fontset): Add CJK fonts
22764 for symbols and the other miscellaneous characters.
22766 * language/korea-util.el (setup-korean-environment-internal):
22767 Make char-width-table suitable for Korean environments.
22768 (exit-korean-environment): Cancel above.
22770 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22771 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22772 setup-function to make char-width-table suitable for respective
22773 environments, and an exit-function to cancel that.
22775 * language/japan-util.el (setup-japanese-environment-internal):
22776 Call use-cjk-char-width-table with arg `ja_JP'.
22778 * international/characters.el (cjk-char-width-table): Delete it.
22779 (cjk-char-width-table-list): New variable.
22780 (use-cjk-char-width-table): New arg local-name.
22781 (use-default-char-width-table): Fix for the case that Emacs is
22782 already using the default char-width-table.
22784 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22786 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22787 modes mandatory. (Bug#3712)
22789 2009-06-29 Alan Mackenzie <acm@muc.de>
22791 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22792 correction between the visible width of TABs and their number of bytes.
22794 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22796 * server.el (server-buffer-done): Prevent kill-buffer from
22797 prompting by clearing the buffer modification flag (Bug#3696).
22799 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22801 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22802 (verilog-endcomment-reason-re): Support unique case and priority case.
22803 (verilog-basic-complete-re): Support localparam lineup.
22804 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22805 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22807 (verilog-leap-to-case-head): Now support *nested* unique &
22808 priority case statements.
22809 (verilog-auto-lineup): Make just declarations the default (as it
22811 (verilog-leap-to-case-head): Support priority/unique case statements.
22812 (verilog-auto-lineup): Rework to give users radio buttons to
22813 select the various styles of automatic lineup.
22814 (verilog-error-regexp-alist): Rework to support the XEmacs style
22815 of error regular expressions from compilers, lint tools &
22816 simulators. Note that GNU Emacs has made it impossible for a mode
22817 to load such things.
22818 (electric-verilog-terminate-line, verilog-indent-declaration)
22819 (verilog-auto-wiure): Rework for radio button selection of
22820 auto-lineup selection of specification of auto lineup.
22821 (verilog-beg-of-statement-1): Redesign to support proper operation
22822 in additional code, based on testing with auto-lineup.
22823 (verilog-calculate-indent, assignments & declarations)
22824 (verilog-backward-token): Enhance to support auto-lineup of
22825 assignments & declarations.
22826 (verilog-in-directive-p, verilog-at-struct-p): New function for
22827 easy test of whether we are.
22828 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22829 to support safe execution at almost anyline.
22830 (verilog-calc-1): Properly support indenting deep inside generate
22832 (verilog-init-font): Remove definition & use of verilog-init-font,
22833 as it is redundant with font-lock-defaults.
22834 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22835 to avoid circular calls if syntax-ppss is a function (as is the
22836 case now in 22.x GNU Emacs) as that function would sometimes call
22837 itself, leading to (nearly) infinite recursion.
22838 (verilog-ovm-begin-re, verilog-ovm-end-re)
22839 (verilog-ovm-statement-re, verilog-leap-to-head)
22840 (verilog-backward-token): Add support for OVM macros. Some are
22841 complete statements, and others open and close scopes like begin
22843 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22844 (verilog-defun-level-generate-only-re): Really fix the defun-list
22846 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22847 coverpoint, constraint and cross statements.
22848 (verilog-defun-level-list, verilog-generate-defun-level-list)
22849 (verilog-all-defun-level-list): Redo these specifications - it is
22850 too hard to support eval-when compile aggregation of lists also
22851 built at when-compile time.
22852 (verilog-defun-level-list): Place defconsts of variables used in
22853 building regular expressions which are built in eval-when-compile
22854 bodies in the same eval-when-compile body to facilitate compile
22856 (verilog-beg-block-re-ordered): Support indenting
22857 virtual/protected tasks and functions.
22858 (verilog-defun-level-list, verilog-in-generate-region-p)
22859 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22860 indentation of some module items (generate items).
22861 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22862 across virtual/protected tasks and functions.
22864 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22866 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22867 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22868 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22869 in concatenations. Reported by Yishay Belkind.
22870 (verilog-auto-ascii-enum): Support one-hot state machines in
22871 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22872 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22873 modport in AUTOINST and add vl-modport for users.
22874 Reported by David Rogoff.
22875 (verilog-auto-inout-module, verilog-auto-inst)
22876 (verilog-decls-get-interfaces, verilog-insert-definition)
22877 (verilog-insert-one-definition, verilog-read-decls)
22878 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22879 (verilog-sig-modport, verilog-signals-combine-bus)
22880 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22881 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22882 Suggested by David Rogoff.
22883 (verilog-repair-open-comma): Fix non-insertion of comma when
22884 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22885 (verilog-make-width-expression): Simplify [A-1:0] expression
22886 widths to just {A{1'b0}}.
22887 (verilog-mode): Cleanup checkdoc warnings.
22888 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22889 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22890 inputs/outputs or data type. Suggested by Vasu Kandadi.
22891 (next-error-last-buffer): Fix byte-compiler warning.
22892 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22893 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22894 or shell command text during AUTO expansion. Suggested by Tad Truex.
22895 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22896 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22897 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22898 in AUTOINOUT. Reported by Matthew Lovell.
22899 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22900 causing use of <= assignments. Reported by Alex Reed.
22901 (verilog-read-decls): Fix triand, trior, wand, wor to be
22902 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22903 (verilog-extended-complete-re): Support import "DPI-C" functions.
22904 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22905 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22906 (verilog-insert-date, verilog-insert-year)
22907 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22908 Windows systems. Reported by Michael Potts.
22909 (verilog-read-module-name): Fix AUTOINST when the child module
22910 declaration's name is a tick define. Reported by Elliot Mednick.
22911 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22912 passed to next parameter's definition. Reported by Bruce T.
22913 (verilog-read-decls): Fix detecting "parameter int" when using
22914 AUTOINSTPARAM. Reported by Bruce T.
22915 (verilog-goto-defun): Fix goto not finding modules unless first
22916 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22917 (verilog-mode): Expand -f flag arguments on entry to mode so
22918 verilog-goto-defun will work. Reported by Lawrence Butcher.
22919 (verilog-getopt): Expand environment variables in -f file
22920 arguments. Suggested by Lawrence Butcher.
22921 (verilog-set-define): Fix "Symbol's value as variable is void"
22922 when reading enumerations.
22923 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22924 Suggested by Stephen Peltan.
22925 (verilog-read-defines): Fix reading of enumerations in include
22926 files. Reported by Steve Peltan.
22928 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22930 * files.el (trash-directory): Fix defcustom type.
22932 2009-06-28 Juri Linkov <juri@jurta.org>
22934 * help-fns.el (describe-function-1): Correctly locate adviced
22935 functions in hyperlink (Bug#2438).
22937 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22939 * files.el (trash-directory): Change default to nil.
22940 (move-file-to-trash): If trash-directory is nil and
22941 system-move-file-to-trash is unbound, perform freedesktop-style
22944 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22946 * files.el (move-file-to-trash): Add freedesktop trash
22949 2009-06-28 Glenn Morris <rgm@gnu.org>
22951 * autorevert.el (global-auto-revert-non-file-buffers)
22952 (global-auto-revert-mode): Doc fixes.
22954 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22956 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22958 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22960 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22961 opened an X connection before calling x-get-resource (Bug#3194).
22963 * play/doctor.el: Remove reference to obsolete website.
22964 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22966 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22968 Remove find-file-not-found-hook VC method. (Bug#2757)
22969 * vc-hooks.el (vc-file-not-found-hook)
22970 (vc-default-find-file-not-found-hook): Remove functions.
22971 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22972 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22975 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22977 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22979 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22980 compatibility function for `looking-back'.
22982 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22983 Use `ispell-looking-back'.
22985 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22987 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22988 rather than `filename'.
22990 2009-06-23 Miles Bader <miles@gnu.org>
22992 * face-remap.el (text-scale-set): New function.
22994 2009-06-23 Glenn Morris <rgm@gnu.org>
22996 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22998 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23000 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23002 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23004 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23005 Simplify Persian conditionals.
23007 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23008 variable `filename'.
23010 * comint.el (comint-insert-input): Doc fix.
23012 * Makefile.in (ELCFILES): Fix typo in previous change.
23014 2009-06-23 Miles Bader <miles@gnu.org>
23016 * cus-start.el: Add entry for `recenter-redisplay'.
23018 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23020 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23021 Add an optional argument for the backend, use it instead of
23022 calling vc-backend.
23023 (vc-mode-line): Add an optional argument for the backend.
23024 Pass the backend to vc-state and vc-working-revision. Move code for
23025 special handling for vc-state being a buffer to ...
23027 * vc-rcs.el (vc-rcs-find-file-hook):
23028 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23030 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23031 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23032 vc-stay-local-p and vc-mode-line calls.
23034 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23035 (vc-cvs-diff, vc-cvs-annotate-command)
23036 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23037 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23038 vc-mode-line calls.
23040 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23042 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23043 backend when calling vc-mode-line.
23044 (vc-register): Do not create a closure for calling the vc register
23045 function, call it directly.
23047 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23049 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23050 to make it obvious item can be clicked.
23052 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23054 2009-06-23 Kenichi Handa <handa@m17n.org>
23056 * language/korea-util.el (korean-key-bindings): Change the binding
23057 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23060 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23062 Sync with Tramp 2.1.16.
23064 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23066 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23067 when a loading of a package fails. Completion function for rsync
23068 is `tramp-completion-function-alist-ssh'.
23069 (all): Replace all calls of `split-string' and
23070 `tramp-split-string' by `tramp-compat-split-string'.
23071 (tramp-default-method): Use `tramp-compat-process-running-p'.
23072 (tramp-default-proxies-alist): Allow also Lisp forms.
23073 (tramp-remote-path): Add choice "Private Directories".
23074 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23075 (tramp-domain-regexp): Allow also "-", "_" and ".".
23076 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23077 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23078 (tramp-debug-message): Insert header line in debug buffer.
23079 (tramp-handle-directory-files-and-attributes-with-stat):
23080 Care about filenames with spaces, or starting with "-".
23081 (tramp-handle-dired-uncache): New defun.
23082 (tramp-handle-insert-directory): Don't flush the directory from
23083 cache, this is handled by `dired-uncache' now.
23084 (tramp-handle-insert-file-contents): Improve error handling.
23085 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23086 Quote `tramp-end-of-output'.
23087 (tramp-action-password): Improve trace message.
23088 (tramp-check-for-regexp): Both echoes must be present, before removing.
23089 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23090 (tramp-compute-multi-hops): Eval cons cells of
23091 `tramp-default-proxies-alist'.
23092 (tramp-maybe-open-connection): Use the same command pattern for
23093 first hop and further hops.
23094 (tramp-wait-for-output): Remove handling of newlines.
23095 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23096 (tramp-split-string): Remove function. It is handled in
23099 * net/tramp-cmds.el (tramp-bug):
23100 Recommend `tramp-cleanup-all-connections' in the bug mail.
23102 * net/tramp-compat.el (tramp-compat-split-string)
23103 (tramp-compat-process-running-p): New defuns.
23105 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23106 for `dired-uncache'.
23108 * net/tramp-gvfs.el: New package.
23110 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23111 Add handler for `dired-uncache'.
23112 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23114 * net/trampver.el: Update release number. Make version check fit
23117 2009-06-22 Jim Meyering <meyering@redhat.com>
23119 Automatically handle .xz suffix (XZ-compressed files), too.
23120 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23121 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23123 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23124 Nick Roberts <nickrob@snap.net.nz>
23126 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23127 repository (http://sphinx.net.ru/hg/gdb-mi/).
23129 2009-06-22 Glenn Morris <rgm@gnu.org>
23131 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23132 `mode' and `eval' entries. (Bug#3430)
23134 * Makefile.in (ELCFILES): Add fadr.elc.
23136 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23137 differing behavior of \n and ^ in strings. (Bug#3385)
23139 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23141 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23143 (lisp-indent-function): Make it a defcustom.
23145 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23147 * progmodes/gdb-ui.el: Replace with ...
23148 * progmodes/gdb-mi.el: ... this file.
23149 * progmodes/gud.el: Modify for gdb-mi.el.
23151 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23153 * fadr.el: New file.
23155 See ChangeLog.14 for earlier changes.
23157 ;; Local Variables:
23161 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23163 This file is part of GNU Emacs.
23165 GNU Emacs is free software: you can redistribute it and/or modify
23166 it under the terms of the GNU General Public License as published by
23167 the Free Software Foundation, either version 3 of the License, or
23168 (at your option) any later version.
23170 GNU Emacs is distributed in the hope that it will be useful,
23171 but WITHOUT ANY WARRANTY; without even the implied warranty of
23172 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23173 GNU General Public License for more details.
23175 You should have received a copy of the GNU General Public License
23176 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.