1 2011-03-22 Leo Liu <sdl.web@gmail.com>
3 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
4 located before rcirc-prompt-end-marker.
5 (rcirc-complete): Error if point is not after rcirc prompt.
6 Handle the case when table is nil.
8 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
10 * custom.el (custom--inhibit-theme-enable): Make it affect only
11 custom-theme-set-variables and custom-theme-set-faces.
12 (provide-theme): Ignore custom--inhibit-theme-enable.
13 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14 (custom-enabling-themes): Delete variable.
15 (enable-theme): Accept only loaded themes as arguments. Ignore
16 the special custom-enabled-themes variable.
17 (custom-enabled-themes): Forbid themes from setting this.
18 Eliminate use of custom-enabling-themes.
19 (custom-push-theme): Quote "changed" custom var entry.
21 2011-03-21 Leo Liu <sdl.web@gmail.com>
23 * ido.el (ido-read-internal): Add ido-selected to history instead
26 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28 * subr.el (deferred-action-list, deferred-action-function):
31 2011-03-21 Leo Liu <sdl.web@gmail.com>
33 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
34 change on 2011-02-13 (bug#8309).
36 * minibuffer.el (read-file-name-function): Change default value.
37 (read-file-name--defaults): Rename from read-file-name-defaults.
38 (read-file-name-default): Rename from read-file-name.
39 (read-file-name): Call read-file-name-function.
41 2011-03-21 Glenn Morris <rgm@gnu.org>
43 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
46 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
48 * cus-theme.el: Add missing provide statement.
49 (customize-create-theme): Extract theme value correctly.
50 (custom-theme-visit-theme): Autoload.
51 (customize-create-theme): Prompt before inserting default faces.
53 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
55 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
56 units and musical notes.
58 2011-03-20 Leo <sdl.web@gmail.com>
60 * ido.el (ido-read-internal): Use completing-read-default.
61 (ido-completing-read): Fix compatibility with completing-read.
63 2011-03-20 Christian Ohler <ohler@gnu.org>
65 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
66 (ert-delete-all-tests): Use `called-interactively-p' rather than
68 (ert--make-xrefs-region): Respect END.
70 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
72 * dired-aux.el (dired-create-directory): Signal an error if the
73 directory already exists (Bug#8246).
75 * facemenu.el (list-colors-display): Call list-faces-display
76 inside with-help-window.
77 (list-colors-print): Use display property to align the final
78 column, instead of checking window-width.
80 2011-03-19 Eli Zaretskii <eliz@gnu.org>
82 * emerge.el (emerge-metachars): Separate value for ms-dos and
84 (emerge-protect-metachars): Quote correctly for ms-dos and
87 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
89 * info.el (info-initialize): Replace all uses of `:' with
90 path-separator for compatibility with non-Unix systems.
91 Cache quoting of path-separator. (Bug#8258)
93 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
95 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
96 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
97 (mouse-avoidance-mode): Fix typos in docstrings.
99 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
101 * startup.el (package-subdirectory-regexp): Move from package.el.
102 Omit \\` and \\', and let callers add them.
104 * emacs-lisp/package.el (package-strip-version)
105 (package-load-all-descriptors): Add \\` and \\' to
106 package-subdirectory-regexp before using it.
107 (package-untar-buffer): New arg DIR; ensure that file untars only
108 into this expected directory. Remove superfluous delete-region.
109 (package-unpack): Caller changed.
110 (package-tar-file-info): Use package-subdirectory-regexp.
112 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
114 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
115 diff-mode-shared-map (bug#8284).
116 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
118 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
120 * calendar/time-date.el (format-seconds): Use assoc instead of
121 assoc-string, since assoc-string doesn't exist in XEmacs.
123 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
125 * custom.el (custom-known-themes): Reflow docstring.
126 (custom-theme-load-path): Fix typo in docstring.
127 (load-theme): Fix typo in error message.
128 (custom-available-themes, custom-variable-theme-value):
129 Use `let', not `let*'.
131 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
133 * calc/README: Mention inclusion of musical notes.
135 * calc/calc-units.el (calc-lu-quant): Rename from
136 `calc-logunits-quantity'.
137 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
138 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
139 (calc-db): Rename from `calc-dblevel'.
140 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
141 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
142 (calc-np): Rename from `calc-nplevel'.
143 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
144 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
145 (calc-lu-plus): Rename from `calc-logunits-add'.
146 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
147 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
148 (calc-lu-minus): Rename from `calc-logunits-sub'.
149 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
150 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
151 (calc-lu-times): Rename from `calc-logunits-mul'.
152 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
153 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
154 (calc-lu-divide): Rename from `calc-logunits-div'.
155 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
156 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
158 * calc/calc-ext.el (calc-init-extensions): Update the names of the
159 functions being autoloaded.
161 * calc/calc.el (calc-lu-power-reference): Rename from
162 `calc-logunits-power-reference'.
163 (calc-lu-field-reference): Rename from
164 `calc-logunits-field-reference'.
166 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
168 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
170 * minibuffer.el (completion-all-sorted-completions):
171 Use :completion-cycle-penalty text property if present.
173 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
175 * allout.el (allout-yank-processing): Adjust for new rebulleting
176 regime so bullet being yanked is used without prompting the user
179 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
181 * startup.el (command-line): Warn the user that _emacs is deprecated.
183 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
185 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
186 (delphi-verbose, delphi-comment-face, delphi-string-face)
187 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
188 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
189 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
190 (delphi-new-comment-line, delphi-font-lock-defaults)
191 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
192 Fix typos in docstrings.
194 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
196 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
197 Invert the roles of character and string values for INSTEAD, so a
198 string is used for the more common case of a defaulting prompt.
200 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
202 * progmodes/ruby-mode.el (ruby-backward-sexp):
203 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
204 * play/gamegrid.el (gamegrid-make-face):
205 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
206 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
207 * notifications.el (notifications-notify):
208 * net/xesam.el (xesam-search-engines):
209 * net/quickurl.el (quickurl-list-insert):
210 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
212 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
214 * startup.el (command-line): Update package subdirectory regexp.
216 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
218 * allout.el (allout-abbreviate-flattened-numbering)
219 (allout-mode-deactivate-hook): Fix up obsolescence "date".
221 * subr.el (read-char-choice): Only show the cursor after the prompt,
222 not after the answer.
224 2011-03-15 Kevin Ryde <user42@zip.com.au>
226 * help-fns.el (variable-at-point): Skip leading quotes, if any
229 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
231 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
234 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
236 * shell.el (shell): When called interactively, offer to change the
237 shell file name on remote hosts.
239 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
241 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
242 integration for LDAP parameters. The host, base, user or binddn,
243 and secret tokens can be specified in a netrc file, for instance.
244 This is optional because an `auth-source' parameter must be
245 specified in the search attributes.
247 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
249 * help.el (describe-mode): Link to the mode's definition (bug#8185).
251 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
253 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
254 into declaration. Remove redundant and harmful binding.
256 2011-03-12 Eli Zaretskii <eliz@gnu.org>
258 * files.el (file-ownership-preserved-p): Pass `integer' as an
259 explicit 2nd argument to `file-attributes'. If the file's owner
260 is the Administrators group on Windows, and the current user is
261 Administrator, consider that a match.
263 * server.el (server-ensure-safe-dir): Consider server directory
264 safe on MS-Windows if its owner is the Administrators group while
265 the current Emacs user is Administrator. Use `=' to compare
266 numerical UIDs, since they could be integers or floats.
268 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
270 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
272 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
274 Sync with Tramp 2.2.1.
276 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
278 * net/trampver.el: Update release number.
280 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
282 * progmodes/compile.el (compilation--previous-directory): Fix up
283 various nil/dead-marker mismatches (bug#8014).
284 (compilation-directory-properties, compilation-error-properties):
285 Don't call it at a position past the one we're about to change.
287 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
288 Disable obsolescence warnings in the file that declares it.
290 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
292 * allout-widgets.el (allout-widgets-tally): Initialize
293 allout-widgets-tally as a hash table rather than nil to prevent
294 mode-line redisplay warnings.
295 Also, clarify the module description and fix a comment typo.
297 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
299 * help-fns.el (describe-variable): Don't complete keywords.
300 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
302 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
304 * emacs-lisp/package.el (package-version-join): Impose a standard
305 string representation for pre/alpha/beta version lists.
306 (package-unpack-single): Standardize the directory name by passing
307 it through package-version-join.
308 (package-strip-rcs-id): Accept any version string that does not
309 signal an error in version-to-list.
311 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
313 * simple.el (delete-trailing-whitespace): Return nil for the
314 benefit of `write-file-functions'.
316 2011-03-10 Glenn Morris <rgm@gnu.org>
318 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
320 * vc/vc-git.el (vc-git-program): New option.
321 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
322 (vc-git--call): Use it.
324 * eshell/esh-util.el (eshell-condition-case): Doc fix.
326 * cus-edit.el (Custom-newline): If no button at point, look
327 for a subgroup button at start-of-line. (Bug#2298)
329 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
331 2011-03-10 Julien Danjou <julien@danjou.info>
333 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
334 `cursor-type' is nil.
336 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
338 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
340 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
342 * allout.el Summary: Change so yank of distinctive-bullet items
343 preserves the existing header prefix, rebulleting it if necessary,
344 rather than replacing it. This is necessary for proper operation
345 of cooperative addons like allout-widgets.
346 (allout-make-topic-prefix, allout-rebullet-heading): Change
347 SOLICIT arg to INSTEAD, and interpret additionally a string value
348 as alternate bullet to be used, instead of prompting the user for
351 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
353 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
354 not use `tramp-file-name-port', because this returns also
355 `tramp-default-port'.
357 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
359 * net/rcirc.el (rcirc-handler-001): Remove useless
360 with-rcirc-process-buffer.
361 (rcirc-check-auth-status): Swap arguments to string-match.
363 2011-03-09 Glenn Morris <rgm@gnu.org>
365 * shell.el (shell-mode):
366 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
368 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
369 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
371 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
373 * emacs-lisp/package.el (package-refresh-contents)
374 (package-menu-execute): Use condition-case-no-debug.
376 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
378 * simple.el (shell-command-to-string): Use `process-file'.
380 * emacs-lisp/package.el (package-tar-file-info): Handle also
383 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
384 `equal' for upload base check.
386 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
388 * textmodes/texinfo.el (texinfo-environments):
389 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
391 2011-03-08 Glenn Morris <rgm@gnu.org>
393 * cus-start.el (cursor-in-non-selected-windows):
394 Fix :set quoting oddness. (Bug#8192)
396 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
397 in some setf expressions. (Bug#2159)
399 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
401 * custom.el (custom-available-themes): Return themes in
404 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
406 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
407 application of patch from Alan Mackenzie (Bug#7595).
409 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
411 * net/rcirc.el (rcirc-connect): Fix PASS bug.
413 2011-03-07 Glenn Morris <rgm@gnu.org>
415 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
416 Give an explicit error if failed to make writable. (Bug#6146)
418 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
420 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
421 Add optional `after-sunset' argument. (Bug#8190)
423 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
425 * play/morse.el (nato-alphabet, nato-region, denato-region):
426 New variable and functions. (Bug#2288)
427 (morse-region, unmorse-region): Barf if read-only.
429 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
431 * progmodes/gud.el (gdb-script-syntax-propertize-function):
432 Don't change the syntax of a \n that closes a comment (bug#8169).
434 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
436 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
438 (package--update-file): Doc fix. Accept relative file names.
439 (package--archive-contents-from-file): Remove the argument, since
440 it's necessarily always "archive-contents".
441 (package-maint-add-news-item): Pass relative file name args to
442 package--update-file.
443 (package-upload-buffer-internal): Prompt for a destination if
444 package-archive-upload-base is invalid. Create the directory if
446 (package-upload-buffer, package-upload-file): Doc fix.
448 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
450 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
451 and move isearch-yank-line to M-s C-e (Bug#8183).
453 2011-03-06 Alan Mackenzie <acm@muc.de>
455 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
456 (c-guess-basic-syntax): Move CASE 19 to a different place,
457 correctly to process template-args-cont lines.
459 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
461 * calc/calc-ext.el (calc-init-extensions):
462 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
463 and calc-nplevel, respectively. Add keybindings for calc-spn,
464 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
465 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
467 * calc/calc-units.el (calc-dblevel): Rename from
468 calc-logunits-dblevel.
469 (calc-nplevel): Rename from calc-logunits-nplevel.
470 (math-midi-round, math-freqp, math-midip, math-spnp)
471 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
472 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
473 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
474 (math-notes): New variable.
476 * calc/calc.el (calc-note-threshold): New variable.
478 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
480 * emacs-lisp/package.el (package-archives): Accept either ordinary
481 directory names, in addition to HTTP URLs.
482 (package--with-work-buffer): New macro. Handle normal directories.
483 (package-handle-response): Don't display the failing buffer.
484 (package-download-single, package-download-tar)
485 (package--download-one-archive): Use package--with-work-buffer.
486 (package-archive-base): Rename from package-archive-url.
488 2011-03-06 Glenn Morris <rgm@gnu.org>
490 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
491 (xmodmap-generic-mode): Respect generic-extras-enable-list.
493 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
495 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
497 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
499 * allout.el (allout-init, allout-prefixed-keybindings)
500 (allout-unprefixed-keybindings):
501 * progmodes/prolog.el (prolog-find-term):
502 Fix typos in docstrings.
504 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
506 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
508 2011-03-06 Kevin Ryde <user42@zip.com.au>
510 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
512 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
514 * window.el (one-window-p, walk-windows, display-buffer):
515 Doc fixes. (Bug#5567)
517 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
519 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
520 of the variable if it exists.
522 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
529 * net/tramp-cache.el:
530 * obsolete/fast-lock.el:
531 * textmodes/reftex.el:
532 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
534 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
536 * files.el (delete-directory, copy-directory, list-directory):
537 Use read-directory-name.
539 * find-file.el (ff-find-the-other-file):
540 * net/ange-ftp.el (ange-ftp-make-directory):
541 * printing.el (pr-interactive-dir):
542 * progmodes/ada-prj.el (ada-prj-load-directory):
543 * progmodes/ebnf2ps.el (ebnf-print-directory)
544 (ebnf-spool-directory, ebnf-eps-directory)
545 (ebnf-syntax-directory):
547 * speedbar.el (speedbar-create-directory):
548 * vc/emerge.el (emerge-merge-directories):
549 * vc/vc-dir.el (vc-dir):
550 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
552 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
554 * help-mode.el (help-buffer): If we are to return the current
555 buffer, signal an error if it's not in Help mode (Bug#8147).
557 2011-03-05 Reuben Thomas <rrt@sc3d.org>
559 * files.el (file-name-version-regexp): Handle backup files of the
560 form `foo.js.~HEAD~1~' (Bug#8159).
562 2011-03-05 Glenn Morris <rgm@gnu.org>
564 * eshell/esh-var.el: Don't require esh-test when compiling.
565 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
566 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
567 * eshell/esh-test.el: Move to ../../test/eshell.el.
569 2011-03-05 David Engster <deng@randomsample.de>
571 * files.el (save-some-buffers): Report the names of buffers saved
572 automatically due to buffer-save-without-query (Bug#8134).
574 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
576 * net/rcirc.el: Add QuakeNet authentication support.
577 (rcirc-authinfo, rcirc-check-auth-status)
578 (rcirc-authenticate): Support QuakeNet.
580 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
582 * net/rcirc.el: Add functionality to authenticate before
583 autojoining channels.
584 (rcirc-authenticate-before-join): New option.
585 (rcirc-authenticated-hook): New variable.
586 (rcirc-connect): Make local variable rcirc-user-authenticated.
587 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
588 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
590 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
591 Call rcirc-check-auth-status.
593 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
595 * net/soap-client.el (soap-namespace-put-link): Check if the target
596 name is fully qualified -- use only the name part.
597 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
598 types, treated the same as xsd:sequence. (Bug#8166)
600 2011-03-05 Eli Zaretskii <eliz@gnu.org>
602 * files.el (find-file-noselect): Don't ask about re-visiting
603 non-literally if the file is already visited in image-mode.
606 2011-03-05 Glenn Morris <rgm@gnu.org>
608 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
609 (eshell-mode): Use eshell-kill-buffer-function.
610 Run the -initialize functions independently of the -load-hooks.
611 * eshell/esh-proc.el (eshell-kill-process-function): New function.
612 (eshell-gather-process-output, eshell-sentinel)
613 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
614 Use eshell-kill-process-function.
615 * eshell/em-alias.el (eshell-alias-load-hook):
616 * eshell/em-banner.el (eshell-banner-load-hook):
617 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
618 * eshell/em-dirs.el (eshell-dirs-load-hook):
619 * eshell/em-glob.el (eshell-glob-load-hook):
620 * eshell/em-hist.el (eshell-hist-load-hook):
621 * eshell/em-pred.el (eshell-pred-load-hook):
622 * eshell/em-prompt.el (eshell-prompt-load-hook):
623 * eshell/em-rebind.el (eshell-rebind-load-hook):
624 * eshell/em-script.el (eshell-script-load-hook):
625 * eshell/em-smart.el (eshell-smart-load-hook):
626 * eshell/em-term.el (eshell-term-load-hook):
627 * eshell/em-unix.el (eshell-unix-load-hook):
628 * eshell/esh-arg.el (eshell-arg-load-hook):
629 * eshell/esh-cmd.el (eshell-cmd-load-hook):
630 * eshell/esh-ext.el (eshell-ext-load-hook):
631 * eshell/esh-io.el (eshell-io-load-hook):
632 * eshell/esh-mode.el (eshell-exit-hook):
633 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
634 * eshell/esh-var.el (eshell-var-load-hook):
635 Set default hook values to nil. (Bug#5375)
637 * eshell/esh-module.el (eshell-module-unload-hook)
638 (eshell-modules-list): Remove leading * from defcustom docs.
640 * eshell/esh-util.el (eshell-for): Make it obsolete.
641 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
642 * eshell/em-dirs.el (eshell-save-some-last-dir):
643 * eshell/em-hist.el (eshell-save-some-history)
644 (eshell-hist-parse-modifier):
645 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
647 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
648 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
650 * eshell/esh-ext.el (eshell-find-interpreter):
651 * eshell/esh-mode.el (eshell-mode):
652 * eshell/esh-module.el (eshell-unload-extension-modules):
653 * eshell/esh-proc.el (eshell-process-interact):
654 * eshell/esh-test.el (eshell-test):
655 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
656 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
657 (eshell-variables-list):
658 * eshell/eshell.el (eshell-unload-all-modules):
659 Replace eshell-for with dolist.
661 2011-03-04 Glenn Morris <rgm@gnu.org>
663 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
665 2011-03-04 Tom Tromey <tromey@redhat.com>
667 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
669 2011-03-04 Glenn Morris <rgm@gnu.org>
671 * outline.el (outline-regexp): No longer allow nil.
672 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
674 * net/browse-url.el (browse-url):
675 Handle deleted default-directory. (Bug#6077)
677 * recentf.el (recentf-include-p): In case of a buggy predicate,
678 err on the side of including, not excluding. (Bug#5843)
680 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
682 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
685 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
687 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
688 if there is no node. (Bug#3261)
690 2011-03-04 Leo <sdl.web@gmail.com>
692 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
694 * time.el (display-time-world-list): Fix typo. (Bug#7571)
696 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
698 * cus-edit.el (custom-buffer-create-internal):
699 Split search string before passing it to `customize-apropos' (bug#8136).
701 2011-03-04 Drew Adams <drew.adams@oracle.com>
703 * image-dired.el (image-dired-cmd-read-exif-data-options):
704 Fix typo in docstring (bug#8156).
706 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
708 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
710 2011-03-03 Christian Ohler <ohler@gnu.org>
712 * emacs-lisp/ert.el (ert--explain-equal): New function.
713 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
715 (ert--explain-equal-including-properties): Renamed from
716 `ert--explain-not-equal-including-properties'. All callers
719 2011-03-03 Christian Ohler <ohler@gnu.org>
721 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
722 (ert-char-for-test-result, ert-string-for-test-result)
723 (ert-run-tests-batch, ert--print-test-for-ewoc):
724 Handle `ert-test-quit'.
726 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
728 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
729 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
731 2011-03-03 Glenn Morris <rgm@gnu.org>
733 * files.el (file-truename): Doc fix. (Bug#2341)
735 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
737 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
739 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
741 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
742 programs output backslashes. (Bug#7663)
744 2011-03-03 Glenn Morris <rgm@gnu.org>
746 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
747 (mail-mode): Remove mail-sent-via from the doc.
748 (mail-sent-via): Make it obsolete. (Bug#1776)
750 * progmodes/grep.el (grep-highlight-matches): Doc fix.
751 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
753 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
754 with no parents. (Bug#8025)
756 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
758 * password-cache.el (password-in-cache-p): Add autoload.
760 2011-03-02 Glenn Morris <rgm@gnu.org>
762 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
763 * dired-x.el (Man-support-local-filenames): Autoload it.
764 (dired-guess-shell-alist-default): Also handle Red Hat's man.
766 * dired-x.el (dired-default-directory-alist, dired-default-directory):
768 (dired-smart-shell-command): Just call dired-current-directory.
770 * dired-x.el (dired-jump-other-window): Add autoload.
771 (dired-default-directory-alist, dired-default-directory): Doc fixes.
772 (dired-default-directory-alist): Mark as risky.
774 * dired-x.el (dired-omit-here-always): Make it obsolete.
776 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
778 * textmodes/artist.el (artist-curr-go): Default to pen-line.
779 (artist-select-op-pen-line): New function.
780 (artist-menu-map): New variable.
781 (artist-mode-map): Add a menu to the menu-bar.
783 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
785 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
788 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
790 (math-logunits-add, math-logunits-mul, math-logunits-divide):
791 (math-logunits-quant, math-logunits-level):
792 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
794 (math-logunits-level): Extract units from ratio.
796 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
798 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
800 2011-03-01 Glenn Morris <rgm@gnu.org>
802 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
803 (diary-hebrew-birthday): Rename and rework functions added
806 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
808 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
809 (diary-hebrew-birthday): New functions.
811 2011-03-01 Glenn Morris <rgm@gnu.org>
813 * dired.el (dired-safe-switches-p): Beef it up.
814 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
816 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
818 * dired.el (dired-safe-switches-p): New function.
820 2011-03-01 Glenn Morris <rgm@gnu.org>
822 * files.el (dir-locals-collect-variables):
823 Add the ability to exclude subdirectories. (Bug#8100)
825 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
827 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
829 * ido.el (ido-everywhere): Doc fix.
832 2011-02-28 Glenn Morris <rgm@gnu.org>
834 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
836 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
838 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
841 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
843 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
845 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
847 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
848 Fix typos in docstrings.
850 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
852 * dired-aux.el (dired-update-file-line):
853 Fix 2010-11-09 change. (Bug#8131)
855 2011-02-28 Eli Zaretskii <eliz@gnu.org>
857 * international/mule-cmds.el (set-default-coding-systems): Use the
858 -unix variant of encoding in default-keyboard-coding-system.
861 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
863 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
865 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
867 * term/screen.el: New file (Bug#2650).
869 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
871 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
872 (pcase-mutually-exclusive-predicates): New var.
873 (pcase--split-consp, pcase--split-pred): Use it.
874 (pcase--split-equal, pcase--split-member): When splitting against
875 a pure predicate, run it to know the outcome.
876 (pcase--u1): Mark vars that are actually used.
877 (pcase--q1): Avoid introducing unused vars.
879 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
881 * calc/calc-ext.el (calc-init-extensions):
882 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
884 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
887 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
888 argument is a variable.
890 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
892 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
893 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
894 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
896 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
898 * password-cache.el (password-in-cache-p): Convenience function to
899 check if a key is in the cache, even if the value is nil.
901 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
903 * emacs-lisp/package-x.el (package--archive-contents-from-url)
904 (package--archive-contents-from-file): New functions.
905 (package-update-news-on-upload): New var.
906 (package-upload-buffer-internal): Extract archive-contents from
907 package-archive-upload-base if it is not found at archive-url.
908 Obey package-update-news-on-upload.
909 (package-upload-buffer, package-upload-file): Doc fix.
911 2011-02-24 Glenn Morris <rgm@gnu.org>
913 * files-x.el (modify-dir-local-variable): Handle dir-locals from
914 the cache, and from non-file sources.
916 * help-fns.el (describe-variable): Return consistent results when a
917 dir-local from a file came from the cache or did not. (Bug#8095)
918 If a dir-local has no associated file, say it came from a "directory".
920 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
921 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
923 * files.el (dir-locals-find-file): Doc fix.
924 Fix the check for cache elements that have no associated file,
925 and the mtime check for those that do. (Bug#8095)
927 * dired-x.el (dired-hack-local-variables):
928 Handle interrupts during hacking local variables. (Bug#5216)
930 * emacs-lisp/autoload.el (autoload-save-buffers)
931 (autoload-find-destination, update-directory-autoloads):
932 Avoid prompts when updating autoloads.
934 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
936 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
938 2011-02-23 Kenichi Handa <handa@m17n.org>
940 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
941 error when a multipart boundary in the nested multipart is found.
943 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
946 2011-02-23 Glenn Morris <rgm@gnu.org>
948 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
949 * dired-x.el (dired-omit-mode): Safe if boolean.
950 (dired-enable-local-variables): Fix doc and custom type.
951 (dired-enable-local-variables, dired-local-variables-file)
952 (dired-hack-local-variables): Make obsolete.
953 (dired-omit-here-always): Use dir-locals.el instead.
955 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
957 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
959 * help-fns.el (describe-function-1): Don't signal an error just because
960 the DOC file disappeared.
962 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
964 * eshell/esh-ext.el (eshell-external-command): Do not restrict
965 remote check to "ftp". (Bug#8089)
967 2011-02-21 Alan Mackenzie <acm@muc.de>
970 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
971 in macros finding their way into c-state-nonlit-pos-cache.
972 Strengthen the comments.
973 (c-state-dump): New commented out diagnostic routine.
975 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
977 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
978 `field' property of `rfn-eshadow-overlay'.
980 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
982 * net/netrc.el (netrc-parse): Comment fix.
984 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
986 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
987 Autoload. Add optional arg FRAME, and pass it to color-values.
988 (color-complement): Caller changed. Doc fix.
989 (color-gradient): Rewrite for better clarity and efficiency.
991 * faces.el (color-values): Use cond for clarity. Doc fix.
993 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
995 (list-colors-sort-key, list-colors-print):
996 Use color-normalized-values.
998 2011-02-20 Drew Adams <drew.adams@oracle.com>
1000 * color.el: First part of merge from hexrgb.el.
1001 (color-rgb-to-hex): Rename from color-rgb->hex.
1002 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1003 saturation to zero if the value is too small.
1004 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1005 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1006 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1007 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1008 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1009 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1010 (color-cie-de2000): Doc fix.
1012 2011-02-20 Alan Mackenzie <acm@muc.de>
1014 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1015 locating the beginning of a macro. (Bug#7595)
1017 2011-02-20 Glenn Morris <rgm@gnu.org>
1019 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1022 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1023 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1025 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1026 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1028 * progmodes/hideshow.el (hs-find-block-beginning)
1029 (hs-hide-level-recursive): Ignore comments when parsing braces
1032 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1034 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1035 (vc-bzr-pull): Use it.
1037 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1039 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1040 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1041 but returning an alist. Ignore comments in bzr conffile.
1042 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1043 (vc-bzr-error-regex-alist): New var.
1044 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1046 * vc/vc-dispatcher.el (vc-do-async-command):
1047 Bind inhibit-read-only to t.
1049 * progmodes/compile.el (compilation--flush-directory-cache):
1050 Handle the case where cdr of compilation--flush-directory-cache
1051 points to no buffer, which can occur if we previously switched to
1052 compilation-mode in a pregenerated buffer.
1054 2011-02-19 Kenichi Handa <handa@m17n.org>
1056 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1057 get the header copy into the temporary buffer.
1058 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1059 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1060 buffer-file-coding-system to undecided.
1062 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1064 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1065 Document completion with asterisk and a substring.
1067 2011-02-19 Glenn Morris <rgm@gnu.org>
1069 * files.el (find-file-literally): Doc fix.
1071 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1073 * log-edit.el (log-edit-insert-changelog):
1074 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1076 2011-02-19 Glenn Morris <rgm@gnu.org>
1078 * dired-x.el: Don't require dired-aux.
1079 (dired-do-create-files, dired-mark-read-regexp)
1080 (dired-do-create-files-regexp): Autoload from dired-aux.
1082 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1083 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1085 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1086 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1088 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1089 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1090 (dired-clean-up-buffers-too): Declare.
1092 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1093 * dired.el (dired-initial-position): Merge dired-x's version here.
1094 (dired-find-subdir): Declare.
1096 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1097 * dired-aux.el (dired-add-entry): Give it a doc-string.
1098 Merge dired-x's dired-omit handling here.
1099 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1101 * international/mule-diag.el (list-input-methods-1):
1102 Indent all lines of multi-line doc-strings. (Bug#8066)
1104 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1106 Fix 2011-02-02 changes.
1108 * apropos.el (apropos-print): Call apropos-mode before setting up
1109 buffer variables. Use inhibit-read-only.
1111 * emacs-lisp/package.el (package--list-packages):
1112 Call package-menu-mode before setting up buffer variables.
1114 * play/solitaire.el (solitaire): Call solitaire-mode before
1115 setting up buffer variables. Use inhibit-read-only.
1117 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1119 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1120 Bind case-fold-search to nil when looking for end of here-doc.
1122 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1124 * image-mode.el (image-toggle-display-image):
1125 Set find-file-literally non-nil in buffers visiting binary image
1128 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1130 * files.el (cd): Make completion obey cd-path (bug#7924).
1132 2011-02-18 Glenn Morris <rgm@gnu.org>
1134 * progmodes/prolog.el: Don't require compile when compiling.
1135 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1136 (compilation-forget-errors, compilation-fake-loc)
1137 (compilation-parse-errors-function, compilation-error-list): Declare.
1138 (prolog-inferior-mode): Require 'compile.
1140 * emulation/cua-base.el (pc-selection-mode): Declare.
1142 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1143 (customize-object): Add autoload cookie.
1144 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1145 (eieio-browse, describe-class, eieio-describe-class)
1146 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1147 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1148 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1149 * Makefile.in (autoloads): Make eieio.el writable.
1151 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1152 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1153 (dired-hack-local-variables): Use inhibit-read-only.
1154 (dired-guess-default): Simplify.
1155 (dired-make-relative-symlink): Use dotimes.
1156 (dired-simultaneous-find-file): Use dolist.
1157 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1158 (dired-x-hands-off-my-keys): Doc fix.
1159 (dired-x-bind-find-file): Doc fix. Use remapping.
1160 (after-init-hook): No need to add dired-x-bind-find-file.
1161 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1162 No need to call expand-file-name.
1163 (dired-filename-at-point): Remove unused locals `end', `filename'.
1165 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1169 2011-02-18 Christian Ohler <ohler@gnu.org>
1171 * emacs-lisp/ert.el (ert--setup-results-buffer)
1172 (ert-results-pop-to-backtrace-for-test-at-point)
1173 (ert-results-pop-to-messages-for-test-at-point)
1174 (ert-results-pop-to-should-forms-for-test-at-point)
1175 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1176 were incorrect and unnecessary. This should make `make check'
1179 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1181 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1182 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1183 * lisp/allout.el: Remove commentary about remove encryption
1184 passphrase mnemonic support and verification.
1185 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1186 armored text using gpg1, and indicate that the gpg version *might*
1187 be the problem in the error message.
1189 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1191 * net/rcirc.el (rcirc-float-time): New function.
1192 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1193 (rcirc-ctcp-sender-PING): Use it.
1195 2011-02-17 Glenn Morris <rgm@gnu.org>
1197 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1198 (speedbar-update-flag, speedbar-fetch-etags-command)
1199 (speedbar-fetch-etags-arguments):
1200 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1201 (term-completion-autolist, term-completion-addsuffix)
1202 (term-completion-recexact, term-completion-fignore):
1203 * term/sup-mouse.el (sup-mouse-fast-select-window):
1204 * term/x-win.el (x-select-request-type):
1205 Convert some defvars with "*" to defcustoms.
1207 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1209 * vc/vc.el (vc-default-previous-version):
1210 Remove alias that points nowhere. (Bug#4496)
1212 * dired-x.el (dired-clean-up-after-deletion):
1213 kill-buffer does not need save-excursion.
1214 (dired-do-run-mail): Doc fix.
1215 (dired-filename-at-point): Doc fix.
1216 Use looking-at, and skip-chars rather than re search.
1218 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1220 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1222 * allout-widgets.el: New allout extension that shows allout
1223 outline structure with graphical widgets. 'allout-widgets'
1224 customize group is an 'allout' subgroup, for easy discovery.
1226 * allout.el: Include PGP and GnuPG in Keywords, and other
1227 commentary refinements.
1228 (allout-abbreviate-flattened-numbering): Rename to
1229 allout-flattened-numbering-abbreviation, and
1230 define-obsolete-variable-alias the old name.
1231 (allout-flattened-numbering-abbreviation): Rename from
1232 allout-abbreviate-flattened-numbering.
1233 (allout-mode-p): Include among autoloads, for use by other modes
1235 (allout-listify-exposed):
1236 Use allout-flattened-numbering-abbreviation.
1237 (allout-encrypt-string): Use set-buffer-multibyte directly.
1238 (allout-set-buffer-multibyte): Remove.
1240 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1242 * simple.el (just-one-space): Remove useless `or' call.
1244 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1246 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1247 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1248 (soap-decoded-multi-refs, soap-current-wsdl)
1249 (soap-encoded-namespaces): Rename CL-style *...* variables.
1251 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1253 * net/soap-client.el: Add "comm" and "hypermedia" to the
1254 keywords. Reflow too long lines.
1256 * net/soap-inspect.el: Ditto. Require 'cl.
1258 2011-02-16 Bastien Guerry <bzg@altern.org>
1260 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1261 in a `doctor-type' argument.
1263 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1265 * net/soap-client.el:
1266 * net/soap-inspect.el: New files.
1268 2011-02-16 Leo <sdl.web@gmail.com>
1270 * dired-x.el (dired-mode-map, dired-extra-startup):
1271 Remove dired-copy-filename-as-kill since it's already in dired.el.
1273 2011-02-16 Glenn Morris <rgm@gnu.org>
1275 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1276 Doc fixes. Add :set property, replacing top-level calls.
1277 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1278 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1279 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1280 (dired-clean-up-after-deletion): Use when and dolist.
1281 (dired-jump): Use unless and when.
1282 (dired-virtual): Use line-end-position.
1283 (dired-default-directory-alist): Rename from default-directory-alist.
1284 (dired-default-directory): Update for above name change.
1285 (dired-vm): Drop VM < 5 and simplify.
1286 (dired-buffer-more-recently-used-p): Rewrite.
1287 (dired-filename-at-point): Use when and or.
1288 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1291 2011-02-15 Glenn Morris <rgm@gnu.org>
1293 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1295 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1297 * vc/vc-git.el (vc-git-root-log-format): New option for
1298 customizing log format.
1299 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1300 (vc-git-log-view-mode): Use it.
1301 (vc-git-expanded-log-entry): New function.
1302 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1304 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1305 customizing log format.
1306 (vc-hg-print-log): Use it.
1307 (vc-hg-expanded-log-entry): New function.
1308 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1309 vc-hg-expanded-log-entry. Truncate lines in root log.
1311 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1313 * vc/log-view.el (log-view-mode-menu):
1314 Add log-view-toggle-entry-display.
1316 2011-02-14 Glenn Morris <rgm@gnu.org>
1318 * dired-x.el: Don't require man when compiling.
1319 (dired-omit-extensions, dired-local-variables-file)
1320 (dired-x-hands-off-my-keys): Make them defcustoms.
1321 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1322 (vm-visit-folder): Declare rather than defining.
1323 (dired-x-help-address, dired-x-variable-list): Remove.
1324 (dired-x-submit-report): Make it an obsolete alias.
1326 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1328 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1330 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1332 * net/imap.el: Bring it back.
1334 2011-02-13 Alan Mackenzie <acm@muc.de>
1336 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1337 narrow-to-region call that cuts context off the end (Bug#7722).
1339 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1340 Refactor nested if-forms with a simple cond.
1341 (c-forward-<>-arglist): Revert 2011-01-31 change.
1343 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1345 * vc/log-view.el: New command log-view-toggle-entry-display for
1346 toggling log entries between concise and detailed forms.
1347 (log-view-toggle-entry-display): New command.
1348 (log-view-mode-map): Bind RET to it.
1349 (log-view-expanded-log-entry-function): New variable.
1350 (log-view-current-entry, log-view-inside-comment-p)
1351 (log-view-current-tag): New functions.
1352 (log-view-toggle-mark-entry): Use log-view-current-entry and
1353 log-view-end-of-defun instead of searching directly with
1354 log-view-message-re.
1355 (log-view-end-of-defun): Likewise. Add optional ARG for
1356 compatibility with end-of-defun.
1357 (log-view-end-of-defun): Ignore comments and VC buttons.
1359 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1360 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1362 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1364 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1366 * net/imap-hash.el: Remove file.
1368 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1370 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1372 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1375 * net/tramp-imap.el: Remove file.
1377 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1379 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1380 widget library for buttons, just use button.el.
1382 * vc/log-view.el (log-view-mode-map): Don't inherit from
1385 2011-02-12 Glenn Morris <rgm@gnu.org>
1387 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1388 (nintersection, set-difference, nset-difference)
1389 (set-exclusive-or, nset-exclusive-or): Doc fix.
1391 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1393 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1394 :italic props, so that frame-set-background-mode works. (Bug#7966)
1396 * simple.el (next-error): Doc fix.
1398 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1400 * dired-aux.el (dired-create-files): Adapt destination name to
1401 match the new behavior of copy-directory.
1403 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1405 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1406 from rmail-dont-reply-to-names. Callers changed.
1407 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1408 (rmail-dont-reply-to): Make it an obsolete alias.
1410 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1411 nil, and make obsolete (Bug#7888).
1412 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1414 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1416 * mail/rmailsort.el (rmail-sort-by-correspondent)
1417 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1419 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1421 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1423 * files.el (copy-directory): New argument COPY-CONTENTS for
1424 copying directory contents into another existing directory.
1426 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1428 * minibuffer.el (completion-table-case-fold): New function for
1429 creating a case-insensitive completion table.
1431 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1433 * net/tramp.el (tramp-default-method): Also check if
1434 `auth-source-search' is bound.
1435 (tramp-read-passwd): Use `auth-source-search' instead of
1436 `auto-source-user-or-password'.
1438 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1439 `auto-source-user-or-password.
1440 (tramp-imap-passphrase-callback-function): Use it.
1442 * net/imap-hash.el: Autoload `auto-source-search' instead of
1443 `auto-source-user-or-password.
1444 (imap-hash-open-connection): Use it.
1446 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1447 `auto-source-user-or-password.
1448 (smtpmail-try-auth-methods): Use it.
1450 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1452 * emacs-lisp/package.el: Allow packages to be reinstalled.
1453 (package--write-file-no-coding): Remove EXCL arg.
1454 (package-unpack-single): Don't use it.
1456 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1458 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1459 in each sub directory.
1460 (vc-svn-registered): Use vc-svn-root.
1461 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1462 (vc-svn-repository-hostname): Use "svn info".
1464 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1466 * simple.el (delete-trailing-whitespace): New optional buffer
1469 2011-02-11 Bastien Guerry <bzg@altern.org>
1471 * files.el (basic-save-buffer): save unmodified buffers when
1472 the file pointed by buffer-file-name doesn't exist.
1474 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1476 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1478 2011-02-11 Glenn Morris <rgm@gnu.org>
1480 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1482 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1484 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1486 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * server.el (server-process-filter): Use pcase.
1490 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1492 (smie-indent--parent): Extend to "parent of arg".
1493 (smie-indent-inside-string): New function.
1494 (smie-indent-functions): Use it.
1496 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1497 bzr locking race condition.
1499 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1500 still valid before using it.
1502 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1503 `message' -> `compilation-message' rename (bug#8004).
1505 Move keymap initialization into declaration.
1506 * textmodes/enriched.el (enriched-mode-map):
1507 * textmodes/bib-mode.el (bib-mode-map):
1508 * term/lk201.el (lk201-function-map):
1509 * tar-mode.el (tar-mode-map):
1510 * replace.el (occur-mode-map):
1511 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1512 * progmodes/idlw-help.el (idlwave-help-mode-map):
1513 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1514 * play/solitaire.el (solitaire-mode-map):
1515 * play/snake.el (snake-mode-map, snake-null-map):
1516 * play/pong.el (pong-mode-map):
1517 * play/handwrite.el (menu-bar-handwrite-map):
1518 * play/gametree.el (gametree-mode-map):
1519 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1520 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1521 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1522 (newsticker--url-keymap):
1523 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1524 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1525 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1526 (menu-bar-edit-menu, menu-bar-custom-menu)
1527 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1528 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1529 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1530 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1531 (menu-bar-tools-menu, menu-bar-describe-menu)
1532 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1533 (menu-bar-help-menu):
1534 * mail/rmailsum.el (rmail-summary-mode-map):
1535 * kmacro.el (kmacro-step-edit-map):
1536 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1537 (ibuffer-mode-operate-map):
1538 * hi-lock.el (hi-lock-menu, hi-lock-map):
1539 * emulation/vip.el (vip-mode-map):
1540 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1541 * bookmark.el (bookmark-bmenu-mode-map):
1542 * help-mode.el (help-mode-map): Move initialization into declaration.
1544 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1546 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1547 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1548 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1549 (rcirc-cmd-me, rcirc-authenticate): Use them.
1551 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1553 * allout.el: Synopsis: Change allout user configuration so
1554 auto-activation is controlled solely by customization
1555 `allout-auto-activation'.
1557 (allout-auto-activation-helper, allout-setup): New autoloads
1558 implement new custom set procedure for allout-auto-activation.
1559 Also, explicitly invoke (allout-setup) after allout-auto-activation
1560 is custom-defined, to affect the settings in emacs sessions besides
1561 the few where allout-auto-activation customization is done.
1562 (allout-auto-activation): Use allout-auto-activation-helper to
1563 :set. Revise the docstring.
1564 (allout-init): Reduce functionality to just customizing
1565 allout-auto-activation, and mark obsolete.
1566 (allout-mode): Respect string values for allout-auto-activation.
1567 Run allout-after-copy-or-kill-hook without any args.
1568 (allout-mode, allout-layout, allout-default-layout)
1569 (outlineify-sticky): Adjust docstring for new scheme.
1570 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1571 should concentrate on the kill ring.
1573 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1575 * password-cache.el (password-cache-remove): Accept secrets that are
1578 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1580 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1581 of here-doc that immediately follows a comment.
1583 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1585 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1587 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1589 (rcirc-ctcp-sender-PING): New function.
1591 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1594 Remove the mark/nomark handling, and activate shift-select-mode instead.
1596 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1598 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1600 * calc/calc-units.el (math-logunits-quant): Add support for
1601 non-logarithmic units.
1603 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1605 * allout.el (allout-after-copy-or-kill-hook): New hook for
1606 extension-specific processing of killed text.
1607 (allout-mode): Include new allout-after-copy-or-kill-hook among
1609 (allout-kill-line, allout-kill-topic): Ensure that processing
1610 after kill happens even if barf-if-buffer-read-only is raised.
1611 Include new allout-after-copy-or-kill-hook among that subsequent
1613 (allout-deannotate-hidden): Actually remove the annotation text
1616 * allout.el (allout-listify-exposed): Copy text sans text properties.
1618 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1620 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1622 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1624 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1626 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1628 * calc/calc.el (calc-logunits-field-reference): Rename from
1629 `calc-default-field-reference-level'.
1630 (calc-logunits-power-reference): Rename from
1631 `calc-default-power-reference-level'.
1633 * calc/calc-units.el (math-logunits-quant): Rename from
1634 `math-logunits-level'
1635 (math-logunits-plus): Rename from math-logcombine.
1636 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1637 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1638 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1640 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1641 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1642 (calc-logunits-quantity): Rename from `calc-level'.
1643 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1644 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1645 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1646 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1647 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1650 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1651 (calc-ul-prefix-help): Remove.
1652 (calc-l-prefix-help): New function.
1653 (calc-full-help): Add reference to `calc-l-prefix-help'.
1655 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1657 * calc/README: Mention logarithmic units.
1659 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1661 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1662 non-ASCII characters (Bug#7925).
1664 2011-02-05 Glenn Morris <rgm@gnu.org>
1666 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1668 * calendar/diary-lib.el (diary-font-lock-keywords):
1669 Tweak diary-time-regexp match. (Bug#7891)
1671 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1672 (f90-mode): Use it for mode's `find-tag-default-function' property.
1674 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1676 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1678 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1680 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1683 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1685 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1686 font-lock-syntax-table remappings.
1687 (sh-here-doc-markers, sh-here-doc-re): Remove.
1688 (sh-font-lock-close-heredoc): Remove.
1689 (sh-syntax-propertize-here-doc): New function.
1690 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1691 instead of the sh-here-doc-re.
1692 (sh-font-lock-paren): Don't do anything in comments or strings.
1693 Handle line continuations. Accept a few more chars.
1694 Don't rely on the font-lock-syntax-table remappings.
1695 `esac' is not a valid pattern.
1696 (sh-syntax-propertize-function): Handle here-docs differently, so we
1697 don't bother syntax-propertizing the insides.
1699 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1700 Handle new bashisms ";&" and ";;&" (bug#7947).
1702 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1704 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1705 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1707 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1709 * net/tramp.el (tramp-postfix-method-format)
1710 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1711 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1712 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1713 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1714 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1717 2011-02-04 Sam Steingold <sds@gnu.org>
1719 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1721 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1723 * international/mule-util.el (with-coding-priority): Doc fix.
1725 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1727 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1729 2011-02-03 Sam Steingold <sds@gnu.org>
1731 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1732 Do not error out when `func' is nil.
1734 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1736 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1737 `tramp-default-remote-path' to the docstring.
1738 (tramp-get-remote-path): Suppress error message when `getconf
1741 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1743 2011-02-03 Glenn Morris <rgm@gnu.org>
1745 * vc/vc-hg.el (vc-hg-command): Doc fix.
1747 * term/w32-win.el (libpng-version): Declare for compiler.
1749 * msb.el: No need to load dired while compiling.
1751 * emacs-lisp/elint.el (elint-standard-variables):
1752 Remove a couple of built-ins that now have doc-strings.
1754 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1755 `require' is automatically `eval-and-compile'd.
1757 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1758 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1760 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1761 Move definition before use.
1762 (strokes-report-bug): Make it obsolete.
1764 2011-02-02 Sam Steingold <sds@gnu.org>
1766 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1767 from `special-mode', entering it makes the buffer read-only, so
1768 call it only when everything has been already inserted.
1769 * emacs-lisp/ert.el (ert--setup-results-buffer)
1770 (ert-results-pop-to-backtrace-for-test-at-point)
1771 (ert-results-pop-to-messages-for-test-at-point)
1772 (ert-results-pop-to-timings): Ditto.
1773 * emacs-lisp/package.el (package--list-packages): Ditto.
1774 * play/solitaire.el (solitaire): Ditto.
1776 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1778 * progmodes/compile.el: Make all faces inherit.
1779 (compilation-warning): Inherit from font-lock-variable-name-face.
1780 (compilation-info): Inherit from font-lock-type-face.
1781 (compilation-line-number): Reassign to font-lock-keyword-face.
1782 (compilation-column-number): Reassign to font-lock-doc-face.
1783 (compilation-leave-directory-face): Reassign to
1784 font-lock-builtin-face.
1786 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1788 * dired.el (dired-insert-directory): Don't invoke `ls' when
1789 ls-lisp.el is used to emulate it.
1791 2011-02-01 Julien Danjou <julien@danjou.info>
1793 * color.el (color-gradient): Add a color-gradient function.
1795 2011-02-01 Sam Steingold <sds@gnu.org>
1797 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1798 bind "z" to `kill-this-buffer'.
1799 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1800 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1801 (apropos-mode): Inherit from `special-mode'.
1802 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1803 * bookmark.el (bookmark-bmenu-mode): Define using
1804 `define-derived-mode' inheriting from `special-mode'.
1805 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1806 * image-mode.el (image-mode-map): Ditto.
1807 * replace.el (occur-mode): Define using
1808 `define-derived-mode' inheriting from `special-mode'.
1809 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1810 * calendar/diary-lib.el (diary-fancy-display-mode):
1811 Inherit from `special-mode-map'.
1812 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1813 Inherit from `special-mode'.
1814 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1816 (package-menu-mode): Define using `define-derived-mode'
1817 inheriting from `special-mode'.
1818 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1819 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1820 (xesam-mode-map): Define separately.
1821 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1822 * progmodes/compile.el (compilation-minor-mode-map)
1823 (compilation-mode-map): Inherit from `special-mode-map'.
1824 * vc/diff-mode.el (diff-mode-shared-map):
1825 Inherit from `special-mode-map'.
1826 * vc/log-view.el (log-view-mode-map): Add a comment.
1828 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1830 * custom.el (load-theme): Define return value. Drop use of
1831 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1832 (custom-theme-load-confirm): Scroll in the correct window.
1833 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1835 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1836 checkbox if load-theme fails.
1838 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1840 * progmodes/compile.el (compilation-next-error): Check there's
1841 a message before using it (bug#7941).
1843 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1845 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1846 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1847 of potential pivots.
1849 2011-01-31 Alan Mackenzie <acm@muc.de>
1851 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1852 Continue parsing if we encounter a naked # (Bug#7595).
1853 (c-beginning-of-statement): Avoid loop in locating the beginning
1854 of a macro. (Not actually committed until 2011-02-20, see above).
1856 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1858 * files.el (copy-directory): Fix arguments to recursive call.
1860 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1862 * files.el (copy-directory): If destination is an existing
1863 directory, copy into a subdirectory there.
1865 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1867 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1870 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1872 * image-dired.el (image-dired-mouse-display-image): No-op if no
1873 file is found (Bug#7817).
1875 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1877 2011-01-31 Kenichi Handa <handa@m17n.org>
1879 * international/quail.el (quail-keyboard-layout-alist):
1880 Remove superfluous SPC for "pc105-uk" (bug#7927).
1882 2011-01-31 Glenn Morris <rgm@gnu.org>
1884 * msb.el (msb-menu-bar-update-buffers): Update for changed
1885 argument handling of menu-bar-select-frame. (Bug#7902)
1887 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1889 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1890 to the recursion depth (Bug#7722).
1892 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1894 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1895 command-line-default-directory (Bug#7872).
1897 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * progmodes/compile.el (compilation--flush-directory-cache):
1900 New function, extracted from compilation--remove-properties.
1901 (compilation--remove-properties, compilation--parse-region): Use it.
1902 (compilation--previous-directory): Handle one more case.
1903 (compilation-enable-debug-messages): Remove.
1904 (compilation-parse-errors, compilation--flush-parse): Just remove the
1905 left over debug messages.
1907 2011-01-31 Sam Steingold <sds@gnu.org>
1909 * progmodes/compile.el (compilation-enable-debug-messages):
1910 Add a variable to make the parsing messages introduced in
1911 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1912 (compilation-parse-errors, compilation--flush-parse): Use it.
1914 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1916 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1917 (rcirc-nick-completion-format): New defcustom.
1918 (rcirc-complete): Use it.
1920 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1922 * net/rcirc.el: Clean log filenames (Bug#7933).
1923 (rcirc-log-write): Use convert-standard-filename.
1924 (rcirc-log-filename-function): Documentation updates.
1926 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1928 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1929 Check report-emacs-bug-can-use-osx-open and use that if t.
1930 (report-emacs-bug-can-use-osx-open): New function.
1931 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1932 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1934 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1936 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1937 updating Dired or VC-dir buffers after async command completes.
1939 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1940 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1942 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1943 completions if it exists. Use vc-set-async-update.
1944 (vc-git-pull): Use vc-set-async-update.
1946 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1947 read-shell-command. Use vc-set-async-update.
1948 (vc-hg-merge-branch): Use vc-set-async-update.
1950 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1952 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1953 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1956 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1958 * progmodes/compile.el: Avoid an N² behavior in grep.
1959 (compilation--previous-directory): New fun.
1960 (compilation--previous-directory-cache): New var.
1961 (compilation--remove-properties): Flush it.
1962 (compilation-directory-properties, compilation-error-properties):
1963 Use the new fun to speed up looking for the current directory.
1965 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1967 * vc/vc-hg.el (vc-hg-history): New var.
1968 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1969 (vc-hg-merge-branch): New function.
1971 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1972 the other way around.
1974 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1975 (vc-git-merge-branch): New functions.
1976 (vc-git-history): New var.
1978 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1980 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1982 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1983 vc-do-async-command.
1985 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1988 2011-01-28 Leo <sdl.web@gmail.com>
1990 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1991 highlighting to the "this function is advised" message.
1993 * help-mode.el (help-mode-finish): Apply highlighting here, to
1994 avoid clobbering by substitute-command-keys (Bug#6304).
1996 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1998 * woman.el (woman0-roff-buffer): Process roff escape sequences
1999 occurring prior to the first request (Bug#7843).
2001 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2003 * progmodes/compile.el: Don't use font-lock any more.
2004 (compilation-error-regexp-alist-alist): Change handling of makepp
2005 so it preserves the warning/error distinction on subsequent files.
2006 Simplify various rules.
2007 (compilation-directory-properties): Use font-lock-face.
2008 Add a compilation-message property.
2009 (compilation-internal-error-properties): Use font-lock-face.
2010 Don't set the compilation-debug property here.
2011 (compilation--put-prop, compilation--remove-properties)
2012 (compilation--parse-region, compilation--ensure-parse)
2013 (compilation--ensure-parse): New functions.
2014 (compilation-parse-errors): New function, largely inspired of
2015 compilation-mode-font-lock-keywords. Set compilation-debug here.
2016 (compilation--parsed): New var.
2017 (compilation--flush-parse): Use compilation--ensure-parse.
2018 (compilation-start): Don't call font-lock.
2019 (compilation-turn-on-font-lock): Remove.
2020 (compilation-setup): Don't set font-lock-extra-managed-props not change
2021 other font-lock settings, other than keywords.
2022 Don't activate font-lock-mode.
2023 Set change-major-mode-hook and before-change-functions.
2024 (compilation--unsetup): Remove properties and hooks.
2025 (compilation-next-single-property-change): New function.
2026 (compilation-next-error): Use it to parse when needed.
2027 (compile-goto-error): Parse buffer as needed.
2028 (compilation--compat-error-properties): Don't need a dummy `face'
2031 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2034 (compilation-process-setup-function): Fix docstring's false promises.
2035 (compilation-error-regexp-alist-alist): Catch omake's continuous
2036 recompilation message and avoid reuse of old markers.
2037 (compilation-parse-errors-function): Declare obsolete.
2038 (compilation-buffer-modtime): Remove.
2039 (compilation--make-cdrloc, compilation--loc->col)
2040 (compilation--loc->line, compilation--loc->file-struct)
2041 (compilation--loc->marker, compilation--loc->visited)
2042 (compilation--make-file-struct, compilation--file-struct->file-spec)
2043 (compilation--file-struct->formats)
2044 (compilation--file-struct->loc-tree): New macros. Use them.
2045 (compilation--message): New defstruct. Use them.
2046 (compilation-next-error-function): Don't mess with timestamps to try
2047 and guess when to reparse.
2049 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2052 (tex-old-error-file-name): New function,
2053 extracted from tex-compilation-parse-errors.
2054 (tex-compilation-parse-errors): Remove.
2055 (tex-error-regexp-alist): New var.
2056 (tex-shell): Use it to avoid compilation-parse-errors-function.
2058 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2059 (grep-mode-font-lock-keywords): Remove regexp that seems like
2060 a left-over from before we used compile.el.
2061 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2062 modifying the buffer within with-silent-modifications.
2064 * progmodes/compile.el: Cleanup text-properties namespace by using
2065 `compilation-message' instead of `message', `compilation-directory'
2066 instead of `directory', and `compilation-debug' instead of `debug'.
2067 (compilation-last-buffer, compilation-parsing-end)
2068 (compilation-error-list, compilation-old-error-list): Move to the
2069 compatibility part of the code.
2070 (compilation-error-properties): If `file' is a function, let it return
2072 (compilation-mode-font-lock-keywords): Be more conservative with the
2073 omake "^ *" pattern prefix, to try and minimize the risk of
2074 pathologically slow regexp matching.
2075 (compilation-start): Use inhibit-read-only.
2076 (compilation--unsetup): New function.
2077 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2078 (compilation-filter): Minor tweaks.
2079 (compilation-next-error-function): Try and avoid abusing variables.
2080 (compilation--flush-file-structure): New fun.
2081 (compilation-fake-loc): Use it to improve behavior when file is reused.
2082 (debug-ignored-errors): Add "Moved past last ...".
2083 (compilation--compat-error-properties)
2084 (compilation--compat-parse-errors): Rename by doubling the "-".
2086 Port features from the previous prolog.el to the new one.
2087 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2088 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2089 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2090 variable and use a function to compute the value dynamically.
2091 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2092 (prolog-continued-prompt-regexp): Remove, unused.
2093 (prolog-find-value-by-system): Try and use the value of prolog-system
2094 in the *prolog* buffer if it helps.
2095 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2096 (prolog-zip-on): ..and check prolog-system and version here instead.
2097 (prolog-inferior-self-insert-command): New command.
2098 (prolog-inferior-mode-map): Use it.
2099 (prolog-inferior-error-regexp-alist): New var.
2100 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2101 (prolog-input-filter): Use derived-mode-p.
2102 (prolog-inferior-guess-flavor): New function.
2103 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2104 make-comint to avoid running comint-mode twice.
2105 (prolog-inferior-buffer): New fun.
2106 (prolog-old-process-region, prolog-old-process-file):
2107 Don't call prolog-bsts here...
2108 (prolog-build-prolog-command): ...do it here instead.
2109 (prolog-old-process-region, prolog-old-process-file):
2110 Use compilation-fake-loc and compilation-forget-errors.
2111 (prolog-consult-compile-region): Use bolp.
2113 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2115 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2117 2011-01-27 Sam Steingold <sds@gnu.org>
2119 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2120 Remove "*server*" which is never created by emacs server.
2122 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2124 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2125 there are some diff switches.
2127 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2129 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2130 Copy change made to ruby-font-lock-syntactic-keywords.
2132 * htmlfontify.el: Make it obey the font-lock-face text property.
2133 Miscellaneous cleanup such as:
2134 - Don't hide expressions after a closing paren.
2135 - Move initial setq into let.
2136 - Hoist common parts out of ifs.
2137 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2138 (hfy-face-at): Use get-text-property instead.
2139 (hfy-prop-invisible-p): Use invisible-p if available.
2140 (htmlfontify-manual): Use \\[...].
2141 (hfy-html-quote-regex): Use [...].
2142 (hfy-combined-face-spec): Simplify.
2143 (hfy-compile-face-map): Don't presume point-min==1.
2144 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2145 match end of string.
2146 (hfy-text-p): η-reduce.
2147 (hfy-tags-for-file): Receive cache-hash directly.
2148 (hfy-mark-tag-names): Adjust call.
2150 2011-01-27 Glenn Morris <rgm@gnu.org>
2152 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2153 (msb-after-load-hook): Remove eval-after-load wackiness.
2155 2011-01-25 Sam Steingold <sds@gnu.org>
2157 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2158 literal "diff" (important for windows-nt).
2160 2011-01-25 Glenn Morris <rgm@gnu.org>
2162 * emacs-lisp/copyright.el (copyright-at-end-flag)
2163 (copyright-names-regexp): Add safety properties.
2164 (copyright-year-ranges): New option.
2165 (copyright-find-end): New function, split from copyright-update-year.
2166 (copyright-update-year): Use copyright-find-end.
2167 (copyright-fix-years): Optionally, convert years to ranges.
2168 Handle years continued over comment lines.
2169 Do not mess with the fill-prefix.
2170 Do not call copyright-update.
2171 (copyright-update-directory): Optionally, fix years rather than update.
2172 Skip directories. Find files with only safe local vars.
2174 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * files.el (file-name-non-special): Only change buffer-file-name after
2177 insert-file-contents if it's `visit'ing the file (bug#7854).
2179 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2181 * dired.el (dired-revert): Doc fix (Bug#7758).
2183 * simple.el (line-move-visual): Doc fix (Bug#7594).
2185 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2187 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2188 here-doc which ends with an underscore.
2189 (ruby-mode-set-encoding): Skip shebang line always.
2190 (ruby-mode-map): Bind C-c C-c to comment-region.
2191 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2192 (ruby-forward-sexp): Stop after literal hash key labels.
2193 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2196 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2198 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2199 the correct buffer (Bug#7650).
2201 2011-01-25 Glenn Morris <rgm@gnu.org>
2203 * comint.el (comint-mode): Doc fix. (Bug#7897)
2205 * simple.el (do-auto-fill): Give it a doc string.
2207 * button.el (make-text-button): Doc fix. (See bug#7881)
2209 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2211 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2212 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2214 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2215 Handle ?" and friends differently (e.g. don't use backrefs).
2217 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2219 * calc/calc.el (calc-default-power-reference-level)
2220 (calc-default-field-reference-level): New variables.
2221 * calc/calc-units.el (math-standard-units): Add dB and Np.
2222 (math-logunits): New variable.
2223 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2224 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2225 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2227 (math-find-base-units-rec): Add entry for ln(10).
2228 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2229 (calc-ul-prefix-help): New function.
2230 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2231 functions. Add keybindings for new units functions.
2233 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2235 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2236 rcirc buffers. (Bug#4940)
2238 2011-01-22 Glenn Morris <rgm@gnu.org>
2240 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2241 split out from copyright-update-year.
2242 (copyright-update): Don't mess with the GPL version if we don't own the
2243 copyright. Update license regexp, and remove no longer needed
2245 (copyright-fix-years): Use copyright-find-copyright.
2247 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2249 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2251 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2253 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2254 (lm): Rename to landmark.
2255 (lm-test-run): Rename to landmark-test-run.
2257 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2259 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2260 "Case sensitive" menu item.
2262 2011-01-22 Roland McGrath <roland@frob.com>
2264 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2265 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2267 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2269 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2271 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2273 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2274 Assume foo(bar) is a manpage reference rather than some unquoted
2277 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2280 Suggested by Flo <sensorflo@gmail.com>.
2282 2011-01-22 Glenn Morris <rgm@gnu.org>
2284 * progmodes/compile.el (compilation-error-regexp-alist):
2285 Fix custom type. (Bug#7812)
2287 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2289 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2290 allout-number-siblings, in keeping with what obtained due to
2291 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2293 (allout-before-change-handler): Better expose spots affected by
2296 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2298 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2300 2011-01-22 Phil Hagelberg <phil@evri.com>
2302 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2303 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2304 (pcmpl-ssh-config-hosts): New function.
2305 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2306 pcmpl-ssh-known-hosts.
2308 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2310 * calc/calc-undo.el (calc-undo): Autoload it.
2311 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2312 and autoload for `calc-undo'.
2313 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2314 * calc/calc-prog.el:
2315 * calc/calc-graph.el:
2316 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2318 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2320 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2321 keybindings to `calc-undo'.
2323 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2325 Don't mess with *temp*.
2326 * obsolete/spell.el: Move from textmodes/spell.el.
2328 * term.el (term-read-input-ring):
2329 * startup.el (display-startup-echo-area-message):
2330 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2331 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2332 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2335 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2337 * allout.el (allout-institute-keymap): Use fset instead of
2338 reapplying defalias.
2340 (allout-hotspot-key-handler): Check for non-control-modified
2341 bindings for hotspot characters if there are no control-modified
2344 * allout.el: Summary - migrate to defining allout mode using
2345 define-minor-mode instead of defun. Significantly clean-up
2346 internal keymap provisions, refactoring and, in the process,
2347 removing a lot of accumulated cruft.
2349 allout-mode-map is now a keymap by virtue of being a defalias to
2350 allout-mode-map-value, which contains the actual keymap structure.
2352 (allout-mode): Use define-minor-mode rather than defun.
2353 Remove now-unnecessary minor-mode setup activities from the body.
2354 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2355 entry will be '(allout-mode . allout-mode-map) - see
2356 allout-mode-map-value, below. Adjust docstring to track changes.
2357 (allout-minor-mode): Remove this defalias, now that we're using
2359 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2360 keymap is allout-mode-map-value, via defalias.
2361 (allout-mode-map-value): The variable holding the actual mode
2362 keymap structure, by virtue of defalias from allout-mode-map.
2363 (allout-compose-and-institute-keymap): Rename from
2364 allout-bind-keys, and including the binding-composition
2365 functionality of the former produce-allout-mode-map and
2366 allout-setup-mode-map.
2367 (allout-institute-keymap): Take over the "setup" part of the former
2368 allout-setup-mode-map. Reassign allout-mode-map-value value and
2369 update the defalias.
2370 (allout-command-prefix, allout-prefixed-keybindings)
2371 (allout-unprefixed-keybindings):
2372 Use allout-compose-and-institute-keymap to process the bindings.
2373 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2374 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2375 user can customize if they want to use that binding.
2376 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2377 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2378 elided that, previously, instead of the one for \C-h.)
2379 (allout-hotspot-key-handler): Remove attempt to resolve the key
2380 through the literal key-string lookup on allout-keybindings-list.
2381 That probably hasn't worked for a Long Time, and removal of
2382 allout-keybindings-list further simplifies the keybindings situation.
2383 (allout-pre-command-business): Use allout-mode-map-value instead
2385 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2386 the bindings if they want to use a keybinding having a trailing
2387 \C-h. No deprecation needed since this feature was never in a release.
2388 (allout-keybindings-list): Remove. It's not been useful for a
2389 while. (See allout-hotspot-key-handler changes, above.)
2390 (produce-allout-mode-map): Remove. Consolidate into
2391 allout-compose-and-institute-keymap.
2392 (allout-mode-map-adjustments): Remove. No longer necessary with
2393 removal of allout-preempt-trailing-ctrl-h.
2394 (allout-setup-mode-map): Remove. Consolidate into
2395 allout-compose-and-institute-keymap and allout-institute-keymap.
2397 2011-01-20 Glenn Morris <rgm@gnu.org>
2399 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2401 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2403 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2405 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2407 * files.el (find-alternate-file, basic-save-buffer)
2408 (basic-save-buffer-2, revert-buffer, recover-file)
2409 (kill-buffer-ask, abort-if-file-too-large)
2410 (set-visited-file-name, write-file, backup-buffer)
2411 (basic-save-buffer, save-some-buffers):
2412 * dired-aux.el (dired-compress-file): Callers changed.
2414 2011-01-19 Glenn Morris <rgm@gnu.org>
2416 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2417 Also check the property status. (Bug#7861)
2419 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2421 * net/tramp.el (tramp-debug-message): Extend function exclude
2422 list. Use `regexp-opt'.
2424 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2426 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2427 highlighting doesn't spill over subsequent lines.
2429 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2430 keymap expression. Improve docstring.
2432 * electric.el (electric-indent-post-self-insert-function):
2433 Don't auto-indent for indent-to-left-margin, it's too often
2436 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2438 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2439 spaces if the frame was resized, so that the full visible buffer
2440 serves as canvas for strokes.
2442 2011-01-16 Glenn Morris <rgm@gnu.org>
2444 * info-xref.el (info-xref-docstrings): Replace cl function.
2445 Also skip directories.
2447 2011-01-16 Kevin Ryde <user42@zip.com.au>
2449 * info-xref.el: Version 3.
2450 (info-xref-check, info-xref-check-all): Move commentary details
2451 into docstrings for better visibility.
2452 Use compilation-mode for the results buffer.
2453 (info-xref-output, info-xref-output-error, info-xref-with-output)
2454 (info-xref-filename, info-xref-in-progress):
2455 New internals for this.
2456 (info-xref-check-list, info-xref-check-buffer)
2457 (info-xref-check-all-custom): Use those.
2458 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2459 (info-xref-output-heading): Rename from info-xref-filename-heading.
2460 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2461 (info-xref-filename-heading): Move to output managing section.
2462 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2463 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2464 (info-xref-subfile-p): Move to generic section with those two.
2465 (info-xref-check-node): New function split from
2466 info-xref-check-buffer, shared by info-xref-docstrings.
2467 (info-xref-goto-node-p): Move to a checking section with that func.
2468 (info-xref-unavail): New counter.
2469 (info-xref-check-node): Use it.
2470 (info-xref-with-output): Show count of unavailables at end of output.
2471 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2472 symlinks. Exclude .texi files. Exclude Emacs backup files.
2473 (info-xref-check-all-custom): Fix quietening viper-mode and
2474 gnus-registry-install -- use setq not let so as not to unbind
2477 2011-01-16 Juri Linkov <juri@jurta.org>
2479 * isearch.el (isearch-abort): Don't quit if search has
2480 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2482 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2484 * files.el (backup-buffer): Make last-resort backup file in
2485 .emacs.d (Bug#6953).
2487 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2488 make it with permission 700.
2490 2011-01-15 Kenichi Handa <handa@m17n.org>
2492 * mail/rmailmm.el (rmail-mime-insert-header):
2493 Set rmail-mime-coding-system to a cons whose car is the last coding
2494 system used to decode the header.
2495 (rmail-mime-find-header-encoding): New function.
2496 (rmail-mime-insert-decoded-text):
2497 Override rmail-mime-coding-system if it is a cons.
2498 (rmail-show-mime): If only a header part was decoded, find the
2499 coding system while ignoring mm-charset-override-alist.
2501 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2503 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2505 2011-01-15 Kenichi Handa <handa@m17n.org>
2507 * mail/rmailmm.el (rmail-mime-next-item)
2508 (rmail-mime-previous-item): Delete them.
2509 (rmail-mime-shown-mode): Recursively call for children.
2510 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2512 (rmail-mime-raw-mode): Recursively call for children.
2513 (rmail-mode-map): Change mapping of tab and backtab to
2514 forward-button and backward-button respectively.
2515 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2517 (rmail-mime-update-tagline): New function.
2518 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2519 body display is changed.
2520 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2521 (rmail-mime-image): Delete this button type.
2522 (rmail-mime-toggle): New button type.
2523 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2524 body display is changed. Change the save button label to "Save".
2525 Don't process show/hide button here.
2526 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2527 the body display is changed. Unconditionally call
2528 rmail-mime-insert for children.
2529 (rmail-mime-handle): Update `display' vector of the just inserted
2531 (rmail-mime-process): If mail-header-parse-content-type returns
2532 nil, use "text/plain" as the fallback type.
2533 (rmail-mime-insert): For raw-mode, recursively call
2534 rmail-mim-insert for children.
2535 (rmail-mime): Handle the case that the current buffer is not rmail
2536 buffer (e.g. in summary buffer).
2538 2011-01-15 Kenichi Handa <handa@m17n.org>
2540 * mail/rmailmm.el (rmail-mime-next-item)
2541 (rmail-mime-previous-item): Skip the body of a non-multipart
2542 entity if a tagline is shown.
2544 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2546 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2547 (tmm-prompt): Simplify.
2548 (tmm-add-prompt): Remove unused var `win'.
2550 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2551 to minor mode which used nil accidentally to mean "turn off".
2553 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2555 * net/tramp-sh.el (tramp-find-inline-compress)
2556 (tramp-get-inline-coding): Quote command after pipe symbol for
2557 local calls under W32. (Bug#6784)
2559 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2561 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2562 only when running under W32.
2564 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2566 * progmodes/grep.el (grep-compute-defaults): Quote the program
2567 file name after the pipe symbol in Grep templates. (Bug#6784)
2568 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2570 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2572 * buff-menu.el (Buffer-menu-buffer-list): New var.
2573 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2574 restricted buffer list is not lost on revert (Bug#7749).
2576 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2578 * net/ldap.el (ldap-search-internal): Discard stderr output.
2580 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2582 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2584 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2588 2011-01-15 Kenichi Handa <handa@m17n.org>
2590 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2591 part as a plain text.
2592 (rmail-mime-process-multipart): Set the default content-type to
2593 nil for unknown multipart subtypes (bug#7651).
2595 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2597 * hexl.el (hexl-mode-old-*): Remove.
2598 (hexl-mode--old-var-vals): New var to replace them.
2599 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2600 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2601 Use them to set local vars (bug#7846).
2602 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2603 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2604 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2606 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2607 (smerge-resolve--normalize-re): New var.
2608 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2609 (smerge-resolve): Use them.
2610 * newcomment.el (comment-only-p): New function.
2611 (comment-or-uncomment-region): Use it.
2613 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2615 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2616 table, get the value before switching to the output buffer. (Bug#7733)
2618 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2622 2011-01-14 Kim F. Storm <storm@cua.dk>
2624 * emulation/cua-base.el (cua--init-keymaps):
2625 Remap exchange-point-and-mark in cua-global-keymap.
2627 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2629 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2632 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2636 (easy-menu-create-menu, easy-menu-convert-item-1):
2637 Use :label rather than nil for labels. Use `case'.
2638 Add :enable as alias for :active.
2639 (easy-menu-binding): Obey :label.
2641 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2643 Use run-mode-hooks for major mode hooks (bug#513).
2644 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2645 Rename from reftex-toc-map.
2646 (reftex-toc-mode): Use define-derived-mode.
2647 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2648 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2649 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2650 (reftex-select-label-mode, reftex-select-bib-mode):
2651 Use define-derived-mode.
2652 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2653 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2654 Move init into delcaration.
2655 (reftex-index-mode, reftex-index-phrases-mode):
2656 Use define-derived-mode.
2657 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2658 speedbar-syntax-table. Move init into declaration.
2659 (speedbar-mode-map): Rename from speedbar-key-map.
2660 Move init into declaration.
2661 (speedbar-file-key-map): Move init into declaration.
2662 (speedbar-mode): Use define-derived-mode.
2663 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2664 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2665 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2666 (chart-face-list): Move initialization into declaration.
2667 (chart-mode): Use define-derived-mode.
2668 * calculator.el (calculator-mode-map): Move init into declaration.
2669 (calculator-mode): Use define-derived-mode.
2671 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2672 work for nested comments.
2674 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2675 (prolog-use-prolog-tokenizer-flag): Change default when
2676 syntax-propertize can be used.
2677 (prolog-syntax-propertize-function): New var.
2678 (prolog-mode-variables): Move make-local-variable into `set'.
2679 Don't make comment-column local since we don't set it.
2680 Set comment-add (as it was in previous prolog.el). Use dolist.
2681 Set syntax-propertize-function.
2682 (prolog-mode, prolog-inferior-mode):
2683 Call prolog(-inferior)-menu directly, not through the mode-hook.
2684 (prolog-buffer-module, prolog-indent-level)
2685 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2686 (prolog-comment-limits, prolog-goto-comment-column):
2687 Use line-(end|beginning)-position.
2688 (prolog-build-prolog-command): Tighten up regexp.
2689 (prolog-consult-compile): Move make-local-variable into `set'.
2690 (prolog-consult-compile-filter, prolog-goto-next-paren)
2691 (prolog-help-on-predicate, prolog-clause-info)
2692 (prolog-mark-predicate): Don't let+setq.
2693 (prolog-indent-line): Use indent-line-to.
2694 Only call prolog-goto-comment-column if necessary.
2695 (prolog-indent-level): Use bobp.
2696 (prolog-first-pos-on-line): Remove, not used any more.
2697 (prolog-in-string-or-comment): Use syntax-ppss if available.
2698 (prolog-help-on-predicate): Use read-string.
2699 (prolog-goto-predicate-info): Simplify.
2700 (prolog-read-predicate): Use `default' rather than `initial'.
2701 (prolog-temporary-file): Use make-temp-file to close a security hole.
2702 (prolog-toggle-sicstus-sd): New command.
2703 (prolog-electric-underscore, prolog-variables-to-anonymous):
2704 Use dynamic-scoping as it was meant.
2705 (prolog-menu): Move menu definitions to top-level.
2706 Use a toggle-button for Sicstus's source debugger.
2707 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2709 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2710 Move other menu definition to top-level.
2712 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2714 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2715 name. Keep original document's directory as default-directory
2717 (doc-view-initiate-display): Fall back to normal mode when
2718 doc-view-mode cannot be enabled, also when extracting the document
2719 text into a separate buffer (bug#6446).
2721 * simple.el (shell-command): Don't error out if shell command
2722 buffer contains text with non-nil read-only property when erasing
2725 2011-01-13 Kim F. Storm <storm@cua.dk>
2727 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2728 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2729 items when cycling through the matches.
2731 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2733 * dired-x.el (dired-omit-verbose): New defcustom that allows
2734 disabling the omit messages.
2735 (dired-omit-expunge): Use it.
2737 2011-01-13 Christian Ohler <ohler@gnu.org>
2739 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2741 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2743 * font-lock.el (font-lock-verbose): Default to nil.
2745 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2747 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2748 (compose-mail): New arg RETURN-ACTION.
2749 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2751 * mail/sendmail.el (mail-return-action): New var.
2752 (mail-mode): Make it buffer-local.
2753 (mail-bury): Obey it. Move special Rmail window handling to
2755 (mail, mail-setup): New arg RETURN-ACTION.
2756 (sendmail-user-agent-compose): Move from simple.el.
2758 * mail/rmail.el (rmail-mail-return): New function.
2759 (rmail-start-mail): Pass it to compose-mail.
2761 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2763 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2764 menus. Add menu item for customize-themes.
2766 * cus-theme.el (customize-themes):
2767 * emacs-lisp/package.el (package--list-packages):
2768 Use switch-to-buffer.
2770 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2772 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2774 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * progmodes/prolog.el: Fix up coding convention and such.
2777 (prolog-indent-width): Use the same default as in
2778 previous prolog.el rather than tab-width which depends on which buffer
2779 is current when the file is loaded.
2780 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2782 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2783 (prolog-known-systems): Remove.
2784 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2785 Move initialization into declaration.
2786 (prolog-mode-map): Move initialization into declaration.
2787 Remove system-specific mode-map vars, since they referred to the same
2789 (prolog-mode-variables): Obey the user's preference w.r.t
2790 adaptive-fill-mode. Prefer symbol-value to `eval'.
2791 (prolog-mode-keybindings-edit): Add compatibility bindings.
2792 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2793 (mercury-mode-map): New var.
2794 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2795 (prolog-ensure-process, prolog-process-insert-string)
2796 (prolog-consult-compile): Use with-current-buffer.
2797 (prolog-guess-fill-prefix): Simplify data flow.
2798 (prolog-replace-in-string): New function to use instead of
2800 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2801 (prolog-uncomment-region): Use `uncomment-region' when available.
2802 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2803 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2804 of int-to-char and char-to-int.
2805 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2807 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2809 * progmodes/prolog.el: Replace by a whole new file.
2811 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2814 (declare-function, undefined, insert-for-yank)
2815 (replace-regexp-in-string): Follow checkdoc's recommendations.
2817 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2820 refreshing the diary buffer.
2822 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2824 * allout.el: Add 2011 to the file copyright.
2825 (allout-encrypt-string): Prevent encryption from adding an extra
2826 newline at the end of the topic body.
2827 (allout-version): Increment to 2.3.
2829 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2831 * net/dbus.el (dbus-unregister-service): Complete doc.
2832 Fix call of dbus-error signal.
2833 (dbus-register-property): Use `dont-register' keyword.
2835 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2837 * net/dbus.el (dbus-unregister-service): Translate returned
2838 integer into a symbol.
2839 (dbus-register-property): Use `dbus-register-service' to do the
2842 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2844 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2845 Suggested by Joakim Verona.
2847 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2849 * wid-edit.el (visibility): Replace :on-image and :off-image
2850 widget properties with :on-glyph and :off-glyph, for consistency
2851 with the `visibility' widget.
2852 (widget-toggle-value-create, widget-visibility-value-create):
2853 Merge into a single function `widget-toggle-value-create'.
2855 * cus-edit.el (custom-variable-value-create, custom-visibility)
2856 (custom-face-edit-value-create, custom-face-value-create):
2857 Replace :on-image and :off-image widget properties with :on-glyph and
2858 :off-glyph, for consistency with the `visibility' widget.
2860 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2862 * net/ldap.el (ldap-search-internal): Don't use eval.
2864 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2866 * subr.el (read-char-choice): Use read-key.
2868 * custom.el (custom-safe-themes): Rename from
2869 custom-safe-theme-files. Add :risky tag.
2870 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2871 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2873 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2875 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2876 from Search and add a label to Undo.
2878 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2879 inappropriate buttons and adding :vert-only tags.
2881 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2882 removal of Help tool-bar button. Remove Undo button for space.
2884 * info.el (info-tool-bar-map): Add :vert-only tags.
2886 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2888 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2889 image backend support. Either of them is fine.
2891 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2893 * subr.el (y-or-n-p): Doc fix.
2895 * custom.el (custom-safe-theme-files): New defcustom.
2896 (custom-theme-load-confirm): New function.
2897 (load-theme): Load theme using `load', confirming with
2898 custom-theme-load-confirm if necessary.
2900 * subr.el (read-char-choice): New function, factored out from
2901 dired-query and hack-local-variables-confirm.
2903 * dired-aux.el (dired-query):
2904 * files.el (hack-local-variables-confirm): Use it.
2906 * dired-aux.el (dired-compress-file):
2907 * files.el (abort-if-file-too-large, find-alternate-file)
2908 (set-visited-file-name, write-file, backup-buffer)
2909 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2910 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2911 Use new format string args for y-or-n-p and yes-or-no-p.
2913 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2915 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2916 [gcc-include]: Tighten file name match, add match for column
2918 [gnu]: Remove unused group.
2920 2011-01-08 Glenn Morris <rgm@gnu.org>
2922 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2924 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2926 2011-01-07 Sam Steingold <sds@gnu.org>
2928 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2929 the `explicit-shell-file-name' because that is the
2930 non-interactive shell.
2932 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2934 * subr.el (y-or-n-p): Accept format string args.
2936 2011-01-07 Glenn Morris <rgm@gnu.org>
2938 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2940 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2942 * allout.el (allout-back-to-current-heading): Ensure return to
2943 the visible containing topic, rather than a collapsed one.
2944 (allout-view-change-hook): Remove hook that was deprecated long ago.
2945 (allout-exposure-change-hook): Remove documentation remarks
2946 concerning removed allout-view-change-hook.
2947 (allout-flag-region): Remove invocation of and documentation
2948 remarks concerning allout-view-change-hook.
2950 2011-01-06 Glenn Morris <rgm@gnu.org>
2952 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2953 (vc-bzr-annotate-extract-revision-at-line):
2954 Handle authors with embedded spaces. (Bug#7792)
2956 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2958 * doc-view.el (doc-view-image-width): New variable.
2959 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2960 backend for PNG images, and do dynamic rescaling instead of
2961 reconverting the whole doc.
2963 2011-01-05 Glenn Morris <rgm@gnu.org>
2965 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2967 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2969 * allout.el: Reconcile with changes in line movement behavior for
2970 long text lines that cross more than a single physical window
2971 line, ie when truncate-lines is nil.
2972 (allout-next-visible-heading): Provide for change in line-move
2973 behavior on long lines when truncate-lines is nil. In that case,
2974 line-move can wind up on the same textual line when it moves to
2975 the next window line, and moving to the bullet position after the
2976 move yields zero advancement. Add logic to detect and compensate
2977 for the lack of progress.
2978 (allout-current-topic-collapsed-p): move-end-of-line respect for
2979 field boundaries is different when operating with body lines
2980 shorter than window width versus ones greater than window width,
2981 which can yield false negatives in this function. Avoid
2982 difference by applying move-end-of-line while field-text-motion is
2985 2011-01-04 Glenn Morris <rgm@gnu.org>
2987 * textmodes/rst.el (rst-compile-toolsets):
2988 Add pdf and s5 to option alist.
2990 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2992 * net/dbus.el (dbus-register-property): Add optional parameter
2993 dont-register-service. Updated docstring accordingly.
2995 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2997 * textmodes/rst.el (rst-compile-pdf-preview)
2998 (rst-compile-slides-preview): Remove extra line.
3000 2011-01-04 Glenn Morris <rgm@gnu.org>
3002 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3003 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3004 default to `prog' without a .py extension.
3005 (rst-compile-pdf-preview, rst-compile-slides-preview):
3006 Use program names from rst-compile-toolsets, rather than hard-coding.
3007 (rst-portable-mark-active-p): Fix presumed typo.
3009 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3011 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3012 libpng versions both before and after 1.4.0. (Bug#7716)
3014 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3016 * time.el (display-time-mode): Mention display-time-interval in
3017 the doc string. (Bug#7713)
3019 2011-01-02 Kenichi Handa <handa@m17n.org>
3021 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3022 condition-case and return an error message string if something
3024 (rmail-show-mime): Adjust for the above change. Insert the
3025 header by rmail-mime-insert-header.
3027 2011-01-02 Kenichi Handa <handa@m17n.org>
3029 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3030 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3031 (rmail-mime-mbox-buffer)
3032 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3033 (rmail-mime-entity): Argument changed. All codes handling an
3034 entity object are changed.
3035 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3037 (rmail-mime-entity-children, rmail-mime-entity-handler)
3038 (rmail-mime-entity-tagline): New functions.
3039 (rmail-mime-message-p): New function.
3040 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3041 (rmail-mime-entity-segment, rmail-mime-next-item)
3042 (rmail-mime-previous-item, rmail-mime-shown-mode)
3043 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3044 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3045 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3047 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3048 (rmail-mime-insert-decoded-text): New function.
3049 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3050 (rmail-mime-insert-image): Argument changed. Caller changed.
3051 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3052 (rmail-mime-set-bulk-data): New function.
3053 (rmail-mime-insert-bulk): Argument changed.
3054 (rmail-mime-multipart-handler): Return t.
3055 (rmail-mime-process-multipart): Argument changed.
3056 Handle "multipart/alternative" here.
3057 (rmail-mime-process): Argument changed.
3058 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3059 (rmail-mime-insert): Argument changed. Handle raw display mode.
3060 (rmail-mime): Argument changed. Handle toggling of raw display
3062 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3063 rmail-mime-view-buffer.
3064 (rmail-insert-mime-forwarded-message): Likewise.
3065 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3067 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3068 non-nil, handle the header in rmail-show-mime-function.
3070 2011-01-02 Leo <sdl.web@gmail.com>
3072 * help-fns.el (describe-variable): Fix previous change.
3074 2011-01-02 Juri Linkov <juri@jurta.org>
3076 * isearch.el (isearch-lazy-highlight-error): New variable.
3077 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3078 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3079 to the current value of `isearch-error' (Bug#7468).
3081 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3083 * help-fns.el (describe-variable): Don't emit trailing whitespace
3086 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3088 * textmodes/rst.el (rst-compile-pdf-preview)
3089 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3091 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3093 * emulation/edt-mapper.el: Override mapping of function keys so
3094 that the later call to read-key-sequence works.
3096 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3098 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3099 Unix EOLs. (Bug#7589)
3101 2011-01-02 Leo <sdl.web@gmail.com>
3103 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3104 if point is not behind eshell-last-output-end (Bug#7585).
3106 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * files.el (file-local-variables-alist):
3109 Make permanent-local (bug#7767).
3111 2011-01-02 Glenn Morris <rgm@gnu.org>
3113 * version.el (emacs-copyright): Set short copyright year to 2011.
3115 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3117 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3118 an existing temp buffer. (Bug#7746)
3120 2011-01-02 Glenn Morris <rgm@gnu.org>
3122 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3123 multiple addresses. (Bug#7760)
3125 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3127 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3128 do-auto-fill if everything points back to allout-auto-fill.
3129 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3130 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3132 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3134 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3137 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3139 * doc-view.el (doc-view-set-doc-type): New function refactored
3141 (doc-view-fallback-mode): New function.
3142 (doc-view-mode): Use it.
3143 (doc-view-mode-maybe): New function that checks if doc-view-mode
3144 can be used and falls back to the next best mode otherwise.
3146 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3147 DVI, OpenDocument, and MS Office files.
3149 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3151 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3153 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3155 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3156 on a copy of auto-mode-alist, because that deletes with side
3159 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3161 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3162 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3163 fallback instead of hard coding fundamental mode.
3165 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3167 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3168 Office) files also for searching.
3170 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3172 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3173 Office) files. Not yet enabled via auto-mode-list.
3174 (doc-view-unoconv-program): New custom variable.
3175 (doc-view-mode-p): Handle new odf document type.
3176 (doc-view-odf->pdf): New conversion function.
3177 (doc-view-convert-current-doc): Call it for odf files.
3178 (doc-view-mode): Recognize newly supported file extensions.
3180 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3182 * net/tramp.el (tramp-default-method-alist)
3183 (tramp-default-user-alist)
3184 (tramp-local-host-regexp, tramp-prefix-domain-format)
3185 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3188 * net/tramp-gvfs.el:
3190 * net/tramp-imap.el:
3192 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3193 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3195 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3197 * saveplace.el (save-place-alist-to-file): Save list sorted and
3198 pretty-printed, so that it is mergeable by line-based text merging,
3199 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3201 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3203 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3204 (allout-mode): Argument "toggle" => "force".
3205 Refine the docstring.
3206 Remove special provisions for reactivation, besides the 'force'
3208 Consolidate layout provisions coce directly into the activation
3209 condition branch, now that we've removed those provisions.
3210 (allout-unload-function): Explicitly activate the mode before
3211 deactivating, if it's initially deactivated.
3212 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3213 warnings for version of function used only where
3214 set-buffer-multibyte is unavailable.
3216 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3218 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3219 are handled by the menu-bar entries. As before, don't use
3220 :visibile to avoid changing the tool-bar.
3222 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3224 * net/secrets.el (secrets-delete-alias): New defun.
3226 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3228 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3229 methods, otherwise ~/.ssh/config would be ignored.
3231 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * emacs-lisp/rx.el: Make it a superset of sregex.
3234 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3235 of args, add `regex' alias.
3236 (rx-info): Add arg to distinguish head and standalone forms.
3237 (rx-check, rx-form): Pass the corresponding arg.
3239 (rx-repeat): Make it work for any number of args.
3240 (rx-syntax): Make it accept syntax chars as is.
3241 * obsolete/sregex.el: Move from emacs-lisp/.
3242 * emacs-lisp/re-builder.el: Remove sregex support.
3243 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3245 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3247 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3248 PRIMARY first, then the clipboard. (Bug#7699)
3250 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3252 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3255 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3257 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3258 .emacs.elc (Bug#7530).
3260 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3261 image spec (Bug#7480).
3263 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3265 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3266 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3269 2010-12-20 Leo <sdl.web@gmail.com>
3271 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3272 always be performed (Bug#7680).
3274 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3276 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3277 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3280 * color.el: Move from gnus/.
3282 * vc/diff.el (diff-better-file-name): Function deleted.
3283 abbreviating file names causes problems with shell-quote-argument.
3284 (diff-no-select): Just use expand-file-name.
3286 * tool-bar.el (tool-bar--image-expression): New function.
3287 (tool-bar-local-item, tool-bar--image-exp): Use it.
3288 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3289 Use :enable instead of :visible to avoid changing the tool-bar
3290 configuration unnecessarily.
3292 * info.el (info-tool-bar-map): Add separators.
3294 2010-12-17 Ken Brown <kbrown@cornell.edu>
3296 * loadup.el: Use version numbers in Cygwin build.
3298 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3300 * ido.el (ido-file-internal): Ask for confirmation before
3301 overwriting an existing file (Bug#1238).
3303 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3305 * tool-bar.el (tool-bar-setup): Add separators.
3307 * menu-bar.el (featurep): Use menu-bar-separator.
3309 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3311 Migrate allout encryption provisions from pgg to epg.
3313 * allout.el (allout-toggle-current-subtree-encryption)
3314 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3315 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3316 for simpler universal argument interpretation.
3317 (allout-toggle-subtree-encryption): Adjust docstring to describe
3318 changed encryption provisions. Change fetch-pass to keymode-cue, for
3319 simpler universal argument interpretation. Remove provisions for
3320 handling key type and identity - they'll all be within
3321 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3322 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3323 for keypair recipients (universal argument > 1) and, in addition,
3324 associating the specified recipients with the outline (universal
3325 argument > 4) using a file local variable setting for
3326 'epa-file-encrypt-to'.
3327 Require epa, for recipients handling.
3328 Change how regexp filtering elements are named.
3329 Describe the problem with caching of incorrect symmetric-decryption
3331 Use the epa-passphrase-callback-function, in case the user is using
3333 Support saving of the selected keypair recipients when invoked with a
3335 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3337 Establish epg-context with armoring and default epg-protocol.
3338 Remove all passphrase cache, verification, and hinting code.
3339 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3340 No longer used, delete.
3341 (allout-mode): Adjust docstring to describe changed encryption
3342 provisions. Describe the problem with caching of incorrect
3343 symmetric-decryption keys.
3344 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3345 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3346 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3347 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3350 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3352 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3353 key selection prompt; make 'silent as default (Bug#7487).
3355 2010-12-16 Leo <sdl.web@gmail.com>
3357 * eshell/eshell.el (eshell-directory-name):
3358 Use locate-user-emacs-file (Bug#7578).
3360 2010-12-15 Glenn Morris <rgm@gnu.org>
3362 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3364 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3365 Scott Evans <gse@antisleep.com>
3367 * rect.el (rectange--default-line-number-format)
3368 (rectangle-number-line-callback): New functions.
3369 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3371 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3373 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3374 Delete unused variables.
3375 (move-to-column-force): Remove function obsolete since 21.2.
3377 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3379 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3380 (tramp-handle-insert-file-contents): Do not set permanent-local
3383 * net/tramp-cache.el (tramp-persistency-file-name):
3384 Use `locate-user-emacs-file' if fboundp.
3386 * net/tramp-sh.el (tramp-methods): Add "ksu".
3387 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3390 2010-12-14 Glenn Morris <rgm@gnu.org>
3392 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3393 (find-tag-marker-ring): Declare.
3394 (js-find-symbol): Require etags.
3396 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3398 (mail-alias-file): Don't autoload. Doc fix.
3399 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3400 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3401 Mark as obsolete, and risky.
3402 (mail-setup): Simplify.
3404 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3405 * mail/sendmail.el (build-mail-aliases): Update autoload.
3407 * dired.el (dired-trivial-filenames, dired-chown-program)
3408 (dired-auto-revert-buffer): Remove autoload cookies.
3409 * mail/sendmail.el (mail-recover-1): Require 'dired.
3411 * dired.el (dired-subdir-switches, dired-chown-program)
3412 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3413 Make into defcustoms.
3414 (dired-chown-program): Simplify initialization.
3416 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3418 2010-12-13 Romain Francoise <romain@orebokech.com>
3420 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3422 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3424 * net/netrc.el (netrc-point-at-eol): Remove the unused
3425 netrc-point-at-old and netrc-bound-and-true-p bindings.
3426 (netrc-parse): Cache the netrc contents.
3428 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3430 * subr.el (posn-col-row): Evaluate header-line-format in the
3431 context of the POSITION window's buffer.
3433 2010-12-13 Glenn Morris <rgm@gnu.org>
3435 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3436 (with-silent-modifications): Doc fixes.
3438 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3440 * net/tramp.el (tramp-action-password, tramp-process-actions):
3441 Revert previous from. Use `save-restriction'.
3443 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3445 * calendar/diary-lib.el (diary-list-sexp-entries):
3446 Handle case of no newline at end of file. (Bug#7536)
3448 2010-12-13 Glenn Morris <rgm@gnu.org>
3450 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3452 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3454 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3455 (tramp-process-actions): Do not widen.
3457 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3458 Protect buffer-modified value. (Bug#7557)
3460 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3462 * log-edit.el (log-edit-changelog-entries):
3463 Regexp quote filename. (Bug#7505)
3465 2010-12-13 Tom Breton <tehom@panix.com>
3467 * cus-edit.el (custom-save-all):
3468 Bind print-length and print-level to nil. (Bug#7581)
3470 2010-12-13 Glenn Morris <rgm@gnu.org>
3472 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3473 Run hooks to update menu contents. (Bug#7586)
3475 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3476 file names, for the sake of MS Windows. (Bug#7588)
3478 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3481 empty lines without a leading space.
3483 2010-12-13 Leo <sdl.web@gmail.com>
3485 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3486 while mapping over marks (Bug#6810).
3488 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3490 * image-dired.el (image-dired-db-file)
3491 (image-dired-temp-image-file, image-dired-gallery-dir)
3492 (image-dired-temp-rotate-image-file): Set default values relative
3493 to image-dired-dir (Bug#7518).
3495 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3497 * format.el (format-decode-run-method): Pass args FROM and TO, not
3498 point-min and point-max, to shell-command-on-region (Bug#7488).
3500 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3502 * frame.el (blink-cursor-mode): Make default t for ns.
3504 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3506 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3508 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3510 * comint.el (comint-dynamic-list-input-ring)
3511 (comint-dynamic-complete-filename)
3512 (comint-replace-by-expanded-filename)
3513 (comint-dynamic-simple-complete)
3514 (comint-dynamic-list-filename-completions)
3515 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3517 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3520 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3522 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3525 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3527 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3530 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3532 * files.el (file-relative-name): Handle UNC file names on
3533 DOS/Windows. (Bug#4674)
3535 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3537 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3538 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3539 (epg-context-set-passphrase-callback): Mention that the callback
3540 is not called when used with GnuPG 2.x.
3542 2010-12-13 Glenn Morris <rgm@gnu.org>
3544 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3545 Ensure ps-footer-font-size-internal is initialized.
3546 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3548 2010-12-13 Kenichi Handa <handa@m17n.org>
3550 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3551 within condition-case.
3552 (rmail-show-mime): Don't use condition-case.
3553 (rmail-search-mime-message): New function.
3554 (rmail-search-mime-message-function): Set to
3555 rmail-search-mime-message.
3557 2010-12-13 Leo <sdl.web@gmail.com>
3559 * ido.el (ido-common-initialization): New function. (bug#3274)
3561 (ido-completing-read): Call it.
3563 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3565 * bookmark.el (bookmark-name-from-full-record): Rename back to
3566 this original name from `bookmark-name-from-record' reverting part
3567 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3568 As Drew Adams pointed out, there was no reason to cause churn for
3569 third-party callers. (Bug#7609)
3571 2010-12-12 Alan Mackenzie <acm@muc.de>
3573 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3574 template arglist, check that the current language supports this.
3576 2010-12-11 Glenn Morris <rgm@gnu.org>
3578 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3579 state of the file matches. (Bug#7544)
3580 (vc-bzr-register, vc-bzr-checkin)
3581 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3582 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3584 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3586 2010-12-11 Karel Klíč <kklic@redhat.com>
3588 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3590 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3592 Derive from prog-mode, use derived-mode-p, and fix up various
3593 minor style issues in lisp/progmodes.
3595 * progmodes/vhdl-mode.el (vhdl-mode):
3596 * progmodes/verilog-mode.el (verilog-mode):
3597 * progmodes/vera-mode.el (vera-mode):
3598 * progmodes/sql.el (sql-mode):
3599 * progmodes/scheme.el (scheme-mode):
3600 * progmodes/perl-mode.el (perl-mode):
3601 * progmodes/octave-inf.el (inferior-octave-mode):
3602 * progmodes/autoconf.el (autoconf-mode):
3603 * progmodes/m4-mode.el (m4-mode):
3604 * progmodes/inf-lisp.el (inferior-lisp-mode):
3605 * progmodes/idlwave.el (idlwave-mode):
3606 * progmodes/icon.el (icon-mode):
3607 * progmodes/idlw-help.el (idlwave-help-mode):
3608 * progmodes/dcl-mode.el (dcl-mode):
3609 * progmodes/idlw-shell.el (idlwave-shell-mode):
3610 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3611 (ebrowse-member-mode, ebrowse-electric-position-mode):
3612 Use define-derived-mode.
3614 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3615 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3616 (xscheme-debugger-mode-p, xscheme-send-string-1):
3617 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3618 (tcl-load-file, tcl-restart-with-file):
3619 * progmodes/ps-mode.el (ps-run-running):
3620 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3621 * progmodes/js.el (js--get-all-known-symbols):
3622 * progmodes/inf-lisp.el (inferior-lisp-proc):
3623 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3624 (idlwave-template, idlwave-update-buffer-routine-info)
3625 (idlwave-update-current-buffer-info)
3626 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3627 (idlwave-scan-class-info, idlwave-fix-keywords)
3628 (idlwave-list-buffer-load-path-shadows):
3629 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3630 (idlwave-toolbar-remove):
3631 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3632 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3633 (idlwave-shell-menu-def):
3634 * progmodes/idlw-complete-structtag.el
3635 (idlwave-prepare-structure-tag-completion):
3636 * progmodes/gud.el (gud-set-buffer):
3637 * progmodes/f90.el (f90-backslash-not-special):
3638 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3640 * progmodes/xscheme.el (xscheme-start)
3641 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3642 * progmodes/which-func.el (which-function):
3643 * progmodes/vhdl-mode.el (vhdl-set-style):
3644 * progmodes/verilog-mode.el (verilog-set-compile-command)
3645 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3646 (verilog-set-define, verilog-auto-reeval-locals):
3647 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3648 * progmodes/simula.el (simula-mode):
3649 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3650 * progmodes/python.el (python-check, python-mode):
3651 * progmodes/prolog.el (prolog-mode-variables):
3652 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3653 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3654 * progmodes/delphi.el (delphi-mode):
3655 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3656 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3657 (c-font-lock-init): Move make-local-variable to their setq.
3659 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3660 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3662 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3663 (sh-set-shell): Don't set require-final-newline since it's already done
3665 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3666 since we never set it.
3667 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3668 Use read-string and standard prompt.
3669 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3670 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3671 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3672 (meta-common-mode-map): Rename from meta-mode-map.
3673 Remove C-m binding, which is a user preference, not mode specific.
3674 (meta-common-mode): New major mode; replace meta-common-initialization.
3675 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3676 around with font-lock.
3677 * progmodes/etags.el (select-tags-table-mode):
3678 Derive from special-mode.
3679 * progmodes/octave-mod.el (octave-mode):
3680 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3681 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3682 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3683 Let define-derived-mode do its job.
3684 * progmodes/cpp.el (cpp-edit-mode-map):
3685 Move initialization into declaration.
3686 (cpp-edit-mode): Use define-derived-mode.
3687 (cpp-edit-load): Use derived-mode-p.
3688 * progmodes/mixal-mode.el (mixal-mode):
3689 * progmodes/f90.el (f90-mode):
3690 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3691 require-final-newline since prog-mode does it already.
3692 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3693 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3694 * progmodes/antlr-mode.el: Require cc-mode upfront.
3695 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3697 (antlr-directory-dependencies, antlr-show-makefile-rules):
3699 (antlr-language-option): Don't assume point-min==1.
3700 (antlr-mode): Use define-derived-mode.
3701 * progmodes/ada-mode.el: Use derived-mode-p.
3702 (ada-mode): Use define-derived-mode.
3703 Use hack-local-variables-hook.
3705 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3707 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3708 (texinfo-mode): Don't disable adaptive-fill-mode.
3709 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3710 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3711 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3712 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3713 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3714 (texinfo-insert-@quotation, texinfo-insert-@samp)
3715 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3716 (texinfo-insert-@uref): Use define-skeleton.
3717 (texinfo-insert-@-with-arg): Delete.
3719 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3721 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3722 nil, do quote archive member names. (Bug#6144)
3724 2010-12-10 Glenn Morris <rgm@gnu.org>
3726 * files.el (diff-no-select): Declare.
3728 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3729 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3731 * comint.el (comint-input-ring-file-name): Doc fix.
3733 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3735 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3737 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3738 Use them instead of `nil' and `>', respectively.
3739 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3741 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3742 and menu-bar-positive-p instead of `nil' and `>', respectively.
3745 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3747 * whitespace.el (whitespace-newline-mode): Code fix.
3749 2010-12-09 Glenn Morris <rgm@gnu.org>
3751 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3752 Rename functions without commas, update callers.
3754 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3756 * whitespace.el (whitespace-cleanup-region):
3757 Clean up spaces before tabs. (Bug#7582)
3759 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3761 * bookmark.el: Adjust parameter names and doc strings to resolve
3762 confusion over whether "bookmark" meant a bookmark name or a
3763 bookmark record. Along the way, shorten one function's name for
3764 similar reasons. (Issue #7548)
3765 (bookmark-name-from-record): New name for
3766 `bookmark-name-from-full-record'. All callers changed.
3767 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3768 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3769 (bookmark-get-annotation, bookmark-set-annotation)
3770 (bookmark-get-filename, bookmark-set-filename)
3771 (bookmark-get-position, bookmark-set-position)
3772 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3773 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3774 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3775 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3776 Rename `bookmark' parameter to `bookmark-name-or-record', to
3777 clearly show its role, and shorten or adjust doc strings accordingly.
3778 (bookmark-set-name): Same, and pass the parameter directly to
3779 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3780 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3781 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3782 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3783 and in some cases shorten doc string accordingly.
3784 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3785 and `new-name', and adjust an internal variable to avoid confusion.
3786 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3787 parameter in doc string.
3789 2010-12-08 Glenn Morris <rgm@gnu.org>
3791 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3792 from gdb's history file. (Bug#7575)
3794 * mail/emacsbug.el (report-emacs-bug):
3795 Try to handle some other mail clients.
3797 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3800 Use string-prefix-p.
3801 (file-name-version-regexp): New var.
3802 (file-name-sans-versions):
3803 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3804 (jka-compr-get-compression-info): Use dolist.
3805 (jka-compr-compression-info-list): Don't bother specifying
3806 version/backup regexps.
3808 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3810 * simple.el (just-one-space): Make argument n default to 1 if
3813 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * electric.el (electric-indent-post-self-insert-function):
3816 Delete trailing newlines even if we don't reindent.
3818 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3820 * minibuffer.el (completion-at-point): Remove the `arg'.
3821 * bindings.el (complete-symbol): Move back from minibuffer.el.
3823 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3825 * simple.el (just-one-space): Delete newlines for negative arg.
3827 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3830 (ansi-color-filter-apply): Simplify.
3831 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3833 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3835 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3837 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3839 * dired.el (dired-use-ls-dired): Set default to a special
3840 "unspecified" value.
3841 (dired-insert-directory): When called the first time, check
3842 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3844 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3846 * replace.el: Add "collect" feature to occur.
3847 (occur-collect-regexp-history): New var.
3848 (occur-read-primary-args): Return a replace string for nlines,
3850 (occur): Extend the meaning of nlines.
3852 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3854 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3855 (which-func-update-1): Distinguish symbols from strings.
3856 (which-function): Stay within 80 columns.
3858 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3862 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3864 (comment-style): Use comment-styles's docs to describe values.
3866 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3868 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3869 and ns-show-prefs (Bug#7535).
3871 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3872 bindings (Bug#7535).
3874 2010-12-03 Glenn Morris <rgm@gnu.org>
3876 * nxml/nxml-mode.el: Require rng-nxml.
3877 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3878 Remove declarations.
3880 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3881 * nxml/rng-nxml.el, nxml/rng-valid.el:
3882 Remove leading `*' from defcustom docs.
3884 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3885 (normal-top-level-add-to-load-path, tty-handle-args):
3886 Convert comments to basic doc-strings.
3888 * net/browse-url.el (browse-url-url-at-point)
3889 (browse-url-default-browser): Remove autoload cookies.
3891 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3892 Remove more undefined cl functions.
3894 * vc/diff.el (diff-sentinel): Make new arguments optional.
3895 * ibuf-ext.el (diff-sentinel): Update declaration.
3897 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3899 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3900 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3901 (epg-context-set-passphrase-callback): Mention that the callback
3902 is not called when used with GnuPG 2.x.
3904 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3906 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3907 (tramp-file-name-port): Check also for `tramp-default-port'.
3908 (tramp-get-connection-name): New defun.
3909 (tramp-get-connection-process): Use it.
3910 (tramp-debug-message): Extend function exclude list.
3911 (tramp-drop-volume-letter): Fix doc string.
3913 * net/tramp-cmds.el: Remove solved todo item.
3916 * net/tramp-gvfs.el:
3918 * net/tramp-imap.el:
3919 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3920 and `tramp-default-user-alist', respectively.
3922 * net/tramp-gw.el (tramp-gw-open-connection):
3923 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3925 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3926 `tramp-file-name-port'.
3928 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3929 and "psftp". Exchange "%k" marker with options.
3930 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3931 Compute size of link target.
3932 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3933 `tramp-current-*' up due to gateway methods. Optimize computing of
3934 copy arguments. Use `tramp-get-connection-name' and
3935 `tramp-get-connection-buffer'. Improve debug messages.
3936 (tramp-compute-multi-hops): Remove port determination.
3937 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3939 * net/trampver.el: Update release number.
3941 2010-12-02 Glenn Morris <rgm@gnu.org>
3943 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3944 Avoid infinite loop over windows. (Bug#7492)
3946 * progmodes/flymake.el (flymake-check-file-limit):
3947 Allow nil to mean "no limit".
3948 (flymake-check-patch-master-file-buffer): Update for above change.
3949 Allow a .tex file-name extension to be optional.
3950 (flymake-master-tex-init): Also match \include statements.
3952 2010-11-30 Sam Steingold <sds@gnu.org>
3954 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3955 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3956 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3957 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3958 define-derived-mode').
3959 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3960 users who want to call `nxml-parent-document-set'.
3962 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3964 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3965 stand-alone lines, since that is handled by log-edit-match-to-eoh
3968 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3970 * dired.el (dired-get-filename): Replace backslashes with slashes
3971 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3972 * locate.el (locate-default-make-command-line): Don't consider
3973 drive letter and root directory part of
3974 `directory-listing-before-filename-regexp'. (Bug#7308)
3975 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3977 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3980 of :smie-open/close-alist.
3981 (smie-next-sexp): Make it accept a "start token" as argument.
3982 (smie-indent-keyword): Be careful not to misidentify tokens that span
3983 more than one line, as empty lines. Add argument `token'.
3985 2010-11-27 Kenichi Handa <handa@m17n.org>
3987 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3988 multipart subtypes, insert all as usual.
3990 * mail/rmail.el: Require rfc2047.
3992 2010-11-27 Kenichi Handa <handa@m17n.org>
3994 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3995 (rmail-mime-entity-disposition)
3996 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3997 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3998 (rmail-mime-save): Handle the case that the button's `data' is a
4000 (rmail-mime-insert-text): New function.
4001 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4002 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4003 (rmail-mime-insert-bulk): New function mostly copied from the old
4004 rmail-mime-bulk-handler.
4005 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4006 (rmail-mime-process-multipart): New function mostly copied from
4007 the old rmail-mime-multipart-handler.
4008 (rmail-mime-show): Just call rmail-mime-process.
4009 (rmail-mime-process): New function mostly copied from the old
4011 (rmail-mime-insert-multipart, rmail-mime-parse)
4012 (rmail-mime-insert, rmail-show-mime)
4013 (rmail-insert-mime-forwarded-message)
4014 (rmail-insert-mime-resent-message): New functions.
4015 (rmail-insert-mime-forwarded-message-function): Set to
4016 rmail-insert-mime-forwarded-message.
4017 (rmail-insert-mime-resent-message-function): Set to
4018 rmail-insert-mime-resent-message.
4020 * mail/rmailsum.el: Require rfc2047.
4021 (rmail-header-summary): Handle multiline Subject: field.
4022 (rmail-summary-line-decoder): Change the default to
4023 rfc2047-decode-string.
4025 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4026 (rmail-mime-feature): Change the default to `rmailmm'.
4027 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4028 (rmail-display-labels): Likewise.
4029 (rmail-show-message-1): Check rmail-enable-mime, and use
4030 rmail-show-mime-function for a MIME message. Decode the headers
4031 according to RFC2047.
4033 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4035 * progmodes/which-func.el (which-func-imenu-joiner-function):
4036 Return a string, as expected.
4037 (which-function-mode): Make sure we stop any previous timer before
4040 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4042 * net/tramp.el (tramp-default-method-alist)
4043 (tramp-default-user-alist, tramp-default-proxies-alist):
4044 Adapt custom options type. (Bug#7445)
4046 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4048 * progmodes/python.el: Add Ipython support (Bug#5390).
4049 (python-shell-prompt-alist)
4050 (python-shell-continuation-prompt-alist): New options.
4051 (python--set-prompt-regexp): New function.
4052 (inferior-python-mode, run-python, python-shell):
4053 Require ansi-color. Use python--set-prompt-regexp to set the comint
4054 prompt based on the Python interpreter.
4055 (python--prompt-regexp): New var.
4056 (python-check-comint-prompt)
4057 (python-comint-output-filter-function): Use it.
4058 (run-python): Use a pipe (Bug#5694).
4060 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4062 * progmodes/python.el (run-python): Doc fix.
4063 (python-keep-current-directory-in-path): New var (Bug#7454).
4065 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4067 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4068 Prompt user before actually printing.
4070 2010-11-27 Glenn Morris <rgm@gnu.org>
4072 * startup.el (package-enable-at-startup, package-initialize):
4073 Remove unnecessary declarations.
4075 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4077 * international/characters.el (glyphless-char-display-control):
4078 Exclude newline and TAB from the c0-control group.
4080 2010-11-27 Glenn Morris <rgm@gnu.org>
4082 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4083 (expand-mail-aliases): Remove unnecessary autoload.
4085 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4087 * shell.el (shell-dir-cookie-re): Move definition before use.
4089 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4090 Replace undefined CL functions.
4092 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4094 * simple.el (prog-mode): Set bidi-paragraph-direction to
4097 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4099 2010-11-26 Glenn Morris <rgm@gnu.org>
4101 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4102 diary-outlook-formats can be sensitive to calendar-date-style.
4103 (diary-outlook-formats): Simplify the default setting.
4104 (diary-from-outlook-internal): Pass subject and body as arguments.
4105 Use dolist rather than dotimes. Don't save the diary buffer.
4106 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4107 Pass subject and body as explicit arguments to the -internal function.
4109 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4111 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4112 parsing them. This makes mailto:...?subject=foo\nbar work.
4114 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4116 * vc/diff.el (diff): Fix last change.
4118 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4121 (pcase--dontcare-upats): New var.
4122 (pcase-let, pcase-let*): Generate better code.
4123 Accept the same bodies as `let'.
4124 (pcase-dolist): New macro.
4125 (pcase--trivial-upat-p): New helper function.
4126 (pcase--expand): Strip leading "(let nil" if any.
4128 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4130 * mail/mailclient.el (browse-url): Require.
4131 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4132 use the external browser function to send the mail (bug#7469).
4134 * net/browse-url.el (browse-url-browser-function): Revert the
4135 default back to the previous value, since the new value broke
4137 (browse-url-mailto-function): New variable for mailto: URLs.
4138 (browse-url): Use the new variable for mailto: URLs.
4140 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4142 * eshell/esh-cmd.el (eshell-parse-command):
4143 * eshell/esh-arg.el (eshell-parse-arguments):
4144 * eshell/em-script.el (eshell-source-file):
4145 Use with-silent-modifications.
4147 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4149 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4150 for a merge location.
4152 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4153 (vc-bzr-merge-branch): Always prompt.
4154 (vc-bzr-async-command): Use the full branch filename.
4156 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4158 * shell.el (shell): Use current-buffer by default if it's already
4159 a shell mode buffer and its process is dead.
4160 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4162 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4164 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4165 Mention that the keywords should be comma separated.
4167 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4169 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4170 Accept optional prefix arg meaning to prompt for a command.
4171 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4172 prefix arg meaning to prompt for a command.
4173 (vc-pull): Alias for vc-update.
4175 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4176 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4177 (vc-bzr-merge-branch): New functions, implementing merge-branch
4178 and pull operations.
4180 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * Makefile.in: Fix up last merge.
4184 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4185 (diff-sentinel): Get them as arguments instead.
4186 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4187 (diff-file-local-copy, diff-better-file-name): New funs.
4188 (diff-no-select): Rename from diff-into-buffer.
4189 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4190 Prefer closures to buffer-local variables.
4191 (diff): Adjust accordingly.
4192 (diff-buffer-with-file): Move from files.el.
4193 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4194 (diff-buffer-internal): Remove.
4195 (diff-buffer-buffer): Remove.
4196 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4197 the buffer name used, and so as not to mess up windows and frames.
4199 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4201 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4202 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4203 (diff-buffer-with-file): Use it.
4204 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4207 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4209 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4210 \ref's or \pageref's value as default instead of initial input.
4212 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4214 * files.el (backup-by-copying-when-mismatch): The default value is
4217 * startup.el (normal-top-level):
4218 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4219 `backup-by-copying-when-mismatch'.
4221 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4223 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4225 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4227 * progmodes/python.el (python-font-lock-keywords):
4228 Highlight top-level augmented assignments (Bug#6445).
4230 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4232 * term/ns-win.el (ns-right-control-modifier)
4233 (ns-right-command-modifier): Defvar them.
4235 * cus-start.el (all): Add ns-right-control-modifier and
4236 ns-right-command-modifier (Bug#7458).
4238 2010-11-20 Glenn Morris <rgm@gnu.org>
4240 * emacs-lisp/authors.el (authors-ignored-files)
4241 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4243 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4245 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4246 (report-emacs-bug-parse-query-results)
4247 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4248 keywords used for querying the bug database to show them in the
4249 existing bugs buffer.
4251 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4253 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4255 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4257 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4259 * international/characters.el (glyphless-char-display-control):
4260 Make it a defcustom, with update-glyphless-char-display as its
4262 (top level): Don't call update-glyphless-char-display.
4264 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4266 Sync with Tramp 2.2.0.
4268 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4269 `file-remote-p' (due to compatibility).
4271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4272 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4274 * net/trampver.el: Update release number.
4276 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4278 * faces.el (glyphless-char): Define value for `pc'.
4280 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4282 Implemented a bug querying mechanism.
4283 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4284 (report-emacs-bug-create-existing-bugs-buffer)
4285 (report-emacs-bug-parse-query-results)
4286 (report-emacs-bug-query-existing-bugs): New functions.
4288 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4290 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4291 a \ref{} or \pageref{} macro, then use its value as initial input.
4293 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4295 * calc/calc-units.el (math-build-units-table-buffer):
4296 calc/README: Mention that the TeX specific units won't use the
4297 `tex' prefix in TeX mode.
4298 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4299 prefix for units in TeX mode.
4301 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * simple.el (kill-new, kill-append, kill-region):
4304 * comint.el (comint-kill-region): Make the yank-handler argument
4307 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4309 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4310 that are both openers (resp. closers) and something else.
4311 (smie-grammar): Loosen definition of valid values.
4312 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4313 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4314 (smie-indent-after-keyword): Adjust users.
4315 (smie-indent-keyword): Don't indent empty lines.
4317 * vc-hg.el (vc-hg-program): New var.
4318 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4319 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4321 2010-11-18 Glenn Morris <rgm@gnu.org>
4323 * emacs-lisp/autoload.el (autoload-find-destination): The function
4324 coding-system-eol-type may return non-numeric values. (Bug#7414)
4326 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4328 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4330 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4332 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4334 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4336 * textmodes/picture.el (picture-mouse-set-point): Don't use
4337 posn-col-row; explicitly compute the motion based on the posn at
4338 the window-start (Bug#7390).
4340 2010-11-18 Glenn Morris <rgm@gnu.org>
4342 * novice.el (disabled-command-function):
4343 Fix 2009-11-15 change. (Bug#7384)
4345 2010-11-18 Glenn Morris <rgm@gnu.org>
4347 * calendar/calendar.el (diary-iso-date-forms): Make elements
4348 mutually exclusive. (Bug#7377)
4350 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4352 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4353 when filling the remaining "unconstrained" values.
4355 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4360 * files.el (safe-local-variable-p): Gracefully handle errors.
4362 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4363 Use smie-indent-virtual when indenting relative to an opener.
4364 (smie-rule-separator): Use smie-rule-parent.
4365 (smie-indent-keyword): Consult rules, even for openers at bol.
4366 (smie-indent-comment-close): Try to align closer's content.
4368 2010-11-18 Glenn Morris <rgm@gnu.org>
4370 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4372 2010-11-18 Glenn Morris <rgm@gnu.org>
4374 * printing.el (pr-menu-bind): Doc fix.
4376 * speedbar.el (speedbar-toggle-images): Doc fix.
4378 * progmodes/python.el (python-shell): Doc fix.
4380 * wid-edit.el (widget-field-use-before-change)
4381 (widget-use-overlay-change): Doc fixes.
4383 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4385 Minor cleanup to improve style.
4386 * textmodes/rst.el (rst-update-section): Use point-marker.
4387 (rst-get-decoration): Eliminate unneeded assignment.
4388 (rst-promote-region, rst-straighten-decorations)
4389 (rst-section-tree, rst-adjust): Use point-marker.
4390 (rst-toc-mode-mouse-goto): Avoid setq.
4391 (rst-shift-region-guts, rst-shift-region-left)
4392 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4393 (rst-convert-bullets-to-enumeration): Use copy-marker.
4395 * minibuffer.el (completion-fail-discreetly): New var.
4396 (completion--do-completion): Use it.
4398 * electric.el (electric-pair-pairs): New var.
4399 (electric-pair-post-self-insert-function): Use it.
4400 (electric-layout-post-self-insert-function): Don't insert a before
4401 newline unless it's actually needed.
4403 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * progmodes/python.el (run-python): Explain why we remove the current
4406 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4408 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4410 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4413 (octave-mode-map): Don't bind ;, SPC, and LF.
4414 (octave-auto-indent, octave-auto-newline): Remove.
4415 (electric-layout-rules): Declare.
4416 (octave-mode): Set electric-layout-rules.
4417 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4418 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4419 (octave-electric-space): Remove.
4421 * electric.el (electric-layout-mode): New minor mode.
4422 (electric--after-char-pos): New function.
4423 (electric-indent-post-self-insert-function): Use it.
4424 (electric-layout-rules): New var.
4425 (electric-layout-post-self-insert-function): New function.
4426 (electric-indent-mode): Make them interact better.
4428 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4431 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4432 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4434 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4436 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4437 Make sure to check inside the word (Bug#6761).
4439 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4441 * startup.el (command-line): If the cursorColor resource is set,
4442 change the cursor face-spec (Bug#7392).
4444 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4446 The main features of the following allout.el changes are:
4447 - implement user customization for the allout key bindings
4448 - add a customization control by which the user can inhibit use of
4449 a trailing Ctrl-H, so by default it's reserved for use with
4450 describe-prefix-bindings
4451 - adapt to new version of called-interactively-p, while
4452 maintaining backwards compatibility with old version
4453 - fix hotspot navigation so i works properly with meta-modified keys.
4455 * allout.el (allout-keybindings, allout-bind-keys)
4456 (allout-keybindings-binding, allout-prefixed-keybindings)
4457 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4458 (allout-keybindings-list, allout-mode-map-adjustments)
4459 (allout-setup-mode-map): Establish allout-mode keymaps as user
4460 customizable settings, and also establish a customizable setting which
4461 regulates whether or not a trailing control-h is reserved for use with
4462 describe-prefix-bindings - and inhibit it by default, so that control-h
4463 *is* reserved for describe-prefix-bindings unless the user changes it.
4465 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4466 and accurately between modified and unmodified events, and handle
4467 modified events more comprehensively.
4469 * allout.el (allout-substring-no-properties):
4470 Alias to use or provide version of `substring-no-properties'.
4471 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4473 * allout.el (allout-next-single-char-property-change):
4474 Alias to use or provide version of `next-single-char-property-change'.
4475 (allout-annotate-hidden, allout-hide-by-annotation):
4476 Use `allout-next-single-char-property-change'.
4478 * allout.el (allout-select-safe-coding-system):
4479 Alias to use or provide version of `select-safe-coding-system'.
4480 (allout-toggle-subtree-encryption):
4481 Use `allout-select-safe-coding-system'.
4483 * allout.el (allout-set-buffer-multibyte):
4484 Alias to use or provide version of `set-buffer-multibyte'.
4485 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4487 * allout.el (allout-called-interactively-p): Macro for using the
4488 different versions of called-interactively-p identically, depending on
4489 the subroutine's argument signature.
4490 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4491 Use `(interactive "p")' instead of `(called-interactively-p)'.
4493 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4494 (allout-previous-visible-heading, allout-forward-current-level)
4495 (allout-backward-current-level, allout-show-children):
4496 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4498 * allout.el (allout-before-change-handler):
4499 Exempt edits to the (overlaid) character after the allout outline
4500 bullet from edit confirmation prompt.
4502 * allout.el (allout-add-resumptions):
4503 Ensure that it respects correct buffer for keybindings.
4505 * allout.el (allout-beginning-of-line):
4506 Use `allout-previous-single-char-property-change' alias for the sake of
4507 diverse compatibility.
4509 * allout.el (allout-end-of-line):
4510 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4512 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4514 * frame.el (frame-notice-user-settings): Don't clobber other
4515 user-set parameters when calling face-set-after-frame-default in
4516 response to background-color parameter (Bug#7373).
4518 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4520 * international/characters.el (glyphless-char-display-control):
4521 Rename from glyphless-char-control; all users changed. Doc fix.
4522 Signal an error if display method is not one of the recognized
4525 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4527 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4528 (tramp-compat-line-end-position): Remove them.
4530 * net/tramp.el (tramp-parse-rhosts-group)
4531 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4532 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4533 (tramp-parse-netrc-group, tramp-parse-putty-group)
4534 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4535 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4536 (tramp-sh-handle-file-selinux-context)
4537 (tramp-sh-handle-file-name-all-completions)
4538 (tramp-sh-handle-insert-directory)
4539 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4540 (tramp-wait-for-output, tramp-send-command-and-read)
4541 * net/tramp-smb.el (tramp-smb-read-file-entry)
4542 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4544 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4546 (tramp-remote-coding-commands): Add an alternative using "base64
4547 -d -i". This is needed for older base64 versions from GNU
4548 coreutils. Reported by Klaus Reichl
4549 <Klaus.Reichl@thalesgroup.com>.
4551 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4553 * simple.el (count-words-region): New function.
4555 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4557 * shell.el (shell-dir-cookie-re): New custom variable.
4558 (shell-dir-cookie-watcher): New function.
4560 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4561 and compilation-mode (bug#7350).
4563 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4564 highlight when one of them is empty.
4566 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4568 (skeleton-newline): New function.
4569 (skeleton-internal-1): Use it.
4571 * simple.el (open-line): `newline' may strip trailing space.
4573 2010-11-12 Kevin Ryde <user42@zip.com.au>
4575 * international/mule-cmds.el (princ-list): Use mapc.
4577 2010-11-12 Glenn Morris <rgm@gnu.org>
4579 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4580 Use it to replace all instances of "*Compile-Log*".
4582 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4587 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * progmodes/modula2.el: Use SMIE and skeleton.
4590 (m2-mode-syntax-table): (*..*) can be nested.
4591 Add //...\n. Fix paren syntax.
4592 (m2-mode-map): Remove LF and TAB bindings.
4593 (m2-indent): Add safety property.
4594 (m2-smie-grammar): New var.
4595 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4596 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4597 (m2-mode): Use define-derived-mode.
4598 (m2-newline, m2-tab): Remove.
4599 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4600 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4601 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4602 (m2-import): Use define-skeleton.
4604 2010-11-11 Glenn Morris <rgm@gnu.org>
4606 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4608 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4609 (ls-lisp-verbosity): Add custom :set-after property.
4610 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4611 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4612 (ls-lisp-insert-directory): Update caller.
4613 (ls-lisp-set-options): New function.
4614 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4617 * play/landmark.el (lm-prompt-for-move):
4618 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4620 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4622 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4623 (idlwave-study-twins): Prefix dynamic local variable `name'.
4624 (idlwave-routine-twin-compare): Update for above change.
4626 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4627 Prefix dynamic local variables `name', `kwd', and `link'.
4628 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4629 * progmodes/idlw-complete-structtag.el
4630 (idlwave-complete-structure-tag-help):
4631 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4632 (idlwave-complete-sysvar-tag-help)
4633 (idlwave-complete-class-structure-tag-help):
4634 Update for above name changes.
4636 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638 * net/browse-url.el (browse-url-browser-function): Change the
4639 default to use `browse-url-mail' on mailto: URLs.
4641 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4643 * emacs-lisp/package.el (package-read-all-archive-contents):
4644 Reset package-archive-contents to nil before re-reading.
4646 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4648 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4649 already found as misspellings by (flyspell-large-region), just
4650 do highlighting (bug#7322).
4652 2010-11-10 Glenn Morris <rgm@gnu.org>
4654 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4656 * emulation/edt.el (edt-with-position): New macro.
4657 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4658 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4659 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4661 * emulation/tpu-extras.el (tpu-with-position): New macro.
4662 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4664 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4666 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4667 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4668 (texinfo-master-menu, texinfo-insert-node-lines)
4669 (texinfo-multiple-files-update):
4670 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4671 Use line-beginning-position.
4673 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4674 No recent Emacs supports system-type `emx'.
4676 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4677 (ada-command-separator, ada-default-prj-properties)
4678 (ada-find-any-references): Update for above name change.
4680 * dirtrack.el (dirtrack-directory-function)
4681 (dirtrack-canonicalize-function):
4682 * filecache.el (file-cache-completion-ignore-case)
4683 (file-cache-case-fold-search, file-cache-ignore-case):
4684 * term.el (serial-port-is-file-p): Cosmetic change.
4686 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4687 Remove non-existent `windows-95' system-type.
4688 * dired.el (dired-chown-program): Remove non-existent `linux'
4691 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4692 (ping-program-options): Remove non-existent `linux' system-type.
4694 * startup.el (package-initialize): Update declaration.
4696 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4697 (ls-lisp-handle-switches): Use time-less-p.
4698 (ls-lisp-format-time): Use float-time.
4700 * textmodes/remember.el (remember-time-to-seconds): Remove.
4701 (remember-store-in-mailbox): Use float-time.
4703 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4705 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4706 never a real function.
4707 (with-no-warnings): Remove compat stub, now unused.
4708 (time-less-p): Doc fix.
4709 (time-to-number-of-days): Simplify.
4711 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4713 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4714 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4715 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4716 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4717 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4719 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4720 (eshell-shuffle-files, eshell-shorthand-tar-command)
4721 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4722 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4723 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4724 Prefix dynamic local variable `matches'.
4726 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4727 Prefix dynamic local variable `skeleton'.
4729 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4731 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4732 in mail buffer; make yank-action always a command that yanks original
4735 2010-11-09 Glenn Morris <rgm@gnu.org>
4737 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4739 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4741 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4742 completion field (bug#7211).
4744 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4745 Fix handling of backslash escapes.
4746 (python-quote-syntax): Adjust accordingly.
4748 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4750 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4751 (vc-mtn-workfile-branch): Adjust to new output format.
4753 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4755 * international/mule-cmds.el (princ-list): Mark as obsolete.
4757 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4759 * emacs-lisp/smie.el: New package.
4761 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4763 * files.el (backup-by-copying-when-mismatch):
4764 Set `permanent-local' property.
4766 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4767 `permanent-local' property for `backup-by-copying-when-mismatch'.
4769 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4771 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4773 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4775 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4776 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4777 AUTOINOUT for SV style multidimensional arrays, bug294.
4778 Reported by Eric Mastromarchi.
4779 (verilog-preprocess): Use with-current-buffer and
4780 font-lock-fontify-buffer to cleanup style issues.
4782 2010-11-09 Glenn Morris <rgm@gnu.org>
4784 * locate.el (locate, locate-mode): Doc fixes.
4786 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4788 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4789 user for confirmation.
4790 (server-force-stop): Use it.
4791 (server-start): Use server-force-stop for kill-emacs-hook, to
4792 avoid user interaction while killing Emacs.
4794 2010-11-09 Glenn Morris <rgm@gnu.org>
4796 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4797 (meta-indent-line): Simplify.
4799 * vc/emerge.el (emerge-line-number-in-buf):
4800 * textmodes/ispell.el (ispell-region):
4801 * textmodes/fill.el (current-fill-column):
4802 * progmodes/xscheme.el (xscheme-send-current-line):
4803 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4804 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4805 * progmodes/sh-script.el (sh-handle-prev-do):
4806 * progmodes/meta-mode.el (meta-indent-line):
4807 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4809 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4810 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4811 * progmodes/fortran.el (fortran-looking-at-if-then):
4812 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4813 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4814 (cperl-find-pods-heres):
4815 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4816 * net/quickurl.el (quickurl-list-insert):
4817 * net/ldap.el (ldap-search-internal):
4818 * net/eudc.el (eudc-expand-inline):
4819 * mail/sendmail.el (sendmail-send-it):
4820 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4821 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4822 (viper-brac-function):
4823 * calc/calc-yank.el (calc-do-grab-region):
4824 * calc/calc-keypd.el (calc-keypad-press):
4825 * term.el (term-move-columns, term-insert-spaces):
4826 * speedbar.el (speedbar-highlight-one-tag-line):
4827 * simple.el (current-word):
4828 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4829 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4831 * hippie-exp.el (he-line-beg):
4832 * epa.el (epa--marked-keys):
4833 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4834 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4835 (dired-relist-entry):
4836 * buff-menu.el (Buffer-menu-buffer):
4837 * array.el (current-line):
4838 * allout.el (allout-resolve-xref)
4839 (allout-latex-verbatim-quote-curr-line):
4840 Replace yet more uses of end-of-line etc with line-end-position, etc.
4842 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4844 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4845 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4846 (checkdoc-syntax-table): Initialize in the declaration.
4847 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4848 the mode on unconditionally.
4850 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4851 (extent-end-position, extent-start-position): Remove setf method for
4852 non-existing functions (bug#7319).
4854 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4856 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4857 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4858 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4859 (smie-prec2->grammar): Rename from smie-prec2-levels.
4860 (smie-grammar): Rename from smie-op-levels.
4861 (smie-indent--hanging-p): Rename from smie-hanging-p.
4862 (smie-rule-hanging-p): New alias.
4863 (smie-indent--bolp): Rename from smie-bolp.
4864 (smie-indent--hanging-p): New alias.
4865 (smie--token): New dynamically bound variable.
4866 (smie-indent--parent): New function.
4867 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4868 (smie-rule-next-p): Rename from smie-next-p.
4869 (smie-rule-prev-p): Rename from smie-prev-p.
4870 (smie-rule-sibling-p, smie-rule-parent)
4871 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4872 (smie-rule-separator-outdent): New var.
4873 (smie-indent--rule): Merge with smie-indent--column.
4874 (smie-indent-forward-token, smie-indent-backward-token):
4875 Also recognize close parens.
4876 (smie-indent-keyword): Don't use smie-indent--column any more.
4877 (smie-indent-after-keyword): Ignore closers by default.
4878 (smie-indent-line): Use with-demoted-errors.
4879 * progmodes/octave-mod.el (octave-smie-grammar):
4880 Rename from octave-smie-op-levels.
4881 (octave-smie-rules): Adjust to new behavior.
4882 * progmodes/prolog.el (prolog-smie-grammar):
4883 Rename from prolog-smie-op-levels.
4885 2010-11-07 Glenn Morris <rgm@gnu.org>
4887 * eshell/esh-util.el (subst-char-in-string)
4888 (directory-files-and-attributes): These compatibility definitions are
4889 not needed on any version of Emacs since at least 21.4.
4891 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4892 (verilog-get-end-of-line): Remove.
4893 (verilog-within-string, verilog-re-search-forward-substr)
4894 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4895 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4896 Use point-at-bol, point-at-eol.
4897 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4899 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4900 (electric-pascal-terminate-line, pascal-set-auto-comments)
4901 (pascal-indent-paramlist, pascal-indent-declaration)
4902 (pascal-get-lineup-indent, pascal-func-completion)
4903 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4904 Use point-at-bol, point-at-eol.
4905 * progmodes/flymake.el (flymake-line-beginning-position)
4906 (flymake-line-end-position): Remove.
4907 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4908 * eshell/esh-util.el (line-end-position, line-beginning-position):
4909 Remove compat definitions.
4911 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4913 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4914 Use line-end-position.
4916 * emacs-lisp/chart.el (chart-zap-chars):
4917 * play/decipher.el (decipher-set-map):
4918 * progmodes/ada-mode.el (ada-get-current-indent)
4919 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4920 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4921 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4922 (ada-get-all-references):
4923 * progmodes/cperl-mode.el (cperl-electric-paren)
4924 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4925 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4926 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4927 (cperl-word-at-point-hard):
4928 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4929 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4930 (idlwave-shell-display-line):
4931 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4932 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4933 * progmodes/js.el (js--re-search-forward-inner)
4934 (js--re-search-backward-inner):
4935 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4936 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4937 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4938 * textmodes/flyspell.el (flyspell-process-localwords):
4939 * textmodes/ispell.el (ispell-buffer-local-parsing)
4940 (ispell-buffer-local-dict, ispell-buffer-local-words):
4941 Use point-at-bol and point-at-eol.
4943 * speedbar.el (speedbar-generic-item-info)
4944 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4945 (speedbar-add-indicator, speedbar-check-vc-this-line)
4946 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4947 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4948 Replace more uses of end-of-line etc with line-end-position.
4950 2010-11-06 Glenn Morris <rgm@gnu.org>
4952 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4953 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4954 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4955 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4956 (texinfo-multiple-files-update):
4957 * textmodes/table.el (table--probe-cell-left-up)
4958 (table--probe-cell-right-bottom):
4959 * textmodes/picture.el (picture-tab-search):
4960 * textmodes/page-ext.el (pages-copy-header-and-position)
4961 (pages-directory-for-addresses):
4962 * progmodes/vera-mode.el (vera-get-offset):
4963 * progmodes/simula.el (simula-calculate-indent):
4964 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4965 * progmodes/prolog.el (end-of-prolog-clause):
4966 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4967 * progmodes/icon.el (indent-icon-exp):
4968 * progmodes/etags.el (tag-re-match-p):
4969 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4970 * progmodes/ebnf2ps.el (ebnf-begin-file):
4971 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4972 (dcl-save-local-variable):
4973 * play/life.el (life-setup):
4974 * play/gametree.el (gametree-looking-at-ply):
4975 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4976 * mail/sendmail.el (mail-mode-auto-fill):
4977 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4978 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4979 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4980 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4981 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4982 * type-break.el (type-break-file-keystroke-count):
4983 * term.el (term-replace-by-expanded-history-before-point)
4984 (term-skip-prompt, term-extract-string):
4985 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4986 (speedbar-contract-line, speedbar-toggle-line-expansion)
4987 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4988 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4989 * sort.el (sort-skip-fields):
4990 * skeleton.el (skeleton-internal-list):
4991 * simple.el (line-move-finish, line-move-to-column):
4992 * shell.el (shell-forward-command):
4993 * misc.el (copy-from-above-command):
4994 * makesum.el (double-column):
4995 * ebuff-menu.el (electric-buffer-update-highlight):
4996 * dired.el (dired-move-to-end-of-filename):
4997 * dframe.el (dframe-popup-kludge):
4998 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4999 * arc-mode.el (archive-get-lineno):
5000 Use line-end-position and line-beginning-position.
5002 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5003 (idlwave-study-twins): Prefix dynamic local `class'.
5004 (idlwave-routine-twin-compare): Update for above name change.
5006 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5007 Use boundp tests to silence compiler. Update for changed name of
5008 bytecomp-filename variable.
5010 * emulation/viper-cmd.el (viper-read-string-with-history):
5011 Prefix dynamic local `initial'.
5012 (viper-minibuffer-standard-hook): Update for above name change.
5014 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5015 (elint-init-form): Update for above name change.
5017 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5018 local variables `cbeg' and `cend' a prefix.
5019 (mail-extr-voodoo): Update for above name change.
5021 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5022 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5023 (reftex-toc-promote-action): Doc fix.
5025 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5026 `prompt', `data' a prefix.
5027 (reftex-select-post-command-hook, reftex-select-callback)
5028 (reftex-select-mouse-accept, reftex-select-read-cite):
5029 Update for above name changes.
5031 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5032 `refstyle' to reftex-refstyle.
5033 (reftex-offer-label-menu): Update for above name change.
5034 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5035 `refstyle' name change.
5037 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5038 with with-current-buffer.
5039 (diff, template): Give dynamic local variables a prefix.
5040 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5041 (emerge-line-number-in-buf): Update for above name change.
5042 (emerge-combine-versions-internal): Rename local `template' to
5043 emerge-combine-template.
5044 (emerge-combine-versions-edit): Update for above name change.
5046 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5048 * textmodes/reftex-cite.el
5049 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5050 entries with whitespace after \bibitem.
5051 (reftex-create-bibtex-file): Match entries containing numbers and
5052 symbol constituents. Make sure that entries with whitespace at
5053 various places are found.
5055 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5057 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5059 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5061 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5063 2010-11-05 Glenn Morris <rgm@gnu.org>
5065 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5066 (woman2-roff-buffer): Give local variable `request' a prefix.
5067 (woman0-macro): Rename argument `request' in the same way.
5068 (woman-request): New name for `request' dynamic variable.
5069 (woman-unquote, woman-forward-arg): Update for above name change.
5070 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5071 (woman1-unquote): New name for `unquote' dynamic variable.
5072 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5073 (woman-translations): Rename from `translations'. No longer global.
5074 (woman2-tr, woman-translate): Update for above name change.
5075 (woman-translate): Check for bound variable.
5076 (woman2-roff-buffer): Give local variable `translations' a prefix.
5078 * play/doctor.el: Give all local variables a prefix. Update callers.
5079 (doc$, doctor-put-meaning): Use backquote.
5081 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5082 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5084 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5085 variables bytes, ptr, op a prefix.
5086 (disassemble-offset): Update for above change.
5088 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5090 * emacs-lisp/package.el (package-unpack): Remove no-op.
5091 (package--builtins, package--dir): Doc fix.
5092 (package-activate-1, package-activate, package-install)
5093 (package-compute-transaction): Fix error message.
5094 (package-delete): Use delete-directory. Omit system packages.
5095 (package-initialize): Set package-alist to nil first.
5096 (package-menu-mark-delete, package-menu-mark-install): Don't add
5097 symbols that are inconsistent with the package state.
5098 (package-menu-execute): Perform deletions and installations as
5099 single batch operations.
5101 2010-11-03 Glenn Morris <rgm@gnu.org>
5103 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5104 (props): Remove unnecessary declaration.
5106 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5107 set-process-query-on-exit-flag.
5109 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5110 (reftex-toc-do-promote): Remove unused local `mpos'.
5111 (reftex-toc-restore-region): Make `mpos' local to this function.
5113 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5115 * play/landmark.el (lm-losing-threshold): Correct spelling.
5116 (lm-human-plays): Use new name.
5118 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5119 (gomoku-human-plays): Use new name.
5121 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5122 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5123 (gomoku-score-trans-table, gomoku-winning-threshold)
5124 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5126 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5128 * emacs-lisp/package.el: Don't put built-in packages in
5129 package-alist, to avoid loading inefficiencies.
5130 (package-built-in-p): Make VERSION optional, and treat it as a
5131 minimum acceptable version.
5132 (package-activate): Search separately for built-in packages.
5133 Emit a warning if a dependency fails.
5134 (define-package): Handle most common case, where there is no
5135 obsolete package, first.
5136 (package-compute-transaction): Print required version in error.
5137 (package--initialized): New variable.
5138 (list-packages): Use it.
5139 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5140 built-in packages in packages-alist; keep it separate.
5141 Set package--initialized.
5142 (describe-package): Avoid activating packages as a side-effect.
5143 Search separately for built-in packages.
5144 (describe-package-1): Handle the case where an elpa package is
5145 simultaneously built-in and available/installed.
5146 (package-installed-p, package--generate-package-list):
5147 Search separately for built-in packages.
5148 (package-load-descriptor): Doc fix.
5150 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5152 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5153 Handle __DATA__ and __END__.
5155 2010-11-02 Noah Friedman <friedman@splode.com>
5157 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5158 nil, do not ask to recompile files that are not already compiled,
5159 and do not recompile them.
5161 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5163 * emacs-lisp/package.el (package-initialize): Ensure that
5164 obsoleted built-in packages are not in package-activated-list
5166 (describe-package-1): Make the "installed" status override
5169 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5171 * subr.el (version-separator, version-regexp-alist): Remove '*'
5173 (version-list-<=, version<=, version=): Doc fix.
5175 2010-11-01 Kenichi Handa <handa@m17n.org>
5177 * faces.el (glyphless-char): Inherit underline for tty.
5179 2010-11-01 Kenichi Handa <handa@m17n.org>
5181 Implement various display methods for glyphless characters.
5183 * international/characters.el (char-acronym-table): New variable.
5184 (glyphless-char-control): New variable.
5185 (update-glyphless-char-display): New function.
5187 * faces.el (glyphless-char): New face.
5189 2010-11-01 Glenn Morris <rgm@gnu.org>
5191 * calendar/holidays.el (general-holidays, oriental-holidays)
5192 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5193 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5194 the definitions of their targets.
5196 * emacs-lisp/smie.el (smie): New custom group.
5197 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5199 * faces.el (xw-defined-colors, x-setup-function-keys):
5200 * mouse-sel.el (x-select-text):
5201 * term/w32console.el (x-setup-function-keys): Update declarations.
5203 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5205 * textmodes/ispell.el (comment-add): Declare.
5207 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5210 * info.el (finder-keywords-hash, package-alist): Declare.
5212 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5214 * finder.el (finder-compile-keywords): Don't use intern-soft,
5215 since package names may not yet exist in the obarray.
5217 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5219 * vc/vc-arch.el (vc-arch-checkin):
5220 * vc/vc-cvs.el (vc-cvs-checkin):
5221 * vc/vc-mtn.el (vc-mtn-checkin):
5222 * vc/vc-rcs.el (vc-rcs-checkin):
5223 * vc/vc-sccs.el (vc-sccs-checkin):
5224 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5225 since 2010-04-21 commit by Stefan Monnier.
5227 2010-11-01 Glenn Morris <rgm@gnu.org>
5229 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5231 * startup.el (package-enable-at-startup, package-initialize):
5234 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5237 2010-10-31 Julien Danjou <julien@danjou.info>
5239 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5240 (byte-recompile-directory):
5241 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5242 Use `byte-recompile-file'.
5244 2010-10-31 Glenn Morris <rgm@gnu.org>
5246 * cus-start.el: Handle standard values via a keyword.
5247 Only set version property if specified.
5248 (cursor-in-non-selected-windows, menu-bar-mode)
5249 (tool-bar-mode, show-trailing-whitespace):
5250 Do not specify standard values.
5251 (transient-mark-mode, temporary-file-directory): Use :standard.
5253 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5255 * term/x-win.el (x-get-selection-value): New function that gets
5256 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5258 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5260 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5261 preserve owner and group when editing files. (Bug#7289)
5263 2010-10-31 Glenn Morris <rgm@gnu.org>
5265 * speedbar.el (speedbar-mode):
5266 * play/fortune.el (fortune-in-buffer, fortune):
5267 * play/gomoku.el (gomoku-mode):
5268 * play/landmark.el (lm-mode):
5269 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5270 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5272 * select.el (x-selection): Mark it as an obsolete alias.
5274 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5276 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5277 major-mode (bug#7284).
5279 2010-10-31 Glenn Morris <rgm@gnu.org>
5281 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5282 rather than just an unused variable that inherits from the real one.
5284 2010-10-31 Alan Mackenzie <acm@muc.de>
5286 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5287 This fixes bug #7185.
5289 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5291 * startup.el (command-line): Search for package directories, and
5292 don't load package.el if none are found.
5294 * emacs-lisp/package.el (describe-package, list-packages):
5295 Call package-initialize if it has not been called yet.
5297 2010-10-30 Alan Mackenzie <acm@muc.de>
5299 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5300 which fontifies the tail of an enum.
5301 (c-basic-matchers-after): Insert a call to the above new function.
5302 This fixes bug #7264.
5304 2010-10-30 Glenn Morris <rgm@gnu.org>
5306 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5307 tool-bar-mode, transient-mark-mode. (Bug#7306)
5308 Include the :set property in the dumped Emacs.
5310 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5312 SMIE: change indent rules format, improve smie-setup.
5313 * emacs-lisp/smie.el (smie-precs-precedence-table)
5314 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5315 Mark them pure so the tables gets built at compile time.
5316 (smie-bnf-precedence-table): Store the closer-alist in the table.
5317 (smie-prec2-levels): Preserve the closer-alist.
5318 (smie-blink-matching-open): Be more forgiving in case of indentation.
5319 (smie-hanging-p): Rename from smie-indent--hanging-p.
5320 (smie-bolp): Rename from smie-indent--bolp.
5321 (smie--parent, smie--after): New dynamic vars.
5322 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5323 (smie-indent-rules): Remove.
5324 (smie-indent--offset-rule): Remove fun.
5325 (smie-rules-function): New var.
5326 (smie-indent--rule): New fun.
5327 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5328 (smie-indent-exps): Use it.
5329 (smie-setup): Setup paren blinking; add keyword args for token
5330 functions; extract closer-alist from op-levels.
5331 (smie-indent-debug-log): Remove var.
5332 (smie-indent-debug): Remove fun.
5333 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5334 (prolog-smie-rules): New fun to replace it.
5335 (prolog-mode-variables): Simplify.
5336 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5337 it's setup automatically.
5338 (octave-smie-indent-rules): Remove.
5339 (octave-smie-rules): New fun to replace it.
5340 (octave-mode): Simplify.
5342 2010-10-29 Glenn Morris <rgm@gnu.org>
5344 * files.el (temporary-file-directory): Remove (already defined in C).
5345 * cus-start.el: Add temporary-file-directory.
5347 * abbrev.el (abbrev-mode):
5348 * composite.el (auto-composition-mode):
5349 * menu-bar.el (menu-bar-mode):
5350 * simple.el (transient-mark-mode):
5351 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5352 that they do not define the associated variables twice.
5353 * simple.el (transient-mark-mode): Remove defvar.
5354 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5355 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5356 Handle multiple groups, and also custom-delayed-init-variables.
5357 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5359 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5361 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5362 (pcase-if): Add one minor optimization.
5363 (pcase-split-equal): Rename from pcase-split-eq.
5364 (pcase-split-member): Rename from pcase-split-memq.
5365 (pcase-u1): Add strings to the member optimization.
5366 Add `guard' variant of predicates.
5367 (pcase-q1): Add string patterns.
5369 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5373 2010-10-28 Glenn Morris <rgm@gnu.org>
5375 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5376 Move menu-bar related settings to ../menu-bar.el.
5377 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5378 Move ns-specific settings here from term/ns-win.el.
5380 * simple.el (x-selection-owner-p): Remove unused declaration.
5382 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * minibuffer.el (completion-cycling): New var (bug#7266).
5385 (minibuffer-complete, completion--do-completion):
5386 Use completion--flush-all-sorted-completions.
5387 (minibuffer-complete): Only cycle if completion-cycling is set.
5388 (completion--flush-all-sorted-completions): Unset completion-cycling.
5389 (minibuffer-force-complete): Set completion-cycling.
5390 (completion-all-sorted-completions): Move declaration before first use.
5392 2010-10-28 Leo <sdl.web@gmail.com>
5394 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5395 which changes the order of matches seen by users (bug#7231).
5397 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5399 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5400 Don't confuse -omega as "-o mega".
5402 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5404 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5405 (log-edit-author): New dynamic var.
5406 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5407 to return the author if different from committer.
5408 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5410 * play/landmark.el: Adjust commenting convention.
5411 (lm-nil-score): Rename from nil-score.
5412 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5413 (OOOOscore): Move into a let in lm-score-trans-table.
5414 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5416 * electric.el (electric-indent-chars): Autoload.
5417 * progmodes/octave-mod.el (octave-mode):
5418 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5419 (ruby-mode-abbrev-table): Merge initialization and declaration.
5421 2010-10-27 Glenn Morris <rgm@gnu.org>
5423 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5426 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5428 * term/ns-win.el: Restore require of cl when compiling.
5429 (menu-bar-final-items): Remove non-existent `windows' menu.
5430 (ns-handle-nxopen): Optionally handle the temp-case.
5431 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5432 (ns-insert-file, ns-find-file): Use `pop'.
5434 2010-10-26 Glenn Morris <rgm@gnu.org>
5436 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5438 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5440 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5442 * term/common-win.el (x-setup-function-keys): Remove most of the
5443 keymappings. Comment on the remaining ones.
5445 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5447 * server.el (server-port): New option. (Bug#854)
5448 (server-start): Use server-port.
5450 2010-10-26 Glenn Morris <rgm@gnu.org>
5452 * term/ns-win.el (ns-version-string): Remove unused declaration.
5453 (ns-invocation-args): Change to x-invocation-args.
5454 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5455 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5456 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5457 Use x-invocation-args instead of ns-invocation-args.
5458 (ns-initialize-window-system, handle-args-function-alist):
5459 Use x-handle-args instead of ns-handle-args.
5460 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5461 * startup.el (command-line-ns-option-alist): Replace
5462 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5463 ns-handle-iconic with the x- equivalents.
5465 * term/common-win.el (x-select-enable-clipboard):
5466 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5468 * term/ns-win.el: No need to require cl when compiling.
5469 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5470 (xw-defined-colors): Use the common-win definitions.
5471 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5472 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5473 * term/common-win.el (x-select-text, x-alternatives-map)
5474 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5475 * loadup.el [ns]: Load common-win.
5477 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5479 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5480 recipients; expand mail aliases (Bug#7280).
5482 2010-10-25 Glenn Morris <rgm@gnu.org>
5484 * term/common-win.el (x-handle-switch): Simplify with pop.
5485 Optionally handle numeric switches.
5486 (x-handle-numeric-switch): Just call x-handle-switch.
5487 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5488 (x-handle-name-switch, x-handle-display, x-handle-args):
5491 * term/ns-win.el: Do not require easymenu.
5492 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5493 <spell>: Move adjustments to menu-bar.el.
5494 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5495 <separator-undo, spell>: Move ns-win's adjustments here.
5496 * loadup.el [ns]: Do not load easymenu.
5498 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5500 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5503 * startup.el (fancy-startup-tail): Instead of using inline images,
5504 refer to image files from etc/.
5506 * wid-edit.el (checkbox): Likewise.
5507 (widget-image-find): Center image specs.
5509 2010-10-24 Glenn Morris <rgm@gnu.org>
5511 * term/ns-win.el (x-select-text): Doc fix.
5512 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5513 (x-select-text): Move to term/common-win.
5514 * term/w32-win.el (xw-defined-colors): Move to common-win.
5515 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5516 (x-setup-function-keys, x-select-text): Move to common-win.
5517 * term/common-win.el (x-select-text, x-alternatives-map)
5518 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5521 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5523 * net/mairix.el (mairix-searches-mode-map):
5524 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5526 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5528 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5529 auto-built for efficiency of execution and updating.
5530 (verilog-extended-complete-re): Support 'pure' fucntion & task
5531 declarations (these have no bodies).
5532 (verilog-beg-of-statement): General cleanup to enable support of
5533 'pure' fucntion & task declarations (these have no bodies).
5534 These efforts together fix Verilog bug210 from veripool; which was also
5535 noticed by Steve Pearlmutter.
5536 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5537 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5538 Support `elsif. Reported by Shankar Giri.
5539 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5540 attribute handling for lining up declarations and assignments.
5541 (verilog-beg-of-statement-1): Fix issue where continued declaration
5542 is indented differently if it is after a begin..end clock.
5543 (verilog-in-attribute-p, verilog-skip-backward-comments)
5544 (verilog-skip-forward-comment-p): Support proper treatment of
5545 attributes by indent code. Reported by Jeff Steele.
5546 (verilog-in-directive-p): Fix comment to correctly describe function.
5547 (verilog-backward-up-list, verilog-in-struct-region-p)
5548 (verilog-backward-token, verilog-in-struct-p)
5549 (verilog-in-coverage-p, verilog-do-indent)
5550 (verilog-pretty-declarations): Use verilog-backward-up-list as
5551 wrapper around backward-up-list inorder to properly skip comments.
5552 Reported by David Rogoff.
5553 (verilog-property-re, verilog-endcomment-reason-re)
5554 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5555 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5556 of if). Reported by Max Bjurling and
5557 (verilog-calc-1): Fix for clocking block in modport
5558 declaration. Reported by Brian Hunter.
5560 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5562 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5563 (verilog-gate-keywords, verilog-read-sub-decls)
5564 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5565 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5566 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5567 (verilog-read-decls): Fix spaces in V2K module parameters causing
5568 mis-identification as interfaces, bug287.
5569 (verilog-read-decls): Fix not treating "parameter string" as a
5570 parameter in AUTOINSTPARAM.
5571 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5572 treating `elsif similar to `endif inside AUTOSENSE.
5573 (verilog-do-indent): Implement correct automatic or static task or
5574 function end comment highlight. Reported by Steve Pearlmutter.
5575 (verilog-font-lock-keywords-2): Fix highlighting of single
5576 character pins, bug264. Reported by Michael Laajanen.
5577 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5578 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5579 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5580 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5581 (verilog-pretty-expr): Fix interactive arguments, bug272.
5582 Reported by Mark Johnson.
5583 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5584 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5585 bug269. Suggested by Gary Delp.
5586 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5587 (verilog-preprocessor, verilog-set-compile-command):
5588 Create verilog-preprocess and verilog-preprocessor to show
5589 preprocessed output.
5590 (verilog-get-beg-of-line, verilog-get-end-of-line)
5591 (verilog-modi-file-or-buffer, verilog-modi-name)
5592 (verilog-modi-point, verilog-within-string): Move defmacro's
5593 before first use to avoid warning. Reported by Steve Pearlmutter.
5594 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5595 (verilog-colorize-region, verilog-highlight-buffer)
5596 (verilog-highlight-includes, verilog-highlight-modules)
5597 (verilog-highlight-region, verilog-mode): Rename colorize to
5598 highlight to match other packages. Disable module highlighting,
5599 as received speed complaints, reenable for experimentation only
5600 using new verilog-highlight-modules.
5601 (verilog-read-decls): Fix regexp stack overflow in very large
5602 AUTO_TEMPLATEs, bug250.
5603 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5604 (verilog-scan): Create verilog-save-buffer-state to standardize
5605 making insignificant changes that shouldn't call hooks.
5606 (verilog-save-no-change-functions, verilog-save-scan-cache)
5607 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5608 Create verilog-save-no-change-functions to wrap verilog-scan
5609 preservation, and fix to work with nested preserved calls.
5610 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5611 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5612 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5613 (verilog-submit-bug-report): Update variable list to be complete.
5614 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5615 breaking on-the-fly font-locking.
5616 (verilog-colorize-buffer, verilog-colorize-include-files)
5617 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5618 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5619 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5620 AUTOINST cell instance name, middle mouse button now finds-file on
5621 it. Suggested by Brad Dobbie.
5622 (verilog-alw-get-temps, verilog-auto-reset)
5623 (verilog-auto-sense-sigs, verilog-read-always-signals)
5624 (verilog-read-always-signals-recurse): Fix loop indexes being
5625 AUTORESET. AUTORESET now assumes any variables in the
5626 initialization section of a for() should be ignored.
5627 Reported by Dan Dever.
5628 (verilog-error-font-lock-keywords)
5629 (verilog-error-regexp-emacs-alist)
5630 (verilog-error-regexp-xemacs-alist): Fix error detection of
5631 Cadence HAL, reported by David Asher. Repair drift between the
5632 three similar error variables.
5633 (verilog-modi-lookup, verilog-modi-lookup-cache)
5634 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5635 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5636 Fix slow verilog-auto expansion on very large files.
5637 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5638 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5639 "{1*2{...". Broke in last revision.
5640 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5641 submodule connections with replications "{#{a},#{b}}".
5643 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5645 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5646 Fix typo in docstring.
5648 2010-10-24 Kenichi Handa <handa@m17n.org>
5650 * face-remap.el (text-scale-adjust): Call read-event with a proper
5653 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5655 * emacs-lisp/unsafep.el: Don't mark functions that display
5656 messages as safe. Suggested by Johan Bockgård.
5658 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5661 Turn comments into docstrings.
5663 * minibuffer.el (completion--replace): Move point where it belongs
5664 when there's a common suffix (bug#7215).
5666 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5668 Merge read-color and facemenu-read-color (Bug#7242).
5670 * faces.el (read-color): Use the completion code from
5671 facemenu-read-color. Require match in completion. Doc fix.
5673 * facemenu.el (facemenu-read-color): Alias for read-color.
5674 (facemenu-set-foreground, facemenu-set-background):
5677 * frame.el (set-background-color, set-foreground-color)
5678 (set-cursor-color, set-mouse-color, set-border-color):
5681 2010-10-24 Leo <sdl.web@gmail.com>
5683 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5684 argument of delete-file and delete-directory (Bug#7011).
5686 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5688 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5691 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5693 * emacs-lisp/package.el (package--generate-package-list): Make the
5694 *Packages* buffer read-only.
5696 2010-10-24 Alan Mackenzie <acm@muc.de>
5698 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5699 result of `c-beginning-of-decl-1' between invocations of a lambda
5700 function (Bug #7265).
5702 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5704 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5705 executable is not available on the system (Bug#7268).
5707 2010-10-24 Glenn Morris <rgm@gnu.org>
5709 * select.el (selection-coding-system, next-selection-coding-system):
5710 Sync doc with C versions.
5712 * w32-vars.el (x-select-enable-clipboard):
5713 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5714 * term/common-win.el (x-select-enable-clipboard): Move here.
5716 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5717 definition of C variable.
5719 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5720 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5721 Don't redefine things that are defined in C.
5722 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5723 (show-trailing-whitespace, auto-hscroll-mode)
5724 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5725 Set up the appropriate custom properties.
5727 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5730 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5731 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5732 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5733 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5735 2010-10-23 Glenn Morris <rgm@gnu.org>
5737 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5740 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5741 Sync docs with C version.
5743 * term/ns-win.el (xw-defined-colors):
5744 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5746 * term/pc-win.el (x-select-enable-clipboard):
5747 * term/x-win.el (x-select-enable-clipboard):
5748 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5750 * comint.el (comint-password-prompt-regexp): Make it less vague.
5753 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5755 * help.el (finder-by-keyword): Remove unnecessary autoload.
5757 2010-10-22 Glenn Morris <rgm@gnu.org>
5759 * loadup.el: Unconditionally load float-sup.
5760 * paren.el (show-paren-delay):
5761 * emacs-lisp/float-sup.el:
5762 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5763 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5764 (lazy-lock-stealth-verbose): Assume float support.
5765 * ps-print.el: Assume float support on Emacs.
5766 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5767 Remove non-float branch.
5769 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5770 src/Makefile no longer being pre-processed.
5772 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5774 * emacs-lisp/find-func.el (find-library): Use test-completion.
5776 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5778 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5780 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5782 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5783 space in stat format string.
5784 (tramp-send-command): Unset $PS1 when using here documents, in
5785 order not to get several prompts.
5786 (tramp-get-inline-coding): Return `nil' in case of errors.
5788 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5790 * hexl.el (hexl-mode, hexl-mode-exit):
5791 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5792 (hexl-revert-buffer-function): New function.
5793 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5795 2010-10-19 Alan Mackenzie <acm@muc.de>
5797 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5798 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5799 that these keywords aren't wrongly matched as identifiers.
5801 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5802 setting of c-new-BEG and c-new-END from c-before-change to
5803 c-after-change. (Bug#7181)
5805 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5807 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5810 * custom.el (custom-theme-set-variables): Likewise.
5811 (load-theme): Add custom-theme-set-faces and
5812 custom-theme-set-variables to safe-functions while loading.
5813 (custom-enabled-themes): Mark as risky.
5815 2010-10-18 Julien Danjou <julien@danjou.info>
5817 * bindings.el: Remove end dashes in default mode-line-format.
5819 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5821 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5822 to delete-forward-char.
5824 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5825 deletechar, and hence delete-forward-char.
5827 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5829 * repeat.el (repeat): Use read-key (bug#6256).
5831 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5833 * emacs-lisp/unsafep.el: Don't mark functions that display
5834 messages as safe. Suggested by Johan Bockgård.
5836 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5838 * minibuffer.el (completion--replace): Move point where it belongs
5839 when there's a common suffix (bug#7215).
5841 2010-10-19 Kenichi Handa <handa@m17n.org>
5843 * international/characters.el: Add category '|' (word breakable)
5844 to fullwidth characters.
5846 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5848 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5849 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5850 order to make stat results a float. Patch by Andreas Schwab
5851 <schwab@linux-m68k.org>.
5853 2010-10-18 Julien Danjou <julien@danjou.info>
5855 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5856 hidden by `make-pointer-invisible'.
5858 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * files.el (locate-file-completion-table): Strip non-matching elements
5861 before checking length of list (bug#7238).
5863 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5865 * custom.el (custom-theme-set-variables): Mark as a safe function.
5866 (load-theme): Check forms using unsafep.
5868 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5870 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5872 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5873 Fix aspell data file searching (bug#7230).
5875 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5877 * cus-theme.el (custom-theme--migrate-settings): New var.
5878 (customize-create-theme): Allow editing the `user' theme.
5879 (custom-theme-add-variable, custom-theme-add-var-1)
5880 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5881 to the front of each variable or face widget.
5882 (custom-theme-write): Save theme settings in the correct order.
5883 Optionally, remove saved settings from user customizations.
5884 (custom-theme-write-variables, custom-theme-write-faces):
5885 Save only the checked widgets.
5886 (customize-themes): Add a link for migrating custom settings.
5888 * custom.el (custom-declare-theme, provide-theme):
5889 Use custom-theme-name-valid-p.
5890 (custom-theme-name-valid-p): Remove checks that are now
5891 unnecessary since themes no longer obey load-path.
5893 * cus-edit.el (custom-variable-value-create): For the simple
5894 style, hide documentation string when hidden.
5896 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5898 * cus-edit.el (custom-variable, custom-face): Combine the
5899 :inhibit-magic and :display-style properties into a single
5900 :custom-style property.
5901 (custom-toggle-hide-variable, custom-toggle-hide-face):
5902 New functions. If hiding an edited value, save it to :shown-value.
5903 (custom-variable-value-create, custom-face-value-create): Use them.
5904 (custom-magic-reset): Allow magic property to be unset.
5906 * custom.el: Custom themes no longer use load-path.
5907 (custom-theme-load-path): New option. Change built-in theme
5909 (custom-enabled-themes): Add custom-theme-load-path dependency.
5910 (custom-theme--load-path): New function.
5911 (load-theme, custom-available-themes): Use it.
5913 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5914 (customize-themes): Link to custom-theme-load-path variable.
5915 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5916 :custom-style property.
5918 * themes/*.el: Moved to etc/.
5920 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5922 * textmodes/reftex-cite.el
5923 (reftex-extract-bib-entries-from-thebibliography): Do not move
5924 point when searching for \bibitem entries. Match entries with
5925 spaces or tabs in front of arguments.
5927 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5929 * cus-theme.el (customize-create-theme): Delete overlays after
5930 erasing. If given a THEME arg, display only the faces of that arg
5931 instead of custom-theme--listed-faces.
5932 (custom-theme-variable-menu, custom-theme-variable-action)
5933 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5934 (custom-theme-add-variable, custom-theme-add-face): Apply value
5935 from the theme settings, instead of the current value.
5936 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5937 (custom-theme-visit-theme): Allow calling outside theme buffers.
5938 (custom-theme-merge-theme): Don't enable the theme when merging.
5939 (custom-theme-write-variables, custom-theme-write-faces): Use the
5940 :shown-value properties to save buffer values, not global ones.
5941 (customize-themes): Display a warning about user customizations.
5943 * cus-edit.el (custom-variable-value-create)
5944 (custom-face-value-create): Obey new special properties
5945 :shown-value and :inhibit-magic.
5947 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5949 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5950 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5953 2010-10-14 Kenichi Handa <handa@m17n.org>
5955 * mail/rmail.el (rmail-show-message-1): Catch an error of
5956 base64-decode-region and just show an error message (bug#7165).
5958 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5959 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5960 a font-spec (bug#7197).
5962 2010-10-14 Glenn Morris <rgm@gnu.org>
5964 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5966 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5968 * international/mule.el (define-coding-system):
5969 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5970 * composite.el (compose-region): Fix typo in docstring.
5972 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5974 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5975 only after checking the theme-face property.
5977 * faces.el (face-spec-reset-face): Reset all attributes in one
5978 single call to set-face-attribute.
5979 (face-spec-match-p): Make it a defsubst.
5980 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5981 (x-create-frame-with-faces, tty-create-frame-with-faces)
5982 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5983 frame-set-background-mode, since they are recomputed immediately
5984 afterwards in face-set-after-frame-default.
5985 (face-set-after-frame-default): Minor optimization.
5986 (cursor): Provide non-trivial defface spec.
5988 * custom.el (custom-theme-recalc-face): Simplify.
5990 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5992 * calc/calc-alg.el (math-var): Rename from `var'.
5993 (math-is-polynomial, math-is-poly-rec): Replace `var'
5996 * calc/calcalg2.el (math-var): Rename from `var'.
5997 (calcFunc-table, math-scan-for-limits): Replace `var'
6000 2010-10-13 Glenn Morris <rgm@gnu.org>
6002 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6004 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6006 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6008 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6010 * net/tls.el (tls-program): Remove spurious %s from openssl.
6011 (tls-starttls-switches): Remove starttls hack.
6012 (open-tls-stream): Ditto.
6013 (tls-find-starttls-argument): Ditto.
6015 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6017 * image.el (image-library-alist): Declare as obsolete alias.
6018 (image-type-available-p): Use `dynamic-library-alist'.
6020 * term/w32-win.el (dynamic-library-alist):
6021 Use instead of `image-library-alist'.
6023 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6025 * subr.el (last): Make it faster. (Bug#7174)
6027 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6029 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6031 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6033 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6034 (describe-theme-1): Extract doc from unloaded themes.
6036 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6038 * themes/tango-theme.el:
6039 * themes/tango-dark-theme.el:
6040 * themes/wheatgrass-theme.el: New files.
6042 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6044 * cus-theme.el (describe-theme, customize-themes)
6045 (custom-theme-save): New commands.
6046 (custom-new-theme-mode-map): Bind C-x C-s.
6047 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6048 (customize-create-theme): New optional arg THEME.
6049 (custom-theme-revert): Use it.
6050 (custom-theme-visit-theme): Remove dead code.
6051 (custom-theme-merge-theme): Use custom-available-themes.
6052 (custom-theme-write): Make interactive.
6053 (custom-theme-write): Use custom-theme-name-valid-p.
6054 (describe-theme-1, custom-theme-choose-revert)
6055 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6057 (custom-theme-allow-multiple-selections): New option.
6058 (custom-theme-choose-mode): New major mode.
6060 * custom.el (custom-theme-set-variables): Remove dead code.
6061 Obey custom--inhibit-theme-enable.
6062 (custom--inhibit-theme-enable): New var.
6063 (provide-theme): Obey it.
6064 (load-theme): Replace load with manual read/eval, in order to
6065 check for correctness. Use custom-theme-name-valid-p.
6066 (custom-theme-name-valid-p): New function.
6067 (custom-available-themes): Use it.
6069 * cus-edit.el (custom--initialize-widget-variables): New function.
6070 (Custom-mode): Use it.
6072 * cus-face.el (custom-theme-set-faces): Remove dead code.
6073 Obey custom--inhibit-theme-enable.
6075 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6077 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6079 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6081 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6083 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6084 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6085 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6087 * cus-start.el (all): ns-right-alternate-modifier is new.
6089 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * emacs-lisp/lisp.el (lisp-completion-at-point):
6092 Use emacs-lisp-mode-syntax-table for the whole function.
6094 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6096 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6097 instead of font-lock-mode before adding keywords.
6098 Remove hi-lock-mode off code. Remove inhibit hack.
6099 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6100 non-nil; removed hook inhibit hack.
6102 2010-10-12 Glenn Morris <rgm@gnu.org>
6104 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6105 (load-path-shadows-find): ... to this.
6106 (list-load-path-shadows): Update for above change.
6108 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6110 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6112 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6113 Fix comment for declare-function.
6115 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6117 * custom.el (custom-fix-face-spec): New function; code moved from
6118 custom-face-edit-fix-value.
6119 (custom-push-theme): Use it when checking if a face has been
6120 changed outside customize.
6121 (custom-available-themes): New function.
6122 (load-theme): Use it.
6124 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6126 * custom.el (custom-push-theme): Cleanup (use cond).
6127 (disable-theme): Recompute the saved-face property.
6128 (custom-theme-recalc-face): Follow face alias before setting prop.
6130 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6131 New variables, containing checkbox images.
6133 * startup.el (fancy-startup-tail):
6134 * wid-edit.el (checkbox): Use them.
6136 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6138 * shell.el (shell-mode-map):
6139 * progmodes/modula2.el (m2-mode-map):
6140 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6141 * play/mpuz.el (mpuz-mode-map):
6142 * play/landmark.el (lm-mode-map):
6143 * play/decipher.el (decipher-mode-map):
6144 * play/5x5.el (5x5-mode-map):
6145 * net/telnet.el (telnet-mode-map):
6146 * net/quickurl.el (quickurl-list-mode-map):
6147 * net/mairix.el (mairix-searches-mode-map):
6148 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6149 * net/dig.el (dig-mode-map):
6150 * mail/mspools.el (mspools-mode-map):
6151 * hexl.el (hexl-mode-map):
6152 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6153 (wordstar-C-o-map, wordstar-C-q-map):
6154 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6155 * emacs-lisp/chart.el (chart-map):
6156 * edmacro.el (edmacro-mode-map):
6157 * erc/erc-list.el (erc-list-menu-mode-map):
6158 * array.el (array-mode-map): Declare and define in one step.
6160 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6162 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6164 * epa.el (epa-passphrase-callback-function): Display filename
6165 passed as the 3rd arg.
6166 * epa-file.el (epa-file-passphrase-callback-function):
6167 Pass filename to epa-passphrase-callback-function.
6169 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6171 * cus-edit.el (custom-face-widget-to-spec)
6172 (custom-face-get-current-spec, custom-face-state): New functions.
6173 (custom-face-set, custom-face-mark-to-save)
6174 (custom-face-value-create, custom-face-state-set): Use them.
6176 * cus-theme.el (custom-theme--listed-faces): New var.
6177 (customize-create-theme): Use *Custom Theme* as the buffer name.
6178 Set revert-buffer-function. Optional arg BUFFER. Insert all
6179 faces listed in custom-theme--listed-faces.
6180 (custom-theme-revert): New function.
6181 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6183 (custom-theme-write): Prompt for theme name if empty.
6184 (custom-theme-write-variables): Use dolist.
6185 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6187 2010-10-09 Alan Mackenzie <acm@muc.de>
6189 Enhance fontification of declarators to take account of the
6190 presence/absence of "typedef".
6192 * cc-engine.el (c-forward-type): New &optional param
6194 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6195 presence of either or both of a "struct"-like keyword and "typedef".
6197 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6198 fontification of declarators which follow a "}".
6199 (c-font-lock-declarations): Fontify declarators according to the
6200 presence/absence of "typedef".
6202 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6204 (c-typedef-decl-key): New lang variable built from
6205 c-typedef-decl-kwds.
6207 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6209 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6210 since that's too annoying. Move the filter groups commands to
6213 * epa.el (epa-passphrase-callback-function): Say what we're
6214 querying the password for.
6216 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6217 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6219 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6221 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6222 (custom-magic-value-create): Pad button tags with spaces.
6223 (custom-face-edit): New variable.
6224 (custom-face-value-create): Determine whether to use the usual
6225 face editor here, instead of using custom-face-selected.
6226 Pass face defaults to custom-face-edit widget.
6227 (custom-face-selected, custom-display-unselected): Delete widgets.
6228 (custom-display-unselected-match): Function removed.
6229 (custom-face-set, custom-face-mark-to-save):
6230 Accept custom-face-edit widgets as the direct widget child.
6232 * wid-edit.el (widget--completing-widget): New var.
6233 (widget-default-complete): Bind it when doing completion.
6234 (widget-string-complete, widget-file-complete): Use it.
6236 2010-10-09 Glenn Morris <rgm@gnu.org>
6238 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6239 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6240 (holiday-hebrew-misc): Small simplifications.
6242 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6244 * net/browse-url.el: Don't require thingatpt, term, dired,
6245 executable, or w3-auto when compiling.
6246 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6248 (browse-url-text-emacs): Require term.
6250 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6252 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6254 2010-10-08 Glenn Morris <rgm@gnu.org>
6256 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6258 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6259 (shadows-compare-text-p): Make it an obsolete alias for...
6260 (load-path-shadows-compare-text): ... new name.
6261 (find-emacs-lisp-shadows): Update for above name change.
6262 (load-path-shadows-same-file-or-nonexistent): New name for the old
6263 shadow-same-file-or-nonexistent.
6265 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6267 * minibuffer.el (completion--some, completion--do-completion)
6268 (minibuffer-complete-and-exit, minibuffer-completion-help)
6269 (completion-basic-try-completion)
6270 (completion-basic-all-completions)
6271 (completion-pcm--find-all-completions): Use lexical-let to
6272 avoid some false matches in variable completion (Bug#7056)
6274 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6276 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6278 2010-10-08 Leo <sdl.web@gmail.com>
6280 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6281 return non-nil if the file exists (Bug#7090).
6283 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6285 * minibuffer.el (completion--replace):
6286 Better preserve markers (bug#7138).
6288 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6290 * server.el (server-process-filter): Doc fix.
6292 2010-10-08 Drew Adams <drew.adams@oracle.com>
6294 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6296 2010-10-08 Glenn Morris <rgm@gnu.org>
6298 * vc/ediff-wind.el (ediff-setup-control-frame):
6299 * vc/ediff-ptch.el (ediff-default-backup-extension):
6300 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6301 (ediff-exec-process): Remove system-types emx, windows-95.
6303 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6305 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6307 * cus-edit.el (custom-variable, custom-face): Doc fix.
6308 (custom-face-edit): Add value-create attribute.
6309 (custom-face-edit-value-create)
6310 (custom-face-edit-value-visibility-action): New functions.
6311 Hide unused face attributes by default, and add a visibility toggle.
6312 (custom-face-edit-deactivate): Show empty values with shadow face.
6313 (custom-face-selected): Only use this for face specs with default
6315 (custom-face-value-create): Cleanup.
6317 * wid-edit.el (widget-checklist-value-create): Use dolist.
6318 (widget-checklist-match-find): Make second arg optional.
6320 2010-10-07 Glenn Morris <rgm@gnu.org>
6322 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6325 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6326 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6327 load-path-shadows-mode, update references.
6328 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6329 Rename variable and button.
6330 (list-load-path-shadows): Update button caller.
6332 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6334 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6335 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6336 (smie-merge-prec2s): Handle those new entries.
6337 (smie-prec2-levels): Only set precedence to nil for actual
6339 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6340 that is now unnecessary.
6342 2010-10-07 Miles Bader <miles@gnu.org>
6344 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6346 2010-10-07 Glenn Morris <rgm@gnu.org>
6348 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6349 (mail-position-on-field): Remove declarations.
6350 (mail-position-on-field): Autoload it.
6351 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6352 and mail-header-end. Don't require sendmail.
6354 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6355 (shadow-mode): New mode.
6356 (shadow-find-file): New button.
6357 (list-load-path-shadows): Use shadow-mode and buttons.
6359 * iimage.el (iimage-version): Remove.
6360 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6361 Turn into defcustoms.
6362 (iimage-mode-map): Give it a doc string.
6364 * calendar/appt.el (appt-activate): Give a warning rather than an error
6365 if there is no diary-file.
6367 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6369 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6370 Use `tramp-handle-find-backup-file-name'.
6372 2010-10-06 Glenn Morris <rgm@gnu.org>
6374 * font-core.el (font-lock-defaults-alist): Remove variable.
6375 (font-lock-mode): Doc fix.
6376 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6377 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6378 (font-lock-set-defaults): Doc fix.
6379 Do not consult font-lock-defaults-alist.
6381 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6383 * emacs-lisp/cl.el: No longer provide cl-19.
6385 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6387 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6388 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6389 New defuns, taken from tramp-smb.el.
6390 (tramp-coding-system-change-eol-conversion)
6391 (tramp-set-process-query-on-exit-flag): Remove.
6393 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6394 (tramp-compat-coding-system-change-eol-conversion)
6395 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6398 * net/tramp-gvfs.el:
6399 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6400 by `tramp-compat-set-process-query-on-exit-flag'.
6402 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6403 Use `tramp-handle-directory-files-and-attributes',
6404 `tramp-handle-file-exists-p' and
6405 `tramp-handle-file-newer-than-file-p'.
6406 (tramp-imap-handle-file-exists-p)
6407 (tramp-imap-handle-file-executable-p)
6408 (tramp-imap-handle-file-readable-p)
6409 (tramp-imap-handle-directory-files-and-attributes)
6410 (tramp-imap-handle-file-newer-than-file-p): Remove.
6412 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6413 by `tramp-compat-set-process-query-on-exit-flag' and
6414 `tramp-coding-system-change-eol-conversion' by
6415 `tramp-compat-coding-system-change-eol-conversion'.
6417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6418 Use `tramp-handle-directory-files-and-attributes',
6419 `tramp-handle-file-exists-p' and
6420 `tramp-handle-file-newer-than-file-p'.
6421 (tramp-smb-handle-directory-files-and-attributes)
6422 (tramp-smb-handle-file-exists-p)
6423 (tramp-smb-handle-file-newer-than-file-p): Remove.
6424 (tramp-smb-maybe-open-connection):
6425 Replace `tramp-set-process-query-on-exit-flag' by
6426 `tramp-compat-set-process-query-on-exit-flag'.
6428 2010-10-05 Glenn Morris <rgm@gnu.org>
6430 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6432 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6434 Continue reorganization of load dependencies. (Bug#7156)
6436 * net/tramp.el (tramp-handle-file-local-copy-hook)
6437 (tramp-delete-temp-file-function): Move down.
6438 (tramp-exists-file-name-handler): Move up.
6439 (tramp-register-file-name-handlers): Simplify autoload.
6440 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6441 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6442 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6443 (tramp-handle-file-name-completion)
6444 (tramp-handle-file-name-directory)
6445 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6446 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6447 (tramp-handle-find-backup-file-name)
6448 (tramp-handle-insert-file-contents, tramp-handle-load)
6449 (tramp-handle-substitute-in-file-name)
6450 (tramp-handle-unhandled-file-name-directory)
6451 (tramp-mode-string-to-int, tramp-local-host-p)
6452 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6454 * net/tramp-gvfs.el (top):
6455 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6457 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6458 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6460 2010-10-04 Glenn Morris <rgm@gnu.org>
6462 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6463 (appt-activate): Give status messages.
6465 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6467 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6468 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6469 `gnutls-negotiate' (formerly `starttls-negotiate').
6470 Remove trivial wrapper `starttls-open-stream'.
6472 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6474 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6475 log-outgoing commands.
6476 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6477 to create a buffer local revert-buffer-function variable.
6478 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6479 revert-buffer-function lambda.
6481 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6483 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6484 `gnutls-boot'. Make TYPE the only required parameter.
6485 Allow TRUSTFILES and KEYFILES to be lists.
6486 (open-ssl-stream): Use it.
6488 2010-10-03 Glenn Morris <rgm@gnu.org>
6490 * subr.el (directory-sep-char): Remove obsolete variable.
6491 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6494 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6495 * vc/vc.el (vc-static-header-alist): Doc fix.
6496 * vc/vc-cvs.el (vc-cvs-header):
6497 * vc/vc-rcs.el (vc-rcs-header):
6498 * vc/vc-sccs.el (vc-sccs-header):
6499 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6500 * obsolete/vc-mcvs.el (vc-mcvs-header):
6501 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6504 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6506 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6507 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6509 2010-10-03 Glenn Morris <rgm@gnu.org>
6511 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6513 * textmodes/rst.el (rst-font-lock-keywords-function):
6516 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6518 * printing.el: Drop Emacs 20 code.
6520 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6521 without having used appt.el already).
6523 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6524 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6525 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6527 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6528 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6530 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6531 (charset-width, find-charset-region, chars-in-region, forward-point)
6532 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6533 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6534 Remove compatibility cruft (none of these are used by ps*.el).
6536 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6538 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6540 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6542 * server.el (server-process-filter, server-return-error):
6543 Give emacsclient time to shut down after receiving an error string.
6545 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6547 * files.el (remote-file-name-inhibit-cache): New defcustom.
6549 * time.el (display-time-file-nonempty-p):
6550 Use `remote-file-name-inhibit-cache'.
6552 * net/tramp.el (tramp-completion-reread-directory-timeout):
6555 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6556 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6557 `remote-file-name-inhibit-cache'. Check also for an integer
6558 value. Add/increase counter when `tramp-verbose' >= 10.
6559 (tramp-set-file-property): Add/increase counter when
6560 `tramp-verbose' >= 10.
6562 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6563 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6564 (tramp-bug): Set tramp-autoload cookie. Report all interned
6565 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6566 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6567 characters only in strings.
6569 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6570 to backward compatibility.
6572 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6573 (tramp-handle-file-name-all-completions)
6574 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6575 (tramp-open-connection-setup-interactive-shell):
6576 Call `tramp-cleanup-connection' directly.
6578 2010-10-02 Glenn Morris <rgm@gnu.org>
6580 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6582 * subr.el (char-bytes): Remove obsolete function.
6584 * isearch.el (isearch-return-char): Remove obsolete function.
6586 * mouse.el: No longer provide mldrag.
6587 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6588 Remove obsolete aliases.
6590 * comint.el (comint-kill-output): Remove obsolete alias.
6592 * composite.el (decompose-composite-char): Remove obsolete function.
6593 * ps-def.el (decompose-composite-char): Remove unused function.
6595 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6597 * outline.el (outline-visible): Remove obsolete function.
6599 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6600 * faces.el (internal-find-face, internal-get-face)
6601 (frame-update-faces, frame-update-face-colors)
6602 (x-frob-font-weight, x-frob-font-slant)
6603 (internal-frob-font-weight, internal-frob-font-slant)
6604 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6605 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6606 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6608 * emulation/viper-util.el (viper-get-face):
6609 * obsolete/lucid.el (find-face, get-face): Use facep.
6610 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6611 Remove unused functions.
6612 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6614 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6615 delete tempfile if interrupted during compilation.
6617 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6621 (tls-program): Add --insecure to be consistent with the defaults from
6622 openssl s_client. Now all three commands are insecure.
6624 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6626 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6627 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6628 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6630 2010-10-01 Glenn Morris <rgm@gnu.org>
6632 * obsolete/sc.el: Remove file.
6634 * files.el (temporary-file-directory): On darwin, also try
6635 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6637 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6639 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6640 Let's not break compatibility gratuitously, shall we?
6642 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6644 * net/tls.el (tls-starttls-switches): New variable.
6645 (tls-find-starttls-argument): Use it.
6646 (open-tls-stream): Ditto.
6648 * net/netrc.el (netrc-credentials): Return the value of the "default"
6650 (netrc-machine): Ditto.
6652 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6654 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6656 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6658 * server.el (server-start): Don't write pid to the authentication file.
6659 (server-create-tty-frame): Don't send pid.
6660 (server-process-filter): Send pid at the start of every connection.
6662 2010-09-30 Glenn Morris <rgm@gnu.org>
6664 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6665 (show-all-diary-entries): Remove obsolete function aliases.
6667 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6668 Remove options, obsolete since 22.1.
6669 (appt-display-format, appt-display-message):
6670 Remove backwards-compatibility code.
6671 (appt-check): No longer check appt-issue-message.
6672 (appt-make-list): No longer autoload it. Doc fix. No longer
6673 activate the package.
6675 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6677 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6678 (starttls-negotiate): Just call boot, and let the handshake be
6679 triggered from the read loop.
6681 2010-09-29 Glenn Morris <rgm@gnu.org>
6683 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6684 not displaying the diary.
6685 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6686 * calendar/appt.el (appt-check): No longer need to kill diary.
6688 * calendar/diary-lib.el (diary-list-entries): Move the
6689 "Preparing..." message entirely here.
6690 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6691 messages to diary-list-entries.
6692 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6693 diary-display-function.
6695 * calendar/diary-lib.el (diary-include-other-diary-files):
6696 Trap some recursive includes.
6698 * calendar/appt.el (appt-activate): Check diary file.
6700 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6702 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6705 * calendar/time-date.el: No need to require cl for Emacs 21.
6707 2010-09-28 Glenn Morris <rgm@gnu.org>
6709 * calendar/appt.el (appt-check): Minor simplification.
6711 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6713 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6716 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6718 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6719 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6721 2010-09-27 Kenichi Handa <handa@m17n.org>
6723 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6726 2010-09-27 Kenichi Handa <handa@m17n.org>
6728 * international/mule.el (define-coding-system): Docstring fixed.
6730 * international/mule-diag.el (describe-character-set): Use princ
6731 with proper print-length and print-level instead of insert.
6733 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6735 * window.el (walk-windows): Doc fix (bug#7105).
6737 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6739 * emacs-lisp/float-sup.el (e): Remove.
6741 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6743 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6745 (starttls-negotiate): Use it.
6747 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6749 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6752 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6754 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6756 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6758 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6760 * net/netrc.el (netrc-store-data): New function.
6762 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6764 * net/gnutls.el: GnuTLS glue code to set up a connection.
6766 2010-09-25 Julien Danjou <julien@danjou.info>
6768 * notifications.el: Call dbus-register-signal only if it is bound.
6770 2010-09-25 Glenn Morris <rgm@gnu.org>
6772 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6773 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6774 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6775 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6776 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6777 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6778 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6779 * eshell/esh-util.el, eshell/esh-var.el:
6780 Remove leading `*' from docs of faces and defcustoms.
6782 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6784 * eshell/em-ls.el (eshell-ls-archive-regexp):
6785 * eshell/esh-util.el (eshell-tar-regexp):
6786 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6787 * info.el (Info-suffix-list):
6788 * international/mule.el (auto-coding-alist):
6789 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6790 * progmodes/etags.el (tags-compression-info-list):
6791 Support xz compression.
6793 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6795 * files.el (get-free-disk-space): Don't assume the "df" output
6796 columns line up (Bug#6995).
6798 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6800 * finder.el (finder-unknown-keywords):
6801 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6802 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6804 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6806 * server.el (server-start): Revert part of 2010-08-08 change. Using
6807 address 127.0.0.1 for local host is now done in Fmake_network_process.
6809 2010-09-24 Glenn Morris <rgm@gnu.org>
6811 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6812 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6813 * textmodes/css-mode.el, textmodes/dns-mode.el:
6814 Move autoloaded auto-mode-alist entries to files.el.
6815 * files.el (auto-mode-alist): Move entries here.
6817 2010-09-23 Glenn Morris <rgm@gnu.org>
6819 * isearch.el (isearch-lazy-highlight-cleanup)
6820 (isearch-lazy-highlight-initial-delay)
6821 (isearch-lazy-highlight-interval)
6822 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6823 * net/net-utils.el (ipconfig-program-options):
6824 Move aliases to options before the associated definitions.
6826 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6828 * newcomment.el (comment-normalize-vars): Better test validity of
6831 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6834 (float-e): New name for `e'.
6835 (degrees-to-radians, radians-to-degrees):
6836 * calendar/solar.el (solar-longitude):
6837 * calculator.el (calculator-registers, calculator-funcall):
6838 * textmodes/artist.el (artist-spray-random-points):
6839 * play/bubbles.el (bubbles--initialize-images): Use new names.
6841 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6843 Update to CEDET 1.0's version of EIEIO.
6845 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6847 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6848 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6849 (class-precedence-list): If class is nil, return nil.
6850 (eieio-generic-call): If class of first input arg is nil, don't
6851 look up static methods, and do check for primary methods.
6852 (initialize-instance): See if the default needs to be evaluated
6853 during the constructor.
6854 (eieio-perform-slot-validation-for-default): Don't do the check
6855 for values that will eventually be evaluated.
6856 (eieio-eval-default-p): New function.
6857 (eieio-default-eval-maybe): Use it.
6859 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6861 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6862 method-invocation-order.
6863 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6864 (eieio-class-precedence-dfs): Compute class precedence list using
6866 (eieio-class-precedence-bfs): Compute class precedence list using
6868 (eieio-class-precedence-c3): Compute class precedence list using
6870 (class-precedence-list): New function.
6871 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6872 (inconsistent-class-hierarchy): New error symbol.
6873 (call-next-method): Stow the replacement argument list for future
6874 call-next-method invocations.
6876 2010-09-23 Glenn Morris <rgm@gnu.org>
6878 * calendar/appt.el (appt-check): If not displaying the diary,
6879 use (diary 1) to only get the entries we need.
6880 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6881 that it is in day order. (Bug#7019)
6883 * calendar/appt.el (appt-check): Rather than showing the diary,
6884 just turn off invisible display, and only if needed.
6886 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6888 2010-09-23 Glenn Morris <rgm@gnu.org>
6890 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6891 (byte-compile-defvar, byte-compile-cl-warn):
6892 Start warnings with lower-case, like the majority.
6894 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6896 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6898 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6899 * files.el (auto-mode-alist): Move ld-script entries here, further down
6902 * vc/add-log.el: Don't require timezone when compiling.
6903 (timezone-make-date-sortable): Autoload it.
6904 (change-log-sortable-date-at): Don't require timezone.
6905 Use `ignore-errors'.
6907 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6908 Move alias before definition, so it does not need autoloading.
6910 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6911 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6912 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6913 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6914 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6915 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6916 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6917 * textmodes/tex-mode.el, textmodes/two-column.el:
6918 Remove leading `*' from docs of defcustoms etc.
6920 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6922 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6924 2010-09-22 Dan Christensen <jdc@uwo.ca>
6926 * calendar/time-date.el (date-to-time): Try using parse-time-string
6927 first before using the slower timezone-make-date-arpa-standard.
6929 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6931 * calendar/time-date.el (format-seconds): Comment fix.
6933 2010-09-22 Glenn Morris <rgm@gnu.org>
6935 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6936 is not automatically buffer-local.
6938 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6940 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6941 (smie-indent-comment): Be more careful with comment-start-skip.
6942 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6943 (smie-indent-functions): Use them.
6945 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6947 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6949 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6951 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6952 tool-bar-position. Don't modify frame parameters here.
6953 (menu-bar-options-save): Add tool-bar-position.
6955 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6957 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * textmodes/reftex-parse.el (reftex-what-macro)
6960 (reftex-context-substring): Let-bind forward-sexp-function to nil
6961 since we don't need/want to treat \begin...\end as a block (bug#7053).
6963 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6965 * simple.el (blink-matching-open): Use syntax-class.
6967 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6968 Set invisibility spec for pascal's outline mode.
6969 (pascal-outline-change): Clean up calling convention.
6970 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6972 * progmodes/prolog.el (prolog-smie-forward-token)
6973 (prolog-smie-backward-token): New functions.
6974 (prolog-mode-variables): Use them to parse "!," correctly.
6975 Set up smie-blink-matching for ".".
6977 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6979 (ispell-region, ispell-process-line): Update users.
6981 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6984 * textmodes/ispell.el: Fix commenting convention.
6985 (ispell-parse-output): Simplify, use push.
6986 (ispell-region): Use match-string-no-properties.
6987 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6988 (ispell-minor-mode): Use define-minor-mode.
6989 (ispell-message): Remove unused var `skip-regexp'.
6990 (ispell-add-per-file-word-list): Use dynamic let-binding.
6991 Try and use the proper comment marker.
6993 * mail/sendmail.el: Fix commenting convention.
6994 (sendmail-send-it): Use line-beginning-position.
6996 * help-fns.el (describe-variable): Add original value, if applicable.
6998 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7000 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7002 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7004 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7007 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7008 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7009 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7010 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7011 something like "." can also be a closer.
7012 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7013 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7014 Rename internal functions to use "--". Update callers.
7016 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7018 * fringe.el (fringe-styles): New var.
7019 (fringe-mode, fringe-query-style): Use it.
7021 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7023 * progmodes/sql.el: Version 2.8
7024 (sql-login-params): Update widget structure; changes still needed.
7025 (sql-product-alist): Add :list-all and :list-table features for
7026 SQLite, Postgres and MySQL products.
7027 (sql-redirect): Handle default value.
7028 (sql-execute, sql-execute-feature): New functions.
7029 (sql-read-table-name): New function.
7030 (sql-list-all, sql-list-table): New functions. User API.
7031 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7032 for above functions.
7033 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7034 for above functions.
7035 (sql-postgres-login-params): Add user and database defaults.
7036 (sql-buffer-live-p): Bug fix.
7037 (sql-product-history): New variable.
7038 (sql-read-product): New function. Use it.
7039 (sql-set-product, sql-product-interactive): Use it.
7040 (sql-connection-history): New variable.
7041 (sql-read-connection): New function. Use it.
7042 (sql-connect): New function.
7043 (sql-for-each-login): Redesign function interface.
7044 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7045 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7046 (sql-comint): Check for program. Existing live buffer.
7047 (sql-comint-postgres): Add port parameter.
7049 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7051 * emacs-lisp/warnings.el: Fix commenting convention.
7052 (display-warning): Use special mode and make the buffer read-only.
7054 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7056 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7057 empty string when it follows a repeated or optional pattern.
7059 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7061 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7062 (indent-region): Use indent-according-to-mode.
7064 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7066 * fringe.el (fringe-mode): Doc fix.
7068 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7070 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7071 refreshing the preview buffer.
7073 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7075 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7076 (latex-syntax-propertize-rules): New consts; replace
7077 tex-font-lock-syntactic-keywords.
7078 (tex-env-mark, latex-env-before-change): New functions.
7079 (latex-electric-env-pair-mode): New minor mode.
7080 (tex-font-lock-verb): Change arguments; do move point.
7081 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7082 representation as a form of comment.
7083 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7084 (doctex-syntax-propertize-rules): New const; replaces
7085 doctex-font-lock-syntactic-keywords.
7086 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7088 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7089 (fortran-make-syntax-propertize-function): New function; replaces
7090 fortran-font-lock-syntactic-keywords.
7091 (fortran-mode): Use it.
7092 (fortran-line-length): Use it. Improve interactive spec.
7094 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7095 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7096 when adding surrounding \(..\).
7098 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7100 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7103 Use with-current-buffer.
7105 * isearch.el (isearch-face): Rename from `isearch'.
7106 (isearch-highlight): Use new name.
7108 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7110 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7111 5, for `half' width fringes. (Bug#6933)
7113 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7116 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7118 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7120 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7122 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7123 in calculating new frame position. Add more space between new and
7124 parent on the left (Bug#7048).
7126 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7128 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7131 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7133 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7135 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7136 obsolete alias for x-selection-value.
7138 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7140 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7142 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7145 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7147 * net/tramp-compat.el (tramp-compat-with-temp-message)
7148 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7149 (tramp-compat-process-put): New defuns.
7151 * net/tramp.el (top):
7152 * net/tramp-gvfs.el (top):
7153 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7155 * net/tramp.el (tramp-progress-reporter-update):
7156 Use `tramp-compat-funcall'.
7158 * net/tramp.el (tramp-process-actions):
7159 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7160 * net/tramp-sh.el (tramp-handle-vc-registered)
7161 (tramp-get-remote-stat, tramp-get-remote-readlink):
7162 Use `tramp-compat-with-temp-message'.
7164 * net/tramp-sh.el (top): Require 'cl.
7165 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7166 (tramp-open-connection-setup-interactive-shell):
7167 Use `tramp-compat-process-put'.
7169 2010-09-15 Alan Mackenzie <acm@muc.de>
7171 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7173 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7175 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7177 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7178 `lexical' for warnings related to lexical scoping.
7179 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7180 global vars which don't have a prefix and could hence affect lexical
7181 scoping in unrelated files.
7183 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7185 * net/imap.el: Revert back to version
7186 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7189 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7191 * obsolete/old-whitespace.el (whitespace-unload-function):
7192 Explicitly pass `obarray' to `unintern' to avoid a warning.
7194 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7197 Add `when' argument. Update callers.
7199 * subr.el (unintern): Declare the obarray arg mandatory.
7201 2010-09-14 Glenn Morris <rgm@gnu.org>
7203 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7206 * calendar/diary-lib.el (diary-included-files): New variable.
7207 (diary-list-entries): Maybe initialize diary-included-files.
7208 (diary-include-other-diary-files): Append to diary-included-files.
7209 * calendar/appt.el (appt-update-list): Also check the members of
7210 diary-included-files. (Bug#6999)
7211 (appt-check): Doc fix.
7213 2010-09-14 David Reitter <david.reitter@gmail.com>
7215 * simple.el (line-move-visual): Do not truncate goal column to
7216 integer size. (Bug#7020)
7218 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7220 * repeat.el (repeat): Allow repeating when the last event is a click.
7221 Suggested by Drew Adams (bug#6256).
7223 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7225 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7226 Replace setting HGRCPATH to "" by some less invasive --config options.
7228 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * font-lock.el (font-lock-beginning-of-syntax-function):
7233 2010-09-14 Glenn Morris <rgm@gnu.org>
7235 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7236 and tool-bar modes. (Bug#6211)
7237 (menu-bar-mode): Move setting of standard-value after the
7238 minor-mode definition, otherwise it seems to have no effect.
7240 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7242 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7243 Fix typo. (Bug#6976)
7245 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7247 * whitespace.el: Allow cleaning up blanks without blank
7248 visualization (Bug#6651). Adjust help window for
7249 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7250 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7251 (whitespace-style): Add new value 'face. Adjust docstring.
7252 (whitespace-space, whitespace-hspace, whitespace-tab):
7253 Adjust foreground property face.
7254 (whitespace-line-column): Adjust docstring and type declaration.
7255 (whitespace-style-value-list, whitespace-toggle-option-alist)
7256 (whitespace-help-text): Adjust const initialization.
7257 (whitespace-toggle-options, global-whitespace-toggle-options):
7259 (whitespace-display-window, whitespace-interactive-char)
7260 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7261 (whitespace-help-scroll): New fun.
7263 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7265 * calendar/time-date.el (format-seconds): Comment fix.
7267 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7269 * progmodes/sql.el: Version 2.7.
7270 (sql-buffer-live-p): Improve detection.
7271 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7272 (sql-set-sqli-buffer): Use it.
7273 (sql-product-interactive): Run `sql-set-sqli-hook'.
7274 (sql-rename-buffer): Code cleanup.
7275 (sql-redirect, sql-redirect-value): New functions. More to come.
7277 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7279 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.
7280 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7281 (TRAMP_SRC): New macro.
7282 ($(lisp)/net/tramp-loaddefs.el): New target.
7284 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7286 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7288 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7290 * net/tramp.el (top): Don't show loading message. Require just
7291 'tramp-compat, everything else is required there.
7292 Use `ignore-errors' where appropriate.
7293 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7294 (tramp-terminal-type, tramp-end-of-output)
7295 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7296 (tramp-completion-function-alist-ssh)
7297 (tramp-completion-function-alist-telnet)
7298 (tramp-completion-function-alist-su)
7299 (tramp-completion-function-alist-putty, tramp-remote-path)
7300 (tramp-remote-process-environment, tramp-sh-extra-args)
7301 (tramp-actions-before-shell, tramp-uudecode)
7302 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7303 (tramp-perl-file-attributes)
7304 (tramp-perl-directory-files-and-attributes)
7305 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7306 (tramp-perl-encode, tramp-perl-decode)
7307 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7308 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7309 (tramp-handle-make-symbolic-link, tramp-handle-load)
7310 (tramp-handle-file-name-as-directory)
7311 (tramp-handle-file-name-directory)
7312 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7313 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7314 (tramp-do-file-attributes-with-ls)
7315 (tramp-do-file-attributes-with-perl)
7316 (tramp-do-file-attributes-with-stat)
7317 (tramp-handle-set-visited-file-modtime)
7318 (tramp-handle-verify-visited-file-modtime)
7319 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7320 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7321 (tramp-handle-file-selinux-context)
7322 (tramp-handle-set-file-selinux-context)
7323 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7324 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7325 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7326 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7327 (tramp-handle-file-ownership-preserved-p)
7328 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7329 (tramp-handle-directory-files-and-attributes)
7330 (tramp-do-directory-files-and-attributes-with-perl)
7331 (tramp-do-directory-files-and-attributes-with-stat)
7332 (tramp-handle-file-name-all-completions)
7333 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7334 (tramp-handle-copy-file, tramp-handle-copy-directory)
7335 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7336 (tramp-do-copy-or-rename-file-via-buffer)
7337 (tramp-do-copy-or-rename-file-directly)
7338 (tramp-do-copy-or-rename-file-out-of-band)
7339 (tramp-handle-make-directory, tramp-handle-delete-directory)
7340 (tramp-handle-delete-file)
7341 (tramp-handle-dired-recursive-delete-directory)
7342 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7343 (tramp-handle-insert-directory)
7344 (tramp-handle-unhandled-file-name-directory)
7345 (tramp-handle-expand-file-name)
7346 (tramp-handle-substitute-in-file-name)
7347 (tramp-handle-executable-find, tramp-process-sentinel)
7348 (tramp-handle-start-file-process, tramp-handle-process-file)
7349 (tramp-handle-call-process-region, tramp-handle-shell-command)
7350 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7351 (tramp-handle-insert-file-contents)
7352 (tramp-handle-insert-file-contents-literally)
7353 (tramp-handle-find-backup-file-name)
7354 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7355 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7356 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7357 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7358 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7359 (tramp-find-file-exists-command, tramp-open-shell)
7360 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7361 (tramp-open-connection-setup-interactive-shell)
7362 (tramp-local-coding-commands, tramp-remote-coding-commands)
7363 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7364 (tramp-inline-compress-commands, tramp-find-inline-compress)
7365 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7366 (tramp-send-command, tramp-wait-for-output)
7367 (tramp-send-command-and-check, tramp-barf-unless-okay)
7368 (tramp-send-command-and-read, tramp-mode-string-to-int)
7369 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7370 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7371 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7372 (tramp-method-out-of-band-p, tramp-local-host-p)
7373 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7374 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7375 (tramp-get-test-command, tramp-get-test-nt-command)
7376 (tramp-get-file-exists-command, tramp-get-remote-ln)
7377 (tramp-get-remote-perl, tramp-get-remote-stat)
7378 (tramp-get-remote-readlink, tramp-get-remote-trash)
7379 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7380 (tramp-get-local-uid, tramp-get-local-gid)
7381 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7383 (tramp-methods, tramp-default-method-alist)
7384 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7385 Move initialization to tramp-sh.el.
7386 (tramp-temp-name-prefix): Make it a defconst.
7387 (tramp-dissect-file-name): Don't check anymore for multi-hop
7389 (tramp-debug-outline-regexp): Add a docstring.
7390 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7391 (tramp-get-debug-buffer): Use it.
7393 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7394 initialization forms.
7395 (tramp-set-connection-property): Don't protect `tramp-message'
7396 call, it isn't necessary any longer.
7397 (tramp-dump-connection-properties): Use `ignore-errors'.
7399 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7400 'password-cache and 'auth-source.
7402 * net/tramp-gvfs.el (top):
7403 * net/tramp-smb.el (top): Require 'tramp-sh.
7405 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7407 * net/tramp-sh.el: New file, derived from tramp.el.
7408 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7409 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7410 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7411 Use `ignore-errors' where appropriate.
7412 (tramp-sh-file-name-handler-alist): Rename from
7413 `tramp-file-name-handler-alist'.
7414 (tramp-send-command-and-check): Return t or nil. Remove all
7415 `zerop' checks, where called.
7416 (tramp-handle-set-file-modes)
7417 (tramp-do-copy-or-rename-file-directly)
7418 (tramp-handle-delete-directory, tramp-handle-delete-file)
7419 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7420 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7421 (tramp-get-remote-ln): Set tramp-autoload cookie.
7423 * net/tramp-fish.el: Remove file.
7425 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7427 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7428 buffer-file-name to avoid file-locking. (Bug#7026)
7430 2010-09-13 Julien Danjou <julien@danjou.info>
7432 * notifications.el (notifications-notify): Add support for
7433 image-path and sound-name.
7434 (notifications-specification-version): Add this variable.
7436 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7438 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7440 2010-09-12 Leo <sdl.web@gmail.com>
7442 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7443 (rcirc-completion-start): New variables.
7444 (rcirc-nick-completions): Rename to rcirc-completions.
7445 (rcirc-nick-completion-start-offset): Delete.
7446 (rcirc-completion-at-point): New function for constructing
7447 completion data for both nicks and irc commands. Add to
7448 completion-at-point-functions in rcirc mode.
7449 (rcirc-complete): Rename from rcirc-nick-complete; use
7450 rcirc-completion-at-point.
7451 (defun-rcirc-command): Update rcirc-client-commands.
7453 2010-09-11 Glenn Morris <rgm@gnu.org>
7455 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7456 atomically, to avoid parallel build errors. (Bug#4196)
7458 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7460 * progmodes/sql.el: Version 2.6
7461 (sql-dialect): Synonym for "sql-product".
7462 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7463 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7464 Set "sql-buffer" to buffer name not buffer object so multiple sql
7465 interactive buffers work properly. Reverts misguided changes in
7467 (sql-comint): Make sure different buffer name is used if "*SQL*"
7468 buffer is for a different product.
7469 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7471 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7472 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7473 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7474 Accept new buffer name or prompt for one.
7475 (sql-port): Default to zero.
7476 (sql-comint-mysql): Handle "sql-port" as a numeric.
7477 (sql-port-history): Delete unused variable.
7478 (sql-get-login): Default "sql-port" to a number.
7479 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7480 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7481 "sqlite3" executables.
7482 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7483 (sql-buffer-live-p): New function.
7484 (sql-mode-menu, sql-send-string): Use it.
7485 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7487 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7488 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7490 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7492 * net/netrc.el (netrc-credentials): New convenience function.
7494 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7497 to replace texinfo-font-lock-syntactic-keywords.
7498 (texinfo-mode): Use it.
7500 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7501 Use syntax-propertize-function.
7503 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7504 replace sgml-font-lock-syntactic-keywords.
7505 (sgml-mode): Use it.
7507 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7508 since we don't use it.
7510 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7512 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7514 (vhdl-fontify-buffer): Adjust.
7516 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7517 replace tcl-font-lock-syntactic-keywords.
7520 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7521 replace simula-font-lock-syntactic-keywords.
7522 (simula-mode): Use it.
7524 * progmodes/sh-script.el (sh-st-symbol): Remove.
7525 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7526 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7527 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7528 (sh-font-lock-paren): Set syntax-multiline.
7529 (sh-font-lock-syntactic-keywords): Remove.
7530 (sh-syntax-propertize-function): New function to replace it.
7533 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7534 Define while compiling.
7535 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7536 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7537 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7538 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7539 (ruby-here-doc-end-syntax): Only define when
7540 syntax-propertize is not available.
7541 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7543 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7544 (electric-indent-chars): Silence bytecompiler.
7545 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7546 electric-indent-chars.
7548 * progmodes/python.el (python-syntax-propertize-function): New var to
7549 replace python-font-lock-syntactic-keywords.
7550 (python-mode): Use it.
7551 (python-quote-syntax): Simplify and adjust to new use.
7553 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7554 replace perl-font-lock-syntactic-keywords.
7555 (perl-syntax-propertize-special-constructs): New fun to replace
7556 perl-font-lock-special-syntactic-constructs.
7557 (perl-font-lock-syntactic-face-function): New fun.
7558 (perl-mode): Use it.
7560 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7561 to replace octave-font-lock-close-quotes.
7562 (octave-syntax-propertize-function): New function to replace
7563 octave-font-lock-syntactic-keywords.
7564 (octave-mode): Use it.
7566 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7567 replaces mixal-font-lock-syntactic-keywords.
7568 (mixal-mode): Use it.
7570 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7571 New var; replaces makefile-font-lock-syntactic-keywords.
7572 (makefile-mode): Use it.
7573 (makefile-imake-mode): Adjust.
7575 * progmodes/js.el (js--regexp-literal): Define while compiling.
7576 (js-syntax-propertize-function): New var; replaces
7577 js-font-lock-syntactic-keywords.
7580 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7581 replaces gdb-script-font-lock-syntactic-keywords.
7582 (gdb-script-mode): Use it.
7584 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7585 (fortran--font-lock-syntactic-keywords): New var.
7586 (fortran-line-length): Update syntax-propertize-function and
7587 fortran--font-lock-syntactic-keywords.
7589 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7591 * progmodes/cfengine.el (cfengine-mode):
7592 Use syntax-propertize-function.
7593 (cfengine-font-lock-syntactic-keywords): Remove.
7595 * progmodes/autoconf.el (autoconf-mode):
7596 Use syntax-propertize-function.
7597 (autoconf-font-lock-syntactic-keywords): Remove.
7599 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7600 (ada-after-change-function, ada-initialize-syntax-table-properties)
7601 (ada-handle-syntax-table-properties): Only define when
7602 syntax-propertize is not available.
7603 (ada-mode): Use syntax-propertize-function.
7605 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7606 (font-lock-fontify-syntactic-keywords-region): Move handling of
7607 font-lock-syntactically-fontified to...
7608 (font-lock-default-fontify-region): ...here.
7609 Let syntax-propertize-function take precedence.
7610 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7612 * emacs-lisp/syntax.el (syntax-propertize-function)
7613 (syntax-propertize-chunk-size, syntax-propertize--done)
7614 (syntax-propertize-extend-region-functions): New vars.
7615 (syntax-propertize-wholelines, syntax-propertize-multiline)
7616 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7617 (syntax-propertize): New functions.
7618 (syntax-propertize-rules): New macro.
7619 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7620 (syntax-ppss): Call syntax-propertize.
7622 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7624 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7626 * textmodes/ispell.el (ispell-init-process): Improve comments.
7627 XEmacs compatibility changes regarding (add-hook) 'local option
7628 and (set-process-query-on-exit-flag).
7630 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7632 * net/tramp-cache.el (tramp-parse-connection-properties):
7633 Set tramp-autoload cookie.
7635 2010-09-09 Glenn Morris <rgm@gnu.org>
7637 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7638 (imagemagick-register-types): Doc fix.
7640 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7642 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7644 * progmodes/js.el (require): Require is already "eval-and-compile".
7645 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7646 (js--re-search-backward): Use js--re-search-forward.
7648 * progmodes/fortran.el (fortran-line-length): Don't recompute
7649 syntactic keywords redundantly a second time.
7651 * progmodes/ada-mode.el: Replace "(set '" with setq.
7652 (ada-mode): Simplify.
7653 (ada-create-case-exception, ada-adjust-case-interactive)
7654 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7655 (ada-search-ignore-string-comment, ada-move-to-start)
7656 (ada-move-to-end): Use with-syntax-table.
7658 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7659 (font-lock-unfontify-region, font-lock-default-fontify-region):
7660 Update usage correspondingly.
7661 (font-lock-fontify-syntactic-keywords-region):
7662 Set parse-sexp-lookup-properties buffer-locally here.
7663 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7665 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7667 2010-09-08 Glenn Morris <rgm@gnu.org>
7669 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7670 Error if not compiled with -DBYTE_CODE_METER.
7672 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7673 Ignore dir-locals-file.
7675 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7677 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7679 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7680 for the `gnu' messages.
7681 (compilation-set-skip-threshold): New command.
7682 (compilation-start): Use \' rather than $.
7683 (compilation-forget-errors): Use clrhash.
7685 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7687 * textmodes/ispell.el (ispell-valid-dictionary-list):
7690 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7692 Migrate to Tramp 2.2. Rearrange load dependencies.
7693 (Bug#1529, Bug#5448, Bug#5705)
7695 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7696 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7697 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7699 * net/tramp.el (top): Remove all other tramp-* loads except
7700 tramp-compat.el. Remove all changes to tramp-unload-hook for
7701 other tramp-* packages. Rearrange defun order. Change calls of
7702 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7703 `tramp-compat-octal-to-decimal' to new function names.
7704 (tramp-terminal-type, tramp-initial-end-of-output)
7705 (tramp-methods, tramp-foreign-file-name-handler-alist)
7706 (tramp-tramp-file-p, tramp-completion-mode-p)
7707 (tramp-send-command-and-check, tramp-get-remote-path)
7708 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7709 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7710 (with-file-property, with-connection-property): Move to
7712 (tramp-local-call-process, tramp-decimal-to-octal)
7713 (tramp-octal-to-decimal): Move to tramp-compat.el.
7714 (tramp-handle-shell-command): Do not require 'shell.
7715 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7717 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7719 * net/tramp-cache.el (top): Require 'tramp. Add to
7720 `tramp-unload-hook'.
7721 (tramp-cache-data, tramp-get-file-property)
7722 (tramp-set-file-property, tramp-flush-file-property)
7723 (tramp-flush-directory-property, tramp-get-connection-property)
7724 (tramp-set-connection-property, tramp-flush-connection-property)
7725 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7727 (with-file-property, with-connection-property): New defuns, moved
7729 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7732 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7733 (tramp-version): Set tramp-autoload cookie.
7735 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7736 changes to tramp-unload-hook for other tramp-* packages. Add to
7737 `tramp-unload-hook'.
7738 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7739 (tramp-compat-call-process): New defuns, moved from tramp.el.
7741 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7742 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7743 Add to `tramp-unload-hook'. Change call of
7744 `tramp-compat-decimal-to-octal' to new function name.
7745 (tramp-fish-method): Make it a defconst.
7746 (tramp-fish-file-name-p): Make it a defsubst.
7747 (tramp-fish-method, tramp-fish-file-name-handler)
7748 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7750 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7751 `tramp-foreign-file-name-handler-alist'. Add to
7752 `tramp-unload-hook'.
7753 (tramp-ftp-method): Make it a defconst.
7754 (tramp-ftp-file-name-p): Make it a defsubst.
7755 (tramp-ftp-method, tramp-ftp-file-name-handler)
7756 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7758 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7759 `tramp-foreign-file-name-handler-alist'. Add to
7760 `tramp-unload-hook'. Change checks, whether package can be
7762 (tramp-gvfs-file-name-p): Make it a defsubst.
7763 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7764 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7765 (tramp-gvfs-handle-file-directory-p): New defun.
7766 (tramp-gvfs-file-name-handler-alist): Use it.
7768 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7769 `tramp-foreign-file-name-handler-alist'. Add to
7770 `tramp-unload-hook'.
7771 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7772 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7774 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7775 (tramp-gw-open-connection): Set tramp-autoload cookie.
7777 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7778 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7779 Add to `tramp-unload-hook'. Change checks, whether package can be
7781 (tramp-imap-file-name-p): Make it a defsubst.
7782 (tramp-imap-method, tramp-imaps-method)
7783 (tramp-imap-file-name-handler)
7784 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7786 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7787 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7788 Add to `tramp-unload-hook'. Change checks, whether package can be
7789 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7791 (tramp-smb-tunnel-method): Make it a defconst.
7792 (tramp-smb-file-name-p): Make it a defsubst.
7793 (tramp-smb-method, tramp-smb-file-name-handler)
7794 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7796 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7797 (tramp-uuencode-region): Set tramp-autoload cookie.
7799 * net/trampver.el (top) Add to `tramp-unload-hook'.
7800 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7801 cookie. Update release number.
7803 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7805 * textmodes/ispell.el (ispell-start-process): Make sure original
7806 arg list is properly initialized (Bug#6993, Bug#6994).
7808 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7810 * files.el (directory-abbrev-alist): Use \` as default regexp.
7812 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7813 chars like - or ] (bug#6984).
7814 (rx-any-condense-range): Explode 2-char ranges.
7816 2010-09-06 Glenn Morris <rgm@gnu.org>
7818 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7820 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7822 * textmodes/bibtex.el:
7823 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7825 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7828 since no callers use it.
7829 (imap-message-get): Ditto.
7830 (imap-message-put): Ditto.
7831 (imap-mailbox-map): Ditto.
7832 (imap-mailbox-put): Ditto.
7833 (imap-mailbox-get): Ditto.
7834 (imap-mailbox-get): Revert last change for this function.
7836 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7838 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7839 callers to use `imap-fetch' instead. According to the comments, this
7840 should be safe, since all other IMAP clients use the 1:* syntax.
7841 (imap-enable-exchange-bug-workaround): Remove.
7842 (imap-debug): Remove -- doesn't seem very useful.
7844 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7846 * net/imap.el (imap-log): New convenience function used throughout
7847 instead of repeating the same code all over the place.
7849 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7851 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7852 when mouse-drag-copy-region is non-nil (Bug#6956).
7854 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7856 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7857 Improve regexps (Bug#6987).
7858 (dired-sort-toggle): Search more robustly for -t flag.
7860 * files.el (get-free-disk-space): Search more robustly for
7861 "available" column. Suggested by Ehud Karni
7862 <ehud@unix.mvs.co.il>.
7864 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7866 * international/uni-bidi.el:
7867 * international/uni-category.el:
7868 * international/uni-combining.el:
7869 * international/uni-decimal.el:
7870 * international/uni-mirrored.el:
7871 * international/uni-name.el: Regenerate.
7873 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7875 * electric.el (electric-indent-post-self-insert-function):
7876 Don't reindent with a sloppy indentation function.
7878 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7879 border case in change-log-mode.
7881 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7884 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7885 Recognize leading tab in gcc-include regexp. Ignore names with
7886 leading "from" or "in" in gnu regexp (Bug#6937).
7888 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7890 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7891 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7892 (ispell-start-process): Avoid setq and simplify logic.
7893 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7894 (kill-buffer-hook): Don't use it globally with code that uses
7895 expand-file-name since that may call kill-buffer via
7896 code_conversion_restore.
7898 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7900 * emacs-lisp/package.el (package-directory-list): Only call
7901 file-name-nondirectory on a string.
7903 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7905 * emacs-lisp/package.el (package--download-one-archive):
7906 Ensure that archive-contents is valid before saving it.
7907 (package-activate-1, package-mark-obsolete, define-package)
7908 (package-compute-transaction, package-list-maybe-add): Use push.
7910 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7912 Use SMIE's blink-paren for octave-mode.
7913 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7914 Backslashes do not escape single-quotes, single-quotes do.
7915 (octave-block-else-regexp, octave-block-end-regexp)
7916 (octave-block-match-alist): Remove.
7917 (octave-smie-bnf-table): New var, with old content.
7918 (octave-smie-op-levels): Use it.
7919 (octave-smie-closer-alist): New var.
7920 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7921 (octave-blink-matching-block-open): Remove.
7922 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7923 (octave-electric-space): Let self-insert-command run expand-abbrev and
7926 * electric.el (electricity): New group.
7927 (electric-indent-chars): New var.
7928 (electric-indent-post-self-insert-function): New fun.
7929 (electric-indent-mode): New minor mode.
7930 (electric-pair-skip-self): New custom.
7931 (electric-pair-post-self-insert-function): New function.
7932 (electric-pair-mode): New minor mode.
7934 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7935 calcAlg-blink-matching-open.
7936 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7937 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7938 Use the new blink-matching-check-function.
7940 Provide blink-matching support to SMIE.
7941 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7942 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7943 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7945 * simple.el (newline): Fix last change to properly remove itself from
7948 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7950 * simple.el (newline): Eliminate optimization.
7951 Use post-self-insert-hook to set hard-newline and things before
7952 running post-self-insert-hook.
7953 (blink-matching-check-mismatch): New function.
7954 (blink-matching-check-function): New variable.
7955 (blink-matching-open): Use them.
7956 Skip back forward over prefix chars skipped by forward-sexp.
7957 Don't check if the parens are backslash escaped.
7958 (blink-paren-post-self-insert-function): Check backslash escaping here.
7960 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7962 * emacs-lisp/package.el (package-menu-mode-map):
7963 Change package-menu-revert bindings to revert-buffer.
7964 (package-menu-mode): Set revert-buffer-function.
7965 (package-menu-revert): Doc fix.
7967 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7969 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7970 `default-directory' unless using Ispell per-directory personal
7971 dictionaries and not in a mini-buffer under XEmacs.
7972 (kill-buffer-hook): Do not kill ispell process on exit when
7973 `ispell-process-directory' is "~/". (Bug#6143)
7975 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7977 * simple.el (kill-new): Call interprogram-cut-function with only
7980 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7981 Remove cut buffer from error message.
7983 * term/x-win.el (x-select-text):
7984 * term/pc-win.el (x-selection-value):
7985 * term/ns-win.el (x-selection-value):
7986 * eshell/em-term.el:
7987 * w32-fns.el (x-get-selection-value):
7988 * mouse-sel.el (mouse-sel-set-selection-function):
7989 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7991 * term/x-win.el: Update documentation for x-last-selected-text-*.
7992 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7993 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7994 (x-select-text): Remove argument PUSH, update documentation.
7995 Remove cut-buffer code.
7996 (x-selection-value-internal): Was previously x-selection-value.
7997 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7998 Update documentation, remove cut-buffer code.
7999 Call x-selection-value-internal.
8000 (x-clipboard-yank): Call x-selection-value-internal.
8001 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8003 * term/pc-win.el (x-last-selected-text):
8004 x-cut-buffer-or-selection-value renamed to x-selection-value
8005 (x-select-text): Remove argument PUSH, update documentation.
8007 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8008 x-cut-buffer-or-selection-value renamed to x-selection-value
8009 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8010 (x-select-text): Remove argument PUSH, update documentation.
8012 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8014 * w32-fns.el (x-last-selected-text):
8015 x-cut-buffer-or-selection-value renamed to x-selection-value.
8016 (x-cut-buffer-max): Remove.
8017 (x-select-text): Remove argument PUSH, update documentation.
8019 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8021 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8023 * mouse-sel.el (mouse-sel-get-selection-function):
8024 x-cut-buffer-or-selection-value renamed to x-selection-value.
8025 (x-select-text): Remove optional push.
8027 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8029 * simple.el (blink-paren-function): Move from C to here.
8030 (blink-paren-post-self-insert-function): New function.
8031 (post-self-insert-hook): Use it.
8033 * emacs-lisp/pcase.el (pcase-split-memq):
8034 Fix overenthusiastic optimisation.
8035 (pcase-u1): Handle the case of a lambda pred.
8037 2010-08-31 Kenichi Handa <handa@m17n.org>
8039 * international/mule-cmds.el (standard-display-european-internal):
8040 Setup standard-display-table for 8-bit characters by storing 8-bit
8041 characters in the element vector.
8043 * disp-table.el (standard-display-8bit):
8044 Setup standard-display-table for 8-bit characters by storing 8-bit
8045 characters in the element vector.
8046 (standard-display-european): Likewise.
8048 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8050 * textmodes/nroff-mode.el (nroff-view): New command.
8051 (nroff-mode-map): Bind it to C-c C-c.
8053 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8055 * emacs-lisp/smie.el (smie-down-list): New command.
8057 Remove old indentation and navigation code on octave-mode.
8058 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8059 smie-down-list rather than add a binding for octave-down-block.
8060 (octave-mark-block, octave-blink-matching-block-open):
8061 Rely on forward-sexp-function.
8062 (octave-fill-paragraph): Don't narrow, so you can use
8063 indent-according-to-mode.
8064 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8065 (octave-in-block-p, octave-re-search-forward-kw)
8066 (octave-re-search-backward-kw, octave-indent-calculate)
8067 (octave-end-as-array-index-p, octave-block-end-offset)
8068 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8069 (octave-down-block, octave-backward-up-block, octave-up-block)
8070 (octave-before-magic-comment-p, octave-indent-line): Remove.
8072 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8074 * emacs-lisp/package.el (package--read-archive-file): Just use
8075 `read', to avoid copying an additional string.
8076 (package-menu-mode): Set header-line-format here.
8077 (package-menu-refresh, package-menu-revert): Signal an error if
8078 not in the Package Menu.
8079 (package-menu-package-list): New var.
8080 (package--generate-package-list): Operate on the current buffer;
8081 don't assume that it is *Packages*, since the user may rename it.
8082 Allow persistent package listings and sort keys using
8083 package-menu-package-list and package-menu-package-sort-key.
8084 (package-menu--version-predicate): Fix version calculation.
8085 (package-menu-sort-by-column): Don't select the window.
8086 (package--list-packages): Create the *Packages* buffer.
8087 Set package-menu-package-list-key.
8088 (list-packages): Sorting by status is now the default.
8089 (package-buffer-info): Use match-string-no-properties.
8090 (define-package): Add a &rest argument for future proofing, but
8092 (package-install-from-buffer, package-install-buffer-internal):
8093 Merge into a single function, package-install-from-buffer.
8094 (package-install-file): Change caller.
8096 * finder.el: Load finder-inf using `require'.
8097 (finder-list-matches): Sorting by status is now the default.
8098 (finder-compile-keywords): Simpify printing.
8100 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8102 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8103 (octave-mode-map): Remove special bindings for forward/backward-block
8104 and octave-backward-up-block. Use smie-close-block.
8105 (octave-continuation-marker-regexp): New var.
8106 (octave-continuation-regexp): Use it.
8107 (octave-operator-table, octave-smie-op-levels)
8108 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8109 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8110 (octave-mode): Use SMIE.
8111 (octave-close-block): Delete.
8113 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8115 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8116 CLIPBOARD, not in PRIMARY. (Bug#6944)
8118 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8120 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8122 (smie-indent-column): Allow indirection through variables.
8124 * composite.el (save-buffer-state): Delete, unused.
8125 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8126 (font-lock-default-fontify-region): Use with-syntax-table.
8127 * jit-lock.el (with-buffer-unmodified): Remove.
8128 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8130 Use `declare' in defmacros.
8131 * window.el (save-selected-window):
8132 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8133 * progmodes/python.el (def-python-skeleton):
8134 * net/dbus.el (dbus-ignore-errors):
8135 * jka-cmpr-hook.el (with-auto-compression-mode):
8136 * international/mule.el (with-category-table):
8137 * emacs-lisp/timer.el (with-timeout):
8138 * emacs-lisp/lisp-mnt.el (lm-with-file):
8139 * emacs-lisp/eieio.el (with-slots):
8140 * emacs-lisp/easymenu.el (easy-menu-define):
8141 * emacs-lisp/debug.el (debugger-env-macro):
8142 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8143 (Multiple-value-call, Multiple-value-prog1):
8144 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8145 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8146 edebug rule to definition.
8147 * emacs-lisp/lisp-mode.el (save-selected-window)
8148 (with-current-buffer, combine-after-change-calls)
8149 (with-output-to-string, with-temp-file, with-temp-buffer)
8150 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8151 (dolist, dotimes, when, unless):
8152 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8154 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8156 * finder.el: Require `package'.
8157 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8158 (finder-package-info): Var deleted.
8159 (finder-keywords-hash, finder--builtins-alist): New vars.
8160 (finder-compile-keywords): Compute package--builtins and
8161 finder-keywords-hash instead of finder-keywords-hash, respecting
8162 the "Package" header.
8163 (finder-unknown-keywords, finder-list-matches):
8164 Use finder-keywords-hash and package--list-packages.
8165 (finder-mode): Don't set font-lock-defaults.
8166 (finder-exit): We don't use "*Finder-package*" and "*Finder
8167 Category*" buffers anymore.
8169 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8170 (package--builtins): Set default value to nil.
8171 (package-initialize): Load precomputed value of package--builtins
8173 (package-alist, package-compute-transaction)
8174 (package-download-transaction): Improve docstring.
8175 (package-read-all-archive-contents): Do not change
8176 package--builtins here.
8177 (list-packages): Make package-list-packages an alias for this.
8178 Sort by status by default.
8179 (package--list-packages): Add optional PACKAGES arg.
8180 (describe-package-1): Use font-lock-face property. For built-in
8181 packages, insert file commentary.
8182 (package--generate-package-list): Rename from
8183 package-list-packages-internal; all callers changed. Add optional
8184 PACKAGES arg. Add alphabetical sort fallbacks.
8185 (package-menu--version-predicate, package-menu--status-predicate)
8186 (package-menu--description-predicate)
8187 (package-menu--name-predicate): New functions.
8189 * info.el (Info-finder-find-node): Search package-alist instead of
8190 finder-package-info.
8192 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8194 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8196 (version-to-list): Handle versions like "10.3d".
8198 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8200 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8201 (macroexp-accumulate): Use `declare'.
8203 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8205 * whitespace.el (whitespace-style): Adjust type declaration.
8207 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8209 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8211 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8213 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8216 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8218 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8219 (js-paren-indent-offset, js-square-indent-offset)
8220 (js-curly-indent-offset): New options.
8221 (js--proper-indentation): Use them.
8223 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8225 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8226 instead of inspecting font-lock properties (Bug#6916).
8228 2010-08-26 David Reitter <david.reitter@gmail.com>
8230 * server.el (server-visit-files): Run pre-command-hook and
8231 post-command-hook for each buffer while it is current (Bug#6910).
8232 (server-execute): Do not run hooks here.
8234 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8236 Sync with Tramp 2.1.19.
8238 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8240 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8242 * net/tramp.el (tramp-handle-expand-file-name)
8243 (tramp-completion-handle-file-name-all-completions)
8244 (tramp-completion-handle-file-name-completion):
8245 Use `tramp-connectable-p'.
8247 * net/trampver.el: Update release number.
8249 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8251 * help.el (help-map): Bind `C-h P' to describe-package.
8253 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8255 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8256 when downloading archives.
8257 (describe-package-1): Add package commentary.
8258 (package-install-button-action): New function.
8259 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8260 (package-menu-view-commentary): Function removed.
8261 (package-list-packages-internal): Hide the `package' package too.
8263 2010-08-25 Kenichi Handa <handa@m17n.org>
8265 * language/misc-lang.el ("Arabic"): New language environment.
8266 Setup composition-function-table for Arabic characters.
8268 * international/fontset.el (setup-default-fontset): Fix typo for
8269 arabic OTF spec (fini->fina).
8271 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8273 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8276 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8278 * whitespace.el: Allow cleaning up blanks without blank
8279 visualization (Bug#6651). Adjust help window for
8280 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8281 instead of whitespace-line-column (from EmacsWiki). New version
8283 (whitespace-style): Add new value 'face. Adjust docstring.
8284 (whitespace-space, whitespace-hspace, whitespace-tab):
8285 Adjust foreground property face.
8286 (whitespace-line-column): Adjust docstring and type declaration.
8287 (whitespace-style-value-list, whitespace-toggle-option-alist)
8288 (whitespace-help-text): Adjust const initialization.
8289 (whitespace-toggle-options, global-whitespace-toggle-options):
8291 (whitespace-display-window, whitespace-interactive-char)
8292 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8293 (whitespace-help-scroll): New fun.
8295 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8297 * emacs-lisp/package.el (list-packages): Alias for
8298 package-list-packages.
8300 2010-08-24 Kevin Ryde <user42@zip.com.au>
8302 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8305 * progmodes/ruby-mode.el (ruby): Add defgroup.
8307 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8309 * progmodes/python.el: Add Ipython support (Bug#5390).
8310 (python-shell-prompt-alist)
8311 (python-shell-continuation-prompt-alist): New options.
8312 (python--set-prompt-regexp): New function.
8313 (inferior-python-mode, run-python, python-shell):
8314 Require ansi-color. Use python--set-prompt-regexp to set the comint
8315 prompt based on the Python interpreter.
8316 (python--prompt-regexp): New var.
8317 (python-check-comint-prompt)
8318 (python-comint-output-filter-function): Use it.
8319 (run-python): Use a pipe (Bug#5694).
8321 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8323 * progmodes/python.el (python-send-region): Send a different
8324 Python command if Ipython is in use.
8325 (python-check-version): Use a Python command to find the version.
8327 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8329 * mouse.el (mouse-yank-primary): Avoid setting primary when
8330 deactivating the mark (Bug#6872).
8332 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8334 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8335 with "else" (Bug#3991).
8337 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8339 * net/dbus.el: Accept UNIX domain sockets as bus address.
8340 (top): Don't initialize `dbus-registered-objects-table' anymore,
8341 this is done in dbusbind.c.
8342 (dbus-check-event): Adapt test for bus.
8343 (dbus-return-values-table, dbus-unregister-service)
8344 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8347 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8349 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8351 2010-08-22 Juri Linkov <juri@jurta.org>
8353 * simple.el (read-extended-command): New function with the logic
8354 for `completing-read' moved to Elisp from `execute-extended-command'.
8355 Use `function-called-at-point' in `minibuffer-default-add-function'
8356 to get a command name for M-n (bug#5364, bug#5214).
8358 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8360 * startup.el (command-line-1): Issue warning for ignored arguments
8361 --unibyte, etc (Bug#6886).
8363 2010-08-22 Leo <sdl.web@gmail.com>
8365 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8366 (ignore, bright, dim, keyword): Split list of nicknames before
8367 passing to rcirc-add-or-remove (Bug#6894).
8369 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8371 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8373 2010-08-22 Leo <sdl.web@gmail.com>
8375 Fix buffer-list rename&refresh after killing a buffer in ido.
8376 * ido.el: Revert Óscar's.
8377 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8378 Remember the buffers at head, rather than their name.
8379 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8381 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8382 Stefan Monnier <monnier@iro.umontreal.ca>
8384 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8385 extra backslash added to each line (bug#6890).
8387 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8389 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8391 2010-08-22 Glenn Morris <rgm@gnu.org>
8393 * menu-bar.el (menu-bar-games-menu): Add landmark.
8395 2010-08-22 Glenn Morris <rgm@gnu.org>
8397 * align.el (align-regexp): Make group and spacing arguments
8398 use the interactive defaults when non-interactive. (Bug#6698)
8400 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8401 expansion, so as not to need sendmail.
8402 (mail-text-start): Remove declaration.
8403 (rmail-retry-failure): Require sendmail.
8405 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8407 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8409 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8411 * progmodes/flymake.el (flymake-start-syntax-check-process):
8412 Use `start-file-process' in order to let it run also on remote hosts.
8414 2010-08-22 Kenichi Handa <handa@m17n.org>
8416 * files.el: Add `word-wrap' as safe local variable.
8418 2010-08-22 Glenn Morris <rgm@gnu.org>
8420 * woman.el (woman-translate): Case matters. (Bug#6849)
8422 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8424 * simple.el (kill-region): Doc fix (Bug#6787).
8426 2010-08-22 Glenn Morris <rgm@gnu.org>
8428 * calendar/diary-lib.el (diary-header-line-format):
8429 Fit it to the window, not the frame.
8431 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8433 * subr.el (ignore-errors): Add debug declaration.
8435 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8437 * whitespace.el (whitespace-color-off): Remove post-command-hook
8440 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8442 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8444 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8446 * cus-edit.el (custom-group-value-create): Add extra newline
8447 before end line (Bug#6876).
8449 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8451 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8452 when extending it. Before killing on the second click, check if
8453 the buffer is the correct one. Doc fix.
8454 (mouse-secondary-save-then-kill): Allow usage without first
8455 calling mouse-start-secondary, by defaulting to point. Don't save
8456 an empty secondary selection. Doc fix.
8458 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8460 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8461 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8463 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8464 Adjust initialization.
8465 (whitespace-bob-marker, whitespace-eob-marker)
8466 (whitespace-buffer-changed): New vars.
8467 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8468 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8469 (whitespace-post-command-hook, whitespace-display-char-on):
8471 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8472 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8474 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8476 * files.el (locate-file-completion-table): Only list the .el and .elc
8477 extensions if there's no other choice (bug#5955).
8479 * facemenu.el (facemenu-self-insert-data): New var.
8480 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8482 (facemenu-add-face): Use them.
8484 * simple.el (blink-matching-open): Obey forward-sexp-function.
8486 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8488 * simple.el (prog-mode-map): New var.
8489 (prog-indent-sexp): New command.
8491 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8493 * progmodes/prolog.el (smie): Require.
8495 * emacs-lisp/smie.el (smie-default-backward-token)
8496 (smie-default-forward-token): Strip properties.
8497 (smie-next-sexp): Be more careful with associative operators.
8498 (smie-forward-sexp-command): Generalize.
8499 (smie-backward-sexp-command): Simplify.
8500 (smie-closer-alist): New var.
8501 (smie-close-block): New command.
8502 (smie-indent-debug-log): New var.
8503 (smie-indent-offset-rule): Add a few more cases.
8504 (smie-indent-column): New function.
8505 (smie-indent-after-keyword): Use it.
8506 (smie-indent-keyword): Use it.
8507 Fix up the opener code's point position.
8508 (smie-indent-comment): Only applies at BOL.
8509 (smie-indent-debug): New command.
8511 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8512 declarations that are useful before running the macro.
8514 2010-08-18 Joakim Verona <joakim@verona.se>
8516 * image.el (imagemagick-types-inhibit): New variable.
8517 (imagemagick-register-types): New function.
8518 * image-mode.el (image-transform-properties): New function.
8519 (image-transform-set-scale, image-transform-fit-to-height)
8520 (image-transform-set-rotation, image-transform-set-resize)
8521 (image-transform-fit-to-width, image-transform-fit-to-height):
8523 (image-toggle-display-image): Support image transforms.
8525 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8527 * image.el (create-animated-image): Don't add heuristic mask to image
8530 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8532 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8533 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8535 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8537 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8539 Font-lock '...' strings, plus various simplifications and fixes.
8540 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8541 (octave-font-lock-close-quotes): New function.
8542 (octave-font-lock-syntactic-keywords): New var.
8543 (octave-mode): Use it. Set beginning-of-defun-function.
8544 (octave-mode-map): Don't override the <foo>-defun commands.
8545 (octave-mode-menu): Pass it directly to easy-menu-define;
8546 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8547 (octave-block-match-alist): Fix up last change so that
8548 octave-close-block uses the more specific keyword.
8549 (info-lookup-mode): Silence byte-compiler.
8550 (octave-beginning-of-defun): Not interactive any more.
8552 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8553 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8554 (octave-completion-at-point-function): Make sure point is within
8556 (octave-reindent-then-newline-and-indent):
8557 Use reindent-then-newline-and-indent.
8558 (octave-add-octave-menu): Remove.
8560 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8562 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8563 (report-emacs-bug-can-use-xdg-email): New functions.
8564 (report-emacs-bug): Set can-xdg-email to result of
8565 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8566 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8569 * net/browse-url.el (browse-url-default-browser): Add cond
8570 for browse-url-xdg-open.
8571 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8573 2010-08-17 Glenn Morris <rgm@gnu.org>
8575 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8576 (c-fontify-recorded-types-and-refs): Define for compiler.
8577 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8580 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8583 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8585 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8587 (tramp-handle-process-file): Call the program in a subshell, in
8588 order to preserve working directory.
8589 (tramp-action-password): Hide password prompt before next run.
8590 (tramp-process-actions): Widen connection buffer for the trace.
8592 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8594 * net/rcirc.el (rcirc-log-process-buffers): New option.
8595 (rcirc-print): Use it.
8596 (rcirc-generate-log-filename): New function.
8597 (rcirc-log-filename-function): Change default to
8598 rcirc-generate-log-filename (Bug#6828).
8600 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8602 * simple.el (deactivate-mark): If select-active-regions is `only',
8603 only set selection for temporarily active regions.
8605 * cus-start.el: Change defcustom for select-active-regions.
8607 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8609 * mouse.el (mouse--drag-set-mark-and-point): New function.
8610 (mouse-drag-track): Use LOCATION arg to push-mark.
8611 Use mouse--drag-set-mark-and-point to take click-count into
8612 consideration when updating point and mark (Bug#6840).
8614 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8616 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8617 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8619 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8621 * font-lock.el (lisp-font-lock-keywords-2):
8622 Add combine-after-change-calls, condition-case-no-debug,
8623 with-demoted-errors, and with-silent-modifications (Bug#6025).
8625 2010-08-14 Kevin Ryde <user42@zip.com.au>
8627 * emacs-lisp/copyright.el (copyright-update-year)
8628 (copyright-update): Temporary switch-to-buffer to ensure the
8629 buffer change being queried is visible (Bug#5394).
8631 2010-08-14 Tom Tromey <tromey@redhat.com>
8633 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8636 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8638 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8641 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8643 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8644 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8645 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8646 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8647 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8648 Call menu-bar-set-tool-bar-position.
8650 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8652 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8653 comment style (bug#6834).
8654 * progmodes/scheme.el (scheme-mode-syntax-table):
8655 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8656 "b" flag in "' 14b" syntax.
8658 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8659 for (un)commenting the region and performing completion.
8660 (octave-mode-menu): Use standard commands for help and completion.
8661 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8662 (octave-mode): Use define-derived-mode.
8663 Set completion-at-point-functions and don't set columns.
8664 Don't disable adaptive-fill-regexp.
8665 (octave-describe-major-mode, octave-comment-region)
8666 (octave-uncomment-region, octave-comment-indent)
8667 (octave-indent-for-comment): Remove.
8668 (octave-indent-calculate): Rename from calculate-octave-indent.
8669 (octave-indent-line, octave-fill-paragraph): Update caller.
8670 (octave-initialize-completions): No need to make an alist.
8671 (octave-completion-at-point-function): New function.
8672 (octave-complete-symbol): Use it.
8673 (octave-insert-defun): Use define-skeleton.
8675 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8676 (octave-mode-map): Use comment-dwim (bug#6829).
8678 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8680 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8681 indentation of inserted comment.
8683 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8685 * faces.el (region): Add type gtk that uses gtk colors.
8687 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8688 Handle theme-name change.
8690 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8692 * progmodes/sql.el: Version 2.5
8693 (sql-product-alist): Add :prompt-cont-regexp property for several
8695 (sql-prompt-cont-regexp): New variable.
8696 (sql-output-newline-count, sql-output-by-send):
8697 New variables. Record number of newlines in input text.
8698 (sql-send-string): Handle multiple filters and count newlines.
8699 (sql-send-magic-terminator): Count terminator newline.
8700 (sql-interactive-remove-continuation-prompt): Filters output to
8701 remove continuation prompts; one for each newline.
8702 (sql-interactive-mode): Set up new variables, prompt regexp and
8704 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8705 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8707 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8709 * emacs-lisp/pcase.el: New file.
8711 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8713 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8714 as here-document, otherwise the command could exceed maximum
8715 length of command line.
8716 (tramp-handle-vc-registered): Call script accordingly.
8717 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8719 2010-08-10 Kenichi Handa <handa@m17n.org>
8721 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8724 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8726 * emacs-lisp/package.el (package-version-split)
8727 (package--version-first-nonzero, package-version-compare):
8729 (package-directory-list, package-load-all-descriptors)
8730 (package--built-in, package-activate, define-package)
8731 (package-installed-p, package-compute-transaction)
8732 (package-read-all-archive-contents)
8733 (package--add-to-archive-contents, package-buffer-info)
8734 (package-tar-file-info, package-list-packages-internal):
8735 Use version-to-list and version-list-*.
8737 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8738 Use version-to-list.
8739 (package-upload-buffer-internal): Use version-list-<=.
8741 2010-08-09 Kenichi Handa <handa@m17n.org>
8743 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8746 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8748 * tutorial.el (tutorial--default-keys): C-d is now bound to
8749 delete-forward-char (Bug#6826).
8751 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8752 for `double' value of mouse-1-click-follows-link (Bug#6807).
8754 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8756 * replace.el (replace-highlight): Bind isearch-forward and
8757 isearch-error, ensuring that highlighting is updated if the user
8758 switches the search direction (Bug#6808).
8760 * isearch.el (isearch-lazy-highlight-forward): New var.
8761 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8762 (isearch-lazy-highlight-update): Use it.
8764 2010-08-08 Kenichi Handa <handa@m17n.org>
8766 * international/mule.el (define-charset): Store NAME as :base property.
8767 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8768 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8769 current priority. Force using the designation of the specific
8770 charset by adding `charset' text property. Improve the whole algorithm.
8772 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8774 * emulation/pc-select.el (pc-selection-mode-hook)
8775 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8776 (pc-selection-mode): Fix typos in docstrings.
8778 2010-08-08 Kenichi Handa <handa@m17n.org>
8780 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8781 ctext-non-standard-encodings-alist here.
8783 * international/mule.el (ctext-non-standard-encodings-alist):
8784 Add "koi8-r" and "microsoft-cp1251".
8785 (ctext-standard-encodings): New variable.
8786 (ctext-non-standard-encodings-table): List only elements for
8787 non-standard encodings.
8788 (ctext-pre-write-conversion): Adjust for the above change.
8789 Check ctext-standard-encodings.
8791 * international/mule-conf.el (compound-text): Doc fix.
8792 (ctext-no-compositions): Doc fix.
8793 (compound-text-with-extensions): Doc fix.
8795 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8797 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8799 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8801 * progmodes/which-func.el (which-func-format): Split help-echo text
8802 into lines, like other mode-line tooltips.
8804 * server.el (server-start): When using TCP sockets, force IPv4
8805 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8807 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8809 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8811 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8813 * term.el (term-delimiter-argument-list): Reflow docstring.
8814 (term-read-input-ring, term-write-input-ring, term-send-input)
8815 (term-bol, term-erase-in-display, serial-supported-or-barf):
8816 Fix typos in docstrings.
8818 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8822 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8824 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8826 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8828 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8829 Fix typo in docstring (bug#6747).
8831 2010-08-08 Leo <sdl.web@gmail.com>
8833 * eshell/esh-io.el (eshell-get-target): Better detection of
8834 read-only file (Bug#6762).
8836 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8838 * align.el (align-default-spacing): Doc fix.
8839 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8841 2010-08-08 Stephen Peters <speters@itasoftware.com>
8843 * calendar/icalendar.el
8844 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8845 (icalendar--get-weekday-numbers): New.
8846 (icalendar--convert-recurring-to-diary): Handle multiple byday
8847 values in weekly rules. (Bug#6766)
8849 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8851 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8852 (icalendar--create-uid, icalendar-export-region)
8853 (icalendar--parse-summary-and-rest): Code formatting.
8855 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8857 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8858 to italicize headers.
8859 (calc-highlight-selections-with-faces): New variable.
8860 (calc-selected-face, calc-nonselected-face): New faces.
8862 * calc/calccomp.el (math-comp-highlight-string): Use
8863 `calc-highlight-selections-with-faces' to determine how to highlight
8866 * calc/calc-sel.el (calc-show-selections): Change message to when
8867 using faces to highlight selections.
8869 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8871 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8872 Add SQLite 3 keywords, functions and datatypes.
8873 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8876 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8878 * simple.el (select-active-regions): Move to keyboard.c.
8879 (deactivate-mark): Used saved-region-selection.
8880 (select-active-region): Function removed.
8881 (activate-mark, set-mark, push-mark-command)
8882 (handle-shift-selection): Don't call it.
8883 (keyboard-quit): Avoid adding the region to the window selection.
8885 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8886 select-active-regions implementation.
8887 (mouse-yank-at-click): Doc fix.
8889 * cus-start.el: Add custom declaration for select-active-regions.
8891 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8893 * simple.el (delete-forward-char): Doc fix.
8895 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8896 after reading the tutorial.
8898 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8900 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8901 Fix for the case that a C style comment has its delimiters alone on
8902 their respective lines. (Bug#193)
8904 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8906 * net/tramp.el (tramp-handle-start-file-process): Set connection
8908 (tramp-process-sentinel): Use it for flushing the cache.
8909 We cannot do it via the process buffer, the buffer could be deleted
8910 already when running the sentinel.
8912 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8914 * comint.el (comint-mode): Make directory tracking functions
8915 functional on remote files. (Bug#6764)
8917 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8919 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8921 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8923 * emacs-lisp/find-gc.el (find-gc-source-files):
8924 Rename unexec.c => unexcoff.c.
8926 * emacs-lisp/authors.el (authors-fixed-entries):
8927 Rename unexec.c => unexcoff.c.
8929 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8931 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8932 cache, not only file cache.
8933 (tramp-process-sentinel): New defun.
8934 (tramp-handle-start-file-process): Use it, in order to invalidate
8937 2010-08-03 Leo <sdl.web@gmail.com>
8939 * server.el (server-start): Simplify loop.
8941 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8943 * frame.el (screen-height, screen-width, set-screen-width)
8944 (set-screen-height): Remove ancient compatibility aliases.
8946 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8947 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8949 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8950 that change current buffer.
8952 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8954 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8955 beginning of the string. Use `string-match-p'. (Bug#6765)
8957 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8959 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8961 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8963 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8964 (package--builtins): Tweak descriptions.
8965 (package-print-package): Upcase descriptions if necessary.
8966 Show all built-in packages in font-lock-builtin-face.
8967 (package-list-packages-internal): Omit "emacs" package.
8968 Show status of built-in packages as "built-in".
8970 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8972 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8973 before killing to preserve the primary selection (Bug#6701).
8975 * term/x-win.el (x-select-text): Doc fix.
8977 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8979 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8980 (objc-font-lock-extra-types):
8981 * progmodes/cc-mode.el (c-basic-common-init):
8982 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8983 (c++-make-template-syntax-table)
8984 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8985 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8986 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8987 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8988 * progmodes/cc-fonts.el (c-make-inverse-face)
8989 (c-basic-matchers-after):
8990 * progmodes/cc-engine.el (c-forward-keyword-clause)
8991 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8992 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8993 (c-guess-continued-construct, c-guess-basic-syntax):
8994 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8995 The above functions were modified or created.
8997 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8999 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9001 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9003 * files.el (bidi-paragraph-direction): Define safe local values.
9005 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9006 language-info-alist. Remove outdated FIXME in a comment.
9008 2010-07-31 Alan Mackenzie <acm@muc.de>
9010 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9011 Auto-fill broken in C/C++ modes.
9013 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9015 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9016 (menu-bar-showhide-tool-bar-menu-customize-disable)
9017 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9018 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9019 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9020 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9021 make a menu for Options => toolbar that can move it.
9023 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9025 * emacs-lisp/package-x.el (package--make-rss-entry):
9026 (package-maint-add-news-item, package--update-news)
9027 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9029 * emacs-lisp/package.el (package-archive-url): Rename from
9031 (package-install): Doc fix.
9032 (package-download-single, package-download-tar, package-install)
9033 (package-menu-view-commentary): Callers changed.
9035 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9037 * net/tramp.el (tramp-handle-start-file-process): Check only for
9038 `remote-tty' process property.
9039 (tramp-open-shell): Don't check for tty.
9040 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9043 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9046 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9048 * emacs-lisp/package.el (package-load-list, package-archives)
9049 (package-archive-contents, package-user-dir)
9050 (package-directory-list, package--builtins, package-alist)
9051 (package-activated-list, package-obsolete-alist): Mark as risky.
9053 2010-07-28 Phil Hagelberg <phil@evri.com>
9055 Add support for non-default package repositories.
9056 * emacs-lisp/package.el (package-archive-base): Var deleted.
9057 (package-archives): New variable.
9058 (package-archive-contents): Doc fix.
9059 (package-load-descriptor): Do nothing if descriptor file is missing.
9060 (package--write-file-no-coding): New function.
9061 (package-unpack-single): Use it.
9062 (package-archive-id): New function.
9063 (package-download-single, package-download-tar)
9064 (package-menu-view-commentary): Use it.
9065 (package-installed-p): Make second argument optional.
9066 (package-read-all-archive-contents): New function.
9067 (package-initialize): Use it.
9068 (package-read-archive-contents): Add ARCHIVE argument.
9069 (package--add-to-archive-contents): New function.
9070 (package-install): Don't call package-read-archive-contents.
9071 (package--download-one-archive): Store archive file in a
9072 subdirectory of package-user-dir.
9073 (package-menu-execute): Remove spurious line movement.
9075 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9077 * cus-start.el (tool-bar-style): Add text-image-horiz.
9079 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9081 * progmodes/gud.el (gud-common-init): Check for remoteness of
9082 `file', and not of `default-directory'.
9084 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9086 * net/tramp.el (tramp-methods): Move hostname to the end in all
9087 ssh `tramp-login-args'.
9088 (tramp-verbose): Describe verbose level 9.
9089 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9090 (tramp-open-connection-setup-interactive-shell): Trace stty
9091 settings if `tramp-verbose' >= 9.
9092 (tramp-handle-start-file-process): Implement tty setting.
9093 (Bug#4604, Bug#6360)
9095 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9096 `tramp-verbose' to 9.
9098 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9100 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9101 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9102 Remove references to package `lisp-re' (bug#4369).
9104 2010-07-27 Tom Tromey <tromey@redhat.com>
9106 * progmodes/js.el (js-mode):
9107 * progmodes/make-mode.el (makefile-mode):
9108 * progmodes/simula.el (simula-mode):
9109 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9111 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9113 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9115 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9116 (display-time-world-buffer-name, display-time-world-mode-map):
9117 Fix typos in docstrings.
9119 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9121 * image-mode.el (image-display-size): New function.
9122 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9123 (image-mode-fit-frame): Use it (Bug#6639).
9125 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9127 * dired.el (dired-buffers-for-dir): Handle list values of
9128 dired-directory (Bug#6636).
9130 2010-07-26 Sam Steingold <sds@gnu.org>
9132 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9133 Do not call `x-get-selection' the second time, reuse the value.
9135 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9137 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9138 which consist of control chars only. Suggested by Richard Stallman.
9140 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9142 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9143 exists before passing an error to find-file-not-found-functions
9146 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9148 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9149 Remove leading nil element, adjust values.
9150 (tetris-shapes, tetris-shape-scores):
9151 Change representation of shapes and remove some redundancy.
9152 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9153 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9154 Adjust for working with new representation of shapes.
9155 (tetris-shape-rotations): New function.
9156 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9157 (tetris-rotate-prev, tetris-rotate-next):
9158 Adjust for working with the new version of tetris-test-shape.
9160 2010-07-23 Markus Triska <markus.triska@gmx.at>
9162 * progmodes/ps-mode.el: Use comint (bug#5954).
9163 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9164 (ps-mode-other-newline): Simplify.
9165 (ps-run-mode): Derive from comint-mode instead of
9166 fundamental-mode, yielding input history etc.
9167 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9168 (ps-run-send-string): Adapt for comint-mode.
9169 (ps-run-newline): Remove now unneeded function.
9171 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9173 * net/tramp.el (tramp-methods): Move hostname to the end in all
9174 plink `tramp-login-args'.
9176 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9178 * net/tramp.el (tramp-open-shell): New defun.
9179 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9182 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9184 * net/tramp.el (tramp-file-name-regexp-unified)
9185 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9186 not regard the volume letter as remote filename. (Bug#5447)
9188 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9190 * custom.el (custom-declare-variable): Give a clearer error message
9191 when the docstring is missing (bug#6476).
9193 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9195 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9196 (sql-login-params): New widget definition.
9197 (sql-oracle-login-params, sql-mysql-login-params)
9198 (sql-solid-login-params, sql-sybase-login-params)
9199 (sql-informix-login-params, sql-ingres-login-params)
9200 (sql-ms-login-params, sql-postgres-login-params)
9201 (sql-interbase-login-params, sql-db2-login-params)
9202 (sql-linter-login-params): Use it.
9203 (sql-sqlite-login-params): Use it; Define "database" parameter as
9205 (sql-sqlite-program): Change to "sqlite3".
9206 (sql-comint-sqlite): Make sure database name is complete.
9207 (sql-for-each-login): New function.
9208 (sql-connect, sql-save-connection): Use it.
9209 (sql-get-login-ext): New function.
9210 (sql-get-login): Use it.
9211 (sql-make-alternate-buffer-name): Handle :file parameters.
9213 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9215 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9216 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9218 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9220 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9222 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9224 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9226 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9228 * net/tramp.el (tramp-get-ls-command)
9229 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9232 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9234 * progmodes/sql.el: Version 2.3.
9235 (sql-connection-alist): Change keys from symbols to strings;
9236 enhanced the widget definition.
9237 (sql-mode-menu): Add submenu to select connections.
9238 (sql-interactive-mode-menu): Add "Save Connection" item.
9239 (sql-add-product): Fix menu item.
9240 (sql-get-product-feature): Improved error handling.
9241 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9242 (sql-make-alternate-buffer-name): Simplified.
9243 (sql-product-interactive): Handle missing product.
9244 (sql-connect): Support string keys, minor improvements.
9245 (sql-save-connection): New function.
9246 (sql-connection-menu-filter): New function.
9248 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9250 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9251 (tramp-open-connection-setup-interactive-shell):
9252 Apply workaround for IRIX64 bug. Move argument of last
9253 `tramp-send-command' where it belongs to.
9255 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9257 * net/tramp.el (tramp-perl-file-attributes)
9258 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9259 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9260 front of `login-args'.
9262 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9264 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9265 Set `show-trailing-whitespace' to nil.
9266 (display-time-world-display): Simplify.
9268 2010-07-18 Alan Mackenzie <acm@muc.de>
9270 Enhance `c-file-style' in file/directory local variables.
9271 * progmodes/cc-mode.el (c-count-cfss): New function.
9272 (c-before-hack-hook): Call `c-set-style' differently according to
9273 whether c-file-style was set in file or directory local
9276 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9278 * progmodes/sql.el: Version 2.2.
9279 (sql-product, sql-user, sql-database, sql-server, sql-port):
9280 Use defcustom :safe keyword rather than putting safe-local-variable
9282 (sql-password): Use defcustom :risky keyword rather than putting
9283 risky-local-variable property.
9284 (sql-oracle-login-params, sql-sqlite-login-params)
9285 (sql-solid-login-params, sql-sybase-login-params)
9286 (sql-informix-login-params, sql-ingres-login-params)
9287 (sql-ms-login-params, sql-postgres-login-params)
9288 (sql-interbase-login-params, sql-db2-login-params)
9289 (sql-linter-login-params): Add `port' option.
9290 (sql-get-product-feature): Add NO-INDIRECT parameter.
9291 (sql-comint-oracle, sql-comint-sybase)
9292 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9293 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9294 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9295 (sql-comint-linter): Rename sql-connect-* functions to
9297 (sql-product-alist, sql-mode-menu): Rename as above and
9298 :sqli-connect-func to :sqli-comint-func.
9299 (sql-connection): New variable.
9300 (sql-interactive-mode): Set it.
9301 (sql-connection-alist): New variable.
9302 (sql-connect): New function.
9303 (sql--alt-buffer-part, sql--alt-if-not-empty)
9304 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9306 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9308 * image-mode.el (image-bookmark-make-record): Do not set context
9309 in an image (Bug#6650).
9311 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9313 * simple.el (select-active-region): New function.
9314 (push-mark-command, set-mark, activate-mark)
9315 (handle-shift-selection): Use it.
9316 (deactivate-mark): Don't check for size of region.
9318 * mouse.el (mouse-drag-track): Use select-active-region.
9320 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9322 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9325 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9327 * term/x-win.el (x-select-enable-primary): Change default to nil.
9328 (x-select-enable-clipboard): Add :version keyword.
9330 * mouse.el (mouse-drag-copy-region):
9331 * simple.el (select-active-regions): Likewise.
9333 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9335 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9336 (vc-coding-system-for-diff): Use it to decide whether to inherit
9337 from the file the EOL format for reading the diffs of that file.
9340 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9342 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9343 unibyte, so compressed attachments are not compressed again.
9345 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9347 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9348 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9349 (tramp-find-shell): Simplify setting connection property.
9350 (tramp-get-ls-command): Make test for "--color=never" stronger.
9352 2010-07-15 Simon South <ssouth@member.fsf.org>
9354 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9355 blocks within record declarations (i.e. variant parts) correctly.
9357 2010-07-15 Simon South <ssouth@member.fsf.org>
9359 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9360 over literal tokens when parsing so newlines aren't "absorbed" by
9361 single-line comments. Corrects the indentation of case blocks
9362 that have a comment on the first line.
9364 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9366 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9367 by Drew Adams (Bug#5504).
9369 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9371 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9372 now that Unicode is used (Bug#6594).
9374 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9376 * term/x-win.el (x-select-enable-clipboard): Default to t.
9377 (x-initialize-window-system): Don't overwrite Paste menu item.
9379 * simple.el (select-active-regions): Default to t.
9380 (push-mark-command): Don't overwrite primary with empty string.
9382 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9383 (mouse-drag-copy-region): Default to nil.
9385 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9386 Cut/Copy/Paste menu bar items.
9388 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9390 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9391 Patch applied by Karl Fogel.
9393 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9394 and `bookmark-current-buffer' if they have been already set in
9395 another buffer (e.g gnus-art).
9397 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9398 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9400 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9402 * bookmark.el (bookmark-make-record-default): Allow unneeded
9403 information to be omitted from the record.
9405 Adjust declarations and calls:
9407 * info.el (bookmark-make-record-default): Adjust declaration.
9408 (Info-bookmark-make-record): Adjust call.
9410 * woman.el (bookmark-make-record-default): Adjust declaration.
9411 (woman-bookmark-make-record): Adjust call.
9413 * man.el (bookmark-make-record-default): Adjust declaration.
9414 (Man-bookmark-make-record): Adjust call.
9416 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9418 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9420 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9422 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9423 This is also from Thierry Volpiatto's patch in bug #6444. However,
9424 because it was extraneous to the functional change in that patch,
9425 and causes a re-indendation, I am committing it separately.
9427 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9429 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9430 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9431 Patch applied by Karl Fogel (Bug#6444).
9433 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9435 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9437 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9439 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9440 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9441 (ns-alternatives-map): Change S-tab binding to backtab
9444 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9447 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9449 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9452 * language/tv-util.el (tai-viet-re): Remove format.
9454 2010-07-12 Kenichi Handa <handa@m17n.org>
9456 * language/hebrew.el: Remove no-byte-compile declaration.
9457 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9458 composition-function-table for 3-character looking back.
9459 (hebrew-font-get-precomposed): New function.
9460 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9462 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9464 * mouse.el (mouse-drag-track): Handle select-active-regions
9467 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9469 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9470 empty argument to gvfs-copy.
9472 2010-07-10 Glenn Morris <rgm@gnu.org>
9474 * calendar/calendar.el (calendar-week-end-day): New function.
9475 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9476 Respect calendar-week-start-day. (Bug#6606)
9477 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9478 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9479 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9480 respect calendar-week-start-day.
9482 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9484 * simple.el (use-region-p): Doc fix (Bug#6607).
9486 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9488 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9489 Add regexps for cucumber and ruby.
9491 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9493 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9494 (epa-file-insert-file-contents): Hack to prevent
9495 find-file from opening empty buffer when decryption failed
9498 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9500 * textmodes/ispell.el (ispell-alternate-dictionary):
9501 Use file-readable-p.
9502 Return nil if no word-list is found at default locations.
9503 (ispell-complete-word-dict): Default to nil.
9504 (ispell-command-loop): Use 'word-list' when using lookup-words.
9505 (lookup-words): Use ispell-complete-word-dict or
9506 ispell-alternate-dictionary. Check for word-list availability
9507 and handle errors if needed with better messages (Bug#6539).
9508 (ispell-complete-word): Use ispell-complete-word-dict or
9509 ispell-alternate-dictionary.
9511 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9513 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9514 builtins (BufferError, BytesWarning, WindowsError; callables
9515 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9517 2010-07-07 Glenn Morris <rgm@gnu.org>
9519 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9520 (zone-shift-left): Ignore intangibility, and any errors from
9522 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9523 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9524 deleting, and copying text properties.
9525 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9526 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9527 to point-max is hard.
9528 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9529 (zone-fill-out-screen): Ignore intangibility.
9531 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9533 * menu-bar.el (menu-bar-mode):
9534 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9537 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9538 word/line selection (Bug#6565).
9540 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9542 * net/dbus.el (dbus-send-signal): Declare function.
9544 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9546 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9547 (dbus-register-property): New optional argument EMITS-SIGNAL.
9548 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9550 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9552 * mouse.el (mouse-drag-overlay): Variable deleted.
9553 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9554 (mouse--remap-link-click-p): New function.
9555 (mouse-drag-track): Handle dragging by using temporary Transient
9556 Mark mode, instead of a special overlay.
9557 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9560 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9563 2010-07-02 Juri Linkov <juri@jurta.org>
9565 * autoinsert.el (auto-insert-alist): Fix readability
9566 by using dotted pair notation for lambda.
9568 2010-07-02 Juri Linkov <juri@jurta.org>
9570 * faces.el (read-face-name): Rename arg `string-describing-default'
9571 to `default'. Doc fix. Display the default value in quotes
9572 in the prompt. With empty input, return the `default' arg,
9573 unless the default value is a string (in which case return nil).
9574 (describe-face): Replace the string `default' arg of `read-face-name'
9575 with the symbol `default'.
9577 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9579 * emulation/viper-cmd.el (viper-delete-backward-char)
9580 (viper-del-backward-char-in-insert)
9581 (viper-del-backward-char-in-replace, viper-change)
9582 (viper-backward-indent): Replace delete-backward-char with
9583 delete-char (Bug#6552).
9585 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9587 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9589 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9591 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9592 argument passed to frame-creation-function (Bug#5378).
9594 * faces.el (x-handle-named-frame-geometry)
9595 (x-handle-reverse-video, x-create-frame-with-faces)
9596 (face-set-after-frame-default, tty-create-frame-with-faces):
9597 Don't separately consult default-frame-alist. It is now passed as the
9600 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9602 * startup.el (command-line): Don't call tool-bar-setup in a
9605 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9607 * ruler-mode.el (ruler--save-header-line-format): New fun.
9608 (ruler-mode): Use it as a setter function, so as not to overwrite
9609 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9611 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9613 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9614 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9615 (vc-log-outgoing): Use it.
9616 (vc-diff-internal): Set diff-vc-backend.
9618 * vc/diff-mode.el (diff-vc-backend): New var.
9620 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9622 * dynamic-setting.el (font-setting-change-default-font):
9623 Remove call to message.
9625 2010-06-28 Kenichi Handa <handa@m17n.org>
9627 * international/quail.el (quail-insert-kbd-layout): Fix the
9628 showing of untranslated characters.
9630 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9632 * simple.el (delete-active-region): New option.
9633 (delete-backward-char): Implement in Lisp.
9634 (delete-forward-char): New command.
9636 * mouse.el (mouse-region-delete-keys): Delete.
9637 (mouse-show-mark): Simplify.
9639 * bindings.el (global-map): Bind delete and DEL, the former to
9640 delete-forward-char.
9642 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9644 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9645 (ruby-mode): Bind indent-line-function (Bug#5119).
9647 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9649 * startup.el (command-line): Recognize "0" X resource value.
9651 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9653 * startup.el (command-line): Use X resources to set the value of
9654 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9656 * menu-bar.el (menu-bar-mode):
9657 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9658 Set init-value to t.
9660 * frame.el (frame-notice-user-settings): Don't change
9661 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9662 vice versa (Bug#2249).
9664 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9666 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9668 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9670 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9671 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9673 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9674 default directories are expanded (Bug#6143).
9676 2010-06-24 Juri Linkov <juri@jurta.org>
9678 * minibuffer.el (completions-format): Change default from nil to
9679 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9681 2010-06-24 Juri Linkov <juri@jurta.org>
9683 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9684 buffer-locally to lambda that re-runs the vc diff command.
9687 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9689 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9690 echo area is in use (Bug#3412).
9692 2010-06-22 Glenn Morris <rgm@gnu.org>
9694 * textmodes/texinfmt.el (texinfo-format-region)
9695 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9696 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9697 (texinfo-format-option, texinfo-noindent):
9698 Use line-beginning-position and line-end-position.
9700 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9701 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9702 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9705 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9707 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9708 forward-line fallout.
9710 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9712 * mouse.el (mouse-appearance-menu): Add docstring.
9714 * help.el (describe-key): Print up-event using key-description.
9716 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9718 * net/zeroconf.el (zeroconf-resolve-service)
9719 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9720 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9722 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9724 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9726 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9728 Avoid displaying files with a nil state in vc-dir.
9729 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9730 cases that cause insertion.
9731 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9734 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9736 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9738 2010-06-29 Leo <sdl.web@gmail.com>
9740 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9742 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9744 * generic-x.el (bat-generic-mode): Fix regexp for command line
9745 switches (Bug#5719).
9747 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9749 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9750 of nconc to avoid pure storage error (Bug#6239).
9752 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9754 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9755 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9756 bindings of bookmark-automatically-show-annotations (Bug#6515).
9758 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9760 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9761 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9763 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9765 * comint.el (make-comint, make-comint-in-buffer): Mention return
9766 value in the docstrings. (Bug#6498)
9768 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9770 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9771 since it is not present when using some non-default switches.
9773 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9775 * simple.el (compose-mail): Fix doc string to refer to
9776 `compose-mail-user-agent-warnings', instead of to the
9777 nonexistent `compose-mail-check-user-agent'.
9779 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9781 Fix an indentation bug:
9783 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9784 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9787 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9788 (c-clear->-pair-props-if-match-before): now return t when they've
9789 cleared properties, nil otherwise.
9790 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9791 by taking account of the existing value.
9793 * progmodes/cc-defs.el
9794 (c-clear-char-property-with-value-function): Fix this to clear the
9795 property rather than overwriting it with nil.
9797 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9799 * emacs-lisp/package.el (package-print-package): Add link to
9800 package description via describe-package.
9801 (describe-package-1): List package requirements. Add button to
9802 perform installation.
9803 (package-menu-describe-package): New command.
9805 * help-mode.el (help-package): New button type.
9807 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9809 * emacs-lisp/package.el: Move package-list-packages binding to
9811 (describe-package, describe-package-1, package--dir): New funs.
9812 (package-activate-1): Use package--dir.
9814 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9816 * help-mode.el (help-package-def): New button type.
9818 * menu-bar.el: Move package-list-packages binding here from
9821 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9823 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9825 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9827 * emacs-lisp/edebug.el (edebug-read-list):
9828 Phase out old-style backquotes.
9830 2010-06-17 Juri Linkov <juri@jurta.org>
9832 * help-mode.el (help-mode): Set buffer-local variable
9833 revert-buffer-function to help-mode-revert-buffer.
9834 (help-mode-revert-buffer): New function.
9836 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9837 before popping to "*info*" (like in other Info functions).
9838 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9839 old-history-forward. Pop to old-buffer-name or "*info*" to
9840 recreate the killed buffer. Set Info-history-forward from
9841 old-history-forward.
9842 (Info-breadcrumbs-depth): Add :group and :version.
9844 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9846 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9848 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9850 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9851 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9853 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9855 * emacs-lisp/package.el (package-menu-mode-map):
9856 Move initialization into declaration.
9858 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9860 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9862 * emacs-lisp/package.el (package-archive-base): Point to
9864 (package-enable, package-load-list): New defcustoms.
9865 (package-user-dir, package-directory-list): Turn into defcustoms.
9866 Don't include package-user-dir in package-directory-list.
9867 (package--builtins-base): Don't include Emacs as a "package".
9868 (package-subdirectory-regexp): New var.
9869 (package-load-all-descriptors, package-compute-transaction)
9870 (package-download-transaction): Obey package-load-list.
9871 (package-activate-1): Rename from package-do-activate.
9872 (package-list-packages-internal): Check package-load-list.
9873 (package-load-descriptor, package-generate-autoloads)
9874 (package-unpack, package-unpack-single)
9875 (package--read-archive-file, package-delete):
9876 Use expand-file-name.
9878 * emacs-lisp/package-x.el: New file. Package uploading
9879 functionality split out from package.el.
9881 * startup.el (command-line): Load packages after reading init file.
9883 2010-06-17 Tom Tromey <tromey@redhat.com>
9885 * emacs-lisp/package.el: New file.
9887 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9889 Fix vc-annotate for renamed files when using Git.
9890 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9891 ls-files. Doe not pass the object as a file name to cat-file, it
9893 (vc-git-annotate-command): Pass the file name using -- to avoid
9894 ambiguity with the revision.
9895 (vc-git-previous-revision): Pass a relative file name.
9897 2010-06-22 Glenn Morris <rgm@gnu.org>
9899 * progmodes/js.el (js-mode-map): Use standard capitalization and
9900 ellipses for menu entries.
9902 * wid-edit.el (widget-complete): Doc fix.
9904 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9906 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9908 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9910 Fix annotating other revisions for renamed files in vc-annotate.
9911 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9912 VC backend. Use it when non-nil.
9913 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9916 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9917 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9918 Do not pass the file name to the 'previous-revision call when we
9919 don't want a file diff. (Bug#6489)
9921 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9923 Fix finding revisions for renamed files in vc-annotate.
9924 * vc/vc.el (vc-find-revision): Add an optional argument for
9925 the VC backend. Use it when non-nil.
9926 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9927 backend to vc-find-revision. (Bug#6487)
9929 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9931 Fix reading file names in Git annotate buffers.
9932 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9933 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9935 2010-06-20 Alan Mackenzie <acm@muc.de>
9937 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9938 in file local variables, set it first.
9940 2010-06-19 Glenn Morris <rgm@gnu.org>
9942 * descr-text.el (describe-char-unicode-data): Insert separating
9943 space when needed. (Bug#6422)
9945 * progmodes/idlwave.el (idlwave-action-and-binding):
9946 Fix typo in 2009-12-03 change. (Bug#6450)
9948 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9950 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9951 handling for `lambda' (misunderstanding).
9953 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9955 * calc/calc-poly.el (math-accum-factors): Make sure that
9956 constants aren't distributed after they are factored out.
9958 2010-06-16 Juri Linkov <juri@jurta.org>
9960 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9961 `list-colors-print'. (Bug#6332)
9963 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9965 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9968 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9970 * font-lock.el (font-lock-major-mode): Rename from
9971 font-lock-mode-major-mode to distinguish it from
9972 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9973 (font-lock-set-defaults):
9974 * font-core.el (font-lock-default-function): Adjust users.
9975 (font-lock-mode): Don't set it at all.
9977 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9979 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9981 2010-06-16 Glenn Morris <rgm@gnu.org>
9983 * calendar/appt.el (appt-time-msg-list): Doc fix.
9984 (appt-check): Let-bind appt-warn-time.
9985 (appt-add): Make the 3rd argument optional.
9986 Simplify argument names. Doc fix. Check for integer WARNTIME.
9987 Only add WARNTIME to the output list if non-nil.
9989 2010-06-16 Ivan Kanis <apple@kanis.eu>
9991 * calendar/appt.el (appt-check): Let the 3rd element of
9992 appt-time-msg-list specify the warning time.
9993 (appt-add): Add new argument with the warning time. (Bug#5176)
9995 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9997 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9998 older than version 1.6. (Bug#6361)
10000 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10002 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10003 used by cl-do-arglist. (Bug#6408)
10005 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10007 * textmodes/ispell.el (ispell-dictionary-base-alist):
10008 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10009 Suggested by Rolando Pereira (bug#6434).
10011 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10013 * facemenu.el (list-colors-sort): Doc fix.
10015 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10017 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10019 2010-06-14 Juri Linkov <juri@jurta.org>
10021 Add sort option `list-colors-sort'. (Bug#6332)
10022 * facemenu.el (color-rgb-to-hsv): New function.
10023 (list-colors-sort): New defcustom.
10024 (list-colors-sort-key): New function.
10025 (list-colors-display): Doc fix. Sort list according to the option
10026 `list-colors-sort'.
10027 (list-colors-print): Add HSV values to `help-echo' property of
10030 2010-06-14 Juri Linkov <juri@jurta.org>
10032 * compare-w.el: Move to the "vc" subdirectory.
10034 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10036 * image-mode.el (image-mode-map): Remap left-char and right-char.
10038 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10040 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10042 * term/common-win.el (x-colors): Add all the color names defined
10043 in rgb.txt (Bug#6332).
10045 * facemenu.el (list-colors-print): Don't print extra names if it
10046 will overflow the window width.
10048 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10051 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10053 * files.el (make-directory): Doc fix (bug#6396).
10055 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10057 * net/tramp.el (tramp-remote-process-environment): Protect version
10058 string by apostroph.
10059 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10061 (tramp-file-name-for-operation): Add `call-process-region'.
10062 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10064 * net/tramp-compat.el (top): Do not autoload
10065 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10066 only when `start-file-process' is not bound.
10067 (tramp-advice-file-expand-wildcards): Do not use
10068 `tramp-handle-file-remote-p'.
10069 (tramp-compat-make-temp-file): Handle the case, that
10070 `make-temp-file' has no third argument EXTENSION.
10072 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10074 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10076 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10078 2010-06-11 Juri Linkov <juri@jurta.org>
10080 * finder.el (finder-known-keywords): Add keyword "vc"
10081 for version control.
10083 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10084 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10085 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10086 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10088 2010-06-11 Juri Linkov <juri@jurta.org>
10090 Move version control related files to the "vc" subdirectory.
10091 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10092 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10093 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10094 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10095 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10096 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10097 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10098 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10099 Move files to the "vc" subdirectory.
10101 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10103 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10106 2010-06-11 Stephen Eglen <stephen@gnu.org>
10108 * shell.el: Bind `shell-resync-dirs' to M-RET.
10110 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10112 * notifications.el: Move file from lisp/net, because it is
10113 supposed to talk locally to the user.
10115 2010-06-10 Julien Danjou <julien@danjou.info>
10117 * net/notifications.el (notifications-on-action-signal)
10118 (notifications-on-closed-signal): Pass notification id as first
10119 argument to the callback functions. Add docstrings.
10120 (notifications-notify): Fix docstring.
10122 2010-06-10 Glenn Morris <rgm@gnu.org>
10124 * emacs-lisp/authors.el (authors-ignored-files)
10125 (authors-valid-file-names): Add some files.
10127 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10129 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10130 merge conflict, giving preference to the emacs-23 version of the code.
10132 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * emacs-lisp/advice.el (ad-compile-function):
10135 Define warning-suppress-types before we let-bind it (bug#6275).
10137 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10138 declare it, make it buffer-local and permanent-local (bug#6324).
10139 (vc-resynch-window): Adjust name.
10140 * vc-hooks.el (vc-find-file-hook): Adjust name.
10142 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10144 * net/notifications.el (notifications-notify): Fix docstring.
10146 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10148 Update to Unicode 6.0.0 beta.
10149 * international/charprop.el: Update copyright.
10150 * international/mule-cmds.el (ucs-names): Update character ranges.
10151 * international/uni-bidi.el:
10152 * international/uni-category.el:
10153 * international/uni-combining.el:
10154 * international/uni-comment.el:
10155 * international/uni-decimal.el:
10156 * international/uni-decomposition.el:
10157 * international/uni-digit.el:
10158 * international/uni-lowercase.el:
10159 * international/uni-mirrored.el:
10160 * international/uni-name.el:
10161 * international/uni-numeric.el:
10162 * international/uni-old-name.el:
10163 * international/uni-titlecase.el:
10164 * international/uni-uppercase.el: Regenerate.
10166 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10168 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10169 (smie-precs-precedence-table): Fix typo in docstring.
10171 * vc-mtn.el (log-edit-extract-headers): Declare function.
10173 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10175 * net/notifications.el (dbus-register-signal): Declare function.
10176 (notifications-notify): Fix typos and reflow docstring.
10178 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10180 Improve VC create/retrieve tag/branch.
10181 * vc.el (vc-create-tag): Do not read the directory name for VCs
10182 with repository revision granularity. Adjust the tag/branch
10183 prompt. Reset VC properties.
10184 (vc-retrieve-tag): Do not read the directory name for VCs
10185 with repository revision granularity. Reset VC properties.
10187 2010-06-09 Julien Danjou <julien@danjou.info>
10189 * net/notifications.el: New file.
10191 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10193 Add optional support for resetting VC properties.
10194 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10195 call vc-file-clearprops when true.
10196 (vc-resynch-buffer): Add new optional argument, pass it down.
10197 (vc-resynch-buffers-in-directory): Likewise.
10199 Improve support for special markup in the VC commit message.
10200 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10201 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10202 * vc-git.el (vc-git-checkin):
10203 * vc-bzr.el (vc-bzr-checkin): Likewise.
10205 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10207 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10208 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10210 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10212 * iimage.el: Remove images as soon as the underlying text is modified.
10213 (iimage-modification-hook): New function.
10214 (iimage-mode-buffer): Use it.
10216 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10219 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10220 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10221 (smie-indent-keyword): Add handling of open-paren keywords.
10222 (smie-indent-comment-continue): Don't assume comment-continue.
10224 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10226 * window.el (pop-to-buffer): Remove the conditional that
10227 compares new-window and old-window, so it will reselect
10228 the selected window unconditionally.
10229 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10231 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10233 * emacs-lisp/smie.el (smie-indent-offset-after)
10234 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10235 (smie-indent-after-keyword): Use them.
10236 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10237 (smie-indent-keyword): Tweak the black magic.
10238 (smie-indent-comment-continue): Strip comment-continue before use.
10239 (smie-indent-functions): Indent comments before keywords.
10241 2010-06-06 Juri Linkov <juri@jurta.org>
10243 * isearch.el (isearch-lazy-highlight-search): Fix looping
10244 by checking for empty match. This syncs this loop with the
10245 similar loop in `isearch-search'. (Bug#6362)
10247 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10249 * net/dbus.el (dbus-register-method): Declare function.
10250 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10251 (dbus-introspect): Doc fix.
10252 (dbus-event-bus-name, dbus-introspect-get-interface)
10253 (dbus-introspect-get-argument): Reflow docstrings.
10255 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10257 vc-log-incoming/vc-log-outgoing fixes for Git.
10258 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10259 incoming/outgoing logs.
10260 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10261 instead of vc-git-compute-remote.
10262 (vc-git-compute-remote): Remove.
10264 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10266 * term/common-win.el (x-colors): Add "dark green" and "dark
10267 turquoise" (Bug#6332).
10269 2010-06-04 Juri Linkov <juri@jurta.org>
10271 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10272 Instead of setting `replace' to t and replacing the same string
10273 with itself, don't do certain actions when
10274 kill-do-not-save-duplicates is non-nil and string is equal to car
10275 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10276 interprogram-paste strings to kill-ring, and don't push the input
10277 argument `string' to kill-ring.
10278 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10280 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10282 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10284 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10286 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10287 (tramp-gvfs-handler-mounted-unmounted)
10288 (tramp-gvfs-connection-mounted-p): Handle default-location.
10290 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10291 move files to trash.
10293 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10295 * international/mule-cmds.el (nonascii-insert-offset)
10296 (nonascii-translation-table): Add obsolescence information.
10298 * international/mule.el (make-translation-table-from-vector): Doc fix.
10300 2010-06-03 Glenn Morris <rgm@gnu.org>
10302 * desktop.el (desktop-clear-preserve-buffers):
10303 Add "*Warnings*" buffer. (Bug#6336)
10305 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10307 vc-log-incoming/vc-log-outgoing improvements for Git.
10308 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10310 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10312 Add bindings for vc-log-incoming and vc-log-outgoing.
10313 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10314 and vc-log-outgoing.
10315 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10316 and vc-log-outgoing.
10318 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10320 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10321 (rcirc-handler-366): Always sort nicknames.
10323 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10325 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10327 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10329 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10331 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10333 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10334 (rcirc-sort-nicknames-join): Avoid setq.
10336 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10338 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10339 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10340 (rcirc-handler-366): Use them.
10342 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10344 Split smie-indent-calculate into more manageable chunks.
10345 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10346 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10347 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10348 (smie-indent-exps): Extract from smie-indent-calculate.
10349 (smie-indent-functions): New var.
10350 (smie-indent-functions): Use them.
10352 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10354 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10355 (smie-indent-calculate): Simplify and cleanup.
10357 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10359 * net/tramp-gvfs.el (top): Require url-util.
10360 (tramp-gvfs-mount-point): Remove.
10361 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10363 (with-tramp-dbus-call-method): Format trace message.
10364 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10365 Implement backup call, when operation on local files fails.
10366 Use progress reporter. Flush properties of changed files.
10367 (tramp-gvfs-handle-make-directory): Make more traces.
10368 (tramp-gvfs-url-file-name): Hexify file name in url.
10369 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10370 into account for the resulting file name.
10371 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10372 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10373 (tramp-gvfs-handler-mounted-unmounted)
10374 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10375 attribute "default_location". Set "prefix" property.
10376 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10377 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10378 exists. Raise an error, if not (due to a corresponding answer
10379 "no" in interactive questions, for example).
10381 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10383 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10385 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10387 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10388 right-*. (Bug#6265)
10390 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10392 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10393 * vc-git.el (vc-git-compute-remote): New function.
10394 (vc-git-log-outgoing): Use it instead of hard coding a value.
10395 (vc-git-log-incoming): New function.
10397 Improve state updating for VC tag commands.
10398 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10399 to update the state of all buffers in the directory.
10401 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10403 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10405 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10406 `file-directory-p' to the filename part rather than to the whole text.
10408 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10410 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10412 2010-05-31 Drew Adams <drew.adams@oracle.com>
10414 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10416 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10418 * subr.el (momentary-string-display): Just use read-event to read
10419 the exit event (Bug#6238).
10421 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10423 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10425 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10427 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10428 Suggested by Eli Zaretskii <eliz@gnu.org>.
10430 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10432 * minibuffer.el (completion-file-name-table): Don't return a boundary
10433 past the end of `string' (bug#6299).
10434 (completion--file-name-table): Delegate to completion-file-name-table
10435 for the `boundaries' case.
10437 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10439 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10442 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10443 `path-separator', but maintain compatibility with Emacs 20.2.
10445 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10447 * server.el (server-process-filter): Receive parent-id argument
10449 (server-create-window-system-frame): New arg. Pass parent-id as
10452 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10454 Bidi-sensitive word movement with arrow keys.
10455 * subr.el (right-arrow-command, left-arrow-command): Move to
10458 * bindings.el (right-char, left-char): Move from subr.el and
10459 rename from right-arrow-command and left-arrow-command.
10460 (right-word, left-word): New functions.
10461 (global-map) <right>: Bind to right-char.
10462 (global-map) <left>: Bind to left-char.
10463 (global-map) <C-right>: Bind to right-word.
10464 (global-map) <C-left>: Bind to left-word.
10466 * ls-lisp.el (ls-lisp-classify-file): New function.
10467 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10468 (ls-lisp-classify): Call ls-lisp-classify-file.
10469 (insert-directory): Remove blanks from switches.
10471 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10473 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10474 (ansi-color-drop-regexp): New constant.
10475 (ansi-color-apply, ansi-color-filter-region)
10476 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10477 (ansi-color-apply): Build string list before calling concat.
10479 2010-05-28 Juri Linkov <juri@jurta.org>
10481 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10482 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10485 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10487 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10488 to ignored backtrace functions.
10489 (with-progress-reporter): Expand docstring.
10490 (tramp-handle-delete-file): Implement TRASH argument.
10491 (tramp-get-remote-trash): New defun.
10493 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10495 * net/tramp-compat.el (tramp-compat-delete-file):
10496 Use `symbol-value' for backward compatibility.
10498 * net/tramp.el (tramp-handle-make-symbolic-link)
10499 (tramp-handle-load)
10500 (tramp-do-copy-or-rename-file-via-buffer)
10501 (tramp-do-copy-or-rename-file-directly)
10502 (tramp-do-copy-or-rename-file-out-of-band)
10503 (tramp-handle-process-file, tramp-handle-call-process-region)
10504 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10505 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10506 (tramp-delete-temp-file-function): Use `delete-file' instead
10507 of `tramp-compat-delete-file'.
10509 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10510 (tramp-fish-handle-make-symbolic-link)
10511 (tramp-fish-handle-process-file): Use `delete-file' instead
10512 of `tramp-compat-delete-file'.
10514 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10515 Use `delete-file' instead of `tramp-compat-delete-file'.
10517 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10518 `delete-file' instead of `tramp-compat-delete-file'.
10520 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10521 Use `delete-file' instead of `tramp-compat-delete-file'.
10523 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10524 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10525 (tramp-smb-handle-write-region): Use `delete-file' instead of
10526 `tramp-compat-delete-file'.
10527 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10529 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10531 * dired.el (dired-delete-file): New arg TRASH.
10532 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10533 (dired-do-flagged-delete, dired-do-delete): Use trash.
10535 * speedbar.el (speedbar-item-delete): Allow trashing.
10537 * files.el (delete-directory): New arg TRASH.
10539 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10540 (ange-ftp-rename-remote-to-remote)
10541 (ange-ftp-rename-local-to-remote)
10542 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10543 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10545 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10548 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10549 handle new TRASH arg of `delete-file'.
10551 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10552 (tramp-handle-make-symbolic-link, tramp-handle-load)
10553 (tramp-do-copy-or-rename-file-via-buffer)
10554 (tramp-do-copy-or-rename-file-directly)
10555 (tramp-do-copy-or-rename-file-out-of-band)
10556 (tramp-handle-process-file, tramp-handle-call-process-region)
10557 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10558 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10559 (tramp-delete-temp-file-function): Use null TRASH arg in
10560 tramp-compat-delete-file call.
10562 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10563 (tramp-fish-handle-delete-file)
10564 (tramp-fish-handle-make-symbolic-link)
10565 (tramp-fish-handle-process-file): Use null TRASH arg in
10566 `tramp-compat-delete-file' call.
10568 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10569 arg in `tramp-compat-delete-file' call.
10571 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10572 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10573 `tramp-compat-delete-file' call.
10575 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10576 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10577 `tramp-compat-delete-file' call.
10579 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10580 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10581 (tramp-smb-handle-write-region): Use null TRASH arg in
10582 tramp-compat-delete-file call.
10583 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10584 (tramp-smb-handle-delete-file): Rename arg.
10586 * diff.el (diff-sentinel):
10587 * epg.el (epg--make-temp-file, epg-decrypt-string)
10588 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10589 * jka-compr.el (jka-compr-partial-uncompress)
10590 (jka-compr-call-process, jka-compr-write-region):
10591 * server.el (server-sentinel): Remove optional arg from
10592 delete-file, reverting 2010-05-03 change.
10594 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10596 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10597 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10599 2010-05-27 Kenichi Handa <handa@m17n.org>
10601 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10602 element of GSTRING is nil.
10604 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10606 * emacs-lisp/smie.el (smie-forward-token-function)
10607 (smie-backward-token-function): New vars.
10608 (smie-backward-sexp, smie-forward-sexp)
10609 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10610 (smie-default-backward-token): Rename from smie-backward-token and
10612 (smie-default-forward-token): Rename from smie-forward-token and
10614 (smie-next-sexp): Handle nil results from next-token.
10615 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10617 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10619 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10620 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10622 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10624 * htmlfontify.el (hfy-face-resolve-face): New function.
10625 (hfy-face-to-style): Use it (Bug#6279).
10627 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10629 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10630 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10632 2010-05-26 Glenn Morris <rgm@gnu.org>
10634 * emulation/edt.el (edt-load-keys): Use locate-library.
10636 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10638 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10639 (log-edit-changelog-entries): Doc fix.
10640 (log-edit-changelog-insert-entries): Args changed.
10641 Rename relative filenames in ChangeLog entries. Delete tabs.
10642 (log-edit-insert-changelog-entries): Reorganize return value of
10643 `log-edit-changelog-entries' to pass filenames to
10644 log-edit-changelog-insert-entries.
10646 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10648 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10649 `image-dired-dired-insert-marked-thumbs' to
10650 `image-dired-dired-toggle-marked-thumbs'.
10652 * image-dired.el: Require cl when compiling.
10653 (image-dired-dired-toggle-marked-thumbs): Rename from
10654 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10655 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10656 to 'no-dir. Skip files whose names don't match
10657 `image-file-name-regexp'. When file has a thumbnail overlay,
10658 delete it. (Bug#5270)
10660 2010-05-25 Juri Linkov <juri@jurta.org>
10662 * image-mode.el (image-mode): Add image-after-revert-hook to
10664 (image-after-revert-hook): New function. (Bug#5669)
10666 2010-05-25 Juri Linkov <juri@jurta.org>
10668 * image.el (image-animated-p): When delay between animated images
10669 is 0, set it to 10 (0.1 sec). (Bug#6258)
10671 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10673 * net/tramp.el (tramp-handle-insert-directory): Don't use
10674 `forward-word', its default syntax could be changed.
10676 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10678 * net/tramp.el (tramp-progress-reporter-update): New defun.
10679 (with-progress-reporter): Use it.
10680 (tramp-process-actions):
10681 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10682 Preserve current message, in order to let progress reporter continue
10683 afterwards. (Bug#6257)
10685 2010-05-25 Glenn Morris <rgm@gnu.org>
10687 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10690 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10692 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10693 (rcirc-default-full-name): Change to "unknown".
10694 (rcirc-user-name-history): Add variable.
10696 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10697 Jonathan Rockway <jon@jrock.us>
10699 * net/rcirc.el (rcirc-server-alist): Add :pass.
10700 (rcirc): When prompting for connection parameters, also prompt for
10701 username and password.
10702 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10703 value to server when connecting.
10705 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10707 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10708 (smie-merge-prec2s): Pass the tables as separate args.
10709 (smie-bnf-precedence-table): Adjust call accordingly.
10710 (smie-prec2-levels): Set levels at the end.
10712 Replace Lisp calls to delete-backward-char by delete-char.
10713 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10714 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10715 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10716 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10717 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10718 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10719 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10720 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10721 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10722 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10723 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10724 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10725 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10726 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10727 delete-backward-char by calls to delete-char.
10729 2010-05-25 Kenichi Handa <handa@m17n.org>
10731 * language/hebrew.el (hebrew-shape-gstring): New function.
10732 Register it in composition-function-table for all Hebrew combining
10735 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * epa.el (epa--select-keys): Don't explicitly delete the window since
10738 that can fail (e.g. sole window in frame). Use dedication instead.
10740 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10742 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10744 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10746 * image.el (image-refresh): Define as an alias for image-flush.
10748 * image-mode.el (image-toggle-display-image): Caller changed.
10750 2010-05-21 Juri Linkov <juri@jurta.org>
10752 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10753 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10754 whitespace, call wildcard-to-regexp on substrings and concat them
10755 with "\\|". (Bug#6114)
10757 2010-05-21 Alan Mackenzie <acm@muc.de>
10759 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10760 Replace parameter `here' with `here-' and `here-plus', which sandwich
10761 any pertinent CPP construct.
10762 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10763 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10764 CPP construct from taking part in the scanning.
10766 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10768 * net/tramp.el (tramp-do-copy-or-rename-file)
10769 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10770 Tune `with-progress-reporter' messages.
10771 (tramp-handle-vc-registered):
10772 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10773 (tramp-fish-handle-insert-file-contents)
10774 (tramp-fish-maybe-open-connection):
10775 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10776 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10777 (tramp-imap-handle-insert-file-contents)
10778 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10780 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10782 * add-log.el (change-log-font-lock-keywords):
10783 Highlight all authors in multi-author entries.
10785 * smerge-mode.el (smerge-refine-ignore-whitespace)
10786 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10787 Fix typos in docstrings.
10788 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10790 2010-05-21 Glenn Morris <rgm@gnu.org>
10792 * progmodes/fortran.el (fortran-mode):
10793 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10795 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10796 having a relative path in src/Makefile.in.
10798 2010-05-20 Kevin Ryde <user42@zip.com.au>
10800 * help-mode.el (help-make-xrefs): For Info node links turn
10801 newlines into spaces. Link node names with newlines are matched
10802 by help-xref-info-regexp and buttonized, this change ensures they
10803 can be followed successfully with RET. (Bug#6206)
10805 2010-05-20 Juri Linkov <juri@jurta.org>
10807 * locate.el (locate): Use pop-to-buffer instead of
10808 switch-to-buffer-other-window. (Bug#6204)
10810 2010-05-20 Juri Linkov <juri@jurta.org>
10812 * replace.el (replace-highlight): Fix lazy-highlighting
10813 for `M-s w str M-% str RET'.
10815 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10817 * isearch.el (isearch-yank-word-or-char): Pull next subword
10818 when `subword-mode' is activated. (Bug#6220)
10820 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10822 * isearch.el (isearch-update-post-hook): New hook.
10823 (isearch-update): Use the new hook. (Bug#6225)
10825 2010-05-20 Juri Linkov <juri@jurta.org>
10827 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10828 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10831 2010-05-20 Juri Linkov <juri@jurta.org>
10833 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10836 2010-05-20 Juri Linkov <juri@jurta.org>
10838 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10839 FILE-NAME to read from the minibuffer when called interactively
10840 with prefix argument instead of using buffer-file-name.
10841 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10843 * dired.el: Update autoloads.
10845 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10847 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10848 nxml-finish-element, for consistency with SGML mode.
10850 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10851 octave-close-block.
10853 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10855 * composite.el: Require cl when compiling.
10856 (reference-point-alist, compose-gstring-for-graphic)
10857 (compose-gstring-for-terminal): Fix typos in docstrings.
10859 2010-05-19 Juri Linkov <juri@jurta.org>
10861 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10862 set-window-parameter.
10864 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10866 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10868 (tramp-maybe-open-connection): Use it.
10870 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10872 * simple.el (move-end-of-line): Make sure we are at line beginning
10873 before backing up to end of previous line.
10875 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10877 * password-cache.el (password-cache-remove): Fix docstring.
10879 * net/secrets.el: Autoload the widget functions.
10880 (secrets-search-items, secrets-create-item)
10881 (secrets-get-attributes, secrets-expand-item): Attributes will be
10882 stored on the password database without leading ":", as all other
10883 clients do as well.
10884 (secrets-mode): Fix docstring.
10885 (secrets-show-secrets): Provide it as autoloaded command only when
10886 D-Bus support is available. Check existence of Secret Service API.
10888 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10890 * indent.el (indent-region): Deactivate region (bug#6200).
10892 2010-05-19 Glenn Morris <rgm@gnu.org>
10894 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10896 2010-05-19 Kenichi Handa <handa@m17n.org>
10898 * composite.el: Register compose-gstring-for-graphic in
10899 composition-function-table only for combining characters (Mn, Mc, Me).
10901 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10903 * calc/calc-trail.el (calc-trail-isearch-forward)
10904 (calc-trail-isearch-backward): Ensure that the new window
10905 point is set correctly.
10907 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10909 * subr.el (read-quoted-char): Resolve modifiers after key
10910 remapping (bug#6212).
10912 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10914 Add visualization code for secrets.
10915 * net/secrets.el (secrets-mode): New major mode.
10916 (secrets-show-secrets, secrets-show-collections)
10917 (secrets-expand-collection, secrets-expand-item)
10918 (secrets-tree-widget-after-toggle-function)
10919 (secrets-tree-widget-show-password): New defuns.
10921 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10923 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10924 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10925 handled in smie-next-sexp.
10926 (smie-indent-calculate): Provide a starting indentation (so the
10927 recursion is well-founded ;-).
10929 Fix handling of non-associative equal levels.
10930 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10931 when it's not needed.
10932 (smie-op-left, smie-op-right): New functions.
10933 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10934 Better handle equal levels to distinguish the associative case from
10935 the "multi-keyword construct" case.
10936 (smie-backward-sexp, smie-forward-sexp): Use it.
10938 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10940 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10942 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10943 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10945 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10947 Provide a simple generic indentation engine and use it for Prolog.
10948 * emacs-lisp/smie.el: New file.
10949 * progmodes/prolog.el (prolog-smie-op-levels)
10950 (prolog-smie-indent-rules): New var.
10951 (prolog-mode-variables): Use them to configure SMIE.
10952 (prolog-indent-line, prolog-indent-level): Remove.
10954 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10956 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10957 order before computing the averages.
10959 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10961 * calc/calc-vec.el (calc-histogram):
10962 (calcFunc-histogram): Allow vectors as inputs.
10963 (math-vector-avg): New function.
10965 * calc/calc-ext.el (math-group-float): Have the number of digits
10966 being grouped depend on the radix (Bug#6189).
10968 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10970 * version.el (emacs-copyright, emacs-version): Don't define here,
10971 now that emacs.c defines it.
10973 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10975 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10976 "Describe Language Environment" menu item.
10978 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10980 Bidi-sensitive movement with arrow keys.
10981 * subr.el (right-arrow-command, left-arrow-command): New functions.
10983 * bindings.el (global-map): Bind them to right and left arrow keys.
10985 Don't override standard definition of convert-standard-filename.
10986 * files.el (convert-standard-filename):
10987 Call w32-convert-standard-filename and dos-convert-standard-filename on
10988 the corresponding systems.
10990 * w32-fns.el (w32-convert-standard-filename): Rename from
10991 convert-standard-filename. Doc fix.
10993 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10994 (convert-standard-filename): Don't defalias.
10995 (register-name-alist, make-register, register-value)
10996 (set-register-value, intdos): Obsolete aliases for the
10997 corresponding dos-* functions and variables.
10998 (dos-intdos): Add a doc string.
11000 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11002 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11003 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11004 (math-compose-tex-func):
11005 * calc/calccomp.el (math-compose-expr):
11006 * calc/calc-ext.el (math-format-flat-expr-fancy):
11007 * calc/calc-store.el (calc-read-var-name):
11008 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11010 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11011 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11012 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11013 (math-standard-units): Add units.
11015 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11017 * progmodes/asm-mode.el (asm-mode):
11018 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11020 * pcomplete.el (pcomplete-completions-at-point): New function,
11021 extracted from pcomplete-std-complete.
11022 (pcomplete-std-complete): Use it.
11024 2010-05-15 Glenn Morris <rgm@gnu.org>
11026 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11027 Remove references to CVS, RCS and Old directories.
11029 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11031 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11034 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11036 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11037 (sh-mode-syntax-table): Give it a default value instead.
11038 (sh-header-marker): Make buffer-local.
11039 (sh-mode): Move make-local-variable to the corresponding setq.
11040 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11041 Use complete-with-action.
11043 * simple.el (prog-mode): New (abstract) major mode.
11044 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11045 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11047 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11049 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11050 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11051 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11052 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11053 (sql-escape-newlines-filter, sql-input-sender)
11054 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11056 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11058 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11060 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11061 latex-open-block and C-c / to latex-close-block.
11063 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11064 and C-c C-e to sgml-close-tag.
11066 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11068 * net/tramp.el (with-progress-reporter): Create reporter object
11069 only when the message would be displayed. Handle nested calls.
11070 (tramp-handle-load, tramp-handle-file-local-copy)
11071 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11072 (tramp-maybe-send-script, tramp-find-shell):
11073 Use `with-progress-reporter'.
11074 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11077 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11078 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11079 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11080 Use `with-progress-reporter'.
11082 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11084 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11085 process everytime when spellchecking from the minibuffer (bug#6143).
11087 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11089 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11091 * dos-fns.el: Add "dos-" prefix for namespace control.
11092 (convert-standard-filename): Define as alias for
11093 dos-convert-standard-filename but only if applicable.
11095 2010-05-12 Alan Mackenzie <acm@muc.de>
11097 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11098 Push the mark at the start of these functions when appropriate.
11100 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11102 * minibuffer.el (completion-cycle-threshold): New custom var.
11103 (completion--do-completion): Use it.
11104 (minibuffer-complete): Use cycling if appropriate.
11106 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11108 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11109 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11111 2010-05-11 Juri Linkov <juri@jurta.org>
11113 * scroll-all.el (scroll-all-check-to-scroll):
11114 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11116 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11118 * iimage.el (iimage-mode-map): Move initialization into declaration.
11119 (iimage-mode-buffer): Use with-silent-modifications.
11120 Simplify calling convention. Adjust callers.
11121 (iimage-mode): Don't run hook redundantly.
11123 * minibuffer.el (completion-pcm--pattern->regex):
11124 Fix last change (bug#6160).
11126 2010-05-10 Juri Linkov <juri@jurta.org>
11128 Remove nodes visited during Isearch from the Info history.
11129 * info.el (Info-isearch-initial-history)
11130 (Info-isearch-initial-history-list): New variables.
11131 (Info-isearch-start): Record initial values of
11132 Info-isearch-initial-history and Info-isearch-initial-history-list.
11133 Add Info-isearch-end to isearch-mode-end-hook.
11134 (Info-isearch-end): New function.
11136 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11138 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11139 format string, in order to work around a bug in pdksh.
11140 Reported by Gilles Pion <gpion@lfdj.com>.
11141 (tramp-handle-verify-visited-file-modtime): Do not send a command
11142 when the connection is not established.
11143 (tramp-handle-set-file-times): Simplify the check for utc.
11145 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11147 Fix use of `filter-buffer-substring' (rework previous change).
11148 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11149 (cua-repeat-replace-region):
11150 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11151 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11152 (cua-cut-region-to-global-mark): Use it.
11154 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11156 * progmodes/sql.el: Version 2.1.
11157 (sql-product-alist): Redesign structure of product info.
11158 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11159 (sql-port, sql-port-history): New variables.
11160 (sql-interactive-product): New variable.
11161 (sql-send-terminator): New variable.
11162 (sql-imenu-generic-expression): Add "Types" imenu entry.
11163 (sql-oracle-login-params, sql-sqlite-login-params)
11164 (sql-mysql-login-params, sql-solid-login-params)
11165 (sql-sybase-login-params, sql-informix-login-params)
11166 (sql-ingres-login-params, sql-ms-login-params)
11167 (sql-postgres-login-params, sql-interbase-login-params)
11168 (sql-db2-login-params, sql-linter-login-params)
11169 (sql-oracle-scan-on): New variables.
11170 (sql-mode-map): Add C-c C-i to start interactive mode.
11171 (sql-mode-menu): Update existing menu entries.
11172 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11173 (sql-mode-oracle-font-lock-keywords)
11174 (sql-mode-postgres-font-lock-keywords)
11175 (sql-mode-ms-font-lock-keywords)
11176 (sql-mode-sybase-font-lock-keywords)
11177 (sql-mode-informix-font-lock-keywords)
11178 (sql-mode-interbase-font-lock-keywords)
11179 (sql-mode-ingres-font-lock-keywords)
11180 (sql-mode-solid-font-lock-keywords)
11181 (sql-mode-mysql-font-lock-keywords)
11182 (sql-mode-sqlite-font-lock-keywords)
11183 (sql-mode-db2-font-lock-keywords)
11184 (sql-mode-linter-font-lock-keywords): Update initialization to
11185 reduce run-time complexity.
11186 (sql-add-product, sql-del-product): New functions.
11187 (sql-set-product-feature, sql-get-product-feature): New functions.
11188 (sql-product-font-lock): Update product API.
11189 (sql-add-product-keywords): New function.
11190 (sql-highlight-product): Update product API.
11191 (sql-help-list-products): New function.
11192 (sql-help): Dynamically lists free and non-free products.
11193 (sql-get-login): Correct bug in handling history and added
11195 (sql-copy-column): Copy without properties.
11196 (sqli-input-sender): Apply filters to SQLi input.
11197 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11198 Implement as a filter.
11199 (sql-escape-newlines-filter): Implement as a filter.
11200 (sql-remove-tabs-filter): New function.
11201 (sql-send-magic-terminator): New function.
11202 (sql-send-string): Implement magic terminator.
11203 (sql-send-region): Use `sql-send-string'.
11204 (sql-interactive-mode): Use product API.
11205 (sql-product-interactive): Use product API.
11206 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11207 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11208 (sql-db2, sql-linter): Use `sql-product-interactive'.
11209 (sql-connect): New function.
11210 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11211 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11212 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11213 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11216 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11218 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11219 New custom variable.
11220 (completion-pcm--string->pattern): Use it.
11221 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11222 Make it handle any symbol as `any'.
11223 (completion-pcm--merge-completions): Extract common suffix for the new
11224 `prefix' symbol as well.
11225 (completion-substring--all-completions): Use the new `prefix' symbol.
11227 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11229 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11231 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11232 (tramp-compat-funcall): New defmacro.
11233 (tramp-compat-line-beginning-position)
11234 (tramp-compat-line-end-position)
11235 (tramp-compat-temporary-file-directory)
11236 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11237 (tramp-compat-copy-file, tramp-compat-copy-directory)
11238 (tramp-compat-delete-file, tramp-compat-delete-directory)
11239 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11240 * net/tramp.el (top, with-progress-reporter)
11241 (tramp-rfn-eshadow-setup-minibuffer)
11242 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11243 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11244 (tramp-completion-mode-p, tramp-check-for-regexp)
11245 (tramp-open-connection-setup-interactive-shell)
11246 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11247 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11248 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11249 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11250 (tramp-reporter-dump-variable, tramp-load-report-modules)
11251 (tramp-append-tramp-buffers)
11252 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11254 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11256 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11258 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11259 buffer-modtime. Adjust users.
11261 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11263 * international/mule.el (auto-coding-alist): Only purecopy
11264 car of each item, not the whole list (Bug#6083).
11266 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11268 * progmodes/js.el (js-mode): Make paragraph variables local before
11269 calling c-setup-paragraph-variables (Bug#6071).
11271 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11273 * composite.el (compose-region, reference-point-alist): Fix typos
11274 in the doc strings.
11276 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11278 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11279 gnuplot's "set" command.
11281 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11283 * abbrev.el (last-abbrev-text): Doc fix.
11284 (abbrev-prefix-mark): Don't escape parenthesis.
11286 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11288 * composite.el (find-composition): Doc fix.
11290 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11292 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11293 (sql-oracle-program, sql-sqlite-options)
11294 (sql-query-placeholders-and-send): Doc fixes.
11295 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11296 (sql-imenu-generic-expression, sql-buffer)
11297 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11298 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11299 (sql-mode-sybase-font-lock-keywords)
11300 (sql-mode-informix-font-lock-keywords)
11301 (sql-mode-interbase-font-lock-keywords)
11302 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11303 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11304 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11305 (sql-product-feature, sql-highlight-product)
11306 (comint-line-beginning-position, sql-rename-buffer)
11307 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11308 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11309 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11310 Fix typos in docstrings.
11312 2010-05-08 Juri Linkov <juri@jurta.org>
11314 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11315 property instead of `invisible' and `after-string' (bug#5998).
11317 2010-05-08 Juri Linkov <juri@jurta.org>
11319 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11321 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11323 * filecache.el (file-cache-add-directory-list)
11324 (file-cache-add-directory-recursively): Fix typos in docstrings.
11326 2010-05-08 Kenichi Handa <handa@m17n.org>
11328 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11329 (gujarati-composable-pattern): Fix typo.
11331 2010-05-08 Kenichi Handa <handa@m17n.org>
11333 * language/indian.el (oriya-composable-pattern)
11334 (tamil-composable-pattern, malayalam-composable-pattern):
11335 Add two-part vowels to "v" (vowel sign).
11337 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11339 * files.el (copy-directory): Handle symlinks (Bug#5982).
11341 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11343 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11344 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11347 2010-05-08 Glenn Morris <rgm@gnu.org>
11349 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11351 * minibuffer.el (completion-at-point): Doc fix.
11353 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11355 * electric.el (Electric-command-loop): Minor tweak.
11357 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11358 better with dedicated windows.
11360 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11362 * Version 23.2 released.
11364 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11365 Stefan Monnier <monnier@iro.umontreal.ca>
11367 Highlight vendor specific properties.
11368 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11369 (css-proprietary-property): New face.
11370 (css-font-lock-keywords): Use them.
11372 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11374 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11376 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11378 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11379 * files.el (auto-mode-alist): Remove redundant entries.
11381 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11382 * simple.el (auto-save-mode): Move from files.el.
11383 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11385 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11387 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11389 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11391 * mail/binhex.el (binhex-decode-region-internal)
11392 * mail/uudecode.el (uudecode-decode-region-internal)
11393 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11394 (dns-read-type, dns-query)
11395 * pgg-parse.el (pgg-parse-armor)
11396 * pgg.el (pgg-verify-region)
11397 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11400 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11402 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11404 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11406 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11407 * emulation/cua-base.el (cua-repeat-replace-region):
11408 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11409 (cua-cut-region-to-global-mark):
11410 Remove text properties with `set-text-properties'.
11412 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11414 * net/tramp.el (top, with-progress-reporter):
11415 Use `symbol-function' inside `funcall'.
11417 * net/tramp-compat.el (tramp-compat-file-attributes)
11418 (tramp-compat-delete-file, tramp-compat-delete-directory):
11419 Handle only `wrong-number-of-arguments' error.
11421 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11422 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11425 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11427 * minibuffer.el (completion--sreverse, completion--common-suffix):
11429 (completion-pcm--merge-completions): Extract common suffix when safe.
11431 * emacs-lisp/easy-mmode.el (define-minor-mode):
11432 Make :variable more flexible.
11433 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11435 2010-05-05 Juri Linkov <juri@jurta.org>
11437 Add `slow' and `history' tags to the desktop data.
11439 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11440 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11441 (Info-finder-find-node): Require `finder.el' to be able
11442 to restore node from the desktop.
11443 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11444 data `Info-history' and `slow' tag in the assoc list.
11445 (Info-restore-desktop-buffer): Don't restore nodes with the
11446 `slow' tag. Restore `Info-history'.
11448 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11450 Add FORCE argument to `delete-file'.
11452 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11453 forcing to delete the temporary file.
11454 (ange-ftp-delete-file): Add FORCE arg.
11455 (ange-ftp-rename-remote-to-remote)
11456 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11457 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11458 Force file deletion.
11460 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11462 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11463 (tramp-handle-make-symbolic-link, tramp-handle-load)
11464 (tramp-do-copy-or-rename-file-via-buffer)
11465 (tramp-do-copy-or-rename-file-directly)
11466 (tramp-do-copy-or-rename-file-out-of-band)
11467 (tramp-handle-process-file, tramp-handle-call-process-region)
11468 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11469 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11470 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11472 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11473 (tramp-fish-handle-make-symbolic-link)
11474 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11476 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11477 Use `tramp-compat-delete-file'.
11479 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11480 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11482 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11483 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11485 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11486 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11487 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11488 Use `tramp-compat-delete-file'.
11490 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11493 * subr.el (add-minor-mode): Use push.
11494 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11495 * emulation/edt.el (edt-select-mode): Simplify.
11497 Use define-minor-mode in more cases.
11498 * term/tvi970.el (tvi970-set-keypad-mode):
11499 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11500 (normal-erase-is-backspace-mode):
11501 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11502 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11503 (get-scroll-bar-mode): New function.
11504 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11506 Use define-minor-mode for less obvious cases.
11507 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11508 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11509 * international/iso-ascii.el (iso-ascii-mode):
11510 * frame.el (auto-raise-mode, auto-lower-mode):
11511 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11513 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11515 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11516 in order to see error messages for failed logins.
11518 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11520 * diff.el (diff-sentinel):
11522 * epg.el (epg--make-temp-file, epg-decrypt-string)
11523 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11525 * jka-compr.el (jka-compr-partial-uncompress)
11526 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11528 * server.el (server-sentinel): Use delete-file's new FORCE arg
11531 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11533 Use define-minor-mode where applicable.
11534 * view.el (view-mode):
11535 * type-break.el (type-break-query-mode)
11536 (type-break-mode-line-message-mode):
11537 * textmodes/reftex.el (reftex-mode):
11538 * term/vt100.el (vt100-wide-mode):
11539 * tar-mode.el (tar-subfile-mode):
11540 * savehist.el (savehist-mode):
11541 * ibuf-ext.el (ibuffer-auto-mode):
11542 * composite.el (auto-composition-mode):
11543 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11544 Use define-minor-mode.
11545 (vhdl-mode): Use static mode-line format.
11546 (vhdl-mode-line-update): Delete.
11547 (vhdl-create-mode-menu, vhdl-activate-customizations)
11548 (vhdl-hs-minor-mode): Don't bother calling it.
11550 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11552 * simple.el (with-wrapper-hook): Move.
11553 (buffer-substring-filters): Mark obsolete.
11554 (filter-buffer-substring-functions): New variable.
11555 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11557 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11558 Michael Albinus <michael.albinus@gmx.de>
11560 Implement compression for inline methods.
11562 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11563 (tramp-copy-size-limit): Allow also nil.
11564 (tramp-inline-compress-commands): New defconst.
11565 (tramp-find-inline-compress, tramp-get-inline-compress)
11566 (tramp-get-inline-coding): New defuns.
11567 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11568 replaced by `tramp-get-inline-coding'.
11569 (tramp-handle-file-local-copy, tramp-handle-write-region)
11570 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11572 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11574 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11575 Remove unused functions.
11577 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11578 Set find-tag-default-function as a variable rather than a property.
11580 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11581 * progmodes/etags.el (tags-completion-at-point-function):
11582 Remove left over interactive spec. Add autoloading stub.
11583 (complete-tag): Use tags-completion-at-point-function.
11585 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11587 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11589 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11591 * ido.el (ido-init-completion-maps): Remove C-v binding.
11592 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11594 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11596 * minibuffer.el (tags-completion-at-point-function): New function.
11597 (completion-at-point-functions): Use it.
11599 * progmodes/etags.el (complete-tag): Revert last change.
11601 2010-04-29 Alan Mackenzie <acm@muc.de>
11603 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11604 off-by-one error (in end of macro position).
11606 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11608 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11609 firefox is absent. Don't autoload.
11610 (browse-url-galeon-program): Don't autoload.
11612 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11614 * bindings.el (complete-symbol): Move into minibuffer.el.
11616 * minibuffer.el (complete-tag): Move from etags.el. If tags
11617 completion cannot be performed, return nil instead of signalling
11619 (completion-at-point): Make it an alias for complete-symbol.
11620 (complete-symbol): Move from bindings.el, and replace with the
11621 body of completion-at-point.
11623 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11625 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11627 * net/tramp.el (tramp-remote-selinux-p): New defun.
11628 (tramp-handle-file-selinux-context)
11629 (tramp-handle-set-file-selinux-context): Use it.
11631 2010-04-28 Sam Steingold <sds@gnu.org>
11633 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11634 `safe-local-variable' if the value is a string or a symbol with
11635 the property `bug-reference-url-format'.
11637 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11639 * progmodes/bug-reference.el (bug-reference-url-format):
11640 Revert 2010-04-27 change due to security risk.
11642 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11644 Make it possible to locally disable a globally enabled mode.
11645 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11646 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11647 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11648 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11649 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11650 that subsequent hooks get a chance to disable it.
11652 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11654 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11655 Avoid re-enabling a minor mode after the user turned the minor mode
11656 off if MODE-enable-in-buffers is run twice (typically once from
11657 fundamental-mode's after-change-major-mode-hook and a second time from
11658 run-mode-hook's own after-change-major-mode-hook).
11660 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11662 2010-04-27 Sam Steingold <sds@gnu.org>
11664 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11665 `safe-local-variable' if the value is a string or a function, as
11666 documented and implemented on 2010-04-02.
11668 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11670 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11671 when method is 'kill.
11673 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11675 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11676 condition in default directory check.
11677 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11678 Kill ispell process when killing its associated buffer.
11680 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11682 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11683 but we aren't using it.
11685 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11687 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11688 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11690 2010-04-24 Glenn Morris <rgm@gnu.org>
11692 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11693 Ignore VCS-ignore files, and deleted nextstep preferences files.
11694 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11695 (authors-ambiguous-files): New list.
11696 (authors-valid-file-names): Add some deleted files.
11697 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11698 (authors-disambiguate-file-name): New function. (Bug#5501)
11699 (authors-canonical-file-name): Doc fix.
11700 Don't warn about obsolete files.
11701 (authors-canonical-file-name, authors-scan-el):
11702 Use authors-disambiguate-file-name.
11704 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11705 Add autoload cookies.
11706 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11707 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11708 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11709 They have definitions / compiler macros in cl.el.
11710 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11711 Replace manual autoloads with generated ones.
11712 (htmlfontify-unload-rgb-file): Remove autoload.
11713 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11715 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11717 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11718 (byte-compile-setq-default): Optimize for the
11719 single-var case and don't call byte-compile-form in this case to avoid
11720 inf-loop with byte-compile-set-default.
11722 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11724 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11726 Implement SELINUX backends.
11728 * net/tramp.el (tramp-file-name-handler-alist):
11729 Add `file-selinux-context' and `set-file-selinux-context'.
11730 (tramp-handle-file-selinux-context)
11731 (tramp-handle-set-file-selinux-context): New defuns.
11732 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11733 Handle PRESERVE-SELINUX-CONTEXT.
11735 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11736 Add `file-selinux-context' and `set-file-selinux-context'.
11737 (tramp-gvfs-handle-file-selinux-context)
11738 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11739 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11741 * net/ange-ftp.el (ange-ftp-copy-file):
11742 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11743 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11744 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11745 Add PRESERVE-SELINUX-CONTEXT.
11747 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11749 Synchronize with Tramp repository.
11751 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11752 (tramp-action-process-alive, tramp-action-out-of-band)
11753 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11754 (tramp-exists-file-name-handler): Fix docstring.
11755 (with-progress-reporter): New defmacro.
11756 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11757 (tramp-maybe-open-connection): Use it.
11759 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11761 Detect ssh 'ControlMaster' argument automatically in some cases.
11763 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11764 (tramp-default-method): Use it.
11766 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11768 * net/tramp.el (tramp-handle-copy-file): Add new optional
11769 parameter `preserve-selinux-context'.
11770 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11772 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11774 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11775 Ensure, that non remote files are still checked. Oops.
11777 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11781 * icomplete.el (icomplete-completions): Use `non-essential'.
11783 * net/tramp.el (tramp-connectable-p): New defun.
11784 (tramp-handle-expand-file-name)
11785 (tramp-completion-handle-file-name-all-completions)
11786 (tramp-completion-handle-file-name-completion): Use it.
11788 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11790 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11792 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11794 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11796 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11798 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11801 * info.el (info-tool-bar-map): Add labels.
11803 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11805 * cus-edit.el (custom-commands): Add labels for tool bar.
11806 (custom-buffer-create-internal, Custom-mode): Adjust for
11807 labels in custom-commands.
11809 * dynamic-setting.el: Renamed from font-setting.el.
11811 2010-04-21 John Wiegley <jwiegley@gmail.com>
11813 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11814 toggles the use of virtual buffers.
11815 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11816 (ido-toggle-virtual-buffers): New function.
11818 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11820 Use `define-derived-mode'; fix window selection; doc fixes.
11821 * play/tetris.el (tetris, tetris-update-speed-function)
11822 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11823 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11824 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11825 (tetris-pause-game): Fix typos in docstrings.
11826 (tetris-mode-map, tetris-null-map):
11827 Move initialization into declaration.
11828 (tetris-mode): Define with `define-derived-mode';
11829 set show-trailing-whitespace to nil.
11830 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11832 2010-04-21 Karel Klíč <kklic@redhat.com>
11834 * files.el (backup-buffer): Handle SELinux context, and return it
11835 if a backup was made by renaming.
11836 (backup-buffer-copy): Set SELinux context to the target file.
11837 (basic-save-buffer): Set SELinux context of the newly written file.
11838 (basic-save-buffer-1): Now it also returns any SELinux context.
11839 (basic-save-buffer-2): Set SELinux context of the newly created file,
11841 * net/tramp.el (tramp-file-name-for-operation):
11842 Add file-selinux-context.
11844 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11846 Make the log-edit comments use RFC822 format throughout.
11848 * vc.el (vc-checkin, vc-modify-change-comment):
11849 Adjust to new vc-start/finish-logentry.
11850 (vc-find-conflicted-file): New command.
11851 (vc-transfer-file): Adjust to new vc-checkin.
11852 (vc-next-action): Improve scoping.
11854 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11855 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11857 * vc-git.el (vc-git-log-edit-mode): Remove.
11858 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11859 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11861 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11862 (vc-start-logentry): Remove argument `extra'.
11863 (vc-finish-logentry): Remove extra args.
11865 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11866 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11867 (vc-bzr-conflicted-files): New function.
11869 * log-edit.el (log-edit-extra-flags)
11870 (log-edit-before-checkin-process): Remove.
11871 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11872 (log-edit-headers-alist): New var.
11873 (log-edit-header-contents-regexp): New const.
11874 (log-edit-match-to-eoh): New function.
11875 (log-edit-font-lock-keywords): Use them.
11876 (log-edit): Insert a "Summary:" header as default.
11877 (log-edit-mode): Mark font-lock rules as case-insensitive.
11878 (log-edit-done): Cleanup headers.
11879 (log-view-process-buffer): Remove.
11880 (log-edit-extract-headers): New function to replace it.
11882 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11884 * subr.el (default-direction-reversed): Remove obsolescence info.
11886 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11888 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11891 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11892 I.e. include text after point in the completion region.
11893 Also, return nil when we're not after/in a symbol.
11895 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11896 default enable-multibyte-characters.
11898 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11900 * international/mule.el: Help the user choose a valid coding-system.
11901 (read-buffer-file-coding-system): New function.
11902 (set-buffer-file-coding-system): Use it. Prompt the user if the
11903 coding-system cannot encode all the chars.
11905 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11906 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11907 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11908 Don't use *vc-bzr-shelve*.
11910 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11912 Fix the version number for added files.
11913 * vc-hg.el (vc-hg-working-revision): Check if the file is
11914 registered after hg parent fails (Bug#5961).
11916 2010-04-19 Glenn Morris <rgm@gnu.org>
11918 * htmlfontify.el (htmlfontify-buffer)
11919 (htmlfontify-copy-and-link-dir): Autoload entry points.
11921 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11923 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11924 name relative to the project root (Bug#5960).
11926 2010-04-19 Glenn Morris <rgm@gnu.org>
11928 * vc-git.el (vc-git-print-log): Doc fix.
11930 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11932 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11934 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11936 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11937 default settings (Bug#5928).
11939 2010-04-19 Glenn Morris <rgm@gnu.org>
11941 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11943 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11945 2010-04-19 Kenichi Handa <handa@m17n.org>
11947 * language/indian.el (malayalam-composable-pattern): Fix previous
11948 change (add U+0D4D "SIGN VIRAMA").
11949 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11950 (tamil-composable-pattern): Fix typo in the regexp.
11951 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11952 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11953 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11955 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11957 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11958 paragraph-separate (Bug#5821).
11960 2010-04-19 Juri Linkov <juri@jurta.org>
11962 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11964 * info.el (Info-find-node-2): Comment out code that skips
11966 (Info-mouse-follow-link): New command.
11967 (Info-link-keymap): New keymap.
11968 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11969 Return a string with links instead of inserting breadcrumbs
11970 to the Info buffer.
11971 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11972 Instead of putting the `invisible' text property over the Info
11973 header, make an overlay over the Info header with the `invisible'
11974 property and `after-string' set to the string returned by
11975 `Info-breadcrumbs'.
11977 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11979 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11980 Reported by monkey@sandpframing.com.
11982 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11984 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11985 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11986 available in the "keyseq cache" any more.
11988 * custom.el (defcustom): Add edebug spec.
11990 2010-04-18 Juri Linkov <juri@jurta.org>
11992 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11994 * view.el (view-file, view-buffer): Move test for special mode-class
11995 from view-file to view-buffer.
11997 * tar-mode.el (tar-extract): Turn if's into one cond
11998 like in arc-mode.el.
12000 2010-04-18 Juri Linkov <juri@jurta.org>
12002 Add 7z archive format support (bug#5475).
12004 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12005 (archive-7z-extract): New defcustom.
12006 (archive-find-type): Add magic string for 7z.
12007 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12008 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12009 `buffer' arg of `call-process'.
12010 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12011 call the function `archive-7z-extract' with the variable
12012 `archive-7z-extract' let-bound to `archive-zip-extract'.
12013 (archive-7z-summarize, archive-7z-extract): New functions.
12015 * international/mule.el (auto-coding-alist):
12016 * files.el (auto-mode-alist): Add 7z file extension.
12018 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12020 * loadup.el: Setup hash-cons for pure data.
12022 Fix duplicate entries in cedet's loaddefs.el files.
12023 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12024 Should make most file-local generated-autoload-file unnecessary.
12025 (print-readably): Silence warnings.
12026 (autoload-find-destination): Take load-name as an arg to make sure
12027 it's the same as the one that will be in the file.
12028 (autoload-generate-file-autoloads): Adjust to above changes.
12029 Try to make the dataflow a bit simpler.
12031 * cvs-status.el (cvs-refontify): Remove unused.
12033 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12035 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12037 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12038 twos-complement mode.
12040 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12042 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12043 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12044 (calc-inverse): Add "Option" to message, as appropriate.
12045 (calc-hyperbolic): Add "Option" to message, as appropriate.
12046 (calc-option, calc-is-option): New functions.
12048 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12049 (calc-option-prefix-help): New function.
12051 * calc/calc-misc.el (calc-help): Add "Option" entry.
12053 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12054 (calc-option-flag): New variable.
12055 (calc-do): Set `calc-option-flag to nil.
12056 (calc-set-mode-line): Add "Opt " as appropriate.
12058 2010-04-16 Juri Linkov <juri@jurta.org>
12060 Move scrolling commands from simple.el to window.el
12061 because their primitives are implemented in window.c.
12063 * simple.el (scroll-error-top-bottom)
12064 (scroll-up-command, scroll-down-command, scroll-up-line)
12065 (scroll-down-line, scroll-other-window-down)
12066 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12067 * window.el (scroll-error-top-bottom)
12068 (scroll-up-command, scroll-down-command, scroll-up-line)
12069 (scroll-down-line, scroll-other-window-down)
12070 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12071 Move from simple.el to window.el because their primitives are
12072 implemented in window.c.
12074 2010-04-16 Juri Linkov <juri@jurta.org>
12076 * isearch.el (isearch-lookup-scroll-key): Check both
12077 `isearch-scroll' and `scroll-command' properties.
12078 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12080 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12082 * simple.el (scroll-up-command, scroll-down-command)
12083 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12085 2010-04-15 Juri Linkov <juri@jurta.org>
12087 * simple.el (scroll-up-command, scroll-down-command)
12088 (scroll-up-line, scroll-down-line): Put `scroll-command'
12089 property on the these symbols. Remove them from
12090 `scroll-preserve-screen-position-commands'.
12092 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12093 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12094 Remove it from `scroll-preserve-screen-position-commands'.
12096 * isearch.el (isearch-allow-scroll): Doc fix.
12098 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12100 * net/tramp.el (tramp-error-with-buffer): Don't show the
12101 connection buffer when we are in completion mode.
12102 (tramp-file-name-handler): Catch the error for some operations
12103 when we are in completion mode. This gives the user the chance to
12104 correct the file name in the minibuffer.
12106 2010-04-15 Glenn Morris <rgm@gnu.org>
12108 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12110 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12112 Simplify by using `define-derived-mode'.
12113 * info.el (Info-mode):
12114 * calendar/todo-mode.el (todo-mode):
12115 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12116 (gomoku-mode-map): Move initialization into declaration.
12118 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12121 * ido.el (ido-file-name-all-completions-1):
12122 * minibuffer.el (minibuffer-completion-help):
12123 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12125 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * simple.el (non-essential): New var.
12129 Add a new field `location' to bookmarks for non-file bookmarks.
12130 * bookmark.el (bookmark-location): Use the new field, if present.
12131 (bookmark-insert-location): Undo last change, not needed any more.
12132 * man.el (Man-bookmark-make-record):
12133 * woman.el (woman-bookmark-make-record): Add `location' field.
12135 2010-04-14 Juri Linkov <juri@jurta.org>
12137 * simple.el (scroll-error-top-bottom): New defcustom.
12138 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12140 * emulation/pc-select.el (pc-select-override-scroll-error):
12141 Obsolete in favor of `scroll-error-top-bottom'.
12143 2010-04-14 Juri Linkov <juri@jurta.org>
12145 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12146 `scroll-up-command' and `M-v' to `scroll-down-command'.
12148 * emulation/cua-rect.el (cua--init-rectangles):
12149 * forms.el (forms--change-commands):
12150 * image-mode.el (image-mode-map):
12151 Remap scroll-down-command and scroll-up-command
12152 in addition to scroll-down and scroll-up.
12154 2010-04-14 Juri Linkov <juri@jurta.org>
12156 * mwheel.el (scroll-preserve-screen-position-commands):
12157 Add mwheel-scroll to this list of commands.
12159 * simple.el (scroll-preserve-screen-position-commands):
12160 Add scroll-up-command, scroll-down-command, scroll-up-line,
12161 scroll-down-line to this list of commands.
12163 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12165 * obsolete/complete.el: Move from lisp/complete.el.
12167 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12169 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12170 to the minor mode function now turns the mode ON unconditionally.
12172 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12174 * vc-dir.el (vc-dir-kill-line): New command.
12175 (vc-dir-mode-map): Bind it to C-k.
12177 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12179 * woman.el: Add bookmark declarations to silence the compiler.
12180 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12181 step to compatibility between man and woman bookmarks.
12182 Adjust for Man-default-bookmark-title renaming.
12183 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12185 * man.el: Add bookmark declarations to silence the compiler.
12186 (Man-name-local-regexp): Make it match NAME as well.
12187 (Man-getpage-in-background): Return the buffer.
12188 (Man-notify-when-ready): Use `case'.
12189 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12190 Don't hardcode "NAME". Simplify.
12191 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12192 Rename from Man-bookmark-make-record.
12193 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12194 we have the actual man-args. Use Man-getpage-in-background rather
12195 than `man' since the arg is already processed. Let bookmark.el do the
12196 window handling. Only wait for the relevant process.
12197 Don't forget to autoload.
12199 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12201 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12203 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12205 (woman-mode): Setup bookmark support.
12207 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12208 (man-bookmark-jump): New functions.
12209 (Man-mode): Setup bookmark support.
12211 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12213 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12214 recognize ssh-keygen prompt (Bug#2817).
12216 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12218 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12220 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12222 Synchronize with Tramp repository.
12224 * net/tramp.el (tramp-completion-function-alist)
12225 (tramp-file-name-regexp, tramp-chunksize)
12226 (tramp-local-coding-commands, tramp-remote-coding-commands):
12228 (tramp-remote-process-environment): Use `format' instead of `concat'.
12229 (tramp-handle-directory-files-and-attributes)
12230 (tramp-get-remote-path): Use `copy-tree'.
12231 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12232 compatibility: Use `completion-ignore-case' if
12233 `read-file-name-completion-ignore-case' does not exist.
12234 (tramp-do-copy-or-rename-file-directly): Do not use
12235 `tramp-handle-file-remote-p'.
12236 (tramp-do-copy-or-rename-file-out-of-band):
12237 Use `tramp-compat-delete-directory'.
12238 (tramp-do-copy-or-rename-file-out-of-band)
12239 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12240 Use `format-spec-make'.
12241 (tramp-find-foreign-file-name-handler)
12242 (tramp-advice-make-auto-save-file-name)
12243 (tramp-set-auto-save-file-modes): Remove superfluous check for
12244 `stringp'. This is done inside `tramp-tramp-file-p'.
12245 (tramp-debug-outline-regexp): New defconst.
12246 (tramp-get-debug-buffer): Use it.
12247 (tramp-check-for-regexp): Use (forward-line 1).
12248 (tramp-set-auto-save-file-modes): Adapt version check.
12250 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12251 Wrap call of `featurep' for 2nd argument.
12252 (tramp-compat-make-temp-file): Simplify fallback implementation.
12253 (tramp-compat-copy-tree): Remove function.
12254 (tramp-compat-delete-directory): Provide implementation for older
12257 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12258 Do not use `tramp-fish-handle-file-attributes.
12260 * net/trampver.el: Update release number.
12262 2010-04-10 Glenn Morris <rgm@gnu.org>
12264 * progmodes/compile.el (compilation-save-buffers-predicate):
12265 Add missing :version tag.
12267 2010-04-09 Sam Steingold <sds@gnu.org>
12269 * progmodes/compile.el (compilation-save-buffers-predicate):
12270 Remove the "autoload" cookie.
12272 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12273 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12274 and `bug-reference-prog-mode' can be used in hooks directly.
12276 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12278 Add --author support to git commit.
12279 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12280 (vc-git-log-edit-mode): New minor mode.
12281 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12284 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12286 * vc-hooks.el, vc-git.el: Improve documentation comments.
12288 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12290 Fix some of the problems in defsubst* (bug#5728).
12291 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12292 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12294 2010-04-07 Sam Steingold <sds@gnu.org>
12296 * progmodes/compile.el (compilation-save-buffers-predicate):
12297 New custom variable.
12298 (compile, recompile): Pass it to `save-some-buffers'.
12300 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12302 * wid-edit.el (widget-choose): Move cursor to the second line of
12303 the buffer (Bug#5695).
12305 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12307 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12308 * vc.el (vc-print-log-setup-buttons): New function split out from
12309 vc-print-log-internal.
12310 (vc-log-internal-common): New function, a parametrized version of
12311 vc-print-log-internal.
12312 (vc-print-log-internal): Just call vc-log-internal-common with the
12314 (vc-incoming-outgoing-internal):
12315 (vc-log-incoming, vc-log-outgoing): New functions.
12316 (vc-log-view-type): New permanent local variable.
12318 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12320 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12321 of the dynamic bound vc-short-log.
12322 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12324 * vc-git.el (vc-git-log-outgoing): New function.
12325 (vc-git-log-view-mode): Use vc-log-view-type instead
12326 of the dynamic bound vc-short-log.
12328 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12329 of the dynamic bound vc-short-log. Highlight the tag.
12330 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12331 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12332 (vc-hg-incoming-mode): Remove.
12333 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12335 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12337 Fix default-directory for vc-root-diff.
12338 * vc.el (vc-root-diff): Bind default-directory to the root
12339 directory for the diff command.
12341 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12343 * progmodes/verilog-mode.el (verilog-forward-sexp):
12344 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12345 word keywords, suggested by Steve Pearlmutter.
12346 (verilog-pretty-declarations): Support lineup of declarations in
12348 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12349 fix bug for /* / comments.
12350 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12351 Speed up and simplfy as this is never called with a bound.
12352 (verilog-pretty-declarations): Enhance to line up declarations
12353 inside a parameter list, suggested by Alan Morgan.
12354 (verilog-pretty-expr): Tune assignment regular expression match
12355 string for corner cases; also use markers instead of character
12356 number as indent changes the later.
12358 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12360 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12361 as missing keyword.
12362 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12363 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12364 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12365 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12367 (verilog-keywords):
12368 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12369 1800-2009 keywords, including "global.".
12371 2010-04-06 John Wiegley <jwiegley@gmail.com>
12373 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12374 appearing in buffer list (if a live buffer name matched a recentf
12375 file basename). Should use uniquify to offer a real solution.
12377 2010-04-06 John Wiegley <jwiegley@gmail.com>
12379 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12380 comment to code, and add a :version tag.
12381 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12383 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12385 Enable recentf-mode if using virtual buffers.
12386 * ido.el (recentf-list): Declare for byte-compiler.
12387 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12388 (ido-make-buffer-list): Simplify.
12389 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12391 2010-04-05 Juri Linkov <juri@jurta.org>
12393 Scrolling commands which scroll a line instead of full screen.
12394 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12396 * simple.el (scroll-up-line, scroll-down-line): New commands.
12397 Put property isearch-scroll=t on them.
12399 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12402 2010-04-05 Juri Linkov <juri@jurta.org>
12404 Scrolling commands which do not signal errors at top/bottom.
12405 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12407 * simple.el (scroll-up-command, scroll-down-command): New commands.
12408 Put property isearch-scroll=t on them.
12410 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12411 `scroll-down-command' and [next] from `scroll-up' to
12412 `scroll-up-command'.
12414 * emulation/cua-base.el: Put property CUA=move on
12415 `scroll-up-command' and `scroll-down-command'.
12416 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12417 and `scroll-down-command' to `cua-scroll-down'.
12419 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12421 * help.el (describe-mode): Return nil.
12423 2010-04-04 John Wiegley <jwiegley@gmail.com>
12425 * ido.el (ido-use-virtual-buffers): New variable to indicate
12426 whether "virtual buffer" support is enabled for IDO.
12427 (ido-virtual): Face used to indicate virtual buffers in the list.
12428 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12429 exists, but a virtual buffer of that name does (which would be why
12430 it was in the list), recreate the buffer by reopening the file.
12431 (ido-make-buffer-list): If virtual buffers are being used, call
12432 `ido-add-virtual-buffers-to-list' before the make list hook.
12433 (ido-virtual-buffers): New variable which contains a copy of the
12434 current contents of the `recentf-list', albeit pared down for the
12435 sake of speed, and with proper faces applied.
12436 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12437 create a list of "virtual buffers" to present to the user in
12438 addition to the currently open set. Note that this logic could
12439 get rather slow if that list is too large. With the default
12440 `recentf-max-saved-items' of 200, there is little speed penalty.
12442 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12444 * font-lock.el: Require CL when compiling.
12445 (font-lock-turn-on-thing-lock): Use `case'.
12447 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12449 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12452 2010-04-02 Juri Linkov <juri@jurta.org>
12454 * ehelp.el (electric-help-orig-major-mode):
12455 New buffer-local variable.
12456 (electric-help-mode): Set it to original major-mode. Doc fix.
12457 (with-electric-help): Use `electric-help-orig-major-mode' instead
12458 of (default-value 'major-mode). Doc fix.
12459 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12461 2010-04-02 Sam Steingold <sds@gnu.org>
12463 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12464 `vc-hg-command' with a list of flags.
12466 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12467 Also accept "patch" and "RFE".
12468 (bug-reference-fontify): `bug-reference-url-format' can also be a
12469 function to be able to handle the bug kind.
12470 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12472 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12474 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12475 value to fboundp, it may not be a symbol.
12477 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12479 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12481 2010-03-31 Juri Linkov <juri@jurta.org>
12483 * simple.el (next-line, previous-line): Re-throw a signal
12484 with `signal' instead of using `ding'.
12485 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12487 2010-03-31 Juri Linkov <juri@jurta.org>
12489 * simple.el (keyboard-escape-quit): Raise deselecting the active
12490 region higher than exiting the minibuffer.
12491 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12493 2010-03-31 Juri Linkov <juri@jurta.org>
12495 * image.el (image-animated-p): Use `image-metadata' instead of
12496 `image-extension-data'. Get GIF extenstion data from metadata
12497 property `extension-data'.
12499 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12501 * simple.el (append-to-buffer): Simplify.
12503 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12505 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12506 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12508 2010-03-31 Kenichi Handa <handa@m17n.org>
12510 * language/sinhala.el (composition-function-table): Fix regexp for
12511 the new Unicode specification.
12513 * language/indian.el (devanagari-composable-pattern)
12514 (tamil-composable-pattern, kannada-composable-pattern)
12515 (malayalam-composable-pattern): Adjust for the new Unicode
12517 (bengali-composable-pattern, gurmukhi-composable-pattern)
12518 (gujarati-composable-pattern, oriya-composable-pattern)
12519 (telugu-composable-pattern): New variables to cope with the new
12520 Unicode specification. Use them in composition-function-table.
12522 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12524 Make tmm-menubar work for the Buffers menu again (bug#5726).
12525 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12526 vectors rather than cons cells, as used in menu-bar-update-buffers.
12528 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12530 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12531 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12532 electric punctuation for "{}();,:" (Bug#5586).
12534 * mail/sendmail.el (mail-default-directory): Doc fix.
12536 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12538 * mail/sendmail.el (mail-default-directory): Doc fix.
12540 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12542 * subr.el (version-regexp-alist, version-to-list)
12543 (version-list-<, version-list-=, version-list-<=)
12544 (version-list-not-zero, version<, version<=, version=): Doc fix.
12547 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12549 * vc.el (vc-root-diff): Doc fix.
12551 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12553 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12555 * simple.el (append-to-buffer): Fix last change.
12557 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12559 * simple.el (append-to-buffer): Ensure that point is preserved if
12560 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12563 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12565 * files.el (auto-mode-case-fold): Change default to t.
12567 2010-03-30 Juri Linkov <juri@jurta.org>
12569 * dired-x.el (dired-omit-mode): Doc fix.
12571 2010-03-30 Juri Linkov <juri@jurta.org>
12573 * replace.el (occur-accumulate-lines): Move occur-engine related
12574 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12575 to be located after `occur-engine'.
12577 2010-03-30 Juri Linkov <juri@jurta.org>
12579 Make occur handle multi-line matches cleanly with context.
12580 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12582 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12583 (occur-engine): Add local variables `ret', `prev-after-lines',
12584 `prev-lines'. Use more arguments for `occur-context-lines'.
12585 Set first elem of its returned list to `data', and the second elem
12586 to `prev-after-lines'. Don't print the separator line.
12587 In the end, print remaining context after-lines.
12588 (occur-context-lines): Add new arguments `begpt', `endpt',
12589 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12590 after-lines of the previous match with before-lines of the
12591 current match and not overlap them. Return a list with two
12592 values: the output line and the list of context after-lines.
12594 2010-03-30 Juri Linkov <juri@jurta.org>
12596 * replace.el (occur-accumulate-lines): Fix a bug where the first
12597 context line at the beginning of the buffer was missing.
12599 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12601 * files.el: Make bidi-display-reordering safe variable for boolean
12604 2010-03-29 Phil Hagelberg <phil@evri.com>
12605 Chong Yidong <cyd@stupidchicken.com>
12607 * subr.el: Extend progress reporters to perform "spinning".
12608 (progress-reporter-update, progress-reporter-do-update):
12609 Handle non-numeric value arguments.
12610 (progress-reporter--pulse-characters): New var.
12612 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12614 * progmodes/compile.el (compilation-start): Fix regexp detection
12615 of initial cd command (Bug#5771).
12617 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12619 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12621 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12623 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12624 * progmodes/gdb-mi.el: Restore.
12625 * progmodes/gdb-ui.el: Remove.
12626 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12628 2010-03-25 Glenn Morris <rgm@gnu.org>
12630 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12631 all dired buffers, even tramp ones. (Bug#5755)
12633 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12635 Add "union tags" in mpc.el.
12636 * mpc.el: Remove backward compatibility code.
12637 (mpc-browser-tags): Change default.
12638 (mpc--find-memoize-union-tags): New var.
12639 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12640 (mpc-cmd-find): Handle the case where the playlist does not exist.
12642 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12643 (mpc-cmd-add): Use mpc-cmd-flush.
12644 (mpc-tagbrowser-tag-name): New fun.
12645 (mpc-tagbrowser-buf): Use it.
12646 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12648 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12651 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12652 Use replace-regexp-in-string.
12653 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12654 (makefile-imake-mode-syntax-table): Move init into defvar.
12655 (makefile-mode): Use define-derived-mode.
12657 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12658 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12659 not be present any more.
12661 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12663 * faces.el (set-face-attribute): Fix typo in docstring.
12664 (face-valid-attribute-values): Reflow docstring.
12666 2010-03-24 Glenn Morris <rgm@gnu.org>
12668 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12670 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12672 * indent.el (indent-for-tab-command): Doc fix.
12674 2010-03-24 Alan Mackenzie <acm@muc.de>
12676 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12677 Fix off-by-one error. Fixes bug #5747.
12679 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12681 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12682 (image-dired-read-comment): Doc fix.
12684 * json.el (json-object-type, json-array-type, json-key-type)
12685 (json-false, json-null, json-read-number):
12686 * minibuffer.el (completion-in-region-functions):
12687 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12688 (cal-tex-cursor-week):
12689 * emacs-lisp/trace.el (trace-function):
12690 * eshell/em-basic.el (eshell/printnl):
12691 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12692 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12693 * obsolete/levents.el (allocate-event, event-key, event-object)
12694 (event-point, event-process, event-timestamp, event-to-character)
12695 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12696 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12697 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12698 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12699 (reftex-highlight-selection): Fix typos in docstrings.
12701 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12703 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12705 2010-03-24 Glenn Morris <rgm@gnu.org>
12707 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12708 2008-02-13 without comment; mark it obsolete.
12709 (rmail-highlight-headers): Use rmail-highlight-face once more.
12711 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12713 * woman.el (woman2-process-escapes): Only consume the newline if
12714 the filler character is on a line by itself (Bug#5729).
12716 2010-03-24 Kenichi Handa <handa@m17n.org>
12718 * language/indian.el (devanagari-composable-pattern): Add more
12721 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12723 * net/trampver.el: Update release number.
12725 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12727 * net/tramp.el (tramp-find-executable):
12728 Use `tramp-get-connection-buffer'. Make the regexp for checking
12729 output of "wc -l" more robust.
12730 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12731 (tramp-open-connection-setup-interactive-shell): Remove workaround
12732 for OpenSolaris bug, it is not needed anymore.
12734 2010-03-24 Glenn Morris <rgm@gnu.org>
12736 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12738 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12740 * files.el (auto-mode-alist): Accept more verilog file patterns.
12742 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12744 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12746 2010-03-24 Glenn Morris <rgm@gnu.org>
12748 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12749 log-edit-before-checkin-process.
12751 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12753 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12755 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12756 (log-view-process-buffer, log-edit-extra-flags): Declare.
12758 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12760 2010-03-23 Sam Steingold <sds@gnu.org>
12762 Fix bug#5620: recalculate all markers on compilation buffer
12763 modifications, not on file modifications.
12764 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12765 variable: the buffer modification time, for buffers not associated with
12767 (compilation-mode): Create it.
12768 (compilation-filter): Update it.
12769 (compilation-next-error-function): Use it instead of
12770 `visited-file-modtime' for timestamp.
12772 2010-03-23 Juri Linkov <juri@jurta.org>
12774 Implement Occur multi-line matches.
12775 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12777 * replace.el (occur): Doc fix.
12778 (occur-engine): Set `begpt' to the beginning of the first line.
12779 Set `endpt' to the end of the last match line. At first, count
12780 line numbers between `origpt' and `begpt'. Split out code from
12781 `out-line' variable to new let-bindings `match-prefix' and
12782 `match-str'. In `out-line' add non-numeric prefix to all
12783 non-first lines of multi-line matches. Finally, count lines
12784 between `begpt' and `endpt' and add to `lines'.
12786 2010-03-23 Juri Linkov <juri@jurta.org>
12788 * replace.el (occur-accumulate-lines, occur-engine):
12789 Use `occur-engine-line' instead of duplicate code.
12790 (occur-engine-line): New function created from duplicate code
12791 in `occur-accumulate-lines' and `occur-engine'.
12793 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12794 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12796 2010-03-23 Juri Linkov <juri@jurta.org>
12798 * finder.el: Remove TODO tasks.
12800 * info.el (Info-finder-find-node): Add node "all"
12801 with all package info. Handle a list of multiple keywords
12802 separated by comma.
12803 (info-finder): In interactive use with a prefix argument,
12804 use `completing-read-multiple' to read a list of keywords
12805 separated by comma.
12807 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12809 Add a new completion style `substring'.
12810 * minibuffer.el (completion-basic--pattern): New function.
12811 (completion-basic-try-completion, completion-basic-all-completions):
12813 (completion-substring--all-completions)
12814 (completion-substring-try-completion)
12815 (completion-substring-all-completions): New functions.
12816 (completion-styles-alist): New style `substring'.
12818 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12820 Get rid of .elc files after removal of the corresponding .el.
12821 * Makefile.in (compile-clean): New target.
12822 (compile-main): Use it.
12824 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12826 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12827 don't do make there. When compiling with separate object dir, there
12828 is no Makefile there.
12830 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12832 Get rid of the ELCFILES abomination, again.
12833 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12834 (all, compile): Don't call compile-last.
12835 (compile-main): Build the "elcfiles" list dynamically.
12836 (compile-targets): New (internal) target.
12838 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12840 * Makefile.in (top_srcdir): Define.
12841 (abs_top_builddir): Define.
12842 (srcdir): Don't append `/..'.
12843 (EMACS): Use ${abs_top_builddir}.
12844 (all, compile, compile-always, compile-last): Don't set emacswd.
12845 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12847 (lisp): Use $(srcdir) instead of @srcdir@.
12849 2010-03-21 Juri Linkov <juri@jurta.org>
12851 Fix message of multi-line occur regexps and multi-buffer header lines.
12852 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12854 * replace.el (occur-1): Don't display regexp if it is longer
12855 than window-width. Use `query-replace-descr' to display regexp.
12856 (occur-engine): Don't display regexp in the buffer header for
12857 multi-buffer occur. Display a separate header line with total
12858 match count and regexp for multi-buffer occur.
12859 Use `query-replace-descr' to display regexp.
12861 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12863 * net/secrets.el: Fix parenthesis.
12864 (secrets-enabled): Fix parenthesis.
12866 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12868 Use more relative file and directory names.
12869 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12870 (setwins, setwins_almost, setwins_for_subdirs):
12871 Don't `cd'; output relative names.
12872 (all, compile, compile-always, compile-last): Set emacswd.
12873 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12874 Just cd to the lisp source dir so we can use relative file names.
12876 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12878 2010-03-20 Glenn Morris <rgm@gnu.org>
12880 * textmodes/rst.el: Use faces for font-lock customization, and make the
12881 old -face variables obsolete.
12882 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12883 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12884 (rst-block-face, rst-external-face, rst-definition-face)
12885 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12886 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12888 (rst-font-lock-keywords-function): Update for above changes.
12890 2010-03-20 Juri Linkov <juri@jurta.org>
12893 * obsolete/s-region.el: Move to obsolete.
12895 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12897 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12899 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12901 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12903 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12905 Add special markup processing for commit logs.
12906 * log-edit.el (log-edit-extra-flags): New variable.
12907 (log-edit): Add new argument MODE. Use that mode when non-nil
12908 instead of the log-view-mode.
12909 (log-view-process-buffer): New function.
12911 * vc.el: Document that the checkin method takes optional
12912 arguments. Document new backend specific method: log-view-mode.
12913 (vc-default-log-edit-mode): New function.
12914 (vc-checkin): Use a backend specific log-view-mode.
12915 Pass extra arguments to the checkin method.
12916 (vc-modify-change-comment): Pass a dummy extra argument.
12918 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12920 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12921 (vc-finish-logentry): Process the log buffer before passing it
12922 down. Pass log-edit-extra-flags.
12924 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12926 (log-edit-extra-flags, log-edit-before-checkin-process):
12929 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12931 (log-edit-extra-flags, log-edit-before-checkin-process):
12933 (vc-hg-log-edit-mode): New derived mode.
12935 * vc-arch.el (vc-arch-checkin):
12936 * vc-cvs.el (vc-cvs-checkin):
12937 * vc-git.el (vc-git-checkin):
12938 * vc-mtn.el (vc-mtn-checkin):
12939 * vc-rcs.el (vc-rcs-checkin):
12940 * vc-sccs.el (vc-sccs-checkin):
12941 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12943 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12945 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12948 2010-03-19 Glenn Morris <rgm@gnu.org>
12950 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12952 2010-03-18 Glenn Morris <rgm@gnu.org>
12954 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12956 * replace.el (query-replace-history): Give it a doc string.
12957 (map-query-replace-regexp): Use query-replace-from-history-variable
12958 and query-replace-to-history-variable.
12960 * mail/hashcash.el (declare-function): Remove duplicate definition.
12962 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12963 Make it an obsolete alias for report-emacs-bug-address.
12964 (message-strip-special-text-properties): Declare.
12965 (report-emacs-bug): Remove test for a pretest bug address.
12966 Combine message-mode-specific code.
12968 * mail/supercite.el: Don't require sendmail.
12969 (mh-in-header-p): Declare rather than using with-no-warnings.
12970 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12971 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12973 * calendar/cal-french.el: Convert to utf-8.
12975 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12978 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12980 * net/secrets.el (secrets-enabled): New variable. Use it instead
12983 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12985 * net/secrets.el (top): Register the D-Bus signals only when the
12986 service "org.freedesktop.secrets" can be pinged.
12987 Provide subfeature `enabled'.
12989 2010-03-14 Juri Linkov <juri@jurta.org>
12991 Add finder unknown keywords.
12993 * finder.el (finder-unknown-keywords): New function.
12995 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12996 to create a Finder node with unknown keywords.
12998 2010-03-14 Juri Linkov <juri@jurta.org>
13000 * finder.el (finder-compile-keywords): Replace `princ' with
13001 `prin1' on a list of symbols interned from keyword strings.
13003 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13004 a comma, then split keywords using a comma and optional whitespace.
13005 Otherwise, split by whitespace.
13013 * progmodes/mixal-mode.el: Fix keywords.
13015 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13017 * Makefile.in (ELCFILES): Add net/secrets.elc.
13019 * net/secrets.el: New file.
13021 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13023 * facemenu.el (list-colors-display, list-colors-print): New arg
13024 callback. Use it to allow selecting colors.
13026 * wid-edit.el (widget-image-insert): Insert image prop even if the
13027 current display is non-graphic.
13028 (widget-field-value-set): New fun.
13029 (editable-field): Use it.
13030 (widget-field-value-get): Clean up unused var.
13031 (widget-color-value-create, widget-color--choose-action):
13032 New funs. Allow using list-colors-display to choose color.
13034 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13036 * cus-edit.el: Resort topmost custom groups.
13037 (custom-buffer-sort-alphabetically): Default to t.
13038 (customize-apropos): Use apropos-parse-pattern.
13039 (custom-search-field): New var.
13040 (custom-buffer-create-internal): Add custom-apropos search field.
13041 (custom-add-parent-links): Don't display parent doc.
13042 (custom-group-value-create): Don't sort top-level custom group.
13043 (custom-magic-value-create): Show visibility button before option name.
13045 (custom-variable-state): New fun, from custom-variable-state-set.
13046 (custom-variable-state-set): Use it.
13047 (custom-group-value-create): Hide options with standard values
13048 using the :hidden-states property. Use progress reporter.
13050 (custom-show): Simplify.
13051 (custom-visibility): Disable images by default.
13052 (custom-variable): New property :hidden-states.
13053 (custom-variable-value-create): Enable images for
13054 custom-visibility widgets. Use :hidden-states property to
13055 determine initial visibility.
13057 * wid-edit.el (widget-image-find): Give images center ascent.
13058 (visibility): Add :on-image and :off-image properties.
13059 (widget-visibility-value-create): Use them.
13061 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13063 * cus-edit.el (processes): Remove from development group.
13064 (oop, hypermedia): Delete group.
13065 (comm): Promote to top-level group.
13067 * net/browse-url.el (browse-url):
13068 * net/xesam.el (xesam):
13069 * net/tramp.el (tramp):
13070 * net/goto-addr.el (goto-address):
13071 * net/ange-ftp.el (ange-ftp): Put in comm group.
13073 * view.el (view): Remove from editing group.
13075 * uniquify.el (uniquify): Put in files group.
13077 * net/browse-url.el (browse-url):
13078 * ps-print.el (postscript): Put in external group.
13080 * cus-edit.el (outlines):
13081 * textmodes/text-mode.el (text-mode-hook):
13082 * textmodes/table.el (table):
13083 * textmodes/picture.el (picture):
13084 * outline.el (outlines): Put in wp group.
13086 * nxml/nxml-mode.el (nxml): Remove from wp group.
13088 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13090 * mail/metamail.el (metamail): Remove from hypermedia group.
13092 * cus-edit.el (abbrev):
13093 * whitespace.el (whitespace):
13094 * vcursor.el (vcursor):
13095 * reveal.el (reveal):
13096 * hl-line.el (hl-line): Put in convenience group.
13098 * epg-config.el (epg): Put in data group.
13100 * emulation/pc-select.el (pc-select): Put in emulations group.
13102 * calculator.el (calculator): Put in applications group.
13104 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13106 Add .dir-locals.el support for file-less buffers.
13107 * files.el (hack-local-variables): Split out code to apply local
13108 variable settings ...
13109 (hack-local-variables-apply): ... here. New function.
13110 (hack-dir-local-variables): Use the default directory for when the
13111 buffer does not have an associated file.
13112 (hack-dir-local-variables-non-file-buffer): New function.
13113 * diff-mode.el (diff-mode):
13114 * vc-annotate.el (vc-annotate-mode):
13115 * vc-dir.el (vc-dir-mode):
13116 * log-edit.el (log-edit-mode):
13117 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13119 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13121 Add support for shelving snapshots and for showing shelves.
13122 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13123 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13125 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13126 (vc-bzr-extra-menu-map): Map them.
13128 2010-03-11 Glenn Morris <rgm@gnu.org>
13130 * cus-edit.el (customize-changed-options-previous-release):
13133 * image.el (image-animate-max-time): Fix :version tag.
13135 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13139 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13141 * vc-git.el (vc-git-revision-table): Include remote branches.
13143 2010-03-10 Kim F. Storm <storm@cua.dk>
13145 Animated image API.
13146 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13148 * image.el (image-animate-max-time): New defcustom.
13149 (image-animated-types): New defconst.
13150 (create-animated-image, image-animate-timer)
13151 (image-animate-start, image-animate-stop, image-animate-timeout)
13152 (image-animated-p): New functions.
13154 * image-mode.el (image-toggle-display-image):
13155 Replace `create-image' with `create-animated-image'.
13157 2010-03-09 Miles Bader <miles@gnu.org>
13159 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13160 instead of "format:"; this ensures that the output is
13161 newline-terminated.
13163 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13165 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13166 that all errors are caught, and that the return value is always a
13169 2010-03-08 Kenichi Handa <handa@m17n.org>
13171 * language/misc-lang.el (windows-1256): New coding system.
13172 (cp1256): New alias of windows-1256 (bug#5690).
13174 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13176 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13177 call to rfc822-bad-address. (Bug#5692)
13179 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13181 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13182 Use vc-git-root as default directory for revision path (Bug#5657).
13184 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13186 * calculator.el (calculator): Don't bind split-window-keep-point
13189 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * vc-git.el: Re-flow to fit into 80 columns.
13192 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13193 Remove spurious `quote' element in each case alternative.
13194 (vc-git-show-log-entry): Use prog1.
13195 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13197 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13201 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13203 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13204 definition, not the name (Bug#5481).
13206 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13208 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13209 argument with a local variable. (Bug#5670)
13211 2010-03-02 Juri Linkov <juri@jurta.org>
13213 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13215 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13217 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13218 error when FILENAME and NEWNAME are existing remote directories.
13220 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13221 parameter DIR-FLAG.
13223 2010-03-02 Glenn Morris <rgm@gnu.org>
13225 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13226 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13228 2010-03-01 Kenichi Handa <handa@m17n.org>
13230 * language/burmese.el (burmese-composable-pattern): Rename from
13231 myanmar-composable-pattern.
13233 * international/characters.el (script-list):
13234 * international/fontset.el (script-representative-chars):
13235 Change myanmar to burmese.
13236 (otf-script-alist): Likewise.
13237 (setup-default-fontset): Likewise. Re-fix :otf spec.
13239 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13241 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13243 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13245 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13247 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13249 * net/tramp.el (tramp-handle-write-region): START can be a string.
13250 Take care in the checks. Reported by Dan Davison
13251 <davison@stats.ox.ac.uk>.
13253 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13255 * net/dbus.el (dbus-introspect, dbus-get-property)
13256 (dbus-set-property, dbus-get-all-properties):
13257 Use `dbus-call-method' when noninteractive. (Bug#5645)
13259 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13261 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13262 * emacs-lisp/elint.el (elint-add-required-env):
13263 * calendar/icalendar.el (icalendar--add-diary-entry):
13264 * calc/calcalg2.el (math-tracing-integral):
13265 * files.el (recover-session-finish): Use with-current-buffer
13266 instead of save-excursion.
13268 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13270 Fix in-buffer completion when after-change-functions modify the buffer.
13271 * minibuffer.el (completion--replace): New function.
13272 (completion--do-completion): Use it and use relative movement.
13274 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13276 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13278 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13280 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13281 Allow the characters _<> in the stack entry (Bug#5653).
13283 2010-02-26 Kenichi Handa <handa@m17n.org>
13285 * language/burmese.el: Fix entries in composition-function-table.
13286 (myanmar-composable-pattern): New variable.
13288 * international/fontset.el (setup-default-fontset): Add an entry
13291 * international/characters.el (script-list): Add Myanmar
13294 2010-02-26 Glenn Morris <rgm@gnu.org>
13296 * custom.el (custom-initialize-delay): Doc fix.
13298 * mail/sendmail.el (send-mail-function): Autoload the call
13299 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13301 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13303 * files.el (hack-local-variables-filter): For eval forms, also
13304 check safe-local-variable-p (Bug#5636).
13306 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13308 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13309 setting the modes by `ignore-errors'. It might fail, for example
13310 if the file is not owned by the user but the group.
13311 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13313 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13315 * files.el (directory-listing-before-filename-regexp):
13316 Use stricter matching for iso-style dates, to avoid false matches with
13317 date-like filenames (Bug#5597).
13319 * htmlfontify.el (htmlfontify): Doc fix.
13321 * eshell/eshell.el (eshell): Doc fix.
13323 * startup.el (fancy-about-screen): In mode-line, apply
13324 mode-line-buffer-id face only to the buffer name (Bug#5613).
13326 2010-02-20 Kevin Ryde <user42@zip.com.au>
13328 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13329 In `watcom' anchor regexp to start of line, to avoid slowness
13332 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13334 * subr.el (remove-yank-excluded-properties): Explain in a comment
13335 why `category' property is removed.
13337 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13339 * isearch.el (isearch-update-post-hook, isearch-update):
13340 Revert 2010-02-17 change.
13342 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13344 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13345 (icalendar--convert-weekly-to-ical)
13346 (icalendar--convert-yearly-to-ical)
13347 (icalendar--convert-block-to-ical)
13348 (icalendar--convert-cyclic-to-ical)
13349 (icalendar--convert-anniversary-to-ical): Take care of time
13350 specifications where hour has 1-digit only (Bug#5549).
13352 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13354 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13355 of disassemble output in GDB 7.1.
13357 2010-02-19 Glenn Morris <rgm@gnu.org>
13359 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13360 property. (Bug#5593)
13362 2010-02-18 Sam Steingold <sds@gnu.org>
13364 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13366 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13368 Use abbreviated file names in bookmarks (bug#5591).
13369 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13370 calls to expand-file-name.
13371 (bookmark-relocate): Use abbreviated file names in bookmarks.
13372 (bookmark-load): Use abbreviated file names in messages.
13374 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13376 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13377 expand "." and "..". Reported by Thierry Volpiatto
13378 <thierry.volpiatto@gmail.com>.
13380 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13382 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13383 permissions of the temporary file to "0600". In case the remote
13384 file has no read permissions for the owner, there might be
13385 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13387 22010-02-18 Glenn Morris <rgm@gnu.org>
13389 * emacs-lisp/authors.el (authors-renamed-files-alist):
13390 Add entries for INSTALL.CVS.
13392 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13394 * vc-bzr.el: Fix typo in Known Bugs section.
13396 * isearch.el (isearch-update-post-hook): New hook.
13397 (isearch-update): Use the new hook.
13399 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13401 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13402 Fix errors in copying directories.
13403 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13404 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13405 (tramp-handle-delete-file)
13406 (tramp-handle-dired-recursive-delete-directory)
13407 (tramp-handle-write-region): Flush also the cache for the upper
13410 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13412 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13414 * cus-edit.el (hardware): Doc fix.
13416 * man.el (man): Add to external custom group.
13418 * delim-col.el (columns): Move to wp custom group.
13420 * doc-view.el (doc-view): Add to data custom group.
13422 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13424 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13425 by ispell-parse-output (Bug#5575).
13427 2010-02-16 Kenichi Handa <handa@m17n.org>
13429 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13430 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13431 (skkdic-convert): Use `euc-japan' coding system for writing.
13433 2010-02-16 Glenn Morris <rgm@gnu.org>
13435 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13436 tex-main-file before using it. (Bug#5562)
13438 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13440 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13441 warnings, since it is annoying for the user to see them each time he
13444 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13446 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13447 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13448 instead of PROC for caching "first-password-request". Otherwise,
13449 new processes would not profit from passwords already entered.
13451 * net/tramp-cache.el (tramp-dump-connection-properties):
13452 Don't save "first-password-request" property.
13454 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13456 * outline.el (outline-head-from-level):
13457 * simple.el (with-wrapper-hook):
13458 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13459 (elint-defun, elint-buffer-env, elint-top-form-logged)
13460 (elint-unbound-variable):
13461 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13462 Fix typos in docstrings.
13464 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13466 * files.el (insert-directory): When WILDCARD-REGEXP and
13467 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13468 whole directory. (Bug#5551)
13470 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13471 dired's alignment sanity. (Bug#5516)
13473 2010-02-14 Juri Linkov <juri@jurta.org>
13475 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13476 Remove remaining ^H with their preceding chars. (Bug#5566)
13478 2010-02-13 Glenn Morris <rgm@gnu.org>
13480 * simple.el (transpose-subr): Give it a doc-string.
13482 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13485 2010-02-12 Juri Linkov <juri@jurta.org>
13487 * arc-mode.el (archive-unique-fname): Make directories for nested
13488 archives. (Bug#5540)
13490 2010-02-12 Juri Linkov <juri@jurta.org>
13492 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13494 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * subr.el (copy-overlay): Handle deleted overlays.
13498 * man.el (Man-completion-table): Don't signal an error if we can't run
13499 manual-program (bug#4056).
13501 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13503 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13505 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13507 * info.el (Info-bookmark-jump): Simplify.
13509 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13510 (bookmark-default-handler): Accept new bookmark field `buffer'.
13512 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13514 * iswitchb.el (iswitchb-completions): Revert last change.
13516 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13518 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13519 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13520 This prevents file names like "~/" being listed literally.
13522 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13524 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13525 Remove dead code. (Bug#5546)
13527 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13529 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13530 correctly (Bug#5548).
13532 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13534 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13535 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13537 2010-02-08 Kenichi Handa <handa@m17n.org>
13539 * international/mule-util.el (with-coding-priority): Add autoload
13540 cookie for putting `lisp-indent-function'.
13542 2010-02-07 Glenn Morris <rgm@gnu.org>
13544 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13545 Move F2003 named interfaces from keywords-2 to keywords-1, and
13546 use function-name-face rather than constant-face.
13547 Simplify "abstract interface" regexp.
13549 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13551 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13552 ID-FORMAT. Pass it to `file-attributes'.
13554 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13556 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13558 * faces.el (set-face-attribute): Allow calling
13559 internal-set-lisp-face-attribute with 'unspecified family and
13560 foundry argument (Bug#5536).
13562 2010-02-07 Glenn Morris <rgm@gnu.org>
13564 * progmodes/f90.el (f90-font-lock-keywords-2)
13565 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13566 Handle F2003 named interfaces.
13568 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13570 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13571 beg and end before calling c-get-state-before-change-functions.
13573 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13575 * vc-bzr.el (vc-bzr-dir-extra-headers):
13576 Disable the pending merges header.
13578 2010-02-05 Juri Linkov <juri@jurta.org>
13580 * doc-view.el (doc-view-mode):
13581 * image-mode.el (image-mode): Put property mode-class=special.
13584 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13586 * vc-svn.el (vc-svn-revision-table): New function.
13588 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13590 * net/ange-ftp.el (ange-ftp-insert-directory):
13591 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13592 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13593 Handle also directories. (Bug#5478)
13595 2010-02-05 Glenn Morris <rgm@gnu.org>
13597 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13599 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13601 * startup.el (command-line-1): Convert options beginning with a
13602 single dash as well (Bug#5519).
13604 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13606 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13607 * minibuffer.el (completion-initials-expand): Only check the presence
13608 of delims *within* the boundaries, since otherwise the / delim is
13609 always found for files.
13611 Fix up various corner case problems.
13612 * doc-view.el (doc-view-last-page-number): New function.
13613 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13614 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13615 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13616 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13617 (doc-view-convert-current-doc): Don't create the resolution.el file
13619 (doc-view-pdf/ps->png): Do it here instead.
13620 (doc-view-already-converted-p): Check that resolution.el is present.
13621 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13622 windows that are not yet showing images.
13624 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13626 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13627 `dired-uncache' for every elemnt which is an absolute file name.
13629 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13630 directory, handle its directory component.
13631 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13632 function is called permanently and creates noise, otherwise.
13634 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13635 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13636 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13638 2010-02-04 David Burger <dburger@google.com> (tiny change)
13640 * macros.el (apply-macro-to-region-lines):
13641 Minor simplification. (Bug#5485)
13643 2010-02-04 Glenn Morris <rgm@gnu.org>
13645 * mail/rmail.el (rmail-show-message-1): Handle malformed
13646 quoted-printable text. (Bug#5441)
13648 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13650 * simple.el (visual-line-mode): Capitalize lighter.
13652 2010-02-03 John Wiegley <jwiegley@gmail.com>
13654 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13655 list of files considered for "virtual buffer" completions.
13657 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13659 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13660 also in case of (and (not full) (not wildcard)). This is needed
13661 when dired is called with a list of files, which are not in
13662 `default-directory'. (Bug#5478)
13664 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13666 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13668 2010-02-02 Juri Linkov <juri@jurta.org>
13670 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13671 from unidiff to allow function-line after @@.
13673 2010-02-02 Juri Linkov <juri@jurta.org>
13675 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13676 '(RCS SCCS) with inverted condition.
13678 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13680 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13683 2010-02-01 Juri Linkov <juri@jurta.org>
13685 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13686 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13687 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13688 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13690 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13692 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13693 (doc-view-revert-buffer): New command.
13694 (doc-view-mode-map): Use it.
13696 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13698 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13699 pending merge is detected.
13701 2010-01-31 Juri Linkov <juri@jurta.org>
13703 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13704 beginning of interactive spec like all other grep commands do.
13705 Put "all" in front of "gz". (Bug#5260)
13707 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13709 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13711 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13713 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13714 regexp is incorrect (Bug#5476).
13716 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13718 * net/tramp.el (tramp-handle-insert-directory): Handle also
13719 symlinks, when FILENAME is not in `default-directory'.
13721 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13723 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13724 FILE is not in `default-directory'. (Bug#5478)
13726 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13727 of SWITCHES. Handle the case, FILENAME is not in
13728 `default-directory'. (Bug#5478)
13729 (tramp-register-file-name-handlers): Add safe-magic property.
13731 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13733 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13736 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13738 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13739 (flymake-master-make-header-init): Add other C++ filename masks.
13740 (flymake-find-possible-master-files)
13741 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13743 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13745 Fix some busybox annoyances.
13747 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13748 not responding." string.
13749 (tramp-open-connection-setup-interactive-shell): Dump stty
13750 settings. Enable "neveropen" arg for all `tramp-send-command'
13751 calls. Handle "=" in variable values properly.
13752 (tramp-find-inline-encoding): Raise an error, when no encoding is
13754 (tramp-wait-for-output): Check, whether PROC buffer is available.
13755 Remove spurious " ^H" sequences, sent by busybox.
13756 (tramp-get-ls-command): Suppress coloring, if possible.
13758 2010-01-28 Glenn Morris <rgm@gnu.org>
13760 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13762 * log-edit.el (log-edit-strip-single-file-name): Add missing
13763 :safe, :group, and :version tags.
13765 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13767 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13768 buffers. (Bug#5477)
13770 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13772 * files.el (delete-directory): Handle moving to trash without
13773 first doing recursion (Bug#5436).
13775 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13777 * vc-hooks.el (vc-path): Mark as obsolete.
13779 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13781 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13784 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13786 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13788 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13790 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13792 * vc-bzr.el (vc-bzr-revision-table): New function.
13794 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13796 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13797 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13799 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13801 Remove support for adding --signoff on commit.
13802 Future support will use an incompatible generic mechanism.
13803 * vc-git.el (vc-git-add-signoff): Remove variable.
13804 (vc-git-toggle-signoff): Remove function.
13805 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13807 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13808 Rename from xterm-set-background-mode. Return t if the background mode
13810 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13811 earlier, call it again in case the background mode has changed.
13813 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13815 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13818 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13820 * emacs-lisp/assoc.el (aelement): Doc fix.
13821 (aput, adelete, amake): Use lexical-let (Bug#5450).
13823 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13825 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13826 is the same as subprogram call, not declaration. (Bug#5435).
13828 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13830 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13831 (tramp-smb-maybe-open-connection): Use it.
13833 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13835 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13837 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13839 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13840 just because we see "encoding: 8bit".
13841 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13843 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13845 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13847 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13849 * jka-compr.el (jka-compr-load): If load-file is not in
13850 load-history, try its file-truename version. (bug#5447)
13852 2010-01-21 Alan Mackenzie <acm@muc.de>
13854 Fix a situation where deletion of a cpp construct throws an error.
13855 * progmodes/cc-engine.el (c-invalidate-state-cache):
13856 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13857 special cpp construct is still in the buffer.
13858 (c-parse-state): Record the special cpp with markers, not numbers.
13860 2010-01-21 Kenichi Handa <handa@m17n.org>
13862 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13863 process last-command-event, as it is now decoded first (Bug#5380).
13865 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13867 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13869 2010-01-20 Glenn Morris <rgm@gnu.org>
13871 * indent.el (tab-always-indent): Fix custom-type.
13873 2010-01-19 Alan Mackenzie <acm@muc.de>
13875 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13876 buffer throws "args out of range".
13877 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13878 playing the role of delimiter.
13880 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13882 * progmodes/ada-mode.el: Fix bug#5400.
13883 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13884 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13885 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13886 Improve comments in "is" portion. Handle null procedure declaration.
13887 (ada-move-to-end): Improve doc string.
13889 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13891 * ido.el (ido-cur-list): Initialize to nil.
13892 Remove obsolete information from commentary.
13893 (ido-choice-list): Initialize to nil.
13894 (ido-get-bufname): Reject minibuffers.
13895 (ido-make-buffer-list): If "default" is a nonexistent
13896 buffer, ignore it, as per the function's comment.
13897 (ido-kill-buffer-internal): New function.
13898 (ido-kill-buffer-at-head): Use it.
13899 (ido-visit-buffer): Likewise.
13901 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13903 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13905 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13907 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13908 Fix typos in chart titles.
13910 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13911 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13912 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13913 (describe-class, eieio-describe-generic, describe-generic):
13914 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13915 (eieio-speedbar-expand):
13916 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13917 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13918 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13919 (viper-del-backward-char-in-replace, viper-backward-indent)
13920 (viper-brac-function, viper-register-to-point, viper-submit-report):
13921 * net/tramp.el (tramp-remote-coding-commands):
13922 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13923 Fix typos in docstrings.
13925 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13927 * mail/sendmail.el (mail-yank-original): Set the mark if the
13928 specified function for yanking does not do it.
13930 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13932 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13934 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13935 resyncing a directory.
13937 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13939 * progmodes/ada-mode.el: Fix bug#1920.
13940 (ada-ident-re): Delete ., allow multibyte characters.
13941 (ada-goto-label-re): New; matches goto labels.
13942 (ada-block-label-re): New; matches block labels.
13943 (ada-label-re): New; matches both.
13944 (ada-named-block-re): Delete; callers changed to use
13945 `ada-block-label-re' instead.
13946 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13947 Use `ada-block-label-re'.
13948 (ada-indent-on-previous-lines): Improve handling of goto labels.
13949 (ada-get-indent-block-start): Special-case block label.
13950 (ada-get-indent-label): Split into `ada-indent-block-label' and
13951 `ada-indent-goto-label'.
13952 (ada-goto-stmt-start, ada-goto-next-non-ws):
13953 Optionally ignore goto labels.
13954 (ada-goto-next-word): Simplify.
13955 (ada-indent-newline-indent-conditional): Insert newline before
13956 trying to fix indentation; doc fix.
13958 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13960 * calc/calc.el (calc-command-flags): Give it an initial value.
13962 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13964 * files.el (minibuffer-with-setup-hook):
13965 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13966 (artist-key-draw-continously, artist-key-do-continously-continously)
13967 (artist-key-set-point-continously, artist-mouse-draw-continously):
13968 Fix typos in docstrings.
13970 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13972 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13973 Never return t (Bug#3898).
13975 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13977 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13978 can parse the output of the external commands (Bug#5279).
13980 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13982 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13984 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13986 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13988 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13990 * startup.el (command-line): Remove unused --icon-type arg.
13991 Handle --display arg, passing it to command-line-1 (Bug#5392).
13993 2010-01-16 Mario Lang <mlang@delysid.org>
13995 * emacs-lisp/chart.el (chart-translate-namezone):
13996 * textmodes/artist.el (artist-compute-popup-menu-table):
13997 Remove duplicated words in doc-strings.
13999 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14001 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14002 to mairix-search to suppress threading (Bug#5342).
14004 2010-01-15 Kenichi Handa <handa@m17n.org>
14006 * international/mule-cmds.el (canonicalize-coding-system-name):
14007 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14009 2010-01-15 Glenn Morris <rgm@gnu.org>
14011 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14013 * wid-edit.el (widget-keymap): Doc fix.
14015 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14016 former seems to be more widely accepted by various svn versions.
14018 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14020 * find-cmd.el (find-constituents):
14021 * vc-arch.el (vc-arch-root):
14022 * window.el (window-body-height, pop-up-frames):
14023 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14024 * progmodes/ada-stmt.el (ada-if):
14025 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14026 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14027 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14028 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14030 * progmodes/flymake.el (flymake-post-syntax-check):
14031 Fix typo in error message.
14033 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14035 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14036 which is always a string. (Bug#5313)
14038 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14040 * progmodes/ada-xref.el (ada-default-prj-properties):
14041 Simplify previous change.
14043 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14045 * progmodes/ada-xref.el (ada-default-prj-properties):
14046 Default ada_project_path to $ADA_PROJECT_PATH.
14048 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14050 * progmodes/ada-mode.el (ada-create-keymap):
14051 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14053 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14055 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14056 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14057 (ada-get-current-indent, ada-imenu-generic-expression)
14058 (ada-which-function): Check for it.
14060 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14062 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14063 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14065 2010-01-14 Glenn Morris <rgm@gnu.org>
14067 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14069 2010-01-14 Kenichi Handa <handa@m17n.org>
14071 * composite.el (auto-composition-mode): Make it a buffer local
14072 variable (permanent-local).
14073 (auto-composition-function): Set the default value to
14074 auto-compose-chars.
14075 (auto-composition-mode): Make it a simple function, not a minor mode.
14076 (global-auto-composition-mode): Likewise.
14077 (turn-on-auto-composition-if-enabled): Delete it.
14079 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14081 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14083 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14085 * files.el (copy-directory): Compute target for recursive
14086 directories with identical names. (Bug#5343)
14088 2010-01-12 Glenn Morris <rgm@gnu.org>
14090 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14091 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14093 2010-01-11 Sam Steingold <sds@gnu.org>
14095 * imenu.el (imenu-default-create-index-function): Detect infinite
14096 loops caused by imenu-prev-index-position-function.
14098 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14100 * htmlfontify.el (htmlfontify-load-rgb-file)
14101 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14102 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14103 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14104 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14105 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14106 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14107 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14108 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14109 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14110 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14111 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14112 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14113 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14114 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14115 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14116 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14117 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14118 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14119 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14120 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14121 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14122 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14123 backslash-quoting from parentheses, etc.
14125 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14127 * progmodes/js.el: Autoload javascript-mode alias.
14129 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14131 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14132 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14133 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14134 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14135 Fix typos in docstrings.
14136 (ffap-url-regexp): Doc fix.
14137 (ffap-at-mouse): Fix typo in message.
14139 2010-01-11 Glenn Morris <rgm@gnu.org>
14141 * version.el (emacs-copyright): Set copyright year to 2010.
14143 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14145 * format.el (format-annotate-function): Only set
14146 write-region-post-annotation-function after running to-fn so as not to
14147 affect nested write-region calls (bug#5273).
14149 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14151 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14154 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14156 * man.el (Man-goto-section): Signal error if the section is not
14159 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14161 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14162 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14164 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14166 * progmodes/compile.el: Don't treat compile-command as safe if
14167 compilation-read-command might be nil (Bug#4218).
14169 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14171 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14174 2010-01-08 Kenichi Handa <handa@m17n.org>
14176 * international/fontset.el (build-default-fontset-data):
14177 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14179 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14181 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14182 to `create-file-buffer' as it expects, not just a buffer name.
14183 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14184 to help uniquify. (Bug#3224)
14186 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14188 * font-setting.el (font-setting-change-default-font): Use user-spec
14191 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14193 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14195 2010-01-05 Tom Tromey <tromey@redhat.com>
14197 * progmodes/python.el (python-font-lock-keywords):
14198 Handle qualified decorators (Bug#881).
14200 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14202 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14203 in a lightweight checkout.
14205 2010-01-05 Kenichi Handa <handa@m17n.org>
14207 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14209 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14211 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14213 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14215 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14216 checkouts. (Bug#618)
14217 (vc-bzr-log-view-mode): Also highlight the author.
14218 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14219 (vc-bzr-shelve-menu-map):
14220 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14221 (vc-bzr-shelve-apply): Make prompt more explicit.
14223 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14225 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14226 They are valid characters in URL paths (rfc3986), and at least
14227 Firefox does not understand the encoded version (Bug#3166).
14229 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14231 * progmodes/octave-mod.el (octave-end-keywords)
14232 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14233 Add "end" keyword (Bug#3061).
14234 (octave-end-as-array-index-p): New function.
14235 (calculate-octave-indent): Use it.
14237 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14239 * bookmark.el: Consistently put the text property on the bookmark name.
14240 (bookmark-bmenu-marks-width): Bump back to 2, to include
14242 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14243 property on the bookmark name, instead of not putting it at all.
14244 (bookmark-bmenu-list): Fix where we put the text property.
14246 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14248 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14249 for showing buffer modified state (as added in the previous change).
14251 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14253 * bookmark.el: Show modified state of bookmark buffer more accurately.
14254 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14255 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14256 (with-buffer-modified-unmodified): New macro.
14257 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14258 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14259 Use new macro to preserve the buffer modified state.
14261 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14263 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14264 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14265 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14266 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14267 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14268 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14269 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14271 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14273 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14274 Make the lines in the generated doc string shorter. (Bug#4668)
14276 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14278 * net/rcirc.el: Add follow-link binding (Bug#4738).
14280 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14282 * Makefile.in (bzr-update): Rename from cvs-update.
14283 (cvs-update): New target for backward compatibility.
14285 * makefile.w32-in (bzr-update): Rename from cvs-update.
14286 (cvs-update): New target for backward compatibility.
14288 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14290 * bookmark.el: Remove gratuitous gratitude.
14292 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14294 * bookmark.el (bookmark-bmenu-any-marks): New function.
14295 (bookmark-bmenu-save): Clear buffer modification if no marks.
14297 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14299 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14300 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14301 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14302 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14304 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14305 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14306 To: emacs-devel {_AT_} gnu.org
14307 Subject: bookmark.el bug report
14308 Date: Mon, 28 Dec 2009 14:19:16 +0800
14309 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14311 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14313 * bookmark.el: Improvements suggested by Drew Adams:
14314 (bookmark-bmenu-ensure-position): New name for
14315 `bookmark-bmenu-check-position'. Just ensure the position,
14316 don't return any meaningful value.
14317 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14320 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14322 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14323 (bookmark-yank-point, bookmark-bmenu-check-position):
14324 Fix typos in docstrings.
14325 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14326 (bookmark-name-from-full-record, bookmark-get-position)
14327 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14328 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14329 Remove useless quoting of parenthesis, etc. in docstrings.
14331 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14332 (ediff-append-custom-diff): Fix typo in error message.
14333 (ediff-meta-mark-equal-files): Fix typos in messages.
14335 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14337 * net/imap-hash.el (imap-hash-make): Doc fix.
14338 (imap-hash-test): Fix typo in error message; reflow docstring.
14339 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14340 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14341 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14342 Fix typos in docstrings.
14343 (imap-hash-open-connection): Fix typo in error message.
14345 * play/gomoku.el (gomoku): Fix typos in docstring.
14347 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14348 (gdb-jsonify-buffer): Fix typos in docstring.
14349 (gdb-goto-breakpoint): Fix typo in error message.
14350 ("Display Other Windows"): Fix typo in help message.
14351 (gdb-speedbar-expand-node): Fix typo in question.
14353 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14354 (idlwave-html-system-help-location, idlwave-html-help-location)
14355 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14356 (idlwave-help-browser-generic-args, idlwave-help-directory)
14357 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14358 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14359 (idlwave-online-help, idlwave-help-html-link)
14360 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14361 Fix typos in docstrings.
14362 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14364 (idlwave-help-assistant-start): Fix typo in error message.
14366 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14367 (octave-electric-space): Fix typos in docstrings.
14369 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14371 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14373 2010-01-01 Juri Linkov <juri@jurta.org>
14375 * comint.el (comint-input-ring-size): Make it a defcustom and
14376 increase the default to 500 (Bug#5148).
14378 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14380 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14381 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14382 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14384 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14386 Show working revision correctly for mercurial.
14387 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14388 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14390 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14392 Declare some functions for the byte-compiler.
14393 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14394 (speedbar-timer-fn, speedbar-change-expand-button-char)
14395 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14397 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14399 This changeset reverts GDB Graphical Interface to use annotations.
14400 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14402 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14404 Make vc-dir work on subdirectories of the bzr root.
14405 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14406 Return file names relative to it.
14407 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14408 relative directory to vc-bzr-after-dir-status.
14410 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14412 * font-lock.el (font-lock-refresh-defaults): New function, which
14413 can be used to let font-lock react to external changes in
14414 variables like font-lock-defaults and keywords.
14415 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14417 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14419 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14421 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14423 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14425 Supersede color.diff settings in git log (bug#5211).
14427 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14428 escape chars in its output when the user has color.diff set to `always'.
14429 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14431 2009-12-26 Kevin Ryde <user42@zip.com.au>
14433 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14434 node. Keep previous "Index" name to work with past coreutils too.
14436 * man.el (man): Revise docstring a bit to show -a and -l as
14437 examples. Add -k description since support for it has otherwise
14438 been a secret. (Further to bug#3717.)
14439 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14440 "no matches" rather than "Can't find manpage", as the latter reads
14441 like -k was interpreted as a page name, which is not so. (Bug#5431)
14443 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14445 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14446 switches. Check also for //SUBDIRED// line.
14448 2009-12-25 Kenichi Handa <handa@m17n.org>
14450 * language/indian.el (devanagari-composable-pattern): Fix to
14451 handle ZWNJ and ZWJ. Use it in composition-function-table for
14453 (malayalam-composable-pattern): Fix previous change.
14455 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14457 * ps-print.el (ps-face-attributes): It was not returning the
14458 attribute face for faces specified as string. Reported by harven
14459 <harven@free.fr>. (Bug#5254)
14460 (ps-print-version): New version 7.3.5.
14462 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14464 * calendar/icalendar.el (icalendar--convert-tz-offset):
14465 Fix timezone names.
14466 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14467 (icalendar--add-diary-entry): Remove the trailing blank that
14468 diary-make-entry inserts.
14470 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14472 Make `file-expand-wildcards' work for remote files.
14474 * files.el (file-expand-wildcards): In case of remote files, check
14475 only local file name part for wildcards. Provide feature 'files
14476 and subfeature 'remote-wildcards. (Bug#5198)
14478 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14479 if there is already an established connection.
14480 (tramp-advice-file-expand-wildcards): Remove it.
14482 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14483 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14484 Activate advice for older GNU Emacs versions. (Bug#5237)
14486 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14488 Some doc fixes (more needed).
14490 * find-cmd.el (find-constituents): Reflow docstring.
14491 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14492 (find-generic): Doc fix.
14494 2009-12-17 Juri Linkov <juri@jurta.org>
14496 Fix regression from 23.1 to allow multiple modes in Local Variables.
14498 * files.el (hack-local-variables-filter): While ignoring duplicates,
14499 don't take `mode' into account.
14500 (hack-local-variables-filter, hack-dir-local-variables):
14501 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14503 2009-12-17 Juri Linkov <juri@jurta.org>
14505 Make `dired-diff' safer. (Bug#5225)
14507 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14508 `current' or when `file' is a directory of the `current' file.
14510 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14512 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14513 unconditionally preloaded files.
14515 2009-12-16 Juri Linkov <juri@jurta.org>
14517 Revert to old 23.1 logic of using the file at the mark as default.
14518 * dired-aux.el (dired-diff): Use the file at the mark as default
14519 if it's not the same as the current file, and the target dir is
14520 the current dir or the mark is active. Add the current file
14521 as the arg of `dired-dwim-target-defaults'. Use the default file
14522 in the prompt. (Bug#5225)
14524 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14526 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14527 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14528 (tramp-check-for-regexp): Check also, when an echoing shell stops
14529 to echo sent commands.
14531 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14533 * Makefile.in: Revert last change (Bug#5191).
14535 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14537 * vc-hg.el (vc-hg-print-log): Fix argument order.
14538 (vc-hg-working-revision): Make sure the command is executed in a
14539 known environment so that we can parse the output. (Bug#4417)
14541 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14543 * progmodes/python.el (python-symbol-completions): Remove text
14544 properties from symbol string before calling python-send-receive.
14546 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14548 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14549 when there are values for both file and line. (Bug#5060)
14551 2009-12-14 Juri Linkov <juri@jurta.org>
14553 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14554 whitespace after the file name of the first line of unified format,
14555 because git-diff doesn't output whitespace and file modification time
14556 after the file name.
14558 2009-12-14 David Kastrup <dak@gnu.org>
14560 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14561 check if it already has the `display' property added by
14562 `Info-display-images-node', and not put the `invisible' property
14565 2009-12-13 Glenn Morris <rgm@gnu.org>
14567 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14568 (report-emacs-bug): In message-mode, sort manually before storing
14569 original report text. (Bug#5178)
14570 Remove superfluous save-excursion.
14572 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14574 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14575 when responding to "GetAll" properties.
14577 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14579 * simple.el (compose-mail): Remove mail-setup-with-from from
14580 customization checks.
14582 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14584 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14585 RAR archives created on Unix systems.
14587 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14589 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14590 the varalias that was accidentally removed by the 2009-11-19 change
14593 2009-12-12 Kenichi Handa <handa@m17n.org>
14595 * language/indian.el (indian-compose-regexp): New function.
14596 (malayalam-composable-pattern): Fix the pattern.
14597 (composition-function-table): Set malayalam-composable-pattern for
14598 Malayalam characters.
14600 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14602 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14603 rather than down-mouse-1, based on follow-link conventions.
14605 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14608 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14610 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14611 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14612 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14613 (verilog-leap-to-head, verilog-backward-token):
14614 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14616 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14618 * progmodes/verilog-mode.el (verilog-auto-lineup)
14619 (verilog-nameable-item-re): Cleanup user-visible spelling and
14620 documentation errors. One reported by Gary Delp.
14621 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14622 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14623 package, bug195. Reported by Pierre-David Pfister.
14625 2009-12-11 Glenn Morris <rgm@gnu.org>
14627 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14629 * mail/emacsbug.el: No longer require sendmail.
14630 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14631 (report-emacs-bug-orig-text): Doc fix.
14632 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14633 New local variables, to adapt to different mail-user-agents.
14634 (report-emacs-bug): Fix test for a gnu.org address.
14635 Use overlays for emphasis, since font-lock defeats 'face property.
14636 Pretest bugs also end up at the newsgroup these days.
14637 Stop message-mode stripping text properties.
14638 Set and use the new buffer-local variables.
14639 (report-emacs-bug-hook): Add doc-string.
14640 Remove some unnecessary save-excursions and simplify.
14641 Use the appropriate hook and send-command.
14643 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14644 capitalization of some menu entries.
14646 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14648 * whitespace.el (whitespace-display-char-on):
14649 Ensure `buffer-display-table' is unique when two or more windows are
14650 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14653 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14655 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14656 characters in the Attribute field.
14658 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14660 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14662 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14664 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14665 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14666 Disregard autoload-excludes.
14667 (update-directory-autoloads): Obey autoload-excludes here instead.
14668 But don't store its contents in no-autoloads and remove entries that
14669 refer to excludes files.
14671 2009-12-10 Glenn Morris <rgm@gnu.org>
14673 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14674 (expand-mail-aliases): Define for compiler.
14676 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14677 Define for compiler.
14679 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14680 appropriate for the mail-user-agent in use.
14682 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14684 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14686 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14688 Fix short log parsing and fontification.
14689 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14690 Fix fontification for the [merge] label.
14692 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14694 Drop some properties to avoid surprises (bug#5002).
14695 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14696 (hfy-fontify-buffer): Use it.
14698 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14701 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14702 Adjust all callers.
14703 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14704 args compulsory. Adjust callers.
14705 (ffap-gopher-at-point): Remove unused var `name'.
14707 Get rid of the ELCFILES abomination.
14708 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14709 (compile-elcfiles): New phony target.
14710 (compile-main): Compute ELCFILES dynamically.
14711 (compile-clean): New target to remove left-over elc files.
14712 (compile, all): Use it.
14714 2009-12-09 Kenichi Handa <handa@etlken>
14716 * international/mule-diag.el: Require help-mode instead of help-fns.
14718 2009-12-09 Kenichi Handa <handa@m17n.org>
14720 * international/mule-cmds.el (ucs-names): Supply sufficiently
14721 fine ranges instead of pre-calculating accurate ranges.
14722 Iterate with bigger gc-cons-threshold.
14724 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14726 Add support for stashing a snapshot of the current tree.
14727 * vc-git.el (vc-git-stash-snapshot): New function.
14728 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14730 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14732 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14733 instead of `(beginning|end)-of-line'.
14735 2009-12-08 Glenn Morris <rgm@gnu.org>
14737 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14739 * Makefile.in (ELCFILES): Regenerate.
14741 2009-12-07 Juri Linkov <juri@jurta.org>
14743 Don't lazy-highlight the comint output in history Isearch mode.
14745 * comint.el (comint-history-isearch-search): Instead of
14746 `comint-line-beginning-position', use `comint-after-pmark-p'
14747 to check if point if before the process mark, and go to
14748 `process-mark' in this case.
14750 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14752 * textmodes/tex-mode.el (latex-complete)
14753 (latex-indent-or-complete): Remove.
14754 (latex-mode): Set completion-at-point-functions instead.
14756 Provide a standard completion command and hook it into TAB.
14757 * minibuffer.el (completion-at-point-functions): New var.
14758 (completion-at-point): New command.
14759 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14760 * progmodes/python.el (python-mode-map): Use completion-at-point.
14761 (python-completion-at-point): Rename from python-partial-symbol and
14762 adjust for use in completion-at-point-functions.
14763 (python-mode): Setup completion-at-point for Python completion.
14764 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14765 extracted from lisp-complete-symbol.
14766 (lisp-complete-symbol): Use it.
14767 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14768 setup completion-at-point for Elisp completion.
14769 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14770 Use completion-at-point.
14771 * ielm.el (ielm-map): Use completion-at-point.
14772 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14773 * progmodes/sym-comp.el: Move to...
14774 * obsolete/sym-comp.el: Move from progmodes.
14776 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14778 Prevent save-buffer in Rmail buffers from using the coding-system
14779 of the current message, and from clobbering the encoding mnemonics
14780 in the mode line (Bug#4623).
14782 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14784 (rmail-message-encoding): New variable.
14785 (rmail-write-region-annotate): Record the encoding of the current
14786 message in rmail-message-encoding.
14787 (rmail-after-save-hook): New function, restores the encoding of
14788 the current message after the message collection is saved.
14790 2009-12-07 Juri Linkov <juri@jurta.org>
14792 * progmodes/grep.el (grep-read-files): Use `completing-read'
14793 instead of `read-string'. Set its `collection' arg to
14794 `read-file-name-internal'. (Bug#4301)
14796 2009-12-07 Juri Linkov <juri@jurta.org>
14798 Correctly restore original Isearch point. (Bug#4994)
14800 * isearch.el (isearch-mode): Move `isearch-push-state' after
14801 `(run-hooks 'isearch-mode-hook)'.
14802 (isearch-cancel): When `isearch-push-state-function' is defined,
14803 let-bind `isearch-cmds' to the first state (the last element of
14804 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14805 function and restores the original point). Otherwise, move point
14806 to `isearch-opoint'.
14808 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14810 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14811 chars that don't have names, so the table can be built much faster at
14814 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14816 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14817 change. Suggested by David Kastrup.
14819 * simple.el (compose-mail): Check for incompatibilities and warn.
14820 (compose-mail-user-agent-warnings): New option.
14822 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14824 Support showing a single log entry from vc-annotate.
14825 * vc.el (print-log): Add a new argument: START-REVISION.
14826 (vc-print-log-internal): Add a new optional argument and
14827 pass it to the backend.
14828 (vc-print-log, vc-print-root-log): Adjust callers.
14829 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14830 buffer already displays the requested log entry, use it.
14831 Otherwise display only the log entry in question.
14832 * vc-svn.el (vc-svn-print-log):
14833 * vc-mtn.el (vc-mtn-print-log):
14834 * vc-hg.el (vc-hg-state):
14835 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14836 (vc-git-show-log-entry): Return t on success.
14837 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14838 (vc-bzr-show-log-entry): Return t on success.
14839 * vc-rcs.el (vc-rcs-print-log):
14840 * vc-sccs.el (vc-sccs-print-log):
14841 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14843 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14845 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14846 Add menus to the meta mode. (Bug#5043)
14848 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14850 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14853 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14855 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14857 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14858 Berbain <raphael.berbain@gmail.com>.
14860 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14862 (tramp-initial-end-of-output): New defconst.
14863 (tramp-methods, tramp-find-shell)
14864 (tramp-open-connection-setup-interactive-shell)
14865 (tramp-maybe-open-connection): Use it.
14866 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14867 Handle existence of `#' and `$'.
14869 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14870 Use `tramp-initial-end-of-output'.
14872 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14874 Get the background mode from the terminal for xterm, and set
14876 * term/xterm.el (xterm-set-background-mode): New function.
14877 (terminal-init-xterm): Use it in case xterm supports background
14878 color queries. Recompute faces after getting the background
14881 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14883 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14884 number comment back on its own line, for easier parsing.
14886 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14888 Make it work for non-file buffers (bug#5102).
14889 * doc-view.el (doc-view-current-cache-dir):
14890 Use doc-view-buffer-file-name rather than buffer-file-name.
14891 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14893 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14895 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14896 author field is too short.
14898 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14900 * vc-git.el (vc-git-print-log): Handle a limit argument.
14901 Display the short log in graph form and with labels.
14902 (vc-git-log-view-mode): Handle labels.
14904 Make vc-revert change VC state from 'added to 'unregistered.
14905 * vc-git.el (vc-git-revert): Call git reset first.
14907 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14909 * net/newst-backend.el, net/newst-plainview.el:
14910 * net/newst-reader.el, net/newst-ticker.el:
14911 * net/newst-treeview.el, net/newsticker.el:
14912 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14914 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14916 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14918 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14919 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14920 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14921 Update annotation regexp.
14923 * simple.el (beginning-of-visual-line): Constrain to field
14924 boundaries (Bug#5106).
14926 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14928 * xml.el (xml-substitute-numeric-entities):
14929 Move newsticker--decode-numeric-entities in newst-backend.el to
14930 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14931 * net/newst-backend.el (newsticker--parse-generic-feed)
14932 (newsticker--parse-generic-items)
14933 (newsticker--decode-numeric-entities):
14934 Move newsticker--decode-numeric-entities in newst-backend.el to
14935 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14937 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14939 * progmodes/js.el (js--js-not): Add null to the list of values.
14941 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14943 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14945 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14947 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14948 delimiter if it is at the end of the current line.
14949 (bibtex-generate-url-list): Fix docstring.
14951 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14953 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14954 minibuffer's content with itself.
14955 Fold the confirm-after-completion case into the `confirm' case.
14956 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14958 2009-12-06 Kevin Ryde <user42@zip.com.au>
14960 * ffap.el (ffap-rfc-path): Make this a defcustom since
14961 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14963 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14964 manuals, similar to existing setup for help-mode. (Bug#3913.)
14966 2009-12-05 Juri Linkov <juri@jurta.org>
14968 Save and restore dired buffer's point positions too. (Bug#4880)
14970 * dired.el (dired-save-positions): Return in the first element
14971 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14973 (dired-restore-positions): First restore buffer's position.
14974 While restoring window's positions, check if window still displays
14975 the original buffer.
14977 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14979 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14982 * shell.el (shell): Require ansi-color (Bug#5113).
14984 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14986 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14988 2009-12-05 Alan Mackenzie <acm@muc.de>
14990 * progmodes/cc-mode.el (c-before-hack-hook)
14991 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14992 `c-file-style' to work again. This reversion restores the current
14993 software to its state in Emacs 23.1. (Bug#4146)
14995 2009-12-05 Kevin Ryde <user42@zip.com.au>
14997 * textmodes/sgml-mode.el (sgml-lexical-context):
14998 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15000 2009-12-05 Juri Linkov <juri@jurta.org>
15002 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15003 for virtual nodes. (Bug#4147)
15004 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15005 when moving from a virtual node.
15006 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15007 (Info-mode): Add `Info-virtual-index' to the docstring.
15009 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15011 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15012 track of the buffer position of the end of a BibTeX entry as this
15013 position may change during reformatting.
15014 (bibtex-format-entry): Remove whitespace before processing
15015 numerical fields so that we recognize the latter properly.
15016 (bibtex-reformat): Do not use push which changes the global value
15017 of bibtex-entry-format.
15018 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15019 (bibtex-field-re-init): Replace only space characters by regexp
15021 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15022 (bibtex-initialize): Also update bibtex-strings.
15023 (bibtex-kill-field): Preserve white space at end of entry.
15024 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15025 Update bibtex-reference-keys.
15027 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15029 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15030 point after a star, if that's the only place where modifications can
15033 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15035 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15038 2009-12-04 Juri Linkov <juri@jurta.org>
15040 * proced.el (proced): Call `(proced-update t)' to update process
15041 information instead of only running proced-post-display-hook.
15042 (proced-send-signal): Add a leading space to the buffer name
15043 " *Marked Processes*" to make this buffer ephemeral.
15045 2009-12-04 Juri Linkov <juri@jurta.org>
15047 * dired.el (dired-auto-revert-buffer): New defcustom.
15048 (dired-internal-noselect): Use it.
15050 2009-12-04 Juri Linkov <juri@jurta.org>
15052 Change roles of modes and functions in image-mode.el (Bug#5062).
15054 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15055 in `auto-mode-alist'.
15056 (image-mode-previous-major-mode): New variable.
15057 (image-minor-mode-map): Rename from `image-mode-text-map'.
15058 (image-mode): Move graceful error-handling code from
15059 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15060 (image-minor-mode): Remove all image-handling code.
15061 Replace `image-mode-text-map' with `image-minor-mode-map'.
15062 Check for `image-type' in mode-line format string.
15063 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15064 (image-mode-as-text): New function with most code from
15065 `image-mode-maybe'.
15066 (image-toggle-display-text): Move code that removes image
15067 properties from `image-toggle-display' to here.
15068 (image-toggle-display-image): New function with code that adds
15069 image properties copied from `image-toggle-display'.
15070 (image-toggle-display): Remove most code with leaving only code
15071 that toggles between `image-mode-as-text' and `image-mode'.
15073 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15075 * net/newst-treeview.el
15076 (newsticker--treeview-list-highlight-start): Restored call to
15077 save-excursion: Selected item was stuck.
15078 (newsticker--treeview-list-select): New.
15079 (newsticker--treeview-item-show-text)
15080 (newsticker--treeview-item-show)
15081 (newsticker--treeview-item-update): Use new
15082 newsticker-treeview-item-mode.
15083 (newsticker-treeview-update): Keep current item.
15084 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15085 (newsticker--treeview-first-feed): Doc change.
15086 (newsticker-treeview-list-menu)
15087 (newsticker-treeview-item-menu): Add menu entries.
15088 (newsticker-treeview-item-mode): New.
15090 * net/newst-backend.el (newsticker-customize): Delete other
15093 2009-12-04 Sam Steingold <sds@gnu.org>
15095 * log-view.el (log-view-mode-map): "q" calls quit-window,
15096 like in all the other non-self-insert buffers.
15098 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15101 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15102 key decoding rather than do it manually via last-input-event +
15104 (term-exec): Use delete-and-extract-region.
15105 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15106 (term-process-pager): Remove unused var `i'.
15107 (term-dynamic-simple-complete): Make obsolete.
15108 (serial-update-config-menu): Remove unused vars `y' and `str'.
15109 (term-update-mode-line): Remove unused var `temp'.
15111 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15113 Limit the number of log entries displayed by default.
15114 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15115 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15116 using a prefix argument.
15118 2009-12-03 Glenn Morris <rgm@gnu.org>
15120 * progmodes/idlwave.el (class): Restore still useful declaration.
15122 2009-12-03 Alan Mackenzie <acm@muc.de>
15124 Enhance `c-parse-state' to run efficiently in "brace deserts".
15126 * progmodes/cc-mode.el (c-basic-common-init):
15127 Call c-state-cache-init.
15128 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15129 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15130 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15132 * progmodes/cc-langs.el (c-before-font-lock-function):
15133 c-extend-and-neutralize-syntax-in-CPP has been renamed
15134 c-neutralize-syntax-in-and-mark-CPP.
15136 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15137 with `category' properties now, not `syntax-table' ones.
15139 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15140 enhanced (but slower) version of c-end-of-macro that won't land
15141 inside a literal or on another awkward character.
15142 (c-state-cache-too-far, c-state-cache-start)
15143 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15144 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15145 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15146 (c-state-min-scan-pos, c-state-brace-pair-desert)
15147 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15148 buffer local variables.
15149 (c-state-literal-at, c-state-lit-beg)
15150 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15151 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15152 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15153 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15154 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15155 (c-renarrow-state-cache)
15156 (c-append-lower-brace-pair-to-state-cache)
15157 (c-state-push-any-brace-pair, c-append-to-state-cache)
15158 (c-remove-stale-state-cache)
15159 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15160 (c-invalidate-state-cache-1, c-parse-state-1)
15161 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15162 (c-parse-state): Enhance and refactor.
15163 (c-debug-parse-state): Amend to deal with all the new variables.
15165 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15166 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15167 modify to use category text properties rather than syntax-table ones.
15168 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15169 to switch off/on the syntactic paren property of C++ template
15170 delimiters using the category property.
15171 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15172 template delims suppressed.
15173 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15174 New constant/macros which apply category properties to the start
15175 and end of preprocessor constructs.
15176 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15177 "comment out" the syntactic value of characters in preprocessor
15179 (c-with-cpps-commented-out)
15180 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15181 with characters in all or all but one preprocessor constructs
15184 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15186 * proced.el (proced-filter-alist): Use regexp-quote.
15188 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15191 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15192 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15193 arguments. Expand `default-directory'.
15195 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15196 the benefit of returning an expanded localname.
15197 (tramp-tramp-file-p): Handle the case NAME is not a string.
15199 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15201 Add support for bzr shelve/unshelve.
15202 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15203 (vc-bzr-extra-menu-map): New variables.
15204 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15205 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15206 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15207 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15208 (vc-bzr-dir-extra-headers): Display shelves.
15210 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15212 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15214 * textmodes/bibtex.el (bibtex-complete-internal):
15215 Use completion-in-region.
15216 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15218 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15220 Support applying stashes. Improve UI.
15221 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15222 (vc-git-stash-apply, vc-git-stash-pop)
15223 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15224 (vc-git-stash-menu): New functions.
15225 (vc-git-stash-menu-map): New variable.
15226 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15228 2009-12-03 Glenn Morris <rgm@gnu.org>
15230 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15231 (vc-print-log-internal): Fix previous change.
15232 (vc-revert): Correct pluralization.
15234 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15236 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15237 it to be an alist any more.
15238 (makefile-complete): Use completion-in-region.
15240 * progmodes/octave-mod.el (octave-complete-symbol):
15241 Use completion-in-region.
15244 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15245 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15246 (idlwave-complete-class): Don't quote lambda.
15247 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15248 (idlwave-mode-map): Move initialization into declaration.
15249 (idlwave-action-and-binding): Use backquotes.
15250 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15252 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15253 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15254 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15255 `parts', and `all-parts'.
15256 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15257 (idlwave-convert-xml-system-routine-info): Remove unused string
15259 (idlwave-display-user-catalog-widget): Use dolist.
15260 (idlwave-scanning-lib): Declare dynamically-scoped var.
15261 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15262 (completion-highlight-first-word-only): Declare to silence bytecomp.
15263 (idlwave-popup-select): Tighten scope of `resp'.
15264 (idlwave-find-struct-tag): Remove unused var `beg'.
15265 (idlwave-after-load-rinfo-hook): Declare.
15266 (idlwave-sintern-class-info): Remove unused var `taglist'.
15267 (idlwave-find-class-definition): Remove unused var `list'.
15268 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15269 (idlwave-what-module-find-class): Remove unused var `classes'.
15271 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15273 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15275 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15277 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15278 buffers visited. Remove redundant current-buffer-saving.
15280 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15282 Use completion-in-buffer and remove uses of dynamic scoping.
15283 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15284 (pascal-buffer-to-use, pascal-flag): Don't declare.
15285 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15286 (pascal-get-completion-decl, pascal-keyword-completion):
15287 Add `pascal-str' argument, save-excursion,
15288 return the found completions, and don't filter with pascal-pred.
15289 (pascal-completion-cache): New var.
15290 (pascal-completion): Don't switch buffer any more (it was never
15291 necessary). Don't save-excursion any more (it's done by the called
15292 subroutines). Use a cache to avoid redundant computations.
15293 Use complete-with-action rather than pascal-completion-response and
15294 let it apply the predicate as well.
15295 (pascal-complete-word): Use completion-in-buffer when
15296 pascal-toggle-completions is nil.
15297 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15299 (pascal-comp-defun): Don't change buffer any more.
15300 Use complete-with-action rather than pascal-completion-response and
15301 let it apply the predicate as well.
15302 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15305 2009-12-02 Kenichi Handa <handa@m17n.org>
15307 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15308 shape for all Indic scripts.
15310 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15312 Use completion-in-buffer.
15313 * wid-edit.el (widget-field-text-end): New function.
15314 (widget-field-value-get): Use it.
15315 (widget-string-complete, widget-file-complete)
15316 (widget-color-complete): Use it and completion-in-region.
15317 (widget-complete): Don't narrow the buffer.
15319 2009-12-02 Glenn Morris <rgm@gnu.org>
15321 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15322 (rmail-select-summary): Use rmail-pop-to-buffer.
15323 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15324 rmail-pop-to-buffer, to prevent horizontal splits.
15326 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15327 save-excursion with save-current-buffer.
15328 Widen before searching. (Bug#5093)
15329 (diary-list-sexp-entries): Remove superfluous save-excursion.
15331 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15333 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15336 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15338 * ido.el (ido-file-internal): Handle filenames at point that do
15339 not have a directory part. (Bug#5049)
15341 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15343 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15344 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15346 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15348 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15349 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15352 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15354 * comint.el (comint-insert-input): Ignore clicks to the right of
15355 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15357 * vc.el (vc-print-log-internal): Don't wait for the process to
15358 terminate before setting up the major mode.
15360 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15363 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15366 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15368 2009-12-01 Glenn Morris <rgm@gnu.org>
15370 * window.el (window--display-buffer-2): Fix previous changes.
15372 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15374 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15376 2009-12-01 Glenn Morris <rgm@gnu.org>
15378 * Makefile.in (ELCFILES): Add mpc.elc.
15380 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15382 * mpc.el: New file.
15384 2009-12-01 Glenn Morris <rgm@gnu.org>
15386 * window.el (window-to-use): Define for compiler.
15388 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15389 consistent with others (no final period).
15391 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15392 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15394 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15396 Make vc-print-log buttons work.
15397 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15399 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15401 * savehist.el (savehist-autosave-interval): Allow setting to nil
15402 through customize. (Bug#5056)
15404 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15406 Fix references to jit-lock properties.
15407 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15408 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15409 (perl-font-lock-special-syntactic-constructs):
15410 Quote jit-lock-defer-multiline property.
15412 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15414 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15416 2009-11-30 Juri Linkov <juri@jurta.org>
15418 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15419 value `buffer' of `multi-isearch-next-buffer-current-function'.
15420 Use `(current-buffer)' when `buffer' is nil.
15421 (multi-isearch-next-buffer-from-list): Don't fallback to
15422 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15424 2009-11-30 Juri Linkov <juri@jurta.org>
15426 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15427 of buffers with `get-buffer' to `multi-isearch-buffers'.
15428 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15429 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15430 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15431 FILES with `expand-file-name' converting relative file names
15432 to absolute. Doc fix. (Bug#4727)
15434 2009-11-30 Juri Linkov <juri@jurta.org>
15436 * misearch.el (multi-isearch-read-buffers)
15437 (multi-isearch-read-matching-buffers): New functions.
15438 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15439 Use them in the `interactive' spec. Doc fix.
15440 (multi-isearch-read-files, multi-isearch-read-matching-files):
15442 (multi-isearch-files, multi-isearch-files-regexp):
15443 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15445 2009-11-30 Juri Linkov <juri@jurta.org>
15447 * doc-view.el (doc-view-continuous):
15448 Rename from `doc-view-continuous-mode'.
15449 (doc-view-menu): Move "Toggle display" to the top.
15450 Add submenu "Continuous" with radio buttons "Off"/"On"
15451 and "Save as Default".
15452 (doc-view-scroll-up-or-next-page)
15453 (doc-view-scroll-down-or-previous-page)
15454 (doc-view-next-line-or-next-page)
15455 (doc-view-previous-line-or-previous-page):
15456 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15458 2009-11-30 Juri Linkov <juri@jurta.org>
15460 * comint.el (comint-mode-map): Rebind `M-r' from
15461 `comint-previous-matching-input' to
15462 `comint-history-isearch-backward-regexp'.
15463 Unbind `M-s' to allow global key binding `M-s'.
15464 Add menu items for `comint-history-isearch-backward' and
15465 `comint-history-isearch-backward-regexp'. (Bug#3746)
15467 2009-11-30 Juri Linkov <juri@jurta.org>
15469 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15470 For def=recenter, replace `recenter' with `recenter-top-bottom'
15471 that is called with `this-command' and `last-command' let-bound
15472 to `recenter-top-bottom'. When the last `def' was not `recenter',
15473 set `recenter-last-op' to nil. (Bug#4981)
15475 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15477 Minor cleanup and simplification.
15478 * filecache.el (file-cache-add-directory)
15479 (file-cache-add-directory-recursively)
15480 (file-cache-add-from-file-cache-buffer)
15481 (file-cache-delete-file-regexp, file-cache-delete-directory)
15482 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15483 (file-cache-temp-minibuffer-message): Delete function.
15484 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15486 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15487 Don't signal an error when bumping into EOB in tr, s, or y.
15489 2009-11-29 Juri Linkov <juri@jurta.org>
15491 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15494 * descr-text.el (describe-char-unidata-list): Use lowercase name
15495 for "Unicode name" like in other tags.
15497 2009-11-29 Juri Linkov <juri@jurta.org>
15499 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15500 New compatibility macro.
15501 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15503 2009-11-29 Juri Linkov <juri@jurta.org>
15505 Add defcustom to define the cycling order of `recenter-top-bottom'.
15508 * window.el (recenter-last-op): Doc fix.
15509 (recenter-positions): New defcustom.
15510 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15511 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15513 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15515 Improve integration of Tramp and ange-ftp in eshell.
15517 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15518 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15519 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15521 * eshell/esh-util.el (top): Require also Tramp when compiling.
15522 (eshell-directory-files-and-attributes): Check for FTP remote
15524 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15525 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15526 (eshell-file-attributes): Handle ".". Return `entry'.
15528 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15529 (ange-ftp-directory-files-and-attributes)
15530 (ange-ftp-real-directory-files-and-attributes): New defuns.
15532 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15533 shell with "exec" when possible. This prevents trailing prompts
15534 in `start-file-process'.
15536 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15538 Try and remove assumptions about point-min==1.
15539 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15540 (rng-compute-mode-line-string): Show the validation percentage in
15541 terms of the narrowed text, not the widened text.
15542 (rng-do-some-validation): Don't catch internal errors when debugging.
15543 (rng-first-error): Simplify.
15544 (rng-after-change-function): Remove work around. AFAIK the bug has
15545 been fixed a while ago.
15547 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15548 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15550 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15552 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15553 `cd' doesn't always do it for us (bug#5067).
15555 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15556 on 2009-10-25 as part of some other change (bug#5067).
15558 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15560 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15562 (byte-compile-warnings): Use byte-compile-warning-types.
15563 (byte-compile-save-excursion): Warn about use of set-buffer right
15564 after save-excursion.
15566 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15567 the excursion as well.
15569 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15571 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15572 providing a Tramp related implementation of "su" and "sudo".
15573 (eshell-unix-initialize): Add "su" and "sudo".
15575 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15577 * net/socks.el (socks-send-command): Convert binary request to
15578 unibyte before sending. This fixes mishandling of some port
15579 numbers such as 129.
15581 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * help.el (describe-bindings-internal): Remove `interactive'.
15585 * man.el (Man-completion-table): Trim a terminating "(".
15586 Remove the space between name page a section.
15587 Add the command's description on the `help-echo' property.
15588 Remove `process-connection-type' binding since it's unused by
15590 Provide completion for the "<section> <name>" format as well.
15591 (Man-default-man-entry): Remove spurious var shadowing the argument.
15593 2009-11-26 Kevin Ryde <user42@zip.com.au>
15595 * log-view.el: Add "Keywords: tools", since its other keywords
15596 aren't in finder-known-keywords, and following vc.el.
15598 * sha1.el (sha1-string-external): default-directory "/" in case
15599 otherwise non-existent. process-connection-type pipe for touch of
15600 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15602 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15604 Misc coding convention cleanups.
15605 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15606 hfy-init-kludge-hooks.
15607 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15608 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15609 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15611 (hfy-slant, hfy-weight): Use tables rather than code.
15612 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15613 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15614 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15615 (hfy-face-to-css): Remove `nconc' with single arg.
15616 (hfy-p-to-face-lennart): Use `or'.
15617 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15618 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15619 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15620 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15621 (hfy-force-fontification): Use run-hooks.
15623 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15625 Various minor fixes.
15626 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15627 Javascript belongs in the header, not the body.
15628 (hfy-javascript): Remove.
15629 (hfy-fontify-buffer): Don't insert it any more.
15630 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15631 Fix bug in invis handling when there were no invis props in a chunk.
15633 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15635 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15637 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15639 * finder.el (finder-mode-map): Add a menu.
15641 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15643 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15644 "unsigned" structs.
15646 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15647 fork" statement better.
15649 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15651 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15652 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15653 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15654 Reported by Clay Douglass.
15656 (verilog-auto-inst, verilog-auto-star-safe)
15657 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15658 Fix removing "// Interfaces" when saving .* expansions.
15659 Reported by Pierre-David Pfister.
15661 2009-11-26 Glenn Morris <rgm@gnu.org>
15663 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15666 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15668 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15669 Really use previous revision.
15671 2009-11-25 Kevin Ryde <user42@zip.com.au>
15673 * man.el (Man-completion-table): default-directory "/" in case
15674 doesn't otherwise exist. process-environment COLUMNS=999 so as
15675 not to truncate long names. process-connection-type pipe to avoid
15676 any chance of hitting the pseudo-tty TIOCGWINSZ.
15677 (man): completion-ignore-case t for friendliness and since man
15678 itself is case-insensitive on the command line.
15679 Further to Bug#3717.
15681 * arc-mode.el: Add "Keywords: files", so the details in its
15682 commentary can be reached from finder-by-keyword.
15683 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15684 editing mode, but it's comms related and sgml-mode.el has "comm"
15686 * textmodes/bibtex-style.el: Add "Keywords: tex".
15687 * international/isearch-x.el, international/ja-dic-cnv.el:
15688 * international/ja-dic-utl.el, international/kkc.el:
15689 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15691 2009-11-25 Juri Linkov <juri@jurta.org>
15693 * man.el (Man-completion-table): Modify regexp to include
15694 section names to completion strings. (Bug#3717)
15696 2009-11-25 Juri Linkov <juri@jurta.org>
15698 Search recursively in gzipped files. (Bug#4982)
15700 * progmodes/grep.el (grep-highlight-matches): Add new options
15701 `always' and `auto'. Doc fix.
15702 (grep-process-setup): Check `grep-highlight-matches' for
15703 `auto-detect' to determine the need to compute grep defaults.
15704 Move Windows/DOS specific --colors settings handling
15705 to `grep-compute-defaults'. Check `grep-highlight-matches'
15706 to get the value of "--color=".
15707 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15708 has the value `auto-detect'. Move Windows/DOS specific settings
15709 from `grep-process-setup'.
15710 (zrgrep): New command with alias `rzgrep'.
15712 2009-11-25 Juri Linkov <juri@jurta.org>
15714 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15715 to nil instead of switching off view-mode. (Bug#4896)
15717 2009-11-25 Juri Linkov <juri@jurta.org>
15719 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15721 * mwheel.el (mwheel-scroll-up-function)
15722 (mwheel-scroll-down-function): New defvars.
15723 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15724 `scroll-up', and `mwheel-scroll-down-function' instead of
15727 * doc-view.el (doc-view-scroll-up-or-next-page)
15728 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15729 Use this ARG in the call to image-scroll-up/image-scroll-down.
15730 Change `interactive' spec to "P". Goto next/previous page only
15731 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15732 SPC/DEL case). Doc fix.
15733 (doc-view-next-line-or-next-page)
15734 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15736 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15737 `doc-view-scroll-up-or-next-page', and buffer-local
15738 `mwheel-scroll-down-function' to
15739 `doc-view-scroll-down-or-previous-page'.
15741 2009-11-25 Juri Linkov <juri@jurta.org>
15743 Provide additional default values (directories at other Dired
15744 windows) via M-n in the minibuffer of some Dired commands.
15746 * dired-aux.el (dired-diff, dired-compare-directories)
15747 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15748 `minibuffer-default' in `minibuffer-with-setup-hook'.
15749 (dired-dwim-target-directory): Find a window that displays Dired
15750 buffer instead of failing when the next window is not Dired.
15751 Use `get-window-with-predicate' to find for the next Dired window.
15752 (dired-dwim-target-defaults): New function.
15754 * ediff-util.el (ediff-read-file-name):
15755 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15756 in `minibuffer-with-setup-hook'.
15758 2009-11-25 Juri Linkov <juri@jurta.org>
15760 Provide additional default values (file name at point or at the
15761 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15763 * minibuffer.el (read-file-name-defaults): New function.
15764 (read-file-name): Reset `minibuffer-default' to nil when
15765 it duplicates initial input `insdef'.
15766 Bind `minibuffer-default-add-function' to lambda that
15767 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15768 (minibuffer-insert-file-name-at-point): New command.
15770 * files.el (file-name-at-point-functions): New defcustom.
15771 (find-file-default): Remove defvar.
15772 (find-file-read-args): Don't use `find-file-default'.
15773 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15774 to `read-file-name'.
15775 (find-file-literally): Use `read-file-name' with
15776 `confirm-nonexistent-file-or-buffer'.
15778 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15780 * dired.el (dired-read-dir-and-switches):
15781 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15782 to `read-file-name'.
15783 (dired-file-name-at-point): New function.
15784 (dired-mode): Add hook `dired-file-name-at-point' to
15785 `file-name-at-point-functions'.
15787 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15789 Really make the *Completions* window soft-dedicated (bug#5030).
15790 * window.el (window--display-buffer-2): Add `dedicated' argument.
15791 (display-buffer): Pass it when needed so the dedicated flag is set
15792 after calling set-window-buffer, which would otherwise reset it.
15794 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15796 * progmodes/meta-mode.el (meta-complete-symbol):
15797 * progmodes/etags.el (complete-tag):
15798 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15799 Use completion-in-region.
15801 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15802 (dabbrev-completion): Use completion-in-region.
15803 (dabbrev--abbrev-at-point): Simplify regexp.
15805 * abbrev.el (abbrev--before-point): Use word-motion functions
15806 if :regexp is not specified (bug#5031).
15808 * subr.el (string-prefix-p): New function.
15810 * man.el (Man-completion-cache): New var.
15811 (Man-completion-table): Use it.
15813 * vc.el (vc-print-log-internal): Make `limit' optional for better
15814 compatibility (e.g. with vc-annotate.el).
15816 2009-11-24 Kevin Ryde <user42@zip.com.au>
15818 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15819 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15821 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15822 when .el source file not found or other error.
15824 2009-11-24 Markus Triska <markus.triska@gmx.at>
15826 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15828 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15830 Handle the [back] button properly (bug#4979).
15831 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15832 Use help-setup-xref, help-buffer, and with-help-window.
15833 (describe-char): Add `buffer' argument.
15834 Pass proper command to help-setup-xref. Don't meddle with
15835 help-xref-stack-item directly.
15836 (describe-text-category): Use with-help-window and help-buffer.
15838 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15839 for the displayed buffer (bug#4887).
15841 * man.el (Man-completion-table): New function.
15844 2009-11-24 David Reitter <david.reitter@gmail.com>
15846 * vc-git.el (vc-git-registered): Use checkout directory (where
15847 .git is) rather than the file's directory and a relative path spec
15848 to work around a bug in git.
15850 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15852 Improve handling of processes on remote hosts.
15854 * eshell/esh-util.el (eshell-path-env): New defvar.
15855 (eshell-parse-colon-path): New defun.
15856 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15858 * eshell/esh-ext.el (eshell-search-path):
15859 Use `eshell-parse-colon-path'.
15860 (eshell-remote-command): Remove argument HANDLER.
15861 (eshell-external-command): Check for FTP remote connection.
15863 * eshell/esh-proc.el (eshell-gather-process-output):
15864 Use `file-truename', in order to start also symlinked files.
15865 Apply `start-file-process' instead of `start-process'.
15866 Shorten `command' to the local file name part.
15868 * eshell/em-cmpl.el (eshell-complete-commands-list):
15869 Use `eshell-parse-colon-path'.
15871 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15873 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15874 to `eshell-directory-change-hook'.
15876 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15878 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15879 because it could be enabled automatically if view-read-only is non-nil.
15881 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15883 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15884 made on 2009-11-22.
15886 2009-11-24 Glenn Morris <rgm@gnu.org>
15888 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15889 deleted variable bookmark-bmenu-bookmark-column.
15891 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15893 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15895 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15897 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15898 two slashes to the "file:" prefix.
15899 (browse-url-file-url): De-munge Cygwin filenames before passing
15900 them to Windows browser.
15901 (browse-url-default-windows-browser): Use call-process.
15903 2009-11-23 Juri Linkov <juri@jurta.org>
15905 Implement DocView Continuous mode. (Bug#4896)
15906 * doc-view.el (doc-view-continuous-mode): New defcustom.
15907 (doc-view-mode-map): Bind C-n/<down> to
15908 `doc-view-next-line-or-next-page', C-p/<up> to
15909 `doc-view-previous-line-or-previous-page'.
15910 (doc-view-next-line-or-next-page)
15911 (doc-view-previous-line-or-previous-page): New commands.
15913 2009-11-23 Juri Linkov <juri@jurta.org>
15915 Implement Isearch in comint input history. (Bug#3746)
15916 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15917 `isearch-mode-hook'.
15918 (comint-history-isearch): New defcustom.
15919 (comint-history-isearch-backward)
15920 (comint-history-isearch-backward-regexp): New commands.
15921 (comint-history-isearch-message-overlay): New buffer-local variable.
15922 (comint-history-isearch-setup, comint-history-isearch-end)
15923 (comint-goto-input, comint-history-isearch-search)
15924 (comint-history-isearch-message, comint-history-isearch-wrap)
15925 (comint-history-isearch-push-state)
15926 (comint-history-isearch-pop-state): New functions.
15928 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15930 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15932 (tramp-handle-make-symbolic-link)
15933 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15935 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15936 (tramp-handle-process-file): Use it.
15938 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15940 * window.el (move-to-window-line-last-op): Remove.
15941 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15943 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15945 Make M-r mirror the new cycling behavior of C-l.
15946 * window.el (move-to-window-line-last-op): New var.
15947 (move-to-window-line-top-bottom): New command.
15948 (global-map): Bind M-r move-to-window-line-top-bottom.
15950 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15952 * dired-x.el (dired-guess-shell-alist-default):
15953 Support xz format. (Bug#4953)
15955 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15957 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15958 last-command-char/last-command-event.
15959 (viper-prefix-arg-value): Do correct conversion of event-char for
15962 * emulation/viper-util.el, emulation/viper.el:
15963 Use viper-last-command-char instead of
15964 last-command-char/last-command-event.
15966 * ediff-init.el, ediff-mult.el, ediff-util.el:
15967 Replace last-command-char and last-command-event
15968 with (ediff-last-command-char) everywhere.
15970 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15971 created in fundamental mode.
15973 * ediff.el (ediff-version): Revert the change of interactive-p to
15974 called-interactively-p.
15976 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15978 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15979 generation from word-movement command names.
15981 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15983 * cus-start.el (all): Add native condition for font-use-system-font.
15985 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15987 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15988 Correct the patch from 2009-11-18. (Bug#3910)
15990 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15992 * progmodes/subword.el: Rename from lisp/subword.el.
15994 * subword.el: Rename to progmodes/subword.el.
15996 * Makefile.in (ELCFILES): Adapt to subword.el move.
15998 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15999 Stefan Monnier <monnier@iro.umontreal.ca>
16001 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16002 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16003 (bookmark-bmenu-show-filenames): Use push.
16004 (bookmark-bmenu-hide-filenames): Use local var instead of
16005 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16006 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16007 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16008 filenames now that the bookmark names are always available.
16010 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16012 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16013 (bookmark-search-pattern): Move and leave unbound.
16014 (bookmark-bmenu-mode-map): Change binding.
16015 (bookmark-read-search-input): Simplify.
16016 Don't use text-char-description. Don't error on non-char events.
16017 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16018 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16019 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16020 Use a local var for the timer.
16021 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16022 (i.e. bookmark-bmenu-search).
16024 2009-11-21 Glenn Morris <rgm@gnu.org>
16026 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16028 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16030 * net/browse-url.el (browse-url-default-windows-browser):
16031 Use cygstart for cygwin.
16033 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16035 * bookmark.el: Formatting and doc fixes only:
16036 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16037 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16038 Minor grammar and punctuation fixes in doc string.
16039 (bookmark-read-search-input): Adjust to fit within 80 columns.
16041 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16043 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16044 (c-backward-into-nomenclature): Adapt to subword renaming.
16046 * subword.el (subword-forward, subword-backward, subword-mark)
16047 (subword-kill, subword-backward-kill, subword-transpose)
16048 (subword-downcase, subword-upcase, subword-capitalize)
16049 (subword-forward-internal, subword-backward-internal):
16050 Rename from forward-subword, backward-subword, mark-subword,
16051 kill-subword, backward-kill-subword, transpose-subwords,
16052 downcase-subword, upcase-subword, capitalize-subword,
16053 forward-subword-internal, backward-subword-internal.
16055 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16057 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16059 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16061 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16062 (bookmark-bmenu-filter-alist-by-regexp)
16063 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16064 (bookmark-bmenu-search): New command.
16065 (bookmark-bmenu-mode-map): Bind it.
16067 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16069 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16070 backward-subword to quit the byte-compiler.
16072 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16074 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16076 * progmodes/cc-cmds.el (c-update-modeline)
16077 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16078 Refer to subword.el functions instead of cc-subword.el.
16080 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16081 subword.el functions instead of cc-subword.el.
16083 * progmodes/cc-subword.el: Rename to subword.el.
16084 * subword.el: Rename from progmodes/cc-subword.el.
16085 (subword-mode-map): Rename from c-subword-mode-map.
16086 (subword-mode): Rename from c-subword-mode.
16087 (global-subword-mode): New global minor mode.
16088 (forward-subword): Rename from c-forward-subword.
16089 (backward-subword): Rename from c-backward-subword.
16090 (mark-subword): Rename from c-mark-subword.
16091 (kill-subword): Rename from c-kill-subword.
16092 (backward-kill-subword): Rename from c-backward-kill-subword.
16093 (transpose-subwords): Rename from c-tranpose-subword.
16094 (downcase-subword): Rename from c-downcase-subword.
16095 (capitalize-subword): Rename from c-capitalize-subword.
16096 (forward-subword-internal): Rename from c-forward-subword-internal.
16097 (backward-subword-internal): Rename from c-backward-subword-internal.
16099 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16101 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16102 from a dired buffer.
16103 (vc-dired-deduce-fileset): New function.
16104 (vc-root-diff, vc-print-root-log): Use it.
16106 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16107 nil LIMIT argument to vc-print-log-internal.
16109 2009-11-20 Glenn Morris <rgm@gnu.org>
16111 * Makefile.in (ELCFILES): Regenerate.
16113 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16115 * calc/calc.el (calc-set-mode-line):
16116 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16117 (math-format-number): Rename `math-format-complement-signed' to
16118 `math-format-twos-complement'.
16120 * calc/calc-bin.el (math-format-twos-complement): Rename from
16121 math-format-complement-signed.
16122 (calc-radix): Rename `calc-complement-signed-mode' to
16123 `calc-twos-complement-mode'.
16124 (calc-octal-radix, calc-hex-radix): Add an argument for
16127 * calc/calc-embed.el (calc-embedded-mode-vars):
16128 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16130 * calc/calc-ext.el (calc-init-extensions):
16131 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16132 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16134 * calc/calc-units.el (math-build-units-table-buffer):
16135 Let `calc-twos-complement-mode' be nil.
16137 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16140 * calc/calc-vec.el (calcFunc-vunpack):
16141 * calc/calc-aent.el (calc-do-calc-eval):
16142 * calc/calc-forms.el (math-format-date):
16143 * calc/calc-graph.el (calc-graph-plot):
16144 * calc/calc-math.el (math-use-emacs-fn):
16145 * calc/calccomp.el (math-compose-expr):
16146 Let `calc-twos-complement-mode' be nil.
16148 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16151 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16152 * minibuffer.el (completion-in-region-functions): New hook.
16153 (completion-in-region): New function.
16154 * emacs-lisp/lisp.el (lisp-complete-symbol):
16155 * pcomplete.el (pcomplete-std-complete): Use it.
16157 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16159 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16160 (latex-complete-alist): New vars.
16161 (latex-string-prefix-p, latex-complete-bibtex-keys)
16162 (latex-complete-envnames, latex-complete-refkeys)
16163 (latex-complete-data): New functions.
16164 (latex-complete, latex-indent-or-complete): New commands.
16166 * window.el (display-buffer-mark-dedicated): New var.
16167 (display-buffer): Obey it.
16168 * minibuffer.el (minibuffer-completion-help): Use it.
16170 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16172 * filecache.el (file-cache-add-file): Use push and cons.
16173 (file-cache-delete-file-regexp): Use push.
16174 (file-cache-complete): Use completion-in-region.
16176 * simple.el (with-wrapper-hook): Fix thinko.
16178 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16179 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16180 Use with-current-buffer and string-to-number.
16181 (hfy-fallback-colour-values): Use assoc-string.
16182 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16183 (hfy-face-at): Remove unused var `found-face'.
16184 (hfy-compile-stylesheet): Remove unused var `css'.
16185 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16187 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16188 Use with-current-buffer.
16189 (hfy-text-p): Use expand-file-name and fewer setq.
16191 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16193 * htmlfontify.el, hfy-cmap.el: New files.
16195 2009-11-19 Juri Linkov <juri@jurta.org>
16197 * minibuffer.el (completions-format): New defcustom.
16198 (completion--insert-strings): Implement vertical format.
16200 * simple.el (switch-to-completions): Move point to the first
16201 completion when point was at the beginning of the buffer.
16203 2009-11-19 Juri Linkov <juri@jurta.org>
16205 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16207 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16209 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16211 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16212 (mail-signature): Change default to t.
16213 (mail-from-style): Deprecate `system-default' value.
16214 (mail-insert-from-field): For default value of mail-from-style,
16215 default to `angles' unless `angles' needs quoting and `parens'
16217 (mail-citation-prefix-regexp): Use citation regexp from
16220 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16222 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16223 Set variables for computing the prompt for reading password.
16225 2009-11-19 Glenn Morris <rgm@gnu.org>
16227 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16229 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16231 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16232 (newsticker-treeview-listwindow-height): Fix custom type.
16234 2009-11-19 Kenichi Handa <handa@m17n.org>
16236 * descr-text.el (describe-char-padded-string): Compose with TAB
16237 only if there's a font for CH.
16238 (describe-char): Fix the condition for detecting a trivial composition.
16240 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16242 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16243 more accurate version of the regexp. (Bug#3910)
16245 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16247 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16249 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16251 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16252 (font-setting-change-default-font): Fix typo in docstring.
16254 2009-11-18 Alan Mackenzie <acm@muc.de>
16256 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16258 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16260 * font-setting.el (font-use-system-font): Move ...
16262 * cus-start.el (all): ... to here.
16264 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16266 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16267 Don't set `ad-return-value' if `ad-do-it' doesn't.
16269 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16272 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16274 * menu-bar.el: Put "Use system font" in Option-menu.
16275 (menu-bar-options-save): Add font-use-system-font.
16277 * loadup.el: If feature system-font-setting or font-render-setting is
16278 there, load font-setting.
16280 * Makefile.in (ELCFILES): Add font-settings.el.
16281 * font-setting.el: New file.
16283 2009-11-17 Glenn Morris <rgm@gnu.org>
16285 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16287 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16288 Preserve point in the list buffer. (Bug#4939)
16290 (newsticker--treeview-list-update-highlight)
16291 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16293 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16295 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16298 * calc/calc-ext.el (calc-init-extensions): Remove references to
16301 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16303 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16304 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16307 2009-11-16 Kevin Ryde <user42@zip.com.au>
16309 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16310 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16312 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16313 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16314 Ignore trailing spaces by omit-nulls to split-string (fixing
16315 regression from Emacs 21 due to the incompatible split-string
16316 change). (Bug #4928.)
16318 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16320 * vc.el (vc-log-show-limit): Default to 2000.
16321 (vc-print-log-internal): Insert buttons to request more entries
16322 when limiting the output.
16324 * vc-sccs.el (vc-sccs-print-log):
16325 * vc-rcs.el (vc-rcs-print-log):
16326 * vc-cvs.el (vc-cvs-print-log):
16327 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16330 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16332 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16333 error when `tramp-gvfs-dbus-event-vector' is set.
16334 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16336 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16338 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16340 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16342 * net/dbus.el (dbus-unregister-service): New defun.
16343 (dbus-register-property): Register the handlers of
16344 "org.freedesktop.DBus.Properties" for SERVICE.
16345 (dbus-property-handler): Fix docstring.
16347 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16349 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16350 Quote doc string reference in defvaralias as it is not in special form.
16351 (byte-compile-output-docform): Doc fix.
16353 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16355 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16356 (calc-complement-signed-mode): New variables.
16357 (calc-set-mode-line): Add indicator for twos-complements.
16358 (math-format-number): Format twos-complement notation.
16360 * calc/calc-bin.el (calc-word-size): Reset the variables
16361 `math-2-word-size' and `math-half-2-word-size'.
16362 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16363 (calc-symclip): New functions.
16365 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16367 * calc/calc-embed.el (calc-embedded-mode-vars):
16368 Add `calc-complement-signed-mode' to the list of modes.
16370 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16371 (calc-b-oper-keys): Add `calc-symclip' to list.
16373 * calc/calc-ext.el (math-read-number-fancy): Read complement
16375 (calc-init-extensions): Add binding for `calc-symclip'.
16376 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16378 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16380 (calc-modes-menu): Add item for twos complement mode.
16382 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16384 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16386 * register.el (jump-to-register, insert-register): Handle Semantic
16387 tags. From commented-out advice in semantic/senator.el.
16389 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16391 * vc.el (vc-log-show-limit): New variable.
16392 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16393 when using a prefix argument.
16394 (vc-print-log-internal): Add new argument LIMIT.
16396 * vc-svn.el (vc-svn-print-log):
16397 * vc-mtn.el (vc-mtn-print-log):
16398 * vc-hg.el (vc-hg-print-log):
16399 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16400 pass it to the log command when set. Make the BUFFER argument
16403 * vc-sccs.el (vc-sccs-print-log):
16404 * vc-rcs.el (vc-rcs-print-log):
16405 * vc-git.el (vc-git-print-log):
16406 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16407 ignore it. Make the BUFFER argument non-optional.
16409 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16411 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16413 * dired.el (dired-mode-map): Move encryption items to "Operate"
16416 * strokes.el (strokes-update-window-configuration): Make strokes
16417 buffer current before erasing (Bug#4906).
16419 2009-11-15 Juri Linkov <juri@jurta.org>
16421 * simple.el (set-mark-default-inactive): Add :type, :group
16422 and :version. (Bug#4876)
16424 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16426 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16427 (archive-unique-fname): ... here. (Bug#4929)
16429 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16431 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16434 * novice.el (disabled-command-function): Add useful args.
16435 Setup the help buffer so that [back] works.
16436 Remove redundant call to help-mode.
16437 (disabled-command-function): Use `case'.
16438 (en/disable-command): New function extracted from enable-command.
16439 (enable-command, disable-command): Use it.
16441 2009-11-14 Glenn Morris <rgm@gnu.org>
16443 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16444 constants. (Bug#4913)
16446 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16448 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16450 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16451 defined in C that have no doc-strings. (Bug#1063)
16453 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16455 * cus-edit.el (data, files):
16456 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16458 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16460 * simple.el (shell-command): Doc fix (Bug#4891).
16462 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16464 2009-11-14 Glenn Morris <rgm@gnu.org>
16466 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16467 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16468 If they are already loaded, eval-after-load will do the right thing.
16470 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16473 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16475 * simple.el (x-selection-owner-p): Declare.
16476 (read-mail-command): Use custom radio type rather than choice.
16477 (completion-no-auto-exit): Doc fix.
16479 * custom.el (defgroup):
16480 * epg-config.el (epg): Doc fixes.
16482 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16484 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16485 * international/ccl.el (define-ccl-program): Do not purecopy the
16486 docstring, defconst does it anyway.
16488 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16490 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16493 * x-dnd.el (x-dnd-maybe-call-test-function):
16494 * window.el (split-window-vertically):
16495 * whitespace.el (whitespace-help-on):
16496 * vc-rcs.el (vc-rcs-consult-headers):
16497 * userlock.el (ask-user-about-lock-help)
16498 (ask-user-about-supersession-help):
16499 * type-break.el (type-break-force-mode-line-update):
16500 * time-stamp.el (time-stamp-conv-warn):
16501 * terminal.el (te-set-output-log, te-more-break, te-filter)
16502 (te-sentinel, terminal-emulator):
16503 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16504 (term-write-input-ring, term-check-source, term-start-output-log):
16505 (term-display-buffer-line, term-dynamic-list-completions):
16506 (term-ansi-make-term, serial-term):
16507 * subr.el (selective-display):
16508 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16509 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16510 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16511 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16512 (speedbar-remove-localized-speedbar-support)
16513 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16514 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16515 (speedbar-buffers-line-directory):
16516 * simple.el (shell-command-on-region, append-to-buffer)
16517 (prepend-to-buffer):
16518 * shadowfile.el (shadow-save-todo-file):
16519 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16520 (scroll-bar-maybe-set-window-start):
16521 * sb-image.el (speedbar-image-dump):
16522 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16523 (load-save-place-alist-from-file):
16524 * ps-samp.el (ps-print-message-from-summary):
16525 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16526 (ps-background-image, ps-begin-job, ps-do-despool):
16527 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16528 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16529 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16530 (pr-call-process, pr-file-list, pr-interface-save):
16531 * novice.el (disabled-command-function)
16532 (enable-command, disable-command):
16533 * mouse.el (mouse-buffer-menu-alist):
16534 * mouse-copy.el (mouse-kill-preserving-secondary):
16535 * macros.el (kbd-macro-query):
16536 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16537 * informat.el (batch-info-validate):
16538 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16539 * hippie-exp.el (try-expand-dabbrev-visible):
16540 * help-mode.el (help-make-xrefs):
16541 * help-fns.el (describe-variable):
16542 * generic-x.el (bat-generic-mode-run-as-comint):
16543 * finder.el (finder-mouse-select):
16544 * find-dired.el (find-dired-sentinel):
16545 * filesets.el (filesets-file-close):
16546 * files.el (list-directory):
16547 * faces.el (list-faces-display, describe-face):
16548 * facemenu.el (list-colors-display):
16549 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16550 * epg.el (epg--process-filter, epg-cancel):
16551 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16552 (epa--read-signature-type):
16553 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16554 (emerge-file-names):
16555 * ehelp.el (electric-helpify):
16556 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16557 * ediff-vers.el (rcs-ediff-view-revision):
16558 * ediff-util.el (ediff-setup):
16559 * ediff-mult.el (ediff-append-custom-diff):
16560 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16562 * echistory.el (Electric-command-history-redo-expression):
16563 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16564 * disp-table.el (describe-display-table):
16565 * dired.el (dired-find-buffer-nocreate):
16566 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16567 * dabbrev.el (dabbrev--same-major-mode-p):
16568 * chistory.el (list-command-history):
16569 * apropos.el (apropos-documentation):
16570 * allout.el (allout-obtain-passphrase):
16571 (allout-copy-exposed-to-buffer):
16572 (allout-verify-passphrase): Use with-current-buffer.
16574 2009-11-13 Glenn Morris <rgm@gnu.org>
16576 * Makefile.in (ELCFILES): Regenerate.
16578 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16580 * net/dbus.el (dbus-registered-objects-table): Rename from
16581 `dbus-registered-functions-table', because it contains also properties.
16582 (dbus-unregister-object): Unregister also properties.
16583 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16584 Use a timeout of 500 msec, in order to not block.
16585 (dbus-register-property, dbus-property-handler): New defuns.
16587 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16589 * simple.el (minibuffer-default-add-completions): Drop deprecated
16592 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16594 * textmodes/artist.el (artist-mouse-choose-operation):
16595 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16596 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16597 (artist-compute-up-event-key): New function.
16598 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16600 2009-11-13 Kenichi Handa <handa@m17n.org>
16602 * language/japan-util.el: Make sure that the value of jisx0208
16603 property is jisx0208 character.
16605 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16607 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16608 car or each item, not the whole list.
16610 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16612 * minibuffer.el (minibuffer-completion-help):
16613 Use minibuffer-hide-completions.
16615 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16617 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16618 (dired-revert): Use them (bug#4880).
16620 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16622 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16624 2009-11-12 Juri Linkov <juri@jurta.org>
16626 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16628 (find-file-literally-at-point): Alias of `ffap-literally'.
16630 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16632 * textmodes/ispell.el (ispell-skip-region-alist):
16633 * textmodes/css-mode.el (auto-mode-alist):
16634 * progmodes/compile.el (auto-mode-alist):
16635 * international/mule.el (ctext-non-standard-encodings-alist)
16636 (ctext-non-standard-encodings-regexp):
16637 * simple.el (shell-command-switch, text-read-only):
16638 * replace.el (occur-mode-map):
16639 * paths.el (rmail-file-name):
16640 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16641 * find-file.el (ff-special-constructs):
16642 * files.el (file-name-handler-alist):
16643 * composite.el: Purecopy strings.
16645 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16647 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16649 * widget.el (define-widget): Purecopy the docstring.
16650 * international/mule-cmds.el (charset): Do not purecopy the
16651 docstring here, define-widget does it.
16653 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16654 * textmodes/bibtex-style.el (auto-mode-alist):
16655 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16656 * progmodes/compile.el (compile-command):
16657 * language/korea-util.el (default-korean-keyboard):
16658 * international/mule-conf.el (file-coding-system-alist):
16659 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16660 * tooltip.el (tooltip-frame-parameters):
16661 * newcomment.el (comment-end, comment-padding):
16662 * dired.el (dired-trivial-filenames):
16663 * comint.el (comint-file-name-prefix): Purecopy initial values.
16665 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16667 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16668 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16670 (tramp-advice-make-auto-save-file-name)
16671 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16672 after removing the advice.
16674 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16676 * progmodes/grep.el (grep-regexp-alist):
16677 * international/mule-cmds.el (iso-2022-control-alist):
16678 * emacs-lisp/timer.el (timer-duration-words):
16679 * subr.el (version-separator, version-regexp-alist):
16680 * minibuffer.el (completion-styles-alist):
16681 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16682 Change defvars to defconsts.
16684 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16685 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16686 * international/mule-conf.el: Allow to be byte compiled.
16688 * international/mule.el (define-charset): Purecopy props.
16689 (load-with-code-conversion): Purecopy doc string and file name.
16690 (put-charset-property): Purecopy strings.
16691 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16693 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16694 (define-char-code-property): Correctly purecopy the table.
16696 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16698 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16700 * subr.el (add-hook): Purecopy strings.
16701 (eval-after-load): Purecopy load-history-regexp and the form.
16703 * custom.el (custom-declare-group): Purecopy load-file-name.
16705 * subr.el (menu-bar-separator): New defconst.
16706 * net/eudc.el (eudc-tools-menu):
16707 * international/mule-cmds.el (set-coding-system-map)
16708 (mule-menu-keymap):
16709 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16710 * vc-hooks.el (vc-menu-map):
16711 * replace.el (occur-mode-map):
16712 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16713 (menu-bar-edit-menu, menu-bar-goto-menu)
16714 (menu-bar-custom-menu, menu-bar-showhide-menu)
16715 (menu-bar-options-menu, menu-bar-tools-menu)
16716 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16717 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16718 (menu-bar-help-menu):
16719 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16720 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16722 * term/x-win.el (x-gtk-stock-map):
16723 * progmodes/vera-mode.el (auto-mode-alist):
16724 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16725 (inferior-lisp-program, inferior-lisp-load-command):
16726 * progmodes/hideshow.el (hs-special-modes-alist):
16727 * progmodes/gud.el (same-window-regexps):
16728 * progmodes/grep.el (grep-program, find-program, xargs-program):
16729 * net/telnet.el (same-window-regexps):
16730 * net/rlogin.el (same-window-regexps):
16731 * language/ethiopic.el (font-ccl-encoder-alist):
16732 * vc-sccs.el (vc-sccs-master-templates):
16733 * vc-rcs.el (vc-rcs-master-templates):
16734 * subr.el (cl-assertion-failed):
16735 * simple.el (next-error-overlay-arrow-position):
16736 * lpr.el (lpr-command):
16737 * locate.el (locate-ls-subdir-switches):
16738 * info.el (same-window-regexps, info)
16739 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16740 * image-mode.el (image-mode, auto-mode-alist):
16741 * hippie-exp.el (hippie-expand-ignore-buffers):
16742 * format.el (format-alist):
16743 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16745 * facemenu.el (facemenu-keybindings):
16746 * dired.el (dired-listing-switches, dired-chown-program):
16747 * diff.el (diff-switches, diff-command):
16748 * cus-edit.el (same-window-regexps):
16749 * bindings.el (mode-line-mule-info)
16750 (mode-line-buffer-identification): Purecopy strings.
16752 2009-11-11 Juri Linkov <juri@jurta.org>
16754 * simple.el (dired-get-filename) <declare-function>:
16755 Tell the byte-compiler about dired-get-filename.
16756 (shell-command): In Dired mode, get filename from the current line
16757 as the default value.
16759 2009-11-10 Glenn Morris <rgm@gnu.org>
16761 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16762 * calendar/holidays.el, progmodes/cperl-mode.el:
16763 Update x-popup-menu declarations.
16765 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16766 (list-load-path-shadows): Use dolist.
16767 (list-load-path-shadows): Use with-current-buffer.
16769 2009-11-10 Juri Linkov <juri@jurta.org>
16771 * minibuffer.el (read-file-name): Support a list of default values
16772 in `default-filename'. Use the first file name where only one
16773 element is required. Doc fix.
16775 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16777 * net/dbus.el (dbus-unregister-object): Release service, if no
16778 other method is registered for it.
16780 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16782 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16783 bookmark-sort-flag is non-nil (Bug#4653).
16785 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16787 * emulation/cua-base.el: Add CUA property to some CC mode commands
16790 2009-11-08 Kevin Ryde <user42@zip.com.au>
16792 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16793 at end of sentence (Bug#4818).
16795 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16797 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16798 Handle "see declaration of" MSFT statements (Bug#4100).
16800 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16802 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16803 (tramp-advice-file-expand-wildcards): Unload via
16804 `ad-remove-advice'.
16806 * net/trampver.el: Update release number.
16808 2009-11-08 Kevin Ryde <user42@zip.com.au>
16810 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16813 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16815 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16816 in order to keep context in SELinux.
16818 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16820 * dired-aux.el (dired-query): Place cursor in echo area and allow
16823 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16824 menu item if not on a directory (Bug#4701).
16826 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16828 Sync with Tramp 2.1.17.
16830 * net/tramp.el (tramp-handle-copy-directory): Don't use
16831 `file-remote-p' (due to compatibility).
16833 * net/tramp-compat.el (tramp-compat-copy-directory)
16834 (tramp-compat-delete-directory): New defuns.
16836 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16837 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16838 Use `tramp-compat-delete-directory'.
16840 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16841 (tramp-smb-handle-delete-directory):
16842 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16844 * net/trampver.el: Update release number.
16846 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16848 * tar-mode.el (tar-copy): Call write-region on the right buffer
16851 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16852 by hand, if necessary (Bug#4878).
16854 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16856 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16857 align size column (Bug#4839).
16859 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16862 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16864 * progmodes/ld-script.el (auto-mode-alist):
16865 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16867 * cus-face.el (custom-declare-face): Purecopy face spec.
16869 2009-11-06 Kenichi Handa <handa@m17n.org>
16871 * international/uni-bidi.el: Re-generated.
16872 * international/uni-category.el: Re-generated.
16873 * international/uni-combining.el: Re-generated.
16874 * international/uni-mirrored.el: Re-generated.
16876 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16878 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16879 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16880 (tex-start-options, slitex-run-command, latex-run-command)
16881 (tex-run-command, tex-directory):
16882 * textmodes/ispell.el (ispell-html-skip-alists)
16883 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16884 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16885 (adaptive-fill-regexp):
16886 * textmodes/dns-mode.el (auto-mode-alist):
16887 * progmodes/python.el (interpreter-mode-alist):
16888 * progmodes/etags.el (tags-compression-info-list):
16889 * progmodes/etags.el (tags-file-name):
16890 * net/browse-url.el (browse-url-galeon-program)
16891 (browse-url-firefox-program):
16892 * mail/sendmail.el (mail-signature-file)
16893 (mail-citation-prefix-regexp):
16894 * international/mule-conf.el (eight-bit):
16895 * international/latexenc.el (latex-inputenc-coding-alist):
16896 * international/fontset.el (x-pixel-size-width-font-regexp):
16897 * emacs-lisp/warnings.el (warning-type-format):
16898 * emacs-lisp/trace.el (trace-buffer):
16899 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16900 (emacs-lisp-mode-map):
16901 * calendar/holidays.el (holiday-solar-holidays)
16902 (holiday-bahai-holidays, holiday-islamic-holidays)
16903 (holiday-christian-holidays, holiday-hebrew-holidays)
16904 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16905 (hebrew-holidays-1, holiday-oriental-holidays)
16906 (holiday-general-holidays):
16907 * x-dnd.el (x-dnd-known-types):
16908 * tool-bar.el (tool-bar):
16909 * startup.el (site-run-file):
16910 * shell.el (shell-dumb-shell-regexp):
16911 * rfn-eshadow.el (file-name-shadow-tty-properties)
16912 (file-name-shadow-properties):
16913 * paths.el (remote-shell-program, news-directory):
16914 * mouse.el ([C-down-mouse-3]):
16915 * menu-bar.el (menu-bar-tools-menu):
16916 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16917 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16918 (jka-compr-compression-info-list):
16919 * isearch.el (search-whitespace-regexp):
16920 * image-file.el (image-file-name-extensions):
16921 * find-dired.el (find-ls-option):
16922 * files.el (directory-listing-before-filename-regexp)
16923 (directory-free-space-args, insert-directory-program)
16924 (list-directory-brief-switches, magic-fallback-mode-alist)
16925 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16926 (automount-dir-prefix):
16927 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16928 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16929 (face-font-registry-alternatives, face-font-registry-alternatives)
16930 (face-font-family-alternatives):
16931 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16932 (facemenu-foreground-menu, facemenu-face-menu):
16933 * epa-hook.el (epa-file-name-regexp):
16934 * dnd.el (dnd-protocol-alist):
16935 * textmodes/rst.el (auto-mode-alist):
16936 * button.el (default-button): Purecopy strings.
16938 2009-11-06 Glenn Morris <rgm@gnu.org>
16940 * Makefile.in (ELCFILES): Update.
16942 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16944 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16945 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16947 * nxml/xsd-regexp.el (xsdre-gen-categories):
16948 * nxml/xmltok.el (xmltok-parse-entity):
16949 * nxml/rng-parse.el (rng-parse-validate-file):
16950 * nxml/rng-maint.el (rng-format-manual)
16951 (rng-manual-output-force-new-line):
16952 * nxml/rng-loc.el (rng-save-schema-location-1):
16953 * nxml/rng-cmpct.el (rng-c-parse-file):
16954 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16955 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16957 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16959 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16960 Remove extra save-excursions and make-variable-buffer-local's.
16961 Suggested by Stefan Monnier.
16963 (verilog-getopt-file, verilog-module-inside-filename-p)
16964 (verilog-set-define): Merge GNU 1.35 and repair changes from
16965 switching to using with-current-buffer.
16967 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16968 being treated as a number and confusing AUTORESET.
16969 Reported by Dan Dever.
16971 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16972 Add verilog-auto-ignore-concat to fix backward compatibility with
16973 older verilog-modes. Reported by Dan Katz.
16975 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16976 containing closing anchors "...$".
16978 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16979 Reported by Wade Smith.
16981 (verilog-batch-execute-func): Comment on function usage.
16983 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16985 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16988 (verilog-label-re, verilog-calc-1): Support proper indent of named
16991 (verilog-backward-token, verilog-basic-complete-re)
16992 (verilog-beg-of-statement, verilog-indent-re): Support proper
16993 indent of the assert statement at the beginning of a block of text.
16995 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16996 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16999 2009-11-05 Glenn Morris <rgm@gnu.org>
17001 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17002 Emacs 19. (Bug#1531)
17003 (byte-compile-fix-header): Update for the above change.
17004 Drop test for epoch::version.
17006 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17007 * cus-dep.el (custom-make-dependencies):
17008 * finder.el (finder-compile-keywords):
17009 Use autoload-rubric's feature argument.
17011 * calendar/diary-lib.el (top-level): Make load behave more like require.
17013 * vc-git.el (vc-git-stash-map): Move definition before use.
17015 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17017 * custom.el (custom-declare-group): Purecopy standard-value.
17018 (custom-declare-group): Purecopy custom-prefix.
17020 * international/mule.el (load-with-code-conversion):
17021 Call do-after-load-evaluation unconditionally.
17023 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17025 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17027 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17029 2009-11-04 Glenn Morris <rgm@gnu.org>
17031 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17032 (byte-compile-compatibility): Remove option.
17033 (byte-compile-close-variables, byte-compile-fix-header)
17034 (byte-compile-insert-header, byte-compile-output-docform)
17035 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17036 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17037 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17038 (byte-compile-insert, byte-compile-defun):
17039 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17040 (byte-defop-compiler19): Remove.
17041 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17042 used by anything. Replace all calls with byte-defop-compiler.
17044 2009-11-04 Juri Linkov <juri@jurta.org>
17046 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17047 (menu-bar-options-menu): Don't quote the `prop' arg of
17048 `menu-bar-make-mm-toggle'.
17050 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17052 * calendar/calendar.el (cal-loaddefs):
17053 * calendar/diary-lib.el (diary-loaddefs):
17054 * calendar/holidays.el (hol-loaddefs):
17055 * eshell/esh-module.el (esh-groups): Load rather than require.
17057 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17059 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17061 (todo-top-priorities): Only display-buffer when called interactively.
17062 (todo-item-start): Don't save excursion point.
17063 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17064 (todo-insert-item-here, todo-file-item, todo-remove-item):
17065 Adjust uses of todo-item-start and todo-item-end.
17067 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17068 (autoload-rubric): Don't use any more.
17070 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17071 and only put a prop if it is non-nil.
17073 2009-11-03 Juri Linkov <juri@jurta.org>
17075 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17076 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17078 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17079 and "Menu" to make top-level menu item visually one unit (like
17080 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17081 multi-word menu items). Fix :help string for quit-window.
17083 2009-11-03 Glenn Morris <rgm@gnu.org>
17085 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17086 (byte-compile-file-form-define-abbrev-table)
17087 (byte-compile-file-form-custom-declare-variable)
17088 (byte-compile-variable-ref, byte-compile-defvar):
17089 Whether or not a warning is enabled should only affect whether we issue
17090 the warning, not whether or not we collect the relevant data.
17091 Eg warnings can be turned on and off throughout the course of a file.
17093 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17094 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17096 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17099 * play/mpuz.el (mpuz-create-buffer):
17100 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17101 (lm-print-y,s,noise, lm-print-w0, lm-init):
17102 * play/gomoku.el (gomoku-prompt-for-move):
17103 * play/fortune.el (fortune-in-buffer):
17104 * play/dissociate.el (dissociated-press):
17105 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17106 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17107 * mail/supercite.el (sc-eref-show):
17108 * mail/smtpmail.el (smtpmail-send-it):
17109 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17110 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17111 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17112 (rmail-summary-goto-msg, rmail-summary-expunge)
17113 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17114 (rmail-summary-add-label, rmail-summary-output-menu)
17115 (rmail-summary-output-body):
17116 * mail/rfc822.el (rfc822-addresses):
17117 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17118 * mail/mailpost.el (post-mail-send-it):
17119 * mail/hashcash.el (hashcash-generate-payment):
17120 * mail/feedmail.el (feedmail-run-the-queue)
17121 (feedmail-queue-send-edit-prompt-help-first)
17122 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17123 (feedmail-deduce-address-list):
17124 * eshell/esh-ext.el (eshell-remote-command):
17125 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17126 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17127 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17128 (viper-save-string-in-file, viper-valid-marker):
17129 * emulation/viper-keym.el (viper-toggle-key):
17130 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17131 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17132 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17133 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17134 (viper-exec-form-in-emacs, viper-brac-function):
17135 * emulation/viper.el (viper-delocalize-var):
17136 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17137 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17138 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17139 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17140 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17141 * emulation/edt.el (edt-electric-helpify):
17142 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17143 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17144 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17145 (cua-indent-to-global-mark-column):
17146 * calendar/diary-lib.el (calendar-mark-1):
17147 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17148 Use with-current-buffer.
17149 * emulation/viper.el (viper-delocalize-var): Use dolist.
17151 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17153 * comint.el (comint-replace-by-expanded-history-before-point):
17154 Replace !! with the previous input string literally (Bug#1795).
17156 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17158 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17159 to be made up of whitespace.
17161 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17163 * minibuffer.el (read-file-name): Don't use file dialogs for
17164 remote directories (Bug#99).
17166 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17168 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17170 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17172 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17173 instead of deleting the window or frame.
17175 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17177 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17178 Support face colors.
17180 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17181 New function. Support face colors (Bug#1168).
17182 (tex-common-initialization): Use it.
17184 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17185 mode allows it (Bug#1168).
17187 2009-10-31 Juri Linkov <juri@jurta.org>
17189 * facemenu.el (list-colors-display): Don't mark buffer as
17190 modified (Bug#3948).
17192 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17194 * international/mule-diag.el (list-character-sets-1):
17195 Minor message fix (Bug#3526).
17197 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17198 Fix face property (Bug#4834).
17199 (etags-list-tags, etags-tags-apropos-additional)
17200 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17203 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17206 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17208 * textmodes/two-column.el (2C-split):
17209 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17210 * textmodes/tex-mode.el (tex-set-buffer-directory):
17211 * textmodes/spell.el (spell-region, spell-string):
17212 * textmodes/reftex.el (reftex-erase-buffer):
17213 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17214 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17215 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17216 (reftex-select-item):
17217 * textmodes/reftex-ref.el (reftex-label-info-update)
17218 (reftex-offer-label-menu):
17219 * textmodes/reftex-index.el (reftex-index-change-entry)
17220 (reftex-index-phrases-info):
17221 * textmodes/reftex-global.el (reftex-create-tags-file)
17222 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17223 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17224 (reftex-view-crossref-from-bibtex):
17225 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17226 (reftex-extract-bib-entries-from-thebibliography)
17227 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17228 * textmodes/refbib.el (r2b-capitalize-title):
17229 (r2b-convert-buffer, r2b-help):
17230 * textmodes/page-ext.el (pages-directory)
17231 (pages-directory-goto-with-mouse):
17232 * textmodes/bibtex.el (bibtex-validate-globally):
17233 * textmodes/bib-mode.el (bib-capitalize-title):
17234 * textmodes/artist.el (artist-clear-buffer, artist-system):
17235 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17236 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17237 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17238 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17239 (xscheme-send-control-g-interrupt, xscheme-start-process)
17240 (xscheme-process-sentinel, xscheme-cd):
17241 * progmodes/verilog-mode.el (verilog-read-always-signals)
17242 (verilog-set-define, verilog-getopt-file)
17243 (verilog-module-inside-filename-p):
17244 * progmodes/sh-script.el:
17245 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17246 (python-pdbtrack-grub-for-buffer, python-execute-file):
17247 * progmodes/octave-inf.el (inferior-octave):
17248 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17249 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17250 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17251 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17252 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17253 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17254 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17255 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17256 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17257 (idlwave-shell-examine-display, idlwave-shell-run-region)
17258 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17259 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17260 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17261 (idlwave-help-get-help-buffer):
17262 * progmodes/gud.el (gud-basic-call, gud-find-class)
17263 (gud-tooltip-activate-mouse-motions-if-enabled):
17264 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17265 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17266 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17267 (ebrowse-tags-next-file):
17268 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17269 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17270 (ebnf-eps-finish-and-write):
17271 * progmodes/cpp.el (cpp-edit-save):
17272 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17273 * progmodes/cc-defs.el (c-emacs-features):
17274 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17275 (antlr-directory-dependencies):
17276 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17277 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17278 (ada-find-any-references, ada-make-filename-from-adaname)
17279 (ada-make-body-gnatstub):
17280 * obsolete/rnews.el (news-list-news-groups):
17281 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17282 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17283 * net/rcirc.el (rcirc-debug):
17284 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17285 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17286 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17287 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17288 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17289 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17290 (newsticker--treeview-list-clear-highlight)
17291 (newsticker--treeview-list-update-highlight)
17292 (newsticker--treeview-list-highlight-start)
17293 (newsticker--treeview-tree-update-highlight)
17294 (newsticker--treeview-get-selected-item)
17295 (newsticker-treeview-mark-list-items-old)
17296 (newsticker--treeview-set-current-node):
17297 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17298 * net/newst-backend.el (newsticker--get-news-by-funcall)
17299 (newsticker--get-news-by-wget, newsticker--image-get)
17300 (newsticker--image-sentinel):
17301 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17302 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17303 (eudc-ph-close-session):
17304 * net/eudc.el (eudc-save-options):
17305 * language/thai-word.el (thai-update-word-table):
17306 * language/japan-util.el (japanese-string-conversion):
17307 * international/titdic-cnv.el (tsang-quick-converter)
17308 (ziranma-converter, ctlau-converter):
17309 * international/mule-cmds.el (describe-language-environment):
17310 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17311 (skkdic-convert-postfix, skkdic-convert-prefix):
17312 (skkdic-convert-okuri-nasi, skkdic-convert):
17313 * emacs-lisp/re-builder.el (reb-update-overlays):
17314 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17315 * emacs-lisp/gulp.el (gulp-send-requests):
17316 * emacs-lisp/find-gc.el (trace-call-tree):
17317 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17318 (eieio-describe-generic):
17319 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17320 * emacs-lisp/edebug.el (edebug-outside-excursion):
17321 * emacs-lisp/debug.el (debugger-make-xrefs):
17322 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17323 * emacs-lisp/chart.el (chart-new-buffer):
17324 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17325 Use with-current-buffer.
17326 * textmodes/artist.el (artist-system): Don't call
17327 copy-sequence on a fresh string.
17328 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17330 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17332 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17333 is no item to edit. (Bug#4820)
17334 (todo-top-priorities): Restore point and restore narrowing in Todo
17337 2009-10-31 Glenn Morris <rgm@gnu.org>
17339 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17340 (comint-last-output-start, comint-last-input-start)
17341 (comint-last-input-end): Don't defvar when compiling.
17342 (ange-ftp-process-file): Use bound-and-true-p.
17344 * pcmpl-rpm.el (top-level): Move provide statement to end.
17345 (pcmpl-rpm): Remove unused custom group.
17347 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17349 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17351 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17352 (byte-compile-warnings): Add `constants' as an option.
17353 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17354 (display-call-tree): Update for byte-compile-fdefinition possibly
17355 returning `(macro lambda ...)'. (Bug#4778)
17356 (byte-compile-variable-ref, byte-compile-setq-default):
17357 Respect `constants' member of byte-compile-warnings.
17359 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17361 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17362 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17365 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17367 * textmodes/ispell.el (ispell-skip-region-alist):
17368 * international/mule-conf.el (eight-bit):
17369 * international/fontset.el (font-encoding-alist):
17370 * startup.el (pure-space-overflow-message):
17371 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17372 * paths.el (gnus-nntp-service, rmail-spool-directory)
17373 (term-file-prefix):
17374 * files.el (save-some-buffers-action-alist):
17375 * cmuscheme.el (same-window-buffer-names):
17376 * ielm.el (same-window-buffer-names):
17377 * shell.el (same-window-buffer-names):
17378 * mail/sendmail.el (same-window-buffer-names):
17379 * progmodes/inf-lisp.el (same-window-buffer-names):
17380 * bindings.el (mode-line-client)
17381 (mode-line-column-line-number-mode-map):
17382 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17383 (tibetan-precomposed-regexp): Purecopy string arguments.
17385 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17387 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17388 (calcDigit-nondigit):
17389 * calc/calc-yank.el (calc-copy-to-buffer):
17390 * calc/calc-units.el (calc-invalidate-units-table):
17391 * calc/calc-trail.el (calc-trail-yank):
17392 * calc/calc-store.el (calc-insert-variables):
17393 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17394 * calc/calc-prog.el (calc-read-parse-table):
17395 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17396 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17397 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17398 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17399 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17400 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17401 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17402 * calc/calc-ext.el (calc-realign):
17403 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17404 (calc-embedded-finish-edit, calc-embedded-make-info)
17405 (calc-embedded-finish-command, calc-embedded-stack-change):
17406 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17408 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17409 shell-dynamic-complete-filename in preference to
17410 comint-dynamic-complete-filename.
17412 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17413 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17414 Don't consider whether the display supports colors.
17415 (bookmark-import-new-list): Use dolist.
17416 (bookmark-bmenu-mode-map): Move initialization into declaration.
17417 (bookmark-bmenu-list): Use dolist, simplify.
17418 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17419 (menu-bar-final-items): Use push.
17421 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17423 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17424 it works on remote files.
17425 (vc-hg-diff): Don't pass any `--cwd' argument.
17427 2009-10-27 Kevin Ryde <user42@zip.com.au>
17429 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17430 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17431 (Further to Bug#3921).
17433 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17435 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17436 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17437 calling `tramp-imap-put-file'. Add file size to the call.
17438 (tramp-imap-get-file-entries): Compute also user name, file size,
17440 (tramp-imap-handle-insert-directory): Insert uid and gid.
17441 (tramp-imap-handle-file-attributes): Transform uid and gid
17442 according to `id-format'.
17443 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17444 size in header X-Size.
17446 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17448 * simple.el (transpose-subr): Give clearer error when the mark
17449 is not set. (Bug#4807)
17451 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17453 * net/tramp.el (tramp-perl-file-truename): New defconst.
17454 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17455 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17456 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17457 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17459 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17460 Ignore `dired-call-process'.
17461 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17463 2009-10-26 Julian Scheid <julians37@gmail.com>
17465 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17466 (tramp-get-remote-readlink): New defun.
17467 (tramp-handle-file-truename): Use it.
17468 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17469 file exists if cache value present.
17470 (tramp-check-cached-permissions): New defun.
17471 (tramp-handle-file-readable-p): Use it.
17472 (tramp-handle-file-writable-p): Likewise.
17473 (tramp-handle-file-executable-p): Likewise.
17474 (tramp-handle-file-name-all-completions): Try using Perl to get
17475 partial completions. When perl not available, combine `cd' and
17476 `ls' into single remote operation and use shell expansion to get
17477 partial remote directory contents. Set `file-exists-p' cache for
17478 directory and any files returned by ls. Change cache handling to
17479 support partial directory contents. Use error message emitted by
17480 remote `cd' or Perl code for local tramp-error.
17481 (tramp-do-copy-or-rename-file-directly): Avoid separate
17482 tramp-send-command-and-check call.
17483 (tramp-handle-process-file): Merge three remote ops into one.
17484 Do not flush all caches when `process-file-side-effects' is set.
17485 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17486 file-attributes shows uid/gid to be set already.
17488 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17490 * textmodes/tex-mode.el (tex-dvi-view-command)
17491 (tex-show-queue-command, tex-open-quote):
17492 * progmodes/ruby-mode.el (auto-mode-alist)
17493 (interpreter-mode-alist): Purecopy strings.
17495 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17497 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17498 string for the hook, keymap and abbrev table.
17500 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17502 * x-dnd.el (x-dnd-xdnd-to-action):
17503 * startup.el (fancy-startup-text, fancy-about-text): Change to
17504 defconst from defvar.
17506 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17508 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17509 Purecopy initialization strings.
17511 * mail/sendmail.el (mail-header-separator)
17512 (mail-personal-alias-file):
17513 * mail/rmail.el (rmail-default-dont-reply-to-names)
17514 (rmail-ignored-headers, rmail-retry-ignored-headers)
17515 (rmail-highlighted-headers, rmail-secondary-file-directory)
17516 (rmail-secondary-file-regexp):
17517 * files.el (null-device, file-name-invalid-regexp)
17518 (locate-dominating-stop-dir-regexp)
17519 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17520 (interpreter-mode-alist): Use mapcar instead of mapc.
17522 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17524 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17525 (completion-ignored-extensions):
17526 (debug-ignored-errors): Purecopy strings.
17528 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17530 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17531 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17532 (pcomplete--here): Use push.
17534 * subr.el (all-completions): Declare the 4th arg obsolete.
17536 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17538 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17539 (pcomplete-unquote-argument): New function.
17540 (pcomplete--common-suffix): Always pay attention to case.
17541 (pcomplete--table-subvert): Quote and unquote the text.
17542 (pcomplete--common-quoted-suffix): New function.
17543 (pcomplete-std-complete): Use it and pcomplete-begin.
17545 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17546 we're inside a dedicated or minibuffer window.
17548 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17550 * bookmark.el: Update documentation, especially documentation
17551 of `bookmark-alist' and of the bookmark file format.
17552 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17554 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17556 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17557 keybindings apply to the mail buffer (Bug#4003). Shrink help
17560 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17561 (global-whitespace-mode, global-whitespace-newline-mode)
17562 (whitespace-toggle-options, global-whitespace-toggle-options):
17563 Doc fix (Bug#3660).
17565 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17566 of xmltok-start before the end tag was inserted (Bug#2840).
17568 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17569 patterns that are preceded by an open-paren (Bug#1320).
17571 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17573 * files.el (delete-directory): Delete symlinks to directories with
17574 delete-file (Bug#4739).
17576 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17578 * vc.el (vc-backend-for-registration): Rename from
17579 vc-get-backend-for-registration. Update callers.
17581 * international/mule-cmds.el (set-language-info-alist):
17583 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17584 (charset): Purecopy the name.
17585 (define-char-code-property): Purecopy string arguments.
17587 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17588 Purecopy string arguments.
17590 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17591 * ediff-hook.el (menu-bar-ediff-menu):
17592 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17593 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17595 2009-10-24 Glenn Morris <rgm@gnu.org>
17597 * comint.el (comint-dynamic-list-completions):
17598 * term.el (term-dynamic-list-completions): Use choose-completion rather
17599 than obsolete alias mouse-choose-completion.
17601 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17602 file-cache-choose-completion.
17603 (file-cache-choose-completion): Handle an optional event argument.
17604 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17606 * progmodes/octave-mod.el (octave-complete-symbol):
17607 Use choose-completion if mouse-choose-completion is ever removed.
17609 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17612 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17615 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17617 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17619 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17620 Ignore `pred' now that we receive one.
17621 Handle test-completion specially.
17623 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17625 * vc.el (vc-responsible-backend): Throw an error if not backend is
17626 found. Remove the REGISTER argument. Move the code dealing with
17628 (vc-get-backend-for-registration): ... here. New function.
17629 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17630 of vc-responsible-backend, pass the file name instead of the
17633 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17635 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17637 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17638 (pcomplete-comint-setup): Don't modify a global var via
17639 accidental side-effects.
17640 (pcomplete-shell-setup): Adjust call accordingly.
17641 (pcomplete-parse-comint-arguments): Use push.
17643 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17645 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17646 Allow uncapitalized info node names (Bug#3921).
17648 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17649 to the DEBUG file (Bug#3781).
17651 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17653 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17654 dictionary entry (Bug#4579).
17656 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17658 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17659 from `rfn-eshadow-update-overlay-hook' when unloading.
17660 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17661 "rsyncc". Adjust doc string.
17662 (tramp-temp-buffer-file-name): New buffer-local defvar.
17663 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17664 Keep temporary file when indicated by method ("rsync" and
17666 (tramp-handle-write-region): Handle APPEND.
17667 (tramp-delete-temp-file-function): New defun. Added to
17668 `kill-buffer-hook'.
17670 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17672 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17674 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17676 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17677 (color-name-rgb-alist, tty-standard-colors)
17678 (tty-color-mode-alist): Change to defconst.
17680 * simple.el (mark-inactive): Purecopy message.
17682 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17683 (global-map, yank-menu):
17684 * textmodes/ispell.el (ispell-menu-map):
17685 * net/eudc.el (eudc-tools-menu):
17686 * international/mule-cmds.el (describe-language-environment-map)
17687 (setup-language-environment-map, set-coding-system-map)
17688 (mule-menu-keymap):
17689 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17690 * replace.el (occur-mode-map):
17691 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17693 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17695 * calc/calc.el (math-read-number, math-read-number-simple):
17696 Use `save-match-data'.
17698 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17700 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17701 rather than fiddling with global-map bindings, since it should only
17702 affect per-terminal settings.
17703 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17705 * minibuffer.el (completion-table-with-terminator): Allow to specify
17706 the terminator-regexp.
17708 * simple.el (switch-to-completions): Look for *Completions* in other
17711 * pcomplete.el: Allow the use of completion-tables.
17712 (pcomplete-std-complete): New command.
17713 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17714 (pcomplete--here): Use a function for `form' rather than an expression,
17715 so it can be byte-compiled.
17716 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17717 Add edebug declaration.
17718 (pcomplete-show-completions): Remove unused var `curbuf'.
17719 (pcomplete-do-complete, pcomplete-stub):
17720 Don't assume `completions' is a list of strings any more.
17722 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17724 * find-dired.el (find-name-arg): Fix typo in docstring.
17726 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17728 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17729 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17731 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17734 * comint.el (comint-read-input-ring, comint-write-input-ring)
17735 (comint-substitute-in-file-name)
17736 (comint-dynamic-complete-as-filename)
17737 (comint-dynamic-simple-complete)
17738 (comint-dynamic-list-filename-completions)
17739 (comint-dynamic-list-completions)
17740 (comint-redirect-results-list-from-process): Minor simplifications.
17742 2009-10-21 Kevin Ryde <user42@zip.com.au>
17744 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17745 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17746 the first form. And insert a blank line after ";;; Code" since
17747 that's usual style. (Bug#4612)
17749 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17751 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17753 * minibuffer.el (completion-table-with-terminator): Properly implement
17754 boundaries, in case `terminator' appears in the suffix.
17755 (completion--embedded-envvar-table): Don't return boundaries if
17756 there's no valid completion. Simplify.
17757 (completion-file-name-table): New completion table extracted from
17758 completion--file-name-table.
17759 (completion--file-name-table): Use it.
17760 (read-file-name-predicate): Declare obsolete.
17761 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17762 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17763 completion-file-name-table, and use the `pred' argument.
17764 * files.el (locate-file-completion-table): Use the `pred' arg rather
17765 than read-file-name-predicate.
17766 (abbreviate-file-name): Use \` rather than ^ for BOS.
17768 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17770 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17771 vc-responsible-backend to register, it causes problems.
17773 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17775 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17777 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17779 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17780 (tramp-smb-handle-file-attributes): Use it.
17781 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17782 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17783 `mapcar'. Use `tramp-smb-get-stat-capability'.
17784 Add `dired-filename' text properties.
17785 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17786 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17789 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17791 * subr.el (read-key-delay): Reduce to 0.01.
17792 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17795 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17797 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17799 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17800 (Info-menu): Remove unused vars `last' and `completions'.
17801 (Info-index-nodes): Remove unused var `node'.
17803 * info.el (Info-complete-menu-item): Use complete-with-action.
17805 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17807 Make vc-annotate work through copies and renames.
17808 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17809 Return the file name too.
17810 (vc-annotate-revision-at-line)
17811 (vc-annotate-find-revision-at-line)
17812 (vc-annotate-revision-previous-to-line)
17813 (vc-annotate-show-log-revision-at-line): Update to get the file
17814 name from vc-annotate-extract-revision-at-line.
17815 (vc-annotate-show-diff-revision-at-line-internal): Change the
17816 argument to mean whether to show a file diff or not. Get the file
17817 name from vc-annotate-extract-revision-at-line.
17818 (vc-annotate-show-diff-revision-at-line):
17819 Update vc-annotate-show-diff-revision-at-line call.
17820 (vc-annotate-warp-revision): Add an optional file argument.
17822 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17823 (vc-git-annotate-extract-revision-at-line): Also return the file
17826 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17827 command. Remove unused code.
17828 (vc-hg-annotate-re): Update to match --follow output.
17829 (vc-hg-annotate-extract-revision-at-line): Also return the file
17832 * vc.el: Update annotate-extract-revision-at-line documentation.
17834 2009-10-18 Kevin Ryde <user42@zip.com.au>
17836 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17837 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17839 * net/browse-url.el (browse-url): Identify alist with "consp and
17840 not functionp" and let all other things go down the `apply' leg,
17841 as suggested by Stefan. (Further to bug#4531.)
17843 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17845 * minibuffer.el (read-file-name): Check for repeat before putting
17846 a default argument in file-name-history (Bug#4657).
17848 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17849 read syntax (Bug#4737).
17851 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17853 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17855 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17856 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17857 entries and make note of obsolete tags.
17859 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17861 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17863 2009-10-18 Glenn Morris <rgm@gnu.org>
17865 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17866 grep, so that binary files (eg international/uni-bidi.el) can match.
17867 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17868 now, and in any case the file header format has changed.
17870 2009-10-17 Glenn Morris <rgm@gnu.org>
17872 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17873 (flyspell-get-word, flyspell-large-region)
17874 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17876 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17878 * Makefile.in (ELCFILES): Add ede/shell.
17880 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17882 * term/common-win.el (x-colors): Purecopy it.
17884 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17886 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17887 permissive for when the buffer is empty.
17888 (tar-header-block-tokenize): Decode the username and groupname.
17889 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17891 2009-10-17 Eric Ludlam <zappo@gnu.org>
17893 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17894 contains multibyte characters, choose first applicable coding
17895 system automatically.
17897 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17899 * international/mule-cmds.el (select-safe-coding-system): If the file
17900 has a coding cookie, use it regardless of any other setting (bug#4712).
17902 2009-10-17 Glenn Morris <rgm@gnu.org>
17904 * foldout.el (foldout-mouse-swallow-events):
17905 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17907 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17908 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17909 (dired-keep-marker-symlink, dired-dwim-target)
17910 (dired-copy-preserve-time): Do not autoload these defcustoms.
17912 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17913 messages from messing up the file coding. (Bug#4623)
17915 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17917 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17918 if no match is found for the current dictionary. (Bug#4578)
17920 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17921 optional, since that is how it is documented, and this is often called
17922 with a nil argument. (Bug#4577)
17923 (flyspell-external-point-words, flyspell-auto-correct-word)
17924 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17925 (flyspell-word-search-backward): Remove nil argument in calls to
17926 flyspell-get-word, since it is not needed now.
17928 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17930 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17932 2009-10-16 Glenn Morris <rgm@gnu.org>
17934 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17936 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17938 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17939 (ange-ftp-file-size): New function.
17940 (ange-ftp-file-attributes): Use it.
17942 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17944 * net/tramp-smb.el (tramp-smb-version): New defvar.
17945 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17948 2009-10-16 Glenn Morris <rgm@gnu.org>
17950 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17951 Maybe copy some custom properties from old to new name. (Bug#4706)
17953 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17955 * subr.el (error, sit-for, start-process-shell-command)
17956 (start-file-process-shell-command): Set the calling convention
17957 after the function definition.
17959 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17961 * subr.el (error, sit-for, start-process-shell-command)
17962 (start-file-process-shell-command): Use the new
17963 set-advertised-calling-convention feature.
17965 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17967 * international/ucs-normalize.el (ucs-normalize-version):
17969 (check-range): Adjust for Unicode 5.2.
17971 2009-10-15 Juri Linkov <juri@jurta.org>
17973 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17974 to the `menu-item' format.
17976 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17978 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17979 if the environment variable does not exist.
17981 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17982 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17984 (tramp-smb-handle-add-name-to-file)
17985 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17986 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17987 (tramp-smb-handle-file-attributes)
17988 (tramp-smb-do-file-attributes-with-stat)
17989 (tramp-smb-handle-file-local-copy)
17990 (tramp-smb-handle-insert-directory)
17991 (tramp-smb-handle-make-directory)
17992 (tramp-smb-handle-make-directory-internal)
17993 (tramp-smb-handle-make-symbolic-link)
17994 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17995 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17996 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17997 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17998 Handle long file names.
17999 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18000 process is running.
18001 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18002 Read share names with "-g" option.
18004 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18006 * net/rcirc.el (rcirc-view-log-file): New command.
18007 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18008 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18011 2009-10-15 Glenn Morris <rgm@gnu.org>
18013 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18014 from the second command-line argument.
18015 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18016 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18017 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18018 w32-batch-update-autoloads.
18019 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18020 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18022 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18023 the headers cannot be located. Simplify, subtracting superflous
18026 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18028 Replace completion-base-size by completion-base-position to fix bugs
18029 such as (bug#4699).
18030 * simple.el (completion-base-position): New var.
18031 (completion-base-size): Mark as obsolete.
18032 (choose-completion): Make it work for mouse events as well.
18033 Pass the new base-position to choose-completion-string.
18034 (choose-completion-guess-base-position): New function, extracted from
18035 choose-completion-delete-max-match.
18036 (choose-completion-delete-max-match): Use it. Make obsolete.
18037 (choose-completion-string): Use the new base-position info.
18038 (completion-root-regexp): Delete.
18039 (completion-setup-function): Preserve completion-base-position.
18040 Eliminate obsolete base-size manipulation.
18041 * minibuffer.el (display-completion-list): Don't mess with base-size.
18042 (minibuffer-completion-help): Set completion-base-position instead.
18043 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18045 * textmodes/bibtex.el (bibtex-complete):
18046 * emacs-lisp/crm.el (crm--choose-completion-string):
18047 Adjust to new calling convention.
18048 * complete.el (partial-completion-mode): Use minibufferp to avoid
18049 bumping into incompatible change to choose-completion-string-functions.
18050 * ido.el (ido-choose-completion-string): Make its calling convention
18052 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18053 base-size manipulation.
18054 (comint-dynamic-list-input-ring): Use dotimes and push.
18055 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18056 fundamental-mode. Use `or'.
18058 2009-10-14 Juri Linkov <juri@jurta.org>
18060 * misearch.el (multi-isearch-next-buffer-from-list)
18061 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18063 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18065 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18068 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18069 string we return is all made up of text from the completions rather
18070 than part from the completions and part from the input (bug#4219).
18072 * ido.el (ido-everywhere): Use define-minor-mode.
18074 * buff-menu.el (list-buffers, ctl-x-map):
18075 Mark the entry points with ;;;###autoload cookies.
18077 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18079 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18080 correctly in the detached head case.
18081 (vc-git-print-log): Remove unused binding.
18083 * vc.el (vc-responsible-backend): When a directory is passed for
18084 for registration create a VC repository if no backend is
18085 responsible for the directory argument.
18086 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18088 * vc.el: Move comments about RCS and SCCS ...
18090 * vc-sccs.el: ... here, respectively.
18092 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18094 * minibuffer.el (completion--file-name-table): Return nil if there's
18095 no file completion, even if substitute-in-file-name changed
18096 the string (bug#4708).
18098 2009-10-13 Juri Linkov <juri@jurta.org>
18100 * files-x.el (read-file-local-variable-value): Don't filter out
18101 minor modes from mode name completion (bug#4664).
18103 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18105 * international/mule-cmds.el (ucs-names): Remove exclusion of
18106 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18108 2009-10-13 Kenichi Handa <handa@m17n.org>
18110 * international/uni-name.el: Regenerated.
18112 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18114 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18115 should be automatically buffer-local, but isn't.)
18117 2009-10-12 Sam Steingold <sds@gnu.org>
18119 * progmodes/compile.el (compilation-next-error-function): Fix the
18120 timestamps if the buffer has been visited before.
18121 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18122 non-anchored patterns, like the perl one (bug#3928).
18124 2009-10-12 Glenn Morris <rgm@gnu.org>
18126 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18129 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18131 * proced.el (proced-unload-function): New function.
18133 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18134 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18137 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18139 2009-10-11 Juri Linkov <juri@jurta.org>
18141 * files-x.el (read-file-local-variable-value):
18142 Provide default value only for bound variables (bug#4664).
18144 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18146 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18147 connection methods like smb.
18149 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18152 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18153 (tramp-smb-file-name-handler-alist): Add handlers for
18154 `add-name-to-file', `make-symbolic-link'.
18155 (tramp-smb-handle-add-name-to-file)
18156 (tramp-smb-do-file-attributes-with-stat)
18157 (tramp-smb-handle-make-symbolic-link)
18158 (tramp-smb-get-cifs-capabilities): New defuns.
18159 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18160 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18161 (tramp-smb-handle-file-local-copy)
18162 (tramp-smb-handle-make-directory-internal)
18163 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18164 The file name syntax depends on cifs capabilities.
18165 (tramp-smb-handle-file-attributes):
18166 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18167 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18168 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18170 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18172 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18173 (eieio-defclass): Apply deftype handler and setf-method properties
18175 (eieio-add-new-slot): Avoid union function from cl library.
18176 (eieio--typep): New function.
18177 (eieio-perform-slot-validation): Use it.
18179 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18181 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18182 Update documentation to refer to the variables documented in r1.135.
18185 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18187 * bookmark.el (Info-suffix-list): Remove this unused variable.
18188 (bookmark-current-point): Remove this obsolete variable.
18189 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18190 Adjust for removal of bookmark-current-point.
18192 (bookmarks-already-loaded, bookmark-current-buffer)
18193 (bookmark-yank-point): Document. (Bug#4188)
18195 2009-10-10 Glenn Morris <rgm@gnu.org>
18197 * frame.el (frame-height): Doc fix.
18199 * calendar/calendar.el (calendar-split-width-threshold): New option.
18200 (calendar-basic-setup): Use calendar-split-width-threshold.
18202 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18204 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18205 Ideographic Supplement" range (U+1F200..U+1F2FF).
18207 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18209 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18210 since the list will have been rebuilt anyway. (Bug#4349)
18212 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18214 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18215 (bookmark-bmenu-execute-deletions): Don't save here, as
18216 bookmark-delete will now do so if necessary.
18217 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18220 2009-10-09 Glenn Morris <rgm@gnu.org>
18222 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18224 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18226 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18227 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18228 argument now, so the two function's behaviors will match. (Bug#3645)
18230 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18232 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18233 (tramp-file-name-real-host, tramp-file-name-port):
18234 Apply `save-match-data'.
18236 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18237 case both directories are remote.
18238 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18239 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18241 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18243 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18245 2009-10-07 Glenn Morris <rgm@gnu.org>
18247 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18250 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18252 * files-x.el (read-file-local-variable): Include some
18253 non-user-variables in the completion table (bug#4664).
18255 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18257 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18260 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18261 (tramp-smb-file-name-handler-alist): Add handler for
18262 `copy-directory', `expand-file-name', `set-file-modes'.
18263 (tramp-smb-handle-copy-directory)
18264 (tramp-smb-handle-expand-file-name)
18265 (tramp-smb-handle-set-file-modes): New defuns.
18266 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18267 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18269 (tramp-smb-handle-insert-directory): Don't flush the cache.
18270 (tramp-smb-maybe-open-connection): Check for samba client and
18273 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18275 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18276 to not error out of search for "^lisp=" fails.
18278 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18280 * makefile.w32-in (WINS_UPDATES): New macro.
18281 (custom-deps, finder-data, autoloads): Use it.
18283 2009-10-07 Glenn Morris <rgm@gnu.org>
18285 * Makefile.in (autoloads): Revert previous change.
18286 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18287 the list of preloaded files passed on the command-line, get
18288 it from src/Makefile.
18290 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18291 show the original buffer rather than a random one.
18293 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18295 * help.el (describe-no-warranty): Place point in a slightly better
18296 position in the GPLv3 text.
18298 2009-10-06 Sam Steingold <sds@gnu.org>
18300 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18301 the comm attribute is present before calling regexp-quote.
18303 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18305 * play/animate.el (animate-string): For good effect, make sure
18306 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18308 * play/animate.el (animate-sequence, animate-birthday-present):
18309 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18311 2009-10-06 Glenn Morris <rgm@gnu.org>
18313 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18315 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18316 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18317 (batch-update-autoloads): Process a string value of autoload-excludes,
18318 set during the build process.
18319 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18321 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18322 inside with-parsed... macro so that `v' is defined.
18324 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18325 * progmodes/fortran.el (fortran-end-of-block)
18326 (fortran-beginning-of-block):
18327 Also push mark in the macro case.
18329 * emerge.el (emerge-show-file-name):
18330 * calc/calc.el (calc-quit):
18331 * calc/calc-misc.el (calc-big-or-small):
18332 * calc/calc-graph.el (calc-graph-view):
18333 * calc/calc-ext.el (calc-reset):
18334 * calendar/calendar.el (calendar-basic-setup):
18335 Use window-full-height-p.
18337 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18338 header we don't understand, don't insert another. (Bug#4624)
18339 If changing mime charset, insert the new one in the right place.
18341 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18343 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18344 (cal-tex-cursor-month): Correctly increment the end date for diary and
18345 holiday listing. (Bug#4626)
18347 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18349 * help-fns.el (describe-function-1): Don't burp if the function is not
18352 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18354 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18355 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18356 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18357 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18359 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18360 (eieio-default-superclass): Reflow docstrings.
18361 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18362 (eieio-unbind-method-implementations, defmethod)
18363 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18364 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18365 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18366 (eieio-slot-originating-class-p, eieio-slot-name-index)
18367 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18368 (constructor, initialize-instance, no-next-method, object-print)
18369 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18370 Fix typos in docstrings.
18371 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18372 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18373 (next-method-p): Doc fixes.
18374 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18375 Fix typos in error messages.
18376 (eieio-defmethod): Fix typo in description of generic method.
18378 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18379 (eieio-persistent-save-interactive, slot-missing):
18380 Fix typos in docstrings.
18381 (eieio-instance-inheritor-slot-boundp): Doc fix.
18383 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18384 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18386 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18387 (eieio-custom-object-apply-reset):
18388 Fix typos in docstrings and error messages.
18390 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18391 Fix typo in docstring.
18393 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18394 (eieio-browse-tree): Doc fix.
18395 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18396 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18397 Fix typos in docstrings.
18399 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18400 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18401 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18402 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18405 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18407 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18408 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18409 Set log-view-vc-backend so that diff can work.
18411 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18413 (vc-diff-internal): Autoload this instead of vc-version-diff.
18415 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18417 * simple.el (eval-expression): Doc fix.
18419 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18421 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18423 * files.el (directory-files-no-dot-files-regexp): New defconst.
18424 (delete-directory): Use it.
18425 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18427 * net/tramp.el (tramp-verbose): Fix docstring.
18428 (tramp-methods): Add recursive option to `tramp-copy-args'.
18429 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18430 "scp1_old", "scp2_old", "rsync", "rsyncc".
18431 (tramp-default-method): Check also for `auth-source-user-or-password'.
18432 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18433 Add handler for `copy-directory'.
18434 (tramp-handle-copy-directory): New defun.
18435 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18436 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18437 Optimize sent command.
18439 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18441 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18442 window if necessary.
18444 * calendar/calendar.el (calendar-basic-setup): Don't call
18445 switch-to-buffer in a dedicated window.
18447 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18449 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18450 don't do anything related to relocating, just return nil.
18451 (bookmark-error-no-filename): New error.
18452 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18453 bookmark has no file. Don't even attempt to handle things that
18454 are not files; the whole point of custom handlers is to keep that
18455 knowledge elsewhere anyway. Tighten some comments.
18456 (bookmark-file-or-variation-thereof): Remove now-unused function.
18457 (bookmark-location): Doc string fix.
18460 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18462 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18463 don't use a file dialog, because they usually don't know how to read
18464 a directory target from the user. (Bug#4230)
18465 Also, make sure the prompt can display directories as well as files.
18467 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18469 * bookmark.el (bookmark-set, bookmark-buffer-name):
18470 Improve doc strings. (Bug#1193)
18472 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18474 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18475 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18476 (bookmark-get-annotation, bookmark-set-annotation)
18477 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18478 (bookmark-set-position, bookmark-get-front-context-string)
18479 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18480 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18481 (bookmark-jump-other-window, bookmark-handle-bookmark)
18482 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18483 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18484 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18485 Improve doc strings to say whether bookmark can be a string or
18486 a record or both, and make other consistency and clarity fixes.
18487 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18488 (bookmark-default-annotation-text, bookmark-yank-word)
18489 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18490 (bookmark-import-new-list, bookmark-maybe-rename)
18491 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18492 (bookmark-bmenu-bookmark): Give these doc strings.
18493 (bookmark-bmenu-check-position): Give this a doc string, but also
18494 add a FIXME comment about how the function may be pointless.
18495 (bookmark-default-handler): Rework doc string and change a
18496 parameter name, to clarify that this takes a bookmark record
18497 not a bookmark name.
18498 (bookmark-set): Change a parameter name to indicate its meaning,
18499 and improve the doc string a bit.
18502 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18504 * bookmark.el (bookmark-alist): Document the new `handler' element
18505 in the param alist.
18506 (bookmark-make-record-function): Adjust documentation for above.
18509 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18511 * info.el (Info-bookmark-make-record): Document this function.
18512 (Info-bookmark-jump): Document with a doc string, not just a comment.
18515 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18517 * files.el (copy-directory): New defun.
18519 * dired-aux.el (dired-copy-file-recursive): Use it.
18521 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18523 * files-x.el (modify-dir-local-variable)
18524 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18527 * recentf.el (recentf-unload-function): New function.
18529 2009-10-04 Glenn Morris <rgm@gnu.org>
18531 * window.el (window-full-height-p): Add doc string.
18533 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18535 * window.el (window-full-height-p): New function. (Bug#4543)
18537 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18539 * vc.el: Remove commented out code.
18540 (vc-derived-from-dir-mode): Remove, unused.
18541 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18543 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18545 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18546 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18547 there could be recursive loading when `default-directory' is a
18548 remote file name. (Bug#4614)
18550 2009-10-03 Glenn Morris <rgm@gnu.org>
18552 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18554 (calendar-generate-window): Test for shrinkability rather than width.
18556 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18557 reusing existing buffers, in case we happen to visit two files with the
18558 same basename. (Bug#4593)
18560 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18562 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18563 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18564 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18565 subdirs of cedet as well.
18566 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18568 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18570 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18571 Obey advertised-signature-table.
18573 * help-fns.el (help-function-arglist): Don't check
18574 advertised-signature-table.
18575 (describe-function-1): Do it here instead so it also applies to subrs.
18577 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18579 * simple.el (start-file-process): Say in the doc-string, that file
18580 handlers might not support pty association, if PROGRAM is nil.
18582 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18583 HOST and USER are strings. They are nil, when there are
18584 incomplete entries in ~/.netrc, for example.
18585 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18586 root directory ("device busy" error otherwise).
18588 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18589 Flush file properties of created directory.
18591 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18593 * makefile.w32-in (WINS_BASIC): Remove cedet.
18594 (WINS_CEDET): Add cedet.
18595 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18597 2009-10-02 Kevin Ryde <user42@zip.com.au>
18599 * net/browse-url.el (browse-url): Pass any symbol in
18600 browse-url-browser-function to `apply', since if you've mistakenly put
18601 an unbound symbol then the error is clearer. (Bug#4531)
18603 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18605 * allout.el (allout-init, allout-back-to-current-heading)
18606 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18607 (allout-ascend, allout-up-current-level, allout-end-of-level)
18608 (allout-previous-visible-heading, allout-forward-current-level)
18609 (allout-backward-current-level, allout-show-children):
18610 * apropos.el (apropos-describe-plist):
18611 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18612 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18613 * completion.el (add-completion, add-permanent-completion):
18614 * descr-text.el (describe-text-category, describe-char):
18615 * desktop.el (desktop-lazy-abort):
18616 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18617 * dired.el (dired-build-subdir-alist):
18618 * ediff.el (ediff-version):
18619 * elide-head.el (elide-head, elide-head-show):
18620 * emerge.el (emerge-version):
18622 * face-remap.el (variable-pitch-mode):
18623 * faces.el (describe-face):
18624 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18626 * files.el (find-file-existing, auto-save-mode):
18627 * font-lock.el (font-lock-fontify-buffer):
18628 * help-fns.el (describe-function, describe-variable)
18629 (describe-syntax, describe-categories):
18630 * help.el (view-lossage, describe-bindings, describe-key)
18632 * hexl.el (hexl-current-address):
18633 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18634 * info.el (Info-goto-emacs-key-command-node):
18635 * log-edit.el (log-edit-insert-cvs-template)
18636 (log-edit-insert-cvs-rcstemplate):
18637 * menu-bar.el (menu-bar-mode):
18638 * mouse.el (mouse-appearance-menu):
18639 * newcomment.el (comment-indent-new-line):
18640 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18641 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18642 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18643 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18644 * recentf.el (recentf-mode):
18645 * savehist.el (savehist-mode, savehist-save):
18646 * shadowfile.el (shadow-copy-files):
18647 * simple.el (kill-ring-save, next-line, previous-line)
18648 (normal-erase-is-backspace-mode):
18649 * strokes.el (strokes-update-window-configuration)
18650 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18651 (strokes-xpm-for-stroke):
18652 * time.el (emacs-uptime, emacs-init-time):
18653 * tutorial.el (tutorial--describe-nonstandard-key)
18654 (tutorial--detailed-help):
18655 * type-break.el (type-break-mode)
18656 (type-break-mode-line-message-mode, type-break-query-mode)
18657 (type-break-guesstimate-keystroke-threshold):
18658 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18659 * version.el (emacs-version):
18660 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18661 * winner.el (winner-mode):
18662 * calendar/timeclock.el (timeclock-in, timeclock-out)
18663 (timeclock-status-string, timeclock-change)
18664 (timeclock-workday-remaining-string)
18665 (timeclock-workday-elapsed-string)
18666 (timeclock-when-to-leave-string):
18667 * calendar/todo-mode.el (todo-add-category):
18668 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18669 * emacs-lisp/autoload.el (update-file-autoloads):
18670 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18671 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18672 (checkdoc-message-text, checkdoc-defun):
18673 * emacs-lisp/debug.el (debugger-list-functions):
18674 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18675 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18676 (eieio-describe-generic):
18677 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18678 * emacs-lisp/shadow.el (list-load-path-shadows):
18679 * emulation/cua-base.el (cua-mode):
18680 * emulation/edt.el (edt-set-scroll-margins):
18681 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18682 (tpu-toggle-regexp, tpu-toggle-search-direction)
18683 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18684 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18685 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18686 (viper-set-parsing-style-toggling-macro)
18687 (viper-set-emacs-state-searchstyle-macros):
18688 * emulation/viper.el (viper-set-hooks):
18689 * eshell/esh-mode.el (eshell-truncate-buffer):
18690 * international/mule-cmds.el (prefer-coding-system)
18691 (describe-input-method, describe-language-environment):
18692 * international/mule-diag.el (list-character-sets)
18693 (describe-character-set, describe-coding-system)
18694 (describe-fontset, list-fontsets, list-input-methods):
18695 * mail/sendmail.el (mail-signature):
18696 * net/ange-ftp.el (ange-ftp-copy-file):
18697 * net/browse-url.el (browse-url):
18698 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18699 * net/quickurl.el (quickurl-add-url):
18700 * net/rcirc.el (names, topic):
18701 * net/xesam.el (xesam-mode):
18702 * play/5x5.el (5x5-new-game):
18703 * play/yow.el (apropos-zippy):
18704 * progmodes/ada-mode.el (ada-mode-version):
18705 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18707 (f90-beginning-of-block):
18708 * progmodes/fortran.el (fortran-end-of-block)
18709 (fortran-beginning-of-block):
18710 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18711 * progmodes/python.el (python-describe-symbol, python-shell):
18712 * term/ns-win.el (ns-print-buffer):
18713 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18714 * textmodes/flyspell.el (flyspell-mode-on):
18715 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18716 (pages-directory-for-addresses):
18717 * textmodes/table.el (table-recognize-cell)
18718 (table-query-dimension, table-generate-source)
18719 (table-insert-sequence, table--warn-incompatibility):
18720 * textmodes/tex-mode.el (tex-validate-buffer):
18721 * textmodes/texinfmt.el (texinfmt-version)
18722 (texinfo-format-buffer):
18723 Use `called-interactively-p' instead of `interactive-p'.
18725 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18727 * image-mode.el (image-toggle-display):
18728 * emacs-lisp/elp.el (elp-instrument-function):
18729 * emacs-lisp/advice.el (ad-make-advised-definition):
18730 * emacs-lisp/easy-mmode.el (define-minor-mode):
18731 * net/browse-url.el (browse-url-maybe-new-window):
18732 * progmodes/sh-script.el (sh-learn-buffer-indent):
18733 Pass new argument 'any to `called-interactively-p'.
18735 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18737 * international/uni-bidi.el:
18738 * international/uni-category.el:
18739 * international/uni-combining.el:
18740 * international/uni-comment.el:
18741 * international/uni-decimal.el:
18742 * international/uni-decomposition.el:
18743 * international/uni-digit.el:
18744 * international/uni-lowercase.el:
18745 * international/uni-mirrored.el:
18746 * international/uni-name.el:
18747 * international/uni-numeric.el:
18748 * international/uni-old-name.el:
18749 * international/uni-titlecase.el:
18750 * international/uni-uppercase.el:
18751 Regenerate from Unicode 5.2.0 data.
18753 2009-10-01 Glenn Morris <rgm@gnu.org>
18755 * Makefile.in (ELCFILES): Regenerate.
18757 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18759 * subr.el (interactive-p): Mark obsolete.
18760 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18761 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18762 advertised-signature-table for subroutines as well.
18764 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18765 (set-advertised-calling-convention): New function.
18766 (make-obsolete, define-obsolete-function-alias)
18767 (make-obsolete-variable, define-obsolete-variable-alias):
18768 Make the optional-ness of `when' obsolete.
18769 (define-obsolete-face-alias): Make `when' non-optional.
18770 * help-fns.el (help-function-arglist):
18771 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18772 Use advertised-signature-table.
18774 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18776 * files.el (delete-directory): New defun. The original function
18777 in fileio.c has been renamed to `delete-directory-internal'.
18779 * dired.el (dired-delete-file): Call `delete-directory' with
18780 RECURSIVE parameter.
18782 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18783 parameter RECURSIVE. Implementation is missing.
18785 * net/tramp.el (tramp-handle-make-directory): Flush upper
18786 directory's file properties.
18787 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18788 (tramp-handle-dired-recursive-delete-directory): Flush directory
18789 properties after the remove command only.
18791 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18792 Handle optional parameter RECURSIVE.
18794 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18795 Handle optional parameter RECURSIVE.
18797 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18798 connection timeout.
18799 (tramp-smb-handle-delete-directory): Handle optional parameter
18802 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18804 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18805 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18806 (byte-compile-defmacro): Use backquotes.
18808 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18810 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18811 has no associated file.
18812 (vc-resynch-buffer): Use vc-dir-buffers.
18814 2009-10-01 Glenn Morris <rgm@gnu.org>
18816 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18817 (chart-file-count):
18818 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18819 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18820 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18821 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18822 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18823 (eieio-copy-parents-into-subclass, make-instance, class-children)
18824 (eieio-generic-form):
18826 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18827 match-data. (Bug#4555).
18829 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18830 rather than parsing it as a regexp. This relaxes the layout
18831 requirements and makes errors easier to detect.
18832 (check-declare-verify): Check file is regular.
18833 (check-declare-directory): Doc fix.
18834 * subr.el (declare-function): Doc fix.
18836 * ibuffer.el (ibuffer-format-qualifier):
18837 * isearch.el (hi-lock-regexp-okay):
18838 * calc/calc.el (math-zerop):
18839 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18840 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18841 Remove unused declarations.
18843 2009-09-30 Eric Ludlam <zappo@gnu.org>
18845 * emacs-lisp/eieio.el (boolean-p): Delete.
18847 2009-09-30 Glenn Morris <rgm@gnu.org>
18849 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18851 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18852 filename is not a string.
18854 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18856 * files.el (safe-local-eval-forms): Fix typo.
18858 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18860 * vc-hooks.el (vc-dir-buffers): New var.
18861 (vc-state-refresh): New function.
18862 (vc-state): Use it.
18863 (vc-after-save): Always ask the backend to recompute the new state.
18864 Always call vc-dir if necessary, using vc-dir-buffers.
18865 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18866 Use vc-dir-buffers.
18867 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18868 (vc-dir-prepare-status-buffer, vc-dir-update)
18869 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18870 Don't call expand-file-name on default-directory.
18872 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18874 * speedbar.el (speedbar-item-delete):
18875 * calc/calc-prog.el (calc-kbd-if):
18876 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18878 * epa.el (epa-key-list-mode-map):
18879 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18881 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18882 (hs-show-hook): Fix typo in docstring.
18884 2009-09-29 Glenn Morris <rgm@gnu.org>
18886 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18887 file-name-nondirectory call preventing location of cedet files.
18888 (check-declare-verify): Use literal search rather than re-search.
18889 Add basic defmethod and defclass, and define-overloadable-function.
18891 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18892 Use tramp-compat-file-attributes rather than nonexistent
18893 tramp-compat-handle-file-attributes.
18895 * Makefile.in (lisptagsfiles4): New.
18896 (AUTOGENEL): Add cedet loaddefs files.
18897 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18898 (update-elclist, compile-always, backup-compiled-files)
18899 (bootstrap-clean): Add yet another directory level.
18900 (update-elclist): Use LC_COLLATE rather than COLLATE.
18901 (ELCFILES): Update, via `make update-elclist'.
18903 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18905 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18906 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18907 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18909 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18911 * Makefile.in (lisptagsfiles3): Define.
18912 (TAGS, TAGS-LISP): Use it.
18913 (update-elclist): Add third directory level to look for elc files.
18914 (compile-always): Likewise.
18915 (backup-compiled-files): Likewise.
18916 (bootstrap-clean): Likewise.
18917 (ELCFILES): Update.
18919 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18921 * Makefile.in (ELCFILES): Add CEDET files.
18923 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18925 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18927 * net/tramp.el (top): Require tramp-imap.
18929 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18930 Use `tramp-compat-handle-file-attributes'.
18932 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18934 * net/tramp-imap.el: New package.
18936 2009-09-28 Eric Ludlam <zappo@gnu.org>
18938 * emacs-lisp/chart.el:
18939 * emacs-lisp/eieio-base.el:
18940 * emacs-lisp/eieio-comp.el:
18941 * emacs-lisp/eieio-custom.el:
18942 * emacs-lisp/eieio-datadebug.el:
18943 * emacs-lisp/eieio-opt.el:
18944 * emacs-lisp/eieio-speedbar.el:
18945 * emacs-lisp/eieio.el: New files.
18947 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18949 * whitespace.el (whitespace-trailing-regexp)
18950 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18953 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18955 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18958 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18959 menu-bar-ediff-menu.
18961 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18962 define-overloadable-function.
18964 * progmodes/autoconf.el: Provide autoconf as well, so that this
18965 file can be `require'd.
18967 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18969 * emacs-lisp/autoload.el (generated-autoload-feature)
18970 (generated-autoload-load-name): New vars.
18971 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18972 (make-autoload): Recognize define-overloadable-function and
18973 defclass forms (for EIEIO).
18975 * Makefile.in (update-subdirs): Exclude cedet directory.
18977 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18979 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18981 * faces.el: Default light-background background for region face to
18982 ns_selection_color under NS.
18984 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18986 * net/imap-hash.el: New library, see NEWS.
18988 * Makefile.in (ELCFILES): Add imap-hash.el.
18990 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18992 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18993 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18994 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18995 definition where the docstring could be taken for the return value.
18997 2009-09-26 Glenn Morris <rgm@gnu.org>
18999 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19000 Add option to only show images below a certain size.
19001 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19002 save-excursion calls.
19004 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19006 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19007 subdirectories) and eieio.
19009 2009-09-26 Alan Mackenzie <acm@muc.de>
19011 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19012 Correct buggy bracketing. (Bug#4289)
19014 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19015 character constants (as case labels). (Bug#4289)
19017 2009-09-25 Juri Linkov <juri@jurta.org>
19019 * files.el (safe-local-eval-forms): Allow time-stamp in
19020 before-save-hook (Bug#4554).
19022 2009-09-25 Drew Adams <drew.adams@oracle.com>
19024 * menu-bar.el (list-buffers-directory): Doc fix.
19026 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19028 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19029 Try and avoid copying twice the same paragraph.
19030 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19031 Remove save-excursion.
19032 (log-edit-changelog-entry): Do it here instead.
19034 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19036 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19037 when available, instead of hardcoding mode names. Doc fix.
19039 * menu-bar.el (list-buffers-directory): Add docstring.
19040 Make automatically buffer-local.
19042 * dired.el (dired-mode):
19043 * files.el (cd-absolute):
19044 * pcvs.el (cvs-temp-buffer):
19045 * pcvs-util.el (cvs-get-buffer-create):
19046 * shell.el (shell-mode):
19047 * vc-dir.el (vc-dir-mode):
19048 Don't make `list-buffers-directory' buffer local.
19050 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19052 * comint.el (comint-exec, comint-run, make-comint):
19053 Doc fixes (Bug#4542).
19055 2009-09-25 Glenn Morris <rgm@gnu.org>
19057 * mail/rmailmm.el (rmail-mime): New custom group.
19058 Move all defcustoms in this file into this group.
19059 (rmail-mime-media-type-handlers-alist): Revert previous change.
19060 (rmail-mime-show-images): New option.
19061 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19062 references to it, since it wasn't actually used for anything.
19063 (rmail-mime-insert-image): New function.
19064 (rmail-mime-image): Use rmail-mime-insert-image.
19065 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19066 obey the value of `rmail-mime-show-images' option. Print the size of
19069 2009-09-25 David Engster <deng@randomsample.de>
19071 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19073 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19075 * whitespace.el: Does not highlight trailing spaces While point is
19076 at end of line. Does not highligt spaces at beginning of buffer
19077 while point is at beginning of buffer. Does not highlight spaces
19078 at end of buffer while point is at end of buffer. (Bug#4177)
19080 (whitespace-display-mappings): Adjust initialization.
19081 (whitespace-point, whitespace-font-lock-refontify): New vars.
19082 (whitespace-color-on, whitespace-color-off): Adjust code.
19083 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19084 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19085 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19087 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19089 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19091 * textmodes/sgml-mode.el: Remove xml-mode alias.
19093 * files.el (auto-mode-alist, conf-mode-maybe)
19094 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19096 2009-09-24 Alan Mackenzie <acm@muc.de>
19098 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19099 c-forward-conditionals, but it doesn't move point and doesn't set
19101 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19102 (c-down-conditional-with-else, c-backward-conditional)
19103 (c-forward-conditional): Refactor to use c-scan-conditionals.
19105 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19107 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19108 (help-default-arg-highlight): Remove.
19109 (help-highlight-arg): New function.
19110 (help-do-arg-highlight): Use it.
19111 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19113 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19115 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19116 Undo last change, which didn't fix the problem and introduced others.
19118 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19120 * progmodes/gdb-mi.el: Don't require speedbar.
19121 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19123 2009-09-24 Glenn Morris <rgm@gnu.org>
19125 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19127 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19129 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19130 there is no newline after the final mime boundary. (Bug#4539)
19131 Move markers on insertion so that any buttons inserted don't end up in
19132 the next part of a multipart message.
19133 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19134 (rmail-mime-bulk-handler): Optionally handle images.
19135 (rmail-mime-image): New button action.
19136 (rmail-mime-image-handler): New function.
19137 (rmail-mime-mode): New mode.
19138 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19140 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19142 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19143 than just dropping elements from it (bug#4504).
19145 * term.el (term-set-scroll-region): Don't move cursor any more.
19146 (term-handle-ansi-escape): Call term-goto here instead.
19147 Suggested by Ivan Kanis <apple@kanis.eu>.
19149 * term.el: Require CL.
19150 (term-ansi-reset): New function.
19151 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19152 (term-handle-colors-array): Simplify.
19154 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19156 * allout.el (allout-overlay-interior-modification-handler)
19157 (allout-obtain-passphrase):
19158 * epa-file.el (epa-file-write-region):
19159 * ps-print.el (ps-begin-job):
19160 * vc-hooks.el (vc-toggle-read-only):
19161 * vc-rcs.el (vc-rcs-rollback):
19162 * vc-sccs.el (vc-sccs-rollback):
19163 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19164 (vc-version-diff, vc-revert, vc-rollback):
19165 * wdired.el (wdired-check-kill-buffer):
19166 * emacs-lisp/authors.el (authors):
19167 * net/socks.el (socks-open-connection):
19168 * net/zeroconf.el (zeroconf-service-add-hook):
19169 * obsolete/vc-mcvs.el (vc-mcvs-register):
19170 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19171 (gdb-select-frame):
19172 * progmodes/grep.el (lgrep, rgrep):
19173 * progmodes/idlw-help.el (idlwave-help-check-locations)
19174 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19175 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19176 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19177 (reftex-toc-rename-label): Fix typos in error messages.
19179 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19180 (dired-copy-how-to-fn): Doc fix.
19181 (dired-files-attributes, dired-read-shell-command):
19182 Fix typos in docstrings.
19184 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19185 (dired-x-find-file-other-window): Reflow docstrings.
19186 (dired-omit-marker-char, dired-read-shell-command)
19187 (dired-x-submit-report): Fix typos in docstrings.
19189 * shell.el (shell-mode-hook):
19190 * view.el (View-scroll-line-forward):
19191 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19192 Fix typos in docstrings.
19194 * net/dig.el (dig-invoke): Fix typo in docstring.
19195 (query-dig): Reflow docstring.
19197 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19198 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19199 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19200 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19201 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19202 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19203 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19204 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19205 (idlwave-completion-map, idlwave-current-indent)
19206 (idlwave-custom-ampersand-surround, idlwave-customize)
19207 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19208 (idlwave-define-abbrev, idlwave-determine-class-special)
19209 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19210 (idlwave-end-block-reg, idlwave-end-of-statement)
19211 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19212 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19213 (idlwave-explicit-class-listed, idlwave-file-header)
19214 (idlwave-fill-paragraph, idlwave-find-class-definition)
19215 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19216 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19217 (idlwave-in-quote, idlwave-indent-action-table)
19218 (idlwave-indent-expand-table, idlwave-indent-line)
19219 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19220 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19221 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19222 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19223 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19224 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19225 (idlwave-outlawed-buffers, idlwave-popup-select)
19226 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19227 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19228 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19229 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19230 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19231 (idlwave-statement-type, idlwave-struct-skip)
19232 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19233 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19234 (idlwave-what-module-find-class): Fix typos in docstrings.
19235 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19236 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19237 (idlwave-find-module, idlwave-find-structure-definition)
19238 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19239 (idlwave-list-load-path-shadows, idlwave-next-statement)
19240 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19241 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19242 (idlwave-template): Reflow docstrings.
19244 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19245 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19246 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19247 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19248 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19249 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19250 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19251 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19252 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19253 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19254 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19255 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19256 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19257 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19258 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19259 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19260 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19261 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19262 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19263 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19264 Fix typos in docstrings.
19265 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19266 (idlwave-shell-hide-output, idlwave-shell-mode)
19267 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19270 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19272 2009-09-24 Ivan Kanis <apple@kanis.eu>
19274 * term.el (term-bold-attribute): New var.
19275 (term-handle-colors-array): Use it.
19277 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19279 * progmodes/gdb-mi.el (gdb-version): New variable.
19280 (gdb-non-stop-handler): Set gdb-version.
19281 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19282 Condition "--thread" option on gdb-version.
19283 (gdb-invalidate-threads): Remove unused argument.
19285 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19287 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19288 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19290 2009-09-23 Glenn Morris <rgm@gnu.org>
19292 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19293 replying to mail without References or Message-Id. (Bug#4525)
19295 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19297 * term/ns-win.el (ns-reg-to-script): New variable.
19299 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19301 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19303 2009-09-22 Sam Steingold <sds@gnu.org>
19305 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19306 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19307 to 1 because hg returns status 1 when nothing is found.
19308 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19310 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19312 * textmodes/fill.el: Convert to utf-8 encoding.
19313 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19316 * add-log.el (change-log-fill-forward-paragraph): New function.
19317 (change-log-mode): Use it so fill-region DTRT.
19318 Set fill-indent-according-to-mode here rather than in
19319 change-log-fill-paragraph.
19320 (change-log-fill-paragraph): Remove.
19322 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19324 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19325 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19327 2009-09-22 Glenn Morris <rgm@gnu.org>
19329 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19330 the scroll-bar scroll the calendar window rather than the buffer.
19332 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19333 commands that move point (as opposed to scrolling).
19335 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19337 * emacs-lisp/elint.el (elint): New custom group.
19338 (elint-log-buffer): Make it a defcustom.
19339 (elint-scan-preloaded, elint-ignored-warnings)
19340 (elint-directory-skip-re): New options.
19341 (elint-builtin-variables): Doc fix.
19342 (elint-preloaded-env): New variable.
19343 (elint-unknown-builtin-args): Add an entry for encode-time.
19344 (elint-extra-errors): Make it a variable rather than a constant.
19345 (elint-preloaded-skip-re): New constant.
19346 (elint-directory): Skip files matching elint-directory-skip-re.
19347 (elint-features): New variable, local to linted buffers.
19348 (elint-update-env): Initialize elint-features. Possibly add
19349 elint-preloaded-env to the buffer's environment.
19350 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19352 (elint-init-form): New function, extracted from elint-init-env.
19353 Make non-list forms a warning rather than an error.
19354 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19355 easy-menu-define, put that adds an error-condition, and provide.
19356 When requiring cl, also require cl-macs. Really require cl, to handle
19357 some cl macros. Store required libraries in the list elint-features,
19358 so as not to re-load them. Treat cc-require like require.
19359 (elint-init-env): Call elint-init-form to do the work.
19360 Handle eval-and-compile and such like.
19361 (elint-add-required-env): Do not clear messages.
19362 (elint-special-forms): Add handlers for function, defalias, if, when,
19364 (elint-form): Add optional argument to ignore elint-special-forms,
19365 useful to prevent recursive calls from handlers. Doc fix.
19366 Respect elint-ignored-warnings.
19367 (elint-form): Respect elint-ignored-warnings.
19368 (elint-bound-variable, elint-bound-function): New variables.
19369 (elint-unbound-variable): Respect elint-bound-variable.
19370 (elint-get-args): Respect elint-bound-function.
19371 (elint-check-cond-form): Add some simple handling for (f)boundp and
19373 (elint-check-defalias-form): New handler.
19374 (elint-check-let-form): Make an empty let a warning rather than an
19376 (elint-check-setq-form): Make an empty setq a warning rather than an
19377 error. Respect elint-ignored-warnings.
19378 (elint-check-defvar-form): Accept null doc-strings.
19379 (elint-check-conditional-form): New handler. Does some simple-minded
19380 checking of featurep and (f)boundp tests.
19381 (elint-put-function-args): New function.
19382 (elint-initialize): Use elint-scan-doc-file rather than
19383 elint-find-builtin-variables. Use elint-put-function-args.
19384 Possibly scan preloaded-file-list.
19385 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19386 extend to handle functions as well.
19388 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19390 * linum.el (linum-delete-overlays, linum-update-window):
19391 Do not modify the right margin. (Bug#3971)
19393 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19395 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19396 Use nxml-mode instead of xml-mode.
19398 2009-09-21 Kevin Ryde <user42@zip.com.au>
19400 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19402 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19404 * net/dig.el (dig-mode): Use define-derived-mode.
19406 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19408 * vc-dispatcher.el (vc-do-command): Return the process object in
19409 the asynchronous case. Use when instead of if. Do not run
19410 vc-exec-after to display a message if not enabled. (Bug#4463)
19412 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19413 properties to the stash strings.
19414 (vc-git-stash-list): Return a list of strings.
19415 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19416 (vc-git-stash-show-at-point): New functions.
19417 (vc-git-stash-map): New keymap.
19419 * register.el (ctl-x-r-map): Define the keys here instead of
19422 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19424 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19425 list, to workaround performance problem (bug#4485).
19427 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19429 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19431 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19433 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19434 Document that this option is not recommended to use.
19436 2009-09-19 Glenn Morris <rgm@gnu.org>
19438 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19441 * calc/calc-alg.el (var):
19442 * calc/calcalg2.el (var): Define for compiler.
19444 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19446 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19447 Doc fix (Bug#3932).
19449 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19451 * time-stamp.el (time-stamp-month-dd-yyyy)
19452 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19453 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19454 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19455 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19456 Remove functions that have been obsolete since 1995 (Bug#4436).
19458 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19459 indent buffer only if called interactively (Bug#4452).
19461 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19462 Eli Zaretskii <eliz@gnu.org>
19464 This fixes bug#4197 (merged to bug#865, though not identical).
19465 * server.el (server-auth-dir): Add docstring note about FAT32.
19466 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19467 but warn against using them.
19469 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19471 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19472 older GDB where there is no has_more field.
19474 2009-09-19 Glenn Morris <rgm@gnu.org>
19476 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19478 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19480 * files.el (auto-mode-alist): Change default for XML files to nXML
19483 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19485 * server.el (server-ensure-safe-dir): Pass 'integer
19486 to `file-attributes', as suggested.
19488 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19490 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19491 (dired-query): Use read-key.
19493 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19495 * cus-start.el (ns-use-qd-smoothing): Remove.
19497 2009-09-18 Glenn Morris <rgm@gnu.org>
19499 * allout.el (top-level): Remove unnecessary progn.
19501 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19503 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19504 definition of abbrev table.
19506 * speedbar.el (speedbar-track-mouse):
19507 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19508 * net/eudc.el (eudc-expand-inline):
19509 * net/newst-backend.el (newsticker--cache-read-feed):
19510 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19511 condition-case handlers.
19513 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19515 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19516 (gdb-var-list): Add an element for has_more field.
19517 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19518 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19519 (gdb-var-update-handler-1): Parse output of dynamic variable
19520 objects (STL containers).
19521 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19522 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19524 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19526 (gud-speedbar-buttons): Make node expandable if expression "has more"
19529 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19531 * startup.el (emacs-quick-startup): Remove variable and all uses.
19532 (command-line): Set `inhibit-x-resources' instead.
19533 (command-line-1): Use `inhibit-x-resources' instead.
19535 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19537 * subr.el: Fix last change to avoid using the `unless' macro,
19538 which breaks bootstrapping.
19540 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19542 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19543 extended definitions, in case we reload subr.el after having
19545 (eval-next-after-load): Mark as obsolete.
19547 2009-09-17 Juri Linkov <juri@jurta.org>
19549 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19550 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19551 (menu-bar-showhide-menu, menu-bar-tools-menu)
19552 (menu-bar-describe-menu, menu-bar-help-menu)
19553 (minibuffer-local-completion-map, minibuffer-local-map):
19556 2009-09-17 Glenn Morris <rgm@gnu.org>
19558 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19559 arguments, whether or not it has a handler.
19561 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19563 * simple.el (hard-newline): Give it a doc-string.
19565 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19566 (lisp-mode-syntax-table): Give them doc-strings.
19568 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19570 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19571 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19572 (menu-bar-options-menu, menu-bar-showhide-menu)
19573 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19574 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19575 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19576 (menu-bar-options-menu, menu-bar-tools-menu)
19577 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19578 (menu-bar-help-menu):
19579 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19582 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19583 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19584 calls for the menu names and :help.
19586 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19588 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19589 to :minor-mode-function (bug#4455).
19591 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19593 * startup.el (command-line): Initialize the window-system after
19594 processing the command-line.
19596 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19597 page-delimiter matches the empty string.
19599 2009-09-16 Glenn Morris <rgm@gnu.org>
19601 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19602 byte-compile-not-obsolete-var. It's a list now.
19603 (byte-compile-not-obsolete-funcs): New variable.
19604 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19605 byte-compile-not-obsolete-funcs.
19606 (byte-compile-variable-ref, byte-compile-defvar): Update for
19607 byte-compile-not-obsolete-vars name-change and list nature.
19608 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19609 and variables behind (f)boundp tests.
19610 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19612 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19614 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19616 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19618 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19619 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19622 2009-09-15 Stephen Eglen <stephen@gnu.org>
19624 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19625 the virtual-buffers, use the name of the buffer specified by
19626 find-file-noselect, as the match may be a symlink. (This was a
19627 problem if the target and the symlink had different names.)
19629 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19631 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19633 * desktop.el (desktop-path): Check user-emacs-directory.
19635 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19637 * loadup.el: Use after-load-functions to GC after loading each file.
19638 Remove the explicit GC calls that used to be sprinkled around.
19640 * subr.el (after-load-functions): New hook.
19641 (do-after-load-evaluation): Run it. Use string-match-p to detect
19642 `obsolete' packages, rather than painfully extracting the relevant
19645 2009-09-15 Glenn Morris <rgm@gnu.org>
19647 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19648 free variable `doc'.
19650 * dired.el (dired-mode-map): Add menu entry for async shell command.
19652 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19653 variables, also consider the .elc files, since the .el files are
19654 normally gzipped (subsequent code locates the .el.gz from the .elc).
19656 * calc/calc-prog.el (arglist): Define for compiler.
19658 * calendar/diary-lib.el (diary-display-function): Change the default to
19660 (body): Define for compiler.
19662 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19663 (byte-compile-file-form, byte-compile-lambda)
19664 (byte-compile-top-level-body, byte-compile-form)
19665 (byte-compile-variable-ref, byte-compile-setq)
19666 (byte-compile-setq-default, byte-compile-body)
19667 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19668 (batch-byte-compile): Give some more local variables with common names
19669 a "bytecomp-" prefix to avoid masking warnings about free variables.
19671 * startup.el (command-line-1): Give local variables with common names a
19672 distinguishing prefix, so as not to hide free variable warnings during
19675 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19676 clever and add a suffix to make a unique name, just let the user decide
19677 whether or not to overwrite it. If the input is a directory, write the
19678 default filename to that directory. (Bug#4388)
19679 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19680 is a filename-as-a-directory.
19682 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19684 * textmodes/page.el (what-page): Don't move to beginning of line.
19685 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19687 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19689 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19691 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19693 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19694 * help.el (help-for-help-internal): Add purecopy calls for text.
19696 * vc.el (top): print-log method now takes an optional SHORTLOG
19697 argument. Add a new method: root.
19698 (vc-root-diff, vc-print-root-log): New functions.
19699 (vc-log-short-style): New variable.
19700 (vc-print-log-internal): Add support for showing short logs.
19702 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19703 vc-print-root-log and vc-print-root-diff.
19705 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19706 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19707 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19710 * vc-cvs.el (vc-cvs-print-log):
19711 * vc-mtn.el (vc-mtn-print-log):
19712 * vc-rcs.el (vc-rcs-print-log):
19713 * vc-sccs.el (vc-sccs-print-log):
19714 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19715 that is ignored for now.
19717 * vc-mtn.el (vc-mtn-annotate-command):
19718 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19720 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19722 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19723 to function-key-map, and give them ascii-character property.
19724 * term/x-win.el (x-alternatives-map):
19725 * term/ns-win.el (ns-alternatives-map):
19726 * term/internal.el (msdos-key-remapping-map):
19727 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19729 2009-09-14 Glenn Morris <rgm@gnu.org>
19731 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19732 temp-buffers (2009-09-12).
19734 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19736 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19737 the new read-key function.
19739 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19741 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19742 is defined (Bug#4405).
19744 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19746 * recentf.el (recentf-cleanup): Use a hash table to find
19747 duplicates (Bug#4407).
19749 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19751 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19752 kp-0 to ascii equivalents (Bug#4325).
19754 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19756 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19758 * eshell/em-hist.el:
19759 * eshell/em-dirs.el (eshell-complete-user-reference):
19760 Declare pcomplete functions and variables to avoid compiler warnings.
19762 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19764 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19765 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19766 * eshell/em-alias.el (eshell-aliases-file):
19767 * eshell/em-hist.el (eshell-history-file-name):
19768 Use expand-file-name instead of concat to make file names (Bug#4308).
19770 2009-09-13 Glenn Morris <rgm@gnu.org>
19772 * ediff-merg.el (ediff-do-merge):
19773 * filesets.el (filesets-run-cmd):
19774 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19775 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19776 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19777 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19778 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19779 Replace empty `let's with `progn'.
19781 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19783 * mail/sendmail.el (send-mail-function):
19784 * tooltip.el (tooltip-mode):
19785 * simple.el (transient-mark-mode):
19786 * rfn-eshadow.el (file-name-shadow-mode):
19787 * frame.el (blink-cursor-mode):
19788 * font-core.el (global-font-lock-mode):
19789 * files.el (temporary-file-directory)
19790 (small-temporary-file-directory, auto-save-file-name-transforms):
19791 * epa-hook.el (auto-encryption-mode):
19792 * composite.el (global-auto-composition-mode):
19793 Use custom-initialize-delay.
19794 * startup.el (command-line): Don't explicitly call
19795 custom-reevaluate-setting for all the above vars.
19796 * custom.el (custom-initialize-safe-set)
19797 (custom-initialize-safe-default): Delete.
19799 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19801 * term/x-win.el (x-initialize-window-system):
19802 * term/w32-win.el (w32-initialize-window-system):
19803 * term/ns-win.el (ns-initialize-window-system): Don't call
19804 mouse-wheel-mode since it's enabled globally by default already.
19806 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19807 actually define the variable, but only silences the byte-compiler.
19808 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19809 before looking it up.
19810 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19813 2009-09-12 Glenn Morris <rgm@gnu.org>
19815 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19817 (elint-add-required-env): Don't beep on error.
19818 (elint-forms): In case of error, return ENV unchanged.
19819 (elint-init-env): Skip non-list forms.
19820 (elint-log): Handle unknown file positions.
19822 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19824 * epg.el (epg-make-context): Add autoload cookie.
19825 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19826 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19827 (epg-verify-string, epg-start-sign, epg-sign-file)
19828 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19829 (epg-encrypt-string, epg-start-export-keys)
19830 (epg-export-keys-to-file, epg-export-keys-to-string)
19831 (epg-start-import-keys, epg-import-keys-from-file)
19832 (epg-import-keys-from-string, epg-start-receive-keys)
19833 (epg-receive-keys, epg-import-keys-from-server)
19834 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19835 (epg-sign-keys, epg-start-generate-key)
19836 (epg-generate-key-from-file, epg-generate-key-from-string):
19837 Remove autoload cookie.
19839 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19841 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19842 reevaluation of trash-directory.
19844 * mwheel.el: Fix last change.
19845 (mouse-wheel-mode): New defvar.
19846 (mouse-wheel-mode): Remove autoload cookie.
19848 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19850 * mwheel.el (mwheel-installed-bindings): New var.
19851 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19852 the bindings we set last time. Use custom-initialize-delay.
19853 * loadup.el: Load mwheel after term/*-win.el.
19854 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19855 and mouse-wheel-up-event now that their first evaluation is done
19856 sufficiently late to be correct.
19858 * startup.el (tutorial-directory): Make it a defcustom.
19859 Use custom-initialize-delay rather than eval-at-startup to set it.
19860 * image.el (image-load-path): Make it a defcustom.
19861 Use custom-initialize-delay rather than eval-at-startup to set it.
19862 * subr.el (eval-at-startup): Remove.
19863 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19865 * subr.el (do-after-load-evaluation): Warn the user after loading an
19868 2009-09-12 Glenn Morris <rgm@gnu.org>
19870 * proced.el (proced-mark-alt): Remove alias.
19871 (proced-mode-map): Remove proced-mark-alt.
19873 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19874 Elint file and directory. Remove initialization entry.
19876 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19878 (elint-current-buffer): Set mode-line-process.
19879 (elint-init-env): Handle define-derived-mode.
19880 Fix declare-function with unspecified arglist. Guard against odd
19881 defalias statements (eg iso-insert's 8859-1-map).
19882 (elint-add-required-env): Use a temp buffer.
19883 (elint-form): Just print the function/macro name, not the whole form.
19884 Return env unchanged if we fail to parse a macro.
19885 (elint-forms): Guard against parse errors.
19886 (elint-output): New function, to handle batch mode.
19887 (elint-log-message): Add optional argument. Use elint-output.
19888 (elint-set-mode-line): New function.
19890 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19892 * emacs-lisp/elp.el (elp-not-profilable): Add more
19893 functions (Bug#4233).
19895 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19897 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19898 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19900 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19902 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19903 (gdb-var-list-children): Use json parsing.
19905 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19907 * progmodes/js.el (js--proper-indentation): Handle the case where
19908 char-before is null. Reported by Deniz Dogan.
19910 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19912 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19914 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19916 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19917 (epg-digest-algorithm-alist): Add SHA224.
19918 (epg-context-set-passphrase-callback)
19919 (epg-context-set-progress-callback): Add description about
19922 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19924 * custom.el (custom-delayed-init-variables): New var.
19925 (custom-initialize-delay): New function.
19926 * startup.el (command-line): "Re"evaluate all vars in
19927 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19928 explicitly any more.
19929 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19930 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19932 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19934 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19936 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19937 (gdb-var-update-handler): Use json parsing.
19939 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19941 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19942 decode annotated text, regardless of language environment. (Bug#2741)
19944 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19946 * Makefile.in (autoloads): Make rmail.el writable as well.
19948 2009-09-11 Glenn Morris <rgm@gnu.org>
19950 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19952 * dired.el: Regenerate with extracted autoloads.
19953 * Makefile.in (autoloads): Make dired.el writable.
19955 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19956 * ibuffer.el: Regenerate with extracted autoloads.
19957 * Makefile.in (autoloads): Make ibuffer.el writable.
19959 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19960 * version.el (emacs-copyright, emacs-major-version)
19961 (emacs-minor-version): Reformat doc-strings for make-docfile.
19963 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19964 functions and variables, since they must be stuff specific to some other
19966 (apropos-print): Make mouse-click message less specific about button.
19968 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19969 that records where a macro was defined.
19970 * help-fns.el (describe-function-1): Mention if a function has a
19972 * help-mode.el (help-function-cmacro): New button.
19974 * locate.el (top-level): Always require dired.
19975 (locate-mode-map): Initialize inside the defvar.
19977 * net/ange-ftp.el (dired-compress-file): Declare.
19978 (ange-ftp-dired-compress-file): Add doc string.
19980 * term/ns-win.el (x-display-name, x-setup-function-keys):
19981 Unify doc-strings with X versions.
19983 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19985 * emulation/crisp.el (crisp-mode-map): Move initialization
19987 (crisp-mode): Use define-minor-mode.
19989 * progmodes/xscheme.el (xscheme-evaluation-commands):
19990 Put a :advertised-binding property rather than using
19991 advertised-xscheme-send-previous-expression.
19992 (advertised-xscheme-send-previous-expression): Declare obsolete.
19993 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19995 (crisp-mode): Add corresponding bindings to
19996 undo's :advertised-binding instead.
19997 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19998 than using dired-advertised-find-file.
19999 (dired-advertised-find-file):
20000 * simple.el (advertised-undo):
20001 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20002 (widget-keymap): Put a :advertised-binding property rather
20003 than using advertised-widget-backward.
20004 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20005 than using advertised-undo.
20006 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20008 2009-09-10 Simon South <ssouth@slowcomputing.org>
20010 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20011 Mark mode is enabled and region is active; otherwise indent or
20012 insert TAB as usual.
20013 (delphi-mode): Update description of TAB-key binding.
20015 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20017 * subr.el (define-key-rebound-commands): Mark obsolete.
20018 * startup.el (precompute-menubar-bindings): Remove.
20019 (normal-top-level): Remove obsolete code that tried to precompute
20021 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20022 define-key-rebound-commands and precompute-menubar-bindings.
20024 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20026 * net/imap.el (imap-interactive-login): Better messages.
20027 (imap-open): Fix bug with renamed buffer on reconnect.
20028 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20029 for easier debugging and cleaner code. On successful (guessed based on
20030 server capabilities) secondary authentication, set imap-state
20032 (imap-last-authenticator): Define imap-last-authenticator as a variable
20035 2009-09-10 Glenn Morris <rgm@gnu.org>
20037 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20039 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20040 (byte-compile-file-form-autoload): Don't warn about unknown functions
20041 where the autoload statement comes after the use.
20042 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20043 that any handlers inside the body (eg require) are in turn respected.
20045 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20048 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20049 and syntax and abbrev tables basic docs, if they don't have any.
20051 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20053 * international/mule-cmds.el (top-level): Require cl when compiling.
20054 (view-hello-file): Use default-value rather than
20055 default-enable-multibyte-characters.
20057 * progmodes/fortran.el: Move all safe and risky properties into the
20060 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20061 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20062 * mail/undigest.el:
20063 Put autoloads in rmail.el rather than loaddefs.el.
20064 * mail/rmail.el: Regenerate with extracted autoloads.
20066 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20067 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20069 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20071 Reported in thread for Bug#4375.
20072 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20073 "-data-evaluate-expression" instead of print.
20074 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20075 (gdb-tooltip-print): Parse output from above MI command.
20076 (gdb): Revert 2009-08-11 change. User should detach inferior
20079 Remove the word "separate" from IO functions as inferior
20080 output is now never displayed in the GUD buffer.
20082 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20084 * startup.el (command-line-normalize-file-name): On Windows and
20085 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20087 2009-09-10 Juri Linkov <juri@jurta.org>
20089 * isearch.el (isearch-text-char-description): Propertize escape
20090 character sequences with the `escape-glyph' face. (Bug#4344)
20092 * simple.el (shell-command): Set asynchronous process filter to
20093 `comint-output-filter'. (Bug#4343)
20095 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20096 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20097 the list. Move "asm" to the bottom.
20098 (grep-find-ignored-directories): Add `choice' with nil value
20099 to empty the list easily.
20100 (grep-find-ignored-files): New option.
20101 (grep-files-history): Set to nil by default instead of '("ch" "el").
20102 (grep-compute-defaults): Add "<X>" to `grep-template'.
20103 (grep-read-files): Bind new local variables `default-alias' and
20104 `default-extension'. Use a list of default values for the file prompt.
20105 (lgrep): Add `--exclude=' command line options composed from
20106 `grep-find-ignored-files'.
20107 (rgrep): Add `-name' command line options composed from
20108 `grep-find-ignored-files'. (Bug#4301)
20110 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20112 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20115 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20117 * calendar/time-date.el (autoload):
20118 Expand define-obsolete-function-alias into defalias and make-obsolete
20119 for old Emacsen that Gnus supports.
20120 (with-no-warnings): Define it for old Emacsen.
20121 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20123 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20124 float-time is available; suppress compile warning for time-to-seconds.
20126 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20128 * net/imap.el (imap-message-map): Docstring fix.
20130 2009-09-09 Glenn Morris <rgm@gnu.org>
20132 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20133 line numbers too. (Bug#4374)
20135 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20137 * smerge-mode.el (smerge-remove-props, smerge-refine):
20138 Use with-silent-modifications (bug#4342).
20140 * subr.el (with-silent-modifications): New macro.
20142 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20144 * files.el (top-level): Require `cl' when compiling.
20146 2009-09-07 Glenn Morris <rgm@gnu.org>
20148 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20150 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20151 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20153 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20155 * vc-git.el (vc-git-annotate-command): Use separator to parse
20156 arguments correctly.
20158 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20160 * proced.el (proced-mode): Doc fix.
20162 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20164 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20166 (tramp-do-file-attributes-with-ls): Check for file existence at
20168 (tramp-do-file-attributes-with-stat): Likewise.
20169 (tramp-convert-file-attributes): Return nil when attr is nil.
20171 2009-09-05 Glenn Morris <rgm@gnu.org>
20173 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20174 properties to this button.
20175 (diary-fancy-display): Don't extend the button to the final newline.
20176 (diary-fancy-display-mode): Continue to define "q" as a local key.
20178 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20181 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20183 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20184 (byte-compile-dest-file-function): New option.
20185 (byte-compile-dest-file): Doc fix.
20186 Obey byte-compile-dest-file-function.
20187 (byte-compile-cl-file-p): New function.
20188 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20189 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20190 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20191 than for file being previously loaded.
20192 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20193 (byte-compile-file-form-require): Handle the case where requiring a file
20194 indirectly causes CL to be loaded.
20196 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20198 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20199 before killing the old buffer, since by the time `kill-buffer' is
20200 run so many buffer variables have been set to nil that it may not
20201 behave as expected. (Bug#4061)
20203 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20205 * files.el (find-alternate-file): If the old buffer is modified
20206 and visiting a file, behave similarly to `kill-buffer' when
20207 killing it, thus reverting to the pre-1.878 behavior; see
20208 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20209 for discussion. Also, consult `buffer-file-name' as a variable
20210 not as a function, for consistency with the rest of the code.
20212 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20214 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20215 also when adding a new directory.
20217 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20220 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20222 * files.el (locate-file-completion-table): Make it provide boundary
20223 information, so partial-completion works better.
20225 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20227 * mail/footnote.el (Footnote-text-under-cursor):
20228 Check footnote-text-marker-alist before using it (bug#4324).
20230 2009-09-04 Glenn Morris <rgm@gnu.org>
20232 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20233 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20234 * play/solitaire.el, play/tetris.el:
20235 Remove leading * from defcustom and defface docs.
20237 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20239 (diary-fancy-overriding-map): New variable.
20240 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20243 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20246 2009-09-03 Glenn Morris <rgm@gnu.org>
20248 * arc-mode.el (archive-mode):
20249 * dos-fns.el (set-default-process-coding-system):
20250 * man.el (Man-getpage-in-background):
20251 * menu-bar.el (menu-bar-describe-menu):
20252 * server.el (server-process-filter):
20253 * startup.el (command-line):
20254 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20255 * w32-fns.el (set-default-process-coding-system):
20256 * x-dnd.el (x-dnd-handle-file-name):
20257 * international/mule-cmds.el (mule-menu-keymap)
20258 (set-default-coding-systems, language-info-alist, set-language-info)
20259 (set-language-environment, standard-display-european-internal)
20260 (set-locale-environment):
20261 * international/mule-diag.el (mule-diag):
20262 * mail/emacsbug.el (report-emacs-bug):
20263 * mail/rmail.el (rmail-mode):
20264 * mail/sendmail.el (mail-setup):
20265 Use default-value rather than default-enable-multibyte-characters.
20267 * progmodes/f90.el: Move all safe properties into the defcustoms.
20268 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20270 * calendar/appt.el (appt-check):
20271 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20272 (diary-check-diary-file, diary-list-entries)
20273 (diary-include-other-diary-files, diary-simple-display)
20274 (diary-fancy-display, diary-print-entries)
20275 (diary-mark-included-diary-files, diary-make-entry):
20276 Don't call substitute-in-file-name on diary-file.
20278 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20279 Stefan Monnier <monnier@iro.umontreal.ca>
20281 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20282 (footnote-mode-map): Move initialization into the declaration.
20283 (footnote-minor-mode-map): Define it rather than changing global-map.
20284 (footnote-mode): Use define-minor-mode.
20286 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20288 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20289 (tramp-do-file-attributes-with-perl)
20290 (tramp-do-file-attributes-with-stat): Rename from
20291 `tramp-handle-file-attributes-with-*'.
20292 (tramp-handle-file-attributes): Use them.
20293 (tramp-do-directory-files-and-attributes-with-perl)
20294 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20295 `tramp-handle-directory-files-and-attributes-with-*'.
20296 (tramp-handle-directory-files-and-attributes): Use them.
20297 (tramp-method-out-of-band-p): Additional parameter SIZE.
20298 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20299 (tramp-handle-write-region): Use it.
20300 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20301 (tramp-handle-vc-registered): Check, whether the first run did
20302 return files to be tested.
20303 (tramp-advice-make-auto-save-file-name): Do not call directly
20304 `tramp-handle-make-auto-save-file-name', because this would bypass
20305 the locking mechanism.
20307 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20308 (file-remote-p, process-file, start-file-process, set-file-times)
20309 (tramp-compat-file-attributes): Compatibility functions shall not
20310 call directly `tramp-handle-*', because this would bypass the
20312 (tramp-compat-number-sequence): New defun.
20314 2009-09-02 Glenn Morris <rgm@gnu.org>
20316 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20317 alias for float-time.
20318 (time-to-number-of-days): In Emacs, use float-time.
20319 * net/newst-backend.el (time-add): Suppress warnings from compat
20321 * time.el (emacs-uptime, emacs-init-time):
20322 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20323 Use float-time rather than time-to-seconds.
20325 * minibuffer.el (completion-initials-expand): Fix typo.
20327 * faces.el (modeline, modeline-inactive, modeline-highlight)
20328 (modeline-buffer-id):
20329 * info.el (info-menu-5): Mark these face aliases as obsolete.
20331 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20333 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20335 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20336 no "--thread" option.
20337 (gdb-stopped): Don't print "Switched to thread" message when it is
20340 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20342 * minibuffer.el (completion-try-completion)
20343 (completion-all-completions): Remove ill-defined (and
20344 mistakenly installed and luckily never used nor documented)
20345 `completion-styles' property.
20346 (completion-initials-expand, completion-initials-all-completions)
20347 (completion-initials-try-completion): New functions.
20348 (completion-styles-alist): Add doc to each entry.
20349 Add new `initials' entry.
20351 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20353 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20354 MI command -var-evaluate-expression.
20355 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20356 and tweak for case of string child.
20357 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20359 2009-09-01 Glenn Morris <rgm@gnu.org>
20361 * add-log.el (change-log-date-face, change-log-name-face)
20362 (change-log-email-face, change-log-file-face, change-log-list-face)
20363 (change-log-conditionals-face, change-log-function-face)
20364 (change-log-acknowledgement-face):
20365 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20366 (custom-modified-face, custom-set-face, custom-changed-face)
20367 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20368 (custom-documentation-face, custom-state-face, custom-comment-face)
20369 (custom-comment-tag-face, custom-variable-tag-face)
20370 (custom-variable-button-face, custom-face-tag-face)
20371 (custom-group-tag-face-1, custom-group-tag-face):
20372 * diff-mode.el (diff-header-face, diff-file-header-face)
20373 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20374 (diff-added-face, diff-changed-face, diff-function-face)
20375 (diff-context-face, diff-nonexistent-face):
20376 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20377 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20378 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20379 (Info-title-4-face):
20380 * isearch.el (isearch-lazy-highlight-face):
20381 * log-view.el (log-view-file-face, log-view-message-face):
20382 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20383 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20384 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20386 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20387 (smerge-base-face, smerge-markers-face):
20388 * wid-edit.el (widget-documentation-face, widget-button-face)
20389 (widget-field-face, widget-single-line-field-face)
20390 (widget-inactive-face, widget-button-pressed-face):
20391 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20392 (woman-addition-face):
20393 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20394 (eshell-ls-executable-face, eshell-ls-readonly-face)
20395 (eshell-ls-unreadable-face, eshell-ls-special-face)
20396 (eshell-ls-missing-face, eshell-ls-archive-face)
20397 (eshell-ls-backup-face, eshell-ls-product-face)
20398 (eshell-ls-clutter-face):
20399 * eshell/em-prompt.el (eshell-prompt-face):
20400 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20401 * obsolete/old-whitespace.el (whitespace-highlight-face):
20402 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20403 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20404 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20405 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20406 (antlr-font-lock-literal-face):
20407 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20408 (ebrowse-root-class-face, ebrowse-file-name-face)
20409 (ebrowse-default-face, ebrowse-member-attribute-face)
20410 (ebrowse-member-class-face, ebrowse-progress-face):
20411 * progmodes/make-mode.el (makefile-space-face):
20412 * progmodes/sh-script.el (sh-heredoc-face):
20413 * textmodes/flyspell.el (flyspell-incorrect-face)
20414 (flyspell-duplicate-face):
20415 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20416 * textmodes/texinfo.el (texinfo-heading-face):
20417 Mark face aliases with "-face" suffix as obsolete.
20419 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20422 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20423 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20424 easy-menu-define wants to modify these.
20426 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20428 * net/browse-url.el (browse-url-file-url):
20429 * term/internal.el (dos-codepage-setup):
20430 Use default-value rather than default-enable-multibyte-characters.
20432 * progmodes/etags.el (etags-goto-tag-location):
20433 * progmodes/flymake.el (flymake-highlight-line)
20434 (flymake-goto-file-and-line, flymake-goto-line):
20435 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20436 (gdb-goto-breakpoint):
20437 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20438 * progmodes/python.el (python-find-function)
20439 (python-pdbtrack-track-stack-file):
20440 * progmodes/verilog-mode.el (verilog-surelint-off):
20441 * term/ns-win.el (ns-open-file-select-line):
20442 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20443 Use forward-line rather than goto-line.
20445 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20446 * textmodes/reftex-index.el (reftex-display-index):
20447 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20448 * textmodes/reftex-toc.el (reftex-toc):
20449 Remove unnecessary bindings of default-major-mode (all are followed by
20450 major-mode check and possible mode switch).
20452 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20454 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20455 Handle watchpoints (bug#4282).
20456 (def-gdb-thread-buffer-command): Enable thread to be selected by
20457 clicking without selecting threads buffer first.
20458 (gdb-current-context-command): Use selected frame so that "up",
20459 "down" etc work in the GUD buffer.
20460 (gdb-update): Find selected frame before rendering stack buffer.
20461 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20463 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20465 * progmodes/sym-comp.el (displayed-completions): Remove.
20466 (symbol-complete): Use minibuffer-complete.
20468 2009-08-31 Glenn Morris <rgm@gnu.org>
20470 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20472 * apropos.el (apropos-symbols-internal):
20473 Handle (obsolete) face aliases.
20475 * faces.el (describe-face): Adjust the output format to be more like
20476 describe-variable, and to mention (obsolete) face aliases.
20477 Adjust the whitespace so that help-setup-xref works.
20479 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20480 * calendar/diary-lib.el (diary-button-face):
20481 Mark these face aliases as obsolete.
20483 * calendar/calendar.el (calendar-today): Doc fix.
20485 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20487 * progmodes/gdb-mi.el (gdb-control-all-threads)
20488 (gdb-control-current-thread): Force tool bar update.
20489 (gdb-non-stop-handler): New function.
20490 (gdb-init-1): Use it to test if non-stop mode is supported.
20491 Remove unused gdbmi buffer type.
20493 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20495 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20496 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20498 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20500 * comint.el (comint-exec-1): Check command is non-null first.
20501 Part of gdb-mi.el change (2009-08-28).
20503 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20505 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20507 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20509 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20510 instead of `dolist' to avoid a recursive require when bootstrapping.
20512 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20514 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20516 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20518 * net/imap.el (imap-send-command): Simplify.
20519 (imap-wait-for-tag): point-max -> buffer-size.
20521 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20523 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20524 with constant argument.
20526 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20528 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20530 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20531 Change default, since most of our files don't have a history.
20532 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20535 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20538 * calc/calc.el: Improve commenting convention.
20539 (calc-digit-map, toplevel): Simplify.
20541 * comint.el (comint-insert-input): Be careful to only set point if we
20542 don't delegate to some other command.
20544 * proced.el (proced-signal-list): Make it an alist.
20545 (proced-grammar-alist): Capitalize names.
20546 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20547 Disable undo manually and make it read-only.
20548 Use completion-annotate-function.
20550 * minibuffer.el (minibuffer-message): If the current buffer is not
20551 a minibuffer, insert the message in the echo area rather than at the
20553 (completion-annotate-function): New variable.
20554 (minibuffer-completion-help): Use it.
20555 (completion--embedded-envvar-table): Environment vars are
20556 always case-sensitive.
20558 2009-08-30 Glenn Morris <rgm@gnu.org>
20560 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20561 from fortran-current-defun.
20562 (fortran-beginning-of-subprogram): Be more precise about finding the
20563 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20564 (fortran-end-of-subprogram): Simplify.
20565 (fortran-current-defun): Use fortran-start-prog-re.
20567 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20569 * subr.el (do-after-load-evaluation): Simplify.
20571 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20573 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20575 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20576 (vc-rcs-print-log): Use it.
20578 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20580 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20582 * paths.el (abbrev-file-name): Move to abbrev.el.
20583 * abbrev.el (abbrev-file-name): Move from paths.el.
20584 Obey user-emacs-directory.
20585 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20586 user-emacs-directory.
20587 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20588 abbrev-file-name and calc-settings-file any more.
20589 * startup.el (command-line): Recompute abbrev-file-name and
20590 abbreviated-home-dir.
20591 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20592 of the special code for when C-h bindings haven't been changed.
20593 (display-startup-echo-area-message): Use with-current-buffer.
20594 (command-line-1): Use a list of strings, rather than a list of lists
20595 of strings for longopts.
20597 * files.el (get-free-disk-space): Use / for default-directory.
20599 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20600 Use with-current-buffer.
20602 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20603 Recognize immutable variables like most-positive-fixnum.
20604 (byte-compile-setq-default): Check and warn if trying to assign
20605 to an immutable variable, or a non-variable.
20607 * progmodes/cc-vars.el (c-comment-continuation-stars):
20608 * progmodes/cc-engine.el (c-looking-at-bos):
20609 * progmodes/cc-cmds.el (c-toggle-auto-state)
20610 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20611 (c-comment-line-break-function): Add version of obsolescence.
20613 2009-08-28 Juri Linkov <juri@jurta.org>
20615 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20616 associated with `archive-mode'.
20618 * image.el (image-type-header-regexps): Use only JPEG magic number
20619 to determine JPEG images, and don't use `image-jpeg-p' because
20620 Emacs can display non-JFIF non-Exif JPEG images.
20622 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20624 * arc-mode.el (archive-mode):
20625 * emacs-lisp/re-builder.el (re-builder-unload-function):
20626 Protect against the default value of `major-mode' being nil.
20628 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20630 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20631 Fix typos in docstrings.
20633 * progmodes/js.el (js--macro-decl-re): Doc fix.
20634 (js--plain-method-re, js--split-name): Refloc docstring.
20635 (js--class-styles, js--make-merged-item, js--splice-into-items):
20636 Fix typos in docstrings; reflow docstrings.
20637 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20638 (js--variable-decl-matcher, js--inside-pitem-p)
20639 (js--parse-state-at-point, js--get-all-known-symbols)
20640 (js--symbol-history, js-find-symbol, js--js-references)
20641 (js--moz-interactor, js--js-encode-value, js--read-tab):
20642 Fix typos in docstrings.
20644 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20646 * textmodes/reftex.el (reftex-get-file-buffer-force):
20647 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20648 * emulation/viper.el (viper-go-away, viper-set-hooks):
20649 * emacs-lisp/re-builder.el (re-builder-unload-function):
20650 * emacs-lisp/bytecomp.el (byte-compile-file):
20651 * ses.el (ses-unload-function):
20652 * hexl.el (hexl-find-file):
20653 * files.el (normal-mode):
20654 * ehelp.el (with-electric-help):
20655 * autoinsert.el (auto-insert-alist):
20656 * arc-mode.el (archive-mode):
20657 Use (default-value 'major-mode) instead of default-major-mode.
20659 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20660 * international/mule.el (load-with-code-conversion):
20661 * emacs-lisp/debug.el (debug):
20662 * ediff-vers.el (ediff-rcs-get-output-buffer):
20663 * dired.el (dired-internal-noselect): Don't let-bind
20664 default-major-mode around code that doesn't use it.
20665 E.g. buffer creation via get-buffer-create doesn't use it.
20667 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20669 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20670 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20671 when writing the temp file. Otherwise, epa-file gets confused.
20672 (tramp-register-file-name-handlers): Make it a defun. Move also
20673 `epa-file-handler' to the front of `file-name-handler-alist'.
20675 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20677 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20678 start right after a ^M.
20679 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20680 (tramp-completion-file-name-regexp-separate)
20681 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20682 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20683 Don't modify last-coding-system-used by accident.
20684 (tramp-completion-file-name-handler): Apply the checks here,
20685 instead during registration.
20686 (tramp-register-file-name-handlers): Rename from
20687 `tramp-register-file-name-handler'. Register both
20688 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20689 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20691 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20693 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20694 Remove variable ...
20695 (gdb-init-1, gdb-display-separate-io-buffer)
20696 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20698 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20699 (gdb-inferior-filter): Use comint-output-filter to stop
20700 echoing and remove ^M characters.
20702 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20704 * emulation/viper-init.el (viper-restore-cursor-type):
20705 * emulation/cua-base.el (cua--update-indications):
20706 Replace default-cursor-type with (default-value 'cursor-type).
20708 * mail/sendmail.el (mail-recover-1):
20709 * international/mule-diag.el (describe-current-coding-system-briefly)
20710 (describe-current-coding-system):
20711 * international/mule-cmds.el (select-safe-coding-system)
20712 (select-message-coding-system)
20713 (set-language-environment-coding-systems, set-locale-environment):
20714 * hexl.el (hexl-insert-multibyte-char):
20715 * dos-w32.el (find-buffer-file-type-coding-system):
20716 * simple.el (what-cursor-position):
20717 Replace uses of default-buffer-file-coding-system
20718 with (default-value 'buffer-file-coding-system).
20720 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20721 Replace uses of default-cursor-in-non-selected-windows
20722 with (default-value 'cursor-in-non-selected-windows).
20723 Use with-current-buffer.
20725 * mail/feedmail.el: Use CL macros.
20726 (feedmail-run-the-queue, feedmail-send-it-immediately):
20727 * dos-w32.el (find-buffer-file-type): Replace uses of
20728 default-buffer-file-type with (default-value 'buffer-file-type).
20730 2009-08-28 Glenn Morris <rgm@gnu.org>
20732 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20733 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20734 Use default-value of major-mode rather than default-major-mode.
20736 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20738 * Makefile.in (update-elcfiles): Report left over elc files.
20740 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20741 expand-file-name and with-current-buffer.
20742 (mail-get-names, mail-directory): Use with-current-buffer.
20744 * vc.el (vc-read-revision): New function.
20745 (vc-version-diff, vc-merge): Use it.
20747 2009-08-27 Sam Steingold <sds@gnu.org>
20749 * simple.el (kill-do-not-save-duplicates): New user option.
20750 (kill-new): When it is non-nil, and the new string is the same as
20751 the latest kill, set replace to t to avoid duplicates in kill-ring.
20753 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20755 * net/tramp.el (tramp-handle-process-file): Do not flush all
20756 caches when `process-file-side-effects' is set.
20757 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20758 instead of `tramp-find-file-exists-command'.
20759 Unset `process-file-side-effects'.
20761 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20763 * net/tramp.el (tramp-methods): New method "rsyncc".
20764 (top): Add completion function for "rsyncc".
20765 (tramp-message-show-message): New defvar.
20766 (tramp-message, tramp-error): Use it.
20767 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20769 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20770 `tramp-methods' entry `copy-env' of "rsyncc".
20771 (tramp-vc-registered-read-file-names): New defconst.
20772 (tramp-vc-registered-file-names): New defvar.
20773 (tramp-handle-vc-registered): Implement optimization strategy.
20774 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20775 (tramp-vc-file-name-handler): New defun.
20776 (tramp-get-ls-command, tramp-get-test-command)
20777 (tramp-get-file-exists-command, tramp-get-remote-ln)
20778 (tramp-get-remote-perl, tramp-get-remote-stat)
20779 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20781 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20782 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20784 (tramp-get-file-property): Check for timestamps in
20785 `tramp-cache-inhibit-cache'.
20786 (tramp-set-file-property): Write timestamp.
20788 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20790 * language/japan-util.el (japanese-symbol-table): Add entries for
20793 * international/characters.el: Add category `j' to cp932-2-byte.
20795 2009-08-27 Kenichi Handa <handa@m17n.org>
20797 * international/fontset.el (build-default-fontset-data): New macro.
20798 (setup-default-fontset): Use build-default-fontset-data for CJK,
20799 tibetan, ethiopic, and ipa.
20801 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20803 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20804 (enable-multibyte-characters): Not customizable any more.
20806 * subr.el (default-mode-line-format, default-header-line-format)
20807 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20808 (default-direction-reversed, default-truncate-lines)
20809 (default-left-margin, default-tab-width, default-case-fold-search)
20810 (default-left-margin-width, default-right-margin-width)
20811 (default-left-fringe-width, default-right-fringe-width)
20812 (default-fringes-outside-margins, default-scroll-bar-width)
20813 (default-vertical-scroll-bar, default-indicate-empty-lines)
20814 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20815 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20816 (default-scroll-down-aggressively, default-fill-column)
20817 (default-cursor-type, default-buffer-file-type)
20818 (default-cursor-in-non-selected-windows)
20819 (default-buffer-file-coding-system, default-major-mode)
20820 (default-enable-multibyte-characters): Mark as obsolete.
20822 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20824 * vc-dir.el (vc-dir-update): Remove debug helper.
20826 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20828 2009-08-26 Sam Steingold <sds@gnu.org>
20830 * simple.el (save-interprogram-paste-before-kill): New user option.
20831 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20832 save the interprogram-paste into kill-ring before overriding it
20833 with the Emacs kill.
20835 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20837 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20838 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20839 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20840 and move to vc-rcs.el.
20841 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20843 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20844 (vc-rcs-update-changelog): Remove.
20845 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20846 and move to vc-rcs.el.
20848 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20849 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20851 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20852 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20853 vc.el, renamed to be RCS specific.
20855 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20857 (vc-cvs-update-changelog): Move here from vc.el.
20859 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20862 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20864 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20866 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20868 * vc-git.el (vc-git-register): Use "git add" for directories.
20869 (vc-git-stash, vc-git-stash-show): New functions.
20870 (vc-git-extra-menu-map): Bind them.
20872 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20873 directory correctly in case the item is a directory itself.
20875 * vc.el: Document the desired behavior for reverted files in the
20877 (vc-default-prettify-state-info): Remove function, unused.
20879 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20881 2009-08-26 Glenn Morris <rgm@gnu.org>
20883 * bindings.el (standard-mode-line-format): Reposition dashes in
20884 which-func entry. (Bug#4217)
20886 * files.el (enable-local-variables, enable-local-eval)
20887 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20889 (auto-mode-alist, ignored-local-variables)
20890 (save-some-buffers-action-alist): Move risky declarations to the
20892 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20893 (font-lock-defaults, format-alist, imenu--index-alist)
20894 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20895 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20896 (mode-line-modified, mode-line-mule-info, mode-line-position)
20897 (mode-line-process, mode-line-remote, outline-level)
20898 (parse-time-rules, rmail-output-file-alist)
20899 (special-display-buffer-names, vc-mode):
20900 Move risky declarations to the relevant files.
20901 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20902 (mode-line-modified, mode-line-process, mode-line-position)
20903 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20904 * font-core.el (font-lock-defaults):
20905 * format.el (format-alist):
20906 * vc-hooks.el (vc-mode):
20907 * window.el (special-display-buffer-names):
20908 * international/mule-cmds.el (input-method-alist):
20909 Define riskiness here (dumped file) rather than in files.el.
20910 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20911 * imenu.el (imenu-generic-expression, imenu--index-alist):
20912 * outline.el (outline-level):
20913 * time.el (display-time-string):
20914 * calendar/parse-time.el (parse-time-rules):
20915 * mail/rmailout.el (rmail-output-file-alist):
20916 Autoload riskiness here, rather than placing in files.el.
20918 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20920 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20922 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20924 * simple.el (process-file-side-effects): New defvar.
20926 * dired-aux.el (dired-show-file-type):
20927 * vc.el (vc-diff-internal):
20928 * vc-arch.el (vc-arch-diff):
20929 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20930 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20931 * vc-git.el (vc-git-registered, vc-git-working-revision)
20932 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20933 (vc-git--empty-db-p):
20934 * vc-hooks.el (vc-user-login-name):
20935 * vc-svn.el (vc-svn-registered, vc-svn-state)
20936 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20937 * progmodes/grep.el (grep-probe): Let-bind
20938 `process-file-side-effects' with nil.
20940 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20942 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20943 daemon. Replace ping by checking for running service for bluez
20944 and zeroconf. (Bug#4239)
20946 2009-08-25 Kevin Ryde <user42@zip.com.au>
20948 * net/dig.el (dig): Add autoload cookie.
20950 2009-08-25 Glenn Morris <rgm@gnu.org>
20952 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20953 load-history for absolute file-names.
20954 (byte-compile-file-form-require): Warn about use of the cl package.
20956 * format.el (format-alist): Doc fix.
20958 * play/bubbles.el (top-level): Don't require cl at run-time.
20960 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20963 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20965 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20967 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20969 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20971 * calc/calc-alg.el (math-trig-rewrite)
20972 (math-hyperbolic-trig-rewrite): New functions.
20973 (calc-simplify): Simplify trig functions when asked.
20975 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20977 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20979 2009-08-24 Kenichi Handa <handa@m17n.org>
20981 * language/ind-util.el (mapthread): Delete it.
20982 (combinatorial): New function.
20983 (indian--puthash-cv): Use combinatorial instead of mapthread.
20985 2009-08-22 Kevin Ryde <user42@zip.com.au>
20987 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20988 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20989 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20990 Clarify docstring that the value is strings not symbols.
20991 (checkdoc-list-of-strings-p): New function.
20993 2009-08-22 Glenn Morris <rgm@gnu.org>
20995 * files.el (auto-mode-alist):
20996 * hippie-exp.el (he-concat-directory-file-name):
20997 * lpr.el (lpr-windows-system, printer-name):
20998 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20999 * ps-print.el (ps-windows-system):
21000 * startup.el (command-line):
21001 * emulation/viper-ex.el (viper-glob-function):
21002 * international/mule-cmds.el (set-language-environment-coding-systems):
21003 * net/ange-ftp.el (ange-ftp-write-region):
21004 * obsolete/fast-lock.el (fast-lock-cache-name):
21005 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21006 unisoft-unix, vax-vms, win32, w32.
21008 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21009 given name if the pattern is not more specific.
21011 * calendar/lunar.el (lunar-phase-names): New option.
21012 (lunar-phase): Doc fix.
21013 (lunar-cycles-per-year): New constant.
21014 (lunar-index): New function.
21015 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21016 (lunar-phase-name): Use lunar-phase-names.
21017 (calendar-lunar-phases): Use format.
21018 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21020 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21021 Copy imenu-example--name-and-position function here for own use.
21022 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21024 * bs.el (bs--redisplay):
21025 * cus-edit.el (custom-redraw):
21026 * ibuffer.el (ibuffer-bury-buffer):
21027 * server.el (server-goto-line-column):
21028 * startup.el (command-line-1):
21029 * strokes.el (strokes-xpm-for-stroke):
21030 * term.el (term-display-buffer-line):
21031 * view.el (View-goto-line):
21032 * calc/calc.el (calc-do, calc-trail-buffer):
21033 * play/gamegrid.el (gamegrid-add-score-insecure):
21034 * progmodes/ada-mode.el (ada-compile-goto-error):
21035 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21036 (ebrowse-select-1st-to-9nth):
21037 * progmodes/cperl-mode.el (cperl-time-fontification):
21038 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21039 * progmodes/gud.el (gud-display-line):
21040 (idlwave-shell-display-line):
21041 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21042 * progmodes/make-mode.el (makefile-browser-toggle):
21043 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21044 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21045 * textmodes/picture.el (picture-draw-rectangle):
21046 * textmodes/reftex-index.el (reftex-index-goto-letter):
21047 (reftex-select-jump-to-previous):
21048 * textmodes/reftex-sel.el (reftex-find-start-point)
21049 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21050 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21051 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21052 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21053 * textmodes/two-column.el (2C-associated-buffer):
21054 Use forward-line rather than goto-line.
21056 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21059 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21060 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21061 (quick-check-list-to-regexp): Declare.
21063 * progmodes/make-mode.el (makefile-browser-insert-selection):
21064 Use goto-char rather than goto-line.
21066 * progmodes/prolog.el (compilation-error-regexp-alist)
21067 (compilation-forget-errors): Declare.
21069 2009-08-22 Juri Linkov <juri@jurta.org>
21071 * progmodes/grep.el (lgrep, rgrep): At the beginning
21072 set `dir' to `default-directory' unless `dir' is a non-nil
21073 readable directory. (Bug#4052)
21074 (lgrep, rgrep): Change a weird way to report an error
21075 from using `read-string' to using `error'.
21076 Instead of using interactive arguments in the function body,
21077 add new argument `confirm'.
21079 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21081 * textmodes/remember.el (remember-buffer):
21082 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21083 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21084 (icalendar-extract-ical-from-buffer):
21085 * net/newst-treeview.el (newsticker-groups-filename):
21086 * net/newst-backend.el (newsticker-cache-filename):
21087 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21088 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21089 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21090 (speedbar-buffers-line-path, speedbar-path-line)
21091 (speedbar-buffers-line-path):
21092 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21094 * epa.el (epa-display-verify-result):
21095 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21097 2009-08-21 Glenn Morris <rgm@gnu.org>
21099 * progmodes/js.el (inferior-moz-process): Fix declaration.
21101 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21103 * obsolete/rnewspost.el (news-mail-reply):
21104 Use goto-char rather than goto-line.
21106 * term/ns-win.el (ns-open-file-select-line):
21107 Use line-beginning-position rather than goto-line.
21109 * apropos.el (apropos-command):
21110 * ehelp.el (electric-helpify):
21111 * printing.el (pr-show-setup):
21112 * strokes.el (strokes-help):
21113 * tutorial.el (tutorial--describe-nonstandard-key)
21114 (tutorial--detailed-help):
21115 * woman.el (woman-mini-help, woman-display-extended-fonts):
21116 * calc/calc-help.el (calc-describe-key):
21117 * emulation/edt.el (edt-electric-helpify):
21118 * international/mule-diag.el (mule-diag):
21119 * play/yow.el (apropos-zippy):
21120 * progmodes/python.el (python-describe-symbol):
21121 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21122 * textmodes/table.el (*table--cell-describe-mode)
21123 (*table--cell-describe-bindings):
21124 Use help-print-return-message rather than the now obsolete alias.
21126 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21127 (calendar-cursor-to-visible-date):
21128 * play/5x5.el (5x5-position-cursor):
21129 * play/decipher.el (decipher):
21130 * play/gomoku.el (gomoku-goto-xy):
21131 * play/landmark.el (lm-goto-xy):
21132 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21133 (mpuz-paint-digit):
21134 Use forward-line, not goto-line.
21136 * mail/rmail.el (rmail-obsolete): Delete custom group.
21137 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21138 (rmail-remote-password, rmail-remote-password-required):
21139 Remove unneeded :set-after and :set properties.
21141 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21143 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21145 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21147 * loadup.el: Remove leftover macos code.
21149 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21150 Explicitly pass the date format to git blame so that user local
21151 so that the output format can be parsed.
21153 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21155 * net/dbus.el (top): Don't check for (getenv
21156 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21158 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21160 * log-edit.el (log-edit-strip-single-file-name): New var.
21161 (log-edit-insert-changelog): Use it. Bug#3571.
21163 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21165 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21168 * help.el (help-print-return-message): Rename from
21169 print-help-return-message.
21171 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21172 cvs-mode-map parent hack.
21173 (log-view-mode): Derive from special-mode.
21175 * linum.el (linum-mode): window-size-change-functions is redundant.
21176 Adapt to new window-configuration-change-hook behavior.
21177 (linum-after-size, linum-after-config): Remove.
21179 * imenu.el (imenu-example--name-and-position)
21180 (imenu-example--lisp-extract-index-name)
21181 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21184 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21185 (inferior-prolog-mode): Use it.
21186 (inferior-prolog-load-file): Reset list of errors.
21188 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21190 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21192 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21194 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21196 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21197 is running already.
21199 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21201 * subr.el (listify-key-sequence-1): Use normal syntax since those
21202 integers are nowadays always represented by the same (positive) number
21204 (read-key-empty-map): New const.
21205 (read-key-delay): New var.
21206 (read-key): New function.
21207 (force-mode-line-update): Use with-current-buffer.
21208 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21209 (start-process-shell-command, start-file-process-shell-command):
21210 Discourage the use of command-args.
21212 2009-08-19 Glenn Morris <rgm@gnu.org>
21214 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21216 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21218 * simple.el (choose-completion-string): Don't rely on
21219 minibuffer-completing-file-name and ad-hoc checks to decide whether
21220 to continue completion or not.
21222 * minibuffer.el (minibuffer-hide-completions): New function.
21223 (completion--do-completion): Use it.
21224 (completions-annotations): New face.
21225 (completion--insert-strings): Use it.
21226 (completion-pcm--delim-wild-regex): Add docstring.
21227 (completion-pcm--string->pattern): Add support for 0-width delimiters
21228 in completion-pcm--delim-wild-regex.
21230 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21232 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21233 Remove unused var `buffer-modified-p'.
21235 * minibuffer.el (completion--do-completion): Move point for the #b001
21236 case as well (bug#4176).
21237 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21239 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21241 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21242 and :session buses.
21244 2009-08-18 Kenichi Handa <handa@m17n.org>
21246 * international/ucs-normalize.el (ucs-normalize-version):
21248 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21249 (utf-8-hfs): Make it perform normalization on encoding too.
21251 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21252 (sentence-end-without-space): Delete duplicated chars.
21253 (sentence-end-base): Likewise.
21255 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21256 (html-mode): Delete duplicated chars from sentence-end-base.
21258 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21259 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21261 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21263 * files.el (hack-one-local-variable): If the mode function is for
21264 a minor mode, pass it an argument (Bug#4148).
21266 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21268 * net/tramp.el (tramp-register-completion-file-name-handler):
21269 Check also for (member 'partial-completion completion-styles).
21271 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21273 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21276 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21278 * progmodes/cperl-mode.el: Merge upstream 6.2.
21279 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21280 (cperl-forward-re): Check cperl-brace-recursing.
21281 (cperl-highlight-charclass): New function.
21282 (cperl-find-pods-heres): Use it.
21283 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21284 (cperl-beautify-regexp-piece): Fix column calculation.
21285 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21286 (cperl-beautify-level): Don't process entire regexp.
21287 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21289 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21290 (cperl-init-faces): Build a list in the normal way.
21292 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21294 * calendar/parse-time.el (parse-time-string-chars): Save match
21297 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21299 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21300 (sql-product): Use it.
21301 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21302 (sql-set-product): Add completion.
21303 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21304 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21305 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21306 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21307 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21308 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21309 (sql-highlight-db2-keywords): Remove.
21310 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21311 (sql-highlight-product): Use derived-mode-p.
21312 (sql-set-sqli-buffer): Use with-current-buffer.
21313 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21316 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21318 * term.el: Fix commenting convention, turn comments into docstrings.
21320 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21322 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21324 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21326 * calendar/parse-time.el (parse-time-string-chars): Compute using
21327 character classes, to handle non-ascii characters (Bug#3190).
21329 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21331 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21332 another heredoc if the user adds another < (Bug#3226).
21334 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21335 Don't initialize based on window-system (Bug#4124).
21337 * facemenu.el (facemenu-read-color): Use a completion function
21338 that accepts any defined color, such as RGB triplets (Bug#3677).
21340 * files.el (get-free-disk-space): Change fallback default
21341 directory to /. Expand DIR argument before switching to fallback.
21342 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21344 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21346 * files.el (load-library): Doc fix.
21348 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21350 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21351 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21352 incremental search string.
21354 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21357 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21358 (ediff-merge-region-is-non-clash)
21359 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21360 Also check if the job is really a merge job.
21362 * ediff.el (ediff-current-file): New function.
21364 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21366 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21368 (js-insert-and-indent): Delete function.
21369 (js-mode-map): Don't bind keys to js-insert-and-indent.
21370 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21371 (js-end-of-defun): Rename from js--end-of-defun.
21372 (js-auto-indent-flag): Delete variable.
21374 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21376 * progmodes/js.el: Remove proclaim statement.
21377 Defvar which-func-imenu-joiner-function to silence compiler.
21379 * files.el (auto-mode-alist): Use js-mode for .js files.
21381 * progmodes/js2-mode.el: Remove file.
21383 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21385 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21387 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21389 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21390 Karl Landstrom <karl.landstrom@brgeight.se>
21392 * progmodes/js.el: New file.
21394 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21396 * timezone.el (timezone-parse-date): Add ability to understand ISO
21397 basic format (minimal separators) dates in addition to the
21398 already-supported extended format dates.
21400 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21402 * international/ucs-normalize.el: Add a `coding' file variable.
21404 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21406 2009-08-14 Sam Steingold <sds@gnu.org>
21408 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21410 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21412 * faces.el (help-argument-name): Define it here instead of
21413 help-fns.el, because in daemon mode help-fns.el may be loaded when
21414 faces are still uninitialized (Bug#1078).
21416 * help-fns.el (help-argument-name): Move defface to faces.el.
21418 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21420 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21421 create buffer with a pty but no process so that GDB can make the
21422 inferior the controlling process.
21424 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21426 * international/ucs-normalize.el: New file.
21428 2009-08-13 Richard Stallman <rms@gnu.org>
21430 * mail/rmail.el (rmail-get-attr-names):
21431 Accept an attribute header that is too short.
21433 * mail/rmail.el (rmail-forget-messages):
21434 Ignore nil elt in rmail-message-vector. Use dotimes.
21436 * progmodes/compile.el (compilation-goto-locus):
21437 Use next-error-move-function.
21439 * simple.el (next-error-move-function): New variable.
21441 2009-08-12 Juri Linkov <juri@jurta.org>
21443 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21444 always non-nil. (Bug#4052)
21446 * replace.el (read-regexp): Return empty string when
21447 `default-value' is nil.
21448 (keep-lines-read-args): Don't use empty string as the
21449 default value for `read-regexp'. (Bug#2495)
21451 2009-08-12 Juri Linkov <juri@jurta.org>
21453 * international/mule-cmds.el (ucs-insert): Change arguments
21454 from `arg' to `character', `count', `inherit' to be the same
21455 as in `insert-char'. Doc fix. (Bug#4039)
21457 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21459 2009-08-12 Juri Linkov <juri@jurta.org>
21461 * files-x.el: New file.
21463 * files.el: Move code that deals with adding/deleting
21464 file/directory-local variables to files-x.el.
21466 * Makefile.in (ELCFILES): Add files-x.elc.
21468 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21470 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21471 to use `goto-line'.
21472 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21474 (gdb-invalidate-disassembly): Do not refresh upon receiving
21475 'update signal. Instead, update all disassembly buffers only after
21477 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21478 (gdb-starting): Move -data-list-register-names...
21479 (gdb-stopped): ...here so it's sent when first thread stops.
21480 (gdb-registers-handler-custom): Do nothing if register names are
21483 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21484 from `gdb-mi.el' to avoid extra tangling.
21486 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21487 change which breaks `gud-def' definitions used in `gdb'.
21488 (gdb-update-gud-running): No extra fuss for updating frame number.
21490 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21492 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21493 (describe-language-environment-map, setup-language-environment-map)
21494 (set-coding-system-map): Move initialization into declaration.
21495 (set-language-info-alist): Last arg to define-key-after can be skipped.
21497 * international/quail.el (quail-completion-1): Simplify.
21498 (quail-define-rules): Use slightly more compact code.
21499 (quail-insert-decode-map): Propertize keys, compact columns.
21501 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21504 2009-08-10 Miles Bader <miles@gnu.org>
21506 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21507 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21508 (js2-instance-member, js2-private-member, js2-private-function-call)
21509 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21510 (js2-magic-paren, js2-external-variable):
21511 Remove "-face" suffix from face names.
21512 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21513 (js2-highlight-undeclared-vars, js2-peek-token)
21514 (js2-parse-function-params, js2-mode-show-errors)
21515 (js2-mode-show-warnings, js2-make-magic-delimiter)
21516 (js2-mode-highlight-magic-parens): Update to use new face names.
21518 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21520 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21521 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21523 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21525 * subr.el: Provide hashtable-print-readable.
21527 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21528 hs-c-like-adjust-block-beginning.
21529 (hs-hide-block-at-point): Stop hiding at the beginning of
21530 hs-block-end-regexp (Bug#700).
21532 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21534 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21536 (gdb-registers-handler-custom): Do not fail when register names
21539 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21541 * progmodes/gdb-mi.el (gdb-control-all-threads)
21542 (gdb-control-current-thread): Interactive setters for
21543 `gdb-gud-control-all-threads' to use in menu.
21544 (gdb-show-run-p): Show «Go» when process is not active.
21545 (gud-tool-bar-map): Add non-stop/A,T indicator.
21546 Uses gud/thread.xpm and gud/all.xpm.
21548 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21550 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21551 (nslookup-font-lock-keywords): Make it a variable.
21552 (net-utils-mode): New mode for viewing diagnostic network output.
21553 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21554 (net-utils-run-simple): New function.
21555 (ifconfig, iwconfig, netstat, arp, route): Use it.
21557 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21559 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21560 (gdb-memory-set-address, def-gdb-set-positive-number)
21561 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21562 after changing settings.
21563 (gdb-invalidate-disassembly): Update when first shown.
21564 (gdb-edit-locals-value): Fix.
21565 (gdb-registers-handler-custom): Print registers in right order and
21566 allow changing register values (only for current thread yet).
21567 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21568 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21569 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21570 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21571 Thread info in mode name.
21572 (gdb-registers-mode-map): TAB to switch to locals.
21574 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21576 * mail/rmail.el (rmail-add-mbox-headers)
21577 (rmail-set-message-counters-counter): Search for
21578 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21580 2009-08-08 Glenn Morris <rgm@gnu.org>
21582 * Makefile.in (ELCFILES): Update.
21584 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21586 * mail/sendmail.el (mail-yank-original):
21587 Set buffer-file-coding-system from the one used by the message whose
21590 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21591 to "windows" when "pgnuplot" is used.
21592 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21593 Don't call accept-process-output if "pgnuplot" is used.
21594 (calc-graph-init): Don't send -display and -geometry to
21595 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21596 running "pgnuplot -V" with shell-command-to-string.
21598 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21601 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21603 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21606 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21608 * vc-dispatcher.el (vc-resynch-window): Update comment.
21610 * term.el (term-handle-ansi-escape): Add comments with the
21611 terminfo capabilities implemented.
21613 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21615 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21616 (gdb-var-create-handler): Rewritten using JSON parser.
21617 (gdb-propertize-header): Move earlier.
21618 (gdb-set-header): Remove to avoid duplication.
21619 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21620 Refresh disassembly buffers only after threads list have been
21622 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21625 2009-08-04 Juri Linkov <juri@jurta.org>
21627 * files.el: Commands to add/delete file/directory-local variables.
21628 (read-file-local-variable, read-file-local-variable-value)
21629 (read-file-local-variable-mode, modify-file-local-variable)
21630 (modify-file-local-variable-prop-line)
21631 (modify-dir-local-variable): New functions.
21632 (add-file-local-variable, delete-file-local-variable)
21633 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21634 (add-dir-local-variable, delete-dir-local-variable)
21635 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21636 (copy-dir-locals-to-file-locals-prop-line): New commands.
21638 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21640 * abbrev.el (insert-abbrev-table-description): Prettify output.
21641 Suggested by Karl Chen.
21643 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21645 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21646 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21647 (gdb-overlay-arrow-position, gdb-thread-position)
21648 (gdb-disassembly-position): Declare variables.
21649 (gdb-wait-for-pending): Function now.
21650 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21651 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21652 compilation goes smoothly.
21653 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21654 (gdb-non-stop-setting): New customization setting which replaces
21655 `gdb-non-stop' so changing it doesn't break active GDB session.
21656 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21657 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21658 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21659 (gdb-show-threads-by-default): New customization options.
21660 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21662 (gdb-get-buffer-create): Send buffers update signal when they are
21664 (gdb-invalidate-locals, gdb-invalidate-registers)
21665 (gdb-invalidate-breakpoints)
21666 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21667 (gdb-invalidate-memory): Accept update signal.
21668 (gdb-current-context-command): Use --frame option.
21669 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21670 Implement `gdb-frame-number' selection logic.
21671 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21672 whether to show GUD toolbar buttons.
21673 (gdb-thread-exited): Unselect current thread when it exits.
21674 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21675 (gdb-mark-line): Routine which sets overlay arrow or inverses
21676 video on fringeless displays.
21677 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21678 to build aligned columns of data in GDB buffers and set text
21679 properties line-by-line.
21680 (gdb-invalidate-breakpoints)
21681 (gdb-breakpoints-list-handler-custom)
21682 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21683 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21684 (gdb-registers-handler-custom): Align data columns.
21685 (gdb-locals-handler-custom): Now prints data like in variable
21687 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21688 Remove confusing buttons.
21689 (gdb-invalidate-threads): Append --frame.
21690 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21691 between breakpoints/threads buffers.
21692 (gdb-set-window-buffer): Now can ignore dedicated windows.
21693 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21694 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21695 (def-gdb-thread-buffer-gud-command): Replaces
21696 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21697 for fine thread control.
21698 (gdb-preempt-existing-or-display-buffer): New function used to
21699 display bound buffers without breaking window layout.
21700 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21701 (gdb-select-frame): New version of `gdb-frames-select' which now
21702 sets `gdb-frame-number' so commands may use --frame option instead
21703 of inner debugger state.
21704 (gdb-frame-handler): Do not set `gdb-frame-number'.
21705 (gdb-threads-mode-map): Select threads with mouse.
21707 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21708 avoid compilation warning.
21709 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21712 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21713 Argument `key' renamed to `buffer-type'.
21714 (gdb-current-context-buffer-name): Do not add thread info to
21715 buffer name when no thread is selected.
21716 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21717 command (bug 3794).
21718 (gdb-thread-selected): Handle `=thread-selected' notification.
21719 (gdb-wait-for-pending): New macro to deal with congestion problems.
21720 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21722 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21723 This fixes problem similar to one described in bug 3947.
21724 (gud-menu-map): More menu items.
21725 (gdb-init-1): Reset `gdb-thread-number' to nil.
21727 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21730 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21731 (gdb-current-context-command): Do not append --thread if
21732 `gdb-thread-number' is nil.
21733 (gdb-running-threads-count, gdb-stopped-threads-count):
21735 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21736 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21737 New customization options.
21738 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21740 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21741 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21742 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21743 set `gdb-thread-number' and update `gud-running' properly.
21744 (gdb-running): Update threads list when new threads appear.
21745 (gdb-stopped): Support non-stop operation and new thread switching
21747 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21748 (gdb-json-partial-output): New set of JSON routines.
21749 (def-gdb-auto-update-trigger): New `signal-list' optional
21751 (gdb-thread-list-handler-custom): Update `gud-running',
21752 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21753 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21754 (gdb-continue-thread, gdb-step-thread): New commands for fine
21755 thread execution control.
21756 (gud-menu-map): New menu items to switch non-stop options.
21757 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21758 (gdb-send): Mimic RET properly (bug 3794).
21760 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21761 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21763 (def-gdb-auto-update-handler): New nopreserve optional argument.
21764 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21766 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21767 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21768 (gdb-parent-mode): New mode to derive other GDB modes from.
21769 (gdb-display-disassembly-for-thread)
21770 (gdb-frame-disassembly-for-thread): New commands for threads
21773 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21774 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21775 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21776 (gdb-update): We now store all GDB buffers in a list so that they
21777 can be updated by traversing a list instead of calling invalidate
21778 triggers explicitly.
21779 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21780 pair for GDB buffer.
21781 (gdb-stack-buffer-name): Add thread information.
21782 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21783 handle pending triggers.
21784 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21785 (def-gdb-thread-buffer-simple-command)
21786 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21787 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21788 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21789 New commands which show buffers bound to thread.
21790 (gdb-stack-list-locals-regexp): Remove unused regexp.
21792 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21793 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21794 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21795 to (gud-comint-buffer) in *-buffer-name functions
21796 because (gdb-get-target-string) already does that.
21797 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21798 (gdb-changed-registers-handler): Rewritten without regexps.
21800 * progmodes/gdb-mi.el: Basic thread selection support.
21801 (gdb-thread-number): New variable.
21802 (gdb-current-context-command): New macro which adds --thread
21804 (gdb-threads-mode-map): Select thread with SPC.
21805 (gdb-thread-list-handler-custom): Mark current thread with overlay
21806 arrow. Synchronize GDB thread and Emacs thread.
21807 (gdb-select-thread): New command which selects current thread.
21808 (gdb-invalidate-frames, gdb-invalidate-locals)
21809 (gdb-invalidate-registers): Use --thread option.
21811 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21813 * net/tramp.el (top): Make check for tramp-gvfs loading more
21815 (tramp-handle-insert-file-contents): `unwind-protect' must be
21816 inside `with-parsed-tramp-file-name'.
21818 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21821 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21823 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21824 directory if CLASSPATH is not set.
21826 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21828 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21830 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21832 2009-08-02 Kevin Ryde <user42@zip.com.au>
21834 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21835 Update freshmeat link. Delete newsforge.com as it seems gone.
21837 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21839 * select.el (x-set-selection): Doc fix (Bug#4021).
21841 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21843 * help-fns.el (describe-variable): Treat list return values from
21844 dir-locals-find-file properly (Bug#4005).
21846 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21848 * net/tramp.el (tramp-debug-message): Print also microseconds.
21850 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21852 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21854 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21855 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21858 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21859 (tramp-get-file-property): Use it.
21861 * autorevert.el (auto-revert-handler):
21862 Allow `auto-revert-tail-mode' for remote files.
21864 2009-08-02 Jason Rumney <jasonr@gnu.org>
21866 * minibuffer.el (read-file-name): Treat confirm options to
21867 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21869 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21871 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21872 (font-lock-variable-name-face, font-lock-constant-face):
21873 Darken the colors for light backgrounds.
21875 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21877 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21878 month names. (Bug#3987)
21880 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21882 * simple.el (line-move-finish): Pass whole number to
21883 line-move-to-column.
21884 (line-move-visual): Perform hscroll to the recorded position.
21886 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21888 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21890 2009-07-29 Alan Mackenzie <acm@muc.de>
21892 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21894 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21896 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21897 (gdb-place-breakpoints): Use full path when setting breakpoints.
21899 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21901 * calc/calc.el (calc-mode-map): Add keybinding for
21902 `calc-transpose-lines'.
21904 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21906 * calc/calc-misc.el (calc-transpose-lines): New function.
21908 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21910 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21911 Simplify check for out-of-band methods.
21912 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21913 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21915 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21917 * vc-git.el (vc-git-checkin): Fix typo.
21919 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21921 * progmodes/js2-mode.el: New file.
21923 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21925 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21926 (gud-menu-map): Adjust tooltip accordingly.
21928 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21930 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21931 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21933 * add-log.el (change-log-mode-map): Add a menu.
21935 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21937 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21938 function returns nil.
21939 (dbus-handle-event): Handle special return value :ignore.
21940 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21942 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21944 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21947 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21951 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21953 * term/pc-win.el (x-display-name, x-colors)
21954 (x-select-enable-clipboard, x-select-text): Doc fix.
21956 * term/common-win.el (x-display-name, x-colors): Doc fix.
21958 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21959 (xw-defined-colors): Doc fix.
21961 * w32-fns.el (x-select-text, x-setup-function-keys)
21962 (x-get-selection, x-set-selection): Doc fix.
21964 * term/x-win.el (x-select-text, x-setup-function-keys)
21965 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21967 * select.el (x-set-selection): Doc fix.
21969 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21971 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21972 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21973 "IsNSSSupportAvailable" method is not available.
21974 Reported by Steve Youngs <steve@sxemacs.org>.
21976 2009-07-24 Kenichi Handa <handa@m17n.org>
21978 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21979 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21980 (build-unicode-category-table): Fix range checks.
21982 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21984 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21985 the buffer we try to sync is current when calling
21988 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21989 not show up to date files.
21991 2009-07-24 Glenn Morris <rgm@gnu.org>
21993 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21994 Add autoload cookies. If necessary, initialize.
21995 (elint-log): Handle non-file buffers.
21996 (elint-initialize): Add optional argument to reinitialize.
21997 (elint-find-builtin-variables): Save excursion.
21999 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22001 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22004 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22006 * vc.el (vc-print-log-internal): New function, split out from ...
22007 (vc-print-log): ... here.
22008 (vc-dir-move-to-goal-column): Declare.
22010 * vc-git.el (vc-git-add-signoff): New variable.
22011 (vc-git-checkin): Use it.
22012 (vc-git-toggle-signoff): New function.
22013 (vc-git-extra-menu-map): Bind it to menu.
22014 (vc-git--run-command-string): Accept a nil FILE argument.
22015 (vc-git-stash-list): New function.
22016 (vc-git-dir-extra-headers): Use it.
22018 2009-07-23 Glenn Morris <rgm@gnu.org>
22020 * help-fns.el (describe-variable): Describe ignored and risky local
22021 variables in a similar way to that in which we describe safe ones.
22023 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22024 (byte-compile-output-file-form, byte-compile-output-docform)
22025 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22026 Give some more local variables with common names a "bytecomp-" prefix,
22027 so as not to shadow things during compilation.
22028 * emacs-lisp/cl-macs.el (load-time-value)
22029 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22030 `outbuffer' to `bytecomp-outbuffer'.
22032 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22033 since the next two variables cover them automatically now.
22034 (elint-builtin-variables, elint-autoloaded-variables): New.
22035 (elint-unknown-builtin-args): Remove all members, since they can be
22036 parsed automatically now.
22037 (elint-extra-errors): New.
22038 (elint-env-add-env, elint-env-add-macro): Use cadr.
22039 (elint-current-buffer): Use or. Change final message.
22040 (elint-get-top-forms): Use line-end-position.
22041 (elint-init-env): Use cadr. Handle autoload, declare-function,
22043 (elint-add-required-env): Doc fix. Use or. Standardize error.
22044 (regexp-assoc): Remove unused function.
22045 (elint-top-form): Set elint-current-pos, to record the start of the
22046 top-level form, for compilation-mode.
22047 (elint-form): Trap errors in macro expansion. Use dolist.
22048 (elint-unbound-variable): Use elint-builtin-variables and
22049 elint-autoloaded-variables.
22050 (elint-get-args): Use cadr, or.
22051 (elint-check-cond-form): Use dolist, cadr.
22052 (elint-check-condition-case-form): Doc fix. Use cadr.
22053 Use elint-extra-errors.
22054 (elint-log): New function.
22055 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22056 Distinguish errors and warnings.
22057 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22058 Use a bytecomp-style format.
22059 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22060 (elint-get-log-buffer): Use compilation mode. Disable undo.
22061 Don't truncate lines.
22062 (elint-initialize): Set builtin and autoloaded variable lists.
22063 Only process elint-unknown-builtin-args if non-nil.
22064 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22066 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22068 2009-07-22 Kevin Ryde <user42@zip.com.au>
22070 * net/newst-backend.el (newsticker--parse-atom-1.0)
22071 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22072 (newsticker--parse-rss-1.0):
22073 * progmodes/idlwave.el (idlwave-mode):
22074 * progmodes/idlw-shell.el (idlwave-shell-mode):
22075 * progmodes/vera-mode.el (vera-mode):
22076 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22077 * progmodes/vhdl-mode.el (vhdl-mode):
22078 * textmodes/table.el (table-generate-source)
22079 (table--warn-incompatibility):
22080 Hyperlink urls in docstrings with URL `...'.
22082 2009-07-22 Glenn Morris <rgm@gnu.org>
22084 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22085 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22086 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22087 Remove leading * from defcustom docs.
22089 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22091 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22093 (list-load-path-shadows): Optionally, just return shadows as a string.
22095 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22097 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22099 * mail/rmailedit.el (rmail-edit-mode):
22100 Use auto-save-include-big-deletions.
22102 * mail/rmail.el (rmail-variables):
22103 Use auto-save-include-big-deletions.
22105 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22108 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22110 * calc/calc.el (calc-undo-length): New variable.
22111 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22113 2009-07-21 Richard Stallman <rms@gnu.org>
22115 * files.el (auto-save-mode): Handle buffer-save-size = -2
22118 2009-07-21 Glenn Morris <rgm@gnu.org>
22120 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22122 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22124 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22125 silence compiler. Instead...
22126 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22127 (ps-print-ensure-fontified): Update for above function name changes.
22129 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22130 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22131 silence compiler. Instead...
22132 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22133 (mh-show-buffer): Only define for compiler.
22134 (pr-mh-current-message): Update for above function name changes.
22136 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22138 (find-file-noselect, insert-file-1): Update for above change.
22140 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22142 * mail/mailclient.el (mailclient-send-it): Fix message.
22144 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22145 (edebug-eval): Check cl-debug-env is bound.
22146 (print-level, print-circle): Don't redefine built-in variables.
22148 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22149 (custom-print-vectors): Remove old comments from doc.
22151 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22152 (emerge-version): Make the variable an obsolete alias for the
22153 emacs-version variable. Make the function obsolete.
22154 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22155 Emerge options, rather than merging in into the main Options menu.
22156 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22157 and auto advance modes. Disable edit/fast items when not relevant.
22159 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22161 * term/vt420.el (terminal-init-vt420): Fix typo.
22163 2009-07-20 Sam Steingold <sds@gnu.org>
22165 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22166 variable (removed from compile.el on 2004-03-11).
22168 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22170 * files.el (hack-local-variables-filter): Fix last change.
22172 2009-07-19 Juri Linkov <juri@jurta.org>
22174 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22175 (dir-local-variables-alist): New buffer-local variable.
22176 (hack-local-variables-filter): If variable is not dir-local,
22177 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22178 because file-local overrides dir-local.
22179 (c-postprocess-file-styles) <declare-function>:
22180 Remove obsolete declaration.
22181 (hack-dir-local-variables): Add dir-local variable/value pair to
22182 `dir-local-variables-alist' and remove duplicates. Doc fix.
22184 * help-fns.el (describe-variable): Add information about
22185 file-local and dir-local variables.
22187 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22189 * files.el (hack-local-variables-filter): Rewrite.
22191 2009-07-19 Glenn Morris <rgm@gnu.org>
22193 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22194 Silence compiler by only defining on XEmacs.
22196 * international/mule.el (auto-coding-regexp-alist): Only match
22197 BABYL... at the start of buffer, not of lines. (Bug#3790)
22199 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22200 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22201 (cal-menu-context-mouse-menu): Doc fix.
22203 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22205 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22207 2009-07-18 Juri Linkov <juri@jurta.org>
22209 * info.el: Virtual Info keyword finder.
22210 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22211 (Info-finder-file): New variable.
22212 (Info-finder-find-file): New function.
22213 (finder-known-keywords, finder-package-info)
22214 (find-library-name, lm-commentary): Use defvar and
22215 declare-function to silence compiler warnings.
22216 (Info-finder-find-node): New function.
22217 (info-finder): New command.
22219 * subr.el (process-kill-buffer-query-function): New function.
22220 (add-hook)<kill-buffer-query-functions>: Add hook
22221 `process-kill-buffer-query-function'.
22223 2009-07-18 Alan Mackenzie <acm@muc.de>
22225 * progmodes/cc-mode.el (c-before-hack-hook)
22226 (c-postprocess-file-styles): Give invocation of `c-set-style'
22227 DONT-OVERRIDE parameter of t. Already set style variables will
22228 thus not be overridden by style settings given by `c-file-syle'.
22230 * files.el (hack-local-variables-filter): Remove entries with
22231 duplicate keys from `file-local-variables-alist'.
22233 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22235 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22236 x-set-selection if display-selections-p returns nil for the
22239 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22241 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22243 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22245 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22246 Accept nil in addition to a regexp.
22247 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22248 Accept nil in addition to a regexp.
22249 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22250 buffers that have an associated file. Handle nil values of
22251 desktop-buffers-not-to-save and desktop-files-not-to-save.
22254 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22255 (x-disown-selection-internal): New functions.
22257 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22259 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22261 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22262 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22264 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22266 * simple.el (set-mark): Revert last change.
22268 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22270 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22271 rendering of pngs is not possible instead of messaging a long
22274 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22276 * w32-fns.el (x-selection-owner-p): New function.
22278 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22279 (mouse-yank-at-click, mouse-yank-primary):
22280 If select-active-regions is non-nil, deactivate the mark before
22283 * simple.el (deactivate-mark, set-mark): Only save selection if we
22286 2009-07-17 Kenichi Handa <handa@m17n.org>
22288 * case-table.el (describe-buffer-case-table): Fix for the case
22289 that KEY is a cons.
22291 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22293 * vc-rcs.el (vc-rcs-find-file-hook):
22294 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22296 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22298 * net/tramp.el (tramp-wait-for-output): Handle the case when
22299 commands do not return a newline but a null byte before the shell
22302 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22304 * term/ns-win.el (ns-set-alpha): Don't declare.
22305 (ns-set-background-alpha): Remove function.
22307 2009-07-16 Kevin Ryde <user42@zip.com.au>
22309 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22310 y-or-n-p, for safety.
22312 2009-07-16 Richard Stallman <rms@gnu.org>
22314 * files.el (auto-save-mode): If buffer-saved-size is -2,
22317 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22318 (rmail-retry-ignored-headers): Add more uninteresting fields.
22320 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22322 * net/rcirc.el (rcirc): Use history variables.
22323 (rcirc-server-name-history, rcirc-nick-name-history)
22324 (rcirc-server-port-history): New variables.
22326 2009-07-15 Kenichi Handa <handa@m17n.org>
22328 * international/mule-cmds.el (set-language-environment-charset):
22329 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22332 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22333 Delete unibyte-display.
22335 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22337 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22339 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22341 * simple.el (deactivate-mark): Optional argument FORCE.
22342 (set-mark): Use deactivate-mark.
22344 * info.el (Info-search): No need to check transient-mark-mode
22345 before calling deactivate-mark.
22347 * select.el (x-set-selection): Doc fix.
22348 (x-valid-simple-selection-p): Allow buffer values.
22349 (xselect--selection-bounds): Handle buffer values.
22350 Suggested by David De La Harpe Golden.
22352 * mouse.el (mouse-set-region, mouse-drag-track):
22353 Call copy-region-as-kill before setting the mark, to let
22354 select-active-regions work.
22356 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22358 * simple.el (deactivate-mark): If select-active-regions is
22359 non-nil, copy the selection data into a string.
22360 (activate-mark): If select-active-regions is non-nil, set the
22361 selection to the current buffer.
22362 (set-mark): Update selection if select-active-regions is non-nil.
22364 * select.el (x-valid-simple-selection-p): Allow buffer values.
22366 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22368 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22369 and more featureful message-mode.
22371 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22373 * select.el (x-set-selection): Doc fix.
22374 (x-valid-simple-selection-p): Disallow selection data consisting
22375 of a list or cons of integers, since that is not used.
22376 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22377 (xselect-convert-to-string, xselect-convert-to-length)
22378 (xselect-convert-to-filename, xselect-convert-to-charpos)
22379 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22381 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22383 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22384 output in -break-info command (Emacs bug #3794).
22386 2009-07-14 Glenn Morris <rgm@gnu.org>
22388 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22389 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22390 (edebug-print-length, edebug-print-level, edebug-print-circle)
22391 (edebug-sit-for-seconds, edebug-view-outside)
22392 (edebug-bounce-point, edebug-set-global-break-condition)
22393 (edebug-Go-nonstop-mode, edebug-trace-mode)
22394 (edebug-Trace-fast-mode, edebug-continue-mode)
22395 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22396 (edebug-visit-eval-list): Doc fixes.
22398 * subr.el (def-edebug-spec): Doc fix.
22400 2009-07-14 Kenichi Handa <handa@m17n.org>
22402 * international/characters.el: Fix setting of category ?C.
22404 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22406 * term/ns-win.el (x-select-font): defalias x-select-font to
22407 ns-popup-font-panel instead of generate-fontset-menu.
22409 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22411 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22413 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22415 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22416 the PK\003\004 header (Bug#3770).
22418 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22420 * pcomplete.el (pcomplete-comint-setup): Check for
22421 shell-dynamic-complete-filename too.
22423 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22425 * simple.el (temporary-goal-column): Change the value for
22426 line-move-visual to a cons cell.
22427 (line-move-visual): Record or set the window hscroll, if
22428 necessary (Bug#3494).
22429 (line-move-1): Handle cons value of temporary-goal-column.
22431 2009-07-11 Kenichi Handa <handa@m17n.org>
22433 * international/mule-diag.el (describe-character-set): Don't show
22436 2009-07-10 Sam Steingold <sds@gnu.org>
22438 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22439 Omake sometimes indents the errors it prints, so allow all
22440 regexps to start with spaces.
22442 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22444 * cus-edit.el (customize-changed-options-previous-release):
22445 Bump value to 22.1. (Bug#3804)
22447 2009-07-08 Sam Steingold <sds@gnu.org>
22449 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22450 to be a cons cell (test . ignored-directory) to selectively ignore
22451 some directories depending on the location of the search.
22453 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22455 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22456 remote user is root, on the local host.
22457 (tramp-local-host-p): Either the local user or the remote user
22458 must be root. (Bug#3771)
22460 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22462 * progmodes/gdb-mi.el (gdb): Remove description of
22463 gdb-use-separate-io-buffer.
22464 (menu): Don't allow toggling of or enable
22465 gdb-use-separate-io-buffer from menubar.
22467 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22469 * mail/unrmail.el (unrmail): Make sure the message ends with two
22470 newlines (Bug#3769).
22472 2009-07-08 Glenn Morris <rgm@gnu.org>
22474 * calendar/calendar.el (calendar-current-date): Rework previous change.
22476 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22478 * calendar/calendar.el (calendar-current-date):
22479 Add an optional argument giving an offset from today.
22481 2009-07-08 Glenn Morris <rgm@gnu.org>
22483 * tutorial.el (tutorial--describe-nonstandard-key):
22484 Adjust the message for when a key has been unbound.
22485 (help-with-tutorial): Hide the arch-tag.
22487 2009-07-08 Kenichi Handa <handa@m17n.org>
22489 * international/fontset.el (setup-default-fontset): For each
22490 script, append (not set) font-specs.
22492 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22495 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22497 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22498 -data-list-register-names to ...
22499 (gdb-starting): ... here because GDB 7.0 requires execution to
22500 have started when using this MI command.
22501 (gdb-set-header): New function to distinguish select and
22502 unselected tabs in gdb buffers.
22503 (gdb-propertize-header): New macro that uses gdb-set-header.
22504 (gdb-breakpoints-header, gdb-locals-header): Use it.
22505 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22507 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22509 * Makefile.in (ELCFILES): Remove fadr.elc.
22511 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22513 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22514 may contain frame information, so `string-match' should be used.
22515 (gdb-update): Disassembly is invalidated through
22516 `gdb-get-selected-frame'.
22517 (gdb-pad-string): New function to pad string with spaces.
22518 (gdb-invalidate-disassembly): Invalidate only if the buffer
22520 (gdb-disassembly-handler-custom): Column alignment.
22521 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22523 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22525 (gdb-frame-handler): Match convention to for disassembly buffer
22527 (gdb-stack-list-frames-handler): Rewritten without regexps.
22528 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22529 not highlight breakpoints without line information.
22530 (gdb-input): Add trailing newline to command.
22532 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22534 (gdb-breakpoints-list-handler-custom): Replacement for
22535 `gdb-break-list-handler'. Using real parser instead of regexps
22537 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22538 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22539 to place breakpoints.
22540 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22542 (gdb-disassembly-handler-custom): Show overlay arrow.
22543 (gdb-disassembly-place-breakpoints): Show breakpoints in
22544 disassembly buffer.
22545 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22546 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22547 instead of parsing breakpoints buffer. Fixed old menu references
22552 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22553 (gdb-memory-address): New variable which holds top address of
22554 memory page shown in memory buffer.
22555 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22556 New customization variables.
22558 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22559 display the memory buffer.
22560 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22561 buffer display parameters.
22562 (def-gdb-memory-format, gdb-memory-format-binary)
22563 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22564 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22565 Functions for setting memory buffer format.
22566 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22567 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22568 unit size used in memory buffer.
22569 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22570 Switch to next/previous page of memory buffer.
22571 Now using (bindat-get-field) instead of fadr functions.
22573 2009-07-07 Sam Steingold <sds@gnu.org>
22575 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22576 non-top-level files.
22578 2009-07-07 Kenichi Handa <handa@m17n.org>
22580 * international/mule-cmds.el (reset-language-environment):
22581 Put the highset priority to the charset iso-8859-1.
22583 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22585 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22586 to the end of the line when locating the block (Bug#700).
22588 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22590 * net/tramp.el (tramp-handle-write-region): Flush file properties
22591 in case of short track.
22593 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22595 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22596 Coded custom representation of verilog error regular expressions
22597 to work with Emacs-22's new format.
22598 (verilog-error-regexp-xemacs-alist): Coded custom representation
22599 of verilog error regular expressions to work with XEmacs format.
22600 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22601 error recognition into XEmacs.
22602 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22603 error recognition into Emacs-22.
22605 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22607 * woman.el: Remove stand-alone closing parentheses.
22608 (woman-file-name, woman2-format-paragraphs)
22609 (woman-leave-blank-lines): Code cleanup.
22610 (woman-use-own-frame): Change default to nil.
22611 (woman-italic, woman-bold, woman-unknown, woman-addition):
22612 Change defaults to inherit from default faces.
22613 (woman2-process-escapes): Consume the newline after a stand-alone
22614 filler character (Bug#3651).
22616 2009-07-06 Glenn Morris <rgm@gnu.org>
22618 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22619 (top-level): Move provide to the end.
22620 (ffap): Remove defunct URL from custom group.
22622 * subr.el (eval-after-load): Doc fix.
22624 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22626 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22627 `calc-embedded-word' is called twice.
22629 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22631 * files.el (find-alternate-file-other-window, find-alternate-file):
22632 Obey confirm-nonexistent-file-or-buffer.
22634 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22636 * dired-aux.el (dired-show-file-type): Handle remote files.
22638 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22640 * desktop.el (desktop-globals-to-save):
22641 Add file-name-history (Bug#2750).
22643 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22645 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22647 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22649 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22650 property on entire argument since this is what eshell-lisp-command
22653 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22655 * net/tramp-gvfs.el (tramp-gvfs-methods)
22656 (tramp-gvfs-zeroconf-domain)
22657 (tramp-bluez-discover-devices-timeout): Add version flag.
22658 (tramp-gvfs-handler-mounted-unmounted)
22659 (tramp-gvfs-connection-mounted-p): Polish handling of
22660 incompatibilities between GVFS 0.2 and 1.0.
22662 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22664 * cus-start.el (all): Add make-pointer-invisible.
22666 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22668 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22669 formatted correctly.
22671 2009-07-02 Juri Linkov <juri@jurta.org>
22673 * info.el: Virtual Info files and nodes.
22674 (Info-virtual-files, Info-virtual-nodes): New variables.
22675 (Info-current-node-virtual): New variable.
22676 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22678 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22679 to check for a virtual file instead of checking a fixed list
22681 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22682 instead of ad-hoc processing of "dir" and (apropos history toc).
22683 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22684 instead of ad-hoc processing of "dir" and (apropos history toc).
22685 Reread a file when moving from a virtual node.
22686 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22687 (Info-directory-toc-nodes, Info-directory-find-file)
22688 (Info-directory-find-node): New functions.
22689 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22690 (Info-history): Move part of code to
22691 `Info-history-find-node'.
22692 (Info-history-toc-nodes, Info-history-find-file)
22693 (Info-history-find-node): New functions.
22694 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22695 (Info-toc): Move part of code to `Info-toc-find-node'.
22696 (Info-toc-find-node): New function.
22697 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22698 the current Info file name to references because now the node
22699 "*TOC*" belongs to the same Info manual.
22700 (Info-toc-build): Rename from `Info-build-toc'.
22701 (Info-toc-nodes): Rename input argument `file' to `filename'.
22702 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22703 instead of ad-hoc processing of ("dir" apropos history toc).
22704 (Info-index-nodes): Use Info-virtual-file-p
22705 to check for a virtual file instead of checking a fixed list
22707 (Info-index-node): Add check for `Info-current-node-virtual'.
22708 Raise `save-match-data' higher up the tree to contain
22709 `search-forward' too (bug fix).
22710 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22711 (Info-virtual-index-nodes): New variable.
22712 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22713 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22714 (Info-apropos-file, Info-apropos-nodes): New variables.
22715 (Info-apropos-toc-nodes, Info-apropos-find-file)
22716 (Info-apropos-find-node, Info-apropos-matches): New functions.
22717 (info-apropos): Move part of code to `Info-apropos-find-node' and
22718 `Info-apropos-matches'.
22719 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22720 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22721 for a virtual file instead of checking a fixed list of node names.
22723 * simple.el (async-shell-command): New command.
22725 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22727 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22728 instead of `mount-info'.
22730 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22732 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22733 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22735 2009-07-02 Kenichi Handa <handa@m17n.org>
22737 * international/mule.el (set-keyboard-coding-system): Force *-unix
22738 coding-system to avoid eol conversion.
22740 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22742 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22743 Add handler for `process-file', `shell-command' and
22744 `start-file-process'.
22745 (tramp-gvfs-handle-shell-command)
22746 (tramp-gvfs-handle-start-file-process)
22747 (tramp-gvfs-handle-process-file): New defuns.
22748 (tramp-synce-list-devices): Simplify check for existence of property.
22750 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22752 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22754 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22756 * language/korean.el (set-language-info-alist): Add korean-cp949,
22759 2009-07-01 Kenichi Handa <handa@m17n.org>
22761 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22763 * international/encoded-kb.el: Deleted.
22765 * international/mule.el (set-keyboard-coding-system): Perform the
22766 necessary setup here instead of calling encoded-kbd-setup-display.
22768 2009-07-01 Glenn Morris <rgm@gnu.org>
22770 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22772 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22774 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22776 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22778 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22779 Handle also the 'rename case, when setting file modes. (Bug#3712)
22780 (tramp-default-file-modes): Remove execute permissions.
22782 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22783 (top): Add a default for "synce" in `tramp-default-user-alist'.
22784 Add completion function for "synce" method.
22785 (tramp-hal-service, tramp-hal-path-manager)
22786 (tramp-hal-interface-manager, tramp-hal-interface-device):
22788 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22789 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22792 * net/trampver.el: Update release number.
22794 2009-06-30 Kenichi Handa <handa@m17n.org>
22796 * international/fontset.el (setup-default-fontset): Add CJK fonts
22797 for symbols and the other miscellaneous characters.
22799 * language/korea-util.el (setup-korean-environment-internal):
22800 Make char-width-table suitable for Korean environments.
22801 (exit-korean-environment): Cancel above.
22803 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22804 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22805 setup-function to make char-width-table suitable for respective
22806 environments, and an exit-function to cancel that.
22808 * language/japan-util.el (setup-japanese-environment-internal):
22809 Call use-cjk-char-width-table with arg `ja_JP'.
22811 * international/characters.el (cjk-char-width-table): Delete it.
22812 (cjk-char-width-table-list): New variable.
22813 (use-cjk-char-width-table): New arg local-name.
22814 (use-default-char-width-table): Fix for the case that Emacs is
22815 already using the default char-width-table.
22817 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22819 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22820 modes mandatory. (Bug#3712)
22822 2009-06-29 Alan Mackenzie <acm@muc.de>
22824 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22825 correction between the visible width of TABs and their number of bytes.
22827 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22829 * server.el (server-buffer-done): Prevent kill-buffer from
22830 prompting by clearing the buffer modification flag (Bug#3696).
22832 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22834 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22835 (verilog-endcomment-reason-re): Support unique case and priority case.
22836 (verilog-basic-complete-re): Support localparam lineup.
22837 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22838 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22840 (verilog-leap-to-case-head): Now support *nested* unique &
22841 priority case statements.
22842 (verilog-auto-lineup): Make just declarations the default (as it
22844 (verilog-leap-to-case-head): Support priority/unique case statements.
22845 (verilog-auto-lineup): Rework to give users radio buttons to
22846 select the various styles of automatic lineup.
22847 (verilog-error-regexp-alist): Rework to support the XEmacs style
22848 of error regular expressions from compilers, lint tools &
22849 simulators. Note that GNU Emacs has made it impossible for a mode
22850 to load such things.
22851 (electric-verilog-terminate-line, verilog-indent-declaration)
22852 (verilog-auto-wiure): Rework for radio button selection of
22853 auto-lineup selection of specification of auto lineup.
22854 (verilog-beg-of-statement-1): Redesign to support proper operation
22855 in additional code, based on testing with auto-lineup.
22856 (verilog-calculate-indent, assignments & declarations)
22857 (verilog-backward-token): Enhance to support auto-lineup of
22858 assignments & declarations.
22859 (verilog-in-directive-p, verilog-at-struct-p): New function for
22860 easy test of whether we are.
22861 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22862 to support safe execution at almost anyline.
22863 (verilog-calc-1): Properly support indenting deep inside generate
22865 (verilog-init-font): Remove definition & use of verilog-init-font,
22866 as it is redundant with font-lock-defaults.
22867 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22868 to avoid circular calls if syntax-ppss is a function (as is the
22869 case now in 22.x GNU Emacs) as that function would sometimes call
22870 itself, leading to (nearly) infinite recursion.
22871 (verilog-ovm-begin-re, verilog-ovm-end-re)
22872 (verilog-ovm-statement-re, verilog-leap-to-head)
22873 (verilog-backward-token): Add support for OVM macros. Some are
22874 complete statements, and others open and close scopes like begin
22876 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22877 (verilog-defun-level-generate-only-re): Really fix the defun-list
22879 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22880 coverpoint, constraint and cross statements.
22881 (verilog-defun-level-list, verilog-generate-defun-level-list)
22882 (verilog-all-defun-level-list): Redo these specifications - it is
22883 too hard to support eval-when compile aggregation of lists also
22884 built at when-compile time.
22885 (verilog-defun-level-list): Place defconsts of variables used in
22886 building regular expressions which are built in eval-when-compile
22887 bodies in the same eval-when-compile body to facilitate compile
22889 (verilog-beg-block-re-ordered): Support indenting
22890 virtual/protected tasks and functions.
22891 (verilog-defun-level-list, verilog-in-generate-region-p)
22892 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22893 indentation of some module items (generate items).
22894 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22895 across virtual/protected tasks and functions.
22897 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22899 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22900 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22901 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22902 in concatenations. Reported by Yishay Belkind.
22903 (verilog-auto-ascii-enum): Support one-hot state machines in
22904 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22905 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22906 modport in AUTOINST and add vl-modport for users.
22907 Reported by David Rogoff.
22908 (verilog-auto-inout-module, verilog-auto-inst)
22909 (verilog-decls-get-interfaces, verilog-insert-definition)
22910 (verilog-insert-one-definition, verilog-read-decls)
22911 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22912 (verilog-sig-modport, verilog-signals-combine-bus)
22913 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22914 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22915 Suggested by David Rogoff.
22916 (verilog-repair-open-comma): Fix non-insertion of comma when
22917 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22918 (verilog-make-width-expression): Simplify [A-1:0] expression
22919 widths to just {A{1'b0}}.
22920 (verilog-mode): Cleanup checkdoc warnings.
22921 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22922 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22923 inputs/outputs or data type. Suggested by Vasu Kandadi.
22924 (next-error-last-buffer): Fix byte-compiler warning.
22925 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22926 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22927 or shell command text during AUTO expansion. Suggested by Tad Truex.
22928 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22929 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22930 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22931 in AUTOINOUT. Reported by Matthew Lovell.
22932 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22933 causing use of <= assignments. Reported by Alex Reed.
22934 (verilog-read-decls): Fix triand, trior, wand, wor to be
22935 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22936 (verilog-extended-complete-re): Support import "DPI-C" functions.
22937 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22938 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22939 (verilog-insert-date, verilog-insert-year)
22940 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22941 Windows systems. Reported by Michael Potts.
22942 (verilog-read-module-name): Fix AUTOINST when the child module
22943 declaration's name is a tick define. Reported by Elliot Mednick.
22944 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22945 passed to next parameter's definition. Reported by Bruce T.
22946 (verilog-read-decls): Fix detecting "parameter int" when using
22947 AUTOINSTPARAM. Reported by Bruce T.
22948 (verilog-goto-defun): Fix goto not finding modules unless first
22949 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22950 (verilog-mode): Expand -f flag arguments on entry to mode so
22951 verilog-goto-defun will work. Reported by Lawrence Butcher.
22952 (verilog-getopt): Expand environment variables in -f file
22953 arguments. Suggested by Lawrence Butcher.
22954 (verilog-set-define): Fix "Symbol's value as variable is void"
22955 when reading enumerations.
22956 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22957 Suggested by Stephen Peltan.
22958 (verilog-read-defines): Fix reading of enumerations in include
22959 files. Reported by Steve Peltan.
22961 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22963 * files.el (trash-directory): Fix defcustom type.
22965 2009-06-28 Juri Linkov <juri@jurta.org>
22967 * help-fns.el (describe-function-1): Correctly locate adviced
22968 functions in hyperlink (Bug#2438).
22970 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22972 * files.el (trash-directory): Change default to nil.
22973 (move-file-to-trash): If trash-directory is nil and
22974 system-move-file-to-trash is unbound, perform freedesktop-style
22977 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22979 * files.el (move-file-to-trash): Add freedesktop trash
22982 2009-06-28 Glenn Morris <rgm@gnu.org>
22984 * autorevert.el (global-auto-revert-non-file-buffers)
22985 (global-auto-revert-mode): Doc fixes.
22987 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22989 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22991 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22993 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22994 opened an X connection before calling x-get-resource (Bug#3194).
22996 * play/doctor.el: Remove reference to obsolete website.
22997 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22999 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23001 Remove find-file-not-found-hook VC method. (Bug#2757)
23002 * vc-hooks.el (vc-file-not-found-hook)
23003 (vc-default-find-file-not-found-hook): Remove functions.
23004 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23005 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23008 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23010 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23012 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23013 compatibility function for `looking-back'.
23015 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23016 Use `ispell-looking-back'.
23018 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23020 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23021 rather than `filename'.
23023 2009-06-23 Miles Bader <miles@gnu.org>
23025 * face-remap.el (text-scale-set): New function.
23027 2009-06-23 Glenn Morris <rgm@gnu.org>
23029 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23031 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23033 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23035 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23037 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23038 Simplify Persian conditionals.
23040 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23041 variable `filename'.
23043 * comint.el (comint-insert-input): Doc fix.
23045 * Makefile.in (ELCFILES): Fix typo in previous change.
23047 2009-06-23 Miles Bader <miles@gnu.org>
23049 * cus-start.el: Add entry for `recenter-redisplay'.
23051 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23053 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23054 Add an optional argument for the backend, use it instead of
23055 calling vc-backend.
23056 (vc-mode-line): Add an optional argument for the backend.
23057 Pass the backend to vc-state and vc-working-revision. Move code for
23058 special handling for vc-state being a buffer to ...
23060 * vc-rcs.el (vc-rcs-find-file-hook):
23061 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23063 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23064 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23065 vc-stay-local-p and vc-mode-line calls.
23067 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23068 (vc-cvs-diff, vc-cvs-annotate-command)
23069 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23070 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23071 vc-mode-line calls.
23073 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23075 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23076 backend when calling vc-mode-line.
23077 (vc-register): Do not create a closure for calling the vc register
23078 function, call it directly.
23080 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23082 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23083 to make it obvious item can be clicked.
23085 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23087 2009-06-23 Kenichi Handa <handa@m17n.org>
23089 * language/korea-util.el (korean-key-bindings): Change the binding
23090 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23093 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23095 Sync with Tramp 2.1.16.
23097 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23099 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23100 when a loading of a package fails. Completion function for rsync
23101 is `tramp-completion-function-alist-ssh'.
23102 (all): Replace all calls of `split-string' and
23103 `tramp-split-string' by `tramp-compat-split-string'.
23104 (tramp-default-method): Use `tramp-compat-process-running-p'.
23105 (tramp-default-proxies-alist): Allow also Lisp forms.
23106 (tramp-remote-path): Add choice "Private Directories".
23107 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23108 (tramp-domain-regexp): Allow also "-", "_" and ".".
23109 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23110 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23111 (tramp-debug-message): Insert header line in debug buffer.
23112 (tramp-handle-directory-files-and-attributes-with-stat):
23113 Care about filenames with spaces, or starting with "-".
23114 (tramp-handle-dired-uncache): New defun.
23115 (tramp-handle-insert-directory): Don't flush the directory from
23116 cache, this is handled by `dired-uncache' now.
23117 (tramp-handle-insert-file-contents): Improve error handling.
23118 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23119 Quote `tramp-end-of-output'.
23120 (tramp-action-password): Improve trace message.
23121 (tramp-check-for-regexp): Both echoes must be present, before removing.
23122 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23123 (tramp-compute-multi-hops): Eval cons cells of
23124 `tramp-default-proxies-alist'.
23125 (tramp-maybe-open-connection): Use the same command pattern for
23126 first hop and further hops.
23127 (tramp-wait-for-output): Remove handling of newlines.
23128 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23129 (tramp-split-string): Remove function. It is handled in
23132 * net/tramp-cmds.el (tramp-bug):
23133 Recommend `tramp-cleanup-all-connections' in the bug mail.
23135 * net/tramp-compat.el (tramp-compat-split-string)
23136 (tramp-compat-process-running-p): New defuns.
23138 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23139 for `dired-uncache'.
23141 * net/tramp-gvfs.el: New package.
23143 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23144 Add handler for `dired-uncache'.
23145 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23147 * net/trampver.el: Update release number. Make version check fit
23150 2009-06-22 Jim Meyering <meyering@redhat.com>
23152 Automatically handle .xz suffix (XZ-compressed files), too.
23153 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23154 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23156 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23157 Nick Roberts <nickrob@snap.net.nz>
23159 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23160 repository (http://sphinx.net.ru/hg/gdb-mi/).
23162 2009-06-22 Glenn Morris <rgm@gnu.org>
23164 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23165 `mode' and `eval' entries. (Bug#3430)
23167 * Makefile.in (ELCFILES): Add fadr.elc.
23169 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23170 differing behavior of \n and ^ in strings. (Bug#3385)
23172 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23174 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23176 (lisp-indent-function): Make it a defcustom.
23178 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23180 * progmodes/gdb-ui.el: Replace with ...
23181 * progmodes/gdb-mi.el: ... this file.
23182 * progmodes/gud.el: Modify for gdb-mi.el.
23184 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23186 * fadr.el: New file.
23188 See ChangeLog.14 for earlier changes.
23190 ;; Local Variables:
23194 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23196 This file is part of GNU Emacs.
23198 GNU Emacs is free software: you can redistribute it and/or modify
23199 it under the terms of the GNU General Public License as published by
23200 the Free Software Foundation, either version 3 of the License, or
23201 (at your option) any later version.
23203 GNU Emacs is distributed in the hope that it will be useful,
23204 but WITHOUT ANY WARRANTY; without even the implied warranty of
23205 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23206 GNU General Public License for more details.
23208 You should have received a copy of the GNU General Public License
23209 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.