1 2011-03-23 Glenn Morris <rgm@gnu.org>
3 * eshell/esh-opt.el (eshell-eval-using-options):
4 Do not bind unused local variable `eshell-option-stub'.
6 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
10 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11 keymap variable in `with-no-warnings' to avoid a warning when the
12 keymap has been already `defconst'ed.
14 2011-03-22 Leo Liu <sdl.web@gmail.com>
16 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17 encode all chars in abbrevs; otherwise use emacs-mule or
18 utf-8-emacs. (Bug#8308)
20 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22 * simple.el (backward-delete-char-untabify):
23 Avoid warning about using `delete-backward-char'.
25 * image.el (image-type-file-name-regexps): Make it variable.
26 `imagemagick-register-types' modifies it, and the user may want
27 to add new extensions for known image types.
28 (imagemagick-register-types): Throw error if not using ImageMagick.
30 2011-03-22 Leo Liu <sdl.web@gmail.com>
32 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
33 located before rcirc-prompt-end-marker.
34 (rcirc-complete): Error if point is not after rcirc prompt.
35 Handle the case when table is nil.
36 (rcirc-user-authenticated): Define to fix compiler warning.
38 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
40 * custom.el (custom--inhibit-theme-enable): Make it affect only
41 custom-theme-set-variables and custom-theme-set-faces.
42 (provide-theme): Ignore custom--inhibit-theme-enable.
43 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
44 (custom-enabling-themes): Delete variable.
45 (enable-theme): Accept only loaded themes as arguments. Ignore
46 the special custom-enabled-themes variable.
47 (custom-enabled-themes): Forbid themes from setting this.
48 Eliminate use of custom-enabling-themes.
49 (custom-push-theme): Quote "changed" custom var entry.
51 2011-03-21 Leo Liu <sdl.web@gmail.com>
53 * ido.el (ido-read-internal): Add ido-selected to history instead
56 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
58 * subr.el (deferred-action-list, deferred-action-function):
61 2011-03-21 Leo Liu <sdl.web@gmail.com>
63 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
64 change on 2011-02-13 (bug#8309).
66 * minibuffer.el (read-file-name-function): Change default value.
67 (read-file-name--defaults): Rename from read-file-name-defaults.
68 (read-file-name-default): Rename from read-file-name.
69 (read-file-name): Call read-file-name-function.
71 2011-03-21 Glenn Morris <rgm@gnu.org>
73 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
76 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
78 * cus-theme.el: Add missing provide statement.
79 (customize-create-theme): Extract theme value correctly.
80 (custom-theme-visit-theme): Autoload.
81 (customize-create-theme): Prompt before inserting default faces.
83 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
85 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
86 units and musical notes.
88 2011-03-20 Leo <sdl.web@gmail.com>
90 * ido.el (ido-read-internal): Use completing-read-default.
91 (ido-completing-read): Fix compatibility with completing-read.
93 2011-03-20 Christian Ohler <ohler@gnu.org>
95 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
96 (ert-delete-all-tests): Use `called-interactively-p' rather than
98 (ert--make-xrefs-region): Respect END.
100 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
102 * dired-aux.el (dired-create-directory): Signal an error if the
103 directory already exists (Bug#8246).
105 * facemenu.el (list-colors-display): Call list-faces-display
106 inside with-help-window.
107 (list-colors-print): Use display property to align the final
108 column, instead of checking window-width.
110 2011-03-19 Eli Zaretskii <eliz@gnu.org>
112 * emerge.el (emerge-metachars): Separate value for ms-dos and
114 (emerge-protect-metachars): Quote correctly for ms-dos and
117 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
119 * info.el (info-initialize): Replace all uses of `:' with
120 path-separator for compatibility with non-Unix systems.
121 Cache quoting of path-separator. (Bug#8258)
123 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
125 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
126 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
127 (mouse-avoidance-mode): Fix typos in docstrings.
129 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
131 * startup.el (package-subdirectory-regexp): Move from package.el.
132 Omit \\` and \\', and let callers add them.
134 * emacs-lisp/package.el (package-strip-version)
135 (package-load-all-descriptors): Add \\` and \\' to
136 package-subdirectory-regexp before using it.
137 (package-untar-buffer): New arg DIR; ensure that file untars only
138 into this expected directory. Remove superfluous delete-region.
139 (package-unpack): Caller changed.
140 (package-tar-file-info): Use package-subdirectory-regexp.
142 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
144 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
145 diff-mode-shared-map (bug#8284).
146 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
148 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
150 * calendar/time-date.el (format-seconds): Use assoc instead of
151 assoc-string, since assoc-string doesn't exist in XEmacs.
153 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
155 * custom.el (custom-known-themes): Reflow docstring.
156 (custom-theme-load-path): Fix typo in docstring.
157 (load-theme): Fix typo in error message.
158 (custom-available-themes, custom-variable-theme-value):
159 Use `let', not `let*'.
161 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
163 * calc/README: Mention inclusion of musical notes.
165 * calc/calc-units.el (calc-lu-quant): Rename from
166 `calc-logunits-quantity'.
167 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
168 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
169 (calc-db): Rename from `calc-dblevel'.
170 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
171 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
172 (calc-np): Rename from `calc-nplevel'.
173 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
174 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
175 (calc-lu-plus): Rename from `calc-logunits-add'.
176 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
177 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
178 (calc-lu-minus): Rename from `calc-logunits-sub'.
179 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
180 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
181 (calc-lu-times): Rename from `calc-logunits-mul'.
182 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
183 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
184 (calc-lu-divide): Rename from `calc-logunits-div'.
185 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
186 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
188 * calc/calc-ext.el (calc-init-extensions): Update the names of the
189 functions being autoloaded.
191 * calc/calc.el (calc-lu-power-reference): Rename from
192 `calc-logunits-power-reference'.
193 (calc-lu-field-reference): Rename from
194 `calc-logunits-field-reference'.
196 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
198 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
200 * minibuffer.el (completion-all-sorted-completions):
201 Use :completion-cycle-penalty text property if present.
203 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
205 * allout.el (allout-yank-processing): Adjust for new rebulleting
206 regime so bullet being yanked is used without prompting the user
209 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
211 * startup.el (command-line): Warn the user that _emacs is deprecated.
213 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
215 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
216 (delphi-verbose, delphi-comment-face, delphi-string-face)
217 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
218 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
219 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
220 (delphi-new-comment-line, delphi-font-lock-defaults)
221 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
222 Fix typos in docstrings.
224 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
226 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
227 Invert the roles of character and string values for INSTEAD, so a
228 string is used for the more common case of a defaulting prompt.
230 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
232 * progmodes/ruby-mode.el (ruby-backward-sexp):
233 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
234 * play/gamegrid.el (gamegrid-make-face):
235 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
236 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
237 * notifications.el (notifications-notify):
238 * net/xesam.el (xesam-search-engines):
239 * net/quickurl.el (quickurl-list-insert):
240 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
242 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
244 * startup.el (command-line): Update package subdirectory regexp.
246 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
248 * allout.el (allout-abbreviate-flattened-numbering)
249 (allout-mode-deactivate-hook): Fix up obsolescence "date".
251 * subr.el (read-char-choice): Only show the cursor after the prompt,
252 not after the answer.
254 2011-03-15 Kevin Ryde <user42@zip.com.au>
256 * help-fns.el (variable-at-point): Skip leading quotes, if any
259 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
261 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
264 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
266 * shell.el (shell): When called interactively, offer to change the
267 shell file name on remote hosts.
269 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
271 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
272 integration for LDAP parameters. The host, base, user or binddn,
273 and secret tokens can be specified in a netrc file, for instance.
274 This is optional because an `auth-source' parameter must be
275 specified in the search attributes.
277 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
279 * help.el (describe-mode): Link to the mode's definition (bug#8185).
281 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
283 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
284 into declaration. Remove redundant and harmful binding.
286 2011-03-12 Eli Zaretskii <eliz@gnu.org>
288 * files.el (file-ownership-preserved-p): Pass `integer' as an
289 explicit 2nd argument to `file-attributes'. If the file's owner
290 is the Administrators group on Windows, and the current user is
291 Administrator, consider that a match.
293 * server.el (server-ensure-safe-dir): Consider server directory
294 safe on MS-Windows if its owner is the Administrators group while
295 the current Emacs user is Administrator. Use `=' to compare
296 numerical UIDs, since they could be integers or floats.
298 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
300 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
302 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
304 Sync with Tramp 2.2.1.
306 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
308 * net/trampver.el: Update release number.
310 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
312 * progmodes/compile.el (compilation--previous-directory): Fix up
313 various nil/dead-marker mismatches (bug#8014).
314 (compilation-directory-properties, compilation-error-properties):
315 Don't call it at a position past the one we're about to change.
317 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
318 Disable obsolescence warnings in the file that declares it.
320 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
322 * allout-widgets.el (allout-widgets-tally): Initialize
323 allout-widgets-tally as a hash table rather than nil to prevent
324 mode-line redisplay warnings.
325 Also, clarify the module description and fix a comment typo.
327 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
329 * help-fns.el (describe-variable): Don't complete keywords.
330 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
332 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
334 * emacs-lisp/package.el (package-version-join): Impose a standard
335 string representation for pre/alpha/beta version lists.
336 (package-unpack-single): Standardize the directory name by passing
337 it through package-version-join.
338 (package-strip-rcs-id): Accept any version string that does not
339 signal an error in version-to-list.
341 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
343 * simple.el (delete-trailing-whitespace): Return nil for the
344 benefit of `write-file-functions'.
346 2011-03-10 Glenn Morris <rgm@gnu.org>
348 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
350 * vc/vc-git.el (vc-git-program): New option.
351 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
352 (vc-git--call): Use it.
354 * eshell/esh-util.el (eshell-condition-case): Doc fix.
356 * cus-edit.el (Custom-newline): If no button at point, look
357 for a subgroup button at start-of-line. (Bug#2298)
359 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
361 2011-03-10 Julien Danjou <julien@danjou.info>
363 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
364 `cursor-type' is nil.
366 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
368 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
370 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
372 * allout.el Summary: Change so yank of distinctive-bullet items
373 preserves the existing header prefix, rebulleting it if necessary,
374 rather than replacing it. This is necessary for proper operation
375 of cooperative addons like allout-widgets.
376 (allout-make-topic-prefix, allout-rebullet-heading): Change
377 SOLICIT arg to INSTEAD, and interpret additionally a string value
378 as alternate bullet to be used, instead of prompting the user for
381 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
383 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
384 not use `tramp-file-name-port', because this returns also
385 `tramp-default-port'.
387 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
389 * net/rcirc.el (rcirc-handler-001): Remove useless
390 with-rcirc-process-buffer.
391 (rcirc-check-auth-status): Swap arguments to string-match.
393 2011-03-09 Glenn Morris <rgm@gnu.org>
395 * shell.el (shell-mode):
396 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
398 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
399 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
401 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
403 * emacs-lisp/package.el (package-refresh-contents)
404 (package-menu-execute): Use condition-case-no-debug.
406 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
408 * simple.el (shell-command-to-string): Use `process-file'.
410 * emacs-lisp/package.el (package-tar-file-info): Handle also
413 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
414 `equal' for upload base check.
416 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
418 * textmodes/texinfo.el (texinfo-environments):
419 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
421 2011-03-08 Glenn Morris <rgm@gnu.org>
423 * cus-start.el (cursor-in-non-selected-windows):
424 Fix :set quoting oddness. (Bug#8192)
426 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
427 in some setf expressions. (Bug#2159)
429 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
431 * custom.el (custom-available-themes): Return themes in
434 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
436 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
437 application of patch from Alan Mackenzie (Bug#7595).
439 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
441 * net/rcirc.el (rcirc-connect): Fix PASS bug.
443 2011-03-07 Glenn Morris <rgm@gnu.org>
445 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
446 Give an explicit error if failed to make writable. (Bug#6146)
448 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
450 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
451 Add optional `after-sunset' argument. (Bug#8190)
453 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
455 * play/morse.el (nato-alphabet, nato-region, denato-region):
456 New variable and functions. (Bug#2288)
457 (morse-region, unmorse-region): Barf if read-only.
459 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
461 * progmodes/gud.el (gdb-script-syntax-propertize-function):
462 Don't change the syntax of a \n that closes a comment (bug#8169).
464 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
466 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
468 (package--update-file): Doc fix. Accept relative file names.
469 (package--archive-contents-from-file): Remove the argument, since
470 it's necessarily always "archive-contents".
471 (package-maint-add-news-item): Pass relative file name args to
472 package--update-file.
473 (package-upload-buffer-internal): Prompt for a destination if
474 package-archive-upload-base is invalid. Create the directory if
476 (package-upload-buffer, package-upload-file): Doc fix.
478 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
480 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
481 and move isearch-yank-line to M-s C-e (Bug#8183).
483 2011-03-06 Alan Mackenzie <acm@muc.de>
485 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
486 (c-guess-basic-syntax): Move CASE 19 to a different place,
487 correctly to process template-args-cont lines.
489 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
491 * calc/calc-ext.el (calc-init-extensions):
492 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
493 and calc-nplevel, respectively. Add keybindings for calc-spn,
494 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
495 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
497 * calc/calc-units.el (calc-dblevel): Rename from
498 calc-logunits-dblevel.
499 (calc-nplevel): Rename from calc-logunits-nplevel.
500 (math-midi-round, math-freqp, math-midip, math-spnp)
501 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
502 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
503 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
504 (math-notes): New variable.
506 * calc/calc.el (calc-note-threshold): New variable.
508 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
510 * emacs-lisp/package.el (package-archives): Accept either ordinary
511 directory names, in addition to HTTP URLs.
512 (package--with-work-buffer): New macro. Handle normal directories.
513 (package-handle-response): Don't display the failing buffer.
514 (package-download-single, package-download-tar)
515 (package--download-one-archive): Use package--with-work-buffer.
516 (package-archive-base): Rename from package-archive-url.
518 2011-03-06 Glenn Morris <rgm@gnu.org>
520 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
521 (xmodmap-generic-mode): Respect generic-extras-enable-list.
523 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
525 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
527 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
529 * allout.el (allout-init, allout-prefixed-keybindings)
530 (allout-unprefixed-keybindings):
531 * progmodes/prolog.el (prolog-find-term):
532 Fix typos in docstrings.
534 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
536 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
538 2011-03-06 Kevin Ryde <user42@zip.com.au>
540 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
542 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
544 * window.el (one-window-p, walk-windows, display-buffer):
545 Doc fixes. (Bug#5567)
547 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
549 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
550 of the variable if it exists.
552 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
559 * net/tramp-cache.el:
560 * obsolete/fast-lock.el:
561 * textmodes/reftex.el:
562 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
564 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
566 * files.el (delete-directory, copy-directory, list-directory):
567 Use read-directory-name.
569 * find-file.el (ff-find-the-other-file):
570 * net/ange-ftp.el (ange-ftp-make-directory):
571 * printing.el (pr-interactive-dir):
572 * progmodes/ada-prj.el (ada-prj-load-directory):
573 * progmodes/ebnf2ps.el (ebnf-print-directory)
574 (ebnf-spool-directory, ebnf-eps-directory)
575 (ebnf-syntax-directory):
577 * speedbar.el (speedbar-create-directory):
578 * vc/emerge.el (emerge-merge-directories):
579 * vc/vc-dir.el (vc-dir):
580 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
582 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
584 * help-mode.el (help-buffer): If we are to return the current
585 buffer, signal an error if it's not in Help mode (Bug#8147).
587 2011-03-05 Reuben Thomas <rrt@sc3d.org>
589 * files.el (file-name-version-regexp): Handle backup files of the
590 form `foo.js.~HEAD~1~' (Bug#8159).
592 2011-03-05 Glenn Morris <rgm@gnu.org>
594 * eshell/esh-var.el: Don't require esh-test when compiling.
595 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
596 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
597 * eshell/esh-test.el: Move to ../../test/eshell.el.
599 2011-03-05 David Engster <deng@randomsample.de>
601 * files.el (save-some-buffers): Report the names of buffers saved
602 automatically due to buffer-save-without-query (Bug#8134).
604 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
606 * net/rcirc.el: Add QuakeNet authentication support.
607 (rcirc-authinfo, rcirc-check-auth-status)
608 (rcirc-authenticate): Support QuakeNet.
610 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
612 * net/rcirc.el: Add functionality to authenticate before
613 autojoining channels.
614 (rcirc-authenticate-before-join): New option.
615 (rcirc-authenticated-hook): New variable.
616 (rcirc-connect): Make local variable rcirc-user-authenticated.
617 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
618 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
620 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
621 Call rcirc-check-auth-status.
623 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
625 * net/soap-client.el (soap-namespace-put-link): Check if the target
626 name is fully qualified -- use only the name part.
627 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
628 types, treated the same as xsd:sequence. (Bug#8166)
630 2011-03-05 Eli Zaretskii <eliz@gnu.org>
632 * files.el (find-file-noselect): Don't ask about re-visiting
633 non-literally if the file is already visited in image-mode.
636 2011-03-05 Glenn Morris <rgm@gnu.org>
638 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
639 (eshell-mode): Use eshell-kill-buffer-function.
640 Run the -initialize functions independently of the -load-hooks.
641 * eshell/esh-proc.el (eshell-kill-process-function): New function.
642 (eshell-gather-process-output, eshell-sentinel)
643 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
644 Use eshell-kill-process-function.
645 * eshell/em-alias.el (eshell-alias-load-hook):
646 * eshell/em-banner.el (eshell-banner-load-hook):
647 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
648 * eshell/em-dirs.el (eshell-dirs-load-hook):
649 * eshell/em-glob.el (eshell-glob-load-hook):
650 * eshell/em-hist.el (eshell-hist-load-hook):
651 * eshell/em-pred.el (eshell-pred-load-hook):
652 * eshell/em-prompt.el (eshell-prompt-load-hook):
653 * eshell/em-rebind.el (eshell-rebind-load-hook):
654 * eshell/em-script.el (eshell-script-load-hook):
655 * eshell/em-smart.el (eshell-smart-load-hook):
656 * eshell/em-term.el (eshell-term-load-hook):
657 * eshell/em-unix.el (eshell-unix-load-hook):
658 * eshell/esh-arg.el (eshell-arg-load-hook):
659 * eshell/esh-cmd.el (eshell-cmd-load-hook):
660 * eshell/esh-ext.el (eshell-ext-load-hook):
661 * eshell/esh-io.el (eshell-io-load-hook):
662 * eshell/esh-mode.el (eshell-exit-hook):
663 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
664 * eshell/esh-var.el (eshell-var-load-hook):
665 Set default hook values to nil. (Bug#5375)
667 * eshell/esh-module.el (eshell-module-unload-hook)
668 (eshell-modules-list): Remove leading * from defcustom docs.
670 * eshell/esh-util.el (eshell-for): Make it obsolete.
671 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
672 * eshell/em-dirs.el (eshell-save-some-last-dir):
673 * eshell/em-hist.el (eshell-save-some-history)
674 (eshell-hist-parse-modifier):
675 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
677 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
678 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
680 * eshell/esh-ext.el (eshell-find-interpreter):
681 * eshell/esh-mode.el (eshell-mode):
682 * eshell/esh-module.el (eshell-unload-extension-modules):
683 * eshell/esh-proc.el (eshell-process-interact):
684 * eshell/esh-test.el (eshell-test):
685 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
686 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
687 (eshell-variables-list):
688 * eshell/eshell.el (eshell-unload-all-modules):
689 Replace eshell-for with dolist.
691 2011-03-04 Glenn Morris <rgm@gnu.org>
693 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
695 2011-03-04 Tom Tromey <tromey@redhat.com>
697 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
699 2011-03-04 Glenn Morris <rgm@gnu.org>
701 * outline.el (outline-regexp): No longer allow nil.
702 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
704 * net/browse-url.el (browse-url):
705 Handle deleted default-directory. (Bug#6077)
707 * recentf.el (recentf-include-p): In case of a buggy predicate,
708 err on the side of including, not excluding. (Bug#5843)
710 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
712 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
715 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
717 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
718 if there is no node. (Bug#3261)
720 2011-03-04 Leo <sdl.web@gmail.com>
722 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
724 * time.el (display-time-world-list): Fix typo. (Bug#7571)
726 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
728 * cus-edit.el (custom-buffer-create-internal):
729 Split search string before passing it to `customize-apropos' (bug#8136).
731 2011-03-04 Drew Adams <drew.adams@oracle.com>
733 * image-dired.el (image-dired-cmd-read-exif-data-options):
734 Fix typo in docstring (bug#8156).
736 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
738 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
740 2011-03-03 Christian Ohler <ohler@gnu.org>
742 * emacs-lisp/ert.el (ert--explain-equal): New function.
743 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
745 (ert--explain-equal-including-properties): Renamed from
746 `ert--explain-not-equal-including-properties'. All callers
749 2011-03-03 Christian Ohler <ohler@gnu.org>
751 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
752 (ert-char-for-test-result, ert-string-for-test-result)
753 (ert-run-tests-batch, ert--print-test-for-ewoc):
754 Handle `ert-test-quit'.
756 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
758 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
759 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
761 2011-03-03 Glenn Morris <rgm@gnu.org>
763 * files.el (file-truename): Doc fix. (Bug#2341)
765 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
767 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
769 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
771 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
772 programs output backslashes. (Bug#7663)
774 2011-03-03 Glenn Morris <rgm@gnu.org>
776 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
777 (mail-mode): Remove mail-sent-via from the doc.
778 (mail-sent-via): Make it obsolete. (Bug#1776)
780 * progmodes/grep.el (grep-highlight-matches): Doc fix.
781 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
783 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
784 with no parents. (Bug#8025)
786 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
788 * password-cache.el (password-in-cache-p): Add autoload.
790 2011-03-02 Glenn Morris <rgm@gnu.org>
792 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
793 * dired-x.el (Man-support-local-filenames): Autoload it.
794 (dired-guess-shell-alist-default): Also handle Red Hat's man.
796 * dired-x.el (dired-default-directory-alist, dired-default-directory):
798 (dired-smart-shell-command): Just call dired-current-directory.
800 * dired-x.el (dired-jump-other-window): Add autoload.
801 (dired-default-directory-alist, dired-default-directory): Doc fixes.
802 (dired-default-directory-alist): Mark as risky.
804 * dired-x.el (dired-omit-here-always): Make it obsolete.
806 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
808 * textmodes/artist.el (artist-curr-go): Default to pen-line.
809 (artist-select-op-pen-line): New function.
810 (artist-menu-map): New variable.
811 (artist-mode-map): Add a menu to the menu-bar.
813 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
815 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
818 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
820 (math-logunits-add, math-logunits-mul, math-logunits-divide):
821 (math-logunits-quant, math-logunits-level):
822 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
824 (math-logunits-level): Extract units from ratio.
826 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
828 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
830 2011-03-01 Glenn Morris <rgm@gnu.org>
832 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
833 (diary-hebrew-birthday): Rename and rework functions added
836 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
838 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
839 (diary-hebrew-birthday): New functions.
841 2011-03-01 Glenn Morris <rgm@gnu.org>
843 * dired.el (dired-safe-switches-p): Beef it up.
844 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
846 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
848 * dired.el (dired-safe-switches-p): New function.
850 2011-03-01 Glenn Morris <rgm@gnu.org>
852 * files.el (dir-locals-collect-variables):
853 Add the ability to exclude subdirectories. (Bug#8100)
855 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
857 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
859 * ido.el (ido-everywhere): Doc fix.
862 2011-02-28 Glenn Morris <rgm@gnu.org>
864 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
866 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
868 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
871 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
873 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
875 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
877 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
878 Fix typos in docstrings.
880 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
882 * dired-aux.el (dired-update-file-line):
883 Fix 2010-11-09 change. (Bug#8131)
885 2011-02-28 Eli Zaretskii <eliz@gnu.org>
887 * international/mule-cmds.el (set-default-coding-systems): Use the
888 -unix variant of encoding in default-keyboard-coding-system.
891 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
893 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
895 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
897 * term/screen.el: New file (Bug#2650).
899 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
901 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
902 (pcase-mutually-exclusive-predicates): New var.
903 (pcase--split-consp, pcase--split-pred): Use it.
904 (pcase--split-equal, pcase--split-member): When splitting against
905 a pure predicate, run it to know the outcome.
906 (pcase--u1): Mark vars that are actually used.
907 (pcase--q1): Avoid introducing unused vars.
909 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
911 * calc/calc-ext.el (calc-init-extensions):
912 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
914 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
917 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
918 argument is a variable.
920 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
922 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
923 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
924 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
926 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
928 * password-cache.el (password-in-cache-p): Convenience function to
929 check if a key is in the cache, even if the value is nil.
931 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
933 * emacs-lisp/package-x.el (package--archive-contents-from-url)
934 (package--archive-contents-from-file): New functions.
935 (package-update-news-on-upload): New var.
936 (package-upload-buffer-internal): Extract archive-contents from
937 package-archive-upload-base if it is not found at archive-url.
938 Obey package-update-news-on-upload.
939 (package-upload-buffer, package-upload-file): Doc fix.
941 2011-02-24 Glenn Morris <rgm@gnu.org>
943 * files-x.el (modify-dir-local-variable): Handle dir-locals from
944 the cache, and from non-file sources.
946 * help-fns.el (describe-variable): Return consistent results when a
947 dir-local from a file came from the cache or did not. (Bug#8095)
948 If a dir-local has no associated file, say it came from a "directory".
950 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
951 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
953 * files.el (dir-locals-find-file): Doc fix.
954 Fix the check for cache elements that have no associated file,
955 and the mtime check for those that do. (Bug#8095)
957 * dired-x.el (dired-hack-local-variables):
958 Handle interrupts during hacking local variables. (Bug#5216)
960 * emacs-lisp/autoload.el (autoload-save-buffers)
961 (autoload-find-destination, update-directory-autoloads):
962 Avoid prompts when updating autoloads.
964 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
966 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
968 2011-02-23 Kenichi Handa <handa@m17n.org>
970 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
971 error when a multipart boundary in the nested multipart is found.
973 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
976 2011-02-23 Glenn Morris <rgm@gnu.org>
978 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
979 * dired-x.el (dired-omit-mode): Safe if boolean.
980 (dired-enable-local-variables): Fix doc and custom type.
981 (dired-enable-local-variables, dired-local-variables-file)
982 (dired-hack-local-variables): Make obsolete.
983 (dired-omit-here-always): Use dir-locals.el instead.
985 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
987 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
989 * help-fns.el (describe-function-1): Don't signal an error just because
990 the DOC file disappeared.
992 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
994 * eshell/esh-ext.el (eshell-external-command): Do not restrict
995 remote check to "ftp". (Bug#8089)
997 2011-02-21 Alan Mackenzie <acm@muc.de>
1000 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1001 in macros finding their way into c-state-nonlit-pos-cache.
1002 Strengthen the comments.
1003 (c-state-dump): New commented out diagnostic routine.
1005 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1007 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1008 `field' property of `rfn-eshadow-overlay'.
1010 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1012 * net/netrc.el (netrc-parse): Comment fix.
1014 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1016 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1017 Autoload. Add optional arg FRAME, and pass it to color-values.
1018 (color-complement): Caller changed. Doc fix.
1019 (color-gradient): Rewrite for better clarity and efficiency.
1021 * faces.el (color-values): Use cond for clarity. Doc fix.
1023 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1025 (list-colors-sort-key, list-colors-print):
1026 Use color-normalized-values.
1028 2011-02-20 Drew Adams <drew.adams@oracle.com>
1030 * color.el: First part of merge from hexrgb.el.
1031 (color-rgb-to-hex): Rename from color-rgb->hex.
1032 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1033 saturation to zero if the value is too small.
1034 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1035 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1036 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1037 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1038 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1039 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1040 (color-cie-de2000): Doc fix.
1042 2011-02-20 Alan Mackenzie <acm@muc.de>
1044 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1045 locating the beginning of a macro. (Bug#7595)
1047 2011-02-20 Glenn Morris <rgm@gnu.org>
1049 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1052 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1053 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1055 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1056 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1058 * progmodes/hideshow.el (hs-find-block-beginning)
1059 (hs-hide-level-recursive): Ignore comments when parsing braces
1062 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1064 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1065 (vc-bzr-pull): Use it.
1067 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1069 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1070 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1071 but returning an alist. Ignore comments in bzr conffile.
1072 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1073 (vc-bzr-error-regex-alist): New var.
1074 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1076 * vc/vc-dispatcher.el (vc-do-async-command):
1077 Bind inhibit-read-only to t.
1079 * progmodes/compile.el (compilation--flush-directory-cache):
1080 Handle the case where cdr of compilation--flush-directory-cache
1081 points to no buffer, which can occur if we previously switched to
1082 compilation-mode in a pregenerated buffer.
1084 2011-02-19 Kenichi Handa <handa@m17n.org>
1086 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1087 get the header copy into the temporary buffer.
1088 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1089 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1090 buffer-file-coding-system to undecided.
1092 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1094 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1095 Document completion with asterisk and a substring.
1097 2011-02-19 Glenn Morris <rgm@gnu.org>
1099 * files.el (find-file-literally): Doc fix.
1101 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1103 * log-edit.el (log-edit-insert-changelog):
1104 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1106 2011-02-19 Glenn Morris <rgm@gnu.org>
1108 * dired-x.el: Don't require dired-aux.
1109 (dired-do-create-files, dired-mark-read-regexp)
1110 (dired-do-create-files-regexp): Autoload from dired-aux.
1112 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1113 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1115 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1116 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1118 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1119 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1120 (dired-clean-up-buffers-too): Declare.
1122 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1123 * dired.el (dired-initial-position): Merge dired-x's version here.
1124 (dired-find-subdir): Declare.
1126 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1127 * dired-aux.el (dired-add-entry): Give it a doc-string.
1128 Merge dired-x's dired-omit handling here.
1129 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1131 * international/mule-diag.el (list-input-methods-1):
1132 Indent all lines of multi-line doc-strings. (Bug#8066)
1134 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1136 Fix 2011-02-02 changes.
1138 * apropos.el (apropos-print): Call apropos-mode before setting up
1139 buffer variables. Use inhibit-read-only.
1141 * emacs-lisp/package.el (package--list-packages):
1142 Call package-menu-mode before setting up buffer variables.
1144 * play/solitaire.el (solitaire): Call solitaire-mode before
1145 setting up buffer variables. Use inhibit-read-only.
1147 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1149 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1150 Bind case-fold-search to nil when looking for end of here-doc.
1152 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1154 * image-mode.el (image-toggle-display-image):
1155 Set find-file-literally non-nil in buffers visiting binary image
1158 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * files.el (cd): Make completion obey cd-path (bug#7924).
1162 2011-02-18 Glenn Morris <rgm@gnu.org>
1164 * progmodes/prolog.el: Don't require compile when compiling.
1165 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1166 (compilation-forget-errors, compilation-fake-loc)
1167 (compilation-parse-errors-function, compilation-error-list): Declare.
1168 (prolog-inferior-mode): Require 'compile.
1170 * emulation/cua-base.el (pc-selection-mode): Declare.
1172 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1173 (customize-object): Add autoload cookie.
1174 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1175 (eieio-browse, describe-class, eieio-describe-class)
1176 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1177 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1178 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1179 * Makefile.in (autoloads): Make eieio.el writable.
1181 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1182 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1183 (dired-hack-local-variables): Use inhibit-read-only.
1184 (dired-guess-default): Simplify.
1185 (dired-make-relative-symlink): Use dotimes.
1186 (dired-simultaneous-find-file): Use dolist.
1187 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1188 (dired-x-hands-off-my-keys): Doc fix.
1189 (dired-x-bind-find-file): Doc fix. Use remapping.
1190 (after-init-hook): No need to add dired-x-bind-find-file.
1191 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1192 No need to call expand-file-name.
1193 (dired-filename-at-point): Remove unused locals `end', `filename'.
1195 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1199 2011-02-18 Christian Ohler <ohler@gnu.org>
1201 * emacs-lisp/ert.el (ert--setup-results-buffer)
1202 (ert-results-pop-to-backtrace-for-test-at-point)
1203 (ert-results-pop-to-messages-for-test-at-point)
1204 (ert-results-pop-to-should-forms-for-test-at-point)
1205 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1206 were incorrect and unnecessary. This should make `make check'
1209 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1211 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1212 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1213 * lisp/allout.el: Remove commentary about remove encryption
1214 passphrase mnemonic support and verification.
1215 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1216 armored text using gpg1, and indicate that the gpg version *might*
1217 be the problem in the error message.
1219 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1221 * net/rcirc.el (rcirc-float-time): New function.
1222 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1223 (rcirc-ctcp-sender-PING): Use it.
1225 2011-02-17 Glenn Morris <rgm@gnu.org>
1227 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1228 (speedbar-update-flag, speedbar-fetch-etags-command)
1229 (speedbar-fetch-etags-arguments):
1230 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1231 (term-completion-autolist, term-completion-addsuffix)
1232 (term-completion-recexact, term-completion-fignore):
1233 * term/sup-mouse.el (sup-mouse-fast-select-window):
1234 * term/x-win.el (x-select-request-type):
1235 Convert some defvars with "*" to defcustoms.
1237 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1239 * vc/vc.el (vc-default-previous-version):
1240 Remove alias that points nowhere. (Bug#4496)
1242 * dired-x.el (dired-clean-up-after-deletion):
1243 kill-buffer does not need save-excursion.
1244 (dired-do-run-mail): Doc fix.
1245 (dired-filename-at-point): Doc fix.
1246 Use looking-at, and skip-chars rather than re search.
1248 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1250 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1252 * allout-widgets.el: New allout extension that shows allout
1253 outline structure with graphical widgets. 'allout-widgets'
1254 customize group is an 'allout' subgroup, for easy discovery.
1256 * allout.el: Include PGP and GnuPG in Keywords, and other
1257 commentary refinements.
1258 (allout-abbreviate-flattened-numbering): Rename to
1259 allout-flattened-numbering-abbreviation, and
1260 define-obsolete-variable-alias the old name.
1261 (allout-flattened-numbering-abbreviation): Rename from
1262 allout-abbreviate-flattened-numbering.
1263 (allout-mode-p): Include among autoloads, for use by other modes
1265 (allout-listify-exposed):
1266 Use allout-flattened-numbering-abbreviation.
1267 (allout-encrypt-string): Use set-buffer-multibyte directly.
1268 (allout-set-buffer-multibyte): Remove.
1270 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1272 * simple.el (just-one-space): Remove useless `or' call.
1274 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1276 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1277 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1278 (soap-decoded-multi-refs, soap-current-wsdl)
1279 (soap-encoded-namespaces): Rename CL-style *...* variables.
1281 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1283 * net/soap-client.el: Add "comm" and "hypermedia" to the
1284 keywords. Reflow too long lines.
1286 * net/soap-inspect.el: Ditto. Require 'cl.
1288 2011-02-16 Bastien Guerry <bzg@altern.org>
1290 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1291 in a `doctor-type' argument.
1293 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1295 * net/soap-client.el:
1296 * net/soap-inspect.el: New files.
1298 2011-02-16 Leo <sdl.web@gmail.com>
1300 * dired-x.el (dired-mode-map, dired-extra-startup):
1301 Remove dired-copy-filename-as-kill since it's already in dired.el.
1303 2011-02-16 Glenn Morris <rgm@gnu.org>
1305 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1306 Doc fixes. Add :set property, replacing top-level calls.
1307 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1308 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1309 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1310 (dired-clean-up-after-deletion): Use when and dolist.
1311 (dired-jump): Use unless and when.
1312 (dired-virtual): Use line-end-position.
1313 (dired-default-directory-alist): Rename from default-directory-alist.
1314 (dired-default-directory): Update for above name change.
1315 (dired-vm): Drop VM < 5 and simplify.
1316 (dired-buffer-more-recently-used-p): Rewrite.
1317 (dired-filename-at-point): Use when and or.
1318 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1321 2011-02-15 Glenn Morris <rgm@gnu.org>
1323 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1325 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1327 * vc/vc-git.el (vc-git-root-log-format): New option for
1328 customizing log format.
1329 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1330 (vc-git-log-view-mode): Use it.
1331 (vc-git-expanded-log-entry): New function.
1332 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1334 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1335 customizing log format.
1336 (vc-hg-print-log): Use it.
1337 (vc-hg-expanded-log-entry): New function.
1338 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1339 vc-hg-expanded-log-entry. Truncate lines in root log.
1341 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1343 * vc/log-view.el (log-view-mode-menu):
1344 Add log-view-toggle-entry-display.
1346 2011-02-14 Glenn Morris <rgm@gnu.org>
1348 * dired-x.el: Don't require man when compiling.
1349 (dired-omit-extensions, dired-local-variables-file)
1350 (dired-x-hands-off-my-keys): Make them defcustoms.
1351 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1352 (vm-visit-folder): Declare rather than defining.
1353 (dired-x-help-address, dired-x-variable-list): Remove.
1354 (dired-x-submit-report): Make it an obsolete alias.
1356 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1358 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1360 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1362 * net/imap.el: Bring it back.
1364 2011-02-13 Alan Mackenzie <acm@muc.de>
1366 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1367 narrow-to-region call that cuts context off the end (Bug#7722).
1369 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1370 Refactor nested if-forms with a simple cond.
1371 (c-forward-<>-arglist): Revert 2011-01-31 change.
1373 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1375 * vc/log-view.el: New command log-view-toggle-entry-display for
1376 toggling log entries between concise and detailed forms.
1377 (log-view-toggle-entry-display): New command.
1378 (log-view-mode-map): Bind RET to it.
1379 (log-view-expanded-log-entry-function): New variable.
1380 (log-view-current-entry, log-view-inside-comment-p)
1381 (log-view-current-tag): New functions.
1382 (log-view-toggle-mark-entry): Use log-view-current-entry and
1383 log-view-end-of-defun instead of searching directly with
1384 log-view-message-re.
1385 (log-view-end-of-defun): Likewise. Add optional ARG for
1386 compatibility with end-of-defun.
1387 (log-view-end-of-defun): Ignore comments and VC buttons.
1389 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1390 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1392 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1394 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1396 * net/imap-hash.el: Remove file.
1398 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1400 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1402 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1405 * net/tramp-imap.el: Remove file.
1407 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1409 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1410 widget library for buttons, just use button.el.
1412 * vc/log-view.el (log-view-mode-map): Don't inherit from
1415 2011-02-12 Glenn Morris <rgm@gnu.org>
1417 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1418 (nintersection, set-difference, nset-difference)
1419 (set-exclusive-or, nset-exclusive-or): Doc fix.
1421 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1423 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1424 :italic props, so that frame-set-background-mode works. (Bug#7966)
1426 * simple.el (next-error): Doc fix.
1428 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1430 * dired-aux.el (dired-create-files): Adapt destination name to
1431 match the new behavior of copy-directory.
1433 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1435 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1436 from rmail-dont-reply-to-names. Callers changed.
1437 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1438 (rmail-dont-reply-to): Make it an obsolete alias.
1440 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1441 nil, and make obsolete (Bug#7888).
1442 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1444 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1446 * mail/rmailsort.el (rmail-sort-by-correspondent)
1447 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1449 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1451 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1453 * files.el (copy-directory): New argument COPY-CONTENTS for
1454 copying directory contents into another existing directory.
1456 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1458 * minibuffer.el (completion-table-case-fold): New function for
1459 creating a case-insensitive completion table.
1461 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1463 * net/tramp.el (tramp-default-method): Also check if
1464 `auth-source-search' is bound.
1465 (tramp-read-passwd): Use `auth-source-search' instead of
1466 `auto-source-user-or-password'.
1468 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1469 `auto-source-user-or-password.
1470 (tramp-imap-passphrase-callback-function): Use it.
1472 * net/imap-hash.el: Autoload `auto-source-search' instead of
1473 `auto-source-user-or-password.
1474 (imap-hash-open-connection): Use it.
1476 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1477 `auto-source-user-or-password.
1478 (smtpmail-try-auth-methods): Use it.
1480 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1482 * emacs-lisp/package.el: Allow packages to be reinstalled.
1483 (package--write-file-no-coding): Remove EXCL arg.
1484 (package-unpack-single): Don't use it.
1486 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1488 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1489 in each sub directory.
1490 (vc-svn-registered): Use vc-svn-root.
1491 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1492 (vc-svn-repository-hostname): Use "svn info".
1494 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1496 * simple.el (delete-trailing-whitespace): New optional buffer
1499 2011-02-11 Bastien Guerry <bzg@altern.org>
1501 * files.el (basic-save-buffer): save unmodified buffers when
1502 the file pointed by buffer-file-name doesn't exist.
1504 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1506 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1508 2011-02-11 Glenn Morris <rgm@gnu.org>
1510 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1512 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1514 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1516 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1518 * server.el (server-process-filter): Use pcase.
1520 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1522 (smie-indent--parent): Extend to "parent of arg".
1523 (smie-indent-inside-string): New function.
1524 (smie-indent-functions): Use it.
1526 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1527 bzr locking race condition.
1529 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1530 still valid before using it.
1532 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1533 `message' -> `compilation-message' rename (bug#8004).
1535 Move keymap initialization into declaration.
1536 * textmodes/enriched.el (enriched-mode-map):
1537 * textmodes/bib-mode.el (bib-mode-map):
1538 * term/lk201.el (lk201-function-map):
1539 * tar-mode.el (tar-mode-map):
1540 * replace.el (occur-mode-map):
1541 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1542 * progmodes/idlw-help.el (idlwave-help-mode-map):
1543 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1544 * play/solitaire.el (solitaire-mode-map):
1545 * play/snake.el (snake-mode-map, snake-null-map):
1546 * play/pong.el (pong-mode-map):
1547 * play/handwrite.el (menu-bar-handwrite-map):
1548 * play/gametree.el (gametree-mode-map):
1549 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1550 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1551 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1552 (newsticker--url-keymap):
1553 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1554 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1555 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1556 (menu-bar-edit-menu, menu-bar-custom-menu)
1557 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1558 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1559 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1560 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1561 (menu-bar-tools-menu, menu-bar-describe-menu)
1562 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1563 (menu-bar-help-menu):
1564 * mail/rmailsum.el (rmail-summary-mode-map):
1565 * kmacro.el (kmacro-step-edit-map):
1566 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1567 (ibuffer-mode-operate-map):
1568 * hi-lock.el (hi-lock-menu, hi-lock-map):
1569 * emulation/vip.el (vip-mode-map):
1570 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1571 * bookmark.el (bookmark-bmenu-mode-map):
1572 * help-mode.el (help-mode-map): Move initialization into declaration.
1574 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1576 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1577 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1578 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1579 (rcirc-cmd-me, rcirc-authenticate): Use them.
1581 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1583 * allout.el: Synopsis: Change allout user configuration so
1584 auto-activation is controlled solely by customization
1585 `allout-auto-activation'.
1587 (allout-auto-activation-helper, allout-setup): New autoloads
1588 implement new custom set procedure for allout-auto-activation.
1589 Also, explicitly invoke (allout-setup) after allout-auto-activation
1590 is custom-defined, to affect the settings in emacs sessions besides
1591 the few where allout-auto-activation customization is done.
1592 (allout-auto-activation): Use allout-auto-activation-helper to
1593 :set. Revise the docstring.
1594 (allout-init): Reduce functionality to just customizing
1595 allout-auto-activation, and mark obsolete.
1596 (allout-mode): Respect string values for allout-auto-activation.
1597 Run allout-after-copy-or-kill-hook without any args.
1598 (allout-mode, allout-layout, allout-default-layout)
1599 (outlineify-sticky): Adjust docstring for new scheme.
1600 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1601 should concentrate on the kill ring.
1603 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1605 * password-cache.el (password-cache-remove): Accept secrets that are
1608 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1611 of here-doc that immediately follows a comment.
1613 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1615 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1617 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1619 (rcirc-ctcp-sender-PING): New function.
1621 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1624 Remove the mark/nomark handling, and activate shift-select-mode instead.
1626 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1628 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1630 * calc/calc-units.el (math-logunits-quant): Add support for
1631 non-logarithmic units.
1633 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1635 * allout.el (allout-after-copy-or-kill-hook): New hook for
1636 extension-specific processing of killed text.
1637 (allout-mode): Include new allout-after-copy-or-kill-hook among
1639 (allout-kill-line, allout-kill-topic): Ensure that processing
1640 after kill happens even if barf-if-buffer-read-only is raised.
1641 Include new allout-after-copy-or-kill-hook among that subsequent
1643 (allout-deannotate-hidden): Actually remove the annotation text
1646 * allout.el (allout-listify-exposed): Copy text sans text properties.
1648 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1650 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1652 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1654 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1656 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1658 * calc/calc.el (calc-logunits-field-reference): Rename from
1659 `calc-default-field-reference-level'.
1660 (calc-logunits-power-reference): Rename from
1661 `calc-default-power-reference-level'.
1663 * calc/calc-units.el (math-logunits-quant): Rename from
1664 `math-logunits-level'
1665 (math-logunits-plus): Rename from math-logcombine.
1666 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1667 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1668 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1670 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1671 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1672 (calc-logunits-quantity): Rename from `calc-level'.
1673 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1674 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1675 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1676 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1677 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1680 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1681 (calc-ul-prefix-help): Remove.
1682 (calc-l-prefix-help): New function.
1683 (calc-full-help): Add reference to `calc-l-prefix-help'.
1685 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1687 * calc/README: Mention logarithmic units.
1689 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1691 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1692 non-ASCII characters (Bug#7925).
1694 2011-02-05 Glenn Morris <rgm@gnu.org>
1696 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1698 * calendar/diary-lib.el (diary-font-lock-keywords):
1699 Tweak diary-time-regexp match. (Bug#7891)
1701 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1702 (f90-mode): Use it for mode's `find-tag-default-function' property.
1704 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1706 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1708 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1710 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1713 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1715 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1716 font-lock-syntax-table remappings.
1717 (sh-here-doc-markers, sh-here-doc-re): Remove.
1718 (sh-font-lock-close-heredoc): Remove.
1719 (sh-syntax-propertize-here-doc): New function.
1720 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1721 instead of the sh-here-doc-re.
1722 (sh-font-lock-paren): Don't do anything in comments or strings.
1723 Handle line continuations. Accept a few more chars.
1724 Don't rely on the font-lock-syntax-table remappings.
1725 `esac' is not a valid pattern.
1726 (sh-syntax-propertize-function): Handle here-docs differently, so we
1727 don't bother syntax-propertizing the insides.
1729 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1730 Handle new bashisms ";&" and ";;&" (bug#7947).
1732 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1734 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1735 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1737 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1739 * net/tramp.el (tramp-postfix-method-format)
1740 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1741 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1742 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1743 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1744 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1747 2011-02-04 Sam Steingold <sds@gnu.org>
1749 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1751 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1753 * international/mule-util.el (with-coding-priority): Doc fix.
1755 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1757 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1759 2011-02-03 Sam Steingold <sds@gnu.org>
1761 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1762 Do not error out when `func' is nil.
1764 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1766 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1767 `tramp-default-remote-path' to the docstring.
1768 (tramp-get-remote-path): Suppress error message when `getconf
1771 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1773 2011-02-03 Glenn Morris <rgm@gnu.org>
1775 * vc/vc-hg.el (vc-hg-command): Doc fix.
1777 * term/w32-win.el (libpng-version): Declare for compiler.
1779 * msb.el: No need to load dired while compiling.
1781 * emacs-lisp/elint.el (elint-standard-variables):
1782 Remove a couple of built-ins that now have doc-strings.
1784 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1785 `require' is automatically `eval-and-compile'd.
1787 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1788 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1790 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1791 Move definition before use.
1792 (strokes-report-bug): Make it obsolete.
1794 2011-02-02 Sam Steingold <sds@gnu.org>
1796 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1797 from `special-mode', entering it makes the buffer read-only, so
1798 call it only when everything has been already inserted.
1799 * emacs-lisp/ert.el (ert--setup-results-buffer)
1800 (ert-results-pop-to-backtrace-for-test-at-point)
1801 (ert-results-pop-to-messages-for-test-at-point)
1802 (ert-results-pop-to-timings): Ditto.
1803 * emacs-lisp/package.el (package--list-packages): Ditto.
1804 * play/solitaire.el (solitaire): Ditto.
1806 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1808 * progmodes/compile.el: Make all faces inherit.
1809 (compilation-warning): Inherit from font-lock-variable-name-face.
1810 (compilation-info): Inherit from font-lock-type-face.
1811 (compilation-line-number): Reassign to font-lock-keyword-face.
1812 (compilation-column-number): Reassign to font-lock-doc-face.
1813 (compilation-leave-directory-face): Reassign to
1814 font-lock-builtin-face.
1816 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1818 * dired.el (dired-insert-directory): Don't invoke `ls' when
1819 ls-lisp.el is used to emulate it.
1821 2011-02-01 Julien Danjou <julien@danjou.info>
1823 * color.el (color-gradient): Add a color-gradient function.
1825 2011-02-01 Sam Steingold <sds@gnu.org>
1827 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1828 bind "z" to `kill-this-buffer'.
1829 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1830 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1831 (apropos-mode): Inherit from `special-mode'.
1832 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1833 * bookmark.el (bookmark-bmenu-mode): Define using
1834 `define-derived-mode' inheriting from `special-mode'.
1835 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1836 * image-mode.el (image-mode-map): Ditto.
1837 * replace.el (occur-mode): Define using
1838 `define-derived-mode' inheriting from `special-mode'.
1839 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1840 * calendar/diary-lib.el (diary-fancy-display-mode):
1841 Inherit from `special-mode-map'.
1842 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1843 Inherit from `special-mode'.
1844 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1846 (package-menu-mode): Define using `define-derived-mode'
1847 inheriting from `special-mode'.
1848 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1849 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1850 (xesam-mode-map): Define separately.
1851 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1852 * progmodes/compile.el (compilation-minor-mode-map)
1853 (compilation-mode-map): Inherit from `special-mode-map'.
1854 * vc/diff-mode.el (diff-mode-shared-map):
1855 Inherit from `special-mode-map'.
1856 * vc/log-view.el (log-view-mode-map): Add a comment.
1858 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1860 * custom.el (load-theme): Define return value. Drop use of
1861 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1862 (custom-theme-load-confirm): Scroll in the correct window.
1863 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1865 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1866 checkbox if load-theme fails.
1868 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1870 * progmodes/compile.el (compilation-next-error): Check there's
1871 a message before using it (bug#7941).
1873 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1875 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1876 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1877 of potential pivots.
1879 2011-01-31 Alan Mackenzie <acm@muc.de>
1881 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1882 Continue parsing if we encounter a naked # (Bug#7595).
1883 (c-beginning-of-statement): Avoid loop in locating the beginning
1884 of a macro. (Not actually committed until 2011-02-20, see above).
1886 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1888 * files.el (copy-directory): Fix arguments to recursive call.
1890 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1892 * files.el (copy-directory): If destination is an existing
1893 directory, copy into a subdirectory there.
1895 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1897 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1900 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1902 * image-dired.el (image-dired-mouse-display-image): No-op if no
1903 file is found (Bug#7817).
1905 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1907 2011-01-31 Kenichi Handa <handa@m17n.org>
1909 * international/quail.el (quail-keyboard-layout-alist):
1910 Remove superfluous SPC for "pc105-uk" (bug#7927).
1912 2011-01-31 Glenn Morris <rgm@gnu.org>
1914 * msb.el (msb-menu-bar-update-buffers): Update for changed
1915 argument handling of menu-bar-select-frame. (Bug#7902)
1917 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1919 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1920 to the recursion depth (Bug#7722).
1922 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1924 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1925 command-line-default-directory (Bug#7872).
1927 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * progmodes/compile.el (compilation--flush-directory-cache):
1930 New function, extracted from compilation--remove-properties.
1931 (compilation--remove-properties, compilation--parse-region): Use it.
1932 (compilation--previous-directory): Handle one more case.
1933 (compilation-enable-debug-messages): Remove.
1934 (compilation-parse-errors, compilation--flush-parse): Just remove the
1935 left over debug messages.
1937 2011-01-31 Sam Steingold <sds@gnu.org>
1939 * progmodes/compile.el (compilation-enable-debug-messages):
1940 Add a variable to make the parsing messages introduced in
1941 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1942 (compilation-parse-errors, compilation--flush-parse): Use it.
1944 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1946 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1947 (rcirc-nick-completion-format): New defcustom.
1948 (rcirc-complete): Use it.
1950 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1952 * net/rcirc.el: Clean log filenames (Bug#7933).
1953 (rcirc-log-write): Use convert-standard-filename.
1954 (rcirc-log-filename-function): Documentation updates.
1956 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1958 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1959 Check report-emacs-bug-can-use-osx-open and use that if t.
1960 (report-emacs-bug-can-use-osx-open): New function.
1961 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1962 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1964 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1966 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1967 updating Dired or VC-dir buffers after async command completes.
1969 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1970 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1972 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1973 completions if it exists. Use vc-set-async-update.
1974 (vc-git-pull): Use vc-set-async-update.
1976 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1977 read-shell-command. Use vc-set-async-update.
1978 (vc-hg-merge-branch): Use vc-set-async-update.
1980 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1982 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1983 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1986 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * progmodes/compile.el: Avoid an N² behavior in grep.
1989 (compilation--previous-directory): New fun.
1990 (compilation--previous-directory-cache): New var.
1991 (compilation--remove-properties): Flush it.
1992 (compilation-directory-properties, compilation-error-properties):
1993 Use the new fun to speed up looking for the current directory.
1995 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1997 * vc/vc-hg.el (vc-hg-history): New var.
1998 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1999 (vc-hg-merge-branch): New function.
2001 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2002 the other way around.
2004 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2005 (vc-git-merge-branch): New functions.
2006 (vc-git-history): New var.
2008 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2010 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2012 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2013 vc-do-async-command.
2015 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2018 2011-01-28 Leo <sdl.web@gmail.com>
2020 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2021 highlighting to the "this function is advised" message.
2023 * help-mode.el (help-mode-finish): Apply highlighting here, to
2024 avoid clobbering by substitute-command-keys (Bug#6304).
2026 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2028 * woman.el (woman0-roff-buffer): Process roff escape sequences
2029 occurring prior to the first request (Bug#7843).
2031 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * progmodes/compile.el: Don't use font-lock any more.
2034 (compilation-error-regexp-alist-alist): Change handling of makepp
2035 so it preserves the warning/error distinction on subsequent files.
2036 Simplify various rules.
2037 (compilation-directory-properties): Use font-lock-face.
2038 Add a compilation-message property.
2039 (compilation-internal-error-properties): Use font-lock-face.
2040 Don't set the compilation-debug property here.
2041 (compilation--put-prop, compilation--remove-properties)
2042 (compilation--parse-region, compilation--ensure-parse)
2043 (compilation--ensure-parse): New functions.
2044 (compilation-parse-errors): New function, largely inspired of
2045 compilation-mode-font-lock-keywords. Set compilation-debug here.
2046 (compilation--parsed): New var.
2047 (compilation--flush-parse): Use compilation--ensure-parse.
2048 (compilation-start): Don't call font-lock.
2049 (compilation-turn-on-font-lock): Remove.
2050 (compilation-setup): Don't set font-lock-extra-managed-props not change
2051 other font-lock settings, other than keywords.
2052 Don't activate font-lock-mode.
2053 Set change-major-mode-hook and before-change-functions.
2054 (compilation--unsetup): Remove properties and hooks.
2055 (compilation-next-single-property-change): New function.
2056 (compilation-next-error): Use it to parse when needed.
2057 (compile-goto-error): Parse buffer as needed.
2058 (compilation--compat-error-properties): Don't need a dummy `face'
2061 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2064 (compilation-process-setup-function): Fix docstring's false promises.
2065 (compilation-error-regexp-alist-alist): Catch omake's continuous
2066 recompilation message and avoid reuse of old markers.
2067 (compilation-parse-errors-function): Declare obsolete.
2068 (compilation-buffer-modtime): Remove.
2069 (compilation--make-cdrloc, compilation--loc->col)
2070 (compilation--loc->line, compilation--loc->file-struct)
2071 (compilation--loc->marker, compilation--loc->visited)
2072 (compilation--make-file-struct, compilation--file-struct->file-spec)
2073 (compilation--file-struct->formats)
2074 (compilation--file-struct->loc-tree): New macros. Use them.
2075 (compilation--message): New defstruct. Use them.
2076 (compilation-next-error-function): Don't mess with timestamps to try
2077 and guess when to reparse.
2079 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2081 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2082 (tex-old-error-file-name): New function,
2083 extracted from tex-compilation-parse-errors.
2084 (tex-compilation-parse-errors): Remove.
2085 (tex-error-regexp-alist): New var.
2086 (tex-shell): Use it to avoid compilation-parse-errors-function.
2088 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2089 (grep-mode-font-lock-keywords): Remove regexp that seems like
2090 a left-over from before we used compile.el.
2091 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2092 modifying the buffer within with-silent-modifications.
2094 * progmodes/compile.el: Cleanup text-properties namespace by using
2095 `compilation-message' instead of `message', `compilation-directory'
2096 instead of `directory', and `compilation-debug' instead of `debug'.
2097 (compilation-last-buffer, compilation-parsing-end)
2098 (compilation-error-list, compilation-old-error-list): Move to the
2099 compatibility part of the code.
2100 (compilation-error-properties): If `file' is a function, let it return
2102 (compilation-mode-font-lock-keywords): Be more conservative with the
2103 omake "^ *" pattern prefix, to try and minimize the risk of
2104 pathologically slow regexp matching.
2105 (compilation-start): Use inhibit-read-only.
2106 (compilation--unsetup): New function.
2107 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2108 (compilation-filter): Minor tweaks.
2109 (compilation-next-error-function): Try and avoid abusing variables.
2110 (compilation--flush-file-structure): New fun.
2111 (compilation-fake-loc): Use it to improve behavior when file is reused.
2112 (debug-ignored-errors): Add "Moved past last ...".
2113 (compilation--compat-error-properties)
2114 (compilation--compat-parse-errors): Rename by doubling the "-".
2116 Port features from the previous prolog.el to the new one.
2117 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2118 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2119 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2120 variable and use a function to compute the value dynamically.
2121 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2122 (prolog-continued-prompt-regexp): Remove, unused.
2123 (prolog-find-value-by-system): Try and use the value of prolog-system
2124 in the *prolog* buffer if it helps.
2125 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2126 (prolog-zip-on): ..and check prolog-system and version here instead.
2127 (prolog-inferior-self-insert-command): New command.
2128 (prolog-inferior-mode-map): Use it.
2129 (prolog-inferior-error-regexp-alist): New var.
2130 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2131 (prolog-input-filter): Use derived-mode-p.
2132 (prolog-inferior-guess-flavor): New function.
2133 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2134 make-comint to avoid running comint-mode twice.
2135 (prolog-inferior-buffer): New fun.
2136 (prolog-old-process-region, prolog-old-process-file):
2137 Don't call prolog-bsts here...
2138 (prolog-build-prolog-command): ...do it here instead.
2139 (prolog-old-process-region, prolog-old-process-file):
2140 Use compilation-fake-loc and compilation-forget-errors.
2141 (prolog-consult-compile-region): Use bolp.
2143 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2145 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2147 2011-01-27 Sam Steingold <sds@gnu.org>
2149 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2150 Remove "*server*" which is never created by emacs server.
2152 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2154 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2155 there are some diff switches.
2157 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2160 Copy change made to ruby-font-lock-syntactic-keywords.
2162 * htmlfontify.el: Make it obey the font-lock-face text property.
2163 Miscellaneous cleanup such as:
2164 - Don't hide expressions after a closing paren.
2165 - Move initial setq into let.
2166 - Hoist common parts out of ifs.
2167 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2168 (hfy-face-at): Use get-text-property instead.
2169 (hfy-prop-invisible-p): Use invisible-p if available.
2170 (htmlfontify-manual): Use \\[...].
2171 (hfy-html-quote-regex): Use [...].
2172 (hfy-combined-face-spec): Simplify.
2173 (hfy-compile-face-map): Don't presume point-min==1.
2174 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2175 match end of string.
2176 (hfy-text-p): η-reduce.
2177 (hfy-tags-for-file): Receive cache-hash directly.
2178 (hfy-mark-tag-names): Adjust call.
2180 2011-01-27 Glenn Morris <rgm@gnu.org>
2182 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2183 (msb-after-load-hook): Remove eval-after-load wackiness.
2185 2011-01-25 Sam Steingold <sds@gnu.org>
2187 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2188 literal "diff" (important for windows-nt).
2190 2011-01-25 Glenn Morris <rgm@gnu.org>
2192 * emacs-lisp/copyright.el (copyright-at-end-flag)
2193 (copyright-names-regexp): Add safety properties.
2194 (copyright-year-ranges): New option.
2195 (copyright-find-end): New function, split from copyright-update-year.
2196 (copyright-update-year): Use copyright-find-end.
2197 (copyright-fix-years): Optionally, convert years to ranges.
2198 Handle years continued over comment lines.
2199 Do not mess with the fill-prefix.
2200 Do not call copyright-update.
2201 (copyright-update-directory): Optionally, fix years rather than update.
2202 Skip directories. Find files with only safe local vars.
2204 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2206 * files.el (file-name-non-special): Only change buffer-file-name after
2207 insert-file-contents if it's `visit'ing the file (bug#7854).
2209 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2211 * dired.el (dired-revert): Doc fix (Bug#7758).
2213 * simple.el (line-move-visual): Doc fix (Bug#7594).
2215 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2217 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2218 here-doc which ends with an underscore.
2219 (ruby-mode-set-encoding): Skip shebang line always.
2220 (ruby-mode-map): Bind C-c C-c to comment-region.
2221 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2222 (ruby-forward-sexp): Stop after literal hash key labels.
2223 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2226 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2228 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2229 the correct buffer (Bug#7650).
2231 2011-01-25 Glenn Morris <rgm@gnu.org>
2233 * comint.el (comint-mode): Doc fix. (Bug#7897)
2235 * simple.el (do-auto-fill): Give it a doc string.
2237 * button.el (make-text-button): Doc fix. (See bug#7881)
2239 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2241 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2242 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2244 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2245 Handle ?" and friends differently (e.g. don't use backrefs).
2247 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2249 * calc/calc.el (calc-default-power-reference-level)
2250 (calc-default-field-reference-level): New variables.
2251 * calc/calc-units.el (math-standard-units): Add dB and Np.
2252 (math-logunits): New variable.
2253 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2254 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2255 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2257 (math-find-base-units-rec): Add entry for ln(10).
2258 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2259 (calc-ul-prefix-help): New function.
2260 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2261 functions. Add keybindings for new units functions.
2263 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2265 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2266 rcirc buffers. (Bug#4940)
2268 2011-01-22 Glenn Morris <rgm@gnu.org>
2270 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2271 split out from copyright-update-year.
2272 (copyright-update): Don't mess with the GPL version if we don't own the
2273 copyright. Update license regexp, and remove no longer needed
2275 (copyright-fix-years): Use copyright-find-copyright.
2277 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2279 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2281 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2283 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2284 (lm): Rename to landmark.
2285 (lm-test-run): Rename to landmark-test-run.
2287 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2289 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2290 "Case sensitive" menu item.
2292 2011-01-22 Roland McGrath <roland@frob.com>
2294 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2295 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2297 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2301 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2303 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2304 Assume foo(bar) is a manpage reference rather than some unquoted
2307 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2309 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2310 Suggested by Flo <sensorflo@gmail.com>.
2312 2011-01-22 Glenn Morris <rgm@gnu.org>
2314 * progmodes/compile.el (compilation-error-regexp-alist):
2315 Fix custom type. (Bug#7812)
2317 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2319 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2320 allout-number-siblings, in keeping with what obtained due to
2321 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2323 (allout-before-change-handler): Better expose spots affected by
2326 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2328 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2330 2011-01-22 Phil Hagelberg <phil@evri.com>
2332 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2333 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2334 (pcmpl-ssh-config-hosts): New function.
2335 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2336 pcmpl-ssh-known-hosts.
2338 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2340 * calc/calc-undo.el (calc-undo): Autoload it.
2341 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2342 and autoload for `calc-undo'.
2343 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2344 * calc/calc-prog.el:
2345 * calc/calc-graph.el:
2346 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2348 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2350 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2351 keybindings to `calc-undo'.
2353 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2355 Don't mess with *temp*.
2356 * obsolete/spell.el: Move from textmodes/spell.el.
2358 * term.el (term-read-input-ring):
2359 * startup.el (display-startup-echo-area-message):
2360 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2361 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2362 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2365 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2367 * allout.el (allout-institute-keymap): Use fset instead of
2368 reapplying defalias.
2370 (allout-hotspot-key-handler): Check for non-control-modified
2371 bindings for hotspot characters if there are no control-modified
2374 * allout.el: Summary - migrate to defining allout mode using
2375 define-minor-mode instead of defun. Significantly clean-up
2376 internal keymap provisions, refactoring and, in the process,
2377 removing a lot of accumulated cruft.
2379 allout-mode-map is now a keymap by virtue of being a defalias to
2380 allout-mode-map-value, which contains the actual keymap structure.
2382 (allout-mode): Use define-minor-mode rather than defun.
2383 Remove now-unnecessary minor-mode setup activities from the body.
2384 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2385 entry will be '(allout-mode . allout-mode-map) - see
2386 allout-mode-map-value, below. Adjust docstring to track changes.
2387 (allout-minor-mode): Remove this defalias, now that we're using
2389 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2390 keymap is allout-mode-map-value, via defalias.
2391 (allout-mode-map-value): The variable holding the actual mode
2392 keymap structure, by virtue of defalias from allout-mode-map.
2393 (allout-compose-and-institute-keymap): Rename from
2394 allout-bind-keys, and including the binding-composition
2395 functionality of the former produce-allout-mode-map and
2396 allout-setup-mode-map.
2397 (allout-institute-keymap): Take over the "setup" part of the former
2398 allout-setup-mode-map. Reassign allout-mode-map-value value and
2399 update the defalias.
2400 (allout-command-prefix, allout-prefixed-keybindings)
2401 (allout-unprefixed-keybindings):
2402 Use allout-compose-and-institute-keymap to process the bindings.
2403 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2404 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2405 user can customize if they want to use that binding.
2406 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2407 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2408 elided that, previously, instead of the one for \C-h.)
2409 (allout-hotspot-key-handler): Remove attempt to resolve the key
2410 through the literal key-string lookup on allout-keybindings-list.
2411 That probably hasn't worked for a Long Time, and removal of
2412 allout-keybindings-list further simplifies the keybindings situation.
2413 (allout-pre-command-business): Use allout-mode-map-value instead
2415 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2416 the bindings if they want to use a keybinding having a trailing
2417 \C-h. No deprecation needed since this feature was never in a release.
2418 (allout-keybindings-list): Remove. It's not been useful for a
2419 while. (See allout-hotspot-key-handler changes, above.)
2420 (produce-allout-mode-map): Remove. Consolidate into
2421 allout-compose-and-institute-keymap.
2422 (allout-mode-map-adjustments): Remove. No longer necessary with
2423 removal of allout-preempt-trailing-ctrl-h.
2424 (allout-setup-mode-map): Remove. Consolidate into
2425 allout-compose-and-institute-keymap and allout-institute-keymap.
2427 2011-01-20 Glenn Morris <rgm@gnu.org>
2429 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2431 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2433 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2435 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2437 * files.el (find-alternate-file, basic-save-buffer)
2438 (basic-save-buffer-2, revert-buffer, recover-file)
2439 (kill-buffer-ask, abort-if-file-too-large)
2440 (set-visited-file-name, write-file, backup-buffer)
2441 (basic-save-buffer, save-some-buffers):
2442 * dired-aux.el (dired-compress-file): Callers changed.
2444 2011-01-19 Glenn Morris <rgm@gnu.org>
2446 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2447 Also check the property status. (Bug#7861)
2449 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2451 * net/tramp.el (tramp-debug-message): Extend function exclude
2452 list. Use `regexp-opt'.
2454 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2456 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2457 highlighting doesn't spill over subsequent lines.
2459 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2460 keymap expression. Improve docstring.
2462 * electric.el (electric-indent-post-self-insert-function):
2463 Don't auto-indent for indent-to-left-margin, it's too often
2466 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2468 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2469 spaces if the frame was resized, so that the full visible buffer
2470 serves as canvas for strokes.
2472 2011-01-16 Glenn Morris <rgm@gnu.org>
2474 * info-xref.el (info-xref-docstrings): Replace cl function.
2475 Also skip directories.
2477 2011-01-16 Kevin Ryde <user42@zip.com.au>
2479 * info-xref.el: Version 3.
2480 (info-xref-check, info-xref-check-all): Move commentary details
2481 into docstrings for better visibility.
2482 Use compilation-mode for the results buffer.
2483 (info-xref-output, info-xref-output-error, info-xref-with-output)
2484 (info-xref-filename, info-xref-in-progress):
2485 New internals for this.
2486 (info-xref-check-list, info-xref-check-buffer)
2487 (info-xref-check-all-custom): Use those.
2488 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2489 (info-xref-output-heading): Rename from info-xref-filename-heading.
2490 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2491 (info-xref-filename-heading): Move to output managing section.
2492 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2493 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2494 (info-xref-subfile-p): Move to generic section with those two.
2495 (info-xref-check-node): New function split from
2496 info-xref-check-buffer, shared by info-xref-docstrings.
2497 (info-xref-goto-node-p): Move to a checking section with that func.
2498 (info-xref-unavail): New counter.
2499 (info-xref-check-node): Use it.
2500 (info-xref-with-output): Show count of unavailables at end of output.
2501 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2502 symlinks. Exclude .texi files. Exclude Emacs backup files.
2503 (info-xref-check-all-custom): Fix quietening viper-mode and
2504 gnus-registry-install -- use setq not let so as not to unbind
2507 2011-01-16 Juri Linkov <juri@jurta.org>
2509 * isearch.el (isearch-abort): Don't quit if search has
2510 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2512 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2514 * files.el (backup-buffer): Make last-resort backup file in
2515 .emacs.d (Bug#6953).
2517 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2518 make it with permission 700.
2520 2011-01-15 Kenichi Handa <handa@m17n.org>
2522 * mail/rmailmm.el (rmail-mime-insert-header):
2523 Set rmail-mime-coding-system to a cons whose car is the last coding
2524 system used to decode the header.
2525 (rmail-mime-find-header-encoding): New function.
2526 (rmail-mime-insert-decoded-text):
2527 Override rmail-mime-coding-system if it is a cons.
2528 (rmail-show-mime): If only a header part was decoded, find the
2529 coding system while ignoring mm-charset-override-alist.
2531 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2533 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2535 2011-01-15 Kenichi Handa <handa@m17n.org>
2537 * mail/rmailmm.el (rmail-mime-next-item)
2538 (rmail-mime-previous-item): Delete them.
2539 (rmail-mime-shown-mode): Recursively call for children.
2540 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2542 (rmail-mime-raw-mode): Recursively call for children.
2543 (rmail-mode-map): Change mapping of tab and backtab to
2544 forward-button and backward-button respectively.
2545 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2547 (rmail-mime-update-tagline): New function.
2548 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2549 body display is changed.
2550 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2551 (rmail-mime-image): Delete this button type.
2552 (rmail-mime-toggle): New button type.
2553 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2554 body display is changed. Change the save button label to "Save".
2555 Don't process show/hide button here.
2556 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2557 the body display is changed. Unconditionally call
2558 rmail-mime-insert for children.
2559 (rmail-mime-handle): Update `display' vector of the just inserted
2561 (rmail-mime-process): If mail-header-parse-content-type returns
2562 nil, use "text/plain" as the fallback type.
2563 (rmail-mime-insert): For raw-mode, recursively call
2564 rmail-mim-insert for children.
2565 (rmail-mime): Handle the case that the current buffer is not rmail
2566 buffer (e.g. in summary buffer).
2568 2011-01-15 Kenichi Handa <handa@m17n.org>
2570 * mail/rmailmm.el (rmail-mime-next-item)
2571 (rmail-mime-previous-item): Skip the body of a non-multipart
2572 entity if a tagline is shown.
2574 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2576 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2577 (tmm-prompt): Simplify.
2578 (tmm-add-prompt): Remove unused var `win'.
2580 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2581 to minor mode which used nil accidentally to mean "turn off".
2583 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2585 * net/tramp-sh.el (tramp-find-inline-compress)
2586 (tramp-get-inline-coding): Quote command after pipe symbol for
2587 local calls under W32. (Bug#6784)
2589 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2591 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2592 only when running under W32.
2594 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2596 * progmodes/grep.el (grep-compute-defaults): Quote the program
2597 file name after the pipe symbol in Grep templates. (Bug#6784)
2598 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2600 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2602 * buff-menu.el (Buffer-menu-buffer-list): New var.
2603 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2604 restricted buffer list is not lost on revert (Bug#7749).
2606 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2608 * net/ldap.el (ldap-search-internal): Discard stderr output.
2610 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2612 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2614 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2616 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2618 2011-01-15 Kenichi Handa <handa@m17n.org>
2620 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2621 part as a plain text.
2622 (rmail-mime-process-multipart): Set the default content-type to
2623 nil for unknown multipart subtypes (bug#7651).
2625 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2627 * hexl.el (hexl-mode-old-*): Remove.
2628 (hexl-mode--old-var-vals): New var to replace them.
2629 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2630 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2631 Use them to set local vars (bug#7846).
2632 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2633 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2634 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2636 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2637 (smerge-resolve--normalize-re): New var.
2638 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2639 (smerge-resolve): Use them.
2640 * newcomment.el (comment-only-p): New function.
2641 (comment-or-uncomment-region): Use it.
2643 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2645 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2646 table, get the value before switching to the output buffer. (Bug#7733)
2648 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2650 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2652 2011-01-14 Kim F. Storm <storm@cua.dk>
2654 * emulation/cua-base.el (cua--init-keymaps):
2655 Remap exchange-point-and-mark in cua-global-keymap.
2657 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2659 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2662 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2664 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2666 (easy-menu-create-menu, easy-menu-convert-item-1):
2667 Use :label rather than nil for labels. Use `case'.
2668 Add :enable as alias for :active.
2669 (easy-menu-binding): Obey :label.
2671 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2673 Use run-mode-hooks for major mode hooks (bug#513).
2674 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2675 Rename from reftex-toc-map.
2676 (reftex-toc-mode): Use define-derived-mode.
2677 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2678 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2679 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2680 (reftex-select-label-mode, reftex-select-bib-mode):
2681 Use define-derived-mode.
2682 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2683 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2684 Move init into delcaration.
2685 (reftex-index-mode, reftex-index-phrases-mode):
2686 Use define-derived-mode.
2687 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2688 speedbar-syntax-table. Move init into declaration.
2689 (speedbar-mode-map): Rename from speedbar-key-map.
2690 Move init into declaration.
2691 (speedbar-file-key-map): Move init into declaration.
2692 (speedbar-mode): Use define-derived-mode.
2693 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2694 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2695 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2696 (chart-face-list): Move initialization into declaration.
2697 (chart-mode): Use define-derived-mode.
2698 * calculator.el (calculator-mode-map): Move init into declaration.
2699 (calculator-mode): Use define-derived-mode.
2701 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2702 work for nested comments.
2704 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2705 (prolog-use-prolog-tokenizer-flag): Change default when
2706 syntax-propertize can be used.
2707 (prolog-syntax-propertize-function): New var.
2708 (prolog-mode-variables): Move make-local-variable into `set'.
2709 Don't make comment-column local since we don't set it.
2710 Set comment-add (as it was in previous prolog.el). Use dolist.
2711 Set syntax-propertize-function.
2712 (prolog-mode, prolog-inferior-mode):
2713 Call prolog(-inferior)-menu directly, not through the mode-hook.
2714 (prolog-buffer-module, prolog-indent-level)
2715 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2716 (prolog-comment-limits, prolog-goto-comment-column):
2717 Use line-(end|beginning)-position.
2718 (prolog-build-prolog-command): Tighten up regexp.
2719 (prolog-consult-compile): Move make-local-variable into `set'.
2720 (prolog-consult-compile-filter, prolog-goto-next-paren)
2721 (prolog-help-on-predicate, prolog-clause-info)
2722 (prolog-mark-predicate): Don't let+setq.
2723 (prolog-indent-line): Use indent-line-to.
2724 Only call prolog-goto-comment-column if necessary.
2725 (prolog-indent-level): Use bobp.
2726 (prolog-first-pos-on-line): Remove, not used any more.
2727 (prolog-in-string-or-comment): Use syntax-ppss if available.
2728 (prolog-help-on-predicate): Use read-string.
2729 (prolog-goto-predicate-info): Simplify.
2730 (prolog-read-predicate): Use `default' rather than `initial'.
2731 (prolog-temporary-file): Use make-temp-file to close a security hole.
2732 (prolog-toggle-sicstus-sd): New command.
2733 (prolog-electric-underscore, prolog-variables-to-anonymous):
2734 Use dynamic-scoping as it was meant.
2735 (prolog-menu): Move menu definitions to top-level.
2736 Use a toggle-button for Sicstus's source debugger.
2737 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2739 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2740 Move other menu definition to top-level.
2742 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2744 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2745 name. Keep original document's directory as default-directory
2747 (doc-view-initiate-display): Fall back to normal mode when
2748 doc-view-mode cannot be enabled, also when extracting the document
2749 text into a separate buffer (bug#6446).
2751 * simple.el (shell-command): Don't error out if shell command
2752 buffer contains text with non-nil read-only property when erasing
2755 2011-01-13 Kim F. Storm <storm@cua.dk>
2757 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2758 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2759 items when cycling through the matches.
2761 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2763 * dired-x.el (dired-omit-verbose): New defcustom that allows
2764 disabling the omit messages.
2765 (dired-omit-expunge): Use it.
2767 2011-01-13 Christian Ohler <ohler@gnu.org>
2769 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2771 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2773 * font-lock.el (font-lock-verbose): Default to nil.
2775 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2777 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2778 (compose-mail): New arg RETURN-ACTION.
2779 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2781 * mail/sendmail.el (mail-return-action): New var.
2782 (mail-mode): Make it buffer-local.
2783 (mail-bury): Obey it. Move special Rmail window handling to
2785 (mail, mail-setup): New arg RETURN-ACTION.
2786 (sendmail-user-agent-compose): Move from simple.el.
2788 * mail/rmail.el (rmail-mail-return): New function.
2789 (rmail-start-mail): Pass it to compose-mail.
2791 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2793 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2794 menus. Add menu item for customize-themes.
2796 * cus-theme.el (customize-themes):
2797 * emacs-lisp/package.el (package--list-packages):
2798 Use switch-to-buffer.
2800 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2802 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2804 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2806 * progmodes/prolog.el: Fix up coding convention and such.
2807 (prolog-indent-width): Use the same default as in
2808 previous prolog.el rather than tab-width which depends on which buffer
2809 is current when the file is loaded.
2810 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2812 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2813 (prolog-known-systems): Remove.
2814 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2815 Move initialization into declaration.
2816 (prolog-mode-map): Move initialization into declaration.
2817 Remove system-specific mode-map vars, since they referred to the same
2819 (prolog-mode-variables): Obey the user's preference w.r.t
2820 adaptive-fill-mode. Prefer symbol-value to `eval'.
2821 (prolog-mode-keybindings-edit): Add compatibility bindings.
2822 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2823 (mercury-mode-map): New var.
2824 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2825 (prolog-ensure-process, prolog-process-insert-string)
2826 (prolog-consult-compile): Use with-current-buffer.
2827 (prolog-guess-fill-prefix): Simplify data flow.
2828 (prolog-replace-in-string): New function to use instead of
2830 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2831 (prolog-uncomment-region): Use `uncomment-region' when available.
2832 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2833 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2834 of int-to-char and char-to-int.
2835 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2837 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2839 * progmodes/prolog.el: Replace by a whole new file.
2841 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2843 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2844 (declare-function, undefined, insert-for-yank)
2845 (replace-regexp-in-string): Follow checkdoc's recommendations.
2847 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2850 refreshing the diary buffer.
2852 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2854 * allout.el: Add 2011 to the file copyright.
2855 (allout-encrypt-string): Prevent encryption from adding an extra
2856 newline at the end of the topic body.
2857 (allout-version): Increment to 2.3.
2859 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2861 * net/dbus.el (dbus-unregister-service): Complete doc.
2862 Fix call of dbus-error signal.
2863 (dbus-register-property): Use `dont-register' keyword.
2865 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2867 * net/dbus.el (dbus-unregister-service): Translate returned
2868 integer into a symbol.
2869 (dbus-register-property): Use `dbus-register-service' to do the
2872 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2874 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2875 Suggested by Joakim Verona.
2877 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2879 * wid-edit.el (visibility): Replace :on-image and :off-image
2880 widget properties with :on-glyph and :off-glyph, for consistency
2881 with the `visibility' widget.
2882 (widget-toggle-value-create, widget-visibility-value-create):
2883 Merge into a single function `widget-toggle-value-create'.
2885 * cus-edit.el (custom-variable-value-create, custom-visibility)
2886 (custom-face-edit-value-create, custom-face-value-create):
2887 Replace :on-image and :off-image widget properties with :on-glyph and
2888 :off-glyph, for consistency with the `visibility' widget.
2890 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2892 * net/ldap.el (ldap-search-internal): Don't use eval.
2894 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2896 * subr.el (read-char-choice): Use read-key.
2898 * custom.el (custom-safe-themes): Rename from
2899 custom-safe-theme-files. Add :risky tag.
2900 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2901 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2903 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2905 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2906 from Search and add a label to Undo.
2908 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2909 inappropriate buttons and adding :vert-only tags.
2911 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2912 removal of Help tool-bar button. Remove Undo button for space.
2914 * info.el (info-tool-bar-map): Add :vert-only tags.
2916 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2918 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2919 image backend support. Either of them is fine.
2921 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2923 * subr.el (y-or-n-p): Doc fix.
2925 * custom.el (custom-safe-theme-files): New defcustom.
2926 (custom-theme-load-confirm): New function.
2927 (load-theme): Load theme using `load', confirming with
2928 custom-theme-load-confirm if necessary.
2930 * subr.el (read-char-choice): New function, factored out from
2931 dired-query and hack-local-variables-confirm.
2933 * dired-aux.el (dired-query):
2934 * files.el (hack-local-variables-confirm): Use it.
2936 * dired-aux.el (dired-compress-file):
2937 * files.el (abort-if-file-too-large, find-alternate-file)
2938 (set-visited-file-name, write-file, backup-buffer)
2939 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2940 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2941 Use new format string args for y-or-n-p and yes-or-no-p.
2943 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2945 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2946 [gcc-include]: Tighten file name match, add match for column
2948 [gnu]: Remove unused group.
2950 2011-01-08 Glenn Morris <rgm@gnu.org>
2952 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2954 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2956 2011-01-07 Sam Steingold <sds@gnu.org>
2958 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2959 the `explicit-shell-file-name' because that is the
2960 non-interactive shell.
2962 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2964 * subr.el (y-or-n-p): Accept format string args.
2966 2011-01-07 Glenn Morris <rgm@gnu.org>
2968 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2970 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2972 * allout.el (allout-back-to-current-heading): Ensure return to
2973 the visible containing topic, rather than a collapsed one.
2974 (allout-view-change-hook): Remove hook that was deprecated long ago.
2975 (allout-exposure-change-hook): Remove documentation remarks
2976 concerning removed allout-view-change-hook.
2977 (allout-flag-region): Remove invocation of and documentation
2978 remarks concerning allout-view-change-hook.
2980 2011-01-06 Glenn Morris <rgm@gnu.org>
2982 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2983 (vc-bzr-annotate-extract-revision-at-line):
2984 Handle authors with embedded spaces. (Bug#7792)
2986 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2988 * doc-view.el (doc-view-image-width): New variable.
2989 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2990 backend for PNG images, and do dynamic rescaling instead of
2991 reconverting the whole doc.
2993 2011-01-05 Glenn Morris <rgm@gnu.org>
2995 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2997 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2999 * allout.el: Reconcile with changes in line movement behavior for
3000 long text lines that cross more than a single physical window
3001 line, ie when truncate-lines is nil.
3002 (allout-next-visible-heading): Provide for change in line-move
3003 behavior on long lines when truncate-lines is nil. In that case,
3004 line-move can wind up on the same textual line when it moves to
3005 the next window line, and moving to the bullet position after the
3006 move yields zero advancement. Add logic to detect and compensate
3007 for the lack of progress.
3008 (allout-current-topic-collapsed-p): move-end-of-line respect for
3009 field boundaries is different when operating with body lines
3010 shorter than window width versus ones greater than window width,
3011 which can yield false negatives in this function. Avoid
3012 difference by applying move-end-of-line while field-text-motion is
3015 2011-01-04 Glenn Morris <rgm@gnu.org>
3017 * textmodes/rst.el (rst-compile-toolsets):
3018 Add pdf and s5 to option alist.
3020 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3022 * net/dbus.el (dbus-register-property): Add optional parameter
3023 dont-register-service. Updated docstring accordingly.
3025 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3027 * textmodes/rst.el (rst-compile-pdf-preview)
3028 (rst-compile-slides-preview): Remove extra line.
3030 2011-01-04 Glenn Morris <rgm@gnu.org>
3032 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3033 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3034 default to `prog' without a .py extension.
3035 (rst-compile-pdf-preview, rst-compile-slides-preview):
3036 Use program names from rst-compile-toolsets, rather than hard-coding.
3037 (rst-portable-mark-active-p): Fix presumed typo.
3039 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3041 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3042 libpng versions both before and after 1.4.0. (Bug#7716)
3044 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3046 * time.el (display-time-mode): Mention display-time-interval in
3047 the doc string. (Bug#7713)
3049 2011-01-02 Kenichi Handa <handa@m17n.org>
3051 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3052 condition-case and return an error message string if something
3054 (rmail-show-mime): Adjust for the above change. Insert the
3055 header by rmail-mime-insert-header.
3057 2011-01-02 Kenichi Handa <handa@m17n.org>
3059 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3060 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3061 (rmail-mime-mbox-buffer)
3062 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3063 (rmail-mime-entity): Argument changed. All codes handling an
3064 entity object are changed.
3065 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3067 (rmail-mime-entity-children, rmail-mime-entity-handler)
3068 (rmail-mime-entity-tagline): New functions.
3069 (rmail-mime-message-p): New function.
3070 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3071 (rmail-mime-entity-segment, rmail-mime-next-item)
3072 (rmail-mime-previous-item, rmail-mime-shown-mode)
3073 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3074 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3075 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3077 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3078 (rmail-mime-insert-decoded-text): New function.
3079 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3080 (rmail-mime-insert-image): Argument changed. Caller changed.
3081 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3082 (rmail-mime-set-bulk-data): New function.
3083 (rmail-mime-insert-bulk): Argument changed.
3084 (rmail-mime-multipart-handler): Return t.
3085 (rmail-mime-process-multipart): Argument changed.
3086 Handle "multipart/alternative" here.
3087 (rmail-mime-process): Argument changed.
3088 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3089 (rmail-mime-insert): Argument changed. Handle raw display mode.
3090 (rmail-mime): Argument changed. Handle toggling of raw display
3092 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3093 rmail-mime-view-buffer.
3094 (rmail-insert-mime-forwarded-message): Likewise.
3095 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3097 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3098 non-nil, handle the header in rmail-show-mime-function.
3100 2011-01-02 Leo <sdl.web@gmail.com>
3102 * help-fns.el (describe-variable): Fix previous change.
3104 2011-01-02 Juri Linkov <juri@jurta.org>
3106 * isearch.el (isearch-lazy-highlight-error): New variable.
3107 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3108 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3109 to the current value of `isearch-error' (Bug#7468).
3111 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3113 * help-fns.el (describe-variable): Don't emit trailing whitespace
3116 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3118 * textmodes/rst.el (rst-compile-pdf-preview)
3119 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3121 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3123 * emulation/edt-mapper.el: Override mapping of function keys so
3124 that the later call to read-key-sequence works.
3126 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3128 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3129 Unix EOLs. (Bug#7589)
3131 2011-01-02 Leo <sdl.web@gmail.com>
3133 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3134 if point is not behind eshell-last-output-end (Bug#7585).
3136 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * files.el (file-local-variables-alist):
3139 Make permanent-local (bug#7767).
3141 2011-01-02 Glenn Morris <rgm@gnu.org>
3143 * version.el (emacs-copyright): Set short copyright year to 2011.
3145 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3147 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3148 an existing temp buffer. (Bug#7746)
3150 2011-01-02 Glenn Morris <rgm@gnu.org>
3152 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3153 multiple addresses. (Bug#7760)
3155 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3157 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3158 do-auto-fill if everything points back to allout-auto-fill.
3159 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3160 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3162 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3164 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3167 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3169 * doc-view.el (doc-view-set-doc-type): New function refactored
3171 (doc-view-fallback-mode): New function.
3172 (doc-view-mode): Use it.
3173 (doc-view-mode-maybe): New function that checks if doc-view-mode
3174 can be used and falls back to the next best mode otherwise.
3176 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3177 DVI, OpenDocument, and MS Office files.
3179 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3181 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3183 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3185 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3186 on a copy of auto-mode-alist, because that deletes with side
3189 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3191 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3192 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3193 fallback instead of hard coding fundamental mode.
3195 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3197 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3198 Office) files also for searching.
3200 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3202 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3203 Office) files. Not yet enabled via auto-mode-list.
3204 (doc-view-unoconv-program): New custom variable.
3205 (doc-view-mode-p): Handle new odf document type.
3206 (doc-view-odf->pdf): New conversion function.
3207 (doc-view-convert-current-doc): Call it for odf files.
3208 (doc-view-mode): Recognize newly supported file extensions.
3210 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3212 * net/tramp.el (tramp-default-method-alist)
3213 (tramp-default-user-alist)
3214 (tramp-local-host-regexp, tramp-prefix-domain-format)
3215 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3218 * net/tramp-gvfs.el:
3220 * net/tramp-imap.el:
3222 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3223 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3225 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3227 * saveplace.el (save-place-alist-to-file): Save list sorted and
3228 pretty-printed, so that it is mergeable by line-based text merging,
3229 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3231 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3233 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3234 (allout-mode): Argument "toggle" => "force".
3235 Refine the docstring.
3236 Remove special provisions for reactivation, besides the 'force'
3238 Consolidate layout provisions coce directly into the activation
3239 condition branch, now that we've removed those provisions.
3240 (allout-unload-function): Explicitly activate the mode before
3241 deactivating, if it's initially deactivated.
3242 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3243 warnings for version of function used only where
3244 set-buffer-multibyte is unavailable.
3246 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3248 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3249 are handled by the menu-bar entries. As before, don't use
3250 :visibile to avoid changing the tool-bar.
3252 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3254 * net/secrets.el (secrets-delete-alias): New defun.
3256 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3258 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3259 methods, otherwise ~/.ssh/config would be ignored.
3261 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * emacs-lisp/rx.el: Make it a superset of sregex.
3264 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3265 of args, add `regex' alias.
3266 (rx-info): Add arg to distinguish head and standalone forms.
3267 (rx-check, rx-form): Pass the corresponding arg.
3269 (rx-repeat): Make it work for any number of args.
3270 (rx-syntax): Make it accept syntax chars as is.
3271 * obsolete/sregex.el: Move from emacs-lisp/.
3272 * emacs-lisp/re-builder.el: Remove sregex support.
3273 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3275 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3277 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3278 PRIMARY first, then the clipboard. (Bug#7699)
3280 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3285 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3287 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3288 .emacs.elc (Bug#7530).
3290 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3291 image spec (Bug#7480).
3293 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3295 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3296 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3299 2010-12-20 Leo <sdl.web@gmail.com>
3301 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3302 always be performed (Bug#7680).
3304 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3306 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3307 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3310 * color.el: Move from gnus/.
3312 * vc/diff.el (diff-better-file-name): Function deleted.
3313 abbreviating file names causes problems with shell-quote-argument.
3314 (diff-no-select): Just use expand-file-name.
3316 * tool-bar.el (tool-bar--image-expression): New function.
3317 (tool-bar-local-item, tool-bar--image-exp): Use it.
3318 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3319 Use :enable instead of :visible to avoid changing the tool-bar
3320 configuration unnecessarily.
3322 * info.el (info-tool-bar-map): Add separators.
3324 2010-12-17 Ken Brown <kbrown@cornell.edu>
3326 * loadup.el: Use version numbers in Cygwin build.
3328 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3330 * ido.el (ido-file-internal): Ask for confirmation before
3331 overwriting an existing file (Bug#1238).
3333 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3335 * tool-bar.el (tool-bar-setup): Add separators.
3337 * menu-bar.el (featurep): Use menu-bar-separator.
3339 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3341 Migrate allout encryption provisions from pgg to epg.
3343 * allout.el (allout-toggle-current-subtree-encryption)
3344 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3345 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3346 for simpler universal argument interpretation.
3347 (allout-toggle-subtree-encryption): Adjust docstring to describe
3348 changed encryption provisions. Change fetch-pass to keymode-cue, for
3349 simpler universal argument interpretation. Remove provisions for
3350 handling key type and identity - they'll all be within
3351 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3352 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3353 for keypair recipients (universal argument > 1) and, in addition,
3354 associating the specified recipients with the outline (universal
3355 argument > 4) using a file local variable setting for
3356 'epa-file-encrypt-to'.
3357 Require epa, for recipients handling.
3358 Change how regexp filtering elements are named.
3359 Describe the problem with caching of incorrect symmetric-decryption
3361 Use the epa-passphrase-callback-function, in case the user is using
3363 Support saving of the selected keypair recipients when invoked with a
3365 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3367 Establish epg-context with armoring and default epg-protocol.
3368 Remove all passphrase cache, verification, and hinting code.
3369 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3370 No longer used, delete.
3371 (allout-mode): Adjust docstring to describe changed encryption
3372 provisions. Describe the problem with caching of incorrect
3373 symmetric-decryption keys.
3374 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3375 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3376 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3377 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3380 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3382 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3383 key selection prompt; make 'silent as default (Bug#7487).
3385 2010-12-16 Leo <sdl.web@gmail.com>
3387 * eshell/eshell.el (eshell-directory-name):
3388 Use locate-user-emacs-file (Bug#7578).
3390 2010-12-15 Glenn Morris <rgm@gnu.org>
3392 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3394 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3395 Scott Evans <gse@antisleep.com>
3397 * rect.el (rectange--default-line-number-format)
3398 (rectangle-number-line-callback): New functions.
3399 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3401 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3403 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3404 Delete unused variables.
3405 (move-to-column-force): Remove function obsolete since 21.2.
3407 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3409 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3410 (tramp-handle-insert-file-contents): Do not set permanent-local
3413 * net/tramp-cache.el (tramp-persistency-file-name):
3414 Use `locate-user-emacs-file' if fboundp.
3416 * net/tramp-sh.el (tramp-methods): Add "ksu".
3417 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3420 2010-12-14 Glenn Morris <rgm@gnu.org>
3422 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3423 (find-tag-marker-ring): Declare.
3424 (js-find-symbol): Require etags.
3426 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3428 (mail-alias-file): Don't autoload. Doc fix.
3429 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3430 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3431 Mark as obsolete, and risky.
3432 (mail-setup): Simplify.
3434 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3435 * mail/sendmail.el (build-mail-aliases): Update autoload.
3437 * dired.el (dired-trivial-filenames, dired-chown-program)
3438 (dired-auto-revert-buffer): Remove autoload cookies.
3439 * mail/sendmail.el (mail-recover-1): Require 'dired.
3441 * dired.el (dired-subdir-switches, dired-chown-program)
3442 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3443 Make into defcustoms.
3444 (dired-chown-program): Simplify initialization.
3446 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3448 2010-12-13 Romain Francoise <romain@orebokech.com>
3450 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3452 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3454 * net/netrc.el (netrc-point-at-eol): Remove the unused
3455 netrc-point-at-old and netrc-bound-and-true-p bindings.
3456 (netrc-parse): Cache the netrc contents.
3458 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3460 * subr.el (posn-col-row): Evaluate header-line-format in the
3461 context of the POSITION window's buffer.
3463 2010-12-13 Glenn Morris <rgm@gnu.org>
3465 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3466 (with-silent-modifications): Doc fixes.
3468 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3470 * net/tramp.el (tramp-action-password, tramp-process-actions):
3471 Revert previous from. Use `save-restriction'.
3473 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3475 * calendar/diary-lib.el (diary-list-sexp-entries):
3476 Handle case of no newline at end of file. (Bug#7536)
3478 2010-12-13 Glenn Morris <rgm@gnu.org>
3480 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3482 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3484 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3485 (tramp-process-actions): Do not widen.
3487 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3488 Protect buffer-modified value. (Bug#7557)
3490 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3492 * log-edit.el (log-edit-changelog-entries):
3493 Regexp quote filename. (Bug#7505)
3495 2010-12-13 Tom Breton <tehom@panix.com>
3497 * cus-edit.el (custom-save-all):
3498 Bind print-length and print-level to nil. (Bug#7581)
3500 2010-12-13 Glenn Morris <rgm@gnu.org>
3502 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3503 Run hooks to update menu contents. (Bug#7586)
3505 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3506 file names, for the sake of MS Windows. (Bug#7588)
3508 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3511 empty lines without a leading space.
3513 2010-12-13 Leo <sdl.web@gmail.com>
3515 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3516 while mapping over marks (Bug#6810).
3518 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3520 * image-dired.el (image-dired-db-file)
3521 (image-dired-temp-image-file, image-dired-gallery-dir)
3522 (image-dired-temp-rotate-image-file): Set default values relative
3523 to image-dired-dir (Bug#7518).
3525 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3527 * format.el (format-decode-run-method): Pass args FROM and TO, not
3528 point-min and point-max, to shell-command-on-region (Bug#7488).
3530 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3532 * frame.el (blink-cursor-mode): Make default t for ns.
3534 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3536 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3538 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3540 * comint.el (comint-dynamic-list-input-ring)
3541 (comint-dynamic-complete-filename)
3542 (comint-replace-by-expanded-filename)
3543 (comint-dynamic-simple-complete)
3544 (comint-dynamic-list-filename-completions)
3545 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3547 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3550 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3552 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3555 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3557 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3560 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3562 * files.el (file-relative-name): Handle UNC file names on
3563 DOS/Windows. (Bug#4674)
3565 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3567 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3568 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3569 (epg-context-set-passphrase-callback): Mention that the callback
3570 is not called when used with GnuPG 2.x.
3572 2010-12-13 Glenn Morris <rgm@gnu.org>
3574 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3575 Ensure ps-footer-font-size-internal is initialized.
3576 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3578 2010-12-13 Kenichi Handa <handa@m17n.org>
3580 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3581 within condition-case.
3582 (rmail-show-mime): Don't use condition-case.
3583 (rmail-search-mime-message): New function.
3584 (rmail-search-mime-message-function): Set to
3585 rmail-search-mime-message.
3587 2010-12-13 Leo <sdl.web@gmail.com>
3589 * ido.el (ido-common-initialization): New function. (bug#3274)
3591 (ido-completing-read): Call it.
3593 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3595 * bookmark.el (bookmark-name-from-full-record): Rename back to
3596 this original name from `bookmark-name-from-record' reverting part
3597 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3598 As Drew Adams pointed out, there was no reason to cause churn for
3599 third-party callers. (Bug#7609)
3601 2010-12-12 Alan Mackenzie <acm@muc.de>
3603 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3604 template arglist, check that the current language supports this.
3606 2010-12-11 Glenn Morris <rgm@gnu.org>
3608 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3609 state of the file matches. (Bug#7544)
3610 (vc-bzr-register, vc-bzr-checkin)
3611 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3612 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3614 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3616 2010-12-11 Karel Klíč <kklic@redhat.com>
3618 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3620 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3622 Derive from prog-mode, use derived-mode-p, and fix up various
3623 minor style issues in lisp/progmodes.
3625 * progmodes/vhdl-mode.el (vhdl-mode):
3626 * progmodes/verilog-mode.el (verilog-mode):
3627 * progmodes/vera-mode.el (vera-mode):
3628 * progmodes/sql.el (sql-mode):
3629 * progmodes/scheme.el (scheme-mode):
3630 * progmodes/perl-mode.el (perl-mode):
3631 * progmodes/octave-inf.el (inferior-octave-mode):
3632 * progmodes/autoconf.el (autoconf-mode):
3633 * progmodes/m4-mode.el (m4-mode):
3634 * progmodes/inf-lisp.el (inferior-lisp-mode):
3635 * progmodes/idlwave.el (idlwave-mode):
3636 * progmodes/icon.el (icon-mode):
3637 * progmodes/idlw-help.el (idlwave-help-mode):
3638 * progmodes/dcl-mode.el (dcl-mode):
3639 * progmodes/idlw-shell.el (idlwave-shell-mode):
3640 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3641 (ebrowse-member-mode, ebrowse-electric-position-mode):
3642 Use define-derived-mode.
3644 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3645 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3646 (xscheme-debugger-mode-p, xscheme-send-string-1):
3647 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3648 (tcl-load-file, tcl-restart-with-file):
3649 * progmodes/ps-mode.el (ps-run-running):
3650 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3651 * progmodes/js.el (js--get-all-known-symbols):
3652 * progmodes/inf-lisp.el (inferior-lisp-proc):
3653 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3654 (idlwave-template, idlwave-update-buffer-routine-info)
3655 (idlwave-update-current-buffer-info)
3656 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3657 (idlwave-scan-class-info, idlwave-fix-keywords)
3658 (idlwave-list-buffer-load-path-shadows):
3659 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3660 (idlwave-toolbar-remove):
3661 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3662 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3663 (idlwave-shell-menu-def):
3664 * progmodes/idlw-complete-structtag.el
3665 (idlwave-prepare-structure-tag-completion):
3666 * progmodes/gud.el (gud-set-buffer):
3667 * progmodes/f90.el (f90-backslash-not-special):
3668 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3670 * progmodes/xscheme.el (xscheme-start)
3671 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3672 * progmodes/which-func.el (which-function):
3673 * progmodes/vhdl-mode.el (vhdl-set-style):
3674 * progmodes/verilog-mode.el (verilog-set-compile-command)
3675 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3676 (verilog-set-define, verilog-auto-reeval-locals):
3677 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3678 * progmodes/simula.el (simula-mode):
3679 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3680 * progmodes/python.el (python-check, python-mode):
3681 * progmodes/prolog.el (prolog-mode-variables):
3682 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3683 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3684 * progmodes/delphi.el (delphi-mode):
3685 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3686 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3687 (c-font-lock-init): Move make-local-variable to their setq.
3689 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3690 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3692 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3693 (sh-set-shell): Don't set require-final-newline since it's already done
3695 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3696 since we never set it.
3697 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3698 Use read-string and standard prompt.
3699 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3700 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3701 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3702 (meta-common-mode-map): Rename from meta-mode-map.
3703 Remove C-m binding, which is a user preference, not mode specific.
3704 (meta-common-mode): New major mode; replace meta-common-initialization.
3705 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3706 around with font-lock.
3707 * progmodes/etags.el (select-tags-table-mode):
3708 Derive from special-mode.
3709 * progmodes/octave-mod.el (octave-mode):
3710 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3711 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3712 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3713 Let define-derived-mode do its job.
3714 * progmodes/cpp.el (cpp-edit-mode-map):
3715 Move initialization into declaration.
3716 (cpp-edit-mode): Use define-derived-mode.
3717 (cpp-edit-load): Use derived-mode-p.
3718 * progmodes/mixal-mode.el (mixal-mode):
3719 * progmodes/f90.el (f90-mode):
3720 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3721 require-final-newline since prog-mode does it already.
3722 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3723 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3724 * progmodes/antlr-mode.el: Require cc-mode upfront.
3725 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3727 (antlr-directory-dependencies, antlr-show-makefile-rules):
3729 (antlr-language-option): Don't assume point-min==1.
3730 (antlr-mode): Use define-derived-mode.
3731 * progmodes/ada-mode.el: Use derived-mode-p.
3732 (ada-mode): Use define-derived-mode.
3733 Use hack-local-variables-hook.
3735 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3737 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3738 (texinfo-mode): Don't disable adaptive-fill-mode.
3739 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3740 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3741 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3742 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3743 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3744 (texinfo-insert-@quotation, texinfo-insert-@samp)
3745 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3746 (texinfo-insert-@uref): Use define-skeleton.
3747 (texinfo-insert-@-with-arg): Delete.
3749 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3751 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3752 nil, do quote archive member names. (Bug#6144)
3754 2010-12-10 Glenn Morris <rgm@gnu.org>
3756 * files.el (diff-no-select): Declare.
3758 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3759 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3761 * comint.el (comint-input-ring-file-name): Doc fix.
3763 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3765 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3767 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3768 Use them instead of `nil' and `>', respectively.
3769 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3771 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3772 and menu-bar-positive-p instead of `nil' and `>', respectively.
3775 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3777 * whitespace.el (whitespace-newline-mode): Code fix.
3779 2010-12-09 Glenn Morris <rgm@gnu.org>
3781 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3782 Rename functions without commas, update callers.
3784 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3786 * whitespace.el (whitespace-cleanup-region):
3787 Clean up spaces before tabs. (Bug#7582)
3789 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3791 * bookmark.el: Adjust parameter names and doc strings to resolve
3792 confusion over whether "bookmark" meant a bookmark name or a
3793 bookmark record. Along the way, shorten one function's name for
3794 similar reasons. (Issue #7548)
3795 (bookmark-name-from-record): New name for
3796 `bookmark-name-from-full-record'. All callers changed.
3797 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3798 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3799 (bookmark-get-annotation, bookmark-set-annotation)
3800 (bookmark-get-filename, bookmark-set-filename)
3801 (bookmark-get-position, bookmark-set-position)
3802 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3803 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3804 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3805 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3806 Rename `bookmark' parameter to `bookmark-name-or-record', to
3807 clearly show its role, and shorten or adjust doc strings accordingly.
3808 (bookmark-set-name): Same, and pass the parameter directly to
3809 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3810 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3811 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3812 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3813 and in some cases shorten doc string accordingly.
3814 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3815 and `new-name', and adjust an internal variable to avoid confusion.
3816 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3817 parameter in doc string.
3819 2010-12-08 Glenn Morris <rgm@gnu.org>
3821 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3822 from gdb's history file. (Bug#7575)
3824 * mail/emacsbug.el (report-emacs-bug):
3825 Try to handle some other mail clients.
3827 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3830 Use string-prefix-p.
3831 (file-name-version-regexp): New var.
3832 (file-name-sans-versions):
3833 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3834 (jka-compr-get-compression-info): Use dolist.
3835 (jka-compr-compression-info-list): Don't bother specifying
3836 version/backup regexps.
3838 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3840 * simple.el (just-one-space): Make argument n default to 1 if
3843 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * electric.el (electric-indent-post-self-insert-function):
3846 Delete trailing newlines even if we don't reindent.
3848 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3850 * minibuffer.el (completion-at-point): Remove the `arg'.
3851 * bindings.el (complete-symbol): Move back from minibuffer.el.
3853 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3855 * simple.el (just-one-space): Delete newlines for negative arg.
3857 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3860 (ansi-color-filter-apply): Simplify.
3861 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3863 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3865 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3867 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3869 * dired.el (dired-use-ls-dired): Set default to a special
3870 "unspecified" value.
3871 (dired-insert-directory): When called the first time, check
3872 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3874 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3876 * replace.el: Add "collect" feature to occur.
3877 (occur-collect-regexp-history): New var.
3878 (occur-read-primary-args): Return a replace string for nlines,
3880 (occur): Extend the meaning of nlines.
3882 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3885 (which-func-update-1): Distinguish symbols from strings.
3886 (which-function): Stay within 80 columns.
3888 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3892 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3894 (comment-style): Use comment-styles's docs to describe values.
3896 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3898 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3899 and ns-show-prefs (Bug#7535).
3901 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3902 bindings (Bug#7535).
3904 2010-12-03 Glenn Morris <rgm@gnu.org>
3906 * nxml/nxml-mode.el: Require rng-nxml.
3907 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3908 Remove declarations.
3910 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3911 * nxml/rng-nxml.el, nxml/rng-valid.el:
3912 Remove leading `*' from defcustom docs.
3914 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3915 (normal-top-level-add-to-load-path, tty-handle-args):
3916 Convert comments to basic doc-strings.
3918 * net/browse-url.el (browse-url-url-at-point)
3919 (browse-url-default-browser): Remove autoload cookies.
3921 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3922 Remove more undefined cl functions.
3924 * vc/diff.el (diff-sentinel): Make new arguments optional.
3925 * ibuf-ext.el (diff-sentinel): Update declaration.
3927 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3929 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3930 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3931 (epg-context-set-passphrase-callback): Mention that the callback
3932 is not called when used with GnuPG 2.x.
3934 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3936 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3937 (tramp-file-name-port): Check also for `tramp-default-port'.
3938 (tramp-get-connection-name): New defun.
3939 (tramp-get-connection-process): Use it.
3940 (tramp-debug-message): Extend function exclude list.
3941 (tramp-drop-volume-letter): Fix doc string.
3943 * net/tramp-cmds.el: Remove solved todo item.
3946 * net/tramp-gvfs.el:
3948 * net/tramp-imap.el:
3949 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3950 and `tramp-default-user-alist', respectively.
3952 * net/tramp-gw.el (tramp-gw-open-connection):
3953 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3955 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3956 `tramp-file-name-port'.
3958 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3959 and "psftp". Exchange "%k" marker with options.
3960 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3961 Compute size of link target.
3962 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3963 `tramp-current-*' up due to gateway methods. Optimize computing of
3964 copy arguments. Use `tramp-get-connection-name' and
3965 `tramp-get-connection-buffer'. Improve debug messages.
3966 (tramp-compute-multi-hops): Remove port determination.
3967 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3969 * net/trampver.el: Update release number.
3971 2010-12-02 Glenn Morris <rgm@gnu.org>
3973 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3974 Avoid infinite loop over windows. (Bug#7492)
3976 * progmodes/flymake.el (flymake-check-file-limit):
3977 Allow nil to mean "no limit".
3978 (flymake-check-patch-master-file-buffer): Update for above change.
3979 Allow a .tex file-name extension to be optional.
3980 (flymake-master-tex-init): Also match \include statements.
3982 2010-11-30 Sam Steingold <sds@gnu.org>
3984 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3985 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3986 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3987 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3988 define-derived-mode').
3989 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3990 users who want to call `nxml-parent-document-set'.
3992 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3994 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3995 stand-alone lines, since that is handled by log-edit-match-to-eoh
3998 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4000 * dired.el (dired-get-filename): Replace backslashes with slashes
4001 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4002 * locate.el (locate-default-make-command-line): Don't consider
4003 drive letter and root directory part of
4004 `directory-listing-before-filename-regexp'. (Bug#7308)
4005 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4007 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4010 of :smie-open/close-alist.
4011 (smie-next-sexp): Make it accept a "start token" as argument.
4012 (smie-indent-keyword): Be careful not to misidentify tokens that span
4013 more than one line, as empty lines. Add argument `token'.
4015 2010-11-27 Kenichi Handa <handa@m17n.org>
4017 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4018 multipart subtypes, insert all as usual.
4020 * mail/rmail.el: Require rfc2047.
4022 2010-11-27 Kenichi Handa <handa@m17n.org>
4024 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4025 (rmail-mime-entity-disposition)
4026 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4027 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4028 (rmail-mime-save): Handle the case that the button's `data' is a
4030 (rmail-mime-insert-text): New function.
4031 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4032 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4033 (rmail-mime-insert-bulk): New function mostly copied from the old
4034 rmail-mime-bulk-handler.
4035 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4036 (rmail-mime-process-multipart): New function mostly copied from
4037 the old rmail-mime-multipart-handler.
4038 (rmail-mime-show): Just call rmail-mime-process.
4039 (rmail-mime-process): New function mostly copied from the old
4041 (rmail-mime-insert-multipart, rmail-mime-parse)
4042 (rmail-mime-insert, rmail-show-mime)
4043 (rmail-insert-mime-forwarded-message)
4044 (rmail-insert-mime-resent-message): New functions.
4045 (rmail-insert-mime-forwarded-message-function): Set to
4046 rmail-insert-mime-forwarded-message.
4047 (rmail-insert-mime-resent-message-function): Set to
4048 rmail-insert-mime-resent-message.
4050 * mail/rmailsum.el: Require rfc2047.
4051 (rmail-header-summary): Handle multiline Subject: field.
4052 (rmail-summary-line-decoder): Change the default to
4053 rfc2047-decode-string.
4055 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4056 (rmail-mime-feature): Change the default to `rmailmm'.
4057 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4058 (rmail-display-labels): Likewise.
4059 (rmail-show-message-1): Check rmail-enable-mime, and use
4060 rmail-show-mime-function for a MIME message. Decode the headers
4061 according to RFC2047.
4063 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4065 * progmodes/which-func.el (which-func-imenu-joiner-function):
4066 Return a string, as expected.
4067 (which-function-mode): Make sure we stop any previous timer before
4070 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4072 * net/tramp.el (tramp-default-method-alist)
4073 (tramp-default-user-alist, tramp-default-proxies-alist):
4074 Adapt custom options type. (Bug#7445)
4076 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4078 * progmodes/python.el: Add Ipython support (Bug#5390).
4079 (python-shell-prompt-alist)
4080 (python-shell-continuation-prompt-alist): New options.
4081 (python--set-prompt-regexp): New function.
4082 (inferior-python-mode, run-python, python-shell):
4083 Require ansi-color. Use python--set-prompt-regexp to set the comint
4084 prompt based on the Python interpreter.
4085 (python--prompt-regexp): New var.
4086 (python-check-comint-prompt)
4087 (python-comint-output-filter-function): Use it.
4088 (run-python): Use a pipe (Bug#5694).
4090 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4092 * progmodes/python.el (run-python): Doc fix.
4093 (python-keep-current-directory-in-path): New var (Bug#7454).
4095 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4097 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4098 Prompt user before actually printing.
4100 2010-11-27 Glenn Morris <rgm@gnu.org>
4102 * startup.el (package-enable-at-startup, package-initialize):
4103 Remove unnecessary declarations.
4105 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4107 * international/characters.el (glyphless-char-display-control):
4108 Exclude newline and TAB from the c0-control group.
4110 2010-11-27 Glenn Morris <rgm@gnu.org>
4112 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4113 (expand-mail-aliases): Remove unnecessary autoload.
4115 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4117 * shell.el (shell-dir-cookie-re): Move definition before use.
4119 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4120 Replace undefined CL functions.
4122 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4124 * simple.el (prog-mode): Set bidi-paragraph-direction to
4127 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4129 2010-11-26 Glenn Morris <rgm@gnu.org>
4131 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4132 diary-outlook-formats can be sensitive to calendar-date-style.
4133 (diary-outlook-formats): Simplify the default setting.
4134 (diary-from-outlook-internal): Pass subject and body as arguments.
4135 Use dolist rather than dotimes. Don't save the diary buffer.
4136 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4137 Pass subject and body as explicit arguments to the -internal function.
4139 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4141 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4142 parsing them. This makes mailto:...?subject=foo\nbar work.
4144 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4146 * vc/diff.el (diff): Fix last change.
4148 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4150 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4151 (pcase--dontcare-upats): New var.
4152 (pcase-let, pcase-let*): Generate better code.
4153 Accept the same bodies as `let'.
4154 (pcase-dolist): New macro.
4155 (pcase--trivial-upat-p): New helper function.
4156 (pcase--expand): Strip leading "(let nil" if any.
4158 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4160 * mail/mailclient.el (browse-url): Require.
4161 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4162 use the external browser function to send the mail (bug#7469).
4164 * net/browse-url.el (browse-url-browser-function): Revert the
4165 default back to the previous value, since the new value broke
4167 (browse-url-mailto-function): New variable for mailto: URLs.
4168 (browse-url): Use the new variable for mailto: URLs.
4170 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * eshell/esh-cmd.el (eshell-parse-command):
4173 * eshell/esh-arg.el (eshell-parse-arguments):
4174 * eshell/em-script.el (eshell-source-file):
4175 Use with-silent-modifications.
4177 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4179 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4180 for a merge location.
4182 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4183 (vc-bzr-merge-branch): Always prompt.
4184 (vc-bzr-async-command): Use the full branch filename.
4186 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4188 * shell.el (shell): Use current-buffer by default if it's already
4189 a shell mode buffer and its process is dead.
4190 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4192 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4194 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4195 Mention that the keywords should be comma separated.
4197 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4199 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4200 Accept optional prefix arg meaning to prompt for a command.
4201 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4202 prefix arg meaning to prompt for a command.
4203 (vc-pull): Alias for vc-update.
4205 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4206 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4207 (vc-bzr-merge-branch): New functions, implementing merge-branch
4208 and pull operations.
4210 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * Makefile.in: Fix up last merge.
4214 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4215 (diff-sentinel): Get them as arguments instead.
4216 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4217 (diff-file-local-copy, diff-better-file-name): New funs.
4218 (diff-no-select): Rename from diff-into-buffer.
4219 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4220 Prefer closures to buffer-local variables.
4221 (diff): Adjust accordingly.
4222 (diff-buffer-with-file): Move from files.el.
4223 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4224 (diff-buffer-internal): Remove.
4225 (diff-buffer-buffer): Remove.
4226 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4227 the buffer name used, and so as not to mess up windows and frames.
4229 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4231 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4232 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4233 (diff-buffer-with-file): Use it.
4234 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4237 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4239 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4240 \ref's or \pageref's value as default instead of initial input.
4242 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4244 * files.el (backup-by-copying-when-mismatch): The default value is
4247 * startup.el (normal-top-level):
4248 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4249 `backup-by-copying-when-mismatch'.
4251 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4253 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4255 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4257 * progmodes/python.el (python-font-lock-keywords):
4258 Highlight top-level augmented assignments (Bug#6445).
4260 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4262 * term/ns-win.el (ns-right-control-modifier)
4263 (ns-right-command-modifier): Defvar them.
4265 * cus-start.el (all): Add ns-right-control-modifier and
4266 ns-right-command-modifier (Bug#7458).
4268 2010-11-20 Glenn Morris <rgm@gnu.org>
4270 * emacs-lisp/authors.el (authors-ignored-files)
4271 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4273 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4275 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4276 (report-emacs-bug-parse-query-results)
4277 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4278 keywords used for querying the bug database to show them in the
4279 existing bugs buffer.
4281 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4283 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4285 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4287 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4289 * international/characters.el (glyphless-char-display-control):
4290 Make it a defcustom, with update-glyphless-char-display as its
4292 (top level): Don't call update-glyphless-char-display.
4294 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4296 Sync with Tramp 2.2.0.
4298 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4299 `file-remote-p' (due to compatibility).
4301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4302 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4304 * net/trampver.el: Update release number.
4306 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4308 * faces.el (glyphless-char): Define value for `pc'.
4310 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4312 Implemented a bug querying mechanism.
4313 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4314 (report-emacs-bug-create-existing-bugs-buffer)
4315 (report-emacs-bug-parse-query-results)
4316 (report-emacs-bug-query-existing-bugs): New functions.
4318 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4320 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4321 a \ref{} or \pageref{} macro, then use its value as initial input.
4323 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4325 * calc/calc-units.el (math-build-units-table-buffer):
4326 calc/README: Mention that the TeX specific units won't use the
4327 `tex' prefix in TeX mode.
4328 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4329 prefix for units in TeX mode.
4331 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4333 * simple.el (kill-new, kill-append, kill-region):
4334 * comint.el (comint-kill-region): Make the yank-handler argument
4337 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4339 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4340 that are both openers (resp. closers) and something else.
4341 (smie-grammar): Loosen definition of valid values.
4342 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4343 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4344 (smie-indent-after-keyword): Adjust users.
4345 (smie-indent-keyword): Don't indent empty lines.
4347 * vc-hg.el (vc-hg-program): New var.
4348 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4349 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4351 2010-11-18 Glenn Morris <rgm@gnu.org>
4353 * emacs-lisp/autoload.el (autoload-find-destination): The function
4354 coding-system-eol-type may return non-numeric values. (Bug#7414)
4356 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4358 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4360 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4362 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4364 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4366 * textmodes/picture.el (picture-mouse-set-point): Don't use
4367 posn-col-row; explicitly compute the motion based on the posn at
4368 the window-start (Bug#7390).
4370 2010-11-18 Glenn Morris <rgm@gnu.org>
4372 * novice.el (disabled-command-function):
4373 Fix 2009-11-15 change. (Bug#7384)
4375 2010-11-18 Glenn Morris <rgm@gnu.org>
4377 * calendar/calendar.el (diary-iso-date-forms): Make elements
4378 mutually exclusive. (Bug#7377)
4380 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4383 when filling the remaining "unconstrained" values.
4385 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4390 * files.el (safe-local-variable-p): Gracefully handle errors.
4392 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4393 Use smie-indent-virtual when indenting relative to an opener.
4394 (smie-rule-separator): Use smie-rule-parent.
4395 (smie-indent-keyword): Consult rules, even for openers at bol.
4396 (smie-indent-comment-close): Try to align closer's content.
4398 2010-11-18 Glenn Morris <rgm@gnu.org>
4400 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4402 2010-11-18 Glenn Morris <rgm@gnu.org>
4404 * printing.el (pr-menu-bind): Doc fix.
4406 * speedbar.el (speedbar-toggle-images): Doc fix.
4408 * progmodes/python.el (python-shell): Doc fix.
4410 * wid-edit.el (widget-field-use-before-change)
4411 (widget-use-overlay-change): Doc fixes.
4413 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4415 Minor cleanup to improve style.
4416 * textmodes/rst.el (rst-update-section): Use point-marker.
4417 (rst-get-decoration): Eliminate unneeded assignment.
4418 (rst-promote-region, rst-straighten-decorations)
4419 (rst-section-tree, rst-adjust): Use point-marker.
4420 (rst-toc-mode-mouse-goto): Avoid setq.
4421 (rst-shift-region-guts, rst-shift-region-left)
4422 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4423 (rst-convert-bullets-to-enumeration): Use copy-marker.
4425 * minibuffer.el (completion-fail-discreetly): New var.
4426 (completion--do-completion): Use it.
4428 * electric.el (electric-pair-pairs): New var.
4429 (electric-pair-post-self-insert-function): Use it.
4430 (electric-layout-post-self-insert-function): Don't insert a before
4431 newline unless it's actually needed.
4433 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * progmodes/python.el (run-python): Explain why we remove the current
4436 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4438 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4440 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4443 (octave-mode-map): Don't bind ;, SPC, and LF.
4444 (octave-auto-indent, octave-auto-newline): Remove.
4445 (electric-layout-rules): Declare.
4446 (octave-mode): Set electric-layout-rules.
4447 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4448 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4449 (octave-electric-space): Remove.
4451 * electric.el (electric-layout-mode): New minor mode.
4452 (electric--after-char-pos): New function.
4453 (electric-indent-post-self-insert-function): Use it.
4454 (electric-layout-rules): New var.
4455 (electric-layout-post-self-insert-function): New function.
4456 (electric-indent-mode): Make them interact better.
4458 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4460 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4461 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4462 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4464 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4466 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4467 Make sure to check inside the word (Bug#6761).
4469 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4471 * startup.el (command-line): If the cursorColor resource is set,
4472 change the cursor face-spec (Bug#7392).
4474 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4476 The main features of the following allout.el changes are:
4477 - implement user customization for the allout key bindings
4478 - add a customization control by which the user can inhibit use of
4479 a trailing Ctrl-H, so by default it's reserved for use with
4480 describe-prefix-bindings
4481 - adapt to new version of called-interactively-p, while
4482 maintaining backwards compatibility with old version
4483 - fix hotspot navigation so i works properly with meta-modified keys.
4485 * allout.el (allout-keybindings, allout-bind-keys)
4486 (allout-keybindings-binding, allout-prefixed-keybindings)
4487 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4488 (allout-keybindings-list, allout-mode-map-adjustments)
4489 (allout-setup-mode-map): Establish allout-mode keymaps as user
4490 customizable settings, and also establish a customizable setting which
4491 regulates whether or not a trailing control-h is reserved for use with
4492 describe-prefix-bindings - and inhibit it by default, so that control-h
4493 *is* reserved for describe-prefix-bindings unless the user changes it.
4495 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4496 and accurately between modified and unmodified events, and handle
4497 modified events more comprehensively.
4499 * allout.el (allout-substring-no-properties):
4500 Alias to use or provide version of `substring-no-properties'.
4501 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4503 * allout.el (allout-next-single-char-property-change):
4504 Alias to use or provide version of `next-single-char-property-change'.
4505 (allout-annotate-hidden, allout-hide-by-annotation):
4506 Use `allout-next-single-char-property-change'.
4508 * allout.el (allout-select-safe-coding-system):
4509 Alias to use or provide version of `select-safe-coding-system'.
4510 (allout-toggle-subtree-encryption):
4511 Use `allout-select-safe-coding-system'.
4513 * allout.el (allout-set-buffer-multibyte):
4514 Alias to use or provide version of `set-buffer-multibyte'.
4515 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4517 * allout.el (allout-called-interactively-p): Macro for using the
4518 different versions of called-interactively-p identically, depending on
4519 the subroutine's argument signature.
4520 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4521 Use `(interactive "p")' instead of `(called-interactively-p)'.
4523 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4524 (allout-previous-visible-heading, allout-forward-current-level)
4525 (allout-backward-current-level, allout-show-children):
4526 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4528 * allout.el (allout-before-change-handler):
4529 Exempt edits to the (overlaid) character after the allout outline
4530 bullet from edit confirmation prompt.
4532 * allout.el (allout-add-resumptions):
4533 Ensure that it respects correct buffer for keybindings.
4535 * allout.el (allout-beginning-of-line):
4536 Use `allout-previous-single-char-property-change' alias for the sake of
4537 diverse compatibility.
4539 * allout.el (allout-end-of-line):
4540 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4542 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4544 * frame.el (frame-notice-user-settings): Don't clobber other
4545 user-set parameters when calling face-set-after-frame-default in
4546 response to background-color parameter (Bug#7373).
4548 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4550 * international/characters.el (glyphless-char-display-control):
4551 Rename from glyphless-char-control; all users changed. Doc fix.
4552 Signal an error if display method is not one of the recognized
4555 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4557 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4558 (tramp-compat-line-end-position): Remove them.
4560 * net/tramp.el (tramp-parse-rhosts-group)
4561 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4562 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4563 (tramp-parse-netrc-group, tramp-parse-putty-group)
4564 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4565 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4566 (tramp-sh-handle-file-selinux-context)
4567 (tramp-sh-handle-file-name-all-completions)
4568 (tramp-sh-handle-insert-directory)
4569 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4570 (tramp-wait-for-output, tramp-send-command-and-read)
4571 * net/tramp-smb.el (tramp-smb-read-file-entry)
4572 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4574 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4576 (tramp-remote-coding-commands): Add an alternative using "base64
4577 -d -i". This is needed for older base64 versions from GNU
4578 coreutils. Reported by Klaus Reichl
4579 <Klaus.Reichl@thalesgroup.com>.
4581 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4583 * simple.el (count-words-region): New function.
4585 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * shell.el (shell-dir-cookie-re): New custom variable.
4588 (shell-dir-cookie-watcher): New function.
4590 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4591 and compilation-mode (bug#7350).
4593 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4594 highlight when one of them is empty.
4596 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4598 (skeleton-newline): New function.
4599 (skeleton-internal-1): Use it.
4601 * simple.el (open-line): `newline' may strip trailing space.
4603 2010-11-12 Kevin Ryde <user42@zip.com.au>
4605 * international/mule-cmds.el (princ-list): Use mapc.
4607 2010-11-12 Glenn Morris <rgm@gnu.org>
4609 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4610 Use it to replace all instances of "*Compile-Log*".
4612 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4617 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * progmodes/modula2.el: Use SMIE and skeleton.
4620 (m2-mode-syntax-table): (*..*) can be nested.
4621 Add //...\n. Fix paren syntax.
4622 (m2-mode-map): Remove LF and TAB bindings.
4623 (m2-indent): Add safety property.
4624 (m2-smie-grammar): New var.
4625 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4626 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4627 (m2-mode): Use define-derived-mode.
4628 (m2-newline, m2-tab): Remove.
4629 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4630 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4631 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4632 (m2-import): Use define-skeleton.
4634 2010-11-11 Glenn Morris <rgm@gnu.org>
4636 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4638 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4639 (ls-lisp-verbosity): Add custom :set-after property.
4640 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4641 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4642 (ls-lisp-insert-directory): Update caller.
4643 (ls-lisp-set-options): New function.
4644 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4647 * play/landmark.el (lm-prompt-for-move):
4648 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4650 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4652 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4653 (idlwave-study-twins): Prefix dynamic local variable `name'.
4654 (idlwave-routine-twin-compare): Update for above change.
4656 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4657 Prefix dynamic local variables `name', `kwd', and `link'.
4658 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4659 * progmodes/idlw-complete-structtag.el
4660 (idlwave-complete-structure-tag-help):
4661 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4662 (idlwave-complete-sysvar-tag-help)
4663 (idlwave-complete-class-structure-tag-help):
4664 Update for above name changes.
4666 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4668 * net/browse-url.el (browse-url-browser-function): Change the
4669 default to use `browse-url-mail' on mailto: URLs.
4671 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4673 * emacs-lisp/package.el (package-read-all-archive-contents):
4674 Reset package-archive-contents to nil before re-reading.
4676 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4678 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4679 already found as misspellings by (flyspell-large-region), just
4680 do highlighting (bug#7322).
4682 2010-11-10 Glenn Morris <rgm@gnu.org>
4684 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4686 * emulation/edt.el (edt-with-position): New macro.
4687 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4688 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4689 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4691 * emulation/tpu-extras.el (tpu-with-position): New macro.
4692 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4694 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4696 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4697 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4698 (texinfo-master-menu, texinfo-insert-node-lines)
4699 (texinfo-multiple-files-update):
4700 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4701 Use line-beginning-position.
4703 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4704 No recent Emacs supports system-type `emx'.
4706 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4707 (ada-command-separator, ada-default-prj-properties)
4708 (ada-find-any-references): Update for above name change.
4710 * dirtrack.el (dirtrack-directory-function)
4711 (dirtrack-canonicalize-function):
4712 * filecache.el (file-cache-completion-ignore-case)
4713 (file-cache-case-fold-search, file-cache-ignore-case):
4714 * term.el (serial-port-is-file-p): Cosmetic change.
4716 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4717 Remove non-existent `windows-95' system-type.
4718 * dired.el (dired-chown-program): Remove non-existent `linux'
4721 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4722 (ping-program-options): Remove non-existent `linux' system-type.
4724 * startup.el (package-initialize): Update declaration.
4726 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4727 (ls-lisp-handle-switches): Use time-less-p.
4728 (ls-lisp-format-time): Use float-time.
4730 * textmodes/remember.el (remember-time-to-seconds): Remove.
4731 (remember-store-in-mailbox): Use float-time.
4733 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4735 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4736 never a real function.
4737 (with-no-warnings): Remove compat stub, now unused.
4738 (time-less-p): Doc fix.
4739 (time-to-number-of-days): Simplify.
4741 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4743 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4744 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4745 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4746 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4747 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4749 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4750 (eshell-shuffle-files, eshell-shorthand-tar-command)
4751 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4752 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4753 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4754 Prefix dynamic local variable `matches'.
4756 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4757 Prefix dynamic local variable `skeleton'.
4759 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4761 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4762 in mail buffer; make yank-action always a command that yanks original
4765 2010-11-09 Glenn Morris <rgm@gnu.org>
4767 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4769 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4771 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4772 completion field (bug#7211).
4774 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4775 Fix handling of backslash escapes.
4776 (python-quote-syntax): Adjust accordingly.
4778 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4780 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4781 (vc-mtn-workfile-branch): Adjust to new output format.
4783 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4785 * international/mule-cmds.el (princ-list): Mark as obsolete.
4787 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4789 * emacs-lisp/smie.el: New package.
4791 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4793 * files.el (backup-by-copying-when-mismatch):
4794 Set `permanent-local' property.
4796 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4797 `permanent-local' property for `backup-by-copying-when-mismatch'.
4799 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4801 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4803 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4805 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4806 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4807 AUTOINOUT for SV style multidimensional arrays, bug294.
4808 Reported by Eric Mastromarchi.
4809 (verilog-preprocess): Use with-current-buffer and
4810 font-lock-fontify-buffer to cleanup style issues.
4812 2010-11-09 Glenn Morris <rgm@gnu.org>
4814 * locate.el (locate, locate-mode): Doc fixes.
4816 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4818 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4819 user for confirmation.
4820 (server-force-stop): Use it.
4821 (server-start): Use server-force-stop for kill-emacs-hook, to
4822 avoid user interaction while killing Emacs.
4824 2010-11-09 Glenn Morris <rgm@gnu.org>
4826 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4827 (meta-indent-line): Simplify.
4829 * vc/emerge.el (emerge-line-number-in-buf):
4830 * textmodes/ispell.el (ispell-region):
4831 * textmodes/fill.el (current-fill-column):
4832 * progmodes/xscheme.el (xscheme-send-current-line):
4833 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4834 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4835 * progmodes/sh-script.el (sh-handle-prev-do):
4836 * progmodes/meta-mode.el (meta-indent-line):
4837 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4839 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4840 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4841 * progmodes/fortran.el (fortran-looking-at-if-then):
4842 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4843 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4844 (cperl-find-pods-heres):
4845 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4846 * net/quickurl.el (quickurl-list-insert):
4847 * net/ldap.el (ldap-search-internal):
4848 * net/eudc.el (eudc-expand-inline):
4849 * mail/sendmail.el (sendmail-send-it):
4850 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4851 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4852 (viper-brac-function):
4853 * calc/calc-yank.el (calc-do-grab-region):
4854 * calc/calc-keypd.el (calc-keypad-press):
4855 * term.el (term-move-columns, term-insert-spaces):
4856 * speedbar.el (speedbar-highlight-one-tag-line):
4857 * simple.el (current-word):
4858 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4859 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4861 * hippie-exp.el (he-line-beg):
4862 * epa.el (epa--marked-keys):
4863 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4864 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4865 (dired-relist-entry):
4866 * buff-menu.el (Buffer-menu-buffer):
4867 * array.el (current-line):
4868 * allout.el (allout-resolve-xref)
4869 (allout-latex-verbatim-quote-curr-line):
4870 Replace yet more uses of end-of-line etc with line-end-position, etc.
4872 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4874 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4875 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4876 (checkdoc-syntax-table): Initialize in the declaration.
4877 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4878 the mode on unconditionally.
4880 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4881 (extent-end-position, extent-start-position): Remove setf method for
4882 non-existing functions (bug#7319).
4884 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4886 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4887 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4888 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4889 (smie-prec2->grammar): Rename from smie-prec2-levels.
4890 (smie-grammar): Rename from smie-op-levels.
4891 (smie-indent--hanging-p): Rename from smie-hanging-p.
4892 (smie-rule-hanging-p): New alias.
4893 (smie-indent--bolp): Rename from smie-bolp.
4894 (smie-indent--hanging-p): New alias.
4895 (smie--token): New dynamically bound variable.
4896 (smie-indent--parent): New function.
4897 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4898 (smie-rule-next-p): Rename from smie-next-p.
4899 (smie-rule-prev-p): Rename from smie-prev-p.
4900 (smie-rule-sibling-p, smie-rule-parent)
4901 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4902 (smie-rule-separator-outdent): New var.
4903 (smie-indent--rule): Merge with smie-indent--column.
4904 (smie-indent-forward-token, smie-indent-backward-token):
4905 Also recognize close parens.
4906 (smie-indent-keyword): Don't use smie-indent--column any more.
4907 (smie-indent-after-keyword): Ignore closers by default.
4908 (smie-indent-line): Use with-demoted-errors.
4909 * progmodes/octave-mod.el (octave-smie-grammar):
4910 Rename from octave-smie-op-levels.
4911 (octave-smie-rules): Adjust to new behavior.
4912 * progmodes/prolog.el (prolog-smie-grammar):
4913 Rename from prolog-smie-op-levels.
4915 2010-11-07 Glenn Morris <rgm@gnu.org>
4917 * eshell/esh-util.el (subst-char-in-string)
4918 (directory-files-and-attributes): These compatibility definitions are
4919 not needed on any version of Emacs since at least 21.4.
4921 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4922 (verilog-get-end-of-line): Remove.
4923 (verilog-within-string, verilog-re-search-forward-substr)
4924 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4925 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4926 Use point-at-bol, point-at-eol.
4927 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4929 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4930 (electric-pascal-terminate-line, pascal-set-auto-comments)
4931 (pascal-indent-paramlist, pascal-indent-declaration)
4932 (pascal-get-lineup-indent, pascal-func-completion)
4933 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4934 Use point-at-bol, point-at-eol.
4935 * progmodes/flymake.el (flymake-line-beginning-position)
4936 (flymake-line-end-position): Remove.
4937 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4938 * eshell/esh-util.el (line-end-position, line-beginning-position):
4939 Remove compat definitions.
4941 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4943 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4944 Use line-end-position.
4946 * emacs-lisp/chart.el (chart-zap-chars):
4947 * play/decipher.el (decipher-set-map):
4948 * progmodes/ada-mode.el (ada-get-current-indent)
4949 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4950 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4951 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4952 (ada-get-all-references):
4953 * progmodes/cperl-mode.el (cperl-electric-paren)
4954 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4955 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4956 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4957 (cperl-word-at-point-hard):
4958 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4959 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4960 (idlwave-shell-display-line):
4961 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4962 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4963 * progmodes/js.el (js--re-search-forward-inner)
4964 (js--re-search-backward-inner):
4965 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4966 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4967 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4968 * textmodes/flyspell.el (flyspell-process-localwords):
4969 * textmodes/ispell.el (ispell-buffer-local-parsing)
4970 (ispell-buffer-local-dict, ispell-buffer-local-words):
4971 Use point-at-bol and point-at-eol.
4973 * speedbar.el (speedbar-generic-item-info)
4974 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4975 (speedbar-add-indicator, speedbar-check-vc-this-line)
4976 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4977 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4978 Replace more uses of end-of-line etc with line-end-position.
4980 2010-11-06 Glenn Morris <rgm@gnu.org>
4982 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4983 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4984 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4985 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4986 (texinfo-multiple-files-update):
4987 * textmodes/table.el (table--probe-cell-left-up)
4988 (table--probe-cell-right-bottom):
4989 * textmodes/picture.el (picture-tab-search):
4990 * textmodes/page-ext.el (pages-copy-header-and-position)
4991 (pages-directory-for-addresses):
4992 * progmodes/vera-mode.el (vera-get-offset):
4993 * progmodes/simula.el (simula-calculate-indent):
4994 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4995 * progmodes/prolog.el (end-of-prolog-clause):
4996 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4997 * progmodes/icon.el (indent-icon-exp):
4998 * progmodes/etags.el (tag-re-match-p):
4999 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5000 * progmodes/ebnf2ps.el (ebnf-begin-file):
5001 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5002 (dcl-save-local-variable):
5003 * play/life.el (life-setup):
5004 * play/gametree.el (gametree-looking-at-ply):
5005 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5006 * mail/sendmail.el (mail-mode-auto-fill):
5007 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5008 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5009 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5010 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5011 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5012 * type-break.el (type-break-file-keystroke-count):
5013 * term.el (term-replace-by-expanded-history-before-point)
5014 (term-skip-prompt, term-extract-string):
5015 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5016 (speedbar-contract-line, speedbar-toggle-line-expansion)
5017 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5018 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5019 * sort.el (sort-skip-fields):
5020 * skeleton.el (skeleton-internal-list):
5021 * simple.el (line-move-finish, line-move-to-column):
5022 * shell.el (shell-forward-command):
5023 * misc.el (copy-from-above-command):
5024 * makesum.el (double-column):
5025 * ebuff-menu.el (electric-buffer-update-highlight):
5026 * dired.el (dired-move-to-end-of-filename):
5027 * dframe.el (dframe-popup-kludge):
5028 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5029 * arc-mode.el (archive-get-lineno):
5030 Use line-end-position and line-beginning-position.
5032 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5033 (idlwave-study-twins): Prefix dynamic local `class'.
5034 (idlwave-routine-twin-compare): Update for above name change.
5036 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5037 Use boundp tests to silence compiler. Update for changed name of
5038 bytecomp-filename variable.
5040 * emulation/viper-cmd.el (viper-read-string-with-history):
5041 Prefix dynamic local `initial'.
5042 (viper-minibuffer-standard-hook): Update for above name change.
5044 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5045 (elint-init-form): Update for above name change.
5047 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5048 local variables `cbeg' and `cend' a prefix.
5049 (mail-extr-voodoo): Update for above name change.
5051 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5052 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5053 (reftex-toc-promote-action): Doc fix.
5055 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5056 `prompt', `data' a prefix.
5057 (reftex-select-post-command-hook, reftex-select-callback)
5058 (reftex-select-mouse-accept, reftex-select-read-cite):
5059 Update for above name changes.
5061 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5062 `refstyle' to reftex-refstyle.
5063 (reftex-offer-label-menu): Update for above name change.
5064 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5065 `refstyle' name change.
5067 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5068 with with-current-buffer.
5069 (diff, template): Give dynamic local variables a prefix.
5070 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5071 (emerge-line-number-in-buf): Update for above name change.
5072 (emerge-combine-versions-internal): Rename local `template' to
5073 emerge-combine-template.
5074 (emerge-combine-versions-edit): Update for above name change.
5076 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5078 * textmodes/reftex-cite.el
5079 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5080 entries with whitespace after \bibitem.
5081 (reftex-create-bibtex-file): Match entries containing numbers and
5082 symbol constituents. Make sure that entries with whitespace at
5083 various places are found.
5085 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5087 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5089 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5091 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5093 2010-11-05 Glenn Morris <rgm@gnu.org>
5095 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5096 (woman2-roff-buffer): Give local variable `request' a prefix.
5097 (woman0-macro): Rename argument `request' in the same way.
5098 (woman-request): New name for `request' dynamic variable.
5099 (woman-unquote, woman-forward-arg): Update for above name change.
5100 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5101 (woman1-unquote): New name for `unquote' dynamic variable.
5102 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5103 (woman-translations): Rename from `translations'. No longer global.
5104 (woman2-tr, woman-translate): Update for above name change.
5105 (woman-translate): Check for bound variable.
5106 (woman2-roff-buffer): Give local variable `translations' a prefix.
5108 * play/doctor.el: Give all local variables a prefix. Update callers.
5109 (doc$, doctor-put-meaning): Use backquote.
5111 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5112 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5114 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5115 variables bytes, ptr, op a prefix.
5116 (disassemble-offset): Update for above change.
5118 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5120 * emacs-lisp/package.el (package-unpack): Remove no-op.
5121 (package--builtins, package--dir): Doc fix.
5122 (package-activate-1, package-activate, package-install)
5123 (package-compute-transaction): Fix error message.
5124 (package-delete): Use delete-directory. Omit system packages.
5125 (package-initialize): Set package-alist to nil first.
5126 (package-menu-mark-delete, package-menu-mark-install): Don't add
5127 symbols that are inconsistent with the package state.
5128 (package-menu-execute): Perform deletions and installations as
5129 single batch operations.
5131 2010-11-03 Glenn Morris <rgm@gnu.org>
5133 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5134 (props): Remove unnecessary declaration.
5136 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5137 set-process-query-on-exit-flag.
5139 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5140 (reftex-toc-do-promote): Remove unused local `mpos'.
5141 (reftex-toc-restore-region): Make `mpos' local to this function.
5143 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5145 * play/landmark.el (lm-losing-threshold): Correct spelling.
5146 (lm-human-plays): Use new name.
5148 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5149 (gomoku-human-plays): Use new name.
5151 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5152 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5153 (gomoku-score-trans-table, gomoku-winning-threshold)
5154 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5156 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5158 * emacs-lisp/package.el: Don't put built-in packages in
5159 package-alist, to avoid loading inefficiencies.
5160 (package-built-in-p): Make VERSION optional, and treat it as a
5161 minimum acceptable version.
5162 (package-activate): Search separately for built-in packages.
5163 Emit a warning if a dependency fails.
5164 (define-package): Handle most common case, where there is no
5165 obsolete package, first.
5166 (package-compute-transaction): Print required version in error.
5167 (package--initialized): New variable.
5168 (list-packages): Use it.
5169 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5170 built-in packages in packages-alist; keep it separate.
5171 Set package--initialized.
5172 (describe-package): Avoid activating packages as a side-effect.
5173 Search separately for built-in packages.
5174 (describe-package-1): Handle the case where an elpa package is
5175 simultaneously built-in and available/installed.
5176 (package-installed-p, package--generate-package-list):
5177 Search separately for built-in packages.
5178 (package-load-descriptor): Doc fix.
5180 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5182 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5183 Handle __DATA__ and __END__.
5185 2010-11-02 Noah Friedman <friedman@splode.com>
5187 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5188 nil, do not ask to recompile files that are not already compiled,
5189 and do not recompile them.
5191 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5193 * emacs-lisp/package.el (package-initialize): Ensure that
5194 obsoleted built-in packages are not in package-activated-list
5196 (describe-package-1): Make the "installed" status override
5199 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5201 * subr.el (version-separator, version-regexp-alist): Remove '*'
5203 (version-list-<=, version<=, version=): Doc fix.
5205 2010-11-01 Kenichi Handa <handa@m17n.org>
5207 * faces.el (glyphless-char): Inherit underline for tty.
5209 2010-11-01 Kenichi Handa <handa@m17n.org>
5211 Implement various display methods for glyphless characters.
5213 * international/characters.el (char-acronym-table): New variable.
5214 (glyphless-char-control): New variable.
5215 (update-glyphless-char-display): New function.
5217 * faces.el (glyphless-char): New face.
5219 2010-11-01 Glenn Morris <rgm@gnu.org>
5221 * calendar/holidays.el (general-holidays, oriental-holidays)
5222 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5223 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5224 the definitions of their targets.
5226 * emacs-lisp/smie.el (smie): New custom group.
5227 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5229 * faces.el (xw-defined-colors, x-setup-function-keys):
5230 * mouse-sel.el (x-select-text):
5231 * term/w32console.el (x-setup-function-keys): Update declarations.
5233 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5235 * textmodes/ispell.el (comment-add): Declare.
5237 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5240 * info.el (finder-keywords-hash, package-alist): Declare.
5242 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5244 * finder.el (finder-compile-keywords): Don't use intern-soft,
5245 since package names may not yet exist in the obarray.
5247 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5249 * vc/vc-arch.el (vc-arch-checkin):
5250 * vc/vc-cvs.el (vc-cvs-checkin):
5251 * vc/vc-mtn.el (vc-mtn-checkin):
5252 * vc/vc-rcs.el (vc-rcs-checkin):
5253 * vc/vc-sccs.el (vc-sccs-checkin):
5254 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5255 since 2010-04-21 commit by Stefan Monnier.
5257 2010-11-01 Glenn Morris <rgm@gnu.org>
5259 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5261 * startup.el (package-enable-at-startup, package-initialize):
5264 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5267 2010-10-31 Julien Danjou <julien@danjou.info>
5269 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5270 (byte-recompile-directory):
5271 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5272 Use `byte-recompile-file'.
5274 2010-10-31 Glenn Morris <rgm@gnu.org>
5276 * cus-start.el: Handle standard values via a keyword.
5277 Only set version property if specified.
5278 (cursor-in-non-selected-windows, menu-bar-mode)
5279 (tool-bar-mode, show-trailing-whitespace):
5280 Do not specify standard values.
5281 (transient-mark-mode, temporary-file-directory): Use :standard.
5283 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5285 * term/x-win.el (x-get-selection-value): New function that gets
5286 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5288 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5290 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5291 preserve owner and group when editing files. (Bug#7289)
5293 2010-10-31 Glenn Morris <rgm@gnu.org>
5295 * speedbar.el (speedbar-mode):
5296 * play/fortune.el (fortune-in-buffer, fortune):
5297 * play/gomoku.el (gomoku-mode):
5298 * play/landmark.el (lm-mode):
5299 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5300 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5302 * select.el (x-selection): Mark it as an obsolete alias.
5304 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5306 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5307 major-mode (bug#7284).
5309 2010-10-31 Glenn Morris <rgm@gnu.org>
5311 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5312 rather than just an unused variable that inherits from the real one.
5314 2010-10-31 Alan Mackenzie <acm@muc.de>
5316 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5317 This fixes bug #7185.
5319 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5321 * startup.el (command-line): Search for package directories, and
5322 don't load package.el if none are found.
5324 * emacs-lisp/package.el (describe-package, list-packages):
5325 Call package-initialize if it has not been called yet.
5327 2010-10-30 Alan Mackenzie <acm@muc.de>
5329 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5330 which fontifies the tail of an enum.
5331 (c-basic-matchers-after): Insert a call to the above new function.
5332 This fixes bug #7264.
5334 2010-10-30 Glenn Morris <rgm@gnu.org>
5336 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5337 tool-bar-mode, transient-mark-mode. (Bug#7306)
5338 Include the :set property in the dumped Emacs.
5340 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5342 SMIE: change indent rules format, improve smie-setup.
5343 * emacs-lisp/smie.el (smie-precs-precedence-table)
5344 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5345 Mark them pure so the tables gets built at compile time.
5346 (smie-bnf-precedence-table): Store the closer-alist in the table.
5347 (smie-prec2-levels): Preserve the closer-alist.
5348 (smie-blink-matching-open): Be more forgiving in case of indentation.
5349 (smie-hanging-p): Rename from smie-indent--hanging-p.
5350 (smie-bolp): Rename from smie-indent--bolp.
5351 (smie--parent, smie--after): New dynamic vars.
5352 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5353 (smie-indent-rules): Remove.
5354 (smie-indent--offset-rule): Remove fun.
5355 (smie-rules-function): New var.
5356 (smie-indent--rule): New fun.
5357 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5358 (smie-indent-exps): Use it.
5359 (smie-setup): Setup paren blinking; add keyword args for token
5360 functions; extract closer-alist from op-levels.
5361 (smie-indent-debug-log): Remove var.
5362 (smie-indent-debug): Remove fun.
5363 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5364 (prolog-smie-rules): New fun to replace it.
5365 (prolog-mode-variables): Simplify.
5366 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5367 it's setup automatically.
5368 (octave-smie-indent-rules): Remove.
5369 (octave-smie-rules): New fun to replace it.
5370 (octave-mode): Simplify.
5372 2010-10-29 Glenn Morris <rgm@gnu.org>
5374 * files.el (temporary-file-directory): Remove (already defined in C).
5375 * cus-start.el: Add temporary-file-directory.
5377 * abbrev.el (abbrev-mode):
5378 * composite.el (auto-composition-mode):
5379 * menu-bar.el (menu-bar-mode):
5380 * simple.el (transient-mark-mode):
5381 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5382 that they do not define the associated variables twice.
5383 * simple.el (transient-mark-mode): Remove defvar.
5384 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5385 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5386 Handle multiple groups, and also custom-delayed-init-variables.
5387 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5389 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5391 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5392 (pcase-if): Add one minor optimization.
5393 (pcase-split-equal): Rename from pcase-split-eq.
5394 (pcase-split-member): Rename from pcase-split-memq.
5395 (pcase-u1): Add strings to the member optimization.
5396 Add `guard' variant of predicates.
5397 (pcase-q1): Add string patterns.
5399 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5401 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5403 2010-10-28 Glenn Morris <rgm@gnu.org>
5405 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5406 Move menu-bar related settings to ../menu-bar.el.
5407 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5408 Move ns-specific settings here from term/ns-win.el.
5410 * simple.el (x-selection-owner-p): Remove unused declaration.
5412 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5414 * minibuffer.el (completion-cycling): New var (bug#7266).
5415 (minibuffer-complete, completion--do-completion):
5416 Use completion--flush-all-sorted-completions.
5417 (minibuffer-complete): Only cycle if completion-cycling is set.
5418 (completion--flush-all-sorted-completions): Unset completion-cycling.
5419 (minibuffer-force-complete): Set completion-cycling.
5420 (completion-all-sorted-completions): Move declaration before first use.
5422 2010-10-28 Leo <sdl.web@gmail.com>
5424 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5425 which changes the order of matches seen by users (bug#7231).
5427 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5429 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5430 Don't confuse -omega as "-o mega".
5432 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5434 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5435 (log-edit-author): New dynamic var.
5436 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5437 to return the author if different from committer.
5438 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5440 * play/landmark.el: Adjust commenting convention.
5441 (lm-nil-score): Rename from nil-score.
5442 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5443 (OOOOscore): Move into a let in lm-score-trans-table.
5444 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5446 * electric.el (electric-indent-chars): Autoload.
5447 * progmodes/octave-mod.el (octave-mode):
5448 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5449 (ruby-mode-abbrev-table): Merge initialization and declaration.
5451 2010-10-27 Glenn Morris <rgm@gnu.org>
5453 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5456 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5458 * term/ns-win.el: Restore require of cl when compiling.
5459 (menu-bar-final-items): Remove non-existent `windows' menu.
5460 (ns-handle-nxopen): Optionally handle the temp-case.
5461 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5462 (ns-insert-file, ns-find-file): Use `pop'.
5464 2010-10-26 Glenn Morris <rgm@gnu.org>
5466 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5468 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5470 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5472 * term/common-win.el (x-setup-function-keys): Remove most of the
5473 keymappings. Comment on the remaining ones.
5475 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5477 * server.el (server-port): New option. (Bug#854)
5478 (server-start): Use server-port.
5480 2010-10-26 Glenn Morris <rgm@gnu.org>
5482 * term/ns-win.el (ns-version-string): Remove unused declaration.
5483 (ns-invocation-args): Change to x-invocation-args.
5484 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5485 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5486 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5487 Use x-invocation-args instead of ns-invocation-args.
5488 (ns-initialize-window-system, handle-args-function-alist):
5489 Use x-handle-args instead of ns-handle-args.
5490 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5491 * startup.el (command-line-ns-option-alist): Replace
5492 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5493 ns-handle-iconic with the x- equivalents.
5495 * term/common-win.el (x-select-enable-clipboard):
5496 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5498 * term/ns-win.el: No need to require cl when compiling.
5499 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5500 (xw-defined-colors): Use the common-win definitions.
5501 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5502 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5503 * term/common-win.el (x-select-text, x-alternatives-map)
5504 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5505 * loadup.el [ns]: Load common-win.
5507 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5509 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5510 recipients; expand mail aliases (Bug#7280).
5512 2010-10-25 Glenn Morris <rgm@gnu.org>
5514 * term/common-win.el (x-handle-switch): Simplify with pop.
5515 Optionally handle numeric switches.
5516 (x-handle-numeric-switch): Just call x-handle-switch.
5517 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5518 (x-handle-name-switch, x-handle-display, x-handle-args):
5521 * term/ns-win.el: Do not require easymenu.
5522 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5523 <spell>: Move adjustments to menu-bar.el.
5524 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5525 <separator-undo, spell>: Move ns-win's adjustments here.
5526 * loadup.el [ns]: Do not load easymenu.
5528 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5530 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5533 * startup.el (fancy-startup-tail): Instead of using inline images,
5534 refer to image files from etc/.
5536 * wid-edit.el (checkbox): Likewise.
5537 (widget-image-find): Center image specs.
5539 2010-10-24 Glenn Morris <rgm@gnu.org>
5541 * term/ns-win.el (x-select-text): Doc fix.
5542 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5543 (x-select-text): Move to term/common-win.
5544 * term/w32-win.el (xw-defined-colors): Move to common-win.
5545 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5546 (x-setup-function-keys, x-select-text): Move to common-win.
5547 * term/common-win.el (x-select-text, x-alternatives-map)
5548 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5551 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5553 * net/mairix.el (mairix-searches-mode-map):
5554 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5556 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5558 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5559 auto-built for efficiency of execution and updating.
5560 (verilog-extended-complete-re): Support 'pure' fucntion & task
5561 declarations (these have no bodies).
5562 (verilog-beg-of-statement): General cleanup to enable support of
5563 'pure' fucntion & task declarations (these have no bodies).
5564 These efforts together fix Verilog bug210 from veripool; which was also
5565 noticed by Steve Pearlmutter.
5566 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5567 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5568 Support `elsif. Reported by Shankar Giri.
5569 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5570 attribute handling for lining up declarations and assignments.
5571 (verilog-beg-of-statement-1): Fix issue where continued declaration
5572 is indented differently if it is after a begin..end clock.
5573 (verilog-in-attribute-p, verilog-skip-backward-comments)
5574 (verilog-skip-forward-comment-p): Support proper treatment of
5575 attributes by indent code. Reported by Jeff Steele.
5576 (verilog-in-directive-p): Fix comment to correctly describe function.
5577 (verilog-backward-up-list, verilog-in-struct-region-p)
5578 (verilog-backward-token, verilog-in-struct-p)
5579 (verilog-in-coverage-p, verilog-do-indent)
5580 (verilog-pretty-declarations): Use verilog-backward-up-list as
5581 wrapper around backward-up-list inorder to properly skip comments.
5582 Reported by David Rogoff.
5583 (verilog-property-re, verilog-endcomment-reason-re)
5584 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5585 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5586 of if). Reported by Max Bjurling and
5587 (verilog-calc-1): Fix for clocking block in modport
5588 declaration. Reported by Brian Hunter.
5590 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5592 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5593 (verilog-gate-keywords, verilog-read-sub-decls)
5594 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5595 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5596 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5597 (verilog-read-decls): Fix spaces in V2K module parameters causing
5598 mis-identification as interfaces, bug287.
5599 (verilog-read-decls): Fix not treating "parameter string" as a
5600 parameter in AUTOINSTPARAM.
5601 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5602 treating `elsif similar to `endif inside AUTOSENSE.
5603 (verilog-do-indent): Implement correct automatic or static task or
5604 function end comment highlight. Reported by Steve Pearlmutter.
5605 (verilog-font-lock-keywords-2): Fix highlighting of single
5606 character pins, bug264. Reported by Michael Laajanen.
5607 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5608 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5609 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5610 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5611 (verilog-pretty-expr): Fix interactive arguments, bug272.
5612 Reported by Mark Johnson.
5613 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5614 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5615 bug269. Suggested by Gary Delp.
5616 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5617 (verilog-preprocessor, verilog-set-compile-command):
5618 Create verilog-preprocess and verilog-preprocessor to show
5619 preprocessed output.
5620 (verilog-get-beg-of-line, verilog-get-end-of-line)
5621 (verilog-modi-file-or-buffer, verilog-modi-name)
5622 (verilog-modi-point, verilog-within-string): Move defmacro's
5623 before first use to avoid warning. Reported by Steve Pearlmutter.
5624 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5625 (verilog-colorize-region, verilog-highlight-buffer)
5626 (verilog-highlight-includes, verilog-highlight-modules)
5627 (verilog-highlight-region, verilog-mode): Rename colorize to
5628 highlight to match other packages. Disable module highlighting,
5629 as received speed complaints, reenable for experimentation only
5630 using new verilog-highlight-modules.
5631 (verilog-read-decls): Fix regexp stack overflow in very large
5632 AUTO_TEMPLATEs, bug250.
5633 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5634 (verilog-scan): Create verilog-save-buffer-state to standardize
5635 making insignificant changes that shouldn't call hooks.
5636 (verilog-save-no-change-functions, verilog-save-scan-cache)
5637 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5638 Create verilog-save-no-change-functions to wrap verilog-scan
5639 preservation, and fix to work with nested preserved calls.
5640 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5641 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5642 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5643 (verilog-submit-bug-report): Update variable list to be complete.
5644 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5645 breaking on-the-fly font-locking.
5646 (verilog-colorize-buffer, verilog-colorize-include-files)
5647 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5648 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5649 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5650 AUTOINST cell instance name, middle mouse button now finds-file on
5651 it. Suggested by Brad Dobbie.
5652 (verilog-alw-get-temps, verilog-auto-reset)
5653 (verilog-auto-sense-sigs, verilog-read-always-signals)
5654 (verilog-read-always-signals-recurse): Fix loop indexes being
5655 AUTORESET. AUTORESET now assumes any variables in the
5656 initialization section of a for() should be ignored.
5657 Reported by Dan Dever.
5658 (verilog-error-font-lock-keywords)
5659 (verilog-error-regexp-emacs-alist)
5660 (verilog-error-regexp-xemacs-alist): Fix error detection of
5661 Cadence HAL, reported by David Asher. Repair drift between the
5662 three similar error variables.
5663 (verilog-modi-lookup, verilog-modi-lookup-cache)
5664 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5665 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5666 Fix slow verilog-auto expansion on very large files.
5667 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5668 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5669 "{1*2{...". Broke in last revision.
5670 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5671 submodule connections with replications "{#{a},#{b}}".
5673 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5675 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5676 Fix typo in docstring.
5678 2010-10-24 Kenichi Handa <handa@m17n.org>
5680 * face-remap.el (text-scale-adjust): Call read-event with a proper
5683 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5685 * emacs-lisp/unsafep.el: Don't mark functions that display
5686 messages as safe. Suggested by Johan Bockgård.
5688 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5690 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5691 Turn comments into docstrings.
5693 * minibuffer.el (completion--replace): Move point where it belongs
5694 when there's a common suffix (bug#7215).
5696 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5698 Merge read-color and facemenu-read-color (Bug#7242).
5700 * faces.el (read-color): Use the completion code from
5701 facemenu-read-color. Require match in completion. Doc fix.
5703 * facemenu.el (facemenu-read-color): Alias for read-color.
5704 (facemenu-set-foreground, facemenu-set-background):
5707 * frame.el (set-background-color, set-foreground-color)
5708 (set-cursor-color, set-mouse-color, set-border-color):
5711 2010-10-24 Leo <sdl.web@gmail.com>
5713 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5714 argument of delete-file and delete-directory (Bug#7011).
5716 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5718 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5721 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5723 * emacs-lisp/package.el (package--generate-package-list): Make the
5724 *Packages* buffer read-only.
5726 2010-10-24 Alan Mackenzie <acm@muc.de>
5728 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5729 result of `c-beginning-of-decl-1' between invocations of a lambda
5730 function (Bug #7265).
5732 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5734 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5735 executable is not available on the system (Bug#7268).
5737 2010-10-24 Glenn Morris <rgm@gnu.org>
5739 * select.el (selection-coding-system, next-selection-coding-system):
5740 Sync doc with C versions.
5742 * w32-vars.el (x-select-enable-clipboard):
5743 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5744 * term/common-win.el (x-select-enable-clipboard): Move here.
5746 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5747 definition of C variable.
5749 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5750 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5751 Don't redefine things that are defined in C.
5752 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5753 (show-trailing-whitespace, auto-hscroll-mode)
5754 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5755 Set up the appropriate custom properties.
5757 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5760 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5761 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5762 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5763 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5765 2010-10-23 Glenn Morris <rgm@gnu.org>
5767 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5770 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5771 Sync docs with C version.
5773 * term/ns-win.el (xw-defined-colors):
5774 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5776 * term/pc-win.el (x-select-enable-clipboard):
5777 * term/x-win.el (x-select-enable-clipboard):
5778 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5780 * comint.el (comint-password-prompt-regexp): Make it less vague.
5783 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5785 * help.el (finder-by-keyword): Remove unnecessary autoload.
5787 2010-10-22 Glenn Morris <rgm@gnu.org>
5789 * loadup.el: Unconditionally load float-sup.
5790 * paren.el (show-paren-delay):
5791 * emacs-lisp/float-sup.el:
5792 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5793 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5794 (lazy-lock-stealth-verbose): Assume float support.
5795 * ps-print.el: Assume float support on Emacs.
5796 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5797 Remove non-float branch.
5799 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5800 src/Makefile no longer being pre-processed.
5802 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5804 * emacs-lisp/find-func.el (find-library): Use test-completion.
5806 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5808 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5810 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5812 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5813 space in stat format string.
5814 (tramp-send-command): Unset $PS1 when using here documents, in
5815 order not to get several prompts.
5816 (tramp-get-inline-coding): Return `nil' in case of errors.
5818 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5820 * hexl.el (hexl-mode, hexl-mode-exit):
5821 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5822 (hexl-revert-buffer-function): New function.
5823 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5825 2010-10-19 Alan Mackenzie <acm@muc.de>
5827 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5828 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5829 that these keywords aren't wrongly matched as identifiers.
5831 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5832 setting of c-new-BEG and c-new-END from c-before-change to
5833 c-after-change. (Bug#7181)
5835 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5837 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5840 * custom.el (custom-theme-set-variables): Likewise.
5841 (load-theme): Add custom-theme-set-faces and
5842 custom-theme-set-variables to safe-functions while loading.
5843 (custom-enabled-themes): Mark as risky.
5845 2010-10-18 Julien Danjou <julien@danjou.info>
5847 * bindings.el: Remove end dashes in default mode-line-format.
5849 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5851 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5852 to delete-forward-char.
5854 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5855 deletechar, and hence delete-forward-char.
5857 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5859 * repeat.el (repeat): Use read-key (bug#6256).
5861 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5863 * emacs-lisp/unsafep.el: Don't mark functions that display
5864 messages as safe. Suggested by Johan Bockgård.
5866 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * minibuffer.el (completion--replace): Move point where it belongs
5869 when there's a common suffix (bug#7215).
5871 2010-10-19 Kenichi Handa <handa@m17n.org>
5873 * international/characters.el: Add category '|' (word breakable)
5874 to fullwidth characters.
5876 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5878 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5879 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5880 order to make stat results a float. Patch by Andreas Schwab
5881 <schwab@linux-m68k.org>.
5883 2010-10-18 Julien Danjou <julien@danjou.info>
5885 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5886 hidden by `make-pointer-invisible'.
5888 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * files.el (locate-file-completion-table): Strip non-matching elements
5891 before checking length of list (bug#7238).
5893 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5895 * custom.el (custom-theme-set-variables): Mark as a safe function.
5896 (load-theme): Check forms using unsafep.
5898 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5900 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5902 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5903 Fix aspell data file searching (bug#7230).
5905 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5907 * cus-theme.el (custom-theme--migrate-settings): New var.
5908 (customize-create-theme): Allow editing the `user' theme.
5909 (custom-theme-add-variable, custom-theme-add-var-1)
5910 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5911 to the front of each variable or face widget.
5912 (custom-theme-write): Save theme settings in the correct order.
5913 Optionally, remove saved settings from user customizations.
5914 (custom-theme-write-variables, custom-theme-write-faces):
5915 Save only the checked widgets.
5916 (customize-themes): Add a link for migrating custom settings.
5918 * custom.el (custom-declare-theme, provide-theme):
5919 Use custom-theme-name-valid-p.
5920 (custom-theme-name-valid-p): Remove checks that are now
5921 unnecessary since themes no longer obey load-path.
5923 * cus-edit.el (custom-variable-value-create): For the simple
5924 style, hide documentation string when hidden.
5926 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5928 * cus-edit.el (custom-variable, custom-face): Combine the
5929 :inhibit-magic and :display-style properties into a single
5930 :custom-style property.
5931 (custom-toggle-hide-variable, custom-toggle-hide-face):
5932 New functions. If hiding an edited value, save it to :shown-value.
5933 (custom-variable-value-create, custom-face-value-create): Use them.
5934 (custom-magic-reset): Allow magic property to be unset.
5936 * custom.el: Custom themes no longer use load-path.
5937 (custom-theme-load-path): New option. Change built-in theme
5939 (custom-enabled-themes): Add custom-theme-load-path dependency.
5940 (custom-theme--load-path): New function.
5941 (load-theme, custom-available-themes): Use it.
5943 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5944 (customize-themes): Link to custom-theme-load-path variable.
5945 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5946 :custom-style property.
5948 * themes/*.el: Moved to etc/.
5950 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5952 * textmodes/reftex-cite.el
5953 (reftex-extract-bib-entries-from-thebibliography): Do not move
5954 point when searching for \bibitem entries. Match entries with
5955 spaces or tabs in front of arguments.
5957 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5959 * cus-theme.el (customize-create-theme): Delete overlays after
5960 erasing. If given a THEME arg, display only the faces of that arg
5961 instead of custom-theme--listed-faces.
5962 (custom-theme-variable-menu, custom-theme-variable-action)
5963 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5964 (custom-theme-add-variable, custom-theme-add-face): Apply value
5965 from the theme settings, instead of the current value.
5966 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5967 (custom-theme-visit-theme): Allow calling outside theme buffers.
5968 (custom-theme-merge-theme): Don't enable the theme when merging.
5969 (custom-theme-write-variables, custom-theme-write-faces): Use the
5970 :shown-value properties to save buffer values, not global ones.
5971 (customize-themes): Display a warning about user customizations.
5973 * cus-edit.el (custom-variable-value-create)
5974 (custom-face-value-create): Obey new special properties
5975 :shown-value and :inhibit-magic.
5977 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5979 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5980 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5983 2010-10-14 Kenichi Handa <handa@m17n.org>
5985 * mail/rmail.el (rmail-show-message-1): Catch an error of
5986 base64-decode-region and just show an error message (bug#7165).
5988 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5989 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5990 a font-spec (bug#7197).
5992 2010-10-14 Glenn Morris <rgm@gnu.org>
5994 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5996 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5998 * international/mule.el (define-coding-system):
5999 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6000 * composite.el (compose-region): Fix typo in docstring.
6002 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6004 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6005 only after checking the theme-face property.
6007 * faces.el (face-spec-reset-face): Reset all attributes in one
6008 single call to set-face-attribute.
6009 (face-spec-match-p): Make it a defsubst.
6010 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6011 (x-create-frame-with-faces, tty-create-frame-with-faces)
6012 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6013 frame-set-background-mode, since they are recomputed immediately
6014 afterwards in face-set-after-frame-default.
6015 (face-set-after-frame-default): Minor optimization.
6016 (cursor): Provide non-trivial defface spec.
6018 * custom.el (custom-theme-recalc-face): Simplify.
6020 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6022 * calc/calc-alg.el (math-var): Rename from `var'.
6023 (math-is-polynomial, math-is-poly-rec): Replace `var'
6026 * calc/calcalg2.el (math-var): Rename from `var'.
6027 (calcFunc-table, math-scan-for-limits): Replace `var'
6030 2010-10-13 Glenn Morris <rgm@gnu.org>
6032 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6034 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6036 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6038 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6040 * net/tls.el (tls-program): Remove spurious %s from openssl.
6041 (tls-starttls-switches): Remove starttls hack.
6042 (open-tls-stream): Ditto.
6043 (tls-find-starttls-argument): Ditto.
6045 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6047 * image.el (image-library-alist): Declare as obsolete alias.
6048 (image-type-available-p): Use `dynamic-library-alist'.
6050 * term/w32-win.el (dynamic-library-alist):
6051 Use instead of `image-library-alist'.
6053 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6055 * subr.el (last): Make it faster. (Bug#7174)
6057 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6059 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6061 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6063 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6064 (describe-theme-1): Extract doc from unloaded themes.
6066 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6068 * themes/tango-theme.el:
6069 * themes/tango-dark-theme.el:
6070 * themes/wheatgrass-theme.el: New files.
6072 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6074 * cus-theme.el (describe-theme, customize-themes)
6075 (custom-theme-save): New commands.
6076 (custom-new-theme-mode-map): Bind C-x C-s.
6077 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6078 (customize-create-theme): New optional arg THEME.
6079 (custom-theme-revert): Use it.
6080 (custom-theme-visit-theme): Remove dead code.
6081 (custom-theme-merge-theme): Use custom-available-themes.
6082 (custom-theme-write): Make interactive.
6083 (custom-theme-write): Use custom-theme-name-valid-p.
6084 (describe-theme-1, custom-theme-choose-revert)
6085 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6087 (custom-theme-allow-multiple-selections): New option.
6088 (custom-theme-choose-mode): New major mode.
6090 * custom.el (custom-theme-set-variables): Remove dead code.
6091 Obey custom--inhibit-theme-enable.
6092 (custom--inhibit-theme-enable): New var.
6093 (provide-theme): Obey it.
6094 (load-theme): Replace load with manual read/eval, in order to
6095 check for correctness. Use custom-theme-name-valid-p.
6096 (custom-theme-name-valid-p): New function.
6097 (custom-available-themes): Use it.
6099 * cus-edit.el (custom--initialize-widget-variables): New function.
6100 (Custom-mode): Use it.
6102 * cus-face.el (custom-theme-set-faces): Remove dead code.
6103 Obey custom--inhibit-theme-enable.
6105 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6107 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6109 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6111 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6113 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6114 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6115 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6117 * cus-start.el (all): ns-right-alternate-modifier is new.
6119 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6121 * emacs-lisp/lisp.el (lisp-completion-at-point):
6122 Use emacs-lisp-mode-syntax-table for the whole function.
6124 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6126 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6127 instead of font-lock-mode before adding keywords.
6128 Remove hi-lock-mode off code. Remove inhibit hack.
6129 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6130 non-nil; removed hook inhibit hack.
6132 2010-10-12 Glenn Morris <rgm@gnu.org>
6134 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6135 (load-path-shadows-find): ... to this.
6136 (list-load-path-shadows): Update for above change.
6138 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6140 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6142 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6143 Fix comment for declare-function.
6145 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6147 * custom.el (custom-fix-face-spec): New function; code moved from
6148 custom-face-edit-fix-value.
6149 (custom-push-theme): Use it when checking if a face has been
6150 changed outside customize.
6151 (custom-available-themes): New function.
6152 (load-theme): Use it.
6154 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6156 * custom.el (custom-push-theme): Cleanup (use cond).
6157 (disable-theme): Recompute the saved-face property.
6158 (custom-theme-recalc-face): Follow face alias before setting prop.
6160 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6161 New variables, containing checkbox images.
6163 * startup.el (fancy-startup-tail):
6164 * wid-edit.el (checkbox): Use them.
6166 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6168 * shell.el (shell-mode-map):
6169 * progmodes/modula2.el (m2-mode-map):
6170 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6171 * play/mpuz.el (mpuz-mode-map):
6172 * play/landmark.el (lm-mode-map):
6173 * play/decipher.el (decipher-mode-map):
6174 * play/5x5.el (5x5-mode-map):
6175 * net/telnet.el (telnet-mode-map):
6176 * net/quickurl.el (quickurl-list-mode-map):
6177 * net/mairix.el (mairix-searches-mode-map):
6178 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6179 * net/dig.el (dig-mode-map):
6180 * mail/mspools.el (mspools-mode-map):
6181 * hexl.el (hexl-mode-map):
6182 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6183 (wordstar-C-o-map, wordstar-C-q-map):
6184 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6185 * emacs-lisp/chart.el (chart-map):
6186 * edmacro.el (edmacro-mode-map):
6187 * erc/erc-list.el (erc-list-menu-mode-map):
6188 * array.el (array-mode-map): Declare and define in one step.
6190 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6192 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6194 * epa.el (epa-passphrase-callback-function): Display filename
6195 passed as the 3rd arg.
6196 * epa-file.el (epa-file-passphrase-callback-function):
6197 Pass filename to epa-passphrase-callback-function.
6199 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6201 * cus-edit.el (custom-face-widget-to-spec)
6202 (custom-face-get-current-spec, custom-face-state): New functions.
6203 (custom-face-set, custom-face-mark-to-save)
6204 (custom-face-value-create, custom-face-state-set): Use them.
6206 * cus-theme.el (custom-theme--listed-faces): New var.
6207 (customize-create-theme): Use *Custom Theme* as the buffer name.
6208 Set revert-buffer-function. Optional arg BUFFER. Insert all
6209 faces listed in custom-theme--listed-faces.
6210 (custom-theme-revert): New function.
6211 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6213 (custom-theme-write): Prompt for theme name if empty.
6214 (custom-theme-write-variables): Use dolist.
6215 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6217 2010-10-09 Alan Mackenzie <acm@muc.de>
6219 Enhance fontification of declarators to take account of the
6220 presence/absence of "typedef".
6222 * cc-engine.el (c-forward-type): New &optional param
6224 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6225 presence of either or both of a "struct"-like keyword and "typedef".
6227 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6228 fontification of declarators which follow a "}".
6229 (c-font-lock-declarations): Fontify declarators according to the
6230 presence/absence of "typedef".
6232 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6234 (c-typedef-decl-key): New lang variable built from
6235 c-typedef-decl-kwds.
6237 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6239 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6240 since that's too annoying. Move the filter groups commands to
6243 * epa.el (epa-passphrase-callback-function): Say what we're
6244 querying the password for.
6246 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6247 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6249 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6251 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6252 (custom-magic-value-create): Pad button tags with spaces.
6253 (custom-face-edit): New variable.
6254 (custom-face-value-create): Determine whether to use the usual
6255 face editor here, instead of using custom-face-selected.
6256 Pass face defaults to custom-face-edit widget.
6257 (custom-face-selected, custom-display-unselected): Delete widgets.
6258 (custom-display-unselected-match): Function removed.
6259 (custom-face-set, custom-face-mark-to-save):
6260 Accept custom-face-edit widgets as the direct widget child.
6262 * wid-edit.el (widget--completing-widget): New var.
6263 (widget-default-complete): Bind it when doing completion.
6264 (widget-string-complete, widget-file-complete): Use it.
6266 2010-10-09 Glenn Morris <rgm@gnu.org>
6268 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6269 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6270 (holiday-hebrew-misc): Small simplifications.
6272 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6274 * net/browse-url.el: Don't require thingatpt, term, dired,
6275 executable, or w3-auto when compiling.
6276 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6278 (browse-url-text-emacs): Require term.
6280 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6282 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6284 2010-10-08 Glenn Morris <rgm@gnu.org>
6286 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6288 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6289 (shadows-compare-text-p): Make it an obsolete alias for...
6290 (load-path-shadows-compare-text): ... new name.
6291 (find-emacs-lisp-shadows): Update for above name change.
6292 (load-path-shadows-same-file-or-nonexistent): New name for the old
6293 shadow-same-file-or-nonexistent.
6295 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6297 * minibuffer.el (completion--some, completion--do-completion)
6298 (minibuffer-complete-and-exit, minibuffer-completion-help)
6299 (completion-basic-try-completion)
6300 (completion-basic-all-completions)
6301 (completion-pcm--find-all-completions): Use lexical-let to
6302 avoid some false matches in variable completion (Bug#7056)
6304 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6306 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6308 2010-10-08 Leo <sdl.web@gmail.com>
6310 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6311 return non-nil if the file exists (Bug#7090).
6313 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * minibuffer.el (completion--replace):
6316 Better preserve markers (bug#7138).
6318 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6320 * server.el (server-process-filter): Doc fix.
6322 2010-10-08 Drew Adams <drew.adams@oracle.com>
6324 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6326 2010-10-08 Glenn Morris <rgm@gnu.org>
6328 * vc/ediff-wind.el (ediff-setup-control-frame):
6329 * vc/ediff-ptch.el (ediff-default-backup-extension):
6330 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6331 (ediff-exec-process): Remove system-types emx, windows-95.
6333 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6335 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6337 * cus-edit.el (custom-variable, custom-face): Doc fix.
6338 (custom-face-edit): Add value-create attribute.
6339 (custom-face-edit-value-create)
6340 (custom-face-edit-value-visibility-action): New functions.
6341 Hide unused face attributes by default, and add a visibility toggle.
6342 (custom-face-edit-deactivate): Show empty values with shadow face.
6343 (custom-face-selected): Only use this for face specs with default
6345 (custom-face-value-create): Cleanup.
6347 * wid-edit.el (widget-checklist-value-create): Use dolist.
6348 (widget-checklist-match-find): Make second arg optional.
6350 2010-10-07 Glenn Morris <rgm@gnu.org>
6352 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6355 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6356 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6357 load-path-shadows-mode, update references.
6358 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6359 Rename variable and button.
6360 (list-load-path-shadows): Update button caller.
6362 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6364 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6365 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6366 (smie-merge-prec2s): Handle those new entries.
6367 (smie-prec2-levels): Only set precedence to nil for actual
6369 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6370 that is now unnecessary.
6372 2010-10-07 Miles Bader <miles@gnu.org>
6374 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6376 2010-10-07 Glenn Morris <rgm@gnu.org>
6378 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6379 (mail-position-on-field): Remove declarations.
6380 (mail-position-on-field): Autoload it.
6381 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6382 and mail-header-end. Don't require sendmail.
6384 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6385 (shadow-mode): New mode.
6386 (shadow-find-file): New button.
6387 (list-load-path-shadows): Use shadow-mode and buttons.
6389 * iimage.el (iimage-version): Remove.
6390 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6391 Turn into defcustoms.
6392 (iimage-mode-map): Give it a doc string.
6394 * calendar/appt.el (appt-activate): Give a warning rather than an error
6395 if there is no diary-file.
6397 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6399 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6400 Use `tramp-handle-find-backup-file-name'.
6402 2010-10-06 Glenn Morris <rgm@gnu.org>
6404 * font-core.el (font-lock-defaults-alist): Remove variable.
6405 (font-lock-mode): Doc fix.
6406 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6407 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6408 (font-lock-set-defaults): Doc fix.
6409 Do not consult font-lock-defaults-alist.
6411 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6413 * emacs-lisp/cl.el: No longer provide cl-19.
6415 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6417 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6418 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6419 New defuns, taken from tramp-smb.el.
6420 (tramp-coding-system-change-eol-conversion)
6421 (tramp-set-process-query-on-exit-flag): Remove.
6423 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6424 (tramp-compat-coding-system-change-eol-conversion)
6425 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6428 * net/tramp-gvfs.el:
6429 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6430 by `tramp-compat-set-process-query-on-exit-flag'.
6432 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6433 Use `tramp-handle-directory-files-and-attributes',
6434 `tramp-handle-file-exists-p' and
6435 `tramp-handle-file-newer-than-file-p'.
6436 (tramp-imap-handle-file-exists-p)
6437 (tramp-imap-handle-file-executable-p)
6438 (tramp-imap-handle-file-readable-p)
6439 (tramp-imap-handle-directory-files-and-attributes)
6440 (tramp-imap-handle-file-newer-than-file-p): Remove.
6442 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6443 by `tramp-compat-set-process-query-on-exit-flag' and
6444 `tramp-coding-system-change-eol-conversion' by
6445 `tramp-compat-coding-system-change-eol-conversion'.
6447 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6448 Use `tramp-handle-directory-files-and-attributes',
6449 `tramp-handle-file-exists-p' and
6450 `tramp-handle-file-newer-than-file-p'.
6451 (tramp-smb-handle-directory-files-and-attributes)
6452 (tramp-smb-handle-file-exists-p)
6453 (tramp-smb-handle-file-newer-than-file-p): Remove.
6454 (tramp-smb-maybe-open-connection):
6455 Replace `tramp-set-process-query-on-exit-flag' by
6456 `tramp-compat-set-process-query-on-exit-flag'.
6458 2010-10-05 Glenn Morris <rgm@gnu.org>
6460 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6462 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6464 Continue reorganization of load dependencies. (Bug#7156)
6466 * net/tramp.el (tramp-handle-file-local-copy-hook)
6467 (tramp-delete-temp-file-function): Move down.
6468 (tramp-exists-file-name-handler): Move up.
6469 (tramp-register-file-name-handlers): Simplify autoload.
6470 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6471 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6472 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6473 (tramp-handle-file-name-completion)
6474 (tramp-handle-file-name-directory)
6475 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6476 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6477 (tramp-handle-find-backup-file-name)
6478 (tramp-handle-insert-file-contents, tramp-handle-load)
6479 (tramp-handle-substitute-in-file-name)
6480 (tramp-handle-unhandled-file-name-directory)
6481 (tramp-mode-string-to-int, tramp-local-host-p)
6482 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6484 * net/tramp-gvfs.el (top):
6485 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6487 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6488 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6490 2010-10-04 Glenn Morris <rgm@gnu.org>
6492 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6493 (appt-activate): Give status messages.
6495 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6497 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6498 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6499 `gnutls-negotiate' (formerly `starttls-negotiate').
6500 Remove trivial wrapper `starttls-open-stream'.
6502 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6504 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6505 log-outgoing commands.
6506 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6507 to create a buffer local revert-buffer-function variable.
6508 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6509 revert-buffer-function lambda.
6511 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6513 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6514 `gnutls-boot'. Make TYPE the only required parameter.
6515 Allow TRUSTFILES and KEYFILES to be lists.
6516 (open-ssl-stream): Use it.
6518 2010-10-03 Glenn Morris <rgm@gnu.org>
6520 * subr.el (directory-sep-char): Remove obsolete variable.
6521 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6524 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6525 * vc/vc.el (vc-static-header-alist): Doc fix.
6526 * vc/vc-cvs.el (vc-cvs-header):
6527 * vc/vc-rcs.el (vc-rcs-header):
6528 * vc/vc-sccs.el (vc-sccs-header):
6529 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6530 * obsolete/vc-mcvs.el (vc-mcvs-header):
6531 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6534 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6536 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6537 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6539 2010-10-03 Glenn Morris <rgm@gnu.org>
6541 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6543 * textmodes/rst.el (rst-font-lock-keywords-function):
6546 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6548 * printing.el: Drop Emacs 20 code.
6550 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6551 without having used appt.el already).
6553 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6554 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6555 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6557 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6558 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6560 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6561 (charset-width, find-charset-region, chars-in-region, forward-point)
6562 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6563 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6564 Remove compatibility cruft (none of these are used by ps*.el).
6566 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6568 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6570 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6572 * server.el (server-process-filter, server-return-error):
6573 Give emacsclient time to shut down after receiving an error string.
6575 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6577 * files.el (remote-file-name-inhibit-cache): New defcustom.
6579 * time.el (display-time-file-nonempty-p):
6580 Use `remote-file-name-inhibit-cache'.
6582 * net/tramp.el (tramp-completion-reread-directory-timeout):
6585 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6586 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6587 `remote-file-name-inhibit-cache'. Check also for an integer
6588 value. Add/increase counter when `tramp-verbose' >= 10.
6589 (tramp-set-file-property): Add/increase counter when
6590 `tramp-verbose' >= 10.
6592 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6593 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6594 (tramp-bug): Set tramp-autoload cookie. Report all interned
6595 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6596 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6597 characters only in strings.
6599 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6600 to backward compatibility.
6602 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6603 (tramp-handle-file-name-all-completions)
6604 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6605 (tramp-open-connection-setup-interactive-shell):
6606 Call `tramp-cleanup-connection' directly.
6608 2010-10-02 Glenn Morris <rgm@gnu.org>
6610 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6612 * subr.el (char-bytes): Remove obsolete function.
6614 * isearch.el (isearch-return-char): Remove obsolete function.
6616 * mouse.el: No longer provide mldrag.
6617 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6618 Remove obsolete aliases.
6620 * comint.el (comint-kill-output): Remove obsolete alias.
6622 * composite.el (decompose-composite-char): Remove obsolete function.
6623 * ps-def.el (decompose-composite-char): Remove unused function.
6625 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6627 * outline.el (outline-visible): Remove obsolete function.
6629 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6630 * faces.el (internal-find-face, internal-get-face)
6631 (frame-update-faces, frame-update-face-colors)
6632 (x-frob-font-weight, x-frob-font-slant)
6633 (internal-frob-font-weight, internal-frob-font-slant)
6634 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6635 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6636 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6638 * emulation/viper-util.el (viper-get-face):
6639 * obsolete/lucid.el (find-face, get-face): Use facep.
6640 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6641 Remove unused functions.
6642 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6644 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6645 delete tempfile if interrupted during compilation.
6647 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6649 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6651 (tls-program): Add --insecure to be consistent with the defaults from
6652 openssl s_client. Now all three commands are insecure.
6654 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6656 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6657 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6658 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6660 2010-10-01 Glenn Morris <rgm@gnu.org>
6662 * obsolete/sc.el: Remove file.
6664 * files.el (temporary-file-directory): On darwin, also try
6665 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6667 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6669 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6670 Let's not break compatibility gratuitously, shall we?
6672 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6674 * net/tls.el (tls-starttls-switches): New variable.
6675 (tls-find-starttls-argument): Use it.
6676 (open-tls-stream): Ditto.
6678 * net/netrc.el (netrc-credentials): Return the value of the "default"
6680 (netrc-machine): Ditto.
6682 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6684 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6686 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6688 * server.el (server-start): Don't write pid to the authentication file.
6689 (server-create-tty-frame): Don't send pid.
6690 (server-process-filter): Send pid at the start of every connection.
6692 2010-09-30 Glenn Morris <rgm@gnu.org>
6694 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6695 (show-all-diary-entries): Remove obsolete function aliases.
6697 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6698 Remove options, obsolete since 22.1.
6699 (appt-display-format, appt-display-message):
6700 Remove backwards-compatibility code.
6701 (appt-check): No longer check appt-issue-message.
6702 (appt-make-list): No longer autoload it. Doc fix. No longer
6703 activate the package.
6705 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6707 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6708 (starttls-negotiate): Just call boot, and let the handshake be
6709 triggered from the read loop.
6711 2010-09-29 Glenn Morris <rgm@gnu.org>
6713 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6714 not displaying the diary.
6715 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6716 * calendar/appt.el (appt-check): No longer need to kill diary.
6718 * calendar/diary-lib.el (diary-list-entries): Move the
6719 "Preparing..." message entirely here.
6720 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6721 messages to diary-list-entries.
6722 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6723 diary-display-function.
6725 * calendar/diary-lib.el (diary-include-other-diary-files):
6726 Trap some recursive includes.
6728 * calendar/appt.el (appt-activate): Check diary file.
6730 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6732 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6735 * calendar/time-date.el: No need to require cl for Emacs 21.
6737 2010-09-28 Glenn Morris <rgm@gnu.org>
6739 * calendar/appt.el (appt-check): Minor simplification.
6741 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6743 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6746 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6748 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6749 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6751 2010-09-27 Kenichi Handa <handa@m17n.org>
6753 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6756 2010-09-27 Kenichi Handa <handa@m17n.org>
6758 * international/mule.el (define-coding-system): Docstring fixed.
6760 * international/mule-diag.el (describe-character-set): Use princ
6761 with proper print-length and print-level instead of insert.
6763 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6765 * window.el (walk-windows): Doc fix (bug#7105).
6767 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6769 * emacs-lisp/float-sup.el (e): Remove.
6771 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6773 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6775 (starttls-negotiate): Use it.
6777 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6779 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6782 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6786 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6788 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6790 * net/netrc.el (netrc-store-data): New function.
6792 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6794 * net/gnutls.el: GnuTLS glue code to set up a connection.
6796 2010-09-25 Julien Danjou <julien@danjou.info>
6798 * notifications.el: Call dbus-register-signal only if it is bound.
6800 2010-09-25 Glenn Morris <rgm@gnu.org>
6802 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6803 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6804 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6805 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6806 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6807 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6808 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6809 * eshell/esh-util.el, eshell/esh-var.el:
6810 Remove leading `*' from docs of faces and defcustoms.
6812 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6814 * eshell/em-ls.el (eshell-ls-archive-regexp):
6815 * eshell/esh-util.el (eshell-tar-regexp):
6816 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6817 * info.el (Info-suffix-list):
6818 * international/mule.el (auto-coding-alist):
6819 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6820 * progmodes/etags.el (tags-compression-info-list):
6821 Support xz compression.
6823 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6825 * files.el (get-free-disk-space): Don't assume the "df" output
6826 columns line up (Bug#6995).
6828 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6830 * finder.el (finder-unknown-keywords):
6831 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6832 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6834 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6836 * server.el (server-start): Revert part of 2010-08-08 change. Using
6837 address 127.0.0.1 for local host is now done in Fmake_network_process.
6839 2010-09-24 Glenn Morris <rgm@gnu.org>
6841 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6842 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6843 * textmodes/css-mode.el, textmodes/dns-mode.el:
6844 Move autoloaded auto-mode-alist entries to files.el.
6845 * files.el (auto-mode-alist): Move entries here.
6847 2010-09-23 Glenn Morris <rgm@gnu.org>
6849 * isearch.el (isearch-lazy-highlight-cleanup)
6850 (isearch-lazy-highlight-initial-delay)
6851 (isearch-lazy-highlight-interval)
6852 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6853 * net/net-utils.el (ipconfig-program-options):
6854 Move aliases to options before the associated definitions.
6856 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6858 * newcomment.el (comment-normalize-vars): Better test validity of
6861 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6863 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6864 (float-e): New name for `e'.
6865 (degrees-to-radians, radians-to-degrees):
6866 * calendar/solar.el (solar-longitude):
6867 * calculator.el (calculator-registers, calculator-funcall):
6868 * textmodes/artist.el (artist-spray-random-points):
6869 * play/bubbles.el (bubbles--initialize-images): Use new names.
6871 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6873 Update to CEDET 1.0's version of EIEIO.
6875 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6877 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6878 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6879 (class-precedence-list): If class is nil, return nil.
6880 (eieio-generic-call): If class of first input arg is nil, don't
6881 look up static methods, and do check for primary methods.
6882 (initialize-instance): See if the default needs to be evaluated
6883 during the constructor.
6884 (eieio-perform-slot-validation-for-default): Don't do the check
6885 for values that will eventually be evaluated.
6886 (eieio-eval-default-p): New function.
6887 (eieio-default-eval-maybe): Use it.
6889 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6891 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6892 method-invocation-order.
6893 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6894 (eieio-class-precedence-dfs): Compute class precedence list using
6896 (eieio-class-precedence-bfs): Compute class precedence list using
6898 (eieio-class-precedence-c3): Compute class precedence list using
6900 (class-precedence-list): New function.
6901 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6902 (inconsistent-class-hierarchy): New error symbol.
6903 (call-next-method): Stow the replacement argument list for future
6904 call-next-method invocations.
6906 2010-09-23 Glenn Morris <rgm@gnu.org>
6908 * calendar/appt.el (appt-check): If not displaying the diary,
6909 use (diary 1) to only get the entries we need.
6910 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6911 that it is in day order. (Bug#7019)
6913 * calendar/appt.el (appt-check): Rather than showing the diary,
6914 just turn off invisible display, and only if needed.
6916 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6918 2010-09-23 Glenn Morris <rgm@gnu.org>
6920 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6921 (byte-compile-defvar, byte-compile-cl-warn):
6922 Start warnings with lower-case, like the majority.
6924 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6926 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6928 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6929 * files.el (auto-mode-alist): Move ld-script entries here, further down
6932 * vc/add-log.el: Don't require timezone when compiling.
6933 (timezone-make-date-sortable): Autoload it.
6934 (change-log-sortable-date-at): Don't require timezone.
6935 Use `ignore-errors'.
6937 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6938 Move alias before definition, so it does not need autoloading.
6940 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6941 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6942 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6943 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6944 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6945 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6946 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6947 * textmodes/tex-mode.el, textmodes/two-column.el:
6948 Remove leading `*' from docs of defcustoms etc.
6950 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6952 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6954 2010-09-22 Dan Christensen <jdc@uwo.ca>
6956 * calendar/time-date.el (date-to-time): Try using parse-time-string
6957 first before using the slower timezone-make-date-arpa-standard.
6959 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6961 * calendar/time-date.el (format-seconds): Comment fix.
6963 2010-09-22 Glenn Morris <rgm@gnu.org>
6965 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6966 is not automatically buffer-local.
6968 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6970 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6971 (smie-indent-comment): Be more careful with comment-start-skip.
6972 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6973 (smie-indent-functions): Use them.
6975 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6977 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6979 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6981 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6982 tool-bar-position. Don't modify frame parameters here.
6983 (menu-bar-options-save): Add tool-bar-position.
6985 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6987 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6989 * textmodes/reftex-parse.el (reftex-what-macro)
6990 (reftex-context-substring): Let-bind forward-sexp-function to nil
6991 since we don't need/want to treat \begin...\end as a block (bug#7053).
6993 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6995 * simple.el (blink-matching-open): Use syntax-class.
6997 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6998 Set invisibility spec for pascal's outline mode.
6999 (pascal-outline-change): Clean up calling convention.
7000 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7002 * progmodes/prolog.el (prolog-smie-forward-token)
7003 (prolog-smie-backward-token): New functions.
7004 (prolog-mode-variables): Use them to parse "!," correctly.
7005 Set up smie-blink-matching for ".".
7007 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7009 (ispell-region, ispell-process-line): Update users.
7011 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7014 * textmodes/ispell.el: Fix commenting convention.
7015 (ispell-parse-output): Simplify, use push.
7016 (ispell-region): Use match-string-no-properties.
7017 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7018 (ispell-minor-mode): Use define-minor-mode.
7019 (ispell-message): Remove unused var `skip-regexp'.
7020 (ispell-add-per-file-word-list): Use dynamic let-binding.
7021 Try and use the proper comment marker.
7023 * mail/sendmail.el: Fix commenting convention.
7024 (sendmail-send-it): Use line-beginning-position.
7026 * help-fns.el (describe-variable): Add original value, if applicable.
7028 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7030 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7032 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7034 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7036 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7037 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7038 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7039 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7040 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7041 something like "." can also be a closer.
7042 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7043 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7044 Rename internal functions to use "--". Update callers.
7046 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7048 * fringe.el (fringe-styles): New var.
7049 (fringe-mode, fringe-query-style): Use it.
7051 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7053 * progmodes/sql.el: Version 2.8
7054 (sql-login-params): Update widget structure; changes still needed.
7055 (sql-product-alist): Add :list-all and :list-table features for
7056 SQLite, Postgres and MySQL products.
7057 (sql-redirect): Handle default value.
7058 (sql-execute, sql-execute-feature): New functions.
7059 (sql-read-table-name): New function.
7060 (sql-list-all, sql-list-table): New functions. User API.
7061 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7062 for above functions.
7063 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7064 for above functions.
7065 (sql-postgres-login-params): Add user and database defaults.
7066 (sql-buffer-live-p): Bug fix.
7067 (sql-product-history): New variable.
7068 (sql-read-product): New function. Use it.
7069 (sql-set-product, sql-product-interactive): Use it.
7070 (sql-connection-history): New variable.
7071 (sql-read-connection): New function. Use it.
7072 (sql-connect): New function.
7073 (sql-for-each-login): Redesign function interface.
7074 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7075 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7076 (sql-comint): Check for program. Existing live buffer.
7077 (sql-comint-postgres): Add port parameter.
7079 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7081 * emacs-lisp/warnings.el: Fix commenting convention.
7082 (display-warning): Use special mode and make the buffer read-only.
7084 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7086 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7087 empty string when it follows a repeated or optional pattern.
7089 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7092 (indent-region): Use indent-according-to-mode.
7094 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7096 * fringe.el (fringe-mode): Doc fix.
7098 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7100 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7101 refreshing the preview buffer.
7103 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7105 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7106 (latex-syntax-propertize-rules): New consts; replace
7107 tex-font-lock-syntactic-keywords.
7108 (tex-env-mark, latex-env-before-change): New functions.
7109 (latex-electric-env-pair-mode): New minor mode.
7110 (tex-font-lock-verb): Change arguments; do move point.
7111 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7112 representation as a form of comment.
7113 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7114 (doctex-syntax-propertize-rules): New const; replaces
7115 doctex-font-lock-syntactic-keywords.
7116 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7118 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7119 (fortran-make-syntax-propertize-function): New function; replaces
7120 fortran-font-lock-syntactic-keywords.
7121 (fortran-mode): Use it.
7122 (fortran-line-length): Use it. Improve interactive spec.
7124 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7125 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7126 when adding surrounding \(..\).
7128 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7130 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7132 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7133 Use with-current-buffer.
7135 * isearch.el (isearch-face): Rename from `isearch'.
7136 (isearch-highlight): Use new name.
7138 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7140 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7141 5, for `half' width fringes. (Bug#6933)
7143 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7146 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7148 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7150 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7152 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7153 in calculating new frame position. Add more space between new and
7154 parent on the left (Bug#7048).
7156 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7158 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7161 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7163 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7165 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7166 obsolete alias for x-selection-value.
7168 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7170 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7172 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7175 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7177 * net/tramp-compat.el (tramp-compat-with-temp-message)
7178 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7179 (tramp-compat-process-put): New defuns.
7181 * net/tramp.el (top):
7182 * net/tramp-gvfs.el (top):
7183 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7185 * net/tramp.el (tramp-progress-reporter-update):
7186 Use `tramp-compat-funcall'.
7188 * net/tramp.el (tramp-process-actions):
7189 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7190 * net/tramp-sh.el (tramp-handle-vc-registered)
7191 (tramp-get-remote-stat, tramp-get-remote-readlink):
7192 Use `tramp-compat-with-temp-message'.
7194 * net/tramp-sh.el (top): Require 'cl.
7195 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7196 (tramp-open-connection-setup-interactive-shell):
7197 Use `tramp-compat-process-put'.
7199 2010-09-15 Alan Mackenzie <acm@muc.de>
7201 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7203 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7205 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7208 `lexical' for warnings related to lexical scoping.
7209 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7210 global vars which don't have a prefix and could hence affect lexical
7211 scoping in unrelated files.
7213 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215 * net/imap.el: Revert back to version
7216 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7219 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7221 * obsolete/old-whitespace.el (whitespace-unload-function):
7222 Explicitly pass `obarray' to `unintern' to avoid a warning.
7224 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7226 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7227 Add `when' argument. Update callers.
7229 * subr.el (unintern): Declare the obarray arg mandatory.
7231 2010-09-14 Glenn Morris <rgm@gnu.org>
7233 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7236 * calendar/diary-lib.el (diary-included-files): New variable.
7237 (diary-list-entries): Maybe initialize diary-included-files.
7238 (diary-include-other-diary-files): Append to diary-included-files.
7239 * calendar/appt.el (appt-update-list): Also check the members of
7240 diary-included-files. (Bug#6999)
7241 (appt-check): Doc fix.
7243 2010-09-14 David Reitter <david.reitter@gmail.com>
7245 * simple.el (line-move-visual): Do not truncate goal column to
7246 integer size. (Bug#7020)
7248 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7250 * repeat.el (repeat): Allow repeating when the last event is a click.
7251 Suggested by Drew Adams (bug#6256).
7253 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7255 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7256 Replace setting HGRCPATH to "" by some less invasive --config options.
7258 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * font-lock.el (font-lock-beginning-of-syntax-function):
7263 2010-09-14 Glenn Morris <rgm@gnu.org>
7265 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7266 and tool-bar modes. (Bug#6211)
7267 (menu-bar-mode): Move setting of standard-value after the
7268 minor-mode definition, otherwise it seems to have no effect.
7270 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7272 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7273 Fix typo. (Bug#6976)
7275 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7277 * whitespace.el: Allow cleaning up blanks without blank
7278 visualization (Bug#6651). Adjust help window for
7279 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7280 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7281 (whitespace-style): Add new value 'face. Adjust docstring.
7282 (whitespace-space, whitespace-hspace, whitespace-tab):
7283 Adjust foreground property face.
7284 (whitespace-line-column): Adjust docstring and type declaration.
7285 (whitespace-style-value-list, whitespace-toggle-option-alist)
7286 (whitespace-help-text): Adjust const initialization.
7287 (whitespace-toggle-options, global-whitespace-toggle-options):
7289 (whitespace-display-window, whitespace-interactive-char)
7290 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7291 (whitespace-help-scroll): New fun.
7293 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7295 * calendar/time-date.el (format-seconds): Comment fix.
7297 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7299 * progmodes/sql.el: Version 2.7.
7300 (sql-buffer-live-p): Improve detection.
7301 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7302 (sql-set-sqli-buffer): Use it.
7303 (sql-product-interactive): Run `sql-set-sqli-hook'.
7304 (sql-rename-buffer): Code cleanup.
7305 (sql-redirect, sql-redirect-value): New functions. More to come.
7307 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7309 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.
7310 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7311 (TRAMP_SRC): New macro.
7312 ($(lisp)/net/tramp-loaddefs.el): New target.
7314 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7316 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7318 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7320 * net/tramp.el (top): Don't show loading message. Require just
7321 'tramp-compat, everything else is required there.
7322 Use `ignore-errors' where appropriate.
7323 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7324 (tramp-terminal-type, tramp-end-of-output)
7325 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7326 (tramp-completion-function-alist-ssh)
7327 (tramp-completion-function-alist-telnet)
7328 (tramp-completion-function-alist-su)
7329 (tramp-completion-function-alist-putty, tramp-remote-path)
7330 (tramp-remote-process-environment, tramp-sh-extra-args)
7331 (tramp-actions-before-shell, tramp-uudecode)
7332 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7333 (tramp-perl-file-attributes)
7334 (tramp-perl-directory-files-and-attributes)
7335 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7336 (tramp-perl-encode, tramp-perl-decode)
7337 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7338 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7339 (tramp-handle-make-symbolic-link, tramp-handle-load)
7340 (tramp-handle-file-name-as-directory)
7341 (tramp-handle-file-name-directory)
7342 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7343 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7344 (tramp-do-file-attributes-with-ls)
7345 (tramp-do-file-attributes-with-perl)
7346 (tramp-do-file-attributes-with-stat)
7347 (tramp-handle-set-visited-file-modtime)
7348 (tramp-handle-verify-visited-file-modtime)
7349 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7350 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7351 (tramp-handle-file-selinux-context)
7352 (tramp-handle-set-file-selinux-context)
7353 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7354 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7355 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7356 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7357 (tramp-handle-file-ownership-preserved-p)
7358 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7359 (tramp-handle-directory-files-and-attributes)
7360 (tramp-do-directory-files-and-attributes-with-perl)
7361 (tramp-do-directory-files-and-attributes-with-stat)
7362 (tramp-handle-file-name-all-completions)
7363 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7364 (tramp-handle-copy-file, tramp-handle-copy-directory)
7365 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7366 (tramp-do-copy-or-rename-file-via-buffer)
7367 (tramp-do-copy-or-rename-file-directly)
7368 (tramp-do-copy-or-rename-file-out-of-band)
7369 (tramp-handle-make-directory, tramp-handle-delete-directory)
7370 (tramp-handle-delete-file)
7371 (tramp-handle-dired-recursive-delete-directory)
7372 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7373 (tramp-handle-insert-directory)
7374 (tramp-handle-unhandled-file-name-directory)
7375 (tramp-handle-expand-file-name)
7376 (tramp-handle-substitute-in-file-name)
7377 (tramp-handle-executable-find, tramp-process-sentinel)
7378 (tramp-handle-start-file-process, tramp-handle-process-file)
7379 (tramp-handle-call-process-region, tramp-handle-shell-command)
7380 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7381 (tramp-handle-insert-file-contents)
7382 (tramp-handle-insert-file-contents-literally)
7383 (tramp-handle-find-backup-file-name)
7384 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7385 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7386 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7387 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7388 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7389 (tramp-find-file-exists-command, tramp-open-shell)
7390 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7391 (tramp-open-connection-setup-interactive-shell)
7392 (tramp-local-coding-commands, tramp-remote-coding-commands)
7393 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7394 (tramp-inline-compress-commands, tramp-find-inline-compress)
7395 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7396 (tramp-send-command, tramp-wait-for-output)
7397 (tramp-send-command-and-check, tramp-barf-unless-okay)
7398 (tramp-send-command-and-read, tramp-mode-string-to-int)
7399 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7400 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7401 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7402 (tramp-method-out-of-band-p, tramp-local-host-p)
7403 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7404 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7405 (tramp-get-test-command, tramp-get-test-nt-command)
7406 (tramp-get-file-exists-command, tramp-get-remote-ln)
7407 (tramp-get-remote-perl, tramp-get-remote-stat)
7408 (tramp-get-remote-readlink, tramp-get-remote-trash)
7409 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7410 (tramp-get-local-uid, tramp-get-local-gid)
7411 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7413 (tramp-methods, tramp-default-method-alist)
7414 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7415 Move initialization to tramp-sh.el.
7416 (tramp-temp-name-prefix): Make it a defconst.
7417 (tramp-dissect-file-name): Don't check anymore for multi-hop
7419 (tramp-debug-outline-regexp): Add a docstring.
7420 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7421 (tramp-get-debug-buffer): Use it.
7423 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7424 initialization forms.
7425 (tramp-set-connection-property): Don't protect `tramp-message'
7426 call, it isn't necessary any longer.
7427 (tramp-dump-connection-properties): Use `ignore-errors'.
7429 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7430 'password-cache and 'auth-source.
7432 * net/tramp-gvfs.el (top):
7433 * net/tramp-smb.el (top): Require 'tramp-sh.
7435 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7437 * net/tramp-sh.el: New file, derived from tramp.el.
7438 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7439 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7440 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7441 Use `ignore-errors' where appropriate.
7442 (tramp-sh-file-name-handler-alist): Rename from
7443 `tramp-file-name-handler-alist'.
7444 (tramp-send-command-and-check): Return t or nil. Remove all
7445 `zerop' checks, where called.
7446 (tramp-handle-set-file-modes)
7447 (tramp-do-copy-or-rename-file-directly)
7448 (tramp-handle-delete-directory, tramp-handle-delete-file)
7449 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7450 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7451 (tramp-get-remote-ln): Set tramp-autoload cookie.
7453 * net/tramp-fish.el: Remove file.
7455 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7457 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7458 buffer-file-name to avoid file-locking. (Bug#7026)
7460 2010-09-13 Julien Danjou <julien@danjou.info>
7462 * notifications.el (notifications-notify): Add support for
7463 image-path and sound-name.
7464 (notifications-specification-version): Add this variable.
7466 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7468 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7470 2010-09-12 Leo <sdl.web@gmail.com>
7472 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7473 (rcirc-completion-start): New variables.
7474 (rcirc-nick-completions): Rename to rcirc-completions.
7475 (rcirc-nick-completion-start-offset): Delete.
7476 (rcirc-completion-at-point): New function for constructing
7477 completion data for both nicks and irc commands. Add to
7478 completion-at-point-functions in rcirc mode.
7479 (rcirc-complete): Rename from rcirc-nick-complete; use
7480 rcirc-completion-at-point.
7481 (defun-rcirc-command): Update rcirc-client-commands.
7483 2010-09-11 Glenn Morris <rgm@gnu.org>
7485 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7486 atomically, to avoid parallel build errors. (Bug#4196)
7488 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7490 * progmodes/sql.el: Version 2.6
7491 (sql-dialect): Synonym for "sql-product".
7492 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7493 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7494 Set "sql-buffer" to buffer name not buffer object so multiple sql
7495 interactive buffers work properly. Reverts misguided changes in
7497 (sql-comint): Make sure different buffer name is used if "*SQL*"
7498 buffer is for a different product.
7499 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7501 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7502 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7503 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7504 Accept new buffer name or prompt for one.
7505 (sql-port): Default to zero.
7506 (sql-comint-mysql): Handle "sql-port" as a numeric.
7507 (sql-port-history): Delete unused variable.
7508 (sql-get-login): Default "sql-port" to a number.
7509 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7510 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7511 "sqlite3" executables.
7512 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7513 (sql-buffer-live-p): New function.
7514 (sql-mode-menu, sql-send-string): Use it.
7515 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7517 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7518 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7520 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7522 * net/netrc.el (netrc-credentials): New convenience function.
7524 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7527 to replace texinfo-font-lock-syntactic-keywords.
7528 (texinfo-mode): Use it.
7530 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7531 Use syntax-propertize-function.
7533 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7534 replace sgml-font-lock-syntactic-keywords.
7535 (sgml-mode): Use it.
7537 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7538 since we don't use it.
7540 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7542 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7544 (vhdl-fontify-buffer): Adjust.
7546 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7547 replace tcl-font-lock-syntactic-keywords.
7550 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7551 replace simula-font-lock-syntactic-keywords.
7552 (simula-mode): Use it.
7554 * progmodes/sh-script.el (sh-st-symbol): Remove.
7555 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7556 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7557 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7558 (sh-font-lock-paren): Set syntax-multiline.
7559 (sh-font-lock-syntactic-keywords): Remove.
7560 (sh-syntax-propertize-function): New function to replace it.
7563 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7564 Define while compiling.
7565 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7566 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7567 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7568 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7569 (ruby-here-doc-end-syntax): Only define when
7570 syntax-propertize is not available.
7571 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7573 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7574 (electric-indent-chars): Silence bytecompiler.
7575 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7576 electric-indent-chars.
7578 * progmodes/python.el (python-syntax-propertize-function): New var to
7579 replace python-font-lock-syntactic-keywords.
7580 (python-mode): Use it.
7581 (python-quote-syntax): Simplify and adjust to new use.
7583 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7584 replace perl-font-lock-syntactic-keywords.
7585 (perl-syntax-propertize-special-constructs): New fun to replace
7586 perl-font-lock-special-syntactic-constructs.
7587 (perl-font-lock-syntactic-face-function): New fun.
7588 (perl-mode): Use it.
7590 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7591 to replace octave-font-lock-close-quotes.
7592 (octave-syntax-propertize-function): New function to replace
7593 octave-font-lock-syntactic-keywords.
7594 (octave-mode): Use it.
7596 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7597 replaces mixal-font-lock-syntactic-keywords.
7598 (mixal-mode): Use it.
7600 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7601 New var; replaces makefile-font-lock-syntactic-keywords.
7602 (makefile-mode): Use it.
7603 (makefile-imake-mode): Adjust.
7605 * progmodes/js.el (js--regexp-literal): Define while compiling.
7606 (js-syntax-propertize-function): New var; replaces
7607 js-font-lock-syntactic-keywords.
7610 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7611 replaces gdb-script-font-lock-syntactic-keywords.
7612 (gdb-script-mode): Use it.
7614 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7615 (fortran--font-lock-syntactic-keywords): New var.
7616 (fortran-line-length): Update syntax-propertize-function and
7617 fortran--font-lock-syntactic-keywords.
7619 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7621 * progmodes/cfengine.el (cfengine-mode):
7622 Use syntax-propertize-function.
7623 (cfengine-font-lock-syntactic-keywords): Remove.
7625 * progmodes/autoconf.el (autoconf-mode):
7626 Use syntax-propertize-function.
7627 (autoconf-font-lock-syntactic-keywords): Remove.
7629 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7630 (ada-after-change-function, ada-initialize-syntax-table-properties)
7631 (ada-handle-syntax-table-properties): Only define when
7632 syntax-propertize is not available.
7633 (ada-mode): Use syntax-propertize-function.
7635 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7636 (font-lock-fontify-syntactic-keywords-region): Move handling of
7637 font-lock-syntactically-fontified to...
7638 (font-lock-default-fontify-region): ...here.
7639 Let syntax-propertize-function take precedence.
7640 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7642 * emacs-lisp/syntax.el (syntax-propertize-function)
7643 (syntax-propertize-chunk-size, syntax-propertize--done)
7644 (syntax-propertize-extend-region-functions): New vars.
7645 (syntax-propertize-wholelines, syntax-propertize-multiline)
7646 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7647 (syntax-propertize): New functions.
7648 (syntax-propertize-rules): New macro.
7649 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7650 (syntax-ppss): Call syntax-propertize.
7652 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7654 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7656 * textmodes/ispell.el (ispell-init-process): Improve comments.
7657 XEmacs compatibility changes regarding (add-hook) 'local option
7658 and (set-process-query-on-exit-flag).
7660 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7662 * net/tramp-cache.el (tramp-parse-connection-properties):
7663 Set tramp-autoload cookie.
7665 2010-09-09 Glenn Morris <rgm@gnu.org>
7667 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7668 (imagemagick-register-types): Doc fix.
7670 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7674 * progmodes/js.el (require): Require is already "eval-and-compile".
7675 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7676 (js--re-search-backward): Use js--re-search-forward.
7678 * progmodes/fortran.el (fortran-line-length): Don't recompute
7679 syntactic keywords redundantly a second time.
7681 * progmodes/ada-mode.el: Replace "(set '" with setq.
7682 (ada-mode): Simplify.
7683 (ada-create-case-exception, ada-adjust-case-interactive)
7684 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7685 (ada-search-ignore-string-comment, ada-move-to-start)
7686 (ada-move-to-end): Use with-syntax-table.
7688 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7689 (font-lock-unfontify-region, font-lock-default-fontify-region):
7690 Update usage correspondingly.
7691 (font-lock-fontify-syntactic-keywords-region):
7692 Set parse-sexp-lookup-properties buffer-locally here.
7693 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7695 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7697 2010-09-08 Glenn Morris <rgm@gnu.org>
7699 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7700 Error if not compiled with -DBYTE_CODE_METER.
7702 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7703 Ignore dir-locals-file.
7705 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7709 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7710 for the `gnu' messages.
7711 (compilation-set-skip-threshold): New command.
7712 (compilation-start): Use \' rather than $.
7713 (compilation-forget-errors): Use clrhash.
7715 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7717 * textmodes/ispell.el (ispell-valid-dictionary-list):
7720 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7722 Migrate to Tramp 2.2. Rearrange load dependencies.
7723 (Bug#1529, Bug#5448, Bug#5705)
7725 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7726 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7727 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7729 * net/tramp.el (top): Remove all other tramp-* loads except
7730 tramp-compat.el. Remove all changes to tramp-unload-hook for
7731 other tramp-* packages. Rearrange defun order. Change calls of
7732 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7733 `tramp-compat-octal-to-decimal' to new function names.
7734 (tramp-terminal-type, tramp-initial-end-of-output)
7735 (tramp-methods, tramp-foreign-file-name-handler-alist)
7736 (tramp-tramp-file-p, tramp-completion-mode-p)
7737 (tramp-send-command-and-check, tramp-get-remote-path)
7738 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7739 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7740 (with-file-property, with-connection-property): Move to
7742 (tramp-local-call-process, tramp-decimal-to-octal)
7743 (tramp-octal-to-decimal): Move to tramp-compat.el.
7744 (tramp-handle-shell-command): Do not require 'shell.
7745 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7747 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7749 * net/tramp-cache.el (top): Require 'tramp. Add to
7750 `tramp-unload-hook'.
7751 (tramp-cache-data, tramp-get-file-property)
7752 (tramp-set-file-property, tramp-flush-file-property)
7753 (tramp-flush-directory-property, tramp-get-connection-property)
7754 (tramp-set-connection-property, tramp-flush-connection-property)
7755 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7757 (with-file-property, with-connection-property): New defuns, moved
7759 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7762 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7763 (tramp-version): Set tramp-autoload cookie.
7765 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7766 changes to tramp-unload-hook for other tramp-* packages. Add to
7767 `tramp-unload-hook'.
7768 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7769 (tramp-compat-call-process): New defuns, moved from tramp.el.
7771 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7772 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7773 Add to `tramp-unload-hook'. Change call of
7774 `tramp-compat-decimal-to-octal' to new function name.
7775 (tramp-fish-method): Make it a defconst.
7776 (tramp-fish-file-name-p): Make it a defsubst.
7777 (tramp-fish-method, tramp-fish-file-name-handler)
7778 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7780 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7781 `tramp-foreign-file-name-handler-alist'. Add to
7782 `tramp-unload-hook'.
7783 (tramp-ftp-method): Make it a defconst.
7784 (tramp-ftp-file-name-p): Make it a defsubst.
7785 (tramp-ftp-method, tramp-ftp-file-name-handler)
7786 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7788 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7789 `tramp-foreign-file-name-handler-alist'. Add to
7790 `tramp-unload-hook'. Change checks, whether package can be
7792 (tramp-gvfs-file-name-p): Make it a defsubst.
7793 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7794 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7795 (tramp-gvfs-handle-file-directory-p): New defun.
7796 (tramp-gvfs-file-name-handler-alist): Use it.
7798 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7799 `tramp-foreign-file-name-handler-alist'. Add to
7800 `tramp-unload-hook'.
7801 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7802 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7804 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7805 (tramp-gw-open-connection): Set tramp-autoload cookie.
7807 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7808 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7809 Add to `tramp-unload-hook'. Change checks, whether package can be
7811 (tramp-imap-file-name-p): Make it a defsubst.
7812 (tramp-imap-method, tramp-imaps-method)
7813 (tramp-imap-file-name-handler)
7814 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7816 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7817 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7818 Add to `tramp-unload-hook'. Change checks, whether package can be
7819 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7821 (tramp-smb-tunnel-method): Make it a defconst.
7822 (tramp-smb-file-name-p): Make it a defsubst.
7823 (tramp-smb-method, tramp-smb-file-name-handler)
7824 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7826 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7827 (tramp-uuencode-region): Set tramp-autoload cookie.
7829 * net/trampver.el (top) Add to `tramp-unload-hook'.
7830 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7831 cookie. Update release number.
7833 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7835 * textmodes/ispell.el (ispell-start-process): Make sure original
7836 arg list is properly initialized (Bug#6993, Bug#6994).
7838 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7840 * files.el (directory-abbrev-alist): Use \` as default regexp.
7842 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7843 chars like - or ] (bug#6984).
7844 (rx-any-condense-range): Explode 2-char ranges.
7846 2010-09-06 Glenn Morris <rgm@gnu.org>
7848 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7850 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7852 * textmodes/bibtex.el:
7853 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7855 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7857 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7858 since no callers use it.
7859 (imap-message-get): Ditto.
7860 (imap-message-put): Ditto.
7861 (imap-mailbox-map): Ditto.
7862 (imap-mailbox-put): Ditto.
7863 (imap-mailbox-get): Ditto.
7864 (imap-mailbox-get): Revert last change for this function.
7866 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7868 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7869 callers to use `imap-fetch' instead. According to the comments, this
7870 should be safe, since all other IMAP clients use the 1:* syntax.
7871 (imap-enable-exchange-bug-workaround): Remove.
7872 (imap-debug): Remove -- doesn't seem very useful.
7874 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7876 * net/imap.el (imap-log): New convenience function used throughout
7877 instead of repeating the same code all over the place.
7879 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7881 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7882 when mouse-drag-copy-region is non-nil (Bug#6956).
7884 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7886 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7887 Improve regexps (Bug#6987).
7888 (dired-sort-toggle): Search more robustly for -t flag.
7890 * files.el (get-free-disk-space): Search more robustly for
7891 "available" column. Suggested by Ehud Karni
7892 <ehud@unix.mvs.co.il>.
7894 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7896 * international/uni-bidi.el:
7897 * international/uni-category.el:
7898 * international/uni-combining.el:
7899 * international/uni-decimal.el:
7900 * international/uni-mirrored.el:
7901 * international/uni-name.el: Regenerate.
7903 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7905 * electric.el (electric-indent-post-self-insert-function):
7906 Don't reindent with a sloppy indentation function.
7908 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7909 border case in change-log-mode.
7911 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7913 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7914 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7915 Recognize leading tab in gcc-include regexp. Ignore names with
7916 leading "from" or "in" in gnu regexp (Bug#6937).
7918 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7920 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7921 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7922 (ispell-start-process): Avoid setq and simplify logic.
7923 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7924 (kill-buffer-hook): Don't use it globally with code that uses
7925 expand-file-name since that may call kill-buffer via
7926 code_conversion_restore.
7928 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7930 * emacs-lisp/package.el (package-directory-list): Only call
7931 file-name-nondirectory on a string.
7933 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7935 * emacs-lisp/package.el (package--download-one-archive):
7936 Ensure that archive-contents is valid before saving it.
7937 (package-activate-1, package-mark-obsolete, define-package)
7938 (package-compute-transaction, package-list-maybe-add): Use push.
7940 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7942 Use SMIE's blink-paren for octave-mode.
7943 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7944 Backslashes do not escape single-quotes, single-quotes do.
7945 (octave-block-else-regexp, octave-block-end-regexp)
7946 (octave-block-match-alist): Remove.
7947 (octave-smie-bnf-table): New var, with old content.
7948 (octave-smie-op-levels): Use it.
7949 (octave-smie-closer-alist): New var.
7950 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7951 (octave-blink-matching-block-open): Remove.
7952 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7953 (octave-electric-space): Let self-insert-command run expand-abbrev and
7956 * electric.el (electricity): New group.
7957 (electric-indent-chars): New var.
7958 (electric-indent-post-self-insert-function): New fun.
7959 (electric-indent-mode): New minor mode.
7960 (electric-pair-skip-self): New custom.
7961 (electric-pair-post-self-insert-function): New function.
7962 (electric-pair-mode): New minor mode.
7964 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7965 calcAlg-blink-matching-open.
7966 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7967 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7968 Use the new blink-matching-check-function.
7970 Provide blink-matching support to SMIE.
7971 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7972 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7973 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7975 * simple.el (newline): Fix last change to properly remove itself from
7978 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7980 * simple.el (newline): Eliminate optimization.
7981 Use post-self-insert-hook to set hard-newline and things before
7982 running post-self-insert-hook.
7983 (blink-matching-check-mismatch): New function.
7984 (blink-matching-check-function): New variable.
7985 (blink-matching-open): Use them.
7986 Skip back forward over prefix chars skipped by forward-sexp.
7987 Don't check if the parens are backslash escaped.
7988 (blink-paren-post-self-insert-function): Check backslash escaping here.
7990 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7992 * emacs-lisp/package.el (package-menu-mode-map):
7993 Change package-menu-revert bindings to revert-buffer.
7994 (package-menu-mode): Set revert-buffer-function.
7995 (package-menu-revert): Doc fix.
7997 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7999 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8000 `default-directory' unless using Ispell per-directory personal
8001 dictionaries and not in a mini-buffer under XEmacs.
8002 (kill-buffer-hook): Do not kill ispell process on exit when
8003 `ispell-process-directory' is "~/". (Bug#6143)
8005 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8007 * simple.el (kill-new): Call interprogram-cut-function with only
8010 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8011 Remove cut buffer from error message.
8013 * term/x-win.el (x-select-text):
8014 * term/pc-win.el (x-selection-value):
8015 * term/ns-win.el (x-selection-value):
8016 * eshell/em-term.el:
8017 * w32-fns.el (x-get-selection-value):
8018 * mouse-sel.el (mouse-sel-set-selection-function):
8019 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8021 * term/x-win.el: Update documentation for x-last-selected-text-*.
8022 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8023 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8024 (x-select-text): Remove argument PUSH, update documentation.
8025 Remove cut-buffer code.
8026 (x-selection-value-internal): Was previously x-selection-value.
8027 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8028 Update documentation, remove cut-buffer code.
8029 Call x-selection-value-internal.
8030 (x-clipboard-yank): Call x-selection-value-internal.
8031 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8033 * term/pc-win.el (x-last-selected-text):
8034 x-cut-buffer-or-selection-value renamed to x-selection-value
8035 (x-select-text): Remove argument PUSH, update documentation.
8037 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8038 x-cut-buffer-or-selection-value renamed to x-selection-value
8039 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8040 (x-select-text): Remove argument PUSH, update documentation.
8042 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8044 * w32-fns.el (x-last-selected-text):
8045 x-cut-buffer-or-selection-value renamed to x-selection-value.
8046 (x-cut-buffer-max): Remove.
8047 (x-select-text): Remove argument PUSH, update documentation.
8049 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8051 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8053 * mouse-sel.el (mouse-sel-get-selection-function):
8054 x-cut-buffer-or-selection-value renamed to x-selection-value.
8055 (x-select-text): Remove optional push.
8057 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8059 * simple.el (blink-paren-function): Move from C to here.
8060 (blink-paren-post-self-insert-function): New function.
8061 (post-self-insert-hook): Use it.
8063 * emacs-lisp/pcase.el (pcase-split-memq):
8064 Fix overenthusiastic optimisation.
8065 (pcase-u1): Handle the case of a lambda pred.
8067 2010-08-31 Kenichi Handa <handa@m17n.org>
8069 * international/mule-cmds.el (standard-display-european-internal):
8070 Setup standard-display-table for 8-bit characters by storing 8-bit
8071 characters in the element vector.
8073 * disp-table.el (standard-display-8bit):
8074 Setup standard-display-table for 8-bit characters by storing 8-bit
8075 characters in the element vector.
8076 (standard-display-european): Likewise.
8078 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8080 * textmodes/nroff-mode.el (nroff-view): New command.
8081 (nroff-mode-map): Bind it to C-c C-c.
8083 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8085 * emacs-lisp/smie.el (smie-down-list): New command.
8087 Remove old indentation and navigation code on octave-mode.
8088 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8089 smie-down-list rather than add a binding for octave-down-block.
8090 (octave-mark-block, octave-blink-matching-block-open):
8091 Rely on forward-sexp-function.
8092 (octave-fill-paragraph): Don't narrow, so you can use
8093 indent-according-to-mode.
8094 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8095 (octave-in-block-p, octave-re-search-forward-kw)
8096 (octave-re-search-backward-kw, octave-indent-calculate)
8097 (octave-end-as-array-index-p, octave-block-end-offset)
8098 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8099 (octave-down-block, octave-backward-up-block, octave-up-block)
8100 (octave-before-magic-comment-p, octave-indent-line): Remove.
8102 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8104 * emacs-lisp/package.el (package--read-archive-file): Just use
8105 `read', to avoid copying an additional string.
8106 (package-menu-mode): Set header-line-format here.
8107 (package-menu-refresh, package-menu-revert): Signal an error if
8108 not in the Package Menu.
8109 (package-menu-package-list): New var.
8110 (package--generate-package-list): Operate on the current buffer;
8111 don't assume that it is *Packages*, since the user may rename it.
8112 Allow persistent package listings and sort keys using
8113 package-menu-package-list and package-menu-package-sort-key.
8114 (package-menu--version-predicate): Fix version calculation.
8115 (package-menu-sort-by-column): Don't select the window.
8116 (package--list-packages): Create the *Packages* buffer.
8117 Set package-menu-package-list-key.
8118 (list-packages): Sorting by status is now the default.
8119 (package-buffer-info): Use match-string-no-properties.
8120 (define-package): Add a &rest argument for future proofing, but
8122 (package-install-from-buffer, package-install-buffer-internal):
8123 Merge into a single function, package-install-from-buffer.
8124 (package-install-file): Change caller.
8126 * finder.el: Load finder-inf using `require'.
8127 (finder-list-matches): Sorting by status is now the default.
8128 (finder-compile-keywords): Simpify printing.
8130 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8132 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8133 (octave-mode-map): Remove special bindings for forward/backward-block
8134 and octave-backward-up-block. Use smie-close-block.
8135 (octave-continuation-marker-regexp): New var.
8136 (octave-continuation-regexp): Use it.
8137 (octave-operator-table, octave-smie-op-levels)
8138 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8139 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8140 (octave-mode): Use SMIE.
8141 (octave-close-block): Delete.
8143 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8145 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8146 CLIPBOARD, not in PRIMARY. (Bug#6944)
8148 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8150 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8152 (smie-indent-column): Allow indirection through variables.
8154 * composite.el (save-buffer-state): Delete, unused.
8155 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8156 (font-lock-default-fontify-region): Use with-syntax-table.
8157 * jit-lock.el (with-buffer-unmodified): Remove.
8158 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8160 Use `declare' in defmacros.
8161 * window.el (save-selected-window):
8162 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8163 * progmodes/python.el (def-python-skeleton):
8164 * net/dbus.el (dbus-ignore-errors):
8165 * jka-cmpr-hook.el (with-auto-compression-mode):
8166 * international/mule.el (with-category-table):
8167 * emacs-lisp/timer.el (with-timeout):
8168 * emacs-lisp/lisp-mnt.el (lm-with-file):
8169 * emacs-lisp/eieio.el (with-slots):
8170 * emacs-lisp/easymenu.el (easy-menu-define):
8171 * emacs-lisp/debug.el (debugger-env-macro):
8172 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8173 (Multiple-value-call, Multiple-value-prog1):
8174 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8175 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8176 edebug rule to definition.
8177 * emacs-lisp/lisp-mode.el (save-selected-window)
8178 (with-current-buffer, combine-after-change-calls)
8179 (with-output-to-string, with-temp-file, with-temp-buffer)
8180 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8181 (dolist, dotimes, when, unless):
8182 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8184 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8186 * finder.el: Require `package'.
8187 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8188 (finder-package-info): Var deleted.
8189 (finder-keywords-hash, finder--builtins-alist): New vars.
8190 (finder-compile-keywords): Compute package--builtins and
8191 finder-keywords-hash instead of finder-keywords-hash, respecting
8192 the "Package" header.
8193 (finder-unknown-keywords, finder-list-matches):
8194 Use finder-keywords-hash and package--list-packages.
8195 (finder-mode): Don't set font-lock-defaults.
8196 (finder-exit): We don't use "*Finder-package*" and "*Finder
8197 Category*" buffers anymore.
8199 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8200 (package--builtins): Set default value to nil.
8201 (package-initialize): Load precomputed value of package--builtins
8203 (package-alist, package-compute-transaction)
8204 (package-download-transaction): Improve docstring.
8205 (package-read-all-archive-contents): Do not change
8206 package--builtins here.
8207 (list-packages): Make package-list-packages an alias for this.
8208 Sort by status by default.
8209 (package--list-packages): Add optional PACKAGES arg.
8210 (describe-package-1): Use font-lock-face property. For built-in
8211 packages, insert file commentary.
8212 (package--generate-package-list): Rename from
8213 package-list-packages-internal; all callers changed. Add optional
8214 PACKAGES arg. Add alphabetical sort fallbacks.
8215 (package-menu--version-predicate, package-menu--status-predicate)
8216 (package-menu--description-predicate)
8217 (package-menu--name-predicate): New functions.
8219 * info.el (Info-finder-find-node): Search package-alist instead of
8220 finder-package-info.
8222 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8224 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8226 (version-to-list): Handle versions like "10.3d".
8228 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8231 (macroexp-accumulate): Use `declare'.
8233 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8235 * whitespace.el (whitespace-style): Adjust type declaration.
8237 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8239 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8241 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8243 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8246 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8248 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8249 (js-paren-indent-offset, js-square-indent-offset)
8250 (js-curly-indent-offset): New options.
8251 (js--proper-indentation): Use them.
8253 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8255 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8256 instead of inspecting font-lock properties (Bug#6916).
8258 2010-08-26 David Reitter <david.reitter@gmail.com>
8260 * server.el (server-visit-files): Run pre-command-hook and
8261 post-command-hook for each buffer while it is current (Bug#6910).
8262 (server-execute): Do not run hooks here.
8264 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8266 Sync with Tramp 2.1.19.
8268 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8270 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8272 * net/tramp.el (tramp-handle-expand-file-name)
8273 (tramp-completion-handle-file-name-all-completions)
8274 (tramp-completion-handle-file-name-completion):
8275 Use `tramp-connectable-p'.
8277 * net/trampver.el: Update release number.
8279 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8281 * help.el (help-map): Bind `C-h P' to describe-package.
8283 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8285 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8286 when downloading archives.
8287 (describe-package-1): Add package commentary.
8288 (package-install-button-action): New function.
8289 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8290 (package-menu-view-commentary): Function removed.
8291 (package-list-packages-internal): Hide the `package' package too.
8293 2010-08-25 Kenichi Handa <handa@m17n.org>
8295 * language/misc-lang.el ("Arabic"): New language environment.
8296 Setup composition-function-table for Arabic characters.
8298 * international/fontset.el (setup-default-fontset): Fix typo for
8299 arabic OTF spec (fini->fina).
8301 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8303 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8306 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8308 * whitespace.el: Allow cleaning up blanks without blank
8309 visualization (Bug#6651). Adjust help window for
8310 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8311 instead of whitespace-line-column (from EmacsWiki). New version
8313 (whitespace-style): Add new value 'face. Adjust docstring.
8314 (whitespace-space, whitespace-hspace, whitespace-tab):
8315 Adjust foreground property face.
8316 (whitespace-line-column): Adjust docstring and type declaration.
8317 (whitespace-style-value-list, whitespace-toggle-option-alist)
8318 (whitespace-help-text): Adjust const initialization.
8319 (whitespace-toggle-options, global-whitespace-toggle-options):
8321 (whitespace-display-window, whitespace-interactive-char)
8322 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8323 (whitespace-help-scroll): New fun.
8325 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8327 * emacs-lisp/package.el (list-packages): Alias for
8328 package-list-packages.
8330 2010-08-24 Kevin Ryde <user42@zip.com.au>
8332 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8335 * progmodes/ruby-mode.el (ruby): Add defgroup.
8337 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8339 * progmodes/python.el: Add Ipython support (Bug#5390).
8340 (python-shell-prompt-alist)
8341 (python-shell-continuation-prompt-alist): New options.
8342 (python--set-prompt-regexp): New function.
8343 (inferior-python-mode, run-python, python-shell):
8344 Require ansi-color. Use python--set-prompt-regexp to set the comint
8345 prompt based on the Python interpreter.
8346 (python--prompt-regexp): New var.
8347 (python-check-comint-prompt)
8348 (python-comint-output-filter-function): Use it.
8349 (run-python): Use a pipe (Bug#5694).
8351 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8353 * progmodes/python.el (python-send-region): Send a different
8354 Python command if Ipython is in use.
8355 (python-check-version): Use a Python command to find the version.
8357 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8359 * mouse.el (mouse-yank-primary): Avoid setting primary when
8360 deactivating the mark (Bug#6872).
8362 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8364 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8365 with "else" (Bug#3991).
8367 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8369 * net/dbus.el: Accept UNIX domain sockets as bus address.
8370 (top): Don't initialize `dbus-registered-objects-table' anymore,
8371 this is done in dbusbind.c.
8372 (dbus-check-event): Adapt test for bus.
8373 (dbus-return-values-table, dbus-unregister-service)
8374 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8377 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8379 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8381 2010-08-22 Juri Linkov <juri@jurta.org>
8383 * simple.el (read-extended-command): New function with the logic
8384 for `completing-read' moved to Elisp from `execute-extended-command'.
8385 Use `function-called-at-point' in `minibuffer-default-add-function'
8386 to get a command name for M-n (bug#5364, bug#5214).
8388 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8390 * startup.el (command-line-1): Issue warning for ignored arguments
8391 --unibyte, etc (Bug#6886).
8393 2010-08-22 Leo <sdl.web@gmail.com>
8395 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8396 (ignore, bright, dim, keyword): Split list of nicknames before
8397 passing to rcirc-add-or-remove (Bug#6894).
8399 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8401 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8403 2010-08-22 Leo <sdl.web@gmail.com>
8405 Fix buffer-list rename&refresh after killing a buffer in ido.
8406 * ido.el: Revert Óscar's.
8407 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8408 Remember the buffers at head, rather than their name.
8409 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8411 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8412 Stefan Monnier <monnier@iro.umontreal.ca>
8414 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8415 extra backslash added to each line (bug#6890).
8417 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8419 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8421 2010-08-22 Glenn Morris <rgm@gnu.org>
8423 * menu-bar.el (menu-bar-games-menu): Add landmark.
8425 2010-08-22 Glenn Morris <rgm@gnu.org>
8427 * align.el (align-regexp): Make group and spacing arguments
8428 use the interactive defaults when non-interactive. (Bug#6698)
8430 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8431 expansion, so as not to need sendmail.
8432 (mail-text-start): Remove declaration.
8433 (rmail-retry-failure): Require sendmail.
8435 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8437 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8439 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8441 * progmodes/flymake.el (flymake-start-syntax-check-process):
8442 Use `start-file-process' in order to let it run also on remote hosts.
8444 2010-08-22 Kenichi Handa <handa@m17n.org>
8446 * files.el: Add `word-wrap' as safe local variable.
8448 2010-08-22 Glenn Morris <rgm@gnu.org>
8450 * woman.el (woman-translate): Case matters. (Bug#6849)
8452 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8454 * simple.el (kill-region): Doc fix (Bug#6787).
8456 2010-08-22 Glenn Morris <rgm@gnu.org>
8458 * calendar/diary-lib.el (diary-header-line-format):
8459 Fit it to the window, not the frame.
8461 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8463 * subr.el (ignore-errors): Add debug declaration.
8465 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8467 * whitespace.el (whitespace-color-off): Remove post-command-hook
8470 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8472 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8474 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8476 * cus-edit.el (custom-group-value-create): Add extra newline
8477 before end line (Bug#6876).
8479 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8481 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8482 when extending it. Before killing on the second click, check if
8483 the buffer is the correct one. Doc fix.
8484 (mouse-secondary-save-then-kill): Allow usage without first
8485 calling mouse-start-secondary, by defaulting to point. Don't save
8486 an empty secondary selection. Doc fix.
8488 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8490 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8491 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8493 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8494 Adjust initialization.
8495 (whitespace-bob-marker, whitespace-eob-marker)
8496 (whitespace-buffer-changed): New vars.
8497 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8498 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8499 (whitespace-post-command-hook, whitespace-display-char-on):
8501 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8502 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8504 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8506 * files.el (locate-file-completion-table): Only list the .el and .elc
8507 extensions if there's no other choice (bug#5955).
8509 * facemenu.el (facemenu-self-insert-data): New var.
8510 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8512 (facemenu-add-face): Use them.
8514 * simple.el (blink-matching-open): Obey forward-sexp-function.
8516 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8518 * simple.el (prog-mode-map): New var.
8519 (prog-indent-sexp): New command.
8521 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8523 * progmodes/prolog.el (smie): Require.
8525 * emacs-lisp/smie.el (smie-default-backward-token)
8526 (smie-default-forward-token): Strip properties.
8527 (smie-next-sexp): Be more careful with associative operators.
8528 (smie-forward-sexp-command): Generalize.
8529 (smie-backward-sexp-command): Simplify.
8530 (smie-closer-alist): New var.
8531 (smie-close-block): New command.
8532 (smie-indent-debug-log): New var.
8533 (smie-indent-offset-rule): Add a few more cases.
8534 (smie-indent-column): New function.
8535 (smie-indent-after-keyword): Use it.
8536 (smie-indent-keyword): Use it.
8537 Fix up the opener code's point position.
8538 (smie-indent-comment): Only applies at BOL.
8539 (smie-indent-debug): New command.
8541 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8542 declarations that are useful before running the macro.
8544 2010-08-18 Joakim Verona <joakim@verona.se>
8546 * image.el (imagemagick-types-inhibit): New variable.
8547 (imagemagick-register-types): New function.
8548 * image-mode.el (image-transform-properties): New function.
8549 (image-transform-set-scale, image-transform-fit-to-height)
8550 (image-transform-set-rotation, image-transform-set-resize)
8551 (image-transform-fit-to-width, image-transform-fit-to-height):
8553 (image-toggle-display-image): Support image transforms.
8555 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8557 * image.el (create-animated-image): Don't add heuristic mask to image
8560 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8562 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8563 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8565 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8567 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8569 Font-lock '...' strings, plus various simplifications and fixes.
8570 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8571 (octave-font-lock-close-quotes): New function.
8572 (octave-font-lock-syntactic-keywords): New var.
8573 (octave-mode): Use it. Set beginning-of-defun-function.
8574 (octave-mode-map): Don't override the <foo>-defun commands.
8575 (octave-mode-menu): Pass it directly to easy-menu-define;
8576 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8577 (octave-block-match-alist): Fix up last change so that
8578 octave-close-block uses the more specific keyword.
8579 (info-lookup-mode): Silence byte-compiler.
8580 (octave-beginning-of-defun): Not interactive any more.
8582 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8583 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8584 (octave-completion-at-point-function): Make sure point is within
8586 (octave-reindent-then-newline-and-indent):
8587 Use reindent-then-newline-and-indent.
8588 (octave-add-octave-menu): Remove.
8590 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8592 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8593 (report-emacs-bug-can-use-xdg-email): New functions.
8594 (report-emacs-bug): Set can-xdg-email to result of
8595 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8596 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8599 * net/browse-url.el (browse-url-default-browser): Add cond
8600 for browse-url-xdg-open.
8601 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8603 2010-08-17 Glenn Morris <rgm@gnu.org>
8605 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8606 (c-fontify-recorded-types-and-refs): Define for compiler.
8607 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8610 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8613 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8615 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8617 (tramp-handle-process-file): Call the program in a subshell, in
8618 order to preserve working directory.
8619 (tramp-action-password): Hide password prompt before next run.
8620 (tramp-process-actions): Widen connection buffer for the trace.
8622 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8624 * net/rcirc.el (rcirc-log-process-buffers): New option.
8625 (rcirc-print): Use it.
8626 (rcirc-generate-log-filename): New function.
8627 (rcirc-log-filename-function): Change default to
8628 rcirc-generate-log-filename (Bug#6828).
8630 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8632 * simple.el (deactivate-mark): If select-active-regions is `only',
8633 only set selection for temporarily active regions.
8635 * cus-start.el: Change defcustom for select-active-regions.
8637 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8639 * mouse.el (mouse--drag-set-mark-and-point): New function.
8640 (mouse-drag-track): Use LOCATION arg to push-mark.
8641 Use mouse--drag-set-mark-and-point to take click-count into
8642 consideration when updating point and mark (Bug#6840).
8644 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8646 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8647 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8649 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8651 * font-lock.el (lisp-font-lock-keywords-2):
8652 Add combine-after-change-calls, condition-case-no-debug,
8653 with-demoted-errors, and with-silent-modifications (Bug#6025).
8655 2010-08-14 Kevin Ryde <user42@zip.com.au>
8657 * emacs-lisp/copyright.el (copyright-update-year)
8658 (copyright-update): Temporary switch-to-buffer to ensure the
8659 buffer change being queried is visible (Bug#5394).
8661 2010-08-14 Tom Tromey <tromey@redhat.com>
8663 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8666 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8668 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8671 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8673 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8674 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8675 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8676 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8677 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8678 Call menu-bar-set-tool-bar-position.
8680 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8682 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8683 comment style (bug#6834).
8684 * progmodes/scheme.el (scheme-mode-syntax-table):
8685 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8686 "b" flag in "' 14b" syntax.
8688 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8689 for (un)commenting the region and performing completion.
8690 (octave-mode-menu): Use standard commands for help and completion.
8691 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8692 (octave-mode): Use define-derived-mode.
8693 Set completion-at-point-functions and don't set columns.
8694 Don't disable adaptive-fill-regexp.
8695 (octave-describe-major-mode, octave-comment-region)
8696 (octave-uncomment-region, octave-comment-indent)
8697 (octave-indent-for-comment): Remove.
8698 (octave-indent-calculate): Rename from calculate-octave-indent.
8699 (octave-indent-line, octave-fill-paragraph): Update caller.
8700 (octave-initialize-completions): No need to make an alist.
8701 (octave-completion-at-point-function): New function.
8702 (octave-complete-symbol): Use it.
8703 (octave-insert-defun): Use define-skeleton.
8705 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8706 (octave-mode-map): Use comment-dwim (bug#6829).
8708 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8710 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8711 indentation of inserted comment.
8713 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8715 * faces.el (region): Add type gtk that uses gtk colors.
8717 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8718 Handle theme-name change.
8720 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8722 * progmodes/sql.el: Version 2.5
8723 (sql-product-alist): Add :prompt-cont-regexp property for several
8725 (sql-prompt-cont-regexp): New variable.
8726 (sql-output-newline-count, sql-output-by-send):
8727 New variables. Record number of newlines in input text.
8728 (sql-send-string): Handle multiple filters and count newlines.
8729 (sql-send-magic-terminator): Count terminator newline.
8730 (sql-interactive-remove-continuation-prompt): Filters output to
8731 remove continuation prompts; one for each newline.
8732 (sql-interactive-mode): Set up new variables, prompt regexp and
8734 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8735 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8737 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8739 * emacs-lisp/pcase.el: New file.
8741 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8743 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8744 as here-document, otherwise the command could exceed maximum
8745 length of command line.
8746 (tramp-handle-vc-registered): Call script accordingly.
8747 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8749 2010-08-10 Kenichi Handa <handa@m17n.org>
8751 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8754 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8756 * emacs-lisp/package.el (package-version-split)
8757 (package--version-first-nonzero, package-version-compare):
8759 (package-directory-list, package-load-all-descriptors)
8760 (package--built-in, package-activate, define-package)
8761 (package-installed-p, package-compute-transaction)
8762 (package-read-all-archive-contents)
8763 (package--add-to-archive-contents, package-buffer-info)
8764 (package-tar-file-info, package-list-packages-internal):
8765 Use version-to-list and version-list-*.
8767 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8768 Use version-to-list.
8769 (package-upload-buffer-internal): Use version-list-<=.
8771 2010-08-09 Kenichi Handa <handa@m17n.org>
8773 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8776 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8778 * tutorial.el (tutorial--default-keys): C-d is now bound to
8779 delete-forward-char (Bug#6826).
8781 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8782 for `double' value of mouse-1-click-follows-link (Bug#6807).
8784 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8786 * replace.el (replace-highlight): Bind isearch-forward and
8787 isearch-error, ensuring that highlighting is updated if the user
8788 switches the search direction (Bug#6808).
8790 * isearch.el (isearch-lazy-highlight-forward): New var.
8791 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8792 (isearch-lazy-highlight-update): Use it.
8794 2010-08-08 Kenichi Handa <handa@m17n.org>
8796 * international/mule.el (define-charset): Store NAME as :base property.
8797 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8798 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8799 current priority. Force using the designation of the specific
8800 charset by adding `charset' text property. Improve the whole algorithm.
8802 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8804 * emulation/pc-select.el (pc-selection-mode-hook)
8805 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8806 (pc-selection-mode): Fix typos in docstrings.
8808 2010-08-08 Kenichi Handa <handa@m17n.org>
8810 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8811 ctext-non-standard-encodings-alist here.
8813 * international/mule.el (ctext-non-standard-encodings-alist):
8814 Add "koi8-r" and "microsoft-cp1251".
8815 (ctext-standard-encodings): New variable.
8816 (ctext-non-standard-encodings-table): List only elements for
8817 non-standard encodings.
8818 (ctext-pre-write-conversion): Adjust for the above change.
8819 Check ctext-standard-encodings.
8821 * international/mule-conf.el (compound-text): Doc fix.
8822 (ctext-no-compositions): Doc fix.
8823 (compound-text-with-extensions): Doc fix.
8825 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8829 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8831 * progmodes/which-func.el (which-func-format): Split help-echo text
8832 into lines, like other mode-line tooltips.
8834 * server.el (server-start): When using TCP sockets, force IPv4
8835 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8837 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8841 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8843 * term.el (term-delimiter-argument-list): Reflow docstring.
8844 (term-read-input-ring, term-write-input-ring, term-send-input)
8845 (term-bol, term-erase-in-display, serial-supported-or-barf):
8846 Fix typos in docstrings.
8848 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8852 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8854 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8856 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8858 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8859 Fix typo in docstring (bug#6747).
8861 2010-08-08 Leo <sdl.web@gmail.com>
8863 * eshell/esh-io.el (eshell-get-target): Better detection of
8864 read-only file (Bug#6762).
8866 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8868 * align.el (align-default-spacing): Doc fix.
8869 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8871 2010-08-08 Stephen Peters <speters@itasoftware.com>
8873 * calendar/icalendar.el
8874 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8875 (icalendar--get-weekday-numbers): New.
8876 (icalendar--convert-recurring-to-diary): Handle multiple byday
8877 values in weekly rules. (Bug#6766)
8879 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8881 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8882 (icalendar--create-uid, icalendar-export-region)
8883 (icalendar--parse-summary-and-rest): Code formatting.
8885 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8887 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8888 to italicize headers.
8889 (calc-highlight-selections-with-faces): New variable.
8890 (calc-selected-face, calc-nonselected-face): New faces.
8892 * calc/calccomp.el (math-comp-highlight-string): Use
8893 `calc-highlight-selections-with-faces' to determine how to highlight
8896 * calc/calc-sel.el (calc-show-selections): Change message to when
8897 using faces to highlight selections.
8899 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8901 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8902 Add SQLite 3 keywords, functions and datatypes.
8903 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8906 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8908 * simple.el (select-active-regions): Move to keyboard.c.
8909 (deactivate-mark): Used saved-region-selection.
8910 (select-active-region): Function removed.
8911 (activate-mark, set-mark, push-mark-command)
8912 (handle-shift-selection): Don't call it.
8913 (keyboard-quit): Avoid adding the region to the window selection.
8915 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8916 select-active-regions implementation.
8917 (mouse-yank-at-click): Doc fix.
8919 * cus-start.el: Add custom declaration for select-active-regions.
8921 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8923 * simple.el (delete-forward-char): Doc fix.
8925 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8926 after reading the tutorial.
8928 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8930 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8931 Fix for the case that a C style comment has its delimiters alone on
8932 their respective lines. (Bug#193)
8934 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8936 * net/tramp.el (tramp-handle-start-file-process): Set connection
8938 (tramp-process-sentinel): Use it for flushing the cache.
8939 We cannot do it via the process buffer, the buffer could be deleted
8940 already when running the sentinel.
8942 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8944 * comint.el (comint-mode): Make directory tracking functions
8945 functional on remote files. (Bug#6764)
8947 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8949 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8951 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8953 * emacs-lisp/find-gc.el (find-gc-source-files):
8954 Rename unexec.c => unexcoff.c.
8956 * emacs-lisp/authors.el (authors-fixed-entries):
8957 Rename unexec.c => unexcoff.c.
8959 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8961 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8962 cache, not only file cache.
8963 (tramp-process-sentinel): New defun.
8964 (tramp-handle-start-file-process): Use it, in order to invalidate
8967 2010-08-03 Leo <sdl.web@gmail.com>
8969 * server.el (server-start): Simplify loop.
8971 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8973 * frame.el (screen-height, screen-width, set-screen-width)
8974 (set-screen-height): Remove ancient compatibility aliases.
8976 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8977 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8979 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8980 that change current buffer.
8982 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8984 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8985 beginning of the string. Use `string-match-p'. (Bug#6765)
8987 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8989 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8991 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8993 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8994 (package--builtins): Tweak descriptions.
8995 (package-print-package): Upcase descriptions if necessary.
8996 Show all built-in packages in font-lock-builtin-face.
8997 (package-list-packages-internal): Omit "emacs" package.
8998 Show status of built-in packages as "built-in".
9000 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9002 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9003 before killing to preserve the primary selection (Bug#6701).
9005 * term/x-win.el (x-select-text): Doc fix.
9007 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9009 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9010 (objc-font-lock-extra-types):
9011 * progmodes/cc-mode.el (c-basic-common-init):
9012 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9013 (c++-make-template-syntax-table)
9014 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9015 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9016 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9017 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9018 * progmodes/cc-fonts.el (c-make-inverse-face)
9019 (c-basic-matchers-after):
9020 * progmodes/cc-engine.el (c-forward-keyword-clause)
9021 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9022 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9023 (c-guess-continued-construct, c-guess-basic-syntax):
9024 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9025 The above functions were modified or created.
9027 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9029 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9031 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9033 * files.el (bidi-paragraph-direction): Define safe local values.
9035 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9036 language-info-alist. Remove outdated FIXME in a comment.
9038 2010-07-31 Alan Mackenzie <acm@muc.de>
9040 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9041 Auto-fill broken in C/C++ modes.
9043 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9045 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9046 (menu-bar-showhide-tool-bar-menu-customize-disable)
9047 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9048 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9049 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9050 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9051 make a menu for Options => toolbar that can move it.
9053 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9055 * emacs-lisp/package-x.el (package--make-rss-entry):
9056 (package-maint-add-news-item, package--update-news)
9057 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9059 * emacs-lisp/package.el (package-archive-url): Rename from
9061 (package-install): Doc fix.
9062 (package-download-single, package-download-tar, package-install)
9063 (package-menu-view-commentary): Callers changed.
9065 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9067 * net/tramp.el (tramp-handle-start-file-process): Check only for
9068 `remote-tty' process property.
9069 (tramp-open-shell): Don't check for tty.
9070 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9073 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9076 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9078 * emacs-lisp/package.el (package-load-list, package-archives)
9079 (package-archive-contents, package-user-dir)
9080 (package-directory-list, package--builtins, package-alist)
9081 (package-activated-list, package-obsolete-alist): Mark as risky.
9083 2010-07-28 Phil Hagelberg <phil@evri.com>
9085 Add support for non-default package repositories.
9086 * emacs-lisp/package.el (package-archive-base): Var deleted.
9087 (package-archives): New variable.
9088 (package-archive-contents): Doc fix.
9089 (package-load-descriptor): Do nothing if descriptor file is missing.
9090 (package--write-file-no-coding): New function.
9091 (package-unpack-single): Use it.
9092 (package-archive-id): New function.
9093 (package-download-single, package-download-tar)
9094 (package-menu-view-commentary): Use it.
9095 (package-installed-p): Make second argument optional.
9096 (package-read-all-archive-contents): New function.
9097 (package-initialize): Use it.
9098 (package-read-archive-contents): Add ARCHIVE argument.
9099 (package--add-to-archive-contents): New function.
9100 (package-install): Don't call package-read-archive-contents.
9101 (package--download-one-archive): Store archive file in a
9102 subdirectory of package-user-dir.
9103 (package-menu-execute): Remove spurious line movement.
9105 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9107 * cus-start.el (tool-bar-style): Add text-image-horiz.
9109 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9111 * progmodes/gud.el (gud-common-init): Check for remoteness of
9112 `file', and not of `default-directory'.
9114 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9116 * net/tramp.el (tramp-methods): Move hostname to the end in all
9117 ssh `tramp-login-args'.
9118 (tramp-verbose): Describe verbose level 9.
9119 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9120 (tramp-open-connection-setup-interactive-shell): Trace stty
9121 settings if `tramp-verbose' >= 9.
9122 (tramp-handle-start-file-process): Implement tty setting.
9123 (Bug#4604, Bug#6360)
9125 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9126 `tramp-verbose' to 9.
9128 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9130 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9131 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9132 Remove references to package `lisp-re' (bug#4369).
9134 2010-07-27 Tom Tromey <tromey@redhat.com>
9136 * progmodes/js.el (js-mode):
9137 * progmodes/make-mode.el (makefile-mode):
9138 * progmodes/simula.el (simula-mode):
9139 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9141 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9143 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9145 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9146 (display-time-world-buffer-name, display-time-world-mode-map):
9147 Fix typos in docstrings.
9149 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9151 * image-mode.el (image-display-size): New function.
9152 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9153 (image-mode-fit-frame): Use it (Bug#6639).
9155 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9157 * dired.el (dired-buffers-for-dir): Handle list values of
9158 dired-directory (Bug#6636).
9160 2010-07-26 Sam Steingold <sds@gnu.org>
9162 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9163 Do not call `x-get-selection' the second time, reuse the value.
9165 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9167 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9168 which consist of control chars only. Suggested by Richard Stallman.
9170 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9172 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9173 exists before passing an error to find-file-not-found-functions
9176 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9178 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9179 Remove leading nil element, adjust values.
9180 (tetris-shapes, tetris-shape-scores):
9181 Change representation of shapes and remove some redundancy.
9182 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9183 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9184 Adjust for working with new representation of shapes.
9185 (tetris-shape-rotations): New function.
9186 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9187 (tetris-rotate-prev, tetris-rotate-next):
9188 Adjust for working with the new version of tetris-test-shape.
9190 2010-07-23 Markus Triska <markus.triska@gmx.at>
9192 * progmodes/ps-mode.el: Use comint (bug#5954).
9193 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9194 (ps-mode-other-newline): Simplify.
9195 (ps-run-mode): Derive from comint-mode instead of
9196 fundamental-mode, yielding input history etc.
9197 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9198 (ps-run-send-string): Adapt for comint-mode.
9199 (ps-run-newline): Remove now unneeded function.
9201 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9203 * net/tramp.el (tramp-methods): Move hostname to the end in all
9204 plink `tramp-login-args'.
9206 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9208 * net/tramp.el (tramp-open-shell): New defun.
9209 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9212 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9214 * net/tramp.el (tramp-file-name-regexp-unified)
9215 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9216 not regard the volume letter as remote filename. (Bug#5447)
9218 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9220 * custom.el (custom-declare-variable): Give a clearer error message
9221 when the docstring is missing (bug#6476).
9223 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9225 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9226 (sql-login-params): New widget definition.
9227 (sql-oracle-login-params, sql-mysql-login-params)
9228 (sql-solid-login-params, sql-sybase-login-params)
9229 (sql-informix-login-params, sql-ingres-login-params)
9230 (sql-ms-login-params, sql-postgres-login-params)
9231 (sql-interbase-login-params, sql-db2-login-params)
9232 (sql-linter-login-params): Use it.
9233 (sql-sqlite-login-params): Use it; Define "database" parameter as
9235 (sql-sqlite-program): Change to "sqlite3".
9236 (sql-comint-sqlite): Make sure database name is complete.
9237 (sql-for-each-login): New function.
9238 (sql-connect, sql-save-connection): Use it.
9239 (sql-get-login-ext): New function.
9240 (sql-get-login): Use it.
9241 (sql-make-alternate-buffer-name): Handle :file parameters.
9243 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9245 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9246 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9248 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9250 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9252 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9254 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9256 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9258 * net/tramp.el (tramp-get-ls-command)
9259 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9262 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9264 * progmodes/sql.el: Version 2.3.
9265 (sql-connection-alist): Change keys from symbols to strings;
9266 enhanced the widget definition.
9267 (sql-mode-menu): Add submenu to select connections.
9268 (sql-interactive-mode-menu): Add "Save Connection" item.
9269 (sql-add-product): Fix menu item.
9270 (sql-get-product-feature): Improved error handling.
9271 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9272 (sql-make-alternate-buffer-name): Simplified.
9273 (sql-product-interactive): Handle missing product.
9274 (sql-connect): Support string keys, minor improvements.
9275 (sql-save-connection): New function.
9276 (sql-connection-menu-filter): New function.
9278 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9280 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9281 (tramp-open-connection-setup-interactive-shell):
9282 Apply workaround for IRIX64 bug. Move argument of last
9283 `tramp-send-command' where it belongs to.
9285 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9287 * net/tramp.el (tramp-perl-file-attributes)
9288 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9289 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9290 front of `login-args'.
9292 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9294 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9295 Set `show-trailing-whitespace' to nil.
9296 (display-time-world-display): Simplify.
9298 2010-07-18 Alan Mackenzie <acm@muc.de>
9300 Enhance `c-file-style' in file/directory local variables.
9301 * progmodes/cc-mode.el (c-count-cfss): New function.
9302 (c-before-hack-hook): Call `c-set-style' differently according to
9303 whether c-file-style was set in file or directory local
9306 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9308 * progmodes/sql.el: Version 2.2.
9309 (sql-product, sql-user, sql-database, sql-server, sql-port):
9310 Use defcustom :safe keyword rather than putting safe-local-variable
9312 (sql-password): Use defcustom :risky keyword rather than putting
9313 risky-local-variable property.
9314 (sql-oracle-login-params, sql-sqlite-login-params)
9315 (sql-solid-login-params, sql-sybase-login-params)
9316 (sql-informix-login-params, sql-ingres-login-params)
9317 (sql-ms-login-params, sql-postgres-login-params)
9318 (sql-interbase-login-params, sql-db2-login-params)
9319 (sql-linter-login-params): Add `port' option.
9320 (sql-get-product-feature): Add NO-INDIRECT parameter.
9321 (sql-comint-oracle, sql-comint-sybase)
9322 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9323 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9324 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9325 (sql-comint-linter): Rename sql-connect-* functions to
9327 (sql-product-alist, sql-mode-menu): Rename as above and
9328 :sqli-connect-func to :sqli-comint-func.
9329 (sql-connection): New variable.
9330 (sql-interactive-mode): Set it.
9331 (sql-connection-alist): New variable.
9332 (sql-connect): New function.
9333 (sql--alt-buffer-part, sql--alt-if-not-empty)
9334 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9336 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9338 * image-mode.el (image-bookmark-make-record): Do not set context
9339 in an image (Bug#6650).
9341 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9343 * simple.el (select-active-region): New function.
9344 (push-mark-command, set-mark, activate-mark)
9345 (handle-shift-selection): Use it.
9346 (deactivate-mark): Don't check for size of region.
9348 * mouse.el (mouse-drag-track): Use select-active-region.
9350 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9352 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9355 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9357 * term/x-win.el (x-select-enable-primary): Change default to nil.
9358 (x-select-enable-clipboard): Add :version keyword.
9360 * mouse.el (mouse-drag-copy-region):
9361 * simple.el (select-active-regions): Likewise.
9363 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9365 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9366 (vc-coding-system-for-diff): Use it to decide whether to inherit
9367 from the file the EOL format for reading the diffs of that file.
9370 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9372 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9373 unibyte, so compressed attachments are not compressed again.
9375 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9377 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9378 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9379 (tramp-find-shell): Simplify setting connection property.
9380 (tramp-get-ls-command): Make test for "--color=never" stronger.
9382 2010-07-15 Simon South <ssouth@member.fsf.org>
9384 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9385 blocks within record declarations (i.e. variant parts) correctly.
9387 2010-07-15 Simon South <ssouth@member.fsf.org>
9389 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9390 over literal tokens when parsing so newlines aren't "absorbed" by
9391 single-line comments. Corrects the indentation of case blocks
9392 that have a comment on the first line.
9394 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9396 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9397 by Drew Adams (Bug#5504).
9399 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9401 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9402 now that Unicode is used (Bug#6594).
9404 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9406 * term/x-win.el (x-select-enable-clipboard): Default to t.
9407 (x-initialize-window-system): Don't overwrite Paste menu item.
9409 * simple.el (select-active-regions): Default to t.
9410 (push-mark-command): Don't overwrite primary with empty string.
9412 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9413 (mouse-drag-copy-region): Default to nil.
9415 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9416 Cut/Copy/Paste menu bar items.
9418 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9420 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9421 Patch applied by Karl Fogel.
9423 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9424 and `bookmark-current-buffer' if they have been already set in
9425 another buffer (e.g gnus-art).
9427 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9428 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9430 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9432 * bookmark.el (bookmark-make-record-default): Allow unneeded
9433 information to be omitted from the record.
9435 Adjust declarations and calls:
9437 * info.el (bookmark-make-record-default): Adjust declaration.
9438 (Info-bookmark-make-record): Adjust call.
9440 * woman.el (bookmark-make-record-default): Adjust declaration.
9441 (woman-bookmark-make-record): Adjust call.
9443 * man.el (bookmark-make-record-default): Adjust declaration.
9444 (Man-bookmark-make-record): Adjust call.
9446 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9448 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9450 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9452 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9453 This is also from Thierry Volpiatto's patch in bug #6444. However,
9454 because it was extraneous to the functional change in that patch,
9455 and causes a re-indendation, I am committing it separately.
9457 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9459 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9460 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9461 Patch applied by Karl Fogel (Bug#6444).
9463 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9465 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9467 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9469 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9470 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9471 (ns-alternatives-map): Change S-tab binding to backtab
9474 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9477 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9479 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9482 * language/tv-util.el (tai-viet-re): Remove format.
9484 2010-07-12 Kenichi Handa <handa@m17n.org>
9486 * language/hebrew.el: Remove no-byte-compile declaration.
9487 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9488 composition-function-table for 3-character looking back.
9489 (hebrew-font-get-precomposed): New function.
9490 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9492 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9494 * mouse.el (mouse-drag-track): Handle select-active-regions
9497 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9499 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9500 empty argument to gvfs-copy.
9502 2010-07-10 Glenn Morris <rgm@gnu.org>
9504 * calendar/calendar.el (calendar-week-end-day): New function.
9505 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9506 Respect calendar-week-start-day. (Bug#6606)
9507 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9508 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9509 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9510 respect calendar-week-start-day.
9512 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9514 * simple.el (use-region-p): Doc fix (Bug#6607).
9516 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9518 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9519 Add regexps for cucumber and ruby.
9521 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9523 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9524 (epa-file-insert-file-contents): Hack to prevent
9525 find-file from opening empty buffer when decryption failed
9528 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9530 * textmodes/ispell.el (ispell-alternate-dictionary):
9531 Use file-readable-p.
9532 Return nil if no word-list is found at default locations.
9533 (ispell-complete-word-dict): Default to nil.
9534 (ispell-command-loop): Use 'word-list' when using lookup-words.
9535 (lookup-words): Use ispell-complete-word-dict or
9536 ispell-alternate-dictionary. Check for word-list availability
9537 and handle errors if needed with better messages (Bug#6539).
9538 (ispell-complete-word): Use ispell-complete-word-dict or
9539 ispell-alternate-dictionary.
9541 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9543 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9544 builtins (BufferError, BytesWarning, WindowsError; callables
9545 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9547 2010-07-07 Glenn Morris <rgm@gnu.org>
9549 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9550 (zone-shift-left): Ignore intangibility, and any errors from
9552 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9553 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9554 deleting, and copying text properties.
9555 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9556 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9557 to point-max is hard.
9558 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9559 (zone-fill-out-screen): Ignore intangibility.
9561 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9563 * menu-bar.el (menu-bar-mode):
9564 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9567 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9568 word/line selection (Bug#6565).
9570 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9572 * net/dbus.el (dbus-send-signal): Declare function.
9574 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9576 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9577 (dbus-register-property): New optional argument EMITS-SIGNAL.
9578 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9580 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9582 * mouse.el (mouse-drag-overlay): Variable deleted.
9583 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9584 (mouse--remap-link-click-p): New function.
9585 (mouse-drag-track): Handle dragging by using temporary Transient
9586 Mark mode, instead of a special overlay.
9587 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9590 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9593 2010-07-02 Juri Linkov <juri@jurta.org>
9595 * autoinsert.el (auto-insert-alist): Fix readability
9596 by using dotted pair notation for lambda.
9598 2010-07-02 Juri Linkov <juri@jurta.org>
9600 * faces.el (read-face-name): Rename arg `string-describing-default'
9601 to `default'. Doc fix. Display the default value in quotes
9602 in the prompt. With empty input, return the `default' arg,
9603 unless the default value is a string (in which case return nil).
9604 (describe-face): Replace the string `default' arg of `read-face-name'
9605 with the symbol `default'.
9607 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9609 * emulation/viper-cmd.el (viper-delete-backward-char)
9610 (viper-del-backward-char-in-insert)
9611 (viper-del-backward-char-in-replace, viper-change)
9612 (viper-backward-indent): Replace delete-backward-char with
9613 delete-char (Bug#6552).
9615 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9617 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9619 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9621 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9622 argument passed to frame-creation-function (Bug#5378).
9624 * faces.el (x-handle-named-frame-geometry)
9625 (x-handle-reverse-video, x-create-frame-with-faces)
9626 (face-set-after-frame-default, tty-create-frame-with-faces):
9627 Don't separately consult default-frame-alist. It is now passed as the
9630 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9632 * startup.el (command-line): Don't call tool-bar-setup in a
9635 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9637 * ruler-mode.el (ruler--save-header-line-format): New fun.
9638 (ruler-mode): Use it as a setter function, so as not to overwrite
9639 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9641 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9643 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9644 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9645 (vc-log-outgoing): Use it.
9646 (vc-diff-internal): Set diff-vc-backend.
9648 * vc/diff-mode.el (diff-vc-backend): New var.
9650 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9652 * dynamic-setting.el (font-setting-change-default-font):
9653 Remove call to message.
9655 2010-06-28 Kenichi Handa <handa@m17n.org>
9657 * international/quail.el (quail-insert-kbd-layout): Fix the
9658 showing of untranslated characters.
9660 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9662 * simple.el (delete-active-region): New option.
9663 (delete-backward-char): Implement in Lisp.
9664 (delete-forward-char): New command.
9666 * mouse.el (mouse-region-delete-keys): Delete.
9667 (mouse-show-mark): Simplify.
9669 * bindings.el (global-map): Bind delete and DEL, the former to
9670 delete-forward-char.
9672 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9674 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9675 (ruby-mode): Bind indent-line-function (Bug#5119).
9677 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9679 * startup.el (command-line): Recognize "0" X resource value.
9681 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9683 * startup.el (command-line): Use X resources to set the value of
9684 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9686 * menu-bar.el (menu-bar-mode):
9687 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9688 Set init-value to t.
9690 * frame.el (frame-notice-user-settings): Don't change
9691 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9692 vice versa (Bug#2249).
9694 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9696 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9698 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9700 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9701 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9703 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9704 default directories are expanded (Bug#6143).
9706 2010-06-24 Juri Linkov <juri@jurta.org>
9708 * minibuffer.el (completions-format): Change default from nil to
9709 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9711 2010-06-24 Juri Linkov <juri@jurta.org>
9713 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9714 buffer-locally to lambda that re-runs the vc diff command.
9717 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9719 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9720 echo area is in use (Bug#3412).
9722 2010-06-22 Glenn Morris <rgm@gnu.org>
9724 * textmodes/texinfmt.el (texinfo-format-region)
9725 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9726 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9727 (texinfo-format-option, texinfo-noindent):
9728 Use line-beginning-position and line-end-position.
9730 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9731 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9732 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9735 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9737 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9738 forward-line fallout.
9740 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9742 * mouse.el (mouse-appearance-menu): Add docstring.
9744 * help.el (describe-key): Print up-event using key-description.
9746 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9748 * net/zeroconf.el (zeroconf-resolve-service)
9749 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9750 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9752 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9754 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9756 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9758 Avoid displaying files with a nil state in vc-dir.
9759 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9760 cases that cause insertion.
9761 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9764 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9766 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9768 2010-06-29 Leo <sdl.web@gmail.com>
9770 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9772 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9774 * generic-x.el (bat-generic-mode): Fix regexp for command line
9775 switches (Bug#5719).
9777 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9779 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9780 of nconc to avoid pure storage error (Bug#6239).
9782 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9784 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9785 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9786 bindings of bookmark-automatically-show-annotations (Bug#6515).
9788 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9790 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9791 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9793 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9795 * comint.el (make-comint, make-comint-in-buffer): Mention return
9796 value in the docstrings. (Bug#6498)
9798 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9800 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9801 since it is not present when using some non-default switches.
9803 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9805 * simple.el (compose-mail): Fix doc string to refer to
9806 `compose-mail-user-agent-warnings', instead of to the
9807 nonexistent `compose-mail-check-user-agent'.
9809 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9811 Fix an indentation bug:
9813 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9814 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9817 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9818 (c-clear->-pair-props-if-match-before): now return t when they've
9819 cleared properties, nil otherwise.
9820 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9821 by taking account of the existing value.
9823 * progmodes/cc-defs.el
9824 (c-clear-char-property-with-value-function): Fix this to clear the
9825 property rather than overwriting it with nil.
9827 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9829 * emacs-lisp/package.el (package-print-package): Add link to
9830 package description via describe-package.
9831 (describe-package-1): List package requirements. Add button to
9832 perform installation.
9833 (package-menu-describe-package): New command.
9835 * help-mode.el (help-package): New button type.
9837 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9839 * emacs-lisp/package.el: Move package-list-packages binding to
9841 (describe-package, describe-package-1, package--dir): New funs.
9842 (package-activate-1): Use package--dir.
9844 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9846 * help-mode.el (help-package-def): New button type.
9848 * menu-bar.el: Move package-list-packages binding here from
9851 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9853 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9855 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9857 * emacs-lisp/edebug.el (edebug-read-list):
9858 Phase out old-style backquotes.
9860 2010-06-17 Juri Linkov <juri@jurta.org>
9862 * help-mode.el (help-mode): Set buffer-local variable
9863 revert-buffer-function to help-mode-revert-buffer.
9864 (help-mode-revert-buffer): New function.
9866 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9867 before popping to "*info*" (like in other Info functions).
9868 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9869 old-history-forward. Pop to old-buffer-name or "*info*" to
9870 recreate the killed buffer. Set Info-history-forward from
9871 old-history-forward.
9872 (Info-breadcrumbs-depth): Add :group and :version.
9874 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9876 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9878 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9880 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9881 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9883 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9885 * emacs-lisp/package.el (package-menu-mode-map):
9886 Move initialization into declaration.
9888 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9890 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9892 * emacs-lisp/package.el (package-archive-base): Point to
9894 (package-enable, package-load-list): New defcustoms.
9895 (package-user-dir, package-directory-list): Turn into defcustoms.
9896 Don't include package-user-dir in package-directory-list.
9897 (package--builtins-base): Don't include Emacs as a "package".
9898 (package-subdirectory-regexp): New var.
9899 (package-load-all-descriptors, package-compute-transaction)
9900 (package-download-transaction): Obey package-load-list.
9901 (package-activate-1): Rename from package-do-activate.
9902 (package-list-packages-internal): Check package-load-list.
9903 (package-load-descriptor, package-generate-autoloads)
9904 (package-unpack, package-unpack-single)
9905 (package--read-archive-file, package-delete):
9906 Use expand-file-name.
9908 * emacs-lisp/package-x.el: New file. Package uploading
9909 functionality split out from package.el.
9911 * startup.el (command-line): Load packages after reading init file.
9913 2010-06-17 Tom Tromey <tromey@redhat.com>
9915 * emacs-lisp/package.el: New file.
9917 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9919 Fix vc-annotate for renamed files when using Git.
9920 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9921 ls-files. Doe not pass the object as a file name to cat-file, it
9923 (vc-git-annotate-command): Pass the file name using -- to avoid
9924 ambiguity with the revision.
9925 (vc-git-previous-revision): Pass a relative file name.
9927 2010-06-22 Glenn Morris <rgm@gnu.org>
9929 * progmodes/js.el (js-mode-map): Use standard capitalization and
9930 ellipses for menu entries.
9932 * wid-edit.el (widget-complete): Doc fix.
9934 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9936 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9938 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9940 Fix annotating other revisions for renamed files in vc-annotate.
9941 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9942 VC backend. Use it when non-nil.
9943 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9946 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9947 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9948 Do not pass the file name to the 'previous-revision call when we
9949 don't want a file diff. (Bug#6489)
9951 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9953 Fix finding revisions for renamed files in vc-annotate.
9954 * vc/vc.el (vc-find-revision): Add an optional argument for
9955 the VC backend. Use it when non-nil.
9956 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9957 backend to vc-find-revision. (Bug#6487)
9959 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9961 Fix reading file names in Git annotate buffers.
9962 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9963 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9965 2010-06-20 Alan Mackenzie <acm@muc.de>
9967 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9968 in file local variables, set it first.
9970 2010-06-19 Glenn Morris <rgm@gnu.org>
9972 * descr-text.el (describe-char-unicode-data): Insert separating
9973 space when needed. (Bug#6422)
9975 * progmodes/idlwave.el (idlwave-action-and-binding):
9976 Fix typo in 2009-12-03 change. (Bug#6450)
9978 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9981 handling for `lambda' (misunderstanding).
9983 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9985 * calc/calc-poly.el (math-accum-factors): Make sure that
9986 constants aren't distributed after they are factored out.
9988 2010-06-16 Juri Linkov <juri@jurta.org>
9990 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9991 `list-colors-print'. (Bug#6332)
9993 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9995 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9997 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9998 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10000 * font-lock.el (font-lock-major-mode): Rename from
10001 font-lock-mode-major-mode to distinguish it from
10002 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10003 (font-lock-set-defaults):
10004 * font-core.el (font-lock-default-function): Adjust users.
10005 (font-lock-mode): Don't set it at all.
10007 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10009 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10011 2010-06-16 Glenn Morris <rgm@gnu.org>
10013 * calendar/appt.el (appt-time-msg-list): Doc fix.
10014 (appt-check): Let-bind appt-warn-time.
10015 (appt-add): Make the 3rd argument optional.
10016 Simplify argument names. Doc fix. Check for integer WARNTIME.
10017 Only add WARNTIME to the output list if non-nil.
10019 2010-06-16 Ivan Kanis <apple@kanis.eu>
10021 * calendar/appt.el (appt-check): Let the 3rd element of
10022 appt-time-msg-list specify the warning time.
10023 (appt-add): Add new argument with the warning time. (Bug#5176)
10025 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10027 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10028 older than version 1.6. (Bug#6361)
10030 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10032 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10033 used by cl-do-arglist. (Bug#6408)
10035 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10037 * textmodes/ispell.el (ispell-dictionary-base-alist):
10038 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10039 Suggested by Rolando Pereira (bug#6434).
10041 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10043 * facemenu.el (list-colors-sort): Doc fix.
10045 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10047 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10049 2010-06-14 Juri Linkov <juri@jurta.org>
10051 Add sort option `list-colors-sort'. (Bug#6332)
10052 * facemenu.el (color-rgb-to-hsv): New function.
10053 (list-colors-sort): New defcustom.
10054 (list-colors-sort-key): New function.
10055 (list-colors-display): Doc fix. Sort list according to the option
10056 `list-colors-sort'.
10057 (list-colors-print): Add HSV values to `help-echo' property of
10060 2010-06-14 Juri Linkov <juri@jurta.org>
10062 * compare-w.el: Move to the "vc" subdirectory.
10064 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10066 * image-mode.el (image-mode-map): Remap left-char and right-char.
10068 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10070 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10072 * term/common-win.el (x-colors): Add all the color names defined
10073 in rgb.txt (Bug#6332).
10075 * facemenu.el (list-colors-print): Don't print extra names if it
10076 will overflow the window width.
10078 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10081 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10083 * files.el (make-directory): Doc fix (bug#6396).
10085 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10087 * net/tramp.el (tramp-remote-process-environment): Protect version
10088 string by apostroph.
10089 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10091 (tramp-file-name-for-operation): Add `call-process-region'.
10092 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10094 * net/tramp-compat.el (top): Do not autoload
10095 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10096 only when `start-file-process' is not bound.
10097 (tramp-advice-file-expand-wildcards): Do not use
10098 `tramp-handle-file-remote-p'.
10099 (tramp-compat-make-temp-file): Handle the case, that
10100 `make-temp-file' has no third argument EXTENSION.
10102 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10104 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10106 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10108 2010-06-11 Juri Linkov <juri@jurta.org>
10110 * finder.el (finder-known-keywords): Add keyword "vc"
10111 for version control.
10113 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10114 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10115 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10116 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10118 2010-06-11 Juri Linkov <juri@jurta.org>
10120 Move version control related files to the "vc" subdirectory.
10121 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10122 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10123 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10124 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10125 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10126 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10127 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10128 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10129 Move files to the "vc" subdirectory.
10131 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10133 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10136 2010-06-11 Stephen Eglen <stephen@gnu.org>
10138 * shell.el: Bind `shell-resync-dirs' to M-RET.
10140 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10142 * notifications.el: Move file from lisp/net, because it is
10143 supposed to talk locally to the user.
10145 2010-06-10 Julien Danjou <julien@danjou.info>
10147 * net/notifications.el (notifications-on-action-signal)
10148 (notifications-on-closed-signal): Pass notification id as first
10149 argument to the callback functions. Add docstrings.
10150 (notifications-notify): Fix docstring.
10152 2010-06-10 Glenn Morris <rgm@gnu.org>
10154 * emacs-lisp/authors.el (authors-ignored-files)
10155 (authors-valid-file-names): Add some files.
10157 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10159 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10160 merge conflict, giving preference to the emacs-23 version of the code.
10162 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10164 * emacs-lisp/advice.el (ad-compile-function):
10165 Define warning-suppress-types before we let-bind it (bug#6275).
10167 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10168 declare it, make it buffer-local and permanent-local (bug#6324).
10169 (vc-resynch-window): Adjust name.
10170 * vc-hooks.el (vc-find-file-hook): Adjust name.
10172 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10174 * net/notifications.el (notifications-notify): Fix docstring.
10176 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10178 Update to Unicode 6.0.0 beta.
10179 * international/charprop.el: Update copyright.
10180 * international/mule-cmds.el (ucs-names): Update character ranges.
10181 * international/uni-bidi.el:
10182 * international/uni-category.el:
10183 * international/uni-combining.el:
10184 * international/uni-comment.el:
10185 * international/uni-decimal.el:
10186 * international/uni-decomposition.el:
10187 * international/uni-digit.el:
10188 * international/uni-lowercase.el:
10189 * international/uni-mirrored.el:
10190 * international/uni-name.el:
10191 * international/uni-numeric.el:
10192 * international/uni-old-name.el:
10193 * international/uni-titlecase.el:
10194 * international/uni-uppercase.el: Regenerate.
10196 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10198 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10199 (smie-precs-precedence-table): Fix typo in docstring.
10201 * vc-mtn.el (log-edit-extract-headers): Declare function.
10203 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10205 * net/notifications.el (dbus-register-signal): Declare function.
10206 (notifications-notify): Fix typos and reflow docstring.
10208 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10210 Improve VC create/retrieve tag/branch.
10211 * vc.el (vc-create-tag): Do not read the directory name for VCs
10212 with repository revision granularity. Adjust the tag/branch
10213 prompt. Reset VC properties.
10214 (vc-retrieve-tag): Do not read the directory name for VCs
10215 with repository revision granularity. Reset VC properties.
10217 2010-06-09 Julien Danjou <julien@danjou.info>
10219 * net/notifications.el: New file.
10221 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10223 Add optional support for resetting VC properties.
10224 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10225 call vc-file-clearprops when true.
10226 (vc-resynch-buffer): Add new optional argument, pass it down.
10227 (vc-resynch-buffers-in-directory): Likewise.
10229 Improve support for special markup in the VC commit message.
10230 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10231 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10232 * vc-git.el (vc-git-checkin):
10233 * vc-bzr.el (vc-bzr-checkin): Likewise.
10235 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10237 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10238 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10240 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10242 * iimage.el: Remove images as soon as the underlying text is modified.
10243 (iimage-modification-hook): New function.
10244 (iimage-mode-buffer): Use it.
10246 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10248 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10249 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10250 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10251 (smie-indent-keyword): Add handling of open-paren keywords.
10252 (smie-indent-comment-continue): Don't assume comment-continue.
10254 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10256 * window.el (pop-to-buffer): Remove the conditional that
10257 compares new-window and old-window, so it will reselect
10258 the selected window unconditionally.
10259 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10261 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10263 * emacs-lisp/smie.el (smie-indent-offset-after)
10264 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10265 (smie-indent-after-keyword): Use them.
10266 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10267 (smie-indent-keyword): Tweak the black magic.
10268 (smie-indent-comment-continue): Strip comment-continue before use.
10269 (smie-indent-functions): Indent comments before keywords.
10271 2010-06-06 Juri Linkov <juri@jurta.org>
10273 * isearch.el (isearch-lazy-highlight-search): Fix looping
10274 by checking for empty match. This syncs this loop with the
10275 similar loop in `isearch-search'. (Bug#6362)
10277 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10279 * net/dbus.el (dbus-register-method): Declare function.
10280 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10281 (dbus-introspect): Doc fix.
10282 (dbus-event-bus-name, dbus-introspect-get-interface)
10283 (dbus-introspect-get-argument): Reflow docstrings.
10285 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10287 vc-log-incoming/vc-log-outgoing fixes for Git.
10288 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10289 incoming/outgoing logs.
10290 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10291 instead of vc-git-compute-remote.
10292 (vc-git-compute-remote): Remove.
10294 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10296 * term/common-win.el (x-colors): Add "dark green" and "dark
10297 turquoise" (Bug#6332).
10299 2010-06-04 Juri Linkov <juri@jurta.org>
10301 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10302 Instead of setting `replace' to t and replacing the same string
10303 with itself, don't do certain actions when
10304 kill-do-not-save-duplicates is non-nil and string is equal to car
10305 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10306 interprogram-paste strings to kill-ring, and don't push the input
10307 argument `string' to kill-ring.
10308 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10310 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10312 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10314 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10316 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10317 (tramp-gvfs-handler-mounted-unmounted)
10318 (tramp-gvfs-connection-mounted-p): Handle default-location.
10320 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10321 move files to trash.
10323 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10325 * international/mule-cmds.el (nonascii-insert-offset)
10326 (nonascii-translation-table): Add obsolescence information.
10328 * international/mule.el (make-translation-table-from-vector): Doc fix.
10330 2010-06-03 Glenn Morris <rgm@gnu.org>
10332 * desktop.el (desktop-clear-preserve-buffers):
10333 Add "*Warnings*" buffer. (Bug#6336)
10335 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10337 vc-log-incoming/vc-log-outgoing improvements for Git.
10338 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10340 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10342 Add bindings for vc-log-incoming and vc-log-outgoing.
10343 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10344 and vc-log-outgoing.
10345 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10346 and vc-log-outgoing.
10348 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10350 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10351 (rcirc-handler-366): Always sort nicknames.
10353 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10355 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10357 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10359 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10361 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10363 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10364 (rcirc-sort-nicknames-join): Avoid setq.
10366 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10368 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10369 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10370 (rcirc-handler-366): Use them.
10372 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10374 Split smie-indent-calculate into more manageable chunks.
10375 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10376 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10377 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10378 (smie-indent-exps): Extract from smie-indent-calculate.
10379 (smie-indent-functions): New var.
10380 (smie-indent-functions): Use them.
10382 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10384 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10385 (smie-indent-calculate): Simplify and cleanup.
10387 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10389 * net/tramp-gvfs.el (top): Require url-util.
10390 (tramp-gvfs-mount-point): Remove.
10391 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10393 (with-tramp-dbus-call-method): Format trace message.
10394 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10395 Implement backup call, when operation on local files fails.
10396 Use progress reporter. Flush properties of changed files.
10397 (tramp-gvfs-handle-make-directory): Make more traces.
10398 (tramp-gvfs-url-file-name): Hexify file name in url.
10399 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10400 into account for the resulting file name.
10401 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10402 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10403 (tramp-gvfs-handler-mounted-unmounted)
10404 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10405 attribute "default_location". Set "prefix" property.
10406 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10407 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10408 exists. Raise an error, if not (due to a corresponding answer
10409 "no" in interactive questions, for example).
10411 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10413 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10415 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10417 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10418 right-*. (Bug#6265)
10420 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10422 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10423 * vc-git.el (vc-git-compute-remote): New function.
10424 (vc-git-log-outgoing): Use it instead of hard coding a value.
10425 (vc-git-log-incoming): New function.
10427 Improve state updating for VC tag commands.
10428 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10429 to update the state of all buffers in the directory.
10431 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10433 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10435 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10436 `file-directory-p' to the filename part rather than to the whole text.
10438 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10442 2010-05-31 Drew Adams <drew.adams@oracle.com>
10444 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10446 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10448 * subr.el (momentary-string-display): Just use read-event to read
10449 the exit event (Bug#6238).
10451 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10453 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10455 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10457 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10458 Suggested by Eli Zaretskii <eliz@gnu.org>.
10460 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * minibuffer.el (completion-file-name-table): Don't return a boundary
10463 past the end of `string' (bug#6299).
10464 (completion--file-name-table): Delegate to completion-file-name-table
10465 for the `boundaries' case.
10467 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10469 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10472 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10473 `path-separator', but maintain compatibility with Emacs 20.2.
10475 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10477 * server.el (server-process-filter): Receive parent-id argument
10479 (server-create-window-system-frame): New arg. Pass parent-id as
10482 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10484 Bidi-sensitive word movement with arrow keys.
10485 * subr.el (right-arrow-command, left-arrow-command): Move to
10488 * bindings.el (right-char, left-char): Move from subr.el and
10489 rename from right-arrow-command and left-arrow-command.
10490 (right-word, left-word): New functions.
10491 (global-map) <right>: Bind to right-char.
10492 (global-map) <left>: Bind to left-char.
10493 (global-map) <C-right>: Bind to right-word.
10494 (global-map) <C-left>: Bind to left-word.
10496 * ls-lisp.el (ls-lisp-classify-file): New function.
10497 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10498 (ls-lisp-classify): Call ls-lisp-classify-file.
10499 (insert-directory): Remove blanks from switches.
10501 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10503 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10504 (ansi-color-drop-regexp): New constant.
10505 (ansi-color-apply, ansi-color-filter-region)
10506 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10507 (ansi-color-apply): Build string list before calling concat.
10509 2010-05-28 Juri Linkov <juri@jurta.org>
10511 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10512 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10515 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10517 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10518 to ignored backtrace functions.
10519 (with-progress-reporter): Expand docstring.
10520 (tramp-handle-delete-file): Implement TRASH argument.
10521 (tramp-get-remote-trash): New defun.
10523 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10525 * net/tramp-compat.el (tramp-compat-delete-file):
10526 Use `symbol-value' for backward compatibility.
10528 * net/tramp.el (tramp-handle-make-symbolic-link)
10529 (tramp-handle-load)
10530 (tramp-do-copy-or-rename-file-via-buffer)
10531 (tramp-do-copy-or-rename-file-directly)
10532 (tramp-do-copy-or-rename-file-out-of-band)
10533 (tramp-handle-process-file, tramp-handle-call-process-region)
10534 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10535 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10536 (tramp-delete-temp-file-function): Use `delete-file' instead
10537 of `tramp-compat-delete-file'.
10539 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10540 (tramp-fish-handle-make-symbolic-link)
10541 (tramp-fish-handle-process-file): Use `delete-file' instead
10542 of `tramp-compat-delete-file'.
10544 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10545 Use `delete-file' instead of `tramp-compat-delete-file'.
10547 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10548 `delete-file' instead of `tramp-compat-delete-file'.
10550 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10551 Use `delete-file' instead of `tramp-compat-delete-file'.
10553 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10554 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10555 (tramp-smb-handle-write-region): Use `delete-file' instead of
10556 `tramp-compat-delete-file'.
10557 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10559 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10561 * dired.el (dired-delete-file): New arg TRASH.
10562 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10563 (dired-do-flagged-delete, dired-do-delete): Use trash.
10565 * speedbar.el (speedbar-item-delete): Allow trashing.
10567 * files.el (delete-directory): New arg TRASH.
10569 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10570 (ange-ftp-rename-remote-to-remote)
10571 (ange-ftp-rename-local-to-remote)
10572 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10573 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10575 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10578 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10579 handle new TRASH arg of `delete-file'.
10581 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10582 (tramp-handle-make-symbolic-link, tramp-handle-load)
10583 (tramp-do-copy-or-rename-file-via-buffer)
10584 (tramp-do-copy-or-rename-file-directly)
10585 (tramp-do-copy-or-rename-file-out-of-band)
10586 (tramp-handle-process-file, tramp-handle-call-process-region)
10587 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10588 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10589 (tramp-delete-temp-file-function): Use null TRASH arg in
10590 tramp-compat-delete-file call.
10592 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10593 (tramp-fish-handle-delete-file)
10594 (tramp-fish-handle-make-symbolic-link)
10595 (tramp-fish-handle-process-file): Use null TRASH arg in
10596 `tramp-compat-delete-file' call.
10598 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10599 arg in `tramp-compat-delete-file' call.
10601 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10602 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10603 `tramp-compat-delete-file' call.
10605 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10606 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10607 `tramp-compat-delete-file' call.
10609 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10610 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10611 (tramp-smb-handle-write-region): Use null TRASH arg in
10612 tramp-compat-delete-file call.
10613 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10614 (tramp-smb-handle-delete-file): Rename arg.
10616 * diff.el (diff-sentinel):
10617 * epg.el (epg--make-temp-file, epg-decrypt-string)
10618 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10619 * jka-compr.el (jka-compr-partial-uncompress)
10620 (jka-compr-call-process, jka-compr-write-region):
10621 * server.el (server-sentinel): Remove optional arg from
10622 delete-file, reverting 2010-05-03 change.
10624 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10626 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10627 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10629 2010-05-27 Kenichi Handa <handa@m17n.org>
10631 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10632 element of GSTRING is nil.
10634 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10636 * emacs-lisp/smie.el (smie-forward-token-function)
10637 (smie-backward-token-function): New vars.
10638 (smie-backward-sexp, smie-forward-sexp)
10639 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10640 (smie-default-backward-token): Rename from smie-backward-token and
10642 (smie-default-forward-token): Rename from smie-forward-token and
10644 (smie-next-sexp): Handle nil results from next-token.
10645 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10647 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10649 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10650 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10652 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10654 * htmlfontify.el (hfy-face-resolve-face): New function.
10655 (hfy-face-to-style): Use it (Bug#6279).
10657 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10659 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10660 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10662 2010-05-26 Glenn Morris <rgm@gnu.org>
10664 * emulation/edt.el (edt-load-keys): Use locate-library.
10666 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10668 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10669 (log-edit-changelog-entries): Doc fix.
10670 (log-edit-changelog-insert-entries): Args changed.
10671 Rename relative filenames in ChangeLog entries. Delete tabs.
10672 (log-edit-insert-changelog-entries): Reorganize return value of
10673 `log-edit-changelog-entries' to pass filenames to
10674 log-edit-changelog-insert-entries.
10676 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10678 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10679 `image-dired-dired-insert-marked-thumbs' to
10680 `image-dired-dired-toggle-marked-thumbs'.
10682 * image-dired.el: Require cl when compiling.
10683 (image-dired-dired-toggle-marked-thumbs): Rename from
10684 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10685 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10686 to 'no-dir. Skip files whose names don't match
10687 `image-file-name-regexp'. When file has a thumbnail overlay,
10688 delete it. (Bug#5270)
10690 2010-05-25 Juri Linkov <juri@jurta.org>
10692 * image-mode.el (image-mode): Add image-after-revert-hook to
10694 (image-after-revert-hook): New function. (Bug#5669)
10696 2010-05-25 Juri Linkov <juri@jurta.org>
10698 * image.el (image-animated-p): When delay between animated images
10699 is 0, set it to 10 (0.1 sec). (Bug#6258)
10701 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10703 * net/tramp.el (tramp-handle-insert-directory): Don't use
10704 `forward-word', its default syntax could be changed.
10706 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10708 * net/tramp.el (tramp-progress-reporter-update): New defun.
10709 (with-progress-reporter): Use it.
10710 (tramp-process-actions):
10711 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10712 Preserve current message, in order to let progress reporter continue
10713 afterwards. (Bug#6257)
10715 2010-05-25 Glenn Morris <rgm@gnu.org>
10717 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10720 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10722 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10723 (rcirc-default-full-name): Change to "unknown".
10724 (rcirc-user-name-history): Add variable.
10726 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10727 Jonathan Rockway <jon@jrock.us>
10729 * net/rcirc.el (rcirc-server-alist): Add :pass.
10730 (rcirc): When prompting for connection parameters, also prompt for
10731 username and password.
10732 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10733 value to server when connecting.
10735 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10738 (smie-merge-prec2s): Pass the tables as separate args.
10739 (smie-bnf-precedence-table): Adjust call accordingly.
10740 (smie-prec2-levels): Set levels at the end.
10742 Replace Lisp calls to delete-backward-char by delete-char.
10743 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10744 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10745 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10746 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10747 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10748 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10749 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10750 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10751 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10752 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10753 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10754 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10755 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10756 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10757 delete-backward-char by calls to delete-char.
10759 2010-05-25 Kenichi Handa <handa@m17n.org>
10761 * language/hebrew.el (hebrew-shape-gstring): New function.
10762 Register it in composition-function-table for all Hebrew combining
10765 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10767 * epa.el (epa--select-keys): Don't explicitly delete the window since
10768 that can fail (e.g. sole window in frame). Use dedication instead.
10770 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10772 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10774 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10776 * image.el (image-refresh): Define as an alias for image-flush.
10778 * image-mode.el (image-toggle-display-image): Caller changed.
10780 2010-05-21 Juri Linkov <juri@jurta.org>
10782 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10783 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10784 whitespace, call wildcard-to-regexp on substrings and concat them
10785 with "\\|". (Bug#6114)
10787 2010-05-21 Alan Mackenzie <acm@muc.de>
10789 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10790 Replace parameter `here' with `here-' and `here-plus', which sandwich
10791 any pertinent CPP construct.
10792 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10793 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10794 CPP construct from taking part in the scanning.
10796 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10798 * net/tramp.el (tramp-do-copy-or-rename-file)
10799 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10800 Tune `with-progress-reporter' messages.
10801 (tramp-handle-vc-registered):
10802 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10803 (tramp-fish-handle-insert-file-contents)
10804 (tramp-fish-maybe-open-connection):
10805 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10806 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10807 (tramp-imap-handle-insert-file-contents)
10808 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10810 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10812 * add-log.el (change-log-font-lock-keywords):
10813 Highlight all authors in multi-author entries.
10815 * smerge-mode.el (smerge-refine-ignore-whitespace)
10816 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10817 Fix typos in docstrings.
10818 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10820 2010-05-21 Glenn Morris <rgm@gnu.org>
10822 * progmodes/fortran.el (fortran-mode):
10823 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10825 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10826 having a relative path in src/Makefile.in.
10828 2010-05-20 Kevin Ryde <user42@zip.com.au>
10830 * help-mode.el (help-make-xrefs): For Info node links turn
10831 newlines into spaces. Link node names with newlines are matched
10832 by help-xref-info-regexp and buttonized, this change ensures they
10833 can be followed successfully with RET. (Bug#6206)
10835 2010-05-20 Juri Linkov <juri@jurta.org>
10837 * locate.el (locate): Use pop-to-buffer instead of
10838 switch-to-buffer-other-window. (Bug#6204)
10840 2010-05-20 Juri Linkov <juri@jurta.org>
10842 * replace.el (replace-highlight): Fix lazy-highlighting
10843 for `M-s w str M-% str RET'.
10845 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10847 * isearch.el (isearch-yank-word-or-char): Pull next subword
10848 when `subword-mode' is activated. (Bug#6220)
10850 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10852 * isearch.el (isearch-update-post-hook): New hook.
10853 (isearch-update): Use the new hook. (Bug#6225)
10855 2010-05-20 Juri Linkov <juri@jurta.org>
10857 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10858 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10861 2010-05-20 Juri Linkov <juri@jurta.org>
10863 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10866 2010-05-20 Juri Linkov <juri@jurta.org>
10868 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10869 FILE-NAME to read from the minibuffer when called interactively
10870 with prefix argument instead of using buffer-file-name.
10871 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10873 * dired.el: Update autoloads.
10875 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10877 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10878 nxml-finish-element, for consistency with SGML mode.
10880 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10881 octave-close-block.
10883 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10885 * composite.el: Require cl when compiling.
10886 (reference-point-alist, compose-gstring-for-graphic)
10887 (compose-gstring-for-terminal): Fix typos in docstrings.
10889 2010-05-19 Juri Linkov <juri@jurta.org>
10891 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10892 set-window-parameter.
10894 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10896 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10898 (tramp-maybe-open-connection): Use it.
10900 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10902 * simple.el (move-end-of-line): Make sure we are at line beginning
10903 before backing up to end of previous line.
10905 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10907 * password-cache.el (password-cache-remove): Fix docstring.
10909 * net/secrets.el: Autoload the widget functions.
10910 (secrets-search-items, secrets-create-item)
10911 (secrets-get-attributes, secrets-expand-item): Attributes will be
10912 stored on the password database without leading ":", as all other
10913 clients do as well.
10914 (secrets-mode): Fix docstring.
10915 (secrets-show-secrets): Provide it as autoloaded command only when
10916 D-Bus support is available. Check existence of Secret Service API.
10918 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * indent.el (indent-region): Deactivate region (bug#6200).
10922 2010-05-19 Glenn Morris <rgm@gnu.org>
10924 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10926 2010-05-19 Kenichi Handa <handa@m17n.org>
10928 * composite.el: Register compose-gstring-for-graphic in
10929 composition-function-table only for combining characters (Mn, Mc, Me).
10931 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10933 * calc/calc-trail.el (calc-trail-isearch-forward)
10934 (calc-trail-isearch-backward): Ensure that the new window
10935 point is set correctly.
10937 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * subr.el (read-quoted-char): Resolve modifiers after key
10940 remapping (bug#6212).
10942 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10944 Add visualization code for secrets.
10945 * net/secrets.el (secrets-mode): New major mode.
10946 (secrets-show-secrets, secrets-show-collections)
10947 (secrets-expand-collection, secrets-expand-item)
10948 (secrets-tree-widget-after-toggle-function)
10949 (secrets-tree-widget-show-password): New defuns.
10951 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10953 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10954 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10955 handled in smie-next-sexp.
10956 (smie-indent-calculate): Provide a starting indentation (so the
10957 recursion is well-founded ;-).
10959 Fix handling of non-associative equal levels.
10960 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10961 when it's not needed.
10962 (smie-op-left, smie-op-right): New functions.
10963 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10964 Better handle equal levels to distinguish the associative case from
10965 the "multi-keyword construct" case.
10966 (smie-backward-sexp, smie-forward-sexp): Use it.
10968 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10970 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10972 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10973 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10975 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10977 Provide a simple generic indentation engine and use it for Prolog.
10978 * emacs-lisp/smie.el: New file.
10979 * progmodes/prolog.el (prolog-smie-op-levels)
10980 (prolog-smie-indent-rules): New var.
10981 (prolog-mode-variables): Use them to configure SMIE.
10982 (prolog-indent-line, prolog-indent-level): Remove.
10984 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10986 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10987 order before computing the averages.
10989 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10991 * calc/calc-vec.el (calc-histogram):
10992 (calcFunc-histogram): Allow vectors as inputs.
10993 (math-vector-avg): New function.
10995 * calc/calc-ext.el (math-group-float): Have the number of digits
10996 being grouped depend on the radix (Bug#6189).
10998 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11000 * version.el (emacs-copyright, emacs-version): Don't define here,
11001 now that emacs.c defines it.
11003 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11005 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11006 "Describe Language Environment" menu item.
11008 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11010 Bidi-sensitive movement with arrow keys.
11011 * subr.el (right-arrow-command, left-arrow-command): New functions.
11013 * bindings.el (global-map): Bind them to right and left arrow keys.
11015 Don't override standard definition of convert-standard-filename.
11016 * files.el (convert-standard-filename):
11017 Call w32-convert-standard-filename and dos-convert-standard-filename on
11018 the corresponding systems.
11020 * w32-fns.el (w32-convert-standard-filename): Rename from
11021 convert-standard-filename. Doc fix.
11023 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11024 (convert-standard-filename): Don't defalias.
11025 (register-name-alist, make-register, register-value)
11026 (set-register-value, intdos): Obsolete aliases for the
11027 corresponding dos-* functions and variables.
11028 (dos-intdos): Add a doc string.
11030 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11032 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11033 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11034 (math-compose-tex-func):
11035 * calc/calccomp.el (math-compose-expr):
11036 * calc/calc-ext.el (math-format-flat-expr-fancy):
11037 * calc/calc-store.el (calc-read-var-name):
11038 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11040 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11041 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11042 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11043 (math-standard-units): Add units.
11045 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11047 * progmodes/asm-mode.el (asm-mode):
11048 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11050 * pcomplete.el (pcomplete-completions-at-point): New function,
11051 extracted from pcomplete-std-complete.
11052 (pcomplete-std-complete): Use it.
11054 2010-05-15 Glenn Morris <rgm@gnu.org>
11056 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11057 Remove references to CVS, RCS and Old directories.
11059 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11061 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11064 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11066 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11067 (sh-mode-syntax-table): Give it a default value instead.
11068 (sh-header-marker): Make buffer-local.
11069 (sh-mode): Move make-local-variable to the corresponding setq.
11070 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11071 Use complete-with-action.
11073 * simple.el (prog-mode): New (abstract) major mode.
11074 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11075 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11077 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11079 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11080 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11081 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11082 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11083 (sql-escape-newlines-filter, sql-input-sender)
11084 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11086 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11088 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11090 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11091 latex-open-block and C-c / to latex-close-block.
11093 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11094 and C-c C-e to sgml-close-tag.
11096 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11098 * net/tramp.el (with-progress-reporter): Create reporter object
11099 only when the message would be displayed. Handle nested calls.
11100 (tramp-handle-load, tramp-handle-file-local-copy)
11101 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11102 (tramp-maybe-send-script, tramp-find-shell):
11103 Use `with-progress-reporter'.
11104 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11107 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11108 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11109 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11110 Use `with-progress-reporter'.
11112 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11114 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11115 process everytime when spellchecking from the minibuffer (bug#6143).
11117 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11119 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11121 * dos-fns.el: Add "dos-" prefix for namespace control.
11122 (convert-standard-filename): Define as alias for
11123 dos-convert-standard-filename but only if applicable.
11125 2010-05-12 Alan Mackenzie <acm@muc.de>
11127 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11128 Push the mark at the start of these functions when appropriate.
11130 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11132 * minibuffer.el (completion-cycle-threshold): New custom var.
11133 (completion--do-completion): Use it.
11134 (minibuffer-complete): Use cycling if appropriate.
11136 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11138 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11139 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11141 2010-05-11 Juri Linkov <juri@jurta.org>
11143 * scroll-all.el (scroll-all-check-to-scroll):
11144 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11146 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11148 * iimage.el (iimage-mode-map): Move initialization into declaration.
11149 (iimage-mode-buffer): Use with-silent-modifications.
11150 Simplify calling convention. Adjust callers.
11151 (iimage-mode): Don't run hook redundantly.
11153 * minibuffer.el (completion-pcm--pattern->regex):
11154 Fix last change (bug#6160).
11156 2010-05-10 Juri Linkov <juri@jurta.org>
11158 Remove nodes visited during Isearch from the Info history.
11159 * info.el (Info-isearch-initial-history)
11160 (Info-isearch-initial-history-list): New variables.
11161 (Info-isearch-start): Record initial values of
11162 Info-isearch-initial-history and Info-isearch-initial-history-list.
11163 Add Info-isearch-end to isearch-mode-end-hook.
11164 (Info-isearch-end): New function.
11166 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11168 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11169 format string, in order to work around a bug in pdksh.
11170 Reported by Gilles Pion <gpion@lfdj.com>.
11171 (tramp-handle-verify-visited-file-modtime): Do not send a command
11172 when the connection is not established.
11173 (tramp-handle-set-file-times): Simplify the check for utc.
11175 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11177 Fix use of `filter-buffer-substring' (rework previous change).
11178 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11179 (cua-repeat-replace-region):
11180 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11181 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11182 (cua-cut-region-to-global-mark): Use it.
11184 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11186 * progmodes/sql.el: Version 2.1.
11187 (sql-product-alist): Redesign structure of product info.
11188 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11189 (sql-port, sql-port-history): New variables.
11190 (sql-interactive-product): New variable.
11191 (sql-send-terminator): New variable.
11192 (sql-imenu-generic-expression): Add "Types" imenu entry.
11193 (sql-oracle-login-params, sql-sqlite-login-params)
11194 (sql-mysql-login-params, sql-solid-login-params)
11195 (sql-sybase-login-params, sql-informix-login-params)
11196 (sql-ingres-login-params, sql-ms-login-params)
11197 (sql-postgres-login-params, sql-interbase-login-params)
11198 (sql-db2-login-params, sql-linter-login-params)
11199 (sql-oracle-scan-on): New variables.
11200 (sql-mode-map): Add C-c C-i to start interactive mode.
11201 (sql-mode-menu): Update existing menu entries.
11202 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11203 (sql-mode-oracle-font-lock-keywords)
11204 (sql-mode-postgres-font-lock-keywords)
11205 (sql-mode-ms-font-lock-keywords)
11206 (sql-mode-sybase-font-lock-keywords)
11207 (sql-mode-informix-font-lock-keywords)
11208 (sql-mode-interbase-font-lock-keywords)
11209 (sql-mode-ingres-font-lock-keywords)
11210 (sql-mode-solid-font-lock-keywords)
11211 (sql-mode-mysql-font-lock-keywords)
11212 (sql-mode-sqlite-font-lock-keywords)
11213 (sql-mode-db2-font-lock-keywords)
11214 (sql-mode-linter-font-lock-keywords): Update initialization to
11215 reduce run-time complexity.
11216 (sql-add-product, sql-del-product): New functions.
11217 (sql-set-product-feature, sql-get-product-feature): New functions.
11218 (sql-product-font-lock): Update product API.
11219 (sql-add-product-keywords): New function.
11220 (sql-highlight-product): Update product API.
11221 (sql-help-list-products): New function.
11222 (sql-help): Dynamically lists free and non-free products.
11223 (sql-get-login): Correct bug in handling history and added
11225 (sql-copy-column): Copy without properties.
11226 (sqli-input-sender): Apply filters to SQLi input.
11227 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11228 Implement as a filter.
11229 (sql-escape-newlines-filter): Implement as a filter.
11230 (sql-remove-tabs-filter): New function.
11231 (sql-send-magic-terminator): New function.
11232 (sql-send-string): Implement magic terminator.
11233 (sql-send-region): Use `sql-send-string'.
11234 (sql-interactive-mode): Use product API.
11235 (sql-product-interactive): Use product API.
11236 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11237 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11238 (sql-db2, sql-linter): Use `sql-product-interactive'.
11239 (sql-connect): New function.
11240 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11241 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11242 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11243 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11246 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11248 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11249 New custom variable.
11250 (completion-pcm--string->pattern): Use it.
11251 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11252 Make it handle any symbol as `any'.
11253 (completion-pcm--merge-completions): Extract common suffix for the new
11254 `prefix' symbol as well.
11255 (completion-substring--all-completions): Use the new `prefix' symbol.
11257 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11259 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11261 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11262 (tramp-compat-funcall): New defmacro.
11263 (tramp-compat-line-beginning-position)
11264 (tramp-compat-line-end-position)
11265 (tramp-compat-temporary-file-directory)
11266 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11267 (tramp-compat-copy-file, tramp-compat-copy-directory)
11268 (tramp-compat-delete-file, tramp-compat-delete-directory)
11269 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11270 * net/tramp.el (top, with-progress-reporter)
11271 (tramp-rfn-eshadow-setup-minibuffer)
11272 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11273 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11274 (tramp-completion-mode-p, tramp-check-for-regexp)
11275 (tramp-open-connection-setup-interactive-shell)
11276 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11277 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11278 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11279 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11280 (tramp-reporter-dump-variable, tramp-load-report-modules)
11281 (tramp-append-tramp-buffers)
11282 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11284 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11286 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11288 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11289 buffer-modtime. Adjust users.
11291 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11293 * international/mule.el (auto-coding-alist): Only purecopy
11294 car of each item, not the whole list (Bug#6083).
11296 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11298 * progmodes/js.el (js-mode): Make paragraph variables local before
11299 calling c-setup-paragraph-variables (Bug#6071).
11301 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11303 * composite.el (compose-region, reference-point-alist): Fix typos
11304 in the doc strings.
11306 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11308 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11309 gnuplot's "set" command.
11311 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11313 * abbrev.el (last-abbrev-text): Doc fix.
11314 (abbrev-prefix-mark): Don't escape parenthesis.
11316 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11318 * composite.el (find-composition): Doc fix.
11320 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11322 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11323 (sql-oracle-program, sql-sqlite-options)
11324 (sql-query-placeholders-and-send): Doc fixes.
11325 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11326 (sql-imenu-generic-expression, sql-buffer)
11327 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11328 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11329 (sql-mode-sybase-font-lock-keywords)
11330 (sql-mode-informix-font-lock-keywords)
11331 (sql-mode-interbase-font-lock-keywords)
11332 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11333 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11334 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11335 (sql-product-feature, sql-highlight-product)
11336 (comint-line-beginning-position, sql-rename-buffer)
11337 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11338 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11339 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11340 Fix typos in docstrings.
11342 2010-05-08 Juri Linkov <juri@jurta.org>
11344 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11345 property instead of `invisible' and `after-string' (bug#5998).
11347 2010-05-08 Juri Linkov <juri@jurta.org>
11349 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11351 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11353 * filecache.el (file-cache-add-directory-list)
11354 (file-cache-add-directory-recursively): Fix typos in docstrings.
11356 2010-05-08 Kenichi Handa <handa@m17n.org>
11358 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11359 (gujarati-composable-pattern): Fix typo.
11361 2010-05-08 Kenichi Handa <handa@m17n.org>
11363 * language/indian.el (oriya-composable-pattern)
11364 (tamil-composable-pattern, malayalam-composable-pattern):
11365 Add two-part vowels to "v" (vowel sign).
11367 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11369 * files.el (copy-directory): Handle symlinks (Bug#5982).
11371 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11373 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11374 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11377 2010-05-08 Glenn Morris <rgm@gnu.org>
11379 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11381 * minibuffer.el (completion-at-point): Doc fix.
11383 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11385 * electric.el (Electric-command-loop): Minor tweak.
11387 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11388 better with dedicated windows.
11390 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11392 * Version 23.2 released.
11394 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11395 Stefan Monnier <monnier@iro.umontreal.ca>
11397 Highlight vendor specific properties.
11398 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11399 (css-proprietary-property): New face.
11400 (css-font-lock-keywords): Use them.
11402 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11404 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11406 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11408 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11409 * files.el (auto-mode-alist): Remove redundant entries.
11411 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11412 * simple.el (auto-save-mode): Move from files.el.
11413 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11415 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11417 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11419 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11421 * mail/binhex.el (binhex-decode-region-internal)
11422 * mail/uudecode.el (uudecode-decode-region-internal)
11423 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11424 (dns-read-type, dns-query)
11425 * pgg-parse.el (pgg-parse-armor)
11426 * pgg.el (pgg-verify-region)
11427 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11430 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11432 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11434 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11436 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11437 * emulation/cua-base.el (cua-repeat-replace-region):
11438 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11439 (cua-cut-region-to-global-mark):
11440 Remove text properties with `set-text-properties'.
11442 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11444 * net/tramp.el (top, with-progress-reporter):
11445 Use `symbol-function' inside `funcall'.
11447 * net/tramp-compat.el (tramp-compat-file-attributes)
11448 (tramp-compat-delete-file, tramp-compat-delete-directory):
11449 Handle only `wrong-number-of-arguments' error.
11451 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11452 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11455 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11457 * minibuffer.el (completion--sreverse, completion--common-suffix):
11459 (completion-pcm--merge-completions): Extract common suffix when safe.
11461 * emacs-lisp/easy-mmode.el (define-minor-mode):
11462 Make :variable more flexible.
11463 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11465 2010-05-05 Juri Linkov <juri@jurta.org>
11467 Add `slow' and `history' tags to the desktop data.
11469 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11470 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11471 (Info-finder-find-node): Require `finder.el' to be able
11472 to restore node from the desktop.
11473 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11474 data `Info-history' and `slow' tag in the assoc list.
11475 (Info-restore-desktop-buffer): Don't restore nodes with the
11476 `slow' tag. Restore `Info-history'.
11478 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11480 Add FORCE argument to `delete-file'.
11482 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11483 forcing to delete the temporary file.
11484 (ange-ftp-delete-file): Add FORCE arg.
11485 (ange-ftp-rename-remote-to-remote)
11486 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11487 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11488 Force file deletion.
11490 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11492 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11493 (tramp-handle-make-symbolic-link, tramp-handle-load)
11494 (tramp-do-copy-or-rename-file-via-buffer)
11495 (tramp-do-copy-or-rename-file-directly)
11496 (tramp-do-copy-or-rename-file-out-of-band)
11497 (tramp-handle-process-file, tramp-handle-call-process-region)
11498 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11499 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11500 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11502 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11503 (tramp-fish-handle-make-symbolic-link)
11504 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11506 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11507 Use `tramp-compat-delete-file'.
11509 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11510 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11512 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11513 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11515 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11516 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11517 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11518 Use `tramp-compat-delete-file'.
11520 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11523 * subr.el (add-minor-mode): Use push.
11524 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11525 * emulation/edt.el (edt-select-mode): Simplify.
11527 Use define-minor-mode in more cases.
11528 * term/tvi970.el (tvi970-set-keypad-mode):
11529 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11530 (normal-erase-is-backspace-mode):
11531 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11532 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11533 (get-scroll-bar-mode): New function.
11534 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11536 Use define-minor-mode for less obvious cases.
11537 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11538 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11539 * international/iso-ascii.el (iso-ascii-mode):
11540 * frame.el (auto-raise-mode, auto-lower-mode):
11541 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11543 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11545 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11546 in order to see error messages for failed logins.
11548 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11550 * diff.el (diff-sentinel):
11552 * epg.el (epg--make-temp-file, epg-decrypt-string)
11553 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11555 * jka-compr.el (jka-compr-partial-uncompress)
11556 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11558 * server.el (server-sentinel): Use delete-file's new FORCE arg
11561 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11563 Use define-minor-mode where applicable.
11564 * view.el (view-mode):
11565 * type-break.el (type-break-query-mode)
11566 (type-break-mode-line-message-mode):
11567 * textmodes/reftex.el (reftex-mode):
11568 * term/vt100.el (vt100-wide-mode):
11569 * tar-mode.el (tar-subfile-mode):
11570 * savehist.el (savehist-mode):
11571 * ibuf-ext.el (ibuffer-auto-mode):
11572 * composite.el (auto-composition-mode):
11573 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11574 Use define-minor-mode.
11575 (vhdl-mode): Use static mode-line format.
11576 (vhdl-mode-line-update): Delete.
11577 (vhdl-create-mode-menu, vhdl-activate-customizations)
11578 (vhdl-hs-minor-mode): Don't bother calling it.
11580 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11582 * simple.el (with-wrapper-hook): Move.
11583 (buffer-substring-filters): Mark obsolete.
11584 (filter-buffer-substring-functions): New variable.
11585 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11587 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11588 Michael Albinus <michael.albinus@gmx.de>
11590 Implement compression for inline methods.
11592 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11593 (tramp-copy-size-limit): Allow also nil.
11594 (tramp-inline-compress-commands): New defconst.
11595 (tramp-find-inline-compress, tramp-get-inline-compress)
11596 (tramp-get-inline-coding): New defuns.
11597 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11598 replaced by `tramp-get-inline-coding'.
11599 (tramp-handle-file-local-copy, tramp-handle-write-region)
11600 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11602 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11604 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11605 Remove unused functions.
11607 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11608 Set find-tag-default-function as a variable rather than a property.
11610 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11611 * progmodes/etags.el (tags-completion-at-point-function):
11612 Remove left over interactive spec. Add autoloading stub.
11613 (complete-tag): Use tags-completion-at-point-function.
11615 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11617 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11619 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11621 * ido.el (ido-init-completion-maps): Remove C-v binding.
11622 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11624 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11626 * minibuffer.el (tags-completion-at-point-function): New function.
11627 (completion-at-point-functions): Use it.
11629 * progmodes/etags.el (complete-tag): Revert last change.
11631 2010-04-29 Alan Mackenzie <acm@muc.de>
11633 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11634 off-by-one error (in end of macro position).
11636 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11638 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11639 firefox is absent. Don't autoload.
11640 (browse-url-galeon-program): Don't autoload.
11642 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11644 * bindings.el (complete-symbol): Move into minibuffer.el.
11646 * minibuffer.el (complete-tag): Move from etags.el. If tags
11647 completion cannot be performed, return nil instead of signalling
11649 (completion-at-point): Make it an alias for complete-symbol.
11650 (complete-symbol): Move from bindings.el, and replace with the
11651 body of completion-at-point.
11653 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11655 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11657 * net/tramp.el (tramp-remote-selinux-p): New defun.
11658 (tramp-handle-file-selinux-context)
11659 (tramp-handle-set-file-selinux-context): Use it.
11661 2010-04-28 Sam Steingold <sds@gnu.org>
11663 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11664 `safe-local-variable' if the value is a string or a symbol with
11665 the property `bug-reference-url-format'.
11667 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11669 * progmodes/bug-reference.el (bug-reference-url-format):
11670 Revert 2010-04-27 change due to security risk.
11672 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11674 Make it possible to locally disable a globally enabled mode.
11675 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11676 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11677 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11678 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11679 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11680 that subsequent hooks get a chance to disable it.
11682 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11684 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11685 Avoid re-enabling a minor mode after the user turned the minor mode
11686 off if MODE-enable-in-buffers is run twice (typically once from
11687 fundamental-mode's after-change-major-mode-hook and a second time from
11688 run-mode-hook's own after-change-major-mode-hook).
11690 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11692 2010-04-27 Sam Steingold <sds@gnu.org>
11694 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11695 `safe-local-variable' if the value is a string or a function, as
11696 documented and implemented on 2010-04-02.
11698 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11700 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11701 when method is 'kill.
11703 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11705 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11706 condition in default directory check.
11707 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11708 Kill ispell process when killing its associated buffer.
11710 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11712 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11713 but we aren't using it.
11715 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11717 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11718 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11720 2010-04-24 Glenn Morris <rgm@gnu.org>
11722 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11723 Ignore VCS-ignore files, and deleted nextstep preferences files.
11724 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11725 (authors-ambiguous-files): New list.
11726 (authors-valid-file-names): Add some deleted files.
11727 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11728 (authors-disambiguate-file-name): New function. (Bug#5501)
11729 (authors-canonical-file-name): Doc fix.
11730 Don't warn about obsolete files.
11731 (authors-canonical-file-name, authors-scan-el):
11732 Use authors-disambiguate-file-name.
11734 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11735 Add autoload cookies.
11736 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11737 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11738 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11739 They have definitions / compiler macros in cl.el.
11740 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11741 Replace manual autoloads with generated ones.
11742 (htmlfontify-unload-rgb-file): Remove autoload.
11743 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11745 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11747 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11748 (byte-compile-setq-default): Optimize for the
11749 single-var case and don't call byte-compile-form in this case to avoid
11750 inf-loop with byte-compile-set-default.
11752 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11754 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11756 Implement SELINUX backends.
11758 * net/tramp.el (tramp-file-name-handler-alist):
11759 Add `file-selinux-context' and `set-file-selinux-context'.
11760 (tramp-handle-file-selinux-context)
11761 (tramp-handle-set-file-selinux-context): New defuns.
11762 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11763 Handle PRESERVE-SELINUX-CONTEXT.
11765 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11766 Add `file-selinux-context' and `set-file-selinux-context'.
11767 (tramp-gvfs-handle-file-selinux-context)
11768 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11769 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11771 * net/ange-ftp.el (ange-ftp-copy-file):
11772 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11773 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11774 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11775 Add PRESERVE-SELINUX-CONTEXT.
11777 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11779 Synchronize with Tramp repository.
11781 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11782 (tramp-action-process-alive, tramp-action-out-of-band)
11783 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11784 (tramp-exists-file-name-handler): Fix docstring.
11785 (with-progress-reporter): New defmacro.
11786 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11787 (tramp-maybe-open-connection): Use it.
11789 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11791 Detect ssh 'ControlMaster' argument automatically in some cases.
11793 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11794 (tramp-default-method): Use it.
11796 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11798 * net/tramp.el (tramp-handle-copy-file): Add new optional
11799 parameter `preserve-selinux-context'.
11800 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11802 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11804 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11805 Ensure, that non remote files are still checked. Oops.
11807 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11811 * icomplete.el (icomplete-completions): Use `non-essential'.
11813 * net/tramp.el (tramp-connectable-p): New defun.
11814 (tramp-handle-expand-file-name)
11815 (tramp-completion-handle-file-name-all-completions)
11816 (tramp-completion-handle-file-name-completion): Use it.
11818 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11820 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11822 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11824 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11826 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11828 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11831 * info.el (info-tool-bar-map): Add labels.
11833 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11835 * cus-edit.el (custom-commands): Add labels for tool bar.
11836 (custom-buffer-create-internal, Custom-mode): Adjust for
11837 labels in custom-commands.
11839 * dynamic-setting.el: Renamed from font-setting.el.
11841 2010-04-21 John Wiegley <jwiegley@gmail.com>
11843 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11844 toggles the use of virtual buffers.
11845 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11846 (ido-toggle-virtual-buffers): New function.
11848 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11850 Use `define-derived-mode'; fix window selection; doc fixes.
11851 * play/tetris.el (tetris, tetris-update-speed-function)
11852 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11853 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11854 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11855 (tetris-pause-game): Fix typos in docstrings.
11856 (tetris-mode-map, tetris-null-map):
11857 Move initialization into declaration.
11858 (tetris-mode): Define with `define-derived-mode';
11859 set show-trailing-whitespace to nil.
11860 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11862 2010-04-21 Karel Klíč <kklic@redhat.com>
11864 * files.el (backup-buffer): Handle SELinux context, and return it
11865 if a backup was made by renaming.
11866 (backup-buffer-copy): Set SELinux context to the target file.
11867 (basic-save-buffer): Set SELinux context of the newly written file.
11868 (basic-save-buffer-1): Now it also returns any SELinux context.
11869 (basic-save-buffer-2): Set SELinux context of the newly created file,
11871 * net/tramp.el (tramp-file-name-for-operation):
11872 Add file-selinux-context.
11874 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11876 Make the log-edit comments use RFC822 format throughout.
11878 * vc.el (vc-checkin, vc-modify-change-comment):
11879 Adjust to new vc-start/finish-logentry.
11880 (vc-find-conflicted-file): New command.
11881 (vc-transfer-file): Adjust to new vc-checkin.
11882 (vc-next-action): Improve scoping.
11884 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11885 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11887 * vc-git.el (vc-git-log-edit-mode): Remove.
11888 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11889 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11891 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11892 (vc-start-logentry): Remove argument `extra'.
11893 (vc-finish-logentry): Remove extra args.
11895 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11896 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11897 (vc-bzr-conflicted-files): New function.
11899 * log-edit.el (log-edit-extra-flags)
11900 (log-edit-before-checkin-process): Remove.
11901 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11902 (log-edit-headers-alist): New var.
11903 (log-edit-header-contents-regexp): New const.
11904 (log-edit-match-to-eoh): New function.
11905 (log-edit-font-lock-keywords): Use them.
11906 (log-edit): Insert a "Summary:" header as default.
11907 (log-edit-mode): Mark font-lock rules as case-insensitive.
11908 (log-edit-done): Cleanup headers.
11909 (log-view-process-buffer): Remove.
11910 (log-edit-extract-headers): New function to replace it.
11912 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11914 * subr.el (default-direction-reversed): Remove obsolescence info.
11916 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11918 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11921 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11922 I.e. include text after point in the completion region.
11923 Also, return nil when we're not after/in a symbol.
11925 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11926 default enable-multibyte-characters.
11928 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11930 * international/mule.el: Help the user choose a valid coding-system.
11931 (read-buffer-file-coding-system): New function.
11932 (set-buffer-file-coding-system): Use it. Prompt the user if the
11933 coding-system cannot encode all the chars.
11935 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11936 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11937 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11938 Don't use *vc-bzr-shelve*.
11940 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11942 Fix the version number for added files.
11943 * vc-hg.el (vc-hg-working-revision): Check if the file is
11944 registered after hg parent fails (Bug#5961).
11946 2010-04-19 Glenn Morris <rgm@gnu.org>
11948 * htmlfontify.el (htmlfontify-buffer)
11949 (htmlfontify-copy-and-link-dir): Autoload entry points.
11951 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11953 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11954 name relative to the project root (Bug#5960).
11956 2010-04-19 Glenn Morris <rgm@gnu.org>
11958 * vc-git.el (vc-git-print-log): Doc fix.
11960 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11962 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11964 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11966 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11967 default settings (Bug#5928).
11969 2010-04-19 Glenn Morris <rgm@gnu.org>
11971 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11973 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11975 2010-04-19 Kenichi Handa <handa@m17n.org>
11977 * language/indian.el (malayalam-composable-pattern): Fix previous
11978 change (add U+0D4D "SIGN VIRAMA").
11979 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11980 (tamil-composable-pattern): Fix typo in the regexp.
11981 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11982 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11983 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11985 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11987 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11988 paragraph-separate (Bug#5821).
11990 2010-04-19 Juri Linkov <juri@jurta.org>
11992 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11994 * info.el (Info-find-node-2): Comment out code that skips
11996 (Info-mouse-follow-link): New command.
11997 (Info-link-keymap): New keymap.
11998 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11999 Return a string with links instead of inserting breadcrumbs
12000 to the Info buffer.
12001 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12002 Instead of putting the `invisible' text property over the Info
12003 header, make an overlay over the Info header with the `invisible'
12004 property and `after-string' set to the string returned by
12005 `Info-breadcrumbs'.
12007 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12009 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12010 Reported by monkey@sandpframing.com.
12012 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12014 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12015 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12016 available in the "keyseq cache" any more.
12018 * custom.el (defcustom): Add edebug spec.
12020 2010-04-18 Juri Linkov <juri@jurta.org>
12022 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12024 * view.el (view-file, view-buffer): Move test for special mode-class
12025 from view-file to view-buffer.
12027 * tar-mode.el (tar-extract): Turn if's into one cond
12028 like in arc-mode.el.
12030 2010-04-18 Juri Linkov <juri@jurta.org>
12032 Add 7z archive format support (bug#5475).
12034 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12035 (archive-7z-extract): New defcustom.
12036 (archive-find-type): Add magic string for 7z.
12037 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12038 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12039 `buffer' arg of `call-process'.
12040 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12041 call the function `archive-7z-extract' with the variable
12042 `archive-7z-extract' let-bound to `archive-zip-extract'.
12043 (archive-7z-summarize, archive-7z-extract): New functions.
12045 * international/mule.el (auto-coding-alist):
12046 * files.el (auto-mode-alist): Add 7z file extension.
12048 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * loadup.el: Setup hash-cons for pure data.
12052 Fix duplicate entries in cedet's loaddefs.el files.
12053 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12054 Should make most file-local generated-autoload-file unnecessary.
12055 (print-readably): Silence warnings.
12056 (autoload-find-destination): Take load-name as an arg to make sure
12057 it's the same as the one that will be in the file.
12058 (autoload-generate-file-autoloads): Adjust to above changes.
12059 Try to make the dataflow a bit simpler.
12061 * cvs-status.el (cvs-refontify): Remove unused.
12063 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12065 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12067 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12068 twos-complement mode.
12070 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12072 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12073 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12074 (calc-inverse): Add "Option" to message, as appropriate.
12075 (calc-hyperbolic): Add "Option" to message, as appropriate.
12076 (calc-option, calc-is-option): New functions.
12078 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12079 (calc-option-prefix-help): New function.
12081 * calc/calc-misc.el (calc-help): Add "Option" entry.
12083 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12084 (calc-option-flag): New variable.
12085 (calc-do): Set `calc-option-flag to nil.
12086 (calc-set-mode-line): Add "Opt " as appropriate.
12088 2010-04-16 Juri Linkov <juri@jurta.org>
12090 Move scrolling commands from simple.el to window.el
12091 because their primitives are implemented in window.c.
12093 * simple.el (scroll-error-top-bottom)
12094 (scroll-up-command, scroll-down-command, scroll-up-line)
12095 (scroll-down-line, scroll-other-window-down)
12096 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12097 * window.el (scroll-error-top-bottom)
12098 (scroll-up-command, scroll-down-command, scroll-up-line)
12099 (scroll-down-line, scroll-other-window-down)
12100 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12101 Move from simple.el to window.el because their primitives are
12102 implemented in window.c.
12104 2010-04-16 Juri Linkov <juri@jurta.org>
12106 * isearch.el (isearch-lookup-scroll-key): Check both
12107 `isearch-scroll' and `scroll-command' properties.
12108 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12110 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12112 * simple.el (scroll-up-command, scroll-down-command)
12113 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12115 2010-04-15 Juri Linkov <juri@jurta.org>
12117 * simple.el (scroll-up-command, scroll-down-command)
12118 (scroll-up-line, scroll-down-line): Put `scroll-command'
12119 property on the these symbols. Remove them from
12120 `scroll-preserve-screen-position-commands'.
12122 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12123 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12124 Remove it from `scroll-preserve-screen-position-commands'.
12126 * isearch.el (isearch-allow-scroll): Doc fix.
12128 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12130 * net/tramp.el (tramp-error-with-buffer): Don't show the
12131 connection buffer when we are in completion mode.
12132 (tramp-file-name-handler): Catch the error for some operations
12133 when we are in completion mode. This gives the user the chance to
12134 correct the file name in the minibuffer.
12136 2010-04-15 Glenn Morris <rgm@gnu.org>
12138 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12140 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12142 Simplify by using `define-derived-mode'.
12143 * info.el (Info-mode):
12144 * calendar/todo-mode.el (todo-mode):
12145 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12146 (gomoku-mode-map): Move initialization into declaration.
12148 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12151 * ido.el (ido-file-name-all-completions-1):
12152 * minibuffer.el (minibuffer-completion-help):
12153 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12155 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12157 * simple.el (non-essential): New var.
12159 Add a new field `location' to bookmarks for non-file bookmarks.
12160 * bookmark.el (bookmark-location): Use the new field, if present.
12161 (bookmark-insert-location): Undo last change, not needed any more.
12162 * man.el (Man-bookmark-make-record):
12163 * woman.el (woman-bookmark-make-record): Add `location' field.
12165 2010-04-14 Juri Linkov <juri@jurta.org>
12167 * simple.el (scroll-error-top-bottom): New defcustom.
12168 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12170 * emulation/pc-select.el (pc-select-override-scroll-error):
12171 Obsolete in favor of `scroll-error-top-bottom'.
12173 2010-04-14 Juri Linkov <juri@jurta.org>
12175 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12176 `scroll-up-command' and `M-v' to `scroll-down-command'.
12178 * emulation/cua-rect.el (cua--init-rectangles):
12179 * forms.el (forms--change-commands):
12180 * image-mode.el (image-mode-map):
12181 Remap scroll-down-command and scroll-up-command
12182 in addition to scroll-down and scroll-up.
12184 2010-04-14 Juri Linkov <juri@jurta.org>
12186 * mwheel.el (scroll-preserve-screen-position-commands):
12187 Add mwheel-scroll to this list of commands.
12189 * simple.el (scroll-preserve-screen-position-commands):
12190 Add scroll-up-command, scroll-down-command, scroll-up-line,
12191 scroll-down-line to this list of commands.
12193 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12195 * obsolete/complete.el: Move from lisp/complete.el.
12197 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12199 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12200 to the minor mode function now turns the mode ON unconditionally.
12202 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12204 * vc-dir.el (vc-dir-kill-line): New command.
12205 (vc-dir-mode-map): Bind it to C-k.
12207 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12209 * woman.el: Add bookmark declarations to silence the compiler.
12210 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12211 step to compatibility between man and woman bookmarks.
12212 Adjust for Man-default-bookmark-title renaming.
12213 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12215 * man.el: Add bookmark declarations to silence the compiler.
12216 (Man-name-local-regexp): Make it match NAME as well.
12217 (Man-getpage-in-background): Return the buffer.
12218 (Man-notify-when-ready): Use `case'.
12219 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12220 Don't hardcode "NAME". Simplify.
12221 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12222 Rename from Man-bookmark-make-record.
12223 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12224 we have the actual man-args. Use Man-getpage-in-background rather
12225 than `man' since the arg is already processed. Let bookmark.el do the
12226 window handling. Only wait for the relevant process.
12227 Don't forget to autoload.
12229 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12231 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12233 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12235 (woman-mode): Setup bookmark support.
12237 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12238 (man-bookmark-jump): New functions.
12239 (Man-mode): Setup bookmark support.
12241 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12243 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12244 recognize ssh-keygen prompt (Bug#2817).
12246 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12248 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12250 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12252 Synchronize with Tramp repository.
12254 * net/tramp.el (tramp-completion-function-alist)
12255 (tramp-file-name-regexp, tramp-chunksize)
12256 (tramp-local-coding-commands, tramp-remote-coding-commands):
12258 (tramp-remote-process-environment): Use `format' instead of `concat'.
12259 (tramp-handle-directory-files-and-attributes)
12260 (tramp-get-remote-path): Use `copy-tree'.
12261 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12262 compatibility: Use `completion-ignore-case' if
12263 `read-file-name-completion-ignore-case' does not exist.
12264 (tramp-do-copy-or-rename-file-directly): Do not use
12265 `tramp-handle-file-remote-p'.
12266 (tramp-do-copy-or-rename-file-out-of-band):
12267 Use `tramp-compat-delete-directory'.
12268 (tramp-do-copy-or-rename-file-out-of-band)
12269 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12270 Use `format-spec-make'.
12271 (tramp-find-foreign-file-name-handler)
12272 (tramp-advice-make-auto-save-file-name)
12273 (tramp-set-auto-save-file-modes): Remove superfluous check for
12274 `stringp'. This is done inside `tramp-tramp-file-p'.
12275 (tramp-debug-outline-regexp): New defconst.
12276 (tramp-get-debug-buffer): Use it.
12277 (tramp-check-for-regexp): Use (forward-line 1).
12278 (tramp-set-auto-save-file-modes): Adapt version check.
12280 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12281 Wrap call of `featurep' for 2nd argument.
12282 (tramp-compat-make-temp-file): Simplify fallback implementation.
12283 (tramp-compat-copy-tree): Remove function.
12284 (tramp-compat-delete-directory): Provide implementation for older
12287 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12288 Do not use `tramp-fish-handle-file-attributes.
12290 * net/trampver.el: Update release number.
12292 2010-04-10 Glenn Morris <rgm@gnu.org>
12294 * progmodes/compile.el (compilation-save-buffers-predicate):
12295 Add missing :version tag.
12297 2010-04-09 Sam Steingold <sds@gnu.org>
12299 * progmodes/compile.el (compilation-save-buffers-predicate):
12300 Remove the "autoload" cookie.
12302 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12303 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12304 and `bug-reference-prog-mode' can be used in hooks directly.
12306 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12308 Add --author support to git commit.
12309 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12310 (vc-git-log-edit-mode): New minor mode.
12311 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12314 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12316 * vc-hooks.el, vc-git.el: Improve documentation comments.
12318 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12320 Fix some of the problems in defsubst* (bug#5728).
12321 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12322 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12324 2010-04-07 Sam Steingold <sds@gnu.org>
12326 * progmodes/compile.el (compilation-save-buffers-predicate):
12327 New custom variable.
12328 (compile, recompile): Pass it to `save-some-buffers'.
12330 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12332 * wid-edit.el (widget-choose): Move cursor to the second line of
12333 the buffer (Bug#5695).
12335 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12337 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12338 * vc.el (vc-print-log-setup-buttons): New function split out from
12339 vc-print-log-internal.
12340 (vc-log-internal-common): New function, a parametrized version of
12341 vc-print-log-internal.
12342 (vc-print-log-internal): Just call vc-log-internal-common with the
12344 (vc-incoming-outgoing-internal):
12345 (vc-log-incoming, vc-log-outgoing): New functions.
12346 (vc-log-view-type): New permanent local variable.
12348 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12350 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12351 of the dynamic bound vc-short-log.
12352 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12354 * vc-git.el (vc-git-log-outgoing): New function.
12355 (vc-git-log-view-mode): Use vc-log-view-type instead
12356 of the dynamic bound vc-short-log.
12358 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12359 of the dynamic bound vc-short-log. Highlight the tag.
12360 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12361 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12362 (vc-hg-incoming-mode): Remove.
12363 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12365 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12367 Fix default-directory for vc-root-diff.
12368 * vc.el (vc-root-diff): Bind default-directory to the root
12369 directory for the diff command.
12371 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12373 * progmodes/verilog-mode.el (verilog-forward-sexp):
12374 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12375 word keywords, suggested by Steve Pearlmutter.
12376 (verilog-pretty-declarations): Support lineup of declarations in
12378 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12379 fix bug for /* / comments.
12380 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12381 Speed up and simplfy as this is never called with a bound.
12382 (verilog-pretty-declarations): Enhance to line up declarations
12383 inside a parameter list, suggested by Alan Morgan.
12384 (verilog-pretty-expr): Tune assignment regular expression match
12385 string for corner cases; also use markers instead of character
12386 number as indent changes the later.
12388 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12390 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12391 as missing keyword.
12392 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12393 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12394 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12395 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12397 (verilog-keywords):
12398 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12399 1800-2009 keywords, including "global.".
12401 2010-04-06 John Wiegley <jwiegley@gmail.com>
12403 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12404 appearing in buffer list (if a live buffer name matched a recentf
12405 file basename). Should use uniquify to offer a real solution.
12407 2010-04-06 John Wiegley <jwiegley@gmail.com>
12409 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12410 comment to code, and add a :version tag.
12411 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12413 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12415 Enable recentf-mode if using virtual buffers.
12416 * ido.el (recentf-list): Declare for byte-compiler.
12417 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12418 (ido-make-buffer-list): Simplify.
12419 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12421 2010-04-05 Juri Linkov <juri@jurta.org>
12423 Scrolling commands which scroll a line instead of full screen.
12424 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12426 * simple.el (scroll-up-line, scroll-down-line): New commands.
12427 Put property isearch-scroll=t on them.
12429 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12432 2010-04-05 Juri Linkov <juri@jurta.org>
12434 Scrolling commands which do not signal errors at top/bottom.
12435 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12437 * simple.el (scroll-up-command, scroll-down-command): New commands.
12438 Put property isearch-scroll=t on them.
12440 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12441 `scroll-down-command' and [next] from `scroll-up' to
12442 `scroll-up-command'.
12444 * emulation/cua-base.el: Put property CUA=move on
12445 `scroll-up-command' and `scroll-down-command'.
12446 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12447 and `scroll-down-command' to `cua-scroll-down'.
12449 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12451 * help.el (describe-mode): Return nil.
12453 2010-04-04 John Wiegley <jwiegley@gmail.com>
12455 * ido.el (ido-use-virtual-buffers): New variable to indicate
12456 whether "virtual buffer" support is enabled for IDO.
12457 (ido-virtual): Face used to indicate virtual buffers in the list.
12458 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12459 exists, but a virtual buffer of that name does (which would be why
12460 it was in the list), recreate the buffer by reopening the file.
12461 (ido-make-buffer-list): If virtual buffers are being used, call
12462 `ido-add-virtual-buffers-to-list' before the make list hook.
12463 (ido-virtual-buffers): New variable which contains a copy of the
12464 current contents of the `recentf-list', albeit pared down for the
12465 sake of speed, and with proper faces applied.
12466 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12467 create a list of "virtual buffers" to present to the user in
12468 addition to the currently open set. Note that this logic could
12469 get rather slow if that list is too large. With the default
12470 `recentf-max-saved-items' of 200, there is little speed penalty.
12472 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12474 * font-lock.el: Require CL when compiling.
12475 (font-lock-turn-on-thing-lock): Use `case'.
12477 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12479 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12482 2010-04-02 Juri Linkov <juri@jurta.org>
12484 * ehelp.el (electric-help-orig-major-mode):
12485 New buffer-local variable.
12486 (electric-help-mode): Set it to original major-mode. Doc fix.
12487 (with-electric-help): Use `electric-help-orig-major-mode' instead
12488 of (default-value 'major-mode). Doc fix.
12489 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12491 2010-04-02 Sam Steingold <sds@gnu.org>
12493 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12494 `vc-hg-command' with a list of flags.
12496 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12497 Also accept "patch" and "RFE".
12498 (bug-reference-fontify): `bug-reference-url-format' can also be a
12499 function to be able to handle the bug kind.
12500 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12502 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12504 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12505 value to fboundp, it may not be a symbol.
12507 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12509 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12511 2010-03-31 Juri Linkov <juri@jurta.org>
12513 * simple.el (next-line, previous-line): Re-throw a signal
12514 with `signal' instead of using `ding'.
12515 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12517 2010-03-31 Juri Linkov <juri@jurta.org>
12519 * simple.el (keyboard-escape-quit): Raise deselecting the active
12520 region higher than exiting the minibuffer.
12521 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12523 2010-03-31 Juri Linkov <juri@jurta.org>
12525 * image.el (image-animated-p): Use `image-metadata' instead of
12526 `image-extension-data'. Get GIF extenstion data from metadata
12527 property `extension-data'.
12529 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12531 * simple.el (append-to-buffer): Simplify.
12533 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12535 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12536 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12538 2010-03-31 Kenichi Handa <handa@m17n.org>
12540 * language/sinhala.el (composition-function-table): Fix regexp for
12541 the new Unicode specification.
12543 * language/indian.el (devanagari-composable-pattern)
12544 (tamil-composable-pattern, kannada-composable-pattern)
12545 (malayalam-composable-pattern): Adjust for the new Unicode
12547 (bengali-composable-pattern, gurmukhi-composable-pattern)
12548 (gujarati-composable-pattern, oriya-composable-pattern)
12549 (telugu-composable-pattern): New variables to cope with the new
12550 Unicode specification. Use them in composition-function-table.
12552 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12554 Make tmm-menubar work for the Buffers menu again (bug#5726).
12555 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12556 vectors rather than cons cells, as used in menu-bar-update-buffers.
12558 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12560 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12561 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12562 electric punctuation for "{}();,:" (Bug#5586).
12564 * mail/sendmail.el (mail-default-directory): Doc fix.
12566 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12568 * mail/sendmail.el (mail-default-directory): Doc fix.
12570 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12572 * subr.el (version-regexp-alist, version-to-list)
12573 (version-list-<, version-list-=, version-list-<=)
12574 (version-list-not-zero, version<, version<=, version=): Doc fix.
12577 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12579 * vc.el (vc-root-diff): Doc fix.
12581 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12583 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12585 * simple.el (append-to-buffer): Fix last change.
12587 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12589 * simple.el (append-to-buffer): Ensure that point is preserved if
12590 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12593 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12595 * files.el (auto-mode-case-fold): Change default to t.
12597 2010-03-30 Juri Linkov <juri@jurta.org>
12599 * dired-x.el (dired-omit-mode): Doc fix.
12601 2010-03-30 Juri Linkov <juri@jurta.org>
12603 * replace.el (occur-accumulate-lines): Move occur-engine related
12604 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12605 to be located after `occur-engine'.
12607 2010-03-30 Juri Linkov <juri@jurta.org>
12609 Make occur handle multi-line matches cleanly with context.
12610 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12612 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12613 (occur-engine): Add local variables `ret', `prev-after-lines',
12614 `prev-lines'. Use more arguments for `occur-context-lines'.
12615 Set first elem of its returned list to `data', and the second elem
12616 to `prev-after-lines'. Don't print the separator line.
12617 In the end, print remaining context after-lines.
12618 (occur-context-lines): Add new arguments `begpt', `endpt',
12619 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12620 after-lines of the previous match with before-lines of the
12621 current match and not overlap them. Return a list with two
12622 values: the output line and the list of context after-lines.
12624 2010-03-30 Juri Linkov <juri@jurta.org>
12626 * replace.el (occur-accumulate-lines): Fix a bug where the first
12627 context line at the beginning of the buffer was missing.
12629 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12631 * files.el: Make bidi-display-reordering safe variable for boolean
12634 2010-03-29 Phil Hagelberg <phil@evri.com>
12635 Chong Yidong <cyd@stupidchicken.com>
12637 * subr.el: Extend progress reporters to perform "spinning".
12638 (progress-reporter-update, progress-reporter-do-update):
12639 Handle non-numeric value arguments.
12640 (progress-reporter--pulse-characters): New var.
12642 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12644 * progmodes/compile.el (compilation-start): Fix regexp detection
12645 of initial cd command (Bug#5771).
12647 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12649 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12651 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12653 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12654 * progmodes/gdb-mi.el: Restore.
12655 * progmodes/gdb-ui.el: Remove.
12656 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12658 2010-03-25 Glenn Morris <rgm@gnu.org>
12660 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12661 all dired buffers, even tramp ones. (Bug#5755)
12663 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12665 Add "union tags" in mpc.el.
12666 * mpc.el: Remove backward compatibility code.
12667 (mpc-browser-tags): Change default.
12668 (mpc--find-memoize-union-tags): New var.
12669 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12670 (mpc-cmd-find): Handle the case where the playlist does not exist.
12672 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12673 (mpc-cmd-add): Use mpc-cmd-flush.
12674 (mpc-tagbrowser-tag-name): New fun.
12675 (mpc-tagbrowser-buf): Use it.
12676 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12678 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12681 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12682 Use replace-regexp-in-string.
12683 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12684 (makefile-imake-mode-syntax-table): Move init into defvar.
12685 (makefile-mode): Use define-derived-mode.
12687 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12688 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12689 not be present any more.
12691 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12693 * faces.el (set-face-attribute): Fix typo in docstring.
12694 (face-valid-attribute-values): Reflow docstring.
12696 2010-03-24 Glenn Morris <rgm@gnu.org>
12698 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12700 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12702 * indent.el (indent-for-tab-command): Doc fix.
12704 2010-03-24 Alan Mackenzie <acm@muc.de>
12706 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12707 Fix off-by-one error. Fixes bug #5747.
12709 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12711 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12712 (image-dired-read-comment): Doc fix.
12714 * json.el (json-object-type, json-array-type, json-key-type)
12715 (json-false, json-null, json-read-number):
12716 * minibuffer.el (completion-in-region-functions):
12717 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12718 (cal-tex-cursor-week):
12719 * emacs-lisp/trace.el (trace-function):
12720 * eshell/em-basic.el (eshell/printnl):
12721 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12722 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12723 * obsolete/levents.el (allocate-event, event-key, event-object)
12724 (event-point, event-process, event-timestamp, event-to-character)
12725 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12726 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12727 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12728 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12729 (reftex-highlight-selection): Fix typos in docstrings.
12731 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12733 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12735 2010-03-24 Glenn Morris <rgm@gnu.org>
12737 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12738 2008-02-13 without comment; mark it obsolete.
12739 (rmail-highlight-headers): Use rmail-highlight-face once more.
12741 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12743 * woman.el (woman2-process-escapes): Only consume the newline if
12744 the filler character is on a line by itself (Bug#5729).
12746 2010-03-24 Kenichi Handa <handa@m17n.org>
12748 * language/indian.el (devanagari-composable-pattern): Add more
12751 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12753 * net/trampver.el: Update release number.
12755 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12757 * net/tramp.el (tramp-find-executable):
12758 Use `tramp-get-connection-buffer'. Make the regexp for checking
12759 output of "wc -l" more robust.
12760 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12761 (tramp-open-connection-setup-interactive-shell): Remove workaround
12762 for OpenSolaris bug, it is not needed anymore.
12764 2010-03-24 Glenn Morris <rgm@gnu.org>
12766 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12768 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12770 * files.el (auto-mode-alist): Accept more verilog file patterns.
12772 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12774 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12776 2010-03-24 Glenn Morris <rgm@gnu.org>
12778 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12779 log-edit-before-checkin-process.
12781 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12783 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12785 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12786 (log-view-process-buffer, log-edit-extra-flags): Declare.
12788 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12790 2010-03-23 Sam Steingold <sds@gnu.org>
12792 Fix bug#5620: recalculate all markers on compilation buffer
12793 modifications, not on file modifications.
12794 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12795 variable: the buffer modification time, for buffers not associated with
12797 (compilation-mode): Create it.
12798 (compilation-filter): Update it.
12799 (compilation-next-error-function): Use it instead of
12800 `visited-file-modtime' for timestamp.
12802 2010-03-23 Juri Linkov <juri@jurta.org>
12804 Implement Occur multi-line matches.
12805 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12807 * replace.el (occur): Doc fix.
12808 (occur-engine): Set `begpt' to the beginning of the first line.
12809 Set `endpt' to the end of the last match line. At first, count
12810 line numbers between `origpt' and `begpt'. Split out code from
12811 `out-line' variable to new let-bindings `match-prefix' and
12812 `match-str'. In `out-line' add non-numeric prefix to all
12813 non-first lines of multi-line matches. Finally, count lines
12814 between `begpt' and `endpt' and add to `lines'.
12816 2010-03-23 Juri Linkov <juri@jurta.org>
12818 * replace.el (occur-accumulate-lines, occur-engine):
12819 Use `occur-engine-line' instead of duplicate code.
12820 (occur-engine-line): New function created from duplicate code
12821 in `occur-accumulate-lines' and `occur-engine'.
12823 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12824 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12826 2010-03-23 Juri Linkov <juri@jurta.org>
12828 * finder.el: Remove TODO tasks.
12830 * info.el (Info-finder-find-node): Add node "all"
12831 with all package info. Handle a list of multiple keywords
12832 separated by comma.
12833 (info-finder): In interactive use with a prefix argument,
12834 use `completing-read-multiple' to read a list of keywords
12835 separated by comma.
12837 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12839 Add a new completion style `substring'.
12840 * minibuffer.el (completion-basic--pattern): New function.
12841 (completion-basic-try-completion, completion-basic-all-completions):
12843 (completion-substring--all-completions)
12844 (completion-substring-try-completion)
12845 (completion-substring-all-completions): New functions.
12846 (completion-styles-alist): New style `substring'.
12848 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12850 Get rid of .elc files after removal of the corresponding .el.
12851 * Makefile.in (compile-clean): New target.
12852 (compile-main): Use it.
12854 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12856 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12857 don't do make there. When compiling with separate object dir, there
12858 is no Makefile there.
12860 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12862 Get rid of the ELCFILES abomination, again.
12863 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12864 (all, compile): Don't call compile-last.
12865 (compile-main): Build the "elcfiles" list dynamically.
12866 (compile-targets): New (internal) target.
12868 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12870 * Makefile.in (top_srcdir): Define.
12871 (abs_top_builddir): Define.
12872 (srcdir): Don't append `/..'.
12873 (EMACS): Use ${abs_top_builddir}.
12874 (all, compile, compile-always, compile-last): Don't set emacswd.
12875 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12877 (lisp): Use $(srcdir) instead of @srcdir@.
12879 2010-03-21 Juri Linkov <juri@jurta.org>
12881 Fix message of multi-line occur regexps and multi-buffer header lines.
12882 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12884 * replace.el (occur-1): Don't display regexp if it is longer
12885 than window-width. Use `query-replace-descr' to display regexp.
12886 (occur-engine): Don't display regexp in the buffer header for
12887 multi-buffer occur. Display a separate header line with total
12888 match count and regexp for multi-buffer occur.
12889 Use `query-replace-descr' to display regexp.
12891 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12893 * net/secrets.el: Fix parenthesis.
12894 (secrets-enabled): Fix parenthesis.
12896 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12898 Use more relative file and directory names.
12899 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12900 (setwins, setwins_almost, setwins_for_subdirs):
12901 Don't `cd'; output relative names.
12902 (all, compile, compile-always, compile-last): Set emacswd.
12903 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12904 Just cd to the lisp source dir so we can use relative file names.
12906 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12908 2010-03-20 Glenn Morris <rgm@gnu.org>
12910 * textmodes/rst.el: Use faces for font-lock customization, and make the
12911 old -face variables obsolete.
12912 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12913 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12914 (rst-block-face, rst-external-face, rst-definition-face)
12915 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12916 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12918 (rst-font-lock-keywords-function): Update for above changes.
12920 2010-03-20 Juri Linkov <juri@jurta.org>
12923 * obsolete/s-region.el: Move to obsolete.
12925 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12927 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12929 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12931 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12933 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12935 Add special markup processing for commit logs.
12936 * log-edit.el (log-edit-extra-flags): New variable.
12937 (log-edit): Add new argument MODE. Use that mode when non-nil
12938 instead of the log-view-mode.
12939 (log-view-process-buffer): New function.
12941 * vc.el: Document that the checkin method takes optional
12942 arguments. Document new backend specific method: log-view-mode.
12943 (vc-default-log-edit-mode): New function.
12944 (vc-checkin): Use a backend specific log-view-mode.
12945 Pass extra arguments to the checkin method.
12946 (vc-modify-change-comment): Pass a dummy extra argument.
12948 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12950 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12951 (vc-finish-logentry): Process the log buffer before passing it
12952 down. Pass log-edit-extra-flags.
12954 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12956 (log-edit-extra-flags, log-edit-before-checkin-process):
12959 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12961 (log-edit-extra-flags, log-edit-before-checkin-process):
12963 (vc-hg-log-edit-mode): New derived mode.
12965 * vc-arch.el (vc-arch-checkin):
12966 * vc-cvs.el (vc-cvs-checkin):
12967 * vc-git.el (vc-git-checkin):
12968 * vc-mtn.el (vc-mtn-checkin):
12969 * vc-rcs.el (vc-rcs-checkin):
12970 * vc-sccs.el (vc-sccs-checkin):
12971 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12973 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12975 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12978 2010-03-19 Glenn Morris <rgm@gnu.org>
12980 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12982 2010-03-18 Glenn Morris <rgm@gnu.org>
12984 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12986 * replace.el (query-replace-history): Give it a doc string.
12987 (map-query-replace-regexp): Use query-replace-from-history-variable
12988 and query-replace-to-history-variable.
12990 * mail/hashcash.el (declare-function): Remove duplicate definition.
12992 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12993 Make it an obsolete alias for report-emacs-bug-address.
12994 (message-strip-special-text-properties): Declare.
12995 (report-emacs-bug): Remove test for a pretest bug address.
12996 Combine message-mode-specific code.
12998 * mail/supercite.el: Don't require sendmail.
12999 (mh-in-header-p): Declare rather than using with-no-warnings.
13000 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13001 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13003 * calendar/cal-french.el: Convert to utf-8.
13005 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13008 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13010 * net/secrets.el (secrets-enabled): New variable. Use it instead
13013 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13015 * net/secrets.el (top): Register the D-Bus signals only when the
13016 service "org.freedesktop.secrets" can be pinged.
13017 Provide subfeature `enabled'.
13019 2010-03-14 Juri Linkov <juri@jurta.org>
13021 Add finder unknown keywords.
13023 * finder.el (finder-unknown-keywords): New function.
13025 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13026 to create a Finder node with unknown keywords.
13028 2010-03-14 Juri Linkov <juri@jurta.org>
13030 * finder.el (finder-compile-keywords): Replace `princ' with
13031 `prin1' on a list of symbols interned from keyword strings.
13033 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13034 a comma, then split keywords using a comma and optional whitespace.
13035 Otherwise, split by whitespace.
13043 * progmodes/mixal-mode.el: Fix keywords.
13045 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13047 * Makefile.in (ELCFILES): Add net/secrets.elc.
13049 * net/secrets.el: New file.
13051 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13053 * facemenu.el (list-colors-display, list-colors-print): New arg
13054 callback. Use it to allow selecting colors.
13056 * wid-edit.el (widget-image-insert): Insert image prop even if the
13057 current display is non-graphic.
13058 (widget-field-value-set): New fun.
13059 (editable-field): Use it.
13060 (widget-field-value-get): Clean up unused var.
13061 (widget-color-value-create, widget-color--choose-action):
13062 New funs. Allow using list-colors-display to choose color.
13064 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13066 * cus-edit.el: Resort topmost custom groups.
13067 (custom-buffer-sort-alphabetically): Default to t.
13068 (customize-apropos): Use apropos-parse-pattern.
13069 (custom-search-field): New var.
13070 (custom-buffer-create-internal): Add custom-apropos search field.
13071 (custom-add-parent-links): Don't display parent doc.
13072 (custom-group-value-create): Don't sort top-level custom group.
13073 (custom-magic-value-create): Show visibility button before option name.
13075 (custom-variable-state): New fun, from custom-variable-state-set.
13076 (custom-variable-state-set): Use it.
13077 (custom-group-value-create): Hide options with standard values
13078 using the :hidden-states property. Use progress reporter.
13080 (custom-show): Simplify.
13081 (custom-visibility): Disable images by default.
13082 (custom-variable): New property :hidden-states.
13083 (custom-variable-value-create): Enable images for
13084 custom-visibility widgets. Use :hidden-states property to
13085 determine initial visibility.
13087 * wid-edit.el (widget-image-find): Give images center ascent.
13088 (visibility): Add :on-image and :off-image properties.
13089 (widget-visibility-value-create): Use them.
13091 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13093 * cus-edit.el (processes): Remove from development group.
13094 (oop, hypermedia): Delete group.
13095 (comm): Promote to top-level group.
13097 * net/browse-url.el (browse-url):
13098 * net/xesam.el (xesam):
13099 * net/tramp.el (tramp):
13100 * net/goto-addr.el (goto-address):
13101 * net/ange-ftp.el (ange-ftp): Put in comm group.
13103 * view.el (view): Remove from editing group.
13105 * uniquify.el (uniquify): Put in files group.
13107 * net/browse-url.el (browse-url):
13108 * ps-print.el (postscript): Put in external group.
13110 * cus-edit.el (outlines):
13111 * textmodes/text-mode.el (text-mode-hook):
13112 * textmodes/table.el (table):
13113 * textmodes/picture.el (picture):
13114 * outline.el (outlines): Put in wp group.
13116 * nxml/nxml-mode.el (nxml): Remove from wp group.
13118 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13120 * mail/metamail.el (metamail): Remove from hypermedia group.
13122 * cus-edit.el (abbrev):
13123 * whitespace.el (whitespace):
13124 * vcursor.el (vcursor):
13125 * reveal.el (reveal):
13126 * hl-line.el (hl-line): Put in convenience group.
13128 * epg-config.el (epg): Put in data group.
13130 * emulation/pc-select.el (pc-select): Put in emulations group.
13132 * calculator.el (calculator): Put in applications group.
13134 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13136 Add .dir-locals.el support for file-less buffers.
13137 * files.el (hack-local-variables): Split out code to apply local
13138 variable settings ...
13139 (hack-local-variables-apply): ... here. New function.
13140 (hack-dir-local-variables): Use the default directory for when the
13141 buffer does not have an associated file.
13142 (hack-dir-local-variables-non-file-buffer): New function.
13143 * diff-mode.el (diff-mode):
13144 * vc-annotate.el (vc-annotate-mode):
13145 * vc-dir.el (vc-dir-mode):
13146 * log-edit.el (log-edit-mode):
13147 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13149 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13151 Add support for shelving snapshots and for showing shelves.
13152 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13153 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13155 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13156 (vc-bzr-extra-menu-map): Map them.
13158 2010-03-11 Glenn Morris <rgm@gnu.org>
13160 * cus-edit.el (customize-changed-options-previous-release):
13163 * image.el (image-animate-max-time): Fix :version tag.
13165 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13169 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * vc-git.el (vc-git-revision-table): Include remote branches.
13173 2010-03-10 Kim F. Storm <storm@cua.dk>
13175 Animated image API.
13176 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13178 * image.el (image-animate-max-time): New defcustom.
13179 (image-animated-types): New defconst.
13180 (create-animated-image, image-animate-timer)
13181 (image-animate-start, image-animate-stop, image-animate-timeout)
13182 (image-animated-p): New functions.
13184 * image-mode.el (image-toggle-display-image):
13185 Replace `create-image' with `create-animated-image'.
13187 2010-03-09 Miles Bader <miles@gnu.org>
13189 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13190 instead of "format:"; this ensures that the output is
13191 newline-terminated.
13193 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13195 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13196 that all errors are caught, and that the return value is always a
13199 2010-03-08 Kenichi Handa <handa@m17n.org>
13201 * language/misc-lang.el (windows-1256): New coding system.
13202 (cp1256): New alias of windows-1256 (bug#5690).
13204 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13206 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13207 call to rfc822-bad-address. (Bug#5692)
13209 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13211 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13212 Use vc-git-root as default directory for revision path (Bug#5657).
13214 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13216 * calculator.el (calculator): Don't bind split-window-keep-point
13219 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * vc-git.el: Re-flow to fit into 80 columns.
13222 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13223 Remove spurious `quote' element in each case alternative.
13224 (vc-git-show-log-entry): Use prog1.
13225 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13227 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13229 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13231 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13233 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13234 definition, not the name (Bug#5481).
13236 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13238 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13239 argument with a local variable. (Bug#5670)
13241 2010-03-02 Juri Linkov <juri@jurta.org>
13243 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13245 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13247 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13248 error when FILENAME and NEWNAME are existing remote directories.
13250 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13251 parameter DIR-FLAG.
13253 2010-03-02 Glenn Morris <rgm@gnu.org>
13255 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13256 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13258 2010-03-01 Kenichi Handa <handa@m17n.org>
13260 * language/burmese.el (burmese-composable-pattern): Rename from
13261 myanmar-composable-pattern.
13263 * international/characters.el (script-list):
13264 * international/fontset.el (script-representative-chars):
13265 Change myanmar to burmese.
13266 (otf-script-alist): Likewise.
13267 (setup-default-fontset): Likewise. Re-fix :otf spec.
13269 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13271 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13273 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13275 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13277 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13279 * net/tramp.el (tramp-handle-write-region): START can be a string.
13280 Take care in the checks. Reported by Dan Davison
13281 <davison@stats.ox.ac.uk>.
13283 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13285 * net/dbus.el (dbus-introspect, dbus-get-property)
13286 (dbus-set-property, dbus-get-all-properties):
13287 Use `dbus-call-method' when noninteractive. (Bug#5645)
13289 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13291 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13292 * emacs-lisp/elint.el (elint-add-required-env):
13293 * calendar/icalendar.el (icalendar--add-diary-entry):
13294 * calc/calcalg2.el (math-tracing-integral):
13295 * files.el (recover-session-finish): Use with-current-buffer
13296 instead of save-excursion.
13298 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13300 Fix in-buffer completion when after-change-functions modify the buffer.
13301 * minibuffer.el (completion--replace): New function.
13302 (completion--do-completion): Use it and use relative movement.
13304 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13306 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13308 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13310 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13311 Allow the characters _<> in the stack entry (Bug#5653).
13313 2010-02-26 Kenichi Handa <handa@m17n.org>
13315 * language/burmese.el: Fix entries in composition-function-table.
13316 (myanmar-composable-pattern): New variable.
13318 * international/fontset.el (setup-default-fontset): Add an entry
13321 * international/characters.el (script-list): Add Myanmar
13324 2010-02-26 Glenn Morris <rgm@gnu.org>
13326 * custom.el (custom-initialize-delay): Doc fix.
13328 * mail/sendmail.el (send-mail-function): Autoload the call
13329 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13331 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13333 * files.el (hack-local-variables-filter): For eval forms, also
13334 check safe-local-variable-p (Bug#5636).
13336 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13338 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13339 setting the modes by `ignore-errors'. It might fail, for example
13340 if the file is not owned by the user but the group.
13341 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13343 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13345 * files.el (directory-listing-before-filename-regexp):
13346 Use stricter matching for iso-style dates, to avoid false matches with
13347 date-like filenames (Bug#5597).
13349 * htmlfontify.el (htmlfontify): Doc fix.
13351 * eshell/eshell.el (eshell): Doc fix.
13353 * startup.el (fancy-about-screen): In mode-line, apply
13354 mode-line-buffer-id face only to the buffer name (Bug#5613).
13356 2010-02-20 Kevin Ryde <user42@zip.com.au>
13358 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13359 In `watcom' anchor regexp to start of line, to avoid slowness
13362 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13364 * subr.el (remove-yank-excluded-properties): Explain in a comment
13365 why `category' property is removed.
13367 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13369 * isearch.el (isearch-update-post-hook, isearch-update):
13370 Revert 2010-02-17 change.
13372 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13374 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13375 (icalendar--convert-weekly-to-ical)
13376 (icalendar--convert-yearly-to-ical)
13377 (icalendar--convert-block-to-ical)
13378 (icalendar--convert-cyclic-to-ical)
13379 (icalendar--convert-anniversary-to-ical): Take care of time
13380 specifications where hour has 1-digit only (Bug#5549).
13382 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13384 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13385 of disassemble output in GDB 7.1.
13387 2010-02-19 Glenn Morris <rgm@gnu.org>
13389 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13390 property. (Bug#5593)
13392 2010-02-18 Sam Steingold <sds@gnu.org>
13394 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13396 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13398 Use abbreviated file names in bookmarks (bug#5591).
13399 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13400 calls to expand-file-name.
13401 (bookmark-relocate): Use abbreviated file names in bookmarks.
13402 (bookmark-load): Use abbreviated file names in messages.
13404 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13406 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13407 expand "." and "..". Reported by Thierry Volpiatto
13408 <thierry.volpiatto@gmail.com>.
13410 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13412 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13413 permissions of the temporary file to "0600". In case the remote
13414 file has no read permissions for the owner, there might be
13415 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13417 22010-02-18 Glenn Morris <rgm@gnu.org>
13419 * emacs-lisp/authors.el (authors-renamed-files-alist):
13420 Add entries for INSTALL.CVS.
13422 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13424 * vc-bzr.el: Fix typo in Known Bugs section.
13426 * isearch.el (isearch-update-post-hook): New hook.
13427 (isearch-update): Use the new hook.
13429 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13431 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13432 Fix errors in copying directories.
13433 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13434 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13435 (tramp-handle-delete-file)
13436 (tramp-handle-dired-recursive-delete-directory)
13437 (tramp-handle-write-region): Flush also the cache for the upper
13440 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13442 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13444 * cus-edit.el (hardware): Doc fix.
13446 * man.el (man): Add to external custom group.
13448 * delim-col.el (columns): Move to wp custom group.
13450 * doc-view.el (doc-view): Add to data custom group.
13452 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13454 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13455 by ispell-parse-output (Bug#5575).
13457 2010-02-16 Kenichi Handa <handa@m17n.org>
13459 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13460 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13461 (skkdic-convert): Use `euc-japan' coding system for writing.
13463 2010-02-16 Glenn Morris <rgm@gnu.org>
13465 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13466 tex-main-file before using it. (Bug#5562)
13468 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13470 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13471 warnings, since it is annoying for the user to see them each time he
13474 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13476 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13477 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13478 instead of PROC for caching "first-password-request". Otherwise,
13479 new processes would not profit from passwords already entered.
13481 * net/tramp-cache.el (tramp-dump-connection-properties):
13482 Don't save "first-password-request" property.
13484 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13486 * outline.el (outline-head-from-level):
13487 * simple.el (with-wrapper-hook):
13488 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13489 (elint-defun, elint-buffer-env, elint-top-form-logged)
13490 (elint-unbound-variable):
13491 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13492 Fix typos in docstrings.
13494 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13496 * files.el (insert-directory): When WILDCARD-REGEXP and
13497 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13498 whole directory. (Bug#5551)
13500 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13501 dired's alignment sanity. (Bug#5516)
13503 2010-02-14 Juri Linkov <juri@jurta.org>
13505 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13506 Remove remaining ^H with their preceding chars. (Bug#5566)
13508 2010-02-13 Glenn Morris <rgm@gnu.org>
13510 * simple.el (transpose-subr): Give it a doc-string.
13512 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13515 2010-02-12 Juri Linkov <juri@jurta.org>
13517 * arc-mode.el (archive-unique-fname): Make directories for nested
13518 archives. (Bug#5540)
13520 2010-02-12 Juri Linkov <juri@jurta.org>
13522 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13524 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13526 * subr.el (copy-overlay): Handle deleted overlays.
13528 * man.el (Man-completion-table): Don't signal an error if we can't run
13529 manual-program (bug#4056).
13531 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13533 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13535 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13537 * info.el (Info-bookmark-jump): Simplify.
13539 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13540 (bookmark-default-handler): Accept new bookmark field `buffer'.
13542 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13544 * iswitchb.el (iswitchb-completions): Revert last change.
13546 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13548 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13549 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13550 This prevents file names like "~/" being listed literally.
13552 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13554 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13555 Remove dead code. (Bug#5546)
13557 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13559 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13560 correctly (Bug#5548).
13562 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13564 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13565 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13567 2010-02-08 Kenichi Handa <handa@m17n.org>
13569 * international/mule-util.el (with-coding-priority): Add autoload
13570 cookie for putting `lisp-indent-function'.
13572 2010-02-07 Glenn Morris <rgm@gnu.org>
13574 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13575 Move F2003 named interfaces from keywords-2 to keywords-1, and
13576 use function-name-face rather than constant-face.
13577 Simplify "abstract interface" regexp.
13579 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13581 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13582 ID-FORMAT. Pass it to `file-attributes'.
13584 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13586 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13588 * faces.el (set-face-attribute): Allow calling
13589 internal-set-lisp-face-attribute with 'unspecified family and
13590 foundry argument (Bug#5536).
13592 2010-02-07 Glenn Morris <rgm@gnu.org>
13594 * progmodes/f90.el (f90-font-lock-keywords-2)
13595 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13596 Handle F2003 named interfaces.
13598 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13600 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13601 beg and end before calling c-get-state-before-change-functions.
13603 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13605 * vc-bzr.el (vc-bzr-dir-extra-headers):
13606 Disable the pending merges header.
13608 2010-02-05 Juri Linkov <juri@jurta.org>
13610 * doc-view.el (doc-view-mode):
13611 * image-mode.el (image-mode): Put property mode-class=special.
13614 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13616 * vc-svn.el (vc-svn-revision-table): New function.
13618 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13620 * net/ange-ftp.el (ange-ftp-insert-directory):
13621 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13622 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13623 Handle also directories. (Bug#5478)
13625 2010-02-05 Glenn Morris <rgm@gnu.org>
13627 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13629 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13631 * startup.el (command-line-1): Convert options beginning with a
13632 single dash as well (Bug#5519).
13634 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13636 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13637 * minibuffer.el (completion-initials-expand): Only check the presence
13638 of delims *within* the boundaries, since otherwise the / delim is
13639 always found for files.
13641 Fix up various corner case problems.
13642 * doc-view.el (doc-view-last-page-number): New function.
13643 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13644 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13645 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13646 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13647 (doc-view-convert-current-doc): Don't create the resolution.el file
13649 (doc-view-pdf/ps->png): Do it here instead.
13650 (doc-view-already-converted-p): Check that resolution.el is present.
13651 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13652 windows that are not yet showing images.
13654 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13656 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13657 `dired-uncache' for every elemnt which is an absolute file name.
13659 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13660 directory, handle its directory component.
13661 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13662 function is called permanently and creates noise, otherwise.
13664 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13665 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13666 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13668 2010-02-04 David Burger <dburger@google.com> (tiny change)
13670 * macros.el (apply-macro-to-region-lines):
13671 Minor simplification. (Bug#5485)
13673 2010-02-04 Glenn Morris <rgm@gnu.org>
13675 * mail/rmail.el (rmail-show-message-1): Handle malformed
13676 quoted-printable text. (Bug#5441)
13678 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13680 * simple.el (visual-line-mode): Capitalize lighter.
13682 2010-02-03 John Wiegley <jwiegley@gmail.com>
13684 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13685 list of files considered for "virtual buffer" completions.
13687 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13689 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13690 also in case of (and (not full) (not wildcard)). This is needed
13691 when dired is called with a list of files, which are not in
13692 `default-directory'. (Bug#5478)
13694 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13696 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13698 2010-02-02 Juri Linkov <juri@jurta.org>
13700 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13701 from unidiff to allow function-line after @@.
13703 2010-02-02 Juri Linkov <juri@jurta.org>
13705 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13706 '(RCS SCCS) with inverted condition.
13708 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13710 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13713 2010-02-01 Juri Linkov <juri@jurta.org>
13715 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13716 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13717 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13718 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13720 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13722 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13723 (doc-view-revert-buffer): New command.
13724 (doc-view-mode-map): Use it.
13726 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13728 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13729 pending merge is detected.
13731 2010-01-31 Juri Linkov <juri@jurta.org>
13733 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13734 beginning of interactive spec like all other grep commands do.
13735 Put "all" in front of "gz". (Bug#5260)
13737 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13739 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13741 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13743 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13744 regexp is incorrect (Bug#5476).
13746 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13748 * net/tramp.el (tramp-handle-insert-directory): Handle also
13749 symlinks, when FILENAME is not in `default-directory'.
13751 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13753 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13754 FILE is not in `default-directory'. (Bug#5478)
13756 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13757 of SWITCHES. Handle the case, FILENAME is not in
13758 `default-directory'. (Bug#5478)
13759 (tramp-register-file-name-handlers): Add safe-magic property.
13761 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13763 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13766 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13768 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13769 (flymake-master-make-header-init): Add other C++ filename masks.
13770 (flymake-find-possible-master-files)
13771 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13773 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13775 Fix some busybox annoyances.
13777 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13778 not responding." string.
13779 (tramp-open-connection-setup-interactive-shell): Dump stty
13780 settings. Enable "neveropen" arg for all `tramp-send-command'
13781 calls. Handle "=" in variable values properly.
13782 (tramp-find-inline-encoding): Raise an error, when no encoding is
13784 (tramp-wait-for-output): Check, whether PROC buffer is available.
13785 Remove spurious " ^H" sequences, sent by busybox.
13786 (tramp-get-ls-command): Suppress coloring, if possible.
13788 2010-01-28 Glenn Morris <rgm@gnu.org>
13790 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13792 * log-edit.el (log-edit-strip-single-file-name): Add missing
13793 :safe, :group, and :version tags.
13795 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13797 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13798 buffers. (Bug#5477)
13800 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13802 * files.el (delete-directory): Handle moving to trash without
13803 first doing recursion (Bug#5436).
13805 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13807 * vc-hooks.el (vc-path): Mark as obsolete.
13809 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13811 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13814 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13816 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13818 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13820 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13822 * vc-bzr.el (vc-bzr-revision-table): New function.
13824 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13826 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13827 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13829 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13831 Remove support for adding --signoff on commit.
13832 Future support will use an incompatible generic mechanism.
13833 * vc-git.el (vc-git-add-signoff): Remove variable.
13834 (vc-git-toggle-signoff): Remove function.
13835 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13837 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13838 Rename from xterm-set-background-mode. Return t if the background mode
13840 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13841 earlier, call it again in case the background mode has changed.
13843 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13845 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13848 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13850 * emacs-lisp/assoc.el (aelement): Doc fix.
13851 (aput, adelete, amake): Use lexical-let (Bug#5450).
13853 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13855 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13856 is the same as subprogram call, not declaration. (Bug#5435).
13858 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13860 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13861 (tramp-smb-maybe-open-connection): Use it.
13863 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13865 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13867 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13869 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13870 just because we see "encoding: 8bit".
13871 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13873 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13875 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13877 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13879 * jka-compr.el (jka-compr-load): If load-file is not in
13880 load-history, try its file-truename version. (bug#5447)
13882 2010-01-21 Alan Mackenzie <acm@muc.de>
13884 Fix a situation where deletion of a cpp construct throws an error.
13885 * progmodes/cc-engine.el (c-invalidate-state-cache):
13886 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13887 special cpp construct is still in the buffer.
13888 (c-parse-state): Record the special cpp with markers, not numbers.
13890 2010-01-21 Kenichi Handa <handa@m17n.org>
13892 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13893 process last-command-event, as it is now decoded first (Bug#5380).
13895 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13897 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13899 2010-01-20 Glenn Morris <rgm@gnu.org>
13901 * indent.el (tab-always-indent): Fix custom-type.
13903 2010-01-19 Alan Mackenzie <acm@muc.de>
13905 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13906 buffer throws "args out of range".
13907 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13908 playing the role of delimiter.
13910 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13912 * progmodes/ada-mode.el: Fix bug#5400.
13913 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13914 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13915 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13916 Improve comments in "is" portion. Handle null procedure declaration.
13917 (ada-move-to-end): Improve doc string.
13919 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13921 * ido.el (ido-cur-list): Initialize to nil.
13922 Remove obsolete information from commentary.
13923 (ido-choice-list): Initialize to nil.
13924 (ido-get-bufname): Reject minibuffers.
13925 (ido-make-buffer-list): If "default" is a nonexistent
13926 buffer, ignore it, as per the function's comment.
13927 (ido-kill-buffer-internal): New function.
13928 (ido-kill-buffer-at-head): Use it.
13929 (ido-visit-buffer): Likewise.
13931 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13933 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13935 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13937 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13938 Fix typos in chart titles.
13940 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13941 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13942 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13943 (describe-class, eieio-describe-generic, describe-generic):
13944 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13945 (eieio-speedbar-expand):
13946 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13947 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13948 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13949 (viper-del-backward-char-in-replace, viper-backward-indent)
13950 (viper-brac-function, viper-register-to-point, viper-submit-report):
13951 * net/tramp.el (tramp-remote-coding-commands):
13952 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13953 Fix typos in docstrings.
13955 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13957 * mail/sendmail.el (mail-yank-original): Set the mark if the
13958 specified function for yanking does not do it.
13960 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13962 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13964 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13965 resyncing a directory.
13967 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13969 * progmodes/ada-mode.el: Fix bug#1920.
13970 (ada-ident-re): Delete ., allow multibyte characters.
13971 (ada-goto-label-re): New; matches goto labels.
13972 (ada-block-label-re): New; matches block labels.
13973 (ada-label-re): New; matches both.
13974 (ada-named-block-re): Delete; callers changed to use
13975 `ada-block-label-re' instead.
13976 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13977 Use `ada-block-label-re'.
13978 (ada-indent-on-previous-lines): Improve handling of goto labels.
13979 (ada-get-indent-block-start): Special-case block label.
13980 (ada-get-indent-label): Split into `ada-indent-block-label' and
13981 `ada-indent-goto-label'.
13982 (ada-goto-stmt-start, ada-goto-next-non-ws):
13983 Optionally ignore goto labels.
13984 (ada-goto-next-word): Simplify.
13985 (ada-indent-newline-indent-conditional): Insert newline before
13986 trying to fix indentation; doc fix.
13988 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13990 * calc/calc.el (calc-command-flags): Give it an initial value.
13992 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13994 * files.el (minibuffer-with-setup-hook):
13995 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13996 (artist-key-draw-continously, artist-key-do-continously-continously)
13997 (artist-key-set-point-continously, artist-mouse-draw-continously):
13998 Fix typos in docstrings.
14000 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14002 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14003 Never return t (Bug#3898).
14005 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14007 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14008 can parse the output of the external commands (Bug#5279).
14010 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14012 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14014 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14016 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14018 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14020 * startup.el (command-line): Remove unused --icon-type arg.
14021 Handle --display arg, passing it to command-line-1 (Bug#5392).
14023 2010-01-16 Mario Lang <mlang@delysid.org>
14025 * emacs-lisp/chart.el (chart-translate-namezone):
14026 * textmodes/artist.el (artist-compute-popup-menu-table):
14027 Remove duplicated words in doc-strings.
14029 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14031 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14032 to mairix-search to suppress threading (Bug#5342).
14034 2010-01-15 Kenichi Handa <handa@m17n.org>
14036 * international/mule-cmds.el (canonicalize-coding-system-name):
14037 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14039 2010-01-15 Glenn Morris <rgm@gnu.org>
14041 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14043 * wid-edit.el (widget-keymap): Doc fix.
14045 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14046 former seems to be more widely accepted by various svn versions.
14048 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14050 * find-cmd.el (find-constituents):
14051 * vc-arch.el (vc-arch-root):
14052 * window.el (window-body-height, pop-up-frames):
14053 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14054 * progmodes/ada-stmt.el (ada-if):
14055 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14056 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14057 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14058 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14060 * progmodes/flymake.el (flymake-post-syntax-check):
14061 Fix typo in error message.
14063 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14065 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14066 which is always a string. (Bug#5313)
14068 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14070 * progmodes/ada-xref.el (ada-default-prj-properties):
14071 Simplify previous change.
14073 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14075 * progmodes/ada-xref.el (ada-default-prj-properties):
14076 Default ada_project_path to $ADA_PROJECT_PATH.
14078 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14080 * progmodes/ada-mode.el (ada-create-keymap):
14081 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14083 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14085 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14086 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14087 (ada-get-current-indent, ada-imenu-generic-expression)
14088 (ada-which-function): Check for it.
14090 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14092 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14093 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14095 2010-01-14 Glenn Morris <rgm@gnu.org>
14097 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14099 2010-01-14 Kenichi Handa <handa@m17n.org>
14101 * composite.el (auto-composition-mode): Make it a buffer local
14102 variable (permanent-local).
14103 (auto-composition-function): Set the default value to
14104 auto-compose-chars.
14105 (auto-composition-mode): Make it a simple function, not a minor mode.
14106 (global-auto-composition-mode): Likewise.
14107 (turn-on-auto-composition-if-enabled): Delete it.
14109 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14111 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14113 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14115 * files.el (copy-directory): Compute target for recursive
14116 directories with identical names. (Bug#5343)
14118 2010-01-12 Glenn Morris <rgm@gnu.org>
14120 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14121 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14123 2010-01-11 Sam Steingold <sds@gnu.org>
14125 * imenu.el (imenu-default-create-index-function): Detect infinite
14126 loops caused by imenu-prev-index-position-function.
14128 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14130 * htmlfontify.el (htmlfontify-load-rgb-file)
14131 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14132 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14133 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14134 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14135 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14136 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14137 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14138 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14139 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14140 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14141 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14142 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14143 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14144 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14145 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14146 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14147 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14148 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14149 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14150 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14151 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14152 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14153 backslash-quoting from parentheses, etc.
14155 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14157 * progmodes/js.el: Autoload javascript-mode alias.
14159 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14161 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14162 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14163 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14164 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14165 Fix typos in docstrings.
14166 (ffap-url-regexp): Doc fix.
14167 (ffap-at-mouse): Fix typo in message.
14169 2010-01-11 Glenn Morris <rgm@gnu.org>
14171 * version.el (emacs-copyright): Set copyright year to 2010.
14173 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14175 * format.el (format-annotate-function): Only set
14176 write-region-post-annotation-function after running to-fn so as not to
14177 affect nested write-region calls (bug#5273).
14179 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14181 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14184 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14186 * man.el (Man-goto-section): Signal error if the section is not
14189 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14191 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14192 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14194 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14196 * progmodes/compile.el: Don't treat compile-command as safe if
14197 compilation-read-command might be nil (Bug#4218).
14199 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14201 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14204 2010-01-08 Kenichi Handa <handa@m17n.org>
14206 * international/fontset.el (build-default-fontset-data):
14207 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14209 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14211 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14212 to `create-file-buffer' as it expects, not just a buffer name.
14213 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14214 to help uniquify. (Bug#3224)
14216 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14218 * font-setting.el (font-setting-change-default-font): Use user-spec
14221 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14223 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14225 2010-01-05 Tom Tromey <tromey@redhat.com>
14227 * progmodes/python.el (python-font-lock-keywords):
14228 Handle qualified decorators (Bug#881).
14230 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14232 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14233 in a lightweight checkout.
14235 2010-01-05 Kenichi Handa <handa@m17n.org>
14237 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14239 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14241 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14243 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14245 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14246 checkouts. (Bug#618)
14247 (vc-bzr-log-view-mode): Also highlight the author.
14248 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14249 (vc-bzr-shelve-menu-map):
14250 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14251 (vc-bzr-shelve-apply): Make prompt more explicit.
14253 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14255 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14256 They are valid characters in URL paths (rfc3986), and at least
14257 Firefox does not understand the encoded version (Bug#3166).
14259 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14261 * progmodes/octave-mod.el (octave-end-keywords)
14262 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14263 Add "end" keyword (Bug#3061).
14264 (octave-end-as-array-index-p): New function.
14265 (calculate-octave-indent): Use it.
14267 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14269 * bookmark.el: Consistently put the text property on the bookmark name.
14270 (bookmark-bmenu-marks-width): Bump back to 2, to include
14272 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14273 property on the bookmark name, instead of not putting it at all.
14274 (bookmark-bmenu-list): Fix where we put the text property.
14276 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14278 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14279 for showing buffer modified state (as added in the previous change).
14281 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14283 * bookmark.el: Show modified state of bookmark buffer more accurately.
14284 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14285 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14286 (with-buffer-modified-unmodified): New macro.
14287 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14288 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14289 Use new macro to preserve the buffer modified state.
14291 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14293 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14294 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14295 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14296 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14297 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14298 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14299 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14301 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14303 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14304 Make the lines in the generated doc string shorter. (Bug#4668)
14306 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14308 * net/rcirc.el: Add follow-link binding (Bug#4738).
14310 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14312 * Makefile.in (bzr-update): Rename from cvs-update.
14313 (cvs-update): New target for backward compatibility.
14315 * makefile.w32-in (bzr-update): Rename from cvs-update.
14316 (cvs-update): New target for backward compatibility.
14318 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14320 * bookmark.el: Remove gratuitous gratitude.
14322 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14324 * bookmark.el (bookmark-bmenu-any-marks): New function.
14325 (bookmark-bmenu-save): Clear buffer modification if no marks.
14327 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14329 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14330 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14331 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14332 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14334 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14335 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14336 To: emacs-devel {_AT_} gnu.org
14337 Subject: bookmark.el bug report
14338 Date: Mon, 28 Dec 2009 14:19:16 +0800
14339 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14341 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14343 * bookmark.el: Improvements suggested by Drew Adams:
14344 (bookmark-bmenu-ensure-position): New name for
14345 `bookmark-bmenu-check-position'. Just ensure the position,
14346 don't return any meaningful value.
14347 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14350 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14352 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14353 (bookmark-yank-point, bookmark-bmenu-check-position):
14354 Fix typos in docstrings.
14355 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14356 (bookmark-name-from-full-record, bookmark-get-position)
14357 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14358 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14359 Remove useless quoting of parenthesis, etc. in docstrings.
14361 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14362 (ediff-append-custom-diff): Fix typo in error message.
14363 (ediff-meta-mark-equal-files): Fix typos in messages.
14365 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14367 * net/imap-hash.el (imap-hash-make): Doc fix.
14368 (imap-hash-test): Fix typo in error message; reflow docstring.
14369 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14370 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14371 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14372 Fix typos in docstrings.
14373 (imap-hash-open-connection): Fix typo in error message.
14375 * play/gomoku.el (gomoku): Fix typos in docstring.
14377 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14378 (gdb-jsonify-buffer): Fix typos in docstring.
14379 (gdb-goto-breakpoint): Fix typo in error message.
14380 ("Display Other Windows"): Fix typo in help message.
14381 (gdb-speedbar-expand-node): Fix typo in question.
14383 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14384 (idlwave-html-system-help-location, idlwave-html-help-location)
14385 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14386 (idlwave-help-browser-generic-args, idlwave-help-directory)
14387 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14388 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14389 (idlwave-online-help, idlwave-help-html-link)
14390 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14391 Fix typos in docstrings.
14392 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14394 (idlwave-help-assistant-start): Fix typo in error message.
14396 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14397 (octave-electric-space): Fix typos in docstrings.
14399 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14401 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14403 2010-01-01 Juri Linkov <juri@jurta.org>
14405 * comint.el (comint-input-ring-size): Make it a defcustom and
14406 increase the default to 500 (Bug#5148).
14408 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14410 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14411 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14412 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14414 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14416 Show working revision correctly for mercurial.
14417 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14418 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14420 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14422 Declare some functions for the byte-compiler.
14423 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14424 (speedbar-timer-fn, speedbar-change-expand-button-char)
14425 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14427 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14429 This changeset reverts GDB Graphical Interface to use annotations.
14430 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14432 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14434 Make vc-dir work on subdirectories of the bzr root.
14435 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14436 Return file names relative to it.
14437 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14438 relative directory to vc-bzr-after-dir-status.
14440 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14442 * font-lock.el (font-lock-refresh-defaults): New function, which
14443 can be used to let font-lock react to external changes in
14444 variables like font-lock-defaults and keywords.
14445 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14447 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14449 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14451 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14453 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14455 Supersede color.diff settings in git log (bug#5211).
14457 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14458 escape chars in its output when the user has color.diff set to `always'.
14459 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14461 2009-12-26 Kevin Ryde <user42@zip.com.au>
14463 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14464 node. Keep previous "Index" name to work with past coreutils too.
14466 * man.el (man): Revise docstring a bit to show -a and -l as
14467 examples. Add -k description since support for it has otherwise
14468 been a secret. (Further to bug#3717.)
14469 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14470 "no matches" rather than "Can't find manpage", as the latter reads
14471 like -k was interpreted as a page name, which is not so. (Bug#5431)
14473 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14475 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14476 switches. Check also for //SUBDIRED// line.
14478 2009-12-25 Kenichi Handa <handa@m17n.org>
14480 * language/indian.el (devanagari-composable-pattern): Fix to
14481 handle ZWNJ and ZWJ. Use it in composition-function-table for
14483 (malayalam-composable-pattern): Fix previous change.
14485 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14487 * ps-print.el (ps-face-attributes): It was not returning the
14488 attribute face for faces specified as string. Reported by harven
14489 <harven@free.fr>. (Bug#5254)
14490 (ps-print-version): New version 7.3.5.
14492 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14494 * calendar/icalendar.el (icalendar--convert-tz-offset):
14495 Fix timezone names.
14496 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14497 (icalendar--add-diary-entry): Remove the trailing blank that
14498 diary-make-entry inserts.
14500 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14502 Make `file-expand-wildcards' work for remote files.
14504 * files.el (file-expand-wildcards): In case of remote files, check
14505 only local file name part for wildcards. Provide feature 'files
14506 and subfeature 'remote-wildcards. (Bug#5198)
14508 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14509 if there is already an established connection.
14510 (tramp-advice-file-expand-wildcards): Remove it.
14512 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14513 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14514 Activate advice for older GNU Emacs versions. (Bug#5237)
14516 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14518 Some doc fixes (more needed).
14520 * find-cmd.el (find-constituents): Reflow docstring.
14521 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14522 (find-generic): Doc fix.
14524 2009-12-17 Juri Linkov <juri@jurta.org>
14526 Fix regression from 23.1 to allow multiple modes in Local Variables.
14528 * files.el (hack-local-variables-filter): While ignoring duplicates,
14529 don't take `mode' into account.
14530 (hack-local-variables-filter, hack-dir-local-variables):
14531 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14533 2009-12-17 Juri Linkov <juri@jurta.org>
14535 Make `dired-diff' safer. (Bug#5225)
14537 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14538 `current' or when `file' is a directory of the `current' file.
14540 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14542 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14543 unconditionally preloaded files.
14545 2009-12-16 Juri Linkov <juri@jurta.org>
14547 Revert to old 23.1 logic of using the file at the mark as default.
14548 * dired-aux.el (dired-diff): Use the file at the mark as default
14549 if it's not the same as the current file, and the target dir is
14550 the current dir or the mark is active. Add the current file
14551 as the arg of `dired-dwim-target-defaults'. Use the default file
14552 in the prompt. (Bug#5225)
14554 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14556 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14557 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14558 (tramp-check-for-regexp): Check also, when an echoing shell stops
14559 to echo sent commands.
14561 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14563 * Makefile.in: Revert last change (Bug#5191).
14565 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14567 * vc-hg.el (vc-hg-print-log): Fix argument order.
14568 (vc-hg-working-revision): Make sure the command is executed in a
14569 known environment so that we can parse the output. (Bug#4417)
14571 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14573 * progmodes/python.el (python-symbol-completions): Remove text
14574 properties from symbol string before calling python-send-receive.
14576 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14578 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14579 when there are values for both file and line. (Bug#5060)
14581 2009-12-14 Juri Linkov <juri@jurta.org>
14583 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14584 whitespace after the file name of the first line of unified format,
14585 because git-diff doesn't output whitespace and file modification time
14586 after the file name.
14588 2009-12-14 David Kastrup <dak@gnu.org>
14590 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14591 check if it already has the `display' property added by
14592 `Info-display-images-node', and not put the `invisible' property
14595 2009-12-13 Glenn Morris <rgm@gnu.org>
14597 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14598 (report-emacs-bug): In message-mode, sort manually before storing
14599 original report text. (Bug#5178)
14600 Remove superfluous save-excursion.
14602 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14604 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14605 when responding to "GetAll" properties.
14607 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14609 * simple.el (compose-mail): Remove mail-setup-with-from from
14610 customization checks.
14612 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14614 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14615 RAR archives created on Unix systems.
14617 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14619 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14620 the varalias that was accidentally removed by the 2009-11-19 change
14623 2009-12-12 Kenichi Handa <handa@m17n.org>
14625 * language/indian.el (indian-compose-regexp): New function.
14626 (malayalam-composable-pattern): Fix the pattern.
14627 (composition-function-table): Set malayalam-composable-pattern for
14628 Malayalam characters.
14630 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14632 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14633 rather than down-mouse-1, based on follow-link conventions.
14635 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14638 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14640 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14641 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14642 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14643 (verilog-leap-to-head, verilog-backward-token):
14644 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14646 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14648 * progmodes/verilog-mode.el (verilog-auto-lineup)
14649 (verilog-nameable-item-re): Cleanup user-visible spelling and
14650 documentation errors. One reported by Gary Delp.
14651 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14652 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14653 package, bug195. Reported by Pierre-David Pfister.
14655 2009-12-11 Glenn Morris <rgm@gnu.org>
14657 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14659 * mail/emacsbug.el: No longer require sendmail.
14660 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14661 (report-emacs-bug-orig-text): Doc fix.
14662 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14663 New local variables, to adapt to different mail-user-agents.
14664 (report-emacs-bug): Fix test for a gnu.org address.
14665 Use overlays for emphasis, since font-lock defeats 'face property.
14666 Pretest bugs also end up at the newsgroup these days.
14667 Stop message-mode stripping text properties.
14668 Set and use the new buffer-local variables.
14669 (report-emacs-bug-hook): Add doc-string.
14670 Remove some unnecessary save-excursions and simplify.
14671 Use the appropriate hook and send-command.
14673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14674 capitalization of some menu entries.
14676 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14678 * whitespace.el (whitespace-display-char-on):
14679 Ensure `buffer-display-table' is unique when two or more windows are
14680 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14683 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14685 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14686 characters in the Attribute field.
14688 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14690 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14692 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14694 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14695 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14696 Disregard autoload-excludes.
14697 (update-directory-autoloads): Obey autoload-excludes here instead.
14698 But don't store its contents in no-autoloads and remove entries that
14699 refer to excludes files.
14701 2009-12-10 Glenn Morris <rgm@gnu.org>
14703 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14704 (expand-mail-aliases): Define for compiler.
14706 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14707 Define for compiler.
14709 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14710 appropriate for the mail-user-agent in use.
14712 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14714 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14716 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14718 Fix short log parsing and fontification.
14719 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14720 Fix fontification for the [merge] label.
14722 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14724 Drop some properties to avoid surprises (bug#5002).
14725 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14726 (hfy-fontify-buffer): Use it.
14728 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14731 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14732 Adjust all callers.
14733 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14734 args compulsory. Adjust callers.
14735 (ffap-gopher-at-point): Remove unused var `name'.
14737 Get rid of the ELCFILES abomination.
14738 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14739 (compile-elcfiles): New phony target.
14740 (compile-main): Compute ELCFILES dynamically.
14741 (compile-clean): New target to remove left-over elc files.
14742 (compile, all): Use it.
14744 2009-12-09 Kenichi Handa <handa@etlken>
14746 * international/mule-diag.el: Require help-mode instead of help-fns.
14748 2009-12-09 Kenichi Handa <handa@m17n.org>
14750 * international/mule-cmds.el (ucs-names): Supply sufficiently
14751 fine ranges instead of pre-calculating accurate ranges.
14752 Iterate with bigger gc-cons-threshold.
14754 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14756 Add support for stashing a snapshot of the current tree.
14757 * vc-git.el (vc-git-stash-snapshot): New function.
14758 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14760 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14762 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14763 instead of `(beginning|end)-of-line'.
14765 2009-12-08 Glenn Morris <rgm@gnu.org>
14767 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14769 * Makefile.in (ELCFILES): Regenerate.
14771 2009-12-07 Juri Linkov <juri@jurta.org>
14773 Don't lazy-highlight the comint output in history Isearch mode.
14775 * comint.el (comint-history-isearch-search): Instead of
14776 `comint-line-beginning-position', use `comint-after-pmark-p'
14777 to check if point if before the process mark, and go to
14778 `process-mark' in this case.
14780 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14782 * textmodes/tex-mode.el (latex-complete)
14783 (latex-indent-or-complete): Remove.
14784 (latex-mode): Set completion-at-point-functions instead.
14786 Provide a standard completion command and hook it into TAB.
14787 * minibuffer.el (completion-at-point-functions): New var.
14788 (completion-at-point): New command.
14789 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14790 * progmodes/python.el (python-mode-map): Use completion-at-point.
14791 (python-completion-at-point): Rename from python-partial-symbol and
14792 adjust for use in completion-at-point-functions.
14793 (python-mode): Setup completion-at-point for Python completion.
14794 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14795 extracted from lisp-complete-symbol.
14796 (lisp-complete-symbol): Use it.
14797 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14798 setup completion-at-point for Elisp completion.
14799 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14800 Use completion-at-point.
14801 * ielm.el (ielm-map): Use completion-at-point.
14802 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14803 * progmodes/sym-comp.el: Move to...
14804 * obsolete/sym-comp.el: Move from progmodes.
14806 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14808 Prevent save-buffer in Rmail buffers from using the coding-system
14809 of the current message, and from clobbering the encoding mnemonics
14810 in the mode line (Bug#4623).
14812 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14814 (rmail-message-encoding): New variable.
14815 (rmail-write-region-annotate): Record the encoding of the current
14816 message in rmail-message-encoding.
14817 (rmail-after-save-hook): New function, restores the encoding of
14818 the current message after the message collection is saved.
14820 2009-12-07 Juri Linkov <juri@jurta.org>
14822 * progmodes/grep.el (grep-read-files): Use `completing-read'
14823 instead of `read-string'. Set its `collection' arg to
14824 `read-file-name-internal'. (Bug#4301)
14826 2009-12-07 Juri Linkov <juri@jurta.org>
14828 Correctly restore original Isearch point. (Bug#4994)
14830 * isearch.el (isearch-mode): Move `isearch-push-state' after
14831 `(run-hooks 'isearch-mode-hook)'.
14832 (isearch-cancel): When `isearch-push-state-function' is defined,
14833 let-bind `isearch-cmds' to the first state (the last element of
14834 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14835 function and restores the original point). Otherwise, move point
14836 to `isearch-opoint'.
14838 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14840 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14841 chars that don't have names, so the table can be built much faster at
14844 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14846 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14847 change. Suggested by David Kastrup.
14849 * simple.el (compose-mail): Check for incompatibilities and warn.
14850 (compose-mail-user-agent-warnings): New option.
14852 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14854 Support showing a single log entry from vc-annotate.
14855 * vc.el (print-log): Add a new argument: START-REVISION.
14856 (vc-print-log-internal): Add a new optional argument and
14857 pass it to the backend.
14858 (vc-print-log, vc-print-root-log): Adjust callers.
14859 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14860 buffer already displays the requested log entry, use it.
14861 Otherwise display only the log entry in question.
14862 * vc-svn.el (vc-svn-print-log):
14863 * vc-mtn.el (vc-mtn-print-log):
14864 * vc-hg.el (vc-hg-state):
14865 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14866 (vc-git-show-log-entry): Return t on success.
14867 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14868 (vc-bzr-show-log-entry): Return t on success.
14869 * vc-rcs.el (vc-rcs-print-log):
14870 * vc-sccs.el (vc-sccs-print-log):
14871 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14873 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14875 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14876 Add menus to the meta mode. (Bug#5043)
14878 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14880 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14883 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14885 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14887 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14888 Berbain <raphael.berbain@gmail.com>.
14890 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14892 (tramp-initial-end-of-output): New defconst.
14893 (tramp-methods, tramp-find-shell)
14894 (tramp-open-connection-setup-interactive-shell)
14895 (tramp-maybe-open-connection): Use it.
14896 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14897 Handle existence of `#' and `$'.
14899 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14900 Use `tramp-initial-end-of-output'.
14902 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14904 Get the background mode from the terminal for xterm, and set
14906 * term/xterm.el (xterm-set-background-mode): New function.
14907 (terminal-init-xterm): Use it in case xterm supports background
14908 color queries. Recompute faces after getting the background
14911 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14913 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14914 number comment back on its own line, for easier parsing.
14916 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14918 Make it work for non-file buffers (bug#5102).
14919 * doc-view.el (doc-view-current-cache-dir):
14920 Use doc-view-buffer-file-name rather than buffer-file-name.
14921 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14923 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14925 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14926 author field is too short.
14928 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14930 * vc-git.el (vc-git-print-log): Handle a limit argument.
14931 Display the short log in graph form and with labels.
14932 (vc-git-log-view-mode): Handle labels.
14934 Make vc-revert change VC state from 'added to 'unregistered.
14935 * vc-git.el (vc-git-revert): Call git reset first.
14937 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14939 * net/newst-backend.el, net/newst-plainview.el:
14940 * net/newst-reader.el, net/newst-ticker.el:
14941 * net/newst-treeview.el, net/newsticker.el:
14942 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14944 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14946 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14948 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14949 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14950 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14951 Update annotation regexp.
14953 * simple.el (beginning-of-visual-line): Constrain to field
14954 boundaries (Bug#5106).
14956 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14958 * xml.el (xml-substitute-numeric-entities):
14959 Move newsticker--decode-numeric-entities in newst-backend.el to
14960 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14961 * net/newst-backend.el (newsticker--parse-generic-feed)
14962 (newsticker--parse-generic-items)
14963 (newsticker--decode-numeric-entities):
14964 Move newsticker--decode-numeric-entities in newst-backend.el to
14965 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14967 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14969 * progmodes/js.el (js--js-not): Add null to the list of values.
14971 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14973 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14975 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14977 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14978 delimiter if it is at the end of the current line.
14979 (bibtex-generate-url-list): Fix docstring.
14981 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14983 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14984 minibuffer's content with itself.
14985 Fold the confirm-after-completion case into the `confirm' case.
14986 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14988 2009-12-06 Kevin Ryde <user42@zip.com.au>
14990 * ffap.el (ffap-rfc-path): Make this a defcustom since
14991 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14993 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14994 manuals, similar to existing setup for help-mode. (Bug#3913.)
14996 2009-12-05 Juri Linkov <juri@jurta.org>
14998 Save and restore dired buffer's point positions too. (Bug#4880)
15000 * dired.el (dired-save-positions): Return in the first element
15001 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15003 (dired-restore-positions): First restore buffer's position.
15004 While restoring window's positions, check if window still displays
15005 the original buffer.
15007 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15009 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15012 * shell.el (shell): Require ansi-color (Bug#5113).
15014 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15016 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15018 2009-12-05 Alan Mackenzie <acm@muc.de>
15020 * progmodes/cc-mode.el (c-before-hack-hook)
15021 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15022 `c-file-style' to work again. This reversion restores the current
15023 software to its state in Emacs 23.1. (Bug#4146)
15025 2009-12-05 Kevin Ryde <user42@zip.com.au>
15027 * textmodes/sgml-mode.el (sgml-lexical-context):
15028 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15030 2009-12-05 Juri Linkov <juri@jurta.org>
15032 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15033 for virtual nodes. (Bug#4147)
15034 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15035 when moving from a virtual node.
15036 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15037 (Info-mode): Add `Info-virtual-index' to the docstring.
15039 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15041 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15042 track of the buffer position of the end of a BibTeX entry as this
15043 position may change during reformatting.
15044 (bibtex-format-entry): Remove whitespace before processing
15045 numerical fields so that we recognize the latter properly.
15046 (bibtex-reformat): Do not use push which changes the global value
15047 of bibtex-entry-format.
15048 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15049 (bibtex-field-re-init): Replace only space characters by regexp
15051 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15052 (bibtex-initialize): Also update bibtex-strings.
15053 (bibtex-kill-field): Preserve white space at end of entry.
15054 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15055 Update bibtex-reference-keys.
15057 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15059 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15060 point after a star, if that's the only place where modifications can
15063 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15065 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15068 2009-12-04 Juri Linkov <juri@jurta.org>
15070 * proced.el (proced): Call `(proced-update t)' to update process
15071 information instead of only running proced-post-display-hook.
15072 (proced-send-signal): Add a leading space to the buffer name
15073 " *Marked Processes*" to make this buffer ephemeral.
15075 2009-12-04 Juri Linkov <juri@jurta.org>
15077 * dired.el (dired-auto-revert-buffer): New defcustom.
15078 (dired-internal-noselect): Use it.
15080 2009-12-04 Juri Linkov <juri@jurta.org>
15082 Change roles of modes and functions in image-mode.el (Bug#5062).
15084 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15085 in `auto-mode-alist'.
15086 (image-mode-previous-major-mode): New variable.
15087 (image-minor-mode-map): Rename from `image-mode-text-map'.
15088 (image-mode): Move graceful error-handling code from
15089 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15090 (image-minor-mode): Remove all image-handling code.
15091 Replace `image-mode-text-map' with `image-minor-mode-map'.
15092 Check for `image-type' in mode-line format string.
15093 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15094 (image-mode-as-text): New function with most code from
15095 `image-mode-maybe'.
15096 (image-toggle-display-text): Move code that removes image
15097 properties from `image-toggle-display' to here.
15098 (image-toggle-display-image): New function with code that adds
15099 image properties copied from `image-toggle-display'.
15100 (image-toggle-display): Remove most code with leaving only code
15101 that toggles between `image-mode-as-text' and `image-mode'.
15103 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15105 * net/newst-treeview.el
15106 (newsticker--treeview-list-highlight-start): Restored call to
15107 save-excursion: Selected item was stuck.
15108 (newsticker--treeview-list-select): New.
15109 (newsticker--treeview-item-show-text)
15110 (newsticker--treeview-item-show)
15111 (newsticker--treeview-item-update): Use new
15112 newsticker-treeview-item-mode.
15113 (newsticker-treeview-update): Keep current item.
15114 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15115 (newsticker--treeview-first-feed): Doc change.
15116 (newsticker-treeview-list-menu)
15117 (newsticker-treeview-item-menu): Add menu entries.
15118 (newsticker-treeview-item-mode): New.
15120 * net/newst-backend.el (newsticker-customize): Delete other
15123 2009-12-04 Sam Steingold <sds@gnu.org>
15125 * log-view.el (log-view-mode-map): "q" calls quit-window,
15126 like in all the other non-self-insert buffers.
15128 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15131 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15132 key decoding rather than do it manually via last-input-event +
15134 (term-exec): Use delete-and-extract-region.
15135 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15136 (term-process-pager): Remove unused var `i'.
15137 (term-dynamic-simple-complete): Make obsolete.
15138 (serial-update-config-menu): Remove unused vars `y' and `str'.
15139 (term-update-mode-line): Remove unused var `temp'.
15141 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15143 Limit the number of log entries displayed by default.
15144 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15145 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15146 using a prefix argument.
15148 2009-12-03 Glenn Morris <rgm@gnu.org>
15150 * progmodes/idlwave.el (class): Restore still useful declaration.
15152 2009-12-03 Alan Mackenzie <acm@muc.de>
15154 Enhance `c-parse-state' to run efficiently in "brace deserts".
15156 * progmodes/cc-mode.el (c-basic-common-init):
15157 Call c-state-cache-init.
15158 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15159 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15160 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15162 * progmodes/cc-langs.el (c-before-font-lock-function):
15163 c-extend-and-neutralize-syntax-in-CPP has been renamed
15164 c-neutralize-syntax-in-and-mark-CPP.
15166 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15167 with `category' properties now, not `syntax-table' ones.
15169 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15170 enhanced (but slower) version of c-end-of-macro that won't land
15171 inside a literal or on another awkward character.
15172 (c-state-cache-too-far, c-state-cache-start)
15173 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15174 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15175 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15176 (c-state-min-scan-pos, c-state-brace-pair-desert)
15177 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15178 buffer local variables.
15179 (c-state-literal-at, c-state-lit-beg)
15180 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15181 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15182 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15183 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15184 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15185 (c-renarrow-state-cache)
15186 (c-append-lower-brace-pair-to-state-cache)
15187 (c-state-push-any-brace-pair, c-append-to-state-cache)
15188 (c-remove-stale-state-cache)
15189 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15190 (c-invalidate-state-cache-1, c-parse-state-1)
15191 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15192 (c-parse-state): Enhance and refactor.
15193 (c-debug-parse-state): Amend to deal with all the new variables.
15195 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15196 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15197 modify to use category text properties rather than syntax-table ones.
15198 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15199 to switch off/on the syntactic paren property of C++ template
15200 delimiters using the category property.
15201 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15202 template delims suppressed.
15203 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15204 New constant/macros which apply category properties to the start
15205 and end of preprocessor constructs.
15206 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15207 "comment out" the syntactic value of characters in preprocessor
15209 (c-with-cpps-commented-out)
15210 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15211 with characters in all or all but one preprocessor constructs
15214 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15216 * proced.el (proced-filter-alist): Use regexp-quote.
15218 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15221 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15222 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15223 arguments. Expand `default-directory'.
15225 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15226 the benefit of returning an expanded localname.
15227 (tramp-tramp-file-p): Handle the case NAME is not a string.
15229 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15231 Add support for bzr shelve/unshelve.
15232 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15233 (vc-bzr-extra-menu-map): New variables.
15234 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15235 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15236 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15237 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15238 (vc-bzr-dir-extra-headers): Display shelves.
15240 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15242 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15244 * textmodes/bibtex.el (bibtex-complete-internal):
15245 Use completion-in-region.
15246 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15248 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15250 Support applying stashes. Improve UI.
15251 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15252 (vc-git-stash-apply, vc-git-stash-pop)
15253 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15254 (vc-git-stash-menu): New functions.
15255 (vc-git-stash-menu-map): New variable.
15256 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15258 2009-12-03 Glenn Morris <rgm@gnu.org>
15260 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15261 (vc-print-log-internal): Fix previous change.
15262 (vc-revert): Correct pluralization.
15264 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15266 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15267 it to be an alist any more.
15268 (makefile-complete): Use completion-in-region.
15270 * progmodes/octave-mod.el (octave-complete-symbol):
15271 Use completion-in-region.
15274 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15275 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15276 (idlwave-complete-class): Don't quote lambda.
15277 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15278 (idlwave-mode-map): Move initialization into declaration.
15279 (idlwave-action-and-binding): Use backquotes.
15280 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15282 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15283 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15284 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15285 `parts', and `all-parts'.
15286 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15287 (idlwave-convert-xml-system-routine-info): Remove unused string
15289 (idlwave-display-user-catalog-widget): Use dolist.
15290 (idlwave-scanning-lib): Declare dynamically-scoped var.
15291 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15292 (completion-highlight-first-word-only): Declare to silence bytecomp.
15293 (idlwave-popup-select): Tighten scope of `resp'.
15294 (idlwave-find-struct-tag): Remove unused var `beg'.
15295 (idlwave-after-load-rinfo-hook): Declare.
15296 (idlwave-sintern-class-info): Remove unused var `taglist'.
15297 (idlwave-find-class-definition): Remove unused var `list'.
15298 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15299 (idlwave-what-module-find-class): Remove unused var `classes'.
15301 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15303 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15305 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15307 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15308 buffers visited. Remove redundant current-buffer-saving.
15310 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15312 Use completion-in-buffer and remove uses of dynamic scoping.
15313 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15314 (pascal-buffer-to-use, pascal-flag): Don't declare.
15315 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15316 (pascal-get-completion-decl, pascal-keyword-completion):
15317 Add `pascal-str' argument, save-excursion,
15318 return the found completions, and don't filter with pascal-pred.
15319 (pascal-completion-cache): New var.
15320 (pascal-completion): Don't switch buffer any more (it was never
15321 necessary). Don't save-excursion any more (it's done by the called
15322 subroutines). Use a cache to avoid redundant computations.
15323 Use complete-with-action rather than pascal-completion-response and
15324 let it apply the predicate as well.
15325 (pascal-complete-word): Use completion-in-buffer when
15326 pascal-toggle-completions is nil.
15327 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15329 (pascal-comp-defun): Don't change buffer any more.
15330 Use complete-with-action rather than pascal-completion-response and
15331 let it apply the predicate as well.
15332 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15335 2009-12-02 Kenichi Handa <handa@m17n.org>
15337 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15338 shape for all Indic scripts.
15340 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15342 Use completion-in-buffer.
15343 * wid-edit.el (widget-field-text-end): New function.
15344 (widget-field-value-get): Use it.
15345 (widget-string-complete, widget-file-complete)
15346 (widget-color-complete): Use it and completion-in-region.
15347 (widget-complete): Don't narrow the buffer.
15349 2009-12-02 Glenn Morris <rgm@gnu.org>
15351 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15352 (rmail-select-summary): Use rmail-pop-to-buffer.
15353 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15354 rmail-pop-to-buffer, to prevent horizontal splits.
15356 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15357 save-excursion with save-current-buffer.
15358 Widen before searching. (Bug#5093)
15359 (diary-list-sexp-entries): Remove superfluous save-excursion.
15361 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15363 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15366 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15368 * ido.el (ido-file-internal): Handle filenames at point that do
15369 not have a directory part. (Bug#5049)
15371 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15373 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15374 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15376 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15378 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15379 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15382 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15384 * comint.el (comint-insert-input): Ignore clicks to the right of
15385 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15387 * vc.el (vc-print-log-internal): Don't wait for the process to
15388 terminate before setting up the major mode.
15390 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15393 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15396 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15398 2009-12-01 Glenn Morris <rgm@gnu.org>
15400 * window.el (window--display-buffer-2): Fix previous changes.
15402 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15404 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15406 2009-12-01 Glenn Morris <rgm@gnu.org>
15408 * Makefile.in (ELCFILES): Add mpc.elc.
15410 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15412 * mpc.el: New file.
15414 2009-12-01 Glenn Morris <rgm@gnu.org>
15416 * window.el (window-to-use): Define for compiler.
15418 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15419 consistent with others (no final period).
15421 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15422 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15424 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15426 Make vc-print-log buttons work.
15427 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15429 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15431 * savehist.el (savehist-autosave-interval): Allow setting to nil
15432 through customize. (Bug#5056)
15434 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15436 Fix references to jit-lock properties.
15437 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15438 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15439 (perl-font-lock-special-syntactic-constructs):
15440 Quote jit-lock-defer-multiline property.
15442 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15444 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15446 2009-11-30 Juri Linkov <juri@jurta.org>
15448 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15449 value `buffer' of `multi-isearch-next-buffer-current-function'.
15450 Use `(current-buffer)' when `buffer' is nil.
15451 (multi-isearch-next-buffer-from-list): Don't fallback to
15452 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15454 2009-11-30 Juri Linkov <juri@jurta.org>
15456 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15457 of buffers with `get-buffer' to `multi-isearch-buffers'.
15458 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15459 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15460 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15461 FILES with `expand-file-name' converting relative file names
15462 to absolute. Doc fix. (Bug#4727)
15464 2009-11-30 Juri Linkov <juri@jurta.org>
15466 * misearch.el (multi-isearch-read-buffers)
15467 (multi-isearch-read-matching-buffers): New functions.
15468 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15469 Use them in the `interactive' spec. Doc fix.
15470 (multi-isearch-read-files, multi-isearch-read-matching-files):
15472 (multi-isearch-files, multi-isearch-files-regexp):
15473 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15475 2009-11-30 Juri Linkov <juri@jurta.org>
15477 * doc-view.el (doc-view-continuous):
15478 Rename from `doc-view-continuous-mode'.
15479 (doc-view-menu): Move "Toggle display" to the top.
15480 Add submenu "Continuous" with radio buttons "Off"/"On"
15481 and "Save as Default".
15482 (doc-view-scroll-up-or-next-page)
15483 (doc-view-scroll-down-or-previous-page)
15484 (doc-view-next-line-or-next-page)
15485 (doc-view-previous-line-or-previous-page):
15486 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15488 2009-11-30 Juri Linkov <juri@jurta.org>
15490 * comint.el (comint-mode-map): Rebind `M-r' from
15491 `comint-previous-matching-input' to
15492 `comint-history-isearch-backward-regexp'.
15493 Unbind `M-s' to allow global key binding `M-s'.
15494 Add menu items for `comint-history-isearch-backward' and
15495 `comint-history-isearch-backward-regexp'. (Bug#3746)
15497 2009-11-30 Juri Linkov <juri@jurta.org>
15499 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15500 For def=recenter, replace `recenter' with `recenter-top-bottom'
15501 that is called with `this-command' and `last-command' let-bound
15502 to `recenter-top-bottom'. When the last `def' was not `recenter',
15503 set `recenter-last-op' to nil. (Bug#4981)
15505 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15507 Minor cleanup and simplification.
15508 * filecache.el (file-cache-add-directory)
15509 (file-cache-add-directory-recursively)
15510 (file-cache-add-from-file-cache-buffer)
15511 (file-cache-delete-file-regexp, file-cache-delete-directory)
15512 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15513 (file-cache-temp-minibuffer-message): Delete function.
15514 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15516 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15517 Don't signal an error when bumping into EOB in tr, s, or y.
15519 2009-11-29 Juri Linkov <juri@jurta.org>
15521 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15524 * descr-text.el (describe-char-unidata-list): Use lowercase name
15525 for "Unicode name" like in other tags.
15527 2009-11-29 Juri Linkov <juri@jurta.org>
15529 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15530 New compatibility macro.
15531 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15533 2009-11-29 Juri Linkov <juri@jurta.org>
15535 Add defcustom to define the cycling order of `recenter-top-bottom'.
15538 * window.el (recenter-last-op): Doc fix.
15539 (recenter-positions): New defcustom.
15540 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15541 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15543 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15545 Improve integration of Tramp and ange-ftp in eshell.
15547 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15548 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15549 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15551 * eshell/esh-util.el (top): Require also Tramp when compiling.
15552 (eshell-directory-files-and-attributes): Check for FTP remote
15554 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15555 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15556 (eshell-file-attributes): Handle ".". Return `entry'.
15558 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15559 (ange-ftp-directory-files-and-attributes)
15560 (ange-ftp-real-directory-files-and-attributes): New defuns.
15562 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15563 shell with "exec" when possible. This prevents trailing prompts
15564 in `start-file-process'.
15566 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15568 Try and remove assumptions about point-min==1.
15569 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15570 (rng-compute-mode-line-string): Show the validation percentage in
15571 terms of the narrowed text, not the widened text.
15572 (rng-do-some-validation): Don't catch internal errors when debugging.
15573 (rng-first-error): Simplify.
15574 (rng-after-change-function): Remove work around. AFAIK the bug has
15575 been fixed a while ago.
15577 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15578 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15580 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15582 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15583 `cd' doesn't always do it for us (bug#5067).
15585 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15586 on 2009-10-25 as part of some other change (bug#5067).
15588 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15590 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15592 (byte-compile-warnings): Use byte-compile-warning-types.
15593 (byte-compile-save-excursion): Warn about use of set-buffer right
15594 after save-excursion.
15596 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15597 the excursion as well.
15599 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15601 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15602 providing a Tramp related implementation of "su" and "sudo".
15603 (eshell-unix-initialize): Add "su" and "sudo".
15605 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15607 * net/socks.el (socks-send-command): Convert binary request to
15608 unibyte before sending. This fixes mishandling of some port
15609 numbers such as 129.
15611 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15613 * help.el (describe-bindings-internal): Remove `interactive'.
15615 * man.el (Man-completion-table): Trim a terminating "(".
15616 Remove the space between name page a section.
15617 Add the command's description on the `help-echo' property.
15618 Remove `process-connection-type' binding since it's unused by
15620 Provide completion for the "<section> <name>" format as well.
15621 (Man-default-man-entry): Remove spurious var shadowing the argument.
15623 2009-11-26 Kevin Ryde <user42@zip.com.au>
15625 * log-view.el: Add "Keywords: tools", since its other keywords
15626 aren't in finder-known-keywords, and following vc.el.
15628 * sha1.el (sha1-string-external): default-directory "/" in case
15629 otherwise non-existent. process-connection-type pipe for touch of
15630 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15632 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15634 Misc coding convention cleanups.
15635 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15636 hfy-init-kludge-hooks.
15637 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15638 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15639 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15641 (hfy-slant, hfy-weight): Use tables rather than code.
15642 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15643 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15644 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15645 (hfy-face-to-css): Remove `nconc' with single arg.
15646 (hfy-p-to-face-lennart): Use `or'.
15647 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15648 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15649 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15650 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15651 (hfy-force-fontification): Use run-hooks.
15653 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15655 Various minor fixes.
15656 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15657 Javascript belongs in the header, not the body.
15658 (hfy-javascript): Remove.
15659 (hfy-fontify-buffer): Don't insert it any more.
15660 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15661 Fix bug in invis handling when there were no invis props in a chunk.
15663 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15665 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15667 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15669 * finder.el (finder-mode-map): Add a menu.
15671 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15673 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15674 "unsigned" structs.
15676 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15677 fork" statement better.
15679 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15681 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15682 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15683 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15684 Reported by Clay Douglass.
15686 (verilog-auto-inst, verilog-auto-star-safe)
15687 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15688 Fix removing "// Interfaces" when saving .* expansions.
15689 Reported by Pierre-David Pfister.
15691 2009-11-26 Glenn Morris <rgm@gnu.org>
15693 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15696 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15698 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15699 Really use previous revision.
15701 2009-11-25 Kevin Ryde <user42@zip.com.au>
15703 * man.el (Man-completion-table): default-directory "/" in case
15704 doesn't otherwise exist. process-environment COLUMNS=999 so as
15705 not to truncate long names. process-connection-type pipe to avoid
15706 any chance of hitting the pseudo-tty TIOCGWINSZ.
15707 (man): completion-ignore-case t for friendliness and since man
15708 itself is case-insensitive on the command line.
15709 Further to Bug#3717.
15711 * arc-mode.el: Add "Keywords: files", so the details in its
15712 commentary can be reached from finder-by-keyword.
15713 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15714 editing mode, but it's comms related and sgml-mode.el has "comm"
15716 * textmodes/bibtex-style.el: Add "Keywords: tex".
15717 * international/isearch-x.el, international/ja-dic-cnv.el:
15718 * international/ja-dic-utl.el, international/kkc.el:
15719 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15721 2009-11-25 Juri Linkov <juri@jurta.org>
15723 * man.el (Man-completion-table): Modify regexp to include
15724 section names to completion strings. (Bug#3717)
15726 2009-11-25 Juri Linkov <juri@jurta.org>
15728 Search recursively in gzipped files. (Bug#4982)
15730 * progmodes/grep.el (grep-highlight-matches): Add new options
15731 `always' and `auto'. Doc fix.
15732 (grep-process-setup): Check `grep-highlight-matches' for
15733 `auto-detect' to determine the need to compute grep defaults.
15734 Move Windows/DOS specific --colors settings handling
15735 to `grep-compute-defaults'. Check `grep-highlight-matches'
15736 to get the value of "--color=".
15737 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15738 has the value `auto-detect'. Move Windows/DOS specific settings
15739 from `grep-process-setup'.
15740 (zrgrep): New command with alias `rzgrep'.
15742 2009-11-25 Juri Linkov <juri@jurta.org>
15744 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15745 to nil instead of switching off view-mode. (Bug#4896)
15747 2009-11-25 Juri Linkov <juri@jurta.org>
15749 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15751 * mwheel.el (mwheel-scroll-up-function)
15752 (mwheel-scroll-down-function): New defvars.
15753 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15754 `scroll-up', and `mwheel-scroll-down-function' instead of
15757 * doc-view.el (doc-view-scroll-up-or-next-page)
15758 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15759 Use this ARG in the call to image-scroll-up/image-scroll-down.
15760 Change `interactive' spec to "P". Goto next/previous page only
15761 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15762 SPC/DEL case). Doc fix.
15763 (doc-view-next-line-or-next-page)
15764 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15766 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15767 `doc-view-scroll-up-or-next-page', and buffer-local
15768 `mwheel-scroll-down-function' to
15769 `doc-view-scroll-down-or-previous-page'.
15771 2009-11-25 Juri Linkov <juri@jurta.org>
15773 Provide additional default values (directories at other Dired
15774 windows) via M-n in the minibuffer of some Dired commands.
15776 * dired-aux.el (dired-diff, dired-compare-directories)
15777 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15778 `minibuffer-default' in `minibuffer-with-setup-hook'.
15779 (dired-dwim-target-directory): Find a window that displays Dired
15780 buffer instead of failing when the next window is not Dired.
15781 Use `get-window-with-predicate' to find for the next Dired window.
15782 (dired-dwim-target-defaults): New function.
15784 * ediff-util.el (ediff-read-file-name):
15785 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15786 in `minibuffer-with-setup-hook'.
15788 2009-11-25 Juri Linkov <juri@jurta.org>
15790 Provide additional default values (file name at point or at the
15791 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15793 * minibuffer.el (read-file-name-defaults): New function.
15794 (read-file-name): Reset `minibuffer-default' to nil when
15795 it duplicates initial input `insdef'.
15796 Bind `minibuffer-default-add-function' to lambda that
15797 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15798 (minibuffer-insert-file-name-at-point): New command.
15800 * files.el (file-name-at-point-functions): New defcustom.
15801 (find-file-default): Remove defvar.
15802 (find-file-read-args): Don't use `find-file-default'.
15803 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15804 to `read-file-name'.
15805 (find-file-literally): Use `read-file-name' with
15806 `confirm-nonexistent-file-or-buffer'.
15808 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15810 * dired.el (dired-read-dir-and-switches):
15811 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15812 to `read-file-name'.
15813 (dired-file-name-at-point): New function.
15814 (dired-mode): Add hook `dired-file-name-at-point' to
15815 `file-name-at-point-functions'.
15817 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15819 Really make the *Completions* window soft-dedicated (bug#5030).
15820 * window.el (window--display-buffer-2): Add `dedicated' argument.
15821 (display-buffer): Pass it when needed so the dedicated flag is set
15822 after calling set-window-buffer, which would otherwise reset it.
15824 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15826 * progmodes/meta-mode.el (meta-complete-symbol):
15827 * progmodes/etags.el (complete-tag):
15828 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15829 Use completion-in-region.
15831 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15832 (dabbrev-completion): Use completion-in-region.
15833 (dabbrev--abbrev-at-point): Simplify regexp.
15835 * abbrev.el (abbrev--before-point): Use word-motion functions
15836 if :regexp is not specified (bug#5031).
15838 * subr.el (string-prefix-p): New function.
15840 * man.el (Man-completion-cache): New var.
15841 (Man-completion-table): Use it.
15843 * vc.el (vc-print-log-internal): Make `limit' optional for better
15844 compatibility (e.g. with vc-annotate.el).
15846 2009-11-24 Kevin Ryde <user42@zip.com.au>
15848 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15849 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15851 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15852 when .el source file not found or other error.
15854 2009-11-24 Markus Triska <markus.triska@gmx.at>
15856 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15858 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15860 Handle the [back] button properly (bug#4979).
15861 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15862 Use help-setup-xref, help-buffer, and with-help-window.
15863 (describe-char): Add `buffer' argument.
15864 Pass proper command to help-setup-xref. Don't meddle with
15865 help-xref-stack-item directly.
15866 (describe-text-category): Use with-help-window and help-buffer.
15868 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15869 for the displayed buffer (bug#4887).
15871 * man.el (Man-completion-table): New function.
15874 2009-11-24 David Reitter <david.reitter@gmail.com>
15876 * vc-git.el (vc-git-registered): Use checkout directory (where
15877 .git is) rather than the file's directory and a relative path spec
15878 to work around a bug in git.
15880 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15882 Improve handling of processes on remote hosts.
15884 * eshell/esh-util.el (eshell-path-env): New defvar.
15885 (eshell-parse-colon-path): New defun.
15886 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15888 * eshell/esh-ext.el (eshell-search-path):
15889 Use `eshell-parse-colon-path'.
15890 (eshell-remote-command): Remove argument HANDLER.
15891 (eshell-external-command): Check for FTP remote connection.
15893 * eshell/esh-proc.el (eshell-gather-process-output):
15894 Use `file-truename', in order to start also symlinked files.
15895 Apply `start-file-process' instead of `start-process'.
15896 Shorten `command' to the local file name part.
15898 * eshell/em-cmpl.el (eshell-complete-commands-list):
15899 Use `eshell-parse-colon-path'.
15901 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15903 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15904 to `eshell-directory-change-hook'.
15906 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15908 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15909 because it could be enabled automatically if view-read-only is non-nil.
15911 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15913 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15914 made on 2009-11-22.
15916 2009-11-24 Glenn Morris <rgm@gnu.org>
15918 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15919 deleted variable bookmark-bmenu-bookmark-column.
15921 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15923 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15925 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15927 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15928 two slashes to the "file:" prefix.
15929 (browse-url-file-url): De-munge Cygwin filenames before passing
15930 them to Windows browser.
15931 (browse-url-default-windows-browser): Use call-process.
15933 2009-11-23 Juri Linkov <juri@jurta.org>
15935 Implement DocView Continuous mode. (Bug#4896)
15936 * doc-view.el (doc-view-continuous-mode): New defcustom.
15937 (doc-view-mode-map): Bind C-n/<down> to
15938 `doc-view-next-line-or-next-page', C-p/<up> to
15939 `doc-view-previous-line-or-previous-page'.
15940 (doc-view-next-line-or-next-page)
15941 (doc-view-previous-line-or-previous-page): New commands.
15943 2009-11-23 Juri Linkov <juri@jurta.org>
15945 Implement Isearch in comint input history. (Bug#3746)
15946 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15947 `isearch-mode-hook'.
15948 (comint-history-isearch): New defcustom.
15949 (comint-history-isearch-backward)
15950 (comint-history-isearch-backward-regexp): New commands.
15951 (comint-history-isearch-message-overlay): New buffer-local variable.
15952 (comint-history-isearch-setup, comint-history-isearch-end)
15953 (comint-goto-input, comint-history-isearch-search)
15954 (comint-history-isearch-message, comint-history-isearch-wrap)
15955 (comint-history-isearch-push-state)
15956 (comint-history-isearch-pop-state): New functions.
15958 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15960 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15962 (tramp-handle-make-symbolic-link)
15963 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15965 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15966 (tramp-handle-process-file): Use it.
15968 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15970 * window.el (move-to-window-line-last-op): Remove.
15971 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15973 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15975 Make M-r mirror the new cycling behavior of C-l.
15976 * window.el (move-to-window-line-last-op): New var.
15977 (move-to-window-line-top-bottom): New command.
15978 (global-map): Bind M-r move-to-window-line-top-bottom.
15980 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15982 * dired-x.el (dired-guess-shell-alist-default):
15983 Support xz format. (Bug#4953)
15985 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15987 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15988 last-command-char/last-command-event.
15989 (viper-prefix-arg-value): Do correct conversion of event-char for
15992 * emulation/viper-util.el, emulation/viper.el:
15993 Use viper-last-command-char instead of
15994 last-command-char/last-command-event.
15996 * ediff-init.el, ediff-mult.el, ediff-util.el:
15997 Replace last-command-char and last-command-event
15998 with (ediff-last-command-char) everywhere.
16000 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16001 created in fundamental mode.
16003 * ediff.el (ediff-version): Revert the change of interactive-p to
16004 called-interactively-p.
16006 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16008 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16009 generation from word-movement command names.
16011 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16013 * cus-start.el (all): Add native condition for font-use-system-font.
16015 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16017 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16018 Correct the patch from 2009-11-18. (Bug#3910)
16020 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16022 * progmodes/subword.el: Rename from lisp/subword.el.
16024 * subword.el: Rename to progmodes/subword.el.
16026 * Makefile.in (ELCFILES): Adapt to subword.el move.
16028 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16029 Stefan Monnier <monnier@iro.umontreal.ca>
16031 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16032 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16033 (bookmark-bmenu-show-filenames): Use push.
16034 (bookmark-bmenu-hide-filenames): Use local var instead of
16035 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16036 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16037 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16038 filenames now that the bookmark names are always available.
16040 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16042 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16043 (bookmark-search-pattern): Move and leave unbound.
16044 (bookmark-bmenu-mode-map): Change binding.
16045 (bookmark-read-search-input): Simplify.
16046 Don't use text-char-description. Don't error on non-char events.
16047 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16048 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16049 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16050 Use a local var for the timer.
16051 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16052 (i.e. bookmark-bmenu-search).
16054 2009-11-21 Glenn Morris <rgm@gnu.org>
16056 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16058 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16060 * net/browse-url.el (browse-url-default-windows-browser):
16061 Use cygstart for cygwin.
16063 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16065 * bookmark.el: Formatting and doc fixes only:
16066 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16067 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16068 Minor grammar and punctuation fixes in doc string.
16069 (bookmark-read-search-input): Adjust to fit within 80 columns.
16071 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16073 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16074 (c-backward-into-nomenclature): Adapt to subword renaming.
16076 * subword.el (subword-forward, subword-backward, subword-mark)
16077 (subword-kill, subword-backward-kill, subword-transpose)
16078 (subword-downcase, subword-upcase, subword-capitalize)
16079 (subword-forward-internal, subword-backward-internal):
16080 Rename from forward-subword, backward-subword, mark-subword,
16081 kill-subword, backward-kill-subword, transpose-subwords,
16082 downcase-subword, upcase-subword, capitalize-subword,
16083 forward-subword-internal, backward-subword-internal.
16085 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16087 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16089 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16091 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16092 (bookmark-bmenu-filter-alist-by-regexp)
16093 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16094 (bookmark-bmenu-search): New command.
16095 (bookmark-bmenu-mode-map): Bind it.
16097 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16099 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16100 backward-subword to quit the byte-compiler.
16102 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16104 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16106 * progmodes/cc-cmds.el (c-update-modeline)
16107 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16108 Refer to subword.el functions instead of cc-subword.el.
16110 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16111 subword.el functions instead of cc-subword.el.
16113 * progmodes/cc-subword.el: Rename to subword.el.
16114 * subword.el: Rename from progmodes/cc-subword.el.
16115 (subword-mode-map): Rename from c-subword-mode-map.
16116 (subword-mode): Rename from c-subword-mode.
16117 (global-subword-mode): New global minor mode.
16118 (forward-subword): Rename from c-forward-subword.
16119 (backward-subword): Rename from c-backward-subword.
16120 (mark-subword): Rename from c-mark-subword.
16121 (kill-subword): Rename from c-kill-subword.
16122 (backward-kill-subword): Rename from c-backward-kill-subword.
16123 (transpose-subwords): Rename from c-tranpose-subword.
16124 (downcase-subword): Rename from c-downcase-subword.
16125 (capitalize-subword): Rename from c-capitalize-subword.
16126 (forward-subword-internal): Rename from c-forward-subword-internal.
16127 (backward-subword-internal): Rename from c-backward-subword-internal.
16129 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16131 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16132 from a dired buffer.
16133 (vc-dired-deduce-fileset): New function.
16134 (vc-root-diff, vc-print-root-log): Use it.
16136 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16137 nil LIMIT argument to vc-print-log-internal.
16139 2009-11-20 Glenn Morris <rgm@gnu.org>
16141 * Makefile.in (ELCFILES): Regenerate.
16143 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16145 * calc/calc.el (calc-set-mode-line):
16146 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16147 (math-format-number): Rename `math-format-complement-signed' to
16148 `math-format-twos-complement'.
16150 * calc/calc-bin.el (math-format-twos-complement): Rename from
16151 math-format-complement-signed.
16152 (calc-radix): Rename `calc-complement-signed-mode' to
16153 `calc-twos-complement-mode'.
16154 (calc-octal-radix, calc-hex-radix): Add an argument for
16157 * calc/calc-embed.el (calc-embedded-mode-vars):
16158 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16160 * calc/calc-ext.el (calc-init-extensions):
16161 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16162 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16164 * calc/calc-units.el (math-build-units-table-buffer):
16165 Let `calc-twos-complement-mode' be nil.
16167 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16170 * calc/calc-vec.el (calcFunc-vunpack):
16171 * calc/calc-aent.el (calc-do-calc-eval):
16172 * calc/calc-forms.el (math-format-date):
16173 * calc/calc-graph.el (calc-graph-plot):
16174 * calc/calc-math.el (math-use-emacs-fn):
16175 * calc/calccomp.el (math-compose-expr):
16176 Let `calc-twos-complement-mode' be nil.
16178 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16180 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16181 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16182 * minibuffer.el (completion-in-region-functions): New hook.
16183 (completion-in-region): New function.
16184 * emacs-lisp/lisp.el (lisp-complete-symbol):
16185 * pcomplete.el (pcomplete-std-complete): Use it.
16187 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16189 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16190 (latex-complete-alist): New vars.
16191 (latex-string-prefix-p, latex-complete-bibtex-keys)
16192 (latex-complete-envnames, latex-complete-refkeys)
16193 (latex-complete-data): New functions.
16194 (latex-complete, latex-indent-or-complete): New commands.
16196 * window.el (display-buffer-mark-dedicated): New var.
16197 (display-buffer): Obey it.
16198 * minibuffer.el (minibuffer-completion-help): Use it.
16200 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16202 * filecache.el (file-cache-add-file): Use push and cons.
16203 (file-cache-delete-file-regexp): Use push.
16204 (file-cache-complete): Use completion-in-region.
16206 * simple.el (with-wrapper-hook): Fix thinko.
16208 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16209 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16210 Use with-current-buffer and string-to-number.
16211 (hfy-fallback-colour-values): Use assoc-string.
16212 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16213 (hfy-face-at): Remove unused var `found-face'.
16214 (hfy-compile-stylesheet): Remove unused var `css'.
16215 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16217 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16218 Use with-current-buffer.
16219 (hfy-text-p): Use expand-file-name and fewer setq.
16221 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16223 * htmlfontify.el, hfy-cmap.el: New files.
16225 2009-11-19 Juri Linkov <juri@jurta.org>
16227 * minibuffer.el (completions-format): New defcustom.
16228 (completion--insert-strings): Implement vertical format.
16230 * simple.el (switch-to-completions): Move point to the first
16231 completion when point was at the beginning of the buffer.
16233 2009-11-19 Juri Linkov <juri@jurta.org>
16235 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16237 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16239 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16241 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16242 (mail-signature): Change default to t.
16243 (mail-from-style): Deprecate `system-default' value.
16244 (mail-insert-from-field): For default value of mail-from-style,
16245 default to `angles' unless `angles' needs quoting and `parens'
16247 (mail-citation-prefix-regexp): Use citation regexp from
16250 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16252 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16253 Set variables for computing the prompt for reading password.
16255 2009-11-19 Glenn Morris <rgm@gnu.org>
16257 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16259 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16261 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16262 (newsticker-treeview-listwindow-height): Fix custom type.
16264 2009-11-19 Kenichi Handa <handa@m17n.org>
16266 * descr-text.el (describe-char-padded-string): Compose with TAB
16267 only if there's a font for CH.
16268 (describe-char): Fix the condition for detecting a trivial composition.
16270 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16272 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16273 more accurate version of the regexp. (Bug#3910)
16275 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16277 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16279 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16281 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16282 (font-setting-change-default-font): Fix typo in docstring.
16284 2009-11-18 Alan Mackenzie <acm@muc.de>
16286 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16288 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16290 * font-setting.el (font-use-system-font): Move ...
16292 * cus-start.el (all): ... to here.
16294 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16296 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16297 Don't set `ad-return-value' if `ad-do-it' doesn't.
16299 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16302 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16304 * menu-bar.el: Put "Use system font" in Option-menu.
16305 (menu-bar-options-save): Add font-use-system-font.
16307 * loadup.el: If feature system-font-setting or font-render-setting is
16308 there, load font-setting.
16310 * Makefile.in (ELCFILES): Add font-settings.el.
16311 * font-setting.el: New file.
16313 2009-11-17 Glenn Morris <rgm@gnu.org>
16315 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16317 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16318 Preserve point in the list buffer. (Bug#4939)
16320 (newsticker--treeview-list-update-highlight)
16321 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16323 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16325 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16328 * calc/calc-ext.el (calc-init-extensions): Remove references to
16331 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16333 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16334 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16337 2009-11-16 Kevin Ryde <user42@zip.com.au>
16339 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16340 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16342 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16343 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16344 Ignore trailing spaces by omit-nulls to split-string (fixing
16345 regression from Emacs 21 due to the incompatible split-string
16346 change). (Bug #4928.)
16348 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16350 * vc.el (vc-log-show-limit): Default to 2000.
16351 (vc-print-log-internal): Insert buttons to request more entries
16352 when limiting the output.
16354 * vc-sccs.el (vc-sccs-print-log):
16355 * vc-rcs.el (vc-rcs-print-log):
16356 * vc-cvs.el (vc-cvs-print-log):
16357 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16360 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16362 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16363 error when `tramp-gvfs-dbus-event-vector' is set.
16364 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16366 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16370 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16372 * net/dbus.el (dbus-unregister-service): New defun.
16373 (dbus-register-property): Register the handlers of
16374 "org.freedesktop.DBus.Properties" for SERVICE.
16375 (dbus-property-handler): Fix docstring.
16377 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16379 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16380 Quote doc string reference in defvaralias as it is not in special form.
16381 (byte-compile-output-docform): Doc fix.
16383 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16385 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16386 (calc-complement-signed-mode): New variables.
16387 (calc-set-mode-line): Add indicator for twos-complements.
16388 (math-format-number): Format twos-complement notation.
16390 * calc/calc-bin.el (calc-word-size): Reset the variables
16391 `math-2-word-size' and `math-half-2-word-size'.
16392 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16393 (calc-symclip): New functions.
16395 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16397 * calc/calc-embed.el (calc-embedded-mode-vars):
16398 Add `calc-complement-signed-mode' to the list of modes.
16400 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16401 (calc-b-oper-keys): Add `calc-symclip' to list.
16403 * calc/calc-ext.el (math-read-number-fancy): Read complement
16405 (calc-init-extensions): Add binding for `calc-symclip'.
16406 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16408 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16410 (calc-modes-menu): Add item for twos complement mode.
16412 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16414 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16416 * register.el (jump-to-register, insert-register): Handle Semantic
16417 tags. From commented-out advice in semantic/senator.el.
16419 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16421 * vc.el (vc-log-show-limit): New variable.
16422 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16423 when using a prefix argument.
16424 (vc-print-log-internal): Add new argument LIMIT.
16426 * vc-svn.el (vc-svn-print-log):
16427 * vc-mtn.el (vc-mtn-print-log):
16428 * vc-hg.el (vc-hg-print-log):
16429 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16430 pass it to the log command when set. Make the BUFFER argument
16433 * vc-sccs.el (vc-sccs-print-log):
16434 * vc-rcs.el (vc-rcs-print-log):
16435 * vc-git.el (vc-git-print-log):
16436 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16437 ignore it. Make the BUFFER argument non-optional.
16439 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16441 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16443 * dired.el (dired-mode-map): Move encryption items to "Operate"
16446 * strokes.el (strokes-update-window-configuration): Make strokes
16447 buffer current before erasing (Bug#4906).
16449 2009-11-15 Juri Linkov <juri@jurta.org>
16451 * simple.el (set-mark-default-inactive): Add :type, :group
16452 and :version. (Bug#4876)
16454 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16456 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16457 (archive-unique-fname): ... here. (Bug#4929)
16459 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16461 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16464 * novice.el (disabled-command-function): Add useful args.
16465 Setup the help buffer so that [back] works.
16466 Remove redundant call to help-mode.
16467 (disabled-command-function): Use `case'.
16468 (en/disable-command): New function extracted from enable-command.
16469 (enable-command, disable-command): Use it.
16471 2009-11-14 Glenn Morris <rgm@gnu.org>
16473 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16474 constants. (Bug#4913)
16476 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16478 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16480 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16481 defined in C that have no doc-strings. (Bug#1063)
16483 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16485 * cus-edit.el (data, files):
16486 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16488 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16490 * simple.el (shell-command): Doc fix (Bug#4891).
16492 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16494 2009-11-14 Glenn Morris <rgm@gnu.org>
16496 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16497 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16498 If they are already loaded, eval-after-load will do the right thing.
16500 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16503 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16505 * simple.el (x-selection-owner-p): Declare.
16506 (read-mail-command): Use custom radio type rather than choice.
16507 (completion-no-auto-exit): Doc fix.
16509 * custom.el (defgroup):
16510 * epg-config.el (epg): Doc fixes.
16512 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16514 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16515 * international/ccl.el (define-ccl-program): Do not purecopy the
16516 docstring, defconst does it anyway.
16518 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16520 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16523 * x-dnd.el (x-dnd-maybe-call-test-function):
16524 * window.el (split-window-vertically):
16525 * whitespace.el (whitespace-help-on):
16526 * vc-rcs.el (vc-rcs-consult-headers):
16527 * userlock.el (ask-user-about-lock-help)
16528 (ask-user-about-supersession-help):
16529 * type-break.el (type-break-force-mode-line-update):
16530 * time-stamp.el (time-stamp-conv-warn):
16531 * terminal.el (te-set-output-log, te-more-break, te-filter)
16532 (te-sentinel, terminal-emulator):
16533 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16534 (term-write-input-ring, term-check-source, term-start-output-log):
16535 (term-display-buffer-line, term-dynamic-list-completions):
16536 (term-ansi-make-term, serial-term):
16537 * subr.el (selective-display):
16538 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16539 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16540 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16541 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16542 (speedbar-remove-localized-speedbar-support)
16543 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16544 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16545 (speedbar-buffers-line-directory):
16546 * simple.el (shell-command-on-region, append-to-buffer)
16547 (prepend-to-buffer):
16548 * shadowfile.el (shadow-save-todo-file):
16549 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16550 (scroll-bar-maybe-set-window-start):
16551 * sb-image.el (speedbar-image-dump):
16552 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16553 (load-save-place-alist-from-file):
16554 * ps-samp.el (ps-print-message-from-summary):
16555 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16556 (ps-background-image, ps-begin-job, ps-do-despool):
16557 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16558 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16559 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16560 (pr-call-process, pr-file-list, pr-interface-save):
16561 * novice.el (disabled-command-function)
16562 (enable-command, disable-command):
16563 * mouse.el (mouse-buffer-menu-alist):
16564 * mouse-copy.el (mouse-kill-preserving-secondary):
16565 * macros.el (kbd-macro-query):
16566 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16567 * informat.el (batch-info-validate):
16568 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16569 * hippie-exp.el (try-expand-dabbrev-visible):
16570 * help-mode.el (help-make-xrefs):
16571 * help-fns.el (describe-variable):
16572 * generic-x.el (bat-generic-mode-run-as-comint):
16573 * finder.el (finder-mouse-select):
16574 * find-dired.el (find-dired-sentinel):
16575 * filesets.el (filesets-file-close):
16576 * files.el (list-directory):
16577 * faces.el (list-faces-display, describe-face):
16578 * facemenu.el (list-colors-display):
16579 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16580 * epg.el (epg--process-filter, epg-cancel):
16581 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16582 (epa--read-signature-type):
16583 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16584 (emerge-file-names):
16585 * ehelp.el (electric-helpify):
16586 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16587 * ediff-vers.el (rcs-ediff-view-revision):
16588 * ediff-util.el (ediff-setup):
16589 * ediff-mult.el (ediff-append-custom-diff):
16590 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16592 * echistory.el (Electric-command-history-redo-expression):
16593 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16594 * disp-table.el (describe-display-table):
16595 * dired.el (dired-find-buffer-nocreate):
16596 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16597 * dabbrev.el (dabbrev--same-major-mode-p):
16598 * chistory.el (list-command-history):
16599 * apropos.el (apropos-documentation):
16600 * allout.el (allout-obtain-passphrase):
16601 (allout-copy-exposed-to-buffer):
16602 (allout-verify-passphrase): Use with-current-buffer.
16604 2009-11-13 Glenn Morris <rgm@gnu.org>
16606 * Makefile.in (ELCFILES): Regenerate.
16608 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16610 * net/dbus.el (dbus-registered-objects-table): Rename from
16611 `dbus-registered-functions-table', because it contains also properties.
16612 (dbus-unregister-object): Unregister also properties.
16613 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16614 Use a timeout of 500 msec, in order to not block.
16615 (dbus-register-property, dbus-property-handler): New defuns.
16617 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16619 * simple.el (minibuffer-default-add-completions): Drop deprecated
16622 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16624 * textmodes/artist.el (artist-mouse-choose-operation):
16625 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16626 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16627 (artist-compute-up-event-key): New function.
16628 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16630 2009-11-13 Kenichi Handa <handa@m17n.org>
16632 * language/japan-util.el: Make sure that the value of jisx0208
16633 property is jisx0208 character.
16635 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16637 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16638 car or each item, not the whole list.
16640 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16642 * minibuffer.el (minibuffer-completion-help):
16643 Use minibuffer-hide-completions.
16645 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16647 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16648 (dired-revert): Use them (bug#4880).
16650 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16652 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16654 2009-11-12 Juri Linkov <juri@jurta.org>
16656 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16658 (find-file-literally-at-point): Alias of `ffap-literally'.
16660 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16662 * textmodes/ispell.el (ispell-skip-region-alist):
16663 * textmodes/css-mode.el (auto-mode-alist):
16664 * progmodes/compile.el (auto-mode-alist):
16665 * international/mule.el (ctext-non-standard-encodings-alist)
16666 (ctext-non-standard-encodings-regexp):
16667 * simple.el (shell-command-switch, text-read-only):
16668 * replace.el (occur-mode-map):
16669 * paths.el (rmail-file-name):
16670 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16671 * find-file.el (ff-special-constructs):
16672 * files.el (file-name-handler-alist):
16673 * composite.el: Purecopy strings.
16675 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16677 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16679 * widget.el (define-widget): Purecopy the docstring.
16680 * international/mule-cmds.el (charset): Do not purecopy the
16681 docstring here, define-widget does it.
16683 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16684 * textmodes/bibtex-style.el (auto-mode-alist):
16685 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16686 * progmodes/compile.el (compile-command):
16687 * language/korea-util.el (default-korean-keyboard):
16688 * international/mule-conf.el (file-coding-system-alist):
16689 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16690 * tooltip.el (tooltip-frame-parameters):
16691 * newcomment.el (comment-end, comment-padding):
16692 * dired.el (dired-trivial-filenames):
16693 * comint.el (comint-file-name-prefix): Purecopy initial values.
16695 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16697 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16698 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16700 (tramp-advice-make-auto-save-file-name)
16701 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16702 after removing the advice.
16704 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16706 * progmodes/grep.el (grep-regexp-alist):
16707 * international/mule-cmds.el (iso-2022-control-alist):
16708 * emacs-lisp/timer.el (timer-duration-words):
16709 * subr.el (version-separator, version-regexp-alist):
16710 * minibuffer.el (completion-styles-alist):
16711 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16712 Change defvars to defconsts.
16714 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16715 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16716 * international/mule-conf.el: Allow to be byte compiled.
16718 * international/mule.el (define-charset): Purecopy props.
16719 (load-with-code-conversion): Purecopy doc string and file name.
16720 (put-charset-property): Purecopy strings.
16721 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16723 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16724 (define-char-code-property): Correctly purecopy the table.
16726 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16728 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16730 * subr.el (add-hook): Purecopy strings.
16731 (eval-after-load): Purecopy load-history-regexp and the form.
16733 * custom.el (custom-declare-group): Purecopy load-file-name.
16735 * subr.el (menu-bar-separator): New defconst.
16736 * net/eudc.el (eudc-tools-menu):
16737 * international/mule-cmds.el (set-coding-system-map)
16738 (mule-menu-keymap):
16739 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16740 * vc-hooks.el (vc-menu-map):
16741 * replace.el (occur-mode-map):
16742 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16743 (menu-bar-edit-menu, menu-bar-goto-menu)
16744 (menu-bar-custom-menu, menu-bar-showhide-menu)
16745 (menu-bar-options-menu, menu-bar-tools-menu)
16746 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16747 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16748 (menu-bar-help-menu):
16749 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16750 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16752 * term/x-win.el (x-gtk-stock-map):
16753 * progmodes/vera-mode.el (auto-mode-alist):
16754 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16755 (inferior-lisp-program, inferior-lisp-load-command):
16756 * progmodes/hideshow.el (hs-special-modes-alist):
16757 * progmodes/gud.el (same-window-regexps):
16758 * progmodes/grep.el (grep-program, find-program, xargs-program):
16759 * net/telnet.el (same-window-regexps):
16760 * net/rlogin.el (same-window-regexps):
16761 * language/ethiopic.el (font-ccl-encoder-alist):
16762 * vc-sccs.el (vc-sccs-master-templates):
16763 * vc-rcs.el (vc-rcs-master-templates):
16764 * subr.el (cl-assertion-failed):
16765 * simple.el (next-error-overlay-arrow-position):
16766 * lpr.el (lpr-command):
16767 * locate.el (locate-ls-subdir-switches):
16768 * info.el (same-window-regexps, info)
16769 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16770 * image-mode.el (image-mode, auto-mode-alist):
16771 * hippie-exp.el (hippie-expand-ignore-buffers):
16772 * format.el (format-alist):
16773 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16775 * facemenu.el (facemenu-keybindings):
16776 * dired.el (dired-listing-switches, dired-chown-program):
16777 * diff.el (diff-switches, diff-command):
16778 * cus-edit.el (same-window-regexps):
16779 * bindings.el (mode-line-mule-info)
16780 (mode-line-buffer-identification): Purecopy strings.
16782 2009-11-11 Juri Linkov <juri@jurta.org>
16784 * simple.el (dired-get-filename) <declare-function>:
16785 Tell the byte-compiler about dired-get-filename.
16786 (shell-command): In Dired mode, get filename from the current line
16787 as the default value.
16789 2009-11-10 Glenn Morris <rgm@gnu.org>
16791 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16792 * calendar/holidays.el, progmodes/cperl-mode.el:
16793 Update x-popup-menu declarations.
16795 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16796 (list-load-path-shadows): Use dolist.
16797 (list-load-path-shadows): Use with-current-buffer.
16799 2009-11-10 Juri Linkov <juri@jurta.org>
16801 * minibuffer.el (read-file-name): Support a list of default values
16802 in `default-filename'. Use the first file name where only one
16803 element is required. Doc fix.
16805 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16807 * net/dbus.el (dbus-unregister-object): Release service, if no
16808 other method is registered for it.
16810 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16812 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16813 bookmark-sort-flag is non-nil (Bug#4653).
16815 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16817 * emulation/cua-base.el: Add CUA property to some CC mode commands
16820 2009-11-08 Kevin Ryde <user42@zip.com.au>
16822 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16823 at end of sentence (Bug#4818).
16825 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16827 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16828 Handle "see declaration of" MSFT statements (Bug#4100).
16830 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16832 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16833 (tramp-advice-file-expand-wildcards): Unload via
16834 `ad-remove-advice'.
16836 * net/trampver.el: Update release number.
16838 2009-11-08 Kevin Ryde <user42@zip.com.au>
16840 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16843 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16845 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16846 in order to keep context in SELinux.
16848 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16850 * dired-aux.el (dired-query): Place cursor in echo area and allow
16853 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16854 menu item if not on a directory (Bug#4701).
16856 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16858 Sync with Tramp 2.1.17.
16860 * net/tramp.el (tramp-handle-copy-directory): Don't use
16861 `file-remote-p' (due to compatibility).
16863 * net/tramp-compat.el (tramp-compat-copy-directory)
16864 (tramp-compat-delete-directory): New defuns.
16866 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16867 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16868 Use `tramp-compat-delete-directory'.
16870 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16871 (tramp-smb-handle-delete-directory):
16872 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16874 * net/trampver.el: Update release number.
16876 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16878 * tar-mode.el (tar-copy): Call write-region on the right buffer
16881 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16882 by hand, if necessary (Bug#4878).
16884 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16886 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16887 align size column (Bug#4839).
16889 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16892 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16894 * progmodes/ld-script.el (auto-mode-alist):
16895 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16897 * cus-face.el (custom-declare-face): Purecopy face spec.
16899 2009-11-06 Kenichi Handa <handa@m17n.org>
16901 * international/uni-bidi.el: Re-generated.
16902 * international/uni-category.el: Re-generated.
16903 * international/uni-combining.el: Re-generated.
16904 * international/uni-mirrored.el: Re-generated.
16906 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16908 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16909 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16910 (tex-start-options, slitex-run-command, latex-run-command)
16911 (tex-run-command, tex-directory):
16912 * textmodes/ispell.el (ispell-html-skip-alists)
16913 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16914 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16915 (adaptive-fill-regexp):
16916 * textmodes/dns-mode.el (auto-mode-alist):
16917 * progmodes/python.el (interpreter-mode-alist):
16918 * progmodes/etags.el (tags-compression-info-list):
16919 * progmodes/etags.el (tags-file-name):
16920 * net/browse-url.el (browse-url-galeon-program)
16921 (browse-url-firefox-program):
16922 * mail/sendmail.el (mail-signature-file)
16923 (mail-citation-prefix-regexp):
16924 * international/mule-conf.el (eight-bit):
16925 * international/latexenc.el (latex-inputenc-coding-alist):
16926 * international/fontset.el (x-pixel-size-width-font-regexp):
16927 * emacs-lisp/warnings.el (warning-type-format):
16928 * emacs-lisp/trace.el (trace-buffer):
16929 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16930 (emacs-lisp-mode-map):
16931 * calendar/holidays.el (holiday-solar-holidays)
16932 (holiday-bahai-holidays, holiday-islamic-holidays)
16933 (holiday-christian-holidays, holiday-hebrew-holidays)
16934 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16935 (hebrew-holidays-1, holiday-oriental-holidays)
16936 (holiday-general-holidays):
16937 * x-dnd.el (x-dnd-known-types):
16938 * tool-bar.el (tool-bar):
16939 * startup.el (site-run-file):
16940 * shell.el (shell-dumb-shell-regexp):
16941 * rfn-eshadow.el (file-name-shadow-tty-properties)
16942 (file-name-shadow-properties):
16943 * paths.el (remote-shell-program, news-directory):
16944 * mouse.el ([C-down-mouse-3]):
16945 * menu-bar.el (menu-bar-tools-menu):
16946 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16947 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16948 (jka-compr-compression-info-list):
16949 * isearch.el (search-whitespace-regexp):
16950 * image-file.el (image-file-name-extensions):
16951 * find-dired.el (find-ls-option):
16952 * files.el (directory-listing-before-filename-regexp)
16953 (directory-free-space-args, insert-directory-program)
16954 (list-directory-brief-switches, magic-fallback-mode-alist)
16955 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16956 (automount-dir-prefix):
16957 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16958 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16959 (face-font-registry-alternatives, face-font-registry-alternatives)
16960 (face-font-family-alternatives):
16961 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16962 (facemenu-foreground-menu, facemenu-face-menu):
16963 * epa-hook.el (epa-file-name-regexp):
16964 * dnd.el (dnd-protocol-alist):
16965 * textmodes/rst.el (auto-mode-alist):
16966 * button.el (default-button): Purecopy strings.
16968 2009-11-06 Glenn Morris <rgm@gnu.org>
16970 * Makefile.in (ELCFILES): Update.
16972 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16974 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16975 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16977 * nxml/xsd-regexp.el (xsdre-gen-categories):
16978 * nxml/xmltok.el (xmltok-parse-entity):
16979 * nxml/rng-parse.el (rng-parse-validate-file):
16980 * nxml/rng-maint.el (rng-format-manual)
16981 (rng-manual-output-force-new-line):
16982 * nxml/rng-loc.el (rng-save-schema-location-1):
16983 * nxml/rng-cmpct.el (rng-c-parse-file):
16984 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16985 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16987 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16989 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16990 Remove extra save-excursions and make-variable-buffer-local's.
16991 Suggested by Stefan Monnier.
16993 (verilog-getopt-file, verilog-module-inside-filename-p)
16994 (verilog-set-define): Merge GNU 1.35 and repair changes from
16995 switching to using with-current-buffer.
16997 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16998 being treated as a number and confusing AUTORESET.
16999 Reported by Dan Dever.
17001 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17002 Add verilog-auto-ignore-concat to fix backward compatibility with
17003 older verilog-modes. Reported by Dan Katz.
17005 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17006 containing closing anchors "...$".
17008 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17009 Reported by Wade Smith.
17011 (verilog-batch-execute-func): Comment on function usage.
17013 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17015 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17018 (verilog-label-re, verilog-calc-1): Support proper indent of named
17021 (verilog-backward-token, verilog-basic-complete-re)
17022 (verilog-beg-of-statement, verilog-indent-re): Support proper
17023 indent of the assert statement at the beginning of a block of text.
17025 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17026 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17029 2009-11-05 Glenn Morris <rgm@gnu.org>
17031 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17032 Emacs 19. (Bug#1531)
17033 (byte-compile-fix-header): Update for the above change.
17034 Drop test for epoch::version.
17036 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17037 * cus-dep.el (custom-make-dependencies):
17038 * finder.el (finder-compile-keywords):
17039 Use autoload-rubric's feature argument.
17041 * calendar/diary-lib.el (top-level): Make load behave more like require.
17043 * vc-git.el (vc-git-stash-map): Move definition before use.
17045 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17047 * custom.el (custom-declare-group): Purecopy standard-value.
17048 (custom-declare-group): Purecopy custom-prefix.
17050 * international/mule.el (load-with-code-conversion):
17051 Call do-after-load-evaluation unconditionally.
17053 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17055 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17057 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17059 2009-11-04 Glenn Morris <rgm@gnu.org>
17061 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17062 (byte-compile-compatibility): Remove option.
17063 (byte-compile-close-variables, byte-compile-fix-header)
17064 (byte-compile-insert-header, byte-compile-output-docform)
17065 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17066 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17067 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17068 (byte-compile-insert, byte-compile-defun):
17069 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17070 (byte-defop-compiler19): Remove.
17071 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17072 used by anything. Replace all calls with byte-defop-compiler.
17074 2009-11-04 Juri Linkov <juri@jurta.org>
17076 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17077 (menu-bar-options-menu): Don't quote the `prop' arg of
17078 `menu-bar-make-mm-toggle'.
17080 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17082 * calendar/calendar.el (cal-loaddefs):
17083 * calendar/diary-lib.el (diary-loaddefs):
17084 * calendar/holidays.el (hol-loaddefs):
17085 * eshell/esh-module.el (esh-groups): Load rather than require.
17087 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17089 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17091 (todo-top-priorities): Only display-buffer when called interactively.
17092 (todo-item-start): Don't save excursion point.
17093 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17094 (todo-insert-item-here, todo-file-item, todo-remove-item):
17095 Adjust uses of todo-item-start and todo-item-end.
17097 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17098 (autoload-rubric): Don't use any more.
17100 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17101 and only put a prop if it is non-nil.
17103 2009-11-03 Juri Linkov <juri@jurta.org>
17105 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17106 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17108 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17109 and "Menu" to make top-level menu item visually one unit (like
17110 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17111 multi-word menu items). Fix :help string for quit-window.
17113 2009-11-03 Glenn Morris <rgm@gnu.org>
17115 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17116 (byte-compile-file-form-define-abbrev-table)
17117 (byte-compile-file-form-custom-declare-variable)
17118 (byte-compile-variable-ref, byte-compile-defvar):
17119 Whether or not a warning is enabled should only affect whether we issue
17120 the warning, not whether or not we collect the relevant data.
17121 Eg warnings can be turned on and off throughout the course of a file.
17123 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17124 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17126 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17128 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17129 * play/mpuz.el (mpuz-create-buffer):
17130 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17131 (lm-print-y,s,noise, lm-print-w0, lm-init):
17132 * play/gomoku.el (gomoku-prompt-for-move):
17133 * play/fortune.el (fortune-in-buffer):
17134 * play/dissociate.el (dissociated-press):
17135 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17136 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17137 * mail/supercite.el (sc-eref-show):
17138 * mail/smtpmail.el (smtpmail-send-it):
17139 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17140 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17141 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17142 (rmail-summary-goto-msg, rmail-summary-expunge)
17143 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17144 (rmail-summary-add-label, rmail-summary-output-menu)
17145 (rmail-summary-output-body):
17146 * mail/rfc822.el (rfc822-addresses):
17147 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17148 * mail/mailpost.el (post-mail-send-it):
17149 * mail/hashcash.el (hashcash-generate-payment):
17150 * mail/feedmail.el (feedmail-run-the-queue)
17151 (feedmail-queue-send-edit-prompt-help-first)
17152 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17153 (feedmail-deduce-address-list):
17154 * eshell/esh-ext.el (eshell-remote-command):
17155 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17156 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17157 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17158 (viper-save-string-in-file, viper-valid-marker):
17159 * emulation/viper-keym.el (viper-toggle-key):
17160 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17161 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17162 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17163 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17164 (viper-exec-form-in-emacs, viper-brac-function):
17165 * emulation/viper.el (viper-delocalize-var):
17166 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17167 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17168 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17169 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17170 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17171 * emulation/edt.el (edt-electric-helpify):
17172 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17173 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17174 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17175 (cua-indent-to-global-mark-column):
17176 * calendar/diary-lib.el (calendar-mark-1):
17177 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17178 Use with-current-buffer.
17179 * emulation/viper.el (viper-delocalize-var): Use dolist.
17181 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17183 * comint.el (comint-replace-by-expanded-history-before-point):
17184 Replace !! with the previous input string literally (Bug#1795).
17186 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17188 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17189 to be made up of whitespace.
17191 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17193 * minibuffer.el (read-file-name): Don't use file dialogs for
17194 remote directories (Bug#99).
17196 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17198 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17200 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17202 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17203 instead of deleting the window or frame.
17205 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17207 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17208 Support face colors.
17210 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17211 New function. Support face colors (Bug#1168).
17212 (tex-common-initialization): Use it.
17214 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17215 mode allows it (Bug#1168).
17217 2009-10-31 Juri Linkov <juri@jurta.org>
17219 * facemenu.el (list-colors-display): Don't mark buffer as
17220 modified (Bug#3948).
17222 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17224 * international/mule-diag.el (list-character-sets-1):
17225 Minor message fix (Bug#3526).
17227 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17228 Fix face property (Bug#4834).
17229 (etags-list-tags, etags-tags-apropos-additional)
17230 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17233 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17236 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17238 * textmodes/two-column.el (2C-split):
17239 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17240 * textmodes/tex-mode.el (tex-set-buffer-directory):
17241 * textmodes/spell.el (spell-region, spell-string):
17242 * textmodes/reftex.el (reftex-erase-buffer):
17243 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17244 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17245 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17246 (reftex-select-item):
17247 * textmodes/reftex-ref.el (reftex-label-info-update)
17248 (reftex-offer-label-menu):
17249 * textmodes/reftex-index.el (reftex-index-change-entry)
17250 (reftex-index-phrases-info):
17251 * textmodes/reftex-global.el (reftex-create-tags-file)
17252 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17253 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17254 (reftex-view-crossref-from-bibtex):
17255 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17256 (reftex-extract-bib-entries-from-thebibliography)
17257 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17258 * textmodes/refbib.el (r2b-capitalize-title):
17259 (r2b-convert-buffer, r2b-help):
17260 * textmodes/page-ext.el (pages-directory)
17261 (pages-directory-goto-with-mouse):
17262 * textmodes/bibtex.el (bibtex-validate-globally):
17263 * textmodes/bib-mode.el (bib-capitalize-title):
17264 * textmodes/artist.el (artist-clear-buffer, artist-system):
17265 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17266 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17267 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17268 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17269 (xscheme-send-control-g-interrupt, xscheme-start-process)
17270 (xscheme-process-sentinel, xscheme-cd):
17271 * progmodes/verilog-mode.el (verilog-read-always-signals)
17272 (verilog-set-define, verilog-getopt-file)
17273 (verilog-module-inside-filename-p):
17274 * progmodes/sh-script.el:
17275 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17276 (python-pdbtrack-grub-for-buffer, python-execute-file):
17277 * progmodes/octave-inf.el (inferior-octave):
17278 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17279 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17280 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17281 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17282 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17283 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17284 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17285 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17286 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17287 (idlwave-shell-examine-display, idlwave-shell-run-region)
17288 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17289 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17290 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17291 (idlwave-help-get-help-buffer):
17292 * progmodes/gud.el (gud-basic-call, gud-find-class)
17293 (gud-tooltip-activate-mouse-motions-if-enabled):
17294 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17295 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17296 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17297 (ebrowse-tags-next-file):
17298 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17299 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17300 (ebnf-eps-finish-and-write):
17301 * progmodes/cpp.el (cpp-edit-save):
17302 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17303 * progmodes/cc-defs.el (c-emacs-features):
17304 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17305 (antlr-directory-dependencies):
17306 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17307 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17308 (ada-find-any-references, ada-make-filename-from-adaname)
17309 (ada-make-body-gnatstub):
17310 * obsolete/rnews.el (news-list-news-groups):
17311 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17312 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17313 * net/rcirc.el (rcirc-debug):
17314 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17315 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17316 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17317 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17318 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17319 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17320 (newsticker--treeview-list-clear-highlight)
17321 (newsticker--treeview-list-update-highlight)
17322 (newsticker--treeview-list-highlight-start)
17323 (newsticker--treeview-tree-update-highlight)
17324 (newsticker--treeview-get-selected-item)
17325 (newsticker-treeview-mark-list-items-old)
17326 (newsticker--treeview-set-current-node):
17327 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17328 * net/newst-backend.el (newsticker--get-news-by-funcall)
17329 (newsticker--get-news-by-wget, newsticker--image-get)
17330 (newsticker--image-sentinel):
17331 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17332 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17333 (eudc-ph-close-session):
17334 * net/eudc.el (eudc-save-options):
17335 * language/thai-word.el (thai-update-word-table):
17336 * language/japan-util.el (japanese-string-conversion):
17337 * international/titdic-cnv.el (tsang-quick-converter)
17338 (ziranma-converter, ctlau-converter):
17339 * international/mule-cmds.el (describe-language-environment):
17340 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17341 (skkdic-convert-postfix, skkdic-convert-prefix):
17342 (skkdic-convert-okuri-nasi, skkdic-convert):
17343 * emacs-lisp/re-builder.el (reb-update-overlays):
17344 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17345 * emacs-lisp/gulp.el (gulp-send-requests):
17346 * emacs-lisp/find-gc.el (trace-call-tree):
17347 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17348 (eieio-describe-generic):
17349 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17350 * emacs-lisp/edebug.el (edebug-outside-excursion):
17351 * emacs-lisp/debug.el (debugger-make-xrefs):
17352 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17353 * emacs-lisp/chart.el (chart-new-buffer):
17354 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17355 Use with-current-buffer.
17356 * textmodes/artist.el (artist-system): Don't call
17357 copy-sequence on a fresh string.
17358 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17360 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17362 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17363 is no item to edit. (Bug#4820)
17364 (todo-top-priorities): Restore point and restore narrowing in Todo
17367 2009-10-31 Glenn Morris <rgm@gnu.org>
17369 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17370 (comint-last-output-start, comint-last-input-start)
17371 (comint-last-input-end): Don't defvar when compiling.
17372 (ange-ftp-process-file): Use bound-and-true-p.
17374 * pcmpl-rpm.el (top-level): Move provide statement to end.
17375 (pcmpl-rpm): Remove unused custom group.
17377 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17379 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17381 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17382 (byte-compile-warnings): Add `constants' as an option.
17383 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17384 (display-call-tree): Update for byte-compile-fdefinition possibly
17385 returning `(macro lambda ...)'. (Bug#4778)
17386 (byte-compile-variable-ref, byte-compile-setq-default):
17387 Respect `constants' member of byte-compile-warnings.
17389 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17391 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17392 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17395 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17397 * textmodes/ispell.el (ispell-skip-region-alist):
17398 * international/mule-conf.el (eight-bit):
17399 * international/fontset.el (font-encoding-alist):
17400 * startup.el (pure-space-overflow-message):
17401 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17402 * paths.el (gnus-nntp-service, rmail-spool-directory)
17403 (term-file-prefix):
17404 * files.el (save-some-buffers-action-alist):
17405 * cmuscheme.el (same-window-buffer-names):
17406 * ielm.el (same-window-buffer-names):
17407 * shell.el (same-window-buffer-names):
17408 * mail/sendmail.el (same-window-buffer-names):
17409 * progmodes/inf-lisp.el (same-window-buffer-names):
17410 * bindings.el (mode-line-client)
17411 (mode-line-column-line-number-mode-map):
17412 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17413 (tibetan-precomposed-regexp): Purecopy string arguments.
17415 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17417 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17418 (calcDigit-nondigit):
17419 * calc/calc-yank.el (calc-copy-to-buffer):
17420 * calc/calc-units.el (calc-invalidate-units-table):
17421 * calc/calc-trail.el (calc-trail-yank):
17422 * calc/calc-store.el (calc-insert-variables):
17423 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17424 * calc/calc-prog.el (calc-read-parse-table):
17425 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17426 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17427 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17428 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17429 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17430 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17431 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17432 * calc/calc-ext.el (calc-realign):
17433 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17434 (calc-embedded-finish-edit, calc-embedded-make-info)
17435 (calc-embedded-finish-command, calc-embedded-stack-change):
17436 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17438 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17439 shell-dynamic-complete-filename in preference to
17440 comint-dynamic-complete-filename.
17442 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17443 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17444 Don't consider whether the display supports colors.
17445 (bookmark-import-new-list): Use dolist.
17446 (bookmark-bmenu-mode-map): Move initialization into declaration.
17447 (bookmark-bmenu-list): Use dolist, simplify.
17448 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17449 (menu-bar-final-items): Use push.
17451 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17453 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17454 it works on remote files.
17455 (vc-hg-diff): Don't pass any `--cwd' argument.
17457 2009-10-27 Kevin Ryde <user42@zip.com.au>
17459 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17460 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17461 (Further to Bug#3921).
17463 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17465 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17466 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17467 calling `tramp-imap-put-file'. Add file size to the call.
17468 (tramp-imap-get-file-entries): Compute also user name, file size,
17470 (tramp-imap-handle-insert-directory): Insert uid and gid.
17471 (tramp-imap-handle-file-attributes): Transform uid and gid
17472 according to `id-format'.
17473 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17474 size in header X-Size.
17476 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17478 * simple.el (transpose-subr): Give clearer error when the mark
17479 is not set. (Bug#4807)
17481 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17483 * net/tramp.el (tramp-perl-file-truename): New defconst.
17484 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17485 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17486 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17487 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17489 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17490 Ignore `dired-call-process'.
17491 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17493 2009-10-26 Julian Scheid <julians37@gmail.com>
17495 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17496 (tramp-get-remote-readlink): New defun.
17497 (tramp-handle-file-truename): Use it.
17498 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17499 file exists if cache value present.
17500 (tramp-check-cached-permissions): New defun.
17501 (tramp-handle-file-readable-p): Use it.
17502 (tramp-handle-file-writable-p): Likewise.
17503 (tramp-handle-file-executable-p): Likewise.
17504 (tramp-handle-file-name-all-completions): Try using Perl to get
17505 partial completions. When perl not available, combine `cd' and
17506 `ls' into single remote operation and use shell expansion to get
17507 partial remote directory contents. Set `file-exists-p' cache for
17508 directory and any files returned by ls. Change cache handling to
17509 support partial directory contents. Use error message emitted by
17510 remote `cd' or Perl code for local tramp-error.
17511 (tramp-do-copy-or-rename-file-directly): Avoid separate
17512 tramp-send-command-and-check call.
17513 (tramp-handle-process-file): Merge three remote ops into one.
17514 Do not flush all caches when `process-file-side-effects' is set.
17515 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17516 file-attributes shows uid/gid to be set already.
17518 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17520 * textmodes/tex-mode.el (tex-dvi-view-command)
17521 (tex-show-queue-command, tex-open-quote):
17522 * progmodes/ruby-mode.el (auto-mode-alist)
17523 (interpreter-mode-alist): Purecopy strings.
17525 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17527 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17528 string for the hook, keymap and abbrev table.
17530 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17532 * x-dnd.el (x-dnd-xdnd-to-action):
17533 * startup.el (fancy-startup-text, fancy-about-text): Change to
17534 defconst from defvar.
17536 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17538 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17539 Purecopy initialization strings.
17541 * mail/sendmail.el (mail-header-separator)
17542 (mail-personal-alias-file):
17543 * mail/rmail.el (rmail-default-dont-reply-to-names)
17544 (rmail-ignored-headers, rmail-retry-ignored-headers)
17545 (rmail-highlighted-headers, rmail-secondary-file-directory)
17546 (rmail-secondary-file-regexp):
17547 * files.el (null-device, file-name-invalid-regexp)
17548 (locate-dominating-stop-dir-regexp)
17549 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17550 (interpreter-mode-alist): Use mapcar instead of mapc.
17552 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17554 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17555 (completion-ignored-extensions):
17556 (debug-ignored-errors): Purecopy strings.
17558 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17560 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17561 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17562 (pcomplete--here): Use push.
17564 * subr.el (all-completions): Declare the 4th arg obsolete.
17566 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17568 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17569 (pcomplete-unquote-argument): New function.
17570 (pcomplete--common-suffix): Always pay attention to case.
17571 (pcomplete--table-subvert): Quote and unquote the text.
17572 (pcomplete--common-quoted-suffix): New function.
17573 (pcomplete-std-complete): Use it and pcomplete-begin.
17575 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17576 we're inside a dedicated or minibuffer window.
17578 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17580 * bookmark.el: Update documentation, especially documentation
17581 of `bookmark-alist' and of the bookmark file format.
17582 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17584 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17586 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17587 keybindings apply to the mail buffer (Bug#4003). Shrink help
17590 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17591 (global-whitespace-mode, global-whitespace-newline-mode)
17592 (whitespace-toggle-options, global-whitespace-toggle-options):
17593 Doc fix (Bug#3660).
17595 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17596 of xmltok-start before the end tag was inserted (Bug#2840).
17598 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17599 patterns that are preceded by an open-paren (Bug#1320).
17601 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17603 * files.el (delete-directory): Delete symlinks to directories with
17604 delete-file (Bug#4739).
17606 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17608 * vc.el (vc-backend-for-registration): Rename from
17609 vc-get-backend-for-registration. Update callers.
17611 * international/mule-cmds.el (set-language-info-alist):
17613 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17614 (charset): Purecopy the name.
17615 (define-char-code-property): Purecopy string arguments.
17617 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17618 Purecopy string arguments.
17620 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17621 * ediff-hook.el (menu-bar-ediff-menu):
17622 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17623 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17625 2009-10-24 Glenn Morris <rgm@gnu.org>
17627 * comint.el (comint-dynamic-list-completions):
17628 * term.el (term-dynamic-list-completions): Use choose-completion rather
17629 than obsolete alias mouse-choose-completion.
17631 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17632 file-cache-choose-completion.
17633 (file-cache-choose-completion): Handle an optional event argument.
17634 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17636 * progmodes/octave-mod.el (octave-complete-symbol):
17637 Use choose-completion if mouse-choose-completion is ever removed.
17639 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17642 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17645 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17647 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17649 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17650 Ignore `pred' now that we receive one.
17651 Handle test-completion specially.
17653 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17655 * vc.el (vc-responsible-backend): Throw an error if not backend is
17656 found. Remove the REGISTER argument. Move the code dealing with
17658 (vc-get-backend-for-registration): ... here. New function.
17659 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17660 of vc-responsible-backend, pass the file name instead of the
17663 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17665 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17667 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17668 (pcomplete-comint-setup): Don't modify a global var via
17669 accidental side-effects.
17670 (pcomplete-shell-setup): Adjust call accordingly.
17671 (pcomplete-parse-comint-arguments): Use push.
17673 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17675 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17676 Allow uncapitalized info node names (Bug#3921).
17678 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17679 to the DEBUG file (Bug#3781).
17681 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17683 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17684 dictionary entry (Bug#4579).
17686 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17688 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17689 from `rfn-eshadow-update-overlay-hook' when unloading.
17690 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17691 "rsyncc". Adjust doc string.
17692 (tramp-temp-buffer-file-name): New buffer-local defvar.
17693 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17694 Keep temporary file when indicated by method ("rsync" and
17696 (tramp-handle-write-region): Handle APPEND.
17697 (tramp-delete-temp-file-function): New defun. Added to
17698 `kill-buffer-hook'.
17700 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17702 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17704 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17706 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17707 (color-name-rgb-alist, tty-standard-colors)
17708 (tty-color-mode-alist): Change to defconst.
17710 * simple.el (mark-inactive): Purecopy message.
17712 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17713 (global-map, yank-menu):
17714 * textmodes/ispell.el (ispell-menu-map):
17715 * net/eudc.el (eudc-tools-menu):
17716 * international/mule-cmds.el (describe-language-environment-map)
17717 (setup-language-environment-map, set-coding-system-map)
17718 (mule-menu-keymap):
17719 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17720 * replace.el (occur-mode-map):
17721 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17723 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17725 * calc/calc.el (math-read-number, math-read-number-simple):
17726 Use `save-match-data'.
17728 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17730 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17731 rather than fiddling with global-map bindings, since it should only
17732 affect per-terminal settings.
17733 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17735 * minibuffer.el (completion-table-with-terminator): Allow to specify
17736 the terminator-regexp.
17738 * simple.el (switch-to-completions): Look for *Completions* in other
17741 * pcomplete.el: Allow the use of completion-tables.
17742 (pcomplete-std-complete): New command.
17743 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17744 (pcomplete--here): Use a function for `form' rather than an expression,
17745 so it can be byte-compiled.
17746 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17747 Add edebug declaration.
17748 (pcomplete-show-completions): Remove unused var `curbuf'.
17749 (pcomplete-do-complete, pcomplete-stub):
17750 Don't assume `completions' is a list of strings any more.
17752 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17754 * find-dired.el (find-name-arg): Fix typo in docstring.
17756 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17758 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17759 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17761 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17764 * comint.el (comint-read-input-ring, comint-write-input-ring)
17765 (comint-substitute-in-file-name)
17766 (comint-dynamic-complete-as-filename)
17767 (comint-dynamic-simple-complete)
17768 (comint-dynamic-list-filename-completions)
17769 (comint-dynamic-list-completions)
17770 (comint-redirect-results-list-from-process): Minor simplifications.
17772 2009-10-21 Kevin Ryde <user42@zip.com.au>
17774 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17775 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17776 the first form. And insert a blank line after ";;; Code" since
17777 that's usual style. (Bug#4612)
17779 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17781 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17783 * minibuffer.el (completion-table-with-terminator): Properly implement
17784 boundaries, in case `terminator' appears in the suffix.
17785 (completion--embedded-envvar-table): Don't return boundaries if
17786 there's no valid completion. Simplify.
17787 (completion-file-name-table): New completion table extracted from
17788 completion--file-name-table.
17789 (completion--file-name-table): Use it.
17790 (read-file-name-predicate): Declare obsolete.
17791 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17792 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17793 completion-file-name-table, and use the `pred' argument.
17794 * files.el (locate-file-completion-table): Use the `pred' arg rather
17795 than read-file-name-predicate.
17796 (abbreviate-file-name): Use \` rather than ^ for BOS.
17798 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17800 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17801 vc-responsible-backend to register, it causes problems.
17803 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17805 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17807 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17809 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17810 (tramp-smb-handle-file-attributes): Use it.
17811 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17812 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17813 `mapcar'. Use `tramp-smb-get-stat-capability'.
17814 Add `dired-filename' text properties.
17815 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17816 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17819 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17821 * subr.el (read-key-delay): Reduce to 0.01.
17822 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17825 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17827 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17829 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17830 (Info-menu): Remove unused vars `last' and `completions'.
17831 (Info-index-nodes): Remove unused var `node'.
17833 * info.el (Info-complete-menu-item): Use complete-with-action.
17835 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17837 Make vc-annotate work through copies and renames.
17838 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17839 Return the file name too.
17840 (vc-annotate-revision-at-line)
17841 (vc-annotate-find-revision-at-line)
17842 (vc-annotate-revision-previous-to-line)
17843 (vc-annotate-show-log-revision-at-line): Update to get the file
17844 name from vc-annotate-extract-revision-at-line.
17845 (vc-annotate-show-diff-revision-at-line-internal): Change the
17846 argument to mean whether to show a file diff or not. Get the file
17847 name from vc-annotate-extract-revision-at-line.
17848 (vc-annotate-show-diff-revision-at-line):
17849 Update vc-annotate-show-diff-revision-at-line call.
17850 (vc-annotate-warp-revision): Add an optional file argument.
17852 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17853 (vc-git-annotate-extract-revision-at-line): Also return the file
17856 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17857 command. Remove unused code.
17858 (vc-hg-annotate-re): Update to match --follow output.
17859 (vc-hg-annotate-extract-revision-at-line): Also return the file
17862 * vc.el: Update annotate-extract-revision-at-line documentation.
17864 2009-10-18 Kevin Ryde <user42@zip.com.au>
17866 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17867 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17869 * net/browse-url.el (browse-url): Identify alist with "consp and
17870 not functionp" and let all other things go down the `apply' leg,
17871 as suggested by Stefan. (Further to bug#4531.)
17873 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17875 * minibuffer.el (read-file-name): Check for repeat before putting
17876 a default argument in file-name-history (Bug#4657).
17878 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17879 read syntax (Bug#4737).
17881 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17883 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17885 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17886 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17887 entries and make note of obsolete tags.
17889 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17891 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17893 2009-10-18 Glenn Morris <rgm@gnu.org>
17895 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17896 grep, so that binary files (eg international/uni-bidi.el) can match.
17897 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17898 now, and in any case the file header format has changed.
17900 2009-10-17 Glenn Morris <rgm@gnu.org>
17902 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17903 (flyspell-get-word, flyspell-large-region)
17904 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17906 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17908 * Makefile.in (ELCFILES): Add ede/shell.
17910 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17912 * term/common-win.el (x-colors): Purecopy it.
17914 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17916 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17917 permissive for when the buffer is empty.
17918 (tar-header-block-tokenize): Decode the username and groupname.
17919 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17921 2009-10-17 Eric Ludlam <zappo@gnu.org>
17923 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17924 contains multibyte characters, choose first applicable coding
17925 system automatically.
17927 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17929 * international/mule-cmds.el (select-safe-coding-system): If the file
17930 has a coding cookie, use it regardless of any other setting (bug#4712).
17932 2009-10-17 Glenn Morris <rgm@gnu.org>
17934 * foldout.el (foldout-mouse-swallow-events):
17935 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17937 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17938 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17939 (dired-keep-marker-symlink, dired-dwim-target)
17940 (dired-copy-preserve-time): Do not autoload these defcustoms.
17942 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17943 messages from messing up the file coding. (Bug#4623)
17945 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17947 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17948 if no match is found for the current dictionary. (Bug#4578)
17950 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17951 optional, since that is how it is documented, and this is often called
17952 with a nil argument. (Bug#4577)
17953 (flyspell-external-point-words, flyspell-auto-correct-word)
17954 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17955 (flyspell-word-search-backward): Remove nil argument in calls to
17956 flyspell-get-word, since it is not needed now.
17958 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17960 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17962 2009-10-16 Glenn Morris <rgm@gnu.org>
17964 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17966 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17968 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17969 (ange-ftp-file-size): New function.
17970 (ange-ftp-file-attributes): Use it.
17972 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17974 * net/tramp-smb.el (tramp-smb-version): New defvar.
17975 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17978 2009-10-16 Glenn Morris <rgm@gnu.org>
17980 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17981 Maybe copy some custom properties from old to new name. (Bug#4706)
17983 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17985 * subr.el (error, sit-for, start-process-shell-command)
17986 (start-file-process-shell-command): Set the calling convention
17987 after the function definition.
17989 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17991 * subr.el (error, sit-for, start-process-shell-command)
17992 (start-file-process-shell-command): Use the new
17993 set-advertised-calling-convention feature.
17995 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17997 * international/ucs-normalize.el (ucs-normalize-version):
17999 (check-range): Adjust for Unicode 5.2.
18001 2009-10-15 Juri Linkov <juri@jurta.org>
18003 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18004 to the `menu-item' format.
18006 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18008 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18009 if the environment variable does not exist.
18011 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18012 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18014 (tramp-smb-handle-add-name-to-file)
18015 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18016 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18017 (tramp-smb-handle-file-attributes)
18018 (tramp-smb-do-file-attributes-with-stat)
18019 (tramp-smb-handle-file-local-copy)
18020 (tramp-smb-handle-insert-directory)
18021 (tramp-smb-handle-make-directory)
18022 (tramp-smb-handle-make-directory-internal)
18023 (tramp-smb-handle-make-symbolic-link)
18024 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18025 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18026 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18027 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18028 Handle long file names.
18029 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18030 process is running.
18031 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18032 Read share names with "-g" option.
18034 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18036 * net/rcirc.el (rcirc-view-log-file): New command.
18037 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18038 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18041 2009-10-15 Glenn Morris <rgm@gnu.org>
18043 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18044 from the second command-line argument.
18045 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18046 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18047 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18048 w32-batch-update-autoloads.
18049 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18050 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18052 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18053 the headers cannot be located. Simplify, subtracting superflous
18056 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18058 Replace completion-base-size by completion-base-position to fix bugs
18059 such as (bug#4699).
18060 * simple.el (completion-base-position): New var.
18061 (completion-base-size): Mark as obsolete.
18062 (choose-completion): Make it work for mouse events as well.
18063 Pass the new base-position to choose-completion-string.
18064 (choose-completion-guess-base-position): New function, extracted from
18065 choose-completion-delete-max-match.
18066 (choose-completion-delete-max-match): Use it. Make obsolete.
18067 (choose-completion-string): Use the new base-position info.
18068 (completion-root-regexp): Delete.
18069 (completion-setup-function): Preserve completion-base-position.
18070 Eliminate obsolete base-size manipulation.
18071 * minibuffer.el (display-completion-list): Don't mess with base-size.
18072 (minibuffer-completion-help): Set completion-base-position instead.
18073 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18075 * textmodes/bibtex.el (bibtex-complete):
18076 * emacs-lisp/crm.el (crm--choose-completion-string):
18077 Adjust to new calling convention.
18078 * complete.el (partial-completion-mode): Use minibufferp to avoid
18079 bumping into incompatible change to choose-completion-string-functions.
18080 * ido.el (ido-choose-completion-string): Make its calling convention
18082 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18083 base-size manipulation.
18084 (comint-dynamic-list-input-ring): Use dotimes and push.
18085 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18086 fundamental-mode. Use `or'.
18088 2009-10-14 Juri Linkov <juri@jurta.org>
18090 * misearch.el (multi-isearch-next-buffer-from-list)
18091 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18093 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18095 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18098 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18099 string we return is all made up of text from the completions rather
18100 than part from the completions and part from the input (bug#4219).
18102 * ido.el (ido-everywhere): Use define-minor-mode.
18104 * buff-menu.el (list-buffers, ctl-x-map):
18105 Mark the entry points with ;;;###autoload cookies.
18107 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18109 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18110 correctly in the detached head case.
18111 (vc-git-print-log): Remove unused binding.
18113 * vc.el (vc-responsible-backend): When a directory is passed for
18114 for registration create a VC repository if no backend is
18115 responsible for the directory argument.
18116 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18118 * vc.el: Move comments about RCS and SCCS ...
18120 * vc-sccs.el: ... here, respectively.
18122 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18124 * minibuffer.el (completion--file-name-table): Return nil if there's
18125 no file completion, even if substitute-in-file-name changed
18126 the string (bug#4708).
18128 2009-10-13 Juri Linkov <juri@jurta.org>
18130 * files-x.el (read-file-local-variable-value): Don't filter out
18131 minor modes from mode name completion (bug#4664).
18133 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18135 * international/mule-cmds.el (ucs-names): Remove exclusion of
18136 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18138 2009-10-13 Kenichi Handa <handa@m17n.org>
18140 * international/uni-name.el: Regenerated.
18142 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18144 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18145 should be automatically buffer-local, but isn't.)
18147 2009-10-12 Sam Steingold <sds@gnu.org>
18149 * progmodes/compile.el (compilation-next-error-function): Fix the
18150 timestamps if the buffer has been visited before.
18151 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18152 non-anchored patterns, like the perl one (bug#3928).
18154 2009-10-12 Glenn Morris <rgm@gnu.org>
18156 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18159 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18161 * proced.el (proced-unload-function): New function.
18163 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18164 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18167 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18169 2009-10-11 Juri Linkov <juri@jurta.org>
18171 * files-x.el (read-file-local-variable-value):
18172 Provide default value only for bound variables (bug#4664).
18174 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18176 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18177 connection methods like smb.
18179 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18182 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18183 (tramp-smb-file-name-handler-alist): Add handlers for
18184 `add-name-to-file', `make-symbolic-link'.
18185 (tramp-smb-handle-add-name-to-file)
18186 (tramp-smb-do-file-attributes-with-stat)
18187 (tramp-smb-handle-make-symbolic-link)
18188 (tramp-smb-get-cifs-capabilities): New defuns.
18189 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18190 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18191 (tramp-smb-handle-file-local-copy)
18192 (tramp-smb-handle-make-directory-internal)
18193 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18194 The file name syntax depends on cifs capabilities.
18195 (tramp-smb-handle-file-attributes):
18196 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18197 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18198 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18200 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18202 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18203 (eieio-defclass): Apply deftype handler and setf-method properties
18205 (eieio-add-new-slot): Avoid union function from cl library.
18206 (eieio--typep): New function.
18207 (eieio-perform-slot-validation): Use it.
18209 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18211 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18212 Update documentation to refer to the variables documented in r1.135.
18215 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18217 * bookmark.el (Info-suffix-list): Remove this unused variable.
18218 (bookmark-current-point): Remove this obsolete variable.
18219 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18220 Adjust for removal of bookmark-current-point.
18222 (bookmarks-already-loaded, bookmark-current-buffer)
18223 (bookmark-yank-point): Document. (Bug#4188)
18225 2009-10-10 Glenn Morris <rgm@gnu.org>
18227 * frame.el (frame-height): Doc fix.
18229 * calendar/calendar.el (calendar-split-width-threshold): New option.
18230 (calendar-basic-setup): Use calendar-split-width-threshold.
18232 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18234 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18235 Ideographic Supplement" range (U+1F200..U+1F2FF).
18237 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18239 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18240 since the list will have been rebuilt anyway. (Bug#4349)
18242 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18244 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18245 (bookmark-bmenu-execute-deletions): Don't save here, as
18246 bookmark-delete will now do so if necessary.
18247 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18250 2009-10-09 Glenn Morris <rgm@gnu.org>
18252 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18254 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18256 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18257 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18258 argument now, so the two function's behaviors will match. (Bug#3645)
18260 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18262 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18263 (tramp-file-name-real-host, tramp-file-name-port):
18264 Apply `save-match-data'.
18266 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18267 case both directories are remote.
18268 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18269 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18271 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18273 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18275 2009-10-07 Glenn Morris <rgm@gnu.org>
18277 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18280 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18282 * files-x.el (read-file-local-variable): Include some
18283 non-user-variables in the completion table (bug#4664).
18285 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18287 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18290 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18291 (tramp-smb-file-name-handler-alist): Add handler for
18292 `copy-directory', `expand-file-name', `set-file-modes'.
18293 (tramp-smb-handle-copy-directory)
18294 (tramp-smb-handle-expand-file-name)
18295 (tramp-smb-handle-set-file-modes): New defuns.
18296 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18297 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18299 (tramp-smb-handle-insert-directory): Don't flush the cache.
18300 (tramp-smb-maybe-open-connection): Check for samba client and
18303 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18305 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18306 to not error out of search for "^lisp=" fails.
18308 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18310 * makefile.w32-in (WINS_UPDATES): New macro.
18311 (custom-deps, finder-data, autoloads): Use it.
18313 2009-10-07 Glenn Morris <rgm@gnu.org>
18315 * Makefile.in (autoloads): Revert previous change.
18316 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18317 the list of preloaded files passed on the command-line, get
18318 it from src/Makefile.
18320 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18321 show the original buffer rather than a random one.
18323 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18325 * help.el (describe-no-warranty): Place point in a slightly better
18326 position in the GPLv3 text.
18328 2009-10-06 Sam Steingold <sds@gnu.org>
18330 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18331 the comm attribute is present before calling regexp-quote.
18333 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18335 * play/animate.el (animate-string): For good effect, make sure
18336 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18338 * play/animate.el (animate-sequence, animate-birthday-present):
18339 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18341 2009-10-06 Glenn Morris <rgm@gnu.org>
18343 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18345 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18346 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18347 (batch-update-autoloads): Process a string value of autoload-excludes,
18348 set during the build process.
18349 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18351 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18352 inside with-parsed... macro so that `v' is defined.
18354 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18355 * progmodes/fortran.el (fortran-end-of-block)
18356 (fortran-beginning-of-block):
18357 Also push mark in the macro case.
18359 * emerge.el (emerge-show-file-name):
18360 * calc/calc.el (calc-quit):
18361 * calc/calc-misc.el (calc-big-or-small):
18362 * calc/calc-graph.el (calc-graph-view):
18363 * calc/calc-ext.el (calc-reset):
18364 * calendar/calendar.el (calendar-basic-setup):
18365 Use window-full-height-p.
18367 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18368 header we don't understand, don't insert another. (Bug#4624)
18369 If changing mime charset, insert the new one in the right place.
18371 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18373 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18374 (cal-tex-cursor-month): Correctly increment the end date for diary and
18375 holiday listing. (Bug#4626)
18377 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18379 * help-fns.el (describe-function-1): Don't burp if the function is not
18382 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18384 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18385 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18386 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18387 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18389 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18390 (eieio-default-superclass): Reflow docstrings.
18391 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18392 (eieio-unbind-method-implementations, defmethod)
18393 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18394 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18395 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18396 (eieio-slot-originating-class-p, eieio-slot-name-index)
18397 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18398 (constructor, initialize-instance, no-next-method, object-print)
18399 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18400 Fix typos in docstrings.
18401 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18402 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18403 (next-method-p): Doc fixes.
18404 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18405 Fix typos in error messages.
18406 (eieio-defmethod): Fix typo in description of generic method.
18408 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18409 (eieio-persistent-save-interactive, slot-missing):
18410 Fix typos in docstrings.
18411 (eieio-instance-inheritor-slot-boundp): Doc fix.
18413 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18414 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18416 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18417 (eieio-custom-object-apply-reset):
18418 Fix typos in docstrings and error messages.
18420 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18421 Fix typo in docstring.
18423 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18424 (eieio-browse-tree): Doc fix.
18425 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18426 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18427 Fix typos in docstrings.
18429 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18430 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18431 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18432 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18435 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18437 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18438 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18439 Set log-view-vc-backend so that diff can work.
18441 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18443 (vc-diff-internal): Autoload this instead of vc-version-diff.
18445 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18447 * simple.el (eval-expression): Doc fix.
18449 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18451 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18453 * files.el (directory-files-no-dot-files-regexp): New defconst.
18454 (delete-directory): Use it.
18455 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18457 * net/tramp.el (tramp-verbose): Fix docstring.
18458 (tramp-methods): Add recursive option to `tramp-copy-args'.
18459 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18460 "scp1_old", "scp2_old", "rsync", "rsyncc".
18461 (tramp-default-method): Check also for `auth-source-user-or-password'.
18462 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18463 Add handler for `copy-directory'.
18464 (tramp-handle-copy-directory): New defun.
18465 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18466 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18467 Optimize sent command.
18469 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18471 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18472 window if necessary.
18474 * calendar/calendar.el (calendar-basic-setup): Don't call
18475 switch-to-buffer in a dedicated window.
18477 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18479 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18480 don't do anything related to relocating, just return nil.
18481 (bookmark-error-no-filename): New error.
18482 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18483 bookmark has no file. Don't even attempt to handle things that
18484 are not files; the whole point of custom handlers is to keep that
18485 knowledge elsewhere anyway. Tighten some comments.
18486 (bookmark-file-or-variation-thereof): Remove now-unused function.
18487 (bookmark-location): Doc string fix.
18490 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18492 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18493 don't use a file dialog, because they usually don't know how to read
18494 a directory target from the user. (Bug#4230)
18495 Also, make sure the prompt can display directories as well as files.
18497 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18499 * bookmark.el (bookmark-set, bookmark-buffer-name):
18500 Improve doc strings. (Bug#1193)
18502 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18504 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18505 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18506 (bookmark-get-annotation, bookmark-set-annotation)
18507 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18508 (bookmark-set-position, bookmark-get-front-context-string)
18509 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18510 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18511 (bookmark-jump-other-window, bookmark-handle-bookmark)
18512 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18513 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18514 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18515 Improve doc strings to say whether bookmark can be a string or
18516 a record or both, and make other consistency and clarity fixes.
18517 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18518 (bookmark-default-annotation-text, bookmark-yank-word)
18519 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18520 (bookmark-import-new-list, bookmark-maybe-rename)
18521 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18522 (bookmark-bmenu-bookmark): Give these doc strings.
18523 (bookmark-bmenu-check-position): Give this a doc string, but also
18524 add a FIXME comment about how the function may be pointless.
18525 (bookmark-default-handler): Rework doc string and change a
18526 parameter name, to clarify that this takes a bookmark record
18527 not a bookmark name.
18528 (bookmark-set): Change a parameter name to indicate its meaning,
18529 and improve the doc string a bit.
18532 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18534 * bookmark.el (bookmark-alist): Document the new `handler' element
18535 in the param alist.
18536 (bookmark-make-record-function): Adjust documentation for above.
18539 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18541 * info.el (Info-bookmark-make-record): Document this function.
18542 (Info-bookmark-jump): Document with a doc string, not just a comment.
18545 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18547 * files.el (copy-directory): New defun.
18549 * dired-aux.el (dired-copy-file-recursive): Use it.
18551 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18553 * files-x.el (modify-dir-local-variable)
18554 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18557 * recentf.el (recentf-unload-function): New function.
18559 2009-10-04 Glenn Morris <rgm@gnu.org>
18561 * window.el (window-full-height-p): Add doc string.
18563 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18565 * window.el (window-full-height-p): New function. (Bug#4543)
18567 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18569 * vc.el: Remove commented out code.
18570 (vc-derived-from-dir-mode): Remove, unused.
18571 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18573 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18575 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18576 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18577 there could be recursive loading when `default-directory' is a
18578 remote file name. (Bug#4614)
18580 2009-10-03 Glenn Morris <rgm@gnu.org>
18582 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18584 (calendar-generate-window): Test for shrinkability rather than width.
18586 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18587 reusing existing buffers, in case we happen to visit two files with the
18588 same basename. (Bug#4593)
18590 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18592 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18593 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18594 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18595 subdirs of cedet as well.
18596 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18598 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18600 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18601 Obey advertised-signature-table.
18603 * help-fns.el (help-function-arglist): Don't check
18604 advertised-signature-table.
18605 (describe-function-1): Do it here instead so it also applies to subrs.
18607 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18609 * simple.el (start-file-process): Say in the doc-string, that file
18610 handlers might not support pty association, if PROGRAM is nil.
18612 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18613 HOST and USER are strings. They are nil, when there are
18614 incomplete entries in ~/.netrc, for example.
18615 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18616 root directory ("device busy" error otherwise).
18618 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18619 Flush file properties of created directory.
18621 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18623 * makefile.w32-in (WINS_BASIC): Remove cedet.
18624 (WINS_CEDET): Add cedet.
18625 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18627 2009-10-02 Kevin Ryde <user42@zip.com.au>
18629 * net/browse-url.el (browse-url): Pass any symbol in
18630 browse-url-browser-function to `apply', since if you've mistakenly put
18631 an unbound symbol then the error is clearer. (Bug#4531)
18633 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18635 * allout.el (allout-init, allout-back-to-current-heading)
18636 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18637 (allout-ascend, allout-up-current-level, allout-end-of-level)
18638 (allout-previous-visible-heading, allout-forward-current-level)
18639 (allout-backward-current-level, allout-show-children):
18640 * apropos.el (apropos-describe-plist):
18641 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18642 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18643 * completion.el (add-completion, add-permanent-completion):
18644 * descr-text.el (describe-text-category, describe-char):
18645 * desktop.el (desktop-lazy-abort):
18646 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18647 * dired.el (dired-build-subdir-alist):
18648 * ediff.el (ediff-version):
18649 * elide-head.el (elide-head, elide-head-show):
18650 * emerge.el (emerge-version):
18652 * face-remap.el (variable-pitch-mode):
18653 * faces.el (describe-face):
18654 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18656 * files.el (find-file-existing, auto-save-mode):
18657 * font-lock.el (font-lock-fontify-buffer):
18658 * help-fns.el (describe-function, describe-variable)
18659 (describe-syntax, describe-categories):
18660 * help.el (view-lossage, describe-bindings, describe-key)
18662 * hexl.el (hexl-current-address):
18663 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18664 * info.el (Info-goto-emacs-key-command-node):
18665 * log-edit.el (log-edit-insert-cvs-template)
18666 (log-edit-insert-cvs-rcstemplate):
18667 * menu-bar.el (menu-bar-mode):
18668 * mouse.el (mouse-appearance-menu):
18669 * newcomment.el (comment-indent-new-line):
18670 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18671 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18672 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18673 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18674 * recentf.el (recentf-mode):
18675 * savehist.el (savehist-mode, savehist-save):
18676 * shadowfile.el (shadow-copy-files):
18677 * simple.el (kill-ring-save, next-line, previous-line)
18678 (normal-erase-is-backspace-mode):
18679 * strokes.el (strokes-update-window-configuration)
18680 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18681 (strokes-xpm-for-stroke):
18682 * time.el (emacs-uptime, emacs-init-time):
18683 * tutorial.el (tutorial--describe-nonstandard-key)
18684 (tutorial--detailed-help):
18685 * type-break.el (type-break-mode)
18686 (type-break-mode-line-message-mode, type-break-query-mode)
18687 (type-break-guesstimate-keystroke-threshold):
18688 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18689 * version.el (emacs-version):
18690 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18691 * winner.el (winner-mode):
18692 * calendar/timeclock.el (timeclock-in, timeclock-out)
18693 (timeclock-status-string, timeclock-change)
18694 (timeclock-workday-remaining-string)
18695 (timeclock-workday-elapsed-string)
18696 (timeclock-when-to-leave-string):
18697 * calendar/todo-mode.el (todo-add-category):
18698 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18699 * emacs-lisp/autoload.el (update-file-autoloads):
18700 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18701 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18702 (checkdoc-message-text, checkdoc-defun):
18703 * emacs-lisp/debug.el (debugger-list-functions):
18704 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18705 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18706 (eieio-describe-generic):
18707 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18708 * emacs-lisp/shadow.el (list-load-path-shadows):
18709 * emulation/cua-base.el (cua-mode):
18710 * emulation/edt.el (edt-set-scroll-margins):
18711 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18712 (tpu-toggle-regexp, tpu-toggle-search-direction)
18713 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18714 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18715 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18716 (viper-set-parsing-style-toggling-macro)
18717 (viper-set-emacs-state-searchstyle-macros):
18718 * emulation/viper.el (viper-set-hooks):
18719 * eshell/esh-mode.el (eshell-truncate-buffer):
18720 * international/mule-cmds.el (prefer-coding-system)
18721 (describe-input-method, describe-language-environment):
18722 * international/mule-diag.el (list-character-sets)
18723 (describe-character-set, describe-coding-system)
18724 (describe-fontset, list-fontsets, list-input-methods):
18725 * mail/sendmail.el (mail-signature):
18726 * net/ange-ftp.el (ange-ftp-copy-file):
18727 * net/browse-url.el (browse-url):
18728 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18729 * net/quickurl.el (quickurl-add-url):
18730 * net/rcirc.el (names, topic):
18731 * net/xesam.el (xesam-mode):
18732 * play/5x5.el (5x5-new-game):
18733 * play/yow.el (apropos-zippy):
18734 * progmodes/ada-mode.el (ada-mode-version):
18735 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18737 (f90-beginning-of-block):
18738 * progmodes/fortran.el (fortran-end-of-block)
18739 (fortran-beginning-of-block):
18740 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18741 * progmodes/python.el (python-describe-symbol, python-shell):
18742 * term/ns-win.el (ns-print-buffer):
18743 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18744 * textmodes/flyspell.el (flyspell-mode-on):
18745 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18746 (pages-directory-for-addresses):
18747 * textmodes/table.el (table-recognize-cell)
18748 (table-query-dimension, table-generate-source)
18749 (table-insert-sequence, table--warn-incompatibility):
18750 * textmodes/tex-mode.el (tex-validate-buffer):
18751 * textmodes/texinfmt.el (texinfmt-version)
18752 (texinfo-format-buffer):
18753 Use `called-interactively-p' instead of `interactive-p'.
18755 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18757 * image-mode.el (image-toggle-display):
18758 * emacs-lisp/elp.el (elp-instrument-function):
18759 * emacs-lisp/advice.el (ad-make-advised-definition):
18760 * emacs-lisp/easy-mmode.el (define-minor-mode):
18761 * net/browse-url.el (browse-url-maybe-new-window):
18762 * progmodes/sh-script.el (sh-learn-buffer-indent):
18763 Pass new argument 'any to `called-interactively-p'.
18765 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18767 * international/uni-bidi.el:
18768 * international/uni-category.el:
18769 * international/uni-combining.el:
18770 * international/uni-comment.el:
18771 * international/uni-decimal.el:
18772 * international/uni-decomposition.el:
18773 * international/uni-digit.el:
18774 * international/uni-lowercase.el:
18775 * international/uni-mirrored.el:
18776 * international/uni-name.el:
18777 * international/uni-numeric.el:
18778 * international/uni-old-name.el:
18779 * international/uni-titlecase.el:
18780 * international/uni-uppercase.el:
18781 Regenerate from Unicode 5.2.0 data.
18783 2009-10-01 Glenn Morris <rgm@gnu.org>
18785 * Makefile.in (ELCFILES): Regenerate.
18787 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18789 * subr.el (interactive-p): Mark obsolete.
18790 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18791 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18792 advertised-signature-table for subroutines as well.
18794 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18795 (set-advertised-calling-convention): New function.
18796 (make-obsolete, define-obsolete-function-alias)
18797 (make-obsolete-variable, define-obsolete-variable-alias):
18798 Make the optional-ness of `when' obsolete.
18799 (define-obsolete-face-alias): Make `when' non-optional.
18800 * help-fns.el (help-function-arglist):
18801 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18802 Use advertised-signature-table.
18804 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18806 * files.el (delete-directory): New defun. The original function
18807 in fileio.c has been renamed to `delete-directory-internal'.
18809 * dired.el (dired-delete-file): Call `delete-directory' with
18810 RECURSIVE parameter.
18812 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18813 parameter RECURSIVE. Implementation is missing.
18815 * net/tramp.el (tramp-handle-make-directory): Flush upper
18816 directory's file properties.
18817 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18818 (tramp-handle-dired-recursive-delete-directory): Flush directory
18819 properties after the remove command only.
18821 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18822 Handle optional parameter RECURSIVE.
18824 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18825 Handle optional parameter RECURSIVE.
18827 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18828 connection timeout.
18829 (tramp-smb-handle-delete-directory): Handle optional parameter
18832 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18834 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18835 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18836 (byte-compile-defmacro): Use backquotes.
18838 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18840 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18841 has no associated file.
18842 (vc-resynch-buffer): Use vc-dir-buffers.
18844 2009-10-01 Glenn Morris <rgm@gnu.org>
18846 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18847 (chart-file-count):
18848 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18849 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18850 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18851 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18852 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18853 (eieio-copy-parents-into-subclass, make-instance, class-children)
18854 (eieio-generic-form):
18856 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18857 match-data. (Bug#4555).
18859 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18860 rather than parsing it as a regexp. This relaxes the layout
18861 requirements and makes errors easier to detect.
18862 (check-declare-verify): Check file is regular.
18863 (check-declare-directory): Doc fix.
18864 * subr.el (declare-function): Doc fix.
18866 * ibuffer.el (ibuffer-format-qualifier):
18867 * isearch.el (hi-lock-regexp-okay):
18868 * calc/calc.el (math-zerop):
18869 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18870 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18871 Remove unused declarations.
18873 2009-09-30 Eric Ludlam <zappo@gnu.org>
18875 * emacs-lisp/eieio.el (boolean-p): Delete.
18877 2009-09-30 Glenn Morris <rgm@gnu.org>
18879 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18881 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18882 filename is not a string.
18884 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18886 * files.el (safe-local-eval-forms): Fix typo.
18888 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18890 * vc-hooks.el (vc-dir-buffers): New var.
18891 (vc-state-refresh): New function.
18892 (vc-state): Use it.
18893 (vc-after-save): Always ask the backend to recompute the new state.
18894 Always call vc-dir if necessary, using vc-dir-buffers.
18895 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18896 Use vc-dir-buffers.
18897 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18898 (vc-dir-prepare-status-buffer, vc-dir-update)
18899 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18900 Don't call expand-file-name on default-directory.
18902 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18904 * speedbar.el (speedbar-item-delete):
18905 * calc/calc-prog.el (calc-kbd-if):
18906 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18908 * epa.el (epa-key-list-mode-map):
18909 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18911 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18912 (hs-show-hook): Fix typo in docstring.
18914 2009-09-29 Glenn Morris <rgm@gnu.org>
18916 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18917 file-name-nondirectory call preventing location of cedet files.
18918 (check-declare-verify): Use literal search rather than re-search.
18919 Add basic defmethod and defclass, and define-overloadable-function.
18921 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18922 Use tramp-compat-file-attributes rather than nonexistent
18923 tramp-compat-handle-file-attributes.
18925 * Makefile.in (lisptagsfiles4): New.
18926 (AUTOGENEL): Add cedet loaddefs files.
18927 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18928 (update-elclist, compile-always, backup-compiled-files)
18929 (bootstrap-clean): Add yet another directory level.
18930 (update-elclist): Use LC_COLLATE rather than COLLATE.
18931 (ELCFILES): Update, via `make update-elclist'.
18933 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18935 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18936 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18937 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18939 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18941 * Makefile.in (lisptagsfiles3): Define.
18942 (TAGS, TAGS-LISP): Use it.
18943 (update-elclist): Add third directory level to look for elc files.
18944 (compile-always): Likewise.
18945 (backup-compiled-files): Likewise.
18946 (bootstrap-clean): Likewise.
18947 (ELCFILES): Update.
18949 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18951 * Makefile.in (ELCFILES): Add CEDET files.
18953 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18955 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18957 * net/tramp.el (top): Require tramp-imap.
18959 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18960 Use `tramp-compat-handle-file-attributes'.
18962 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18964 * net/tramp-imap.el: New package.
18966 2009-09-28 Eric Ludlam <zappo@gnu.org>
18968 * emacs-lisp/chart.el:
18969 * emacs-lisp/eieio-base.el:
18970 * emacs-lisp/eieio-comp.el:
18971 * emacs-lisp/eieio-custom.el:
18972 * emacs-lisp/eieio-datadebug.el:
18973 * emacs-lisp/eieio-opt.el:
18974 * emacs-lisp/eieio-speedbar.el:
18975 * emacs-lisp/eieio.el: New files.
18977 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18979 * whitespace.el (whitespace-trailing-regexp)
18980 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18983 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18985 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18988 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18989 menu-bar-ediff-menu.
18991 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18992 define-overloadable-function.
18994 * progmodes/autoconf.el: Provide autoconf as well, so that this
18995 file can be `require'd.
18997 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18999 * emacs-lisp/autoload.el (generated-autoload-feature)
19000 (generated-autoload-load-name): New vars.
19001 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19002 (make-autoload): Recognize define-overloadable-function and
19003 defclass forms (for EIEIO).
19005 * Makefile.in (update-subdirs): Exclude cedet directory.
19007 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19009 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19011 * faces.el: Default light-background background for region face to
19012 ns_selection_color under NS.
19014 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19016 * net/imap-hash.el: New library, see NEWS.
19018 * Makefile.in (ELCFILES): Add imap-hash.el.
19020 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19022 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19023 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19024 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19025 definition where the docstring could be taken for the return value.
19027 2009-09-26 Glenn Morris <rgm@gnu.org>
19029 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19030 Add option to only show images below a certain size.
19031 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19032 save-excursion calls.
19034 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19036 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19037 subdirectories) and eieio.
19039 2009-09-26 Alan Mackenzie <acm@muc.de>
19041 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19042 Correct buggy bracketing. (Bug#4289)
19044 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19045 character constants (as case labels). (Bug#4289)
19047 2009-09-25 Juri Linkov <juri@jurta.org>
19049 * files.el (safe-local-eval-forms): Allow time-stamp in
19050 before-save-hook (Bug#4554).
19052 2009-09-25 Drew Adams <drew.adams@oracle.com>
19054 * menu-bar.el (list-buffers-directory): Doc fix.
19056 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19058 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19059 Try and avoid copying twice the same paragraph.
19060 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19061 Remove save-excursion.
19062 (log-edit-changelog-entry): Do it here instead.
19064 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19066 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19067 when available, instead of hardcoding mode names. Doc fix.
19069 * menu-bar.el (list-buffers-directory): Add docstring.
19070 Make automatically buffer-local.
19072 * dired.el (dired-mode):
19073 * files.el (cd-absolute):
19074 * pcvs.el (cvs-temp-buffer):
19075 * pcvs-util.el (cvs-get-buffer-create):
19076 * shell.el (shell-mode):
19077 * vc-dir.el (vc-dir-mode):
19078 Don't make `list-buffers-directory' buffer local.
19080 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19082 * comint.el (comint-exec, comint-run, make-comint):
19083 Doc fixes (Bug#4542).
19085 2009-09-25 Glenn Morris <rgm@gnu.org>
19087 * mail/rmailmm.el (rmail-mime): New custom group.
19088 Move all defcustoms in this file into this group.
19089 (rmail-mime-media-type-handlers-alist): Revert previous change.
19090 (rmail-mime-show-images): New option.
19091 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19092 references to it, since it wasn't actually used for anything.
19093 (rmail-mime-insert-image): New function.
19094 (rmail-mime-image): Use rmail-mime-insert-image.
19095 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19096 obey the value of `rmail-mime-show-images' option. Print the size of
19099 2009-09-25 David Engster <deng@randomsample.de>
19101 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19103 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19105 * whitespace.el: Does not highlight trailing spaces While point is
19106 at end of line. Does not highligt spaces at beginning of buffer
19107 while point is at beginning of buffer. Does not highlight spaces
19108 at end of buffer while point is at end of buffer. (Bug#4177)
19110 (whitespace-display-mappings): Adjust initialization.
19111 (whitespace-point, whitespace-font-lock-refontify): New vars.
19112 (whitespace-color-on, whitespace-color-off): Adjust code.
19113 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19114 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19115 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19117 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19119 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19121 * textmodes/sgml-mode.el: Remove xml-mode alias.
19123 * files.el (auto-mode-alist, conf-mode-maybe)
19124 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19126 2009-09-24 Alan Mackenzie <acm@muc.de>
19128 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19129 c-forward-conditionals, but it doesn't move point and doesn't set
19131 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19132 (c-down-conditional-with-else, c-backward-conditional)
19133 (c-forward-conditional): Refactor to use c-scan-conditionals.
19135 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19137 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19138 (help-default-arg-highlight): Remove.
19139 (help-highlight-arg): New function.
19140 (help-do-arg-highlight): Use it.
19141 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19143 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19145 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19146 Undo last change, which didn't fix the problem and introduced others.
19148 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19150 * progmodes/gdb-mi.el: Don't require speedbar.
19151 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19153 2009-09-24 Glenn Morris <rgm@gnu.org>
19155 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19157 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19159 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19160 there is no newline after the final mime boundary. (Bug#4539)
19161 Move markers on insertion so that any buttons inserted don't end up in
19162 the next part of a multipart message.
19163 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19164 (rmail-mime-bulk-handler): Optionally handle images.
19165 (rmail-mime-image): New button action.
19166 (rmail-mime-image-handler): New function.
19167 (rmail-mime-mode): New mode.
19168 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19170 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19172 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19173 than just dropping elements from it (bug#4504).
19175 * term.el (term-set-scroll-region): Don't move cursor any more.
19176 (term-handle-ansi-escape): Call term-goto here instead.
19177 Suggested by Ivan Kanis <apple@kanis.eu>.
19179 * term.el: Require CL.
19180 (term-ansi-reset): New function.
19181 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19182 (term-handle-colors-array): Simplify.
19184 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19186 * allout.el (allout-overlay-interior-modification-handler)
19187 (allout-obtain-passphrase):
19188 * epa-file.el (epa-file-write-region):
19189 * ps-print.el (ps-begin-job):
19190 * vc-hooks.el (vc-toggle-read-only):
19191 * vc-rcs.el (vc-rcs-rollback):
19192 * vc-sccs.el (vc-sccs-rollback):
19193 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19194 (vc-version-diff, vc-revert, vc-rollback):
19195 * wdired.el (wdired-check-kill-buffer):
19196 * emacs-lisp/authors.el (authors):
19197 * net/socks.el (socks-open-connection):
19198 * net/zeroconf.el (zeroconf-service-add-hook):
19199 * obsolete/vc-mcvs.el (vc-mcvs-register):
19200 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19201 (gdb-select-frame):
19202 * progmodes/grep.el (lgrep, rgrep):
19203 * progmodes/idlw-help.el (idlwave-help-check-locations)
19204 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19205 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19206 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19207 (reftex-toc-rename-label): Fix typos in error messages.
19209 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19210 (dired-copy-how-to-fn): Doc fix.
19211 (dired-files-attributes, dired-read-shell-command):
19212 Fix typos in docstrings.
19214 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19215 (dired-x-find-file-other-window): Reflow docstrings.
19216 (dired-omit-marker-char, dired-read-shell-command)
19217 (dired-x-submit-report): Fix typos in docstrings.
19219 * shell.el (shell-mode-hook):
19220 * view.el (View-scroll-line-forward):
19221 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19222 Fix typos in docstrings.
19224 * net/dig.el (dig-invoke): Fix typo in docstring.
19225 (query-dig): Reflow docstring.
19227 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19228 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19229 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19230 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19231 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19232 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19233 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19234 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19235 (idlwave-completion-map, idlwave-current-indent)
19236 (idlwave-custom-ampersand-surround, idlwave-customize)
19237 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19238 (idlwave-define-abbrev, idlwave-determine-class-special)
19239 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19240 (idlwave-end-block-reg, idlwave-end-of-statement)
19241 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19242 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19243 (idlwave-explicit-class-listed, idlwave-file-header)
19244 (idlwave-fill-paragraph, idlwave-find-class-definition)
19245 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19246 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19247 (idlwave-in-quote, idlwave-indent-action-table)
19248 (idlwave-indent-expand-table, idlwave-indent-line)
19249 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19250 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19251 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19252 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19253 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19254 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19255 (idlwave-outlawed-buffers, idlwave-popup-select)
19256 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19257 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19258 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19259 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19260 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19261 (idlwave-statement-type, idlwave-struct-skip)
19262 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19263 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19264 (idlwave-what-module-find-class): Fix typos in docstrings.
19265 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19266 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19267 (idlwave-find-module, idlwave-find-structure-definition)
19268 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19269 (idlwave-list-load-path-shadows, idlwave-next-statement)
19270 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19271 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19272 (idlwave-template): Reflow docstrings.
19274 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19275 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19276 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19277 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19278 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19279 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19280 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19281 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19282 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19283 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19284 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19285 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19286 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19287 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19288 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19289 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19290 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19291 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19292 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19293 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19294 Fix typos in docstrings.
19295 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19296 (idlwave-shell-hide-output, idlwave-shell-mode)
19297 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19300 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19302 2009-09-24 Ivan Kanis <apple@kanis.eu>
19304 * term.el (term-bold-attribute): New var.
19305 (term-handle-colors-array): Use it.
19307 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19309 * progmodes/gdb-mi.el (gdb-version): New variable.
19310 (gdb-non-stop-handler): Set gdb-version.
19311 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19312 Condition "--thread" option on gdb-version.
19313 (gdb-invalidate-threads): Remove unused argument.
19315 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19317 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19318 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19320 2009-09-23 Glenn Morris <rgm@gnu.org>
19322 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19323 replying to mail without References or Message-Id. (Bug#4525)
19325 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19327 * term/ns-win.el (ns-reg-to-script): New variable.
19329 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19331 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19333 2009-09-22 Sam Steingold <sds@gnu.org>
19335 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19336 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19337 to 1 because hg returns status 1 when nothing is found.
19338 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19340 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19342 * textmodes/fill.el: Convert to utf-8 encoding.
19343 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19346 * add-log.el (change-log-fill-forward-paragraph): New function.
19347 (change-log-mode): Use it so fill-region DTRT.
19348 Set fill-indent-according-to-mode here rather than in
19349 change-log-fill-paragraph.
19350 (change-log-fill-paragraph): Remove.
19352 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19354 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19355 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19357 2009-09-22 Glenn Morris <rgm@gnu.org>
19359 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19360 the scroll-bar scroll the calendar window rather than the buffer.
19362 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19363 commands that move point (as opposed to scrolling).
19365 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19367 * emacs-lisp/elint.el (elint): New custom group.
19368 (elint-log-buffer): Make it a defcustom.
19369 (elint-scan-preloaded, elint-ignored-warnings)
19370 (elint-directory-skip-re): New options.
19371 (elint-builtin-variables): Doc fix.
19372 (elint-preloaded-env): New variable.
19373 (elint-unknown-builtin-args): Add an entry for encode-time.
19374 (elint-extra-errors): Make it a variable rather than a constant.
19375 (elint-preloaded-skip-re): New constant.
19376 (elint-directory): Skip files matching elint-directory-skip-re.
19377 (elint-features): New variable, local to linted buffers.
19378 (elint-update-env): Initialize elint-features. Possibly add
19379 elint-preloaded-env to the buffer's environment.
19380 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19382 (elint-init-form): New function, extracted from elint-init-env.
19383 Make non-list forms a warning rather than an error.
19384 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19385 easy-menu-define, put that adds an error-condition, and provide.
19386 When requiring cl, also require cl-macs. Really require cl, to handle
19387 some cl macros. Store required libraries in the list elint-features,
19388 so as not to re-load them. Treat cc-require like require.
19389 (elint-init-env): Call elint-init-form to do the work.
19390 Handle eval-and-compile and such like.
19391 (elint-add-required-env): Do not clear messages.
19392 (elint-special-forms): Add handlers for function, defalias, if, when,
19394 (elint-form): Add optional argument to ignore elint-special-forms,
19395 useful to prevent recursive calls from handlers. Doc fix.
19396 Respect elint-ignored-warnings.
19397 (elint-form): Respect elint-ignored-warnings.
19398 (elint-bound-variable, elint-bound-function): New variables.
19399 (elint-unbound-variable): Respect elint-bound-variable.
19400 (elint-get-args): Respect elint-bound-function.
19401 (elint-check-cond-form): Add some simple handling for (f)boundp and
19403 (elint-check-defalias-form): New handler.
19404 (elint-check-let-form): Make an empty let a warning rather than an
19406 (elint-check-setq-form): Make an empty setq a warning rather than an
19407 error. Respect elint-ignored-warnings.
19408 (elint-check-defvar-form): Accept null doc-strings.
19409 (elint-check-conditional-form): New handler. Does some simple-minded
19410 checking of featurep and (f)boundp tests.
19411 (elint-put-function-args): New function.
19412 (elint-initialize): Use elint-scan-doc-file rather than
19413 elint-find-builtin-variables. Use elint-put-function-args.
19414 Possibly scan preloaded-file-list.
19415 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19416 extend to handle functions as well.
19418 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19420 * linum.el (linum-delete-overlays, linum-update-window):
19421 Do not modify the right margin. (Bug#3971)
19423 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19425 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19426 Use nxml-mode instead of xml-mode.
19428 2009-09-21 Kevin Ryde <user42@zip.com.au>
19430 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19432 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19434 * net/dig.el (dig-mode): Use define-derived-mode.
19436 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19438 * vc-dispatcher.el (vc-do-command): Return the process object in
19439 the asynchronous case. Use when instead of if. Do not run
19440 vc-exec-after to display a message if not enabled. (Bug#4463)
19442 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19443 properties to the stash strings.
19444 (vc-git-stash-list): Return a list of strings.
19445 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19446 (vc-git-stash-show-at-point): New functions.
19447 (vc-git-stash-map): New keymap.
19449 * register.el (ctl-x-r-map): Define the keys here instead of
19452 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19454 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19455 list, to workaround performance problem (bug#4485).
19457 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19459 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19461 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19463 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19464 Document that this option is not recommended to use.
19466 2009-09-19 Glenn Morris <rgm@gnu.org>
19468 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19471 * calc/calc-alg.el (var):
19472 * calc/calcalg2.el (var): Define for compiler.
19474 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19476 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19477 Doc fix (Bug#3932).
19479 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19481 * time-stamp.el (time-stamp-month-dd-yyyy)
19482 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19483 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19484 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19485 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19486 Remove functions that have been obsolete since 1995 (Bug#4436).
19488 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19489 indent buffer only if called interactively (Bug#4452).
19491 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19492 Eli Zaretskii <eliz@gnu.org>
19494 This fixes bug#4197 (merged to bug#865, though not identical).
19495 * server.el (server-auth-dir): Add docstring note about FAT32.
19496 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19497 but warn against using them.
19499 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19501 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19502 older GDB where there is no has_more field.
19504 2009-09-19 Glenn Morris <rgm@gnu.org>
19506 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19508 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19510 * files.el (auto-mode-alist): Change default for XML files to nXML
19513 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19515 * server.el (server-ensure-safe-dir): Pass 'integer
19516 to `file-attributes', as suggested.
19518 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19520 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19521 (dired-query): Use read-key.
19523 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19525 * cus-start.el (ns-use-qd-smoothing): Remove.
19527 2009-09-18 Glenn Morris <rgm@gnu.org>
19529 * allout.el (top-level): Remove unnecessary progn.
19531 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19533 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19534 definition of abbrev table.
19536 * speedbar.el (speedbar-track-mouse):
19537 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19538 * net/eudc.el (eudc-expand-inline):
19539 * net/newst-backend.el (newsticker--cache-read-feed):
19540 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19541 condition-case handlers.
19543 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19545 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19546 (gdb-var-list): Add an element for has_more field.
19547 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19548 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19549 (gdb-var-update-handler-1): Parse output of dynamic variable
19550 objects (STL containers).
19551 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19552 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19554 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19556 (gud-speedbar-buttons): Make node expandable if expression "has more"
19559 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19561 * startup.el (emacs-quick-startup): Remove variable and all uses.
19562 (command-line): Set `inhibit-x-resources' instead.
19563 (command-line-1): Use `inhibit-x-resources' instead.
19565 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19567 * subr.el: Fix last change to avoid using the `unless' macro,
19568 which breaks bootstrapping.
19570 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19572 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19573 extended definitions, in case we reload subr.el after having
19575 (eval-next-after-load): Mark as obsolete.
19577 2009-09-17 Juri Linkov <juri@jurta.org>
19579 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19580 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19581 (menu-bar-showhide-menu, menu-bar-tools-menu)
19582 (menu-bar-describe-menu, menu-bar-help-menu)
19583 (minibuffer-local-completion-map, minibuffer-local-map):
19586 2009-09-17 Glenn Morris <rgm@gnu.org>
19588 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19589 arguments, whether or not it has a handler.
19591 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19593 * simple.el (hard-newline): Give it a doc-string.
19595 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19596 (lisp-mode-syntax-table): Give them doc-strings.
19598 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19600 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19601 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19602 (menu-bar-options-menu, menu-bar-showhide-menu)
19603 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19604 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19605 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19606 (menu-bar-options-menu, menu-bar-tools-menu)
19607 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19608 (menu-bar-help-menu):
19609 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19612 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19613 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19614 calls for the menu names and :help.
19616 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19618 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19619 to :minor-mode-function (bug#4455).
19621 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19623 * startup.el (command-line): Initialize the window-system after
19624 processing the command-line.
19626 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19627 page-delimiter matches the empty string.
19629 2009-09-16 Glenn Morris <rgm@gnu.org>
19631 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19632 byte-compile-not-obsolete-var. It's a list now.
19633 (byte-compile-not-obsolete-funcs): New variable.
19634 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19635 byte-compile-not-obsolete-funcs.
19636 (byte-compile-variable-ref, byte-compile-defvar): Update for
19637 byte-compile-not-obsolete-vars name-change and list nature.
19638 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19639 and variables behind (f)boundp tests.
19640 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19642 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19644 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19646 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19648 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19649 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19652 2009-09-15 Stephen Eglen <stephen@gnu.org>
19654 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19655 the virtual-buffers, use the name of the buffer specified by
19656 find-file-noselect, as the match may be a symlink. (This was a
19657 problem if the target and the symlink had different names.)
19659 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19661 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19663 * desktop.el (desktop-path): Check user-emacs-directory.
19665 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19667 * loadup.el: Use after-load-functions to GC after loading each file.
19668 Remove the explicit GC calls that used to be sprinkled around.
19670 * subr.el (after-load-functions): New hook.
19671 (do-after-load-evaluation): Run it. Use string-match-p to detect
19672 `obsolete' packages, rather than painfully extracting the relevant
19675 2009-09-15 Glenn Morris <rgm@gnu.org>
19677 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19678 free variable `doc'.
19680 * dired.el (dired-mode-map): Add menu entry for async shell command.
19682 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19683 variables, also consider the .elc files, since the .el files are
19684 normally gzipped (subsequent code locates the .el.gz from the .elc).
19686 * calc/calc-prog.el (arglist): Define for compiler.
19688 * calendar/diary-lib.el (diary-display-function): Change the default to
19690 (body): Define for compiler.
19692 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19693 (byte-compile-file-form, byte-compile-lambda)
19694 (byte-compile-top-level-body, byte-compile-form)
19695 (byte-compile-variable-ref, byte-compile-setq)
19696 (byte-compile-setq-default, byte-compile-body)
19697 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19698 (batch-byte-compile): Give some more local variables with common names
19699 a "bytecomp-" prefix to avoid masking warnings about free variables.
19701 * startup.el (command-line-1): Give local variables with common names a
19702 distinguishing prefix, so as not to hide free variable warnings during
19705 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19706 clever and add a suffix to make a unique name, just let the user decide
19707 whether or not to overwrite it. If the input is a directory, write the
19708 default filename to that directory. (Bug#4388)
19709 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19710 is a filename-as-a-directory.
19712 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19714 * textmodes/page.el (what-page): Don't move to beginning of line.
19715 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19717 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19719 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19721 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19723 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19724 * help.el (help-for-help-internal): Add purecopy calls for text.
19726 * vc.el (top): print-log method now takes an optional SHORTLOG
19727 argument. Add a new method: root.
19728 (vc-root-diff, vc-print-root-log): New functions.
19729 (vc-log-short-style): New variable.
19730 (vc-print-log-internal): Add support for showing short logs.
19732 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19733 vc-print-root-log and vc-print-root-diff.
19735 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19736 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19737 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19740 * vc-cvs.el (vc-cvs-print-log):
19741 * vc-mtn.el (vc-mtn-print-log):
19742 * vc-rcs.el (vc-rcs-print-log):
19743 * vc-sccs.el (vc-sccs-print-log):
19744 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19745 that is ignored for now.
19747 * vc-mtn.el (vc-mtn-annotate-command):
19748 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19750 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19752 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19753 to function-key-map, and give them ascii-character property.
19754 * term/x-win.el (x-alternatives-map):
19755 * term/ns-win.el (ns-alternatives-map):
19756 * term/internal.el (msdos-key-remapping-map):
19757 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19759 2009-09-14 Glenn Morris <rgm@gnu.org>
19761 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19762 temp-buffers (2009-09-12).
19764 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19766 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19767 the new read-key function.
19769 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19771 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19772 is defined (Bug#4405).
19774 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19776 * recentf.el (recentf-cleanup): Use a hash table to find
19777 duplicates (Bug#4407).
19779 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19781 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19782 kp-0 to ascii equivalents (Bug#4325).
19784 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19786 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19788 * eshell/em-hist.el:
19789 * eshell/em-dirs.el (eshell-complete-user-reference):
19790 Declare pcomplete functions and variables to avoid compiler warnings.
19792 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19794 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19795 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19796 * eshell/em-alias.el (eshell-aliases-file):
19797 * eshell/em-hist.el (eshell-history-file-name):
19798 Use expand-file-name instead of concat to make file names (Bug#4308).
19800 2009-09-13 Glenn Morris <rgm@gnu.org>
19802 * ediff-merg.el (ediff-do-merge):
19803 * filesets.el (filesets-run-cmd):
19804 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19805 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19806 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19807 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19808 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19809 Replace empty `let's with `progn'.
19811 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19813 * mail/sendmail.el (send-mail-function):
19814 * tooltip.el (tooltip-mode):
19815 * simple.el (transient-mark-mode):
19816 * rfn-eshadow.el (file-name-shadow-mode):
19817 * frame.el (blink-cursor-mode):
19818 * font-core.el (global-font-lock-mode):
19819 * files.el (temporary-file-directory)
19820 (small-temporary-file-directory, auto-save-file-name-transforms):
19821 * epa-hook.el (auto-encryption-mode):
19822 * composite.el (global-auto-composition-mode):
19823 Use custom-initialize-delay.
19824 * startup.el (command-line): Don't explicitly call
19825 custom-reevaluate-setting for all the above vars.
19826 * custom.el (custom-initialize-safe-set)
19827 (custom-initialize-safe-default): Delete.
19829 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19831 * term/x-win.el (x-initialize-window-system):
19832 * term/w32-win.el (w32-initialize-window-system):
19833 * term/ns-win.el (ns-initialize-window-system): Don't call
19834 mouse-wheel-mode since it's enabled globally by default already.
19836 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19837 actually define the variable, but only silences the byte-compiler.
19838 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19839 before looking it up.
19840 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19843 2009-09-12 Glenn Morris <rgm@gnu.org>
19845 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19847 (elint-add-required-env): Don't beep on error.
19848 (elint-forms): In case of error, return ENV unchanged.
19849 (elint-init-env): Skip non-list forms.
19850 (elint-log): Handle unknown file positions.
19852 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19854 * epg.el (epg-make-context): Add autoload cookie.
19855 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19856 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19857 (epg-verify-string, epg-start-sign, epg-sign-file)
19858 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19859 (epg-encrypt-string, epg-start-export-keys)
19860 (epg-export-keys-to-file, epg-export-keys-to-string)
19861 (epg-start-import-keys, epg-import-keys-from-file)
19862 (epg-import-keys-from-string, epg-start-receive-keys)
19863 (epg-receive-keys, epg-import-keys-from-server)
19864 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19865 (epg-sign-keys, epg-start-generate-key)
19866 (epg-generate-key-from-file, epg-generate-key-from-string):
19867 Remove autoload cookie.
19869 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19871 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19872 reevaluation of trash-directory.
19874 * mwheel.el: Fix last change.
19875 (mouse-wheel-mode): New defvar.
19876 (mouse-wheel-mode): Remove autoload cookie.
19878 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19880 * mwheel.el (mwheel-installed-bindings): New var.
19881 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19882 the bindings we set last time. Use custom-initialize-delay.
19883 * loadup.el: Load mwheel after term/*-win.el.
19884 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19885 and mouse-wheel-up-event now that their first evaluation is done
19886 sufficiently late to be correct.
19888 * startup.el (tutorial-directory): Make it a defcustom.
19889 Use custom-initialize-delay rather than eval-at-startup to set it.
19890 * image.el (image-load-path): Make it a defcustom.
19891 Use custom-initialize-delay rather than eval-at-startup to set it.
19892 * subr.el (eval-at-startup): Remove.
19893 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19895 * subr.el (do-after-load-evaluation): Warn the user after loading an
19898 2009-09-12 Glenn Morris <rgm@gnu.org>
19900 * proced.el (proced-mark-alt): Remove alias.
19901 (proced-mode-map): Remove proced-mark-alt.
19903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19904 Elint file and directory. Remove initialization entry.
19906 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19908 (elint-current-buffer): Set mode-line-process.
19909 (elint-init-env): Handle define-derived-mode.
19910 Fix declare-function with unspecified arglist. Guard against odd
19911 defalias statements (eg iso-insert's 8859-1-map).
19912 (elint-add-required-env): Use a temp buffer.
19913 (elint-form): Just print the function/macro name, not the whole form.
19914 Return env unchanged if we fail to parse a macro.
19915 (elint-forms): Guard against parse errors.
19916 (elint-output): New function, to handle batch mode.
19917 (elint-log-message): Add optional argument. Use elint-output.
19918 (elint-set-mode-line): New function.
19920 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19922 * emacs-lisp/elp.el (elp-not-profilable): Add more
19923 functions (Bug#4233).
19925 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19927 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19928 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19930 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19932 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19933 (gdb-var-list-children): Use json parsing.
19935 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19937 * progmodes/js.el (js--proper-indentation): Handle the case where
19938 char-before is null. Reported by Deniz Dogan.
19940 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19942 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19944 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19946 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19947 (epg-digest-algorithm-alist): Add SHA224.
19948 (epg-context-set-passphrase-callback)
19949 (epg-context-set-progress-callback): Add description about
19952 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19954 * custom.el (custom-delayed-init-variables): New var.
19955 (custom-initialize-delay): New function.
19956 * startup.el (command-line): "Re"evaluate all vars in
19957 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19958 explicitly any more.
19959 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19960 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19962 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19964 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19966 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19967 (gdb-var-update-handler): Use json parsing.
19969 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19971 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19972 decode annotated text, regardless of language environment. (Bug#2741)
19974 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19976 * Makefile.in (autoloads): Make rmail.el writable as well.
19978 2009-09-11 Glenn Morris <rgm@gnu.org>
19980 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19982 * dired.el: Regenerate with extracted autoloads.
19983 * Makefile.in (autoloads): Make dired.el writable.
19985 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19986 * ibuffer.el: Regenerate with extracted autoloads.
19987 * Makefile.in (autoloads): Make ibuffer.el writable.
19989 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19990 * version.el (emacs-copyright, emacs-major-version)
19991 (emacs-minor-version): Reformat doc-strings for make-docfile.
19993 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19994 functions and variables, since they must be stuff specific to some other
19996 (apropos-print): Make mouse-click message less specific about button.
19998 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19999 that records where a macro was defined.
20000 * help-fns.el (describe-function-1): Mention if a function has a
20002 * help-mode.el (help-function-cmacro): New button.
20004 * locate.el (top-level): Always require dired.
20005 (locate-mode-map): Initialize inside the defvar.
20007 * net/ange-ftp.el (dired-compress-file): Declare.
20008 (ange-ftp-dired-compress-file): Add doc string.
20010 * term/ns-win.el (x-display-name, x-setup-function-keys):
20011 Unify doc-strings with X versions.
20013 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20015 * emulation/crisp.el (crisp-mode-map): Move initialization
20017 (crisp-mode): Use define-minor-mode.
20019 * progmodes/xscheme.el (xscheme-evaluation-commands):
20020 Put a :advertised-binding property rather than using
20021 advertised-xscheme-send-previous-expression.
20022 (advertised-xscheme-send-previous-expression): Declare obsolete.
20023 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20025 (crisp-mode): Add corresponding bindings to
20026 undo's :advertised-binding instead.
20027 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20028 than using dired-advertised-find-file.
20029 (dired-advertised-find-file):
20030 * simple.el (advertised-undo):
20031 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20032 (widget-keymap): Put a :advertised-binding property rather
20033 than using advertised-widget-backward.
20034 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20035 than using advertised-undo.
20036 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20038 2009-09-10 Simon South <ssouth@slowcomputing.org>
20040 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20041 Mark mode is enabled and region is active; otherwise indent or
20042 insert TAB as usual.
20043 (delphi-mode): Update description of TAB-key binding.
20045 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20047 * subr.el (define-key-rebound-commands): Mark obsolete.
20048 * startup.el (precompute-menubar-bindings): Remove.
20049 (normal-top-level): Remove obsolete code that tried to precompute
20051 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20052 define-key-rebound-commands and precompute-menubar-bindings.
20054 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20056 * net/imap.el (imap-interactive-login): Better messages.
20057 (imap-open): Fix bug with renamed buffer on reconnect.
20058 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20059 for easier debugging and cleaner code. On successful (guessed based on
20060 server capabilities) secondary authentication, set imap-state
20062 (imap-last-authenticator): Define imap-last-authenticator as a variable
20065 2009-09-10 Glenn Morris <rgm@gnu.org>
20067 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20069 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20070 (byte-compile-file-form-autoload): Don't warn about unknown functions
20071 where the autoload statement comes after the use.
20072 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20073 that any handlers inside the body (eg require) are in turn respected.
20075 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20078 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20079 and syntax and abbrev tables basic docs, if they don't have any.
20081 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20083 * international/mule-cmds.el (top-level): Require cl when compiling.
20084 (view-hello-file): Use default-value rather than
20085 default-enable-multibyte-characters.
20087 * progmodes/fortran.el: Move all safe and risky properties into the
20090 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20091 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20092 * mail/undigest.el:
20093 Put autoloads in rmail.el rather than loaddefs.el.
20094 * mail/rmail.el: Regenerate with extracted autoloads.
20096 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20097 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20099 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20101 Reported in thread for Bug#4375.
20102 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20103 "-data-evaluate-expression" instead of print.
20104 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20105 (gdb-tooltip-print): Parse output from above MI command.
20106 (gdb): Revert 2009-08-11 change. User should detach inferior
20109 Remove the word "separate" from IO functions as inferior
20110 output is now never displayed in the GUD buffer.
20112 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20114 * startup.el (command-line-normalize-file-name): On Windows and
20115 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20117 2009-09-10 Juri Linkov <juri@jurta.org>
20119 * isearch.el (isearch-text-char-description): Propertize escape
20120 character sequences with the `escape-glyph' face. (Bug#4344)
20122 * simple.el (shell-command): Set asynchronous process filter to
20123 `comint-output-filter'. (Bug#4343)
20125 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20126 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20127 the list. Move "asm" to the bottom.
20128 (grep-find-ignored-directories): Add `choice' with nil value
20129 to empty the list easily.
20130 (grep-find-ignored-files): New option.
20131 (grep-files-history): Set to nil by default instead of '("ch" "el").
20132 (grep-compute-defaults): Add "<X>" to `grep-template'.
20133 (grep-read-files): Bind new local variables `default-alias' and
20134 `default-extension'. Use a list of default values for the file prompt.
20135 (lgrep): Add `--exclude=' command line options composed from
20136 `grep-find-ignored-files'.
20137 (rgrep): Add `-name' command line options composed from
20138 `grep-find-ignored-files'. (Bug#4301)
20140 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20142 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20145 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20147 * calendar/time-date.el (autoload):
20148 Expand define-obsolete-function-alias into defalias and make-obsolete
20149 for old Emacsen that Gnus supports.
20150 (with-no-warnings): Define it for old Emacsen.
20151 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20153 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20154 float-time is available; suppress compile warning for time-to-seconds.
20156 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20158 * net/imap.el (imap-message-map): Docstring fix.
20160 2009-09-09 Glenn Morris <rgm@gnu.org>
20162 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20163 line numbers too. (Bug#4374)
20165 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20167 * smerge-mode.el (smerge-remove-props, smerge-refine):
20168 Use with-silent-modifications (bug#4342).
20170 * subr.el (with-silent-modifications): New macro.
20172 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20174 * files.el (top-level): Require `cl' when compiling.
20176 2009-09-07 Glenn Morris <rgm@gnu.org>
20178 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20180 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20181 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20183 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20185 * vc-git.el (vc-git-annotate-command): Use separator to parse
20186 arguments correctly.
20188 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20190 * proced.el (proced-mode): Doc fix.
20192 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20194 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20196 (tramp-do-file-attributes-with-ls): Check for file existence at
20198 (tramp-do-file-attributes-with-stat): Likewise.
20199 (tramp-convert-file-attributes): Return nil when attr is nil.
20201 2009-09-05 Glenn Morris <rgm@gnu.org>
20203 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20204 properties to this button.
20205 (diary-fancy-display): Don't extend the button to the final newline.
20206 (diary-fancy-display-mode): Continue to define "q" as a local key.
20208 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20211 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20213 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20214 (byte-compile-dest-file-function): New option.
20215 (byte-compile-dest-file): Doc fix.
20216 Obey byte-compile-dest-file-function.
20217 (byte-compile-cl-file-p): New function.
20218 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20219 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20220 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20221 than for file being previously loaded.
20222 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20223 (byte-compile-file-form-require): Handle the case where requiring a file
20224 indirectly causes CL to be loaded.
20226 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20228 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20229 before killing the old buffer, since by the time `kill-buffer' is
20230 run so many buffer variables have been set to nil that it may not
20231 behave as expected. (Bug#4061)
20233 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20235 * files.el (find-alternate-file): If the old buffer is modified
20236 and visiting a file, behave similarly to `kill-buffer' when
20237 killing it, thus reverting to the pre-1.878 behavior; see
20238 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20239 for discussion. Also, consult `buffer-file-name' as a variable
20240 not as a function, for consistency with the rest of the code.
20242 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20244 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20245 also when adding a new directory.
20247 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20250 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20252 * files.el (locate-file-completion-table): Make it provide boundary
20253 information, so partial-completion works better.
20255 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20257 * mail/footnote.el (Footnote-text-under-cursor):
20258 Check footnote-text-marker-alist before using it (bug#4324).
20260 2009-09-04 Glenn Morris <rgm@gnu.org>
20262 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20263 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20264 * play/solitaire.el, play/tetris.el:
20265 Remove leading * from defcustom and defface docs.
20267 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20269 (diary-fancy-overriding-map): New variable.
20270 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20273 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20276 2009-09-03 Glenn Morris <rgm@gnu.org>
20278 * arc-mode.el (archive-mode):
20279 * dos-fns.el (set-default-process-coding-system):
20280 * man.el (Man-getpage-in-background):
20281 * menu-bar.el (menu-bar-describe-menu):
20282 * server.el (server-process-filter):
20283 * startup.el (command-line):
20284 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20285 * w32-fns.el (set-default-process-coding-system):
20286 * x-dnd.el (x-dnd-handle-file-name):
20287 * international/mule-cmds.el (mule-menu-keymap)
20288 (set-default-coding-systems, language-info-alist, set-language-info)
20289 (set-language-environment, standard-display-european-internal)
20290 (set-locale-environment):
20291 * international/mule-diag.el (mule-diag):
20292 * mail/emacsbug.el (report-emacs-bug):
20293 * mail/rmail.el (rmail-mode):
20294 * mail/sendmail.el (mail-setup):
20295 Use default-value rather than default-enable-multibyte-characters.
20297 * progmodes/f90.el: Move all safe properties into the defcustoms.
20298 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20300 * calendar/appt.el (appt-check):
20301 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20302 (diary-check-diary-file, diary-list-entries)
20303 (diary-include-other-diary-files, diary-simple-display)
20304 (diary-fancy-display, diary-print-entries)
20305 (diary-mark-included-diary-files, diary-make-entry):
20306 Don't call substitute-in-file-name on diary-file.
20308 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20309 Stefan Monnier <monnier@iro.umontreal.ca>
20311 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20312 (footnote-mode-map): Move initialization into the declaration.
20313 (footnote-minor-mode-map): Define it rather than changing global-map.
20314 (footnote-mode): Use define-minor-mode.
20316 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20318 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20319 (tramp-do-file-attributes-with-perl)
20320 (tramp-do-file-attributes-with-stat): Rename from
20321 `tramp-handle-file-attributes-with-*'.
20322 (tramp-handle-file-attributes): Use them.
20323 (tramp-do-directory-files-and-attributes-with-perl)
20324 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20325 `tramp-handle-directory-files-and-attributes-with-*'.
20326 (tramp-handle-directory-files-and-attributes): Use them.
20327 (tramp-method-out-of-band-p): Additional parameter SIZE.
20328 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20329 (tramp-handle-write-region): Use it.
20330 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20331 (tramp-handle-vc-registered): Check, whether the first run did
20332 return files to be tested.
20333 (tramp-advice-make-auto-save-file-name): Do not call directly
20334 `tramp-handle-make-auto-save-file-name', because this would bypass
20335 the locking mechanism.
20337 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20338 (file-remote-p, process-file, start-file-process, set-file-times)
20339 (tramp-compat-file-attributes): Compatibility functions shall not
20340 call directly `tramp-handle-*', because this would bypass the
20342 (tramp-compat-number-sequence): New defun.
20344 2009-09-02 Glenn Morris <rgm@gnu.org>
20346 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20347 alias for float-time.
20348 (time-to-number-of-days): In Emacs, use float-time.
20349 * net/newst-backend.el (time-add): Suppress warnings from compat
20351 * time.el (emacs-uptime, emacs-init-time):
20352 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20353 Use float-time rather than time-to-seconds.
20355 * minibuffer.el (completion-initials-expand): Fix typo.
20357 * faces.el (modeline, modeline-inactive, modeline-highlight)
20358 (modeline-buffer-id):
20359 * info.el (info-menu-5): Mark these face aliases as obsolete.
20361 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20363 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20365 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20366 no "--thread" option.
20367 (gdb-stopped): Don't print "Switched to thread" message when it is
20370 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20372 * minibuffer.el (completion-try-completion)
20373 (completion-all-completions): Remove ill-defined (and
20374 mistakenly installed and luckily never used nor documented)
20375 `completion-styles' property.
20376 (completion-initials-expand, completion-initials-all-completions)
20377 (completion-initials-try-completion): New functions.
20378 (completion-styles-alist): Add doc to each entry.
20379 Add new `initials' entry.
20381 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20383 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20384 MI command -var-evaluate-expression.
20385 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20386 and tweak for case of string child.
20387 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20389 2009-09-01 Glenn Morris <rgm@gnu.org>
20391 * add-log.el (change-log-date-face, change-log-name-face)
20392 (change-log-email-face, change-log-file-face, change-log-list-face)
20393 (change-log-conditionals-face, change-log-function-face)
20394 (change-log-acknowledgement-face):
20395 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20396 (custom-modified-face, custom-set-face, custom-changed-face)
20397 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20398 (custom-documentation-face, custom-state-face, custom-comment-face)
20399 (custom-comment-tag-face, custom-variable-tag-face)
20400 (custom-variable-button-face, custom-face-tag-face)
20401 (custom-group-tag-face-1, custom-group-tag-face):
20402 * diff-mode.el (diff-header-face, diff-file-header-face)
20403 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20404 (diff-added-face, diff-changed-face, diff-function-face)
20405 (diff-context-face, diff-nonexistent-face):
20406 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20407 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20408 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20409 (Info-title-4-face):
20410 * isearch.el (isearch-lazy-highlight-face):
20411 * log-view.el (log-view-file-face, log-view-message-face):
20412 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20413 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20414 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20416 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20417 (smerge-base-face, smerge-markers-face):
20418 * wid-edit.el (widget-documentation-face, widget-button-face)
20419 (widget-field-face, widget-single-line-field-face)
20420 (widget-inactive-face, widget-button-pressed-face):
20421 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20422 (woman-addition-face):
20423 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20424 (eshell-ls-executable-face, eshell-ls-readonly-face)
20425 (eshell-ls-unreadable-face, eshell-ls-special-face)
20426 (eshell-ls-missing-face, eshell-ls-archive-face)
20427 (eshell-ls-backup-face, eshell-ls-product-face)
20428 (eshell-ls-clutter-face):
20429 * eshell/em-prompt.el (eshell-prompt-face):
20430 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20431 * obsolete/old-whitespace.el (whitespace-highlight-face):
20432 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20433 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20434 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20435 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20436 (antlr-font-lock-literal-face):
20437 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20438 (ebrowse-root-class-face, ebrowse-file-name-face)
20439 (ebrowse-default-face, ebrowse-member-attribute-face)
20440 (ebrowse-member-class-face, ebrowse-progress-face):
20441 * progmodes/make-mode.el (makefile-space-face):
20442 * progmodes/sh-script.el (sh-heredoc-face):
20443 * textmodes/flyspell.el (flyspell-incorrect-face)
20444 (flyspell-duplicate-face):
20445 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20446 * textmodes/texinfo.el (texinfo-heading-face):
20447 Mark face aliases with "-face" suffix as obsolete.
20449 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20452 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20453 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20454 easy-menu-define wants to modify these.
20456 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20458 * net/browse-url.el (browse-url-file-url):
20459 * term/internal.el (dos-codepage-setup):
20460 Use default-value rather than default-enable-multibyte-characters.
20462 * progmodes/etags.el (etags-goto-tag-location):
20463 * progmodes/flymake.el (flymake-highlight-line)
20464 (flymake-goto-file-and-line, flymake-goto-line):
20465 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20466 (gdb-goto-breakpoint):
20467 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20468 * progmodes/python.el (python-find-function)
20469 (python-pdbtrack-track-stack-file):
20470 * progmodes/verilog-mode.el (verilog-surelint-off):
20471 * term/ns-win.el (ns-open-file-select-line):
20472 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20473 Use forward-line rather than goto-line.
20475 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20476 * textmodes/reftex-index.el (reftex-display-index):
20477 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20478 * textmodes/reftex-toc.el (reftex-toc):
20479 Remove unnecessary bindings of default-major-mode (all are followed by
20480 major-mode check and possible mode switch).
20482 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20484 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20485 Handle watchpoints (bug#4282).
20486 (def-gdb-thread-buffer-command): Enable thread to be selected by
20487 clicking without selecting threads buffer first.
20488 (gdb-current-context-command): Use selected frame so that "up",
20489 "down" etc work in the GUD buffer.
20490 (gdb-update): Find selected frame before rendering stack buffer.
20491 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20493 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20495 * progmodes/sym-comp.el (displayed-completions): Remove.
20496 (symbol-complete): Use minibuffer-complete.
20498 2009-08-31 Glenn Morris <rgm@gnu.org>
20500 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20502 * apropos.el (apropos-symbols-internal):
20503 Handle (obsolete) face aliases.
20505 * faces.el (describe-face): Adjust the output format to be more like
20506 describe-variable, and to mention (obsolete) face aliases.
20507 Adjust the whitespace so that help-setup-xref works.
20509 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20510 * calendar/diary-lib.el (diary-button-face):
20511 Mark these face aliases as obsolete.
20513 * calendar/calendar.el (calendar-today): Doc fix.
20515 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20517 * progmodes/gdb-mi.el (gdb-control-all-threads)
20518 (gdb-control-current-thread): Force tool bar update.
20519 (gdb-non-stop-handler): New function.
20520 (gdb-init-1): Use it to test if non-stop mode is supported.
20521 Remove unused gdbmi buffer type.
20523 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20525 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20526 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20528 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20530 * comint.el (comint-exec-1): Check command is non-null first.
20531 Part of gdb-mi.el change (2009-08-28).
20533 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20535 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20537 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20539 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20540 instead of `dolist' to avoid a recursive require when bootstrapping.
20542 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20544 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20546 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20548 * net/imap.el (imap-send-command): Simplify.
20549 (imap-wait-for-tag): point-max -> buffer-size.
20551 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20553 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20554 with constant argument.
20556 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20558 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20560 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20561 Change default, since most of our files don't have a history.
20562 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20565 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20568 * calc/calc.el: Improve commenting convention.
20569 (calc-digit-map, toplevel): Simplify.
20571 * comint.el (comint-insert-input): Be careful to only set point if we
20572 don't delegate to some other command.
20574 * proced.el (proced-signal-list): Make it an alist.
20575 (proced-grammar-alist): Capitalize names.
20576 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20577 Disable undo manually and make it read-only.
20578 Use completion-annotate-function.
20580 * minibuffer.el (minibuffer-message): If the current buffer is not
20581 a minibuffer, insert the message in the echo area rather than at the
20583 (completion-annotate-function): New variable.
20584 (minibuffer-completion-help): Use it.
20585 (completion--embedded-envvar-table): Environment vars are
20586 always case-sensitive.
20588 2009-08-30 Glenn Morris <rgm@gnu.org>
20590 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20591 from fortran-current-defun.
20592 (fortran-beginning-of-subprogram): Be more precise about finding the
20593 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20594 (fortran-end-of-subprogram): Simplify.
20595 (fortran-current-defun): Use fortran-start-prog-re.
20597 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20599 * subr.el (do-after-load-evaluation): Simplify.
20601 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20603 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20605 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20606 (vc-rcs-print-log): Use it.
20608 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20610 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20612 * paths.el (abbrev-file-name): Move to abbrev.el.
20613 * abbrev.el (abbrev-file-name): Move from paths.el.
20614 Obey user-emacs-directory.
20615 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20616 user-emacs-directory.
20617 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20618 abbrev-file-name and calc-settings-file any more.
20619 * startup.el (command-line): Recompute abbrev-file-name and
20620 abbreviated-home-dir.
20621 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20622 of the special code for when C-h bindings haven't been changed.
20623 (display-startup-echo-area-message): Use with-current-buffer.
20624 (command-line-1): Use a list of strings, rather than a list of lists
20625 of strings for longopts.
20627 * files.el (get-free-disk-space): Use / for default-directory.
20629 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20630 Use with-current-buffer.
20632 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20633 Recognize immutable variables like most-positive-fixnum.
20634 (byte-compile-setq-default): Check and warn if trying to assign
20635 to an immutable variable, or a non-variable.
20637 * progmodes/cc-vars.el (c-comment-continuation-stars):
20638 * progmodes/cc-engine.el (c-looking-at-bos):
20639 * progmodes/cc-cmds.el (c-toggle-auto-state)
20640 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20641 (c-comment-line-break-function): Add version of obsolescence.
20643 2009-08-28 Juri Linkov <juri@jurta.org>
20645 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20646 associated with `archive-mode'.
20648 * image.el (image-type-header-regexps): Use only JPEG magic number
20649 to determine JPEG images, and don't use `image-jpeg-p' because
20650 Emacs can display non-JFIF non-Exif JPEG images.
20652 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20654 * arc-mode.el (archive-mode):
20655 * emacs-lisp/re-builder.el (re-builder-unload-function):
20656 Protect against the default value of `major-mode' being nil.
20658 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20660 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20661 Fix typos in docstrings.
20663 * progmodes/js.el (js--macro-decl-re): Doc fix.
20664 (js--plain-method-re, js--split-name): Refloc docstring.
20665 (js--class-styles, js--make-merged-item, js--splice-into-items):
20666 Fix typos in docstrings; reflow docstrings.
20667 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20668 (js--variable-decl-matcher, js--inside-pitem-p)
20669 (js--parse-state-at-point, js--get-all-known-symbols)
20670 (js--symbol-history, js-find-symbol, js--js-references)
20671 (js--moz-interactor, js--js-encode-value, js--read-tab):
20672 Fix typos in docstrings.
20674 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20676 * textmodes/reftex.el (reftex-get-file-buffer-force):
20677 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20678 * emulation/viper.el (viper-go-away, viper-set-hooks):
20679 * emacs-lisp/re-builder.el (re-builder-unload-function):
20680 * emacs-lisp/bytecomp.el (byte-compile-file):
20681 * ses.el (ses-unload-function):
20682 * hexl.el (hexl-find-file):
20683 * files.el (normal-mode):
20684 * ehelp.el (with-electric-help):
20685 * autoinsert.el (auto-insert-alist):
20686 * arc-mode.el (archive-mode):
20687 Use (default-value 'major-mode) instead of default-major-mode.
20689 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20690 * international/mule.el (load-with-code-conversion):
20691 * emacs-lisp/debug.el (debug):
20692 * ediff-vers.el (ediff-rcs-get-output-buffer):
20693 * dired.el (dired-internal-noselect): Don't let-bind
20694 default-major-mode around code that doesn't use it.
20695 E.g. buffer creation via get-buffer-create doesn't use it.
20697 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20699 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20700 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20701 when writing the temp file. Otherwise, epa-file gets confused.
20702 (tramp-register-file-name-handlers): Make it a defun. Move also
20703 `epa-file-handler' to the front of `file-name-handler-alist'.
20705 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20707 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20708 start right after a ^M.
20709 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20710 (tramp-completion-file-name-regexp-separate)
20711 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20712 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20713 Don't modify last-coding-system-used by accident.
20714 (tramp-completion-file-name-handler): Apply the checks here,
20715 instead during registration.
20716 (tramp-register-file-name-handlers): Rename from
20717 `tramp-register-file-name-handler'. Register both
20718 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20719 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20721 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20723 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20724 Remove variable ...
20725 (gdb-init-1, gdb-display-separate-io-buffer)
20726 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20728 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20729 (gdb-inferior-filter): Use comint-output-filter to stop
20730 echoing and remove ^M characters.
20732 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20734 * emulation/viper-init.el (viper-restore-cursor-type):
20735 * emulation/cua-base.el (cua--update-indications):
20736 Replace default-cursor-type with (default-value 'cursor-type).
20738 * mail/sendmail.el (mail-recover-1):
20739 * international/mule-diag.el (describe-current-coding-system-briefly)
20740 (describe-current-coding-system):
20741 * international/mule-cmds.el (select-safe-coding-system)
20742 (select-message-coding-system)
20743 (set-language-environment-coding-systems, set-locale-environment):
20744 * hexl.el (hexl-insert-multibyte-char):
20745 * dos-w32.el (find-buffer-file-type-coding-system):
20746 * simple.el (what-cursor-position):
20747 Replace uses of default-buffer-file-coding-system
20748 with (default-value 'buffer-file-coding-system).
20750 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20751 Replace uses of default-cursor-in-non-selected-windows
20752 with (default-value 'cursor-in-non-selected-windows).
20753 Use with-current-buffer.
20755 * mail/feedmail.el: Use CL macros.
20756 (feedmail-run-the-queue, feedmail-send-it-immediately):
20757 * dos-w32.el (find-buffer-file-type): Replace uses of
20758 default-buffer-file-type with (default-value 'buffer-file-type).
20760 2009-08-28 Glenn Morris <rgm@gnu.org>
20762 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20763 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20764 Use default-value of major-mode rather than default-major-mode.
20766 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20768 * Makefile.in (update-elcfiles): Report left over elc files.
20770 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20771 expand-file-name and with-current-buffer.
20772 (mail-get-names, mail-directory): Use with-current-buffer.
20774 * vc.el (vc-read-revision): New function.
20775 (vc-version-diff, vc-merge): Use it.
20777 2009-08-27 Sam Steingold <sds@gnu.org>
20779 * simple.el (kill-do-not-save-duplicates): New user option.
20780 (kill-new): When it is non-nil, and the new string is the same as
20781 the latest kill, set replace to t to avoid duplicates in kill-ring.
20783 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20785 * net/tramp.el (tramp-handle-process-file): Do not flush all
20786 caches when `process-file-side-effects' is set.
20787 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20788 instead of `tramp-find-file-exists-command'.
20789 Unset `process-file-side-effects'.
20791 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20793 * net/tramp.el (tramp-methods): New method "rsyncc".
20794 (top): Add completion function for "rsyncc".
20795 (tramp-message-show-message): New defvar.
20796 (tramp-message, tramp-error): Use it.
20797 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20799 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20800 `tramp-methods' entry `copy-env' of "rsyncc".
20801 (tramp-vc-registered-read-file-names): New defconst.
20802 (tramp-vc-registered-file-names): New defvar.
20803 (tramp-handle-vc-registered): Implement optimization strategy.
20804 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20805 (tramp-vc-file-name-handler): New defun.
20806 (tramp-get-ls-command, tramp-get-test-command)
20807 (tramp-get-file-exists-command, tramp-get-remote-ln)
20808 (tramp-get-remote-perl, tramp-get-remote-stat)
20809 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20811 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20812 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20814 (tramp-get-file-property): Check for timestamps in
20815 `tramp-cache-inhibit-cache'.
20816 (tramp-set-file-property): Write timestamp.
20818 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20820 * language/japan-util.el (japanese-symbol-table): Add entries for
20823 * international/characters.el: Add category `j' to cp932-2-byte.
20825 2009-08-27 Kenichi Handa <handa@m17n.org>
20827 * international/fontset.el (build-default-fontset-data): New macro.
20828 (setup-default-fontset): Use build-default-fontset-data for CJK,
20829 tibetan, ethiopic, and ipa.
20831 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20833 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20834 (enable-multibyte-characters): Not customizable any more.
20836 * subr.el (default-mode-line-format, default-header-line-format)
20837 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20838 (default-direction-reversed, default-truncate-lines)
20839 (default-left-margin, default-tab-width, default-case-fold-search)
20840 (default-left-margin-width, default-right-margin-width)
20841 (default-left-fringe-width, default-right-fringe-width)
20842 (default-fringes-outside-margins, default-scroll-bar-width)
20843 (default-vertical-scroll-bar, default-indicate-empty-lines)
20844 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20845 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20846 (default-scroll-down-aggressively, default-fill-column)
20847 (default-cursor-type, default-buffer-file-type)
20848 (default-cursor-in-non-selected-windows)
20849 (default-buffer-file-coding-system, default-major-mode)
20850 (default-enable-multibyte-characters): Mark as obsolete.
20852 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20854 * vc-dir.el (vc-dir-update): Remove debug helper.
20856 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20858 2009-08-26 Sam Steingold <sds@gnu.org>
20860 * simple.el (save-interprogram-paste-before-kill): New user option.
20861 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20862 save the interprogram-paste into kill-ring before overriding it
20863 with the Emacs kill.
20865 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20867 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20868 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20869 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20870 and move to vc-rcs.el.
20871 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20873 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20874 (vc-rcs-update-changelog): Remove.
20875 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20876 and move to vc-rcs.el.
20878 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20879 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20881 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20882 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20883 vc.el, renamed to be RCS specific.
20885 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20887 (vc-cvs-update-changelog): Move here from vc.el.
20889 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20892 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20894 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20896 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20898 * vc-git.el (vc-git-register): Use "git add" for directories.
20899 (vc-git-stash, vc-git-stash-show): New functions.
20900 (vc-git-extra-menu-map): Bind them.
20902 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20903 directory correctly in case the item is a directory itself.
20905 * vc.el: Document the desired behavior for reverted files in the
20907 (vc-default-prettify-state-info): Remove function, unused.
20909 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20911 2009-08-26 Glenn Morris <rgm@gnu.org>
20913 * bindings.el (standard-mode-line-format): Reposition dashes in
20914 which-func entry. (Bug#4217)
20916 * files.el (enable-local-variables, enable-local-eval)
20917 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20919 (auto-mode-alist, ignored-local-variables)
20920 (save-some-buffers-action-alist): Move risky declarations to the
20922 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20923 (font-lock-defaults, format-alist, imenu--index-alist)
20924 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20925 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20926 (mode-line-modified, mode-line-mule-info, mode-line-position)
20927 (mode-line-process, mode-line-remote, outline-level)
20928 (parse-time-rules, rmail-output-file-alist)
20929 (special-display-buffer-names, vc-mode):
20930 Move risky declarations to the relevant files.
20931 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20932 (mode-line-modified, mode-line-process, mode-line-position)
20933 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20934 * font-core.el (font-lock-defaults):
20935 * format.el (format-alist):
20936 * vc-hooks.el (vc-mode):
20937 * window.el (special-display-buffer-names):
20938 * international/mule-cmds.el (input-method-alist):
20939 Define riskiness here (dumped file) rather than in files.el.
20940 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20941 * imenu.el (imenu-generic-expression, imenu--index-alist):
20942 * outline.el (outline-level):
20943 * time.el (display-time-string):
20944 * calendar/parse-time.el (parse-time-rules):
20945 * mail/rmailout.el (rmail-output-file-alist):
20946 Autoload riskiness here, rather than placing in files.el.
20948 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20950 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20952 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20954 * simple.el (process-file-side-effects): New defvar.
20956 * dired-aux.el (dired-show-file-type):
20957 * vc.el (vc-diff-internal):
20958 * vc-arch.el (vc-arch-diff):
20959 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20960 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20961 * vc-git.el (vc-git-registered, vc-git-working-revision)
20962 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20963 (vc-git--empty-db-p):
20964 * vc-hooks.el (vc-user-login-name):
20965 * vc-svn.el (vc-svn-registered, vc-svn-state)
20966 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20967 * progmodes/grep.el (grep-probe): Let-bind
20968 `process-file-side-effects' with nil.
20970 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20972 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20973 daemon. Replace ping by checking for running service for bluez
20974 and zeroconf. (Bug#4239)
20976 2009-08-25 Kevin Ryde <user42@zip.com.au>
20978 * net/dig.el (dig): Add autoload cookie.
20980 2009-08-25 Glenn Morris <rgm@gnu.org>
20982 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20983 load-history for absolute file-names.
20984 (byte-compile-file-form-require): Warn about use of the cl package.
20986 * format.el (format-alist): Doc fix.
20988 * play/bubbles.el (top-level): Don't require cl at run-time.
20990 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20993 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20995 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20997 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20999 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21001 * calc/calc-alg.el (math-trig-rewrite)
21002 (math-hyperbolic-trig-rewrite): New functions.
21003 (calc-simplify): Simplify trig functions when asked.
21005 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21007 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21009 2009-08-24 Kenichi Handa <handa@m17n.org>
21011 * language/ind-util.el (mapthread): Delete it.
21012 (combinatorial): New function.
21013 (indian--puthash-cv): Use combinatorial instead of mapthread.
21015 2009-08-22 Kevin Ryde <user42@zip.com.au>
21017 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21018 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21019 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21020 Clarify docstring that the value is strings not symbols.
21021 (checkdoc-list-of-strings-p): New function.
21023 2009-08-22 Glenn Morris <rgm@gnu.org>
21025 * files.el (auto-mode-alist):
21026 * hippie-exp.el (he-concat-directory-file-name):
21027 * lpr.el (lpr-windows-system, printer-name):
21028 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21029 * ps-print.el (ps-windows-system):
21030 * startup.el (command-line):
21031 * emulation/viper-ex.el (viper-glob-function):
21032 * international/mule-cmds.el (set-language-environment-coding-systems):
21033 * net/ange-ftp.el (ange-ftp-write-region):
21034 * obsolete/fast-lock.el (fast-lock-cache-name):
21035 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21036 unisoft-unix, vax-vms, win32, w32.
21038 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21039 given name if the pattern is not more specific.
21041 * calendar/lunar.el (lunar-phase-names): New option.
21042 (lunar-phase): Doc fix.
21043 (lunar-cycles-per-year): New constant.
21044 (lunar-index): New function.
21045 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21046 (lunar-phase-name): Use lunar-phase-names.
21047 (calendar-lunar-phases): Use format.
21048 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21050 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21051 Copy imenu-example--name-and-position function here for own use.
21052 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21054 * bs.el (bs--redisplay):
21055 * cus-edit.el (custom-redraw):
21056 * ibuffer.el (ibuffer-bury-buffer):
21057 * server.el (server-goto-line-column):
21058 * startup.el (command-line-1):
21059 * strokes.el (strokes-xpm-for-stroke):
21060 * term.el (term-display-buffer-line):
21061 * view.el (View-goto-line):
21062 * calc/calc.el (calc-do, calc-trail-buffer):
21063 * play/gamegrid.el (gamegrid-add-score-insecure):
21064 * progmodes/ada-mode.el (ada-compile-goto-error):
21065 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21066 (ebrowse-select-1st-to-9nth):
21067 * progmodes/cperl-mode.el (cperl-time-fontification):
21068 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21069 * progmodes/gud.el (gud-display-line):
21070 (idlwave-shell-display-line):
21071 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21072 * progmodes/make-mode.el (makefile-browser-toggle):
21073 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21074 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21075 * textmodes/picture.el (picture-draw-rectangle):
21076 * textmodes/reftex-index.el (reftex-index-goto-letter):
21077 (reftex-select-jump-to-previous):
21078 * textmodes/reftex-sel.el (reftex-find-start-point)
21079 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21080 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21081 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21082 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21083 * textmodes/two-column.el (2C-associated-buffer):
21084 Use forward-line rather than goto-line.
21086 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21089 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21090 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21091 (quick-check-list-to-regexp): Declare.
21093 * progmodes/make-mode.el (makefile-browser-insert-selection):
21094 Use goto-char rather than goto-line.
21096 * progmodes/prolog.el (compilation-error-regexp-alist)
21097 (compilation-forget-errors): Declare.
21099 2009-08-22 Juri Linkov <juri@jurta.org>
21101 * progmodes/grep.el (lgrep, rgrep): At the beginning
21102 set `dir' to `default-directory' unless `dir' is a non-nil
21103 readable directory. (Bug#4052)
21104 (lgrep, rgrep): Change a weird way to report an error
21105 from using `read-string' to using `error'.
21106 Instead of using interactive arguments in the function body,
21107 add new argument `confirm'.
21109 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21111 * textmodes/remember.el (remember-buffer):
21112 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21113 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21114 (icalendar-extract-ical-from-buffer):
21115 * net/newst-treeview.el (newsticker-groups-filename):
21116 * net/newst-backend.el (newsticker-cache-filename):
21117 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21118 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21119 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21120 (speedbar-buffers-line-path, speedbar-path-line)
21121 (speedbar-buffers-line-path):
21122 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21124 * epa.el (epa-display-verify-result):
21125 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21127 2009-08-21 Glenn Morris <rgm@gnu.org>
21129 * progmodes/js.el (inferior-moz-process): Fix declaration.
21131 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21133 * obsolete/rnewspost.el (news-mail-reply):
21134 Use goto-char rather than goto-line.
21136 * term/ns-win.el (ns-open-file-select-line):
21137 Use line-beginning-position rather than goto-line.
21139 * apropos.el (apropos-command):
21140 * ehelp.el (electric-helpify):
21141 * printing.el (pr-show-setup):
21142 * strokes.el (strokes-help):
21143 * tutorial.el (tutorial--describe-nonstandard-key)
21144 (tutorial--detailed-help):
21145 * woman.el (woman-mini-help, woman-display-extended-fonts):
21146 * calc/calc-help.el (calc-describe-key):
21147 * emulation/edt.el (edt-electric-helpify):
21148 * international/mule-diag.el (mule-diag):
21149 * play/yow.el (apropos-zippy):
21150 * progmodes/python.el (python-describe-symbol):
21151 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21152 * textmodes/table.el (*table--cell-describe-mode)
21153 (*table--cell-describe-bindings):
21154 Use help-print-return-message rather than the now obsolete alias.
21156 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21157 (calendar-cursor-to-visible-date):
21158 * play/5x5.el (5x5-position-cursor):
21159 * play/decipher.el (decipher):
21160 * play/gomoku.el (gomoku-goto-xy):
21161 * play/landmark.el (lm-goto-xy):
21162 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21163 (mpuz-paint-digit):
21164 Use forward-line, not goto-line.
21166 * mail/rmail.el (rmail-obsolete): Delete custom group.
21167 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21168 (rmail-remote-password, rmail-remote-password-required):
21169 Remove unneeded :set-after and :set properties.
21171 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21173 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21175 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21177 * loadup.el: Remove leftover macos code.
21179 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21180 Explicitly pass the date format to git blame so that user local
21181 so that the output format can be parsed.
21183 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21185 * net/dbus.el (top): Don't check for (getenv
21186 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21188 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21190 * log-edit.el (log-edit-strip-single-file-name): New var.
21191 (log-edit-insert-changelog): Use it. Bug#3571.
21193 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21195 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21198 * help.el (help-print-return-message): Rename from
21199 print-help-return-message.
21201 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21202 cvs-mode-map parent hack.
21203 (log-view-mode): Derive from special-mode.
21205 * linum.el (linum-mode): window-size-change-functions is redundant.
21206 Adapt to new window-configuration-change-hook behavior.
21207 (linum-after-size, linum-after-config): Remove.
21209 * imenu.el (imenu-example--name-and-position)
21210 (imenu-example--lisp-extract-index-name)
21211 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21214 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21215 (inferior-prolog-mode): Use it.
21216 (inferior-prolog-load-file): Reset list of errors.
21218 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21220 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21222 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21224 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21226 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21227 is running already.
21229 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21231 * subr.el (listify-key-sequence-1): Use normal syntax since those
21232 integers are nowadays always represented by the same (positive) number
21234 (read-key-empty-map): New const.
21235 (read-key-delay): New var.
21236 (read-key): New function.
21237 (force-mode-line-update): Use with-current-buffer.
21238 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21239 (start-process-shell-command, start-file-process-shell-command):
21240 Discourage the use of command-args.
21242 2009-08-19 Glenn Morris <rgm@gnu.org>
21244 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21246 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21248 * simple.el (choose-completion-string): Don't rely on
21249 minibuffer-completing-file-name and ad-hoc checks to decide whether
21250 to continue completion or not.
21252 * minibuffer.el (minibuffer-hide-completions): New function.
21253 (completion--do-completion): Use it.
21254 (completions-annotations): New face.
21255 (completion--insert-strings): Use it.
21256 (completion-pcm--delim-wild-regex): Add docstring.
21257 (completion-pcm--string->pattern): Add support for 0-width delimiters
21258 in completion-pcm--delim-wild-regex.
21260 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21262 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21263 Remove unused var `buffer-modified-p'.
21265 * minibuffer.el (completion--do-completion): Move point for the #b001
21266 case as well (bug#4176).
21267 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21269 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21271 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21272 and :session buses.
21274 2009-08-18 Kenichi Handa <handa@m17n.org>
21276 * international/ucs-normalize.el (ucs-normalize-version):
21278 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21279 (utf-8-hfs): Make it perform normalization on encoding too.
21281 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21282 (sentence-end-without-space): Delete duplicated chars.
21283 (sentence-end-base): Likewise.
21285 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21286 (html-mode): Delete duplicated chars from sentence-end-base.
21288 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21289 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21291 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21293 * files.el (hack-one-local-variable): If the mode function is for
21294 a minor mode, pass it an argument (Bug#4148).
21296 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21298 * net/tramp.el (tramp-register-completion-file-name-handler):
21299 Check also for (member 'partial-completion completion-styles).
21301 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21303 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21306 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21308 * progmodes/cperl-mode.el: Merge upstream 6.2.
21309 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21310 (cperl-forward-re): Check cperl-brace-recursing.
21311 (cperl-highlight-charclass): New function.
21312 (cperl-find-pods-heres): Use it.
21313 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21314 (cperl-beautify-regexp-piece): Fix column calculation.
21315 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21316 (cperl-beautify-level): Don't process entire regexp.
21317 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21319 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21320 (cperl-init-faces): Build a list in the normal way.
21322 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21324 * calendar/parse-time.el (parse-time-string-chars): Save match
21327 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21329 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21330 (sql-product): Use it.
21331 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21332 (sql-set-product): Add completion.
21333 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21334 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21335 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21336 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21337 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21338 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21339 (sql-highlight-db2-keywords): Remove.
21340 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21341 (sql-highlight-product): Use derived-mode-p.
21342 (sql-set-sqli-buffer): Use with-current-buffer.
21343 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21346 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21348 * term.el: Fix commenting convention, turn comments into docstrings.
21350 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21352 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21354 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21356 * calendar/parse-time.el (parse-time-string-chars): Compute using
21357 character classes, to handle non-ascii characters (Bug#3190).
21359 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21361 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21362 another heredoc if the user adds another < (Bug#3226).
21364 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21365 Don't initialize based on window-system (Bug#4124).
21367 * facemenu.el (facemenu-read-color): Use a completion function
21368 that accepts any defined color, such as RGB triplets (Bug#3677).
21370 * files.el (get-free-disk-space): Change fallback default
21371 directory to /. Expand DIR argument before switching to fallback.
21372 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21374 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21376 * files.el (load-library): Doc fix.
21378 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21380 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21381 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21382 incremental search string.
21384 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21387 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21388 (ediff-merge-region-is-non-clash)
21389 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21390 Also check if the job is really a merge job.
21392 * ediff.el (ediff-current-file): New function.
21394 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21396 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21398 (js-insert-and-indent): Delete function.
21399 (js-mode-map): Don't bind keys to js-insert-and-indent.
21400 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21401 (js-end-of-defun): Rename from js--end-of-defun.
21402 (js-auto-indent-flag): Delete variable.
21404 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21406 * progmodes/js.el: Remove proclaim statement.
21407 Defvar which-func-imenu-joiner-function to silence compiler.
21409 * files.el (auto-mode-alist): Use js-mode for .js files.
21411 * progmodes/js2-mode.el: Remove file.
21413 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21415 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21417 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21419 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21420 Karl Landstrom <karl.landstrom@brgeight.se>
21422 * progmodes/js.el: New file.
21424 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21426 * timezone.el (timezone-parse-date): Add ability to understand ISO
21427 basic format (minimal separators) dates in addition to the
21428 already-supported extended format dates.
21430 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21432 * international/ucs-normalize.el: Add a `coding' file variable.
21434 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21436 2009-08-14 Sam Steingold <sds@gnu.org>
21438 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21440 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21442 * faces.el (help-argument-name): Define it here instead of
21443 help-fns.el, because in daemon mode help-fns.el may be loaded when
21444 faces are still uninitialized (Bug#1078).
21446 * help-fns.el (help-argument-name): Move defface to faces.el.
21448 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21450 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21451 create buffer with a pty but no process so that GDB can make the
21452 inferior the controlling process.
21454 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21456 * international/ucs-normalize.el: New file.
21458 2009-08-13 Richard Stallman <rms@gnu.org>
21460 * mail/rmail.el (rmail-get-attr-names):
21461 Accept an attribute header that is too short.
21463 * mail/rmail.el (rmail-forget-messages):
21464 Ignore nil elt in rmail-message-vector. Use dotimes.
21466 * progmodes/compile.el (compilation-goto-locus):
21467 Use next-error-move-function.
21469 * simple.el (next-error-move-function): New variable.
21471 2009-08-12 Juri Linkov <juri@jurta.org>
21473 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21474 always non-nil. (Bug#4052)
21476 * replace.el (read-regexp): Return empty string when
21477 `default-value' is nil.
21478 (keep-lines-read-args): Don't use empty string as the
21479 default value for `read-regexp'. (Bug#2495)
21481 2009-08-12 Juri Linkov <juri@jurta.org>
21483 * international/mule-cmds.el (ucs-insert): Change arguments
21484 from `arg' to `character', `count', `inherit' to be the same
21485 as in `insert-char'. Doc fix. (Bug#4039)
21487 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21489 2009-08-12 Juri Linkov <juri@jurta.org>
21491 * files-x.el: New file.
21493 * files.el: Move code that deals with adding/deleting
21494 file/directory-local variables to files-x.el.
21496 * Makefile.in (ELCFILES): Add files-x.elc.
21498 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21500 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21501 to use `goto-line'.
21502 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21504 (gdb-invalidate-disassembly): Do not refresh upon receiving
21505 'update signal. Instead, update all disassembly buffers only after
21507 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21508 (gdb-starting): Move -data-list-register-names...
21509 (gdb-stopped): ...here so it's sent when first thread stops.
21510 (gdb-registers-handler-custom): Do nothing if register names are
21513 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21514 from `gdb-mi.el' to avoid extra tangling.
21516 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21517 change which breaks `gud-def' definitions used in `gdb'.
21518 (gdb-update-gud-running): No extra fuss for updating frame number.
21520 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21522 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21523 (describe-language-environment-map, setup-language-environment-map)
21524 (set-coding-system-map): Move initialization into declaration.
21525 (set-language-info-alist): Last arg to define-key-after can be skipped.
21527 * international/quail.el (quail-completion-1): Simplify.
21528 (quail-define-rules): Use slightly more compact code.
21529 (quail-insert-decode-map): Propertize keys, compact columns.
21531 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21534 2009-08-10 Miles Bader <miles@gnu.org>
21536 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21537 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21538 (js2-instance-member, js2-private-member, js2-private-function-call)
21539 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21540 (js2-magic-paren, js2-external-variable):
21541 Remove "-face" suffix from face names.
21542 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21543 (js2-highlight-undeclared-vars, js2-peek-token)
21544 (js2-parse-function-params, js2-mode-show-errors)
21545 (js2-mode-show-warnings, js2-make-magic-delimiter)
21546 (js2-mode-highlight-magic-parens): Update to use new face names.
21548 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21550 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21551 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21553 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21555 * subr.el: Provide hashtable-print-readable.
21557 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21558 hs-c-like-adjust-block-beginning.
21559 (hs-hide-block-at-point): Stop hiding at the beginning of
21560 hs-block-end-regexp (Bug#700).
21562 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21564 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21566 (gdb-registers-handler-custom): Do not fail when register names
21569 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21571 * progmodes/gdb-mi.el (gdb-control-all-threads)
21572 (gdb-control-current-thread): Interactive setters for
21573 `gdb-gud-control-all-threads' to use in menu.
21574 (gdb-show-run-p): Show «Go» when process is not active.
21575 (gud-tool-bar-map): Add non-stop/A,T indicator.
21576 Uses gud/thread.xpm and gud/all.xpm.
21578 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21580 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21581 (nslookup-font-lock-keywords): Make it a variable.
21582 (net-utils-mode): New mode for viewing diagnostic network output.
21583 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21584 (net-utils-run-simple): New function.
21585 (ifconfig, iwconfig, netstat, arp, route): Use it.
21587 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21589 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21590 (gdb-memory-set-address, def-gdb-set-positive-number)
21591 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21592 after changing settings.
21593 (gdb-invalidate-disassembly): Update when first shown.
21594 (gdb-edit-locals-value): Fix.
21595 (gdb-registers-handler-custom): Print registers in right order and
21596 allow changing register values (only for current thread yet).
21597 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21598 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21599 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21600 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21601 Thread info in mode name.
21602 (gdb-registers-mode-map): TAB to switch to locals.
21604 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21606 * mail/rmail.el (rmail-add-mbox-headers)
21607 (rmail-set-message-counters-counter): Search for
21608 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21610 2009-08-08 Glenn Morris <rgm@gnu.org>
21612 * Makefile.in (ELCFILES): Update.
21614 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21616 * mail/sendmail.el (mail-yank-original):
21617 Set buffer-file-coding-system from the one used by the message whose
21620 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21621 to "windows" when "pgnuplot" is used.
21622 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21623 Don't call accept-process-output if "pgnuplot" is used.
21624 (calc-graph-init): Don't send -display and -geometry to
21625 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21626 running "pgnuplot -V" with shell-command-to-string.
21628 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21631 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21633 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21636 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21638 * vc-dispatcher.el (vc-resynch-window): Update comment.
21640 * term.el (term-handle-ansi-escape): Add comments with the
21641 terminfo capabilities implemented.
21643 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21645 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21646 (gdb-var-create-handler): Rewritten using JSON parser.
21647 (gdb-propertize-header): Move earlier.
21648 (gdb-set-header): Remove to avoid duplication.
21649 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21650 Refresh disassembly buffers only after threads list have been
21652 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21655 2009-08-04 Juri Linkov <juri@jurta.org>
21657 * files.el: Commands to add/delete file/directory-local variables.
21658 (read-file-local-variable, read-file-local-variable-value)
21659 (read-file-local-variable-mode, modify-file-local-variable)
21660 (modify-file-local-variable-prop-line)
21661 (modify-dir-local-variable): New functions.
21662 (add-file-local-variable, delete-file-local-variable)
21663 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21664 (add-dir-local-variable, delete-dir-local-variable)
21665 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21666 (copy-dir-locals-to-file-locals-prop-line): New commands.
21668 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21670 * abbrev.el (insert-abbrev-table-description): Prettify output.
21671 Suggested by Karl Chen.
21673 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21675 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21676 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21677 (gdb-overlay-arrow-position, gdb-thread-position)
21678 (gdb-disassembly-position): Declare variables.
21679 (gdb-wait-for-pending): Function now.
21680 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21681 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21682 compilation goes smoothly.
21683 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21684 (gdb-non-stop-setting): New customization setting which replaces
21685 `gdb-non-stop' so changing it doesn't break active GDB session.
21686 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21687 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21688 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21689 (gdb-show-threads-by-default): New customization options.
21690 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21692 (gdb-get-buffer-create): Send buffers update signal when they are
21694 (gdb-invalidate-locals, gdb-invalidate-registers)
21695 (gdb-invalidate-breakpoints)
21696 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21697 (gdb-invalidate-memory): Accept update signal.
21698 (gdb-current-context-command): Use --frame option.
21699 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21700 Implement `gdb-frame-number' selection logic.
21701 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21702 whether to show GUD toolbar buttons.
21703 (gdb-thread-exited): Unselect current thread when it exits.
21704 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21705 (gdb-mark-line): Routine which sets overlay arrow or inverses
21706 video on fringeless displays.
21707 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21708 to build aligned columns of data in GDB buffers and set text
21709 properties line-by-line.
21710 (gdb-invalidate-breakpoints)
21711 (gdb-breakpoints-list-handler-custom)
21712 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21713 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21714 (gdb-registers-handler-custom): Align data columns.
21715 (gdb-locals-handler-custom): Now prints data like in variable
21717 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21718 Remove confusing buttons.
21719 (gdb-invalidate-threads): Append --frame.
21720 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21721 between breakpoints/threads buffers.
21722 (gdb-set-window-buffer): Now can ignore dedicated windows.
21723 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21724 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21725 (def-gdb-thread-buffer-gud-command): Replaces
21726 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21727 for fine thread control.
21728 (gdb-preempt-existing-or-display-buffer): New function used to
21729 display bound buffers without breaking window layout.
21730 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21731 (gdb-select-frame): New version of `gdb-frames-select' which now
21732 sets `gdb-frame-number' so commands may use --frame option instead
21733 of inner debugger state.
21734 (gdb-frame-handler): Do not set `gdb-frame-number'.
21735 (gdb-threads-mode-map): Select threads with mouse.
21737 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21738 avoid compilation warning.
21739 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21742 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21743 Argument `key' renamed to `buffer-type'.
21744 (gdb-current-context-buffer-name): Do not add thread info to
21745 buffer name when no thread is selected.
21746 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21747 command (bug 3794).
21748 (gdb-thread-selected): Handle `=thread-selected' notification.
21749 (gdb-wait-for-pending): New macro to deal with congestion problems.
21750 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21752 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21753 This fixes problem similar to one described in bug 3947.
21754 (gud-menu-map): More menu items.
21755 (gdb-init-1): Reset `gdb-thread-number' to nil.
21757 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21760 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21761 (gdb-current-context-command): Do not append --thread if
21762 `gdb-thread-number' is nil.
21763 (gdb-running-threads-count, gdb-stopped-threads-count):
21765 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21766 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21767 New customization options.
21768 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21770 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21771 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21772 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21773 set `gdb-thread-number' and update `gud-running' properly.
21774 (gdb-running): Update threads list when new threads appear.
21775 (gdb-stopped): Support non-stop operation and new thread switching
21777 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21778 (gdb-json-partial-output): New set of JSON routines.
21779 (def-gdb-auto-update-trigger): New `signal-list' optional
21781 (gdb-thread-list-handler-custom): Update `gud-running',
21782 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21783 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21784 (gdb-continue-thread, gdb-step-thread): New commands for fine
21785 thread execution control.
21786 (gud-menu-map): New menu items to switch non-stop options.
21787 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21788 (gdb-send): Mimic RET properly (bug 3794).
21790 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21791 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21793 (def-gdb-auto-update-handler): New nopreserve optional argument.
21794 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21796 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21797 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21798 (gdb-parent-mode): New mode to derive other GDB modes from.
21799 (gdb-display-disassembly-for-thread)
21800 (gdb-frame-disassembly-for-thread): New commands for threads
21803 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21804 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21805 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21806 (gdb-update): We now store all GDB buffers in a list so that they
21807 can be updated by traversing a list instead of calling invalidate
21808 triggers explicitly.
21809 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21810 pair for GDB buffer.
21811 (gdb-stack-buffer-name): Add thread information.
21812 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21813 handle pending triggers.
21814 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21815 (def-gdb-thread-buffer-simple-command)
21816 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21817 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21818 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21819 New commands which show buffers bound to thread.
21820 (gdb-stack-list-locals-regexp): Remove unused regexp.
21822 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21823 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21824 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21825 to (gud-comint-buffer) in *-buffer-name functions
21826 because (gdb-get-target-string) already does that.
21827 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21828 (gdb-changed-registers-handler): Rewritten without regexps.
21830 * progmodes/gdb-mi.el: Basic thread selection support.
21831 (gdb-thread-number): New variable.
21832 (gdb-current-context-command): New macro which adds --thread
21834 (gdb-threads-mode-map): Select thread with SPC.
21835 (gdb-thread-list-handler-custom): Mark current thread with overlay
21836 arrow. Synchronize GDB thread and Emacs thread.
21837 (gdb-select-thread): New command which selects current thread.
21838 (gdb-invalidate-frames, gdb-invalidate-locals)
21839 (gdb-invalidate-registers): Use --thread option.
21841 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21843 * net/tramp.el (top): Make check for tramp-gvfs loading more
21845 (tramp-handle-insert-file-contents): `unwind-protect' must be
21846 inside `with-parsed-tramp-file-name'.
21848 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21851 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21853 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21854 directory if CLASSPATH is not set.
21856 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21858 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21860 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21862 2009-08-02 Kevin Ryde <user42@zip.com.au>
21864 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21865 Update freshmeat link. Delete newsforge.com as it seems gone.
21867 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21869 * select.el (x-set-selection): Doc fix (Bug#4021).
21871 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21873 * help-fns.el (describe-variable): Treat list return values from
21874 dir-locals-find-file properly (Bug#4005).
21876 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21878 * net/tramp.el (tramp-debug-message): Print also microseconds.
21880 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21882 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21884 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21885 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21888 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21889 (tramp-get-file-property): Use it.
21891 * autorevert.el (auto-revert-handler):
21892 Allow `auto-revert-tail-mode' for remote files.
21894 2009-08-02 Jason Rumney <jasonr@gnu.org>
21896 * minibuffer.el (read-file-name): Treat confirm options to
21897 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21899 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21901 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21902 (font-lock-variable-name-face, font-lock-constant-face):
21903 Darken the colors for light backgrounds.
21905 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21907 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21908 month names. (Bug#3987)
21910 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21912 * simple.el (line-move-finish): Pass whole number to
21913 line-move-to-column.
21914 (line-move-visual): Perform hscroll to the recorded position.
21916 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21918 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21920 2009-07-29 Alan Mackenzie <acm@muc.de>
21922 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21924 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21926 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21927 (gdb-place-breakpoints): Use full path when setting breakpoints.
21929 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21931 * calc/calc.el (calc-mode-map): Add keybinding for
21932 `calc-transpose-lines'.
21934 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21936 * calc/calc-misc.el (calc-transpose-lines): New function.
21938 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21940 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21941 Simplify check for out-of-band methods.
21942 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21943 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21945 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21947 * vc-git.el (vc-git-checkin): Fix typo.
21949 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21951 * progmodes/js2-mode.el: New file.
21953 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21955 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21956 (gud-menu-map): Adjust tooltip accordingly.
21958 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21960 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21961 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21963 * add-log.el (change-log-mode-map): Add a menu.
21965 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21967 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21968 function returns nil.
21969 (dbus-handle-event): Handle special return value :ignore.
21970 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21972 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21974 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21977 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21981 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21983 * term/pc-win.el (x-display-name, x-colors)
21984 (x-select-enable-clipboard, x-select-text): Doc fix.
21986 * term/common-win.el (x-display-name, x-colors): Doc fix.
21988 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21989 (xw-defined-colors): Doc fix.
21991 * w32-fns.el (x-select-text, x-setup-function-keys)
21992 (x-get-selection, x-set-selection): Doc fix.
21994 * term/x-win.el (x-select-text, x-setup-function-keys)
21995 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21997 * select.el (x-set-selection): Doc fix.
21999 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22001 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22002 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22003 "IsNSSSupportAvailable" method is not available.
22004 Reported by Steve Youngs <steve@sxemacs.org>.
22006 2009-07-24 Kenichi Handa <handa@m17n.org>
22008 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22009 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22010 (build-unicode-category-table): Fix range checks.
22012 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22014 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22015 the buffer we try to sync is current when calling
22018 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22019 not show up to date files.
22021 2009-07-24 Glenn Morris <rgm@gnu.org>
22023 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22024 Add autoload cookies. If necessary, initialize.
22025 (elint-log): Handle non-file buffers.
22026 (elint-initialize): Add optional argument to reinitialize.
22027 (elint-find-builtin-variables): Save excursion.
22029 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22031 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22034 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22036 * vc.el (vc-print-log-internal): New function, split out from ...
22037 (vc-print-log): ... here.
22038 (vc-dir-move-to-goal-column): Declare.
22040 * vc-git.el (vc-git-add-signoff): New variable.
22041 (vc-git-checkin): Use it.
22042 (vc-git-toggle-signoff): New function.
22043 (vc-git-extra-menu-map): Bind it to menu.
22044 (vc-git--run-command-string): Accept a nil FILE argument.
22045 (vc-git-stash-list): New function.
22046 (vc-git-dir-extra-headers): Use it.
22048 2009-07-23 Glenn Morris <rgm@gnu.org>
22050 * help-fns.el (describe-variable): Describe ignored and risky local
22051 variables in a similar way to that in which we describe safe ones.
22053 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22054 (byte-compile-output-file-form, byte-compile-output-docform)
22055 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22056 Give some more local variables with common names a "bytecomp-" prefix,
22057 so as not to shadow things during compilation.
22058 * emacs-lisp/cl-macs.el (load-time-value)
22059 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22060 `outbuffer' to `bytecomp-outbuffer'.
22062 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22063 since the next two variables cover them automatically now.
22064 (elint-builtin-variables, elint-autoloaded-variables): New.
22065 (elint-unknown-builtin-args): Remove all members, since they can be
22066 parsed automatically now.
22067 (elint-extra-errors): New.
22068 (elint-env-add-env, elint-env-add-macro): Use cadr.
22069 (elint-current-buffer): Use or. Change final message.
22070 (elint-get-top-forms): Use line-end-position.
22071 (elint-init-env): Use cadr. Handle autoload, declare-function,
22073 (elint-add-required-env): Doc fix. Use or. Standardize error.
22074 (regexp-assoc): Remove unused function.
22075 (elint-top-form): Set elint-current-pos, to record the start of the
22076 top-level form, for compilation-mode.
22077 (elint-form): Trap errors in macro expansion. Use dolist.
22078 (elint-unbound-variable): Use elint-builtin-variables and
22079 elint-autoloaded-variables.
22080 (elint-get-args): Use cadr, or.
22081 (elint-check-cond-form): Use dolist, cadr.
22082 (elint-check-condition-case-form): Doc fix. Use cadr.
22083 Use elint-extra-errors.
22084 (elint-log): New function.
22085 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22086 Distinguish errors and warnings.
22087 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22088 Use a bytecomp-style format.
22089 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22090 (elint-get-log-buffer): Use compilation mode. Disable undo.
22091 Don't truncate lines.
22092 (elint-initialize): Set builtin and autoloaded variable lists.
22093 Only process elint-unknown-builtin-args if non-nil.
22094 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22096 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22098 2009-07-22 Kevin Ryde <user42@zip.com.au>
22100 * net/newst-backend.el (newsticker--parse-atom-1.0)
22101 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22102 (newsticker--parse-rss-1.0):
22103 * progmodes/idlwave.el (idlwave-mode):
22104 * progmodes/idlw-shell.el (idlwave-shell-mode):
22105 * progmodes/vera-mode.el (vera-mode):
22106 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22107 * progmodes/vhdl-mode.el (vhdl-mode):
22108 * textmodes/table.el (table-generate-source)
22109 (table--warn-incompatibility):
22110 Hyperlink urls in docstrings with URL `...'.
22112 2009-07-22 Glenn Morris <rgm@gnu.org>
22114 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22115 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22116 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22117 Remove leading * from defcustom docs.
22119 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22121 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22123 (list-load-path-shadows): Optionally, just return shadows as a string.
22125 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22127 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22129 * mail/rmailedit.el (rmail-edit-mode):
22130 Use auto-save-include-big-deletions.
22132 * mail/rmail.el (rmail-variables):
22133 Use auto-save-include-big-deletions.
22135 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22138 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22140 * calc/calc.el (calc-undo-length): New variable.
22141 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22143 2009-07-21 Richard Stallman <rms@gnu.org>
22145 * files.el (auto-save-mode): Handle buffer-save-size = -2
22148 2009-07-21 Glenn Morris <rgm@gnu.org>
22150 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22152 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22154 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22155 silence compiler. Instead...
22156 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22157 (ps-print-ensure-fontified): Update for above function name changes.
22159 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22160 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22161 silence compiler. Instead...
22162 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22163 (mh-show-buffer): Only define for compiler.
22164 (pr-mh-current-message): Update for above function name changes.
22166 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22168 (find-file-noselect, insert-file-1): Update for above change.
22170 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22172 * mail/mailclient.el (mailclient-send-it): Fix message.
22174 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22175 (edebug-eval): Check cl-debug-env is bound.
22176 (print-level, print-circle): Don't redefine built-in variables.
22178 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22179 (custom-print-vectors): Remove old comments from doc.
22181 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22182 (emerge-version): Make the variable an obsolete alias for the
22183 emacs-version variable. Make the function obsolete.
22184 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22185 Emerge options, rather than merging in into the main Options menu.
22186 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22187 and auto advance modes. Disable edit/fast items when not relevant.
22189 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22191 * term/vt420.el (terminal-init-vt420): Fix typo.
22193 2009-07-20 Sam Steingold <sds@gnu.org>
22195 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22196 variable (removed from compile.el on 2004-03-11).
22198 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22200 * files.el (hack-local-variables-filter): Fix last change.
22202 2009-07-19 Juri Linkov <juri@jurta.org>
22204 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22205 (dir-local-variables-alist): New buffer-local variable.
22206 (hack-local-variables-filter): If variable is not dir-local,
22207 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22208 because file-local overrides dir-local.
22209 (c-postprocess-file-styles) <declare-function>:
22210 Remove obsolete declaration.
22211 (hack-dir-local-variables): Add dir-local variable/value pair to
22212 `dir-local-variables-alist' and remove duplicates. Doc fix.
22214 * help-fns.el (describe-variable): Add information about
22215 file-local and dir-local variables.
22217 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22219 * files.el (hack-local-variables-filter): Rewrite.
22221 2009-07-19 Glenn Morris <rgm@gnu.org>
22223 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22224 Silence compiler by only defining on XEmacs.
22226 * international/mule.el (auto-coding-regexp-alist): Only match
22227 BABYL... at the start of buffer, not of lines. (Bug#3790)
22229 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22230 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22231 (cal-menu-context-mouse-menu): Doc fix.
22233 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22235 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22237 2009-07-18 Juri Linkov <juri@jurta.org>
22239 * info.el: Virtual Info keyword finder.
22240 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22241 (Info-finder-file): New variable.
22242 (Info-finder-find-file): New function.
22243 (finder-known-keywords, finder-package-info)
22244 (find-library-name, lm-commentary): Use defvar and
22245 declare-function to silence compiler warnings.
22246 (Info-finder-find-node): New function.
22247 (info-finder): New command.
22249 * subr.el (process-kill-buffer-query-function): New function.
22250 (add-hook)<kill-buffer-query-functions>: Add hook
22251 `process-kill-buffer-query-function'.
22253 2009-07-18 Alan Mackenzie <acm@muc.de>
22255 * progmodes/cc-mode.el (c-before-hack-hook)
22256 (c-postprocess-file-styles): Give invocation of `c-set-style'
22257 DONT-OVERRIDE parameter of t. Already set style variables will
22258 thus not be overridden by style settings given by `c-file-syle'.
22260 * files.el (hack-local-variables-filter): Remove entries with
22261 duplicate keys from `file-local-variables-alist'.
22263 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22265 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22266 x-set-selection if display-selections-p returns nil for the
22269 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22271 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22273 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22275 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22276 Accept nil in addition to a regexp.
22277 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22278 Accept nil in addition to a regexp.
22279 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22280 buffers that have an associated file. Handle nil values of
22281 desktop-buffers-not-to-save and desktop-files-not-to-save.
22284 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22285 (x-disown-selection-internal): New functions.
22287 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22289 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22291 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22292 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22294 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22296 * simple.el (set-mark): Revert last change.
22298 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22300 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22301 rendering of pngs is not possible instead of messaging a long
22304 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22306 * w32-fns.el (x-selection-owner-p): New function.
22308 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22309 (mouse-yank-at-click, mouse-yank-primary):
22310 If select-active-regions is non-nil, deactivate the mark before
22313 * simple.el (deactivate-mark, set-mark): Only save selection if we
22316 2009-07-17 Kenichi Handa <handa@m17n.org>
22318 * case-table.el (describe-buffer-case-table): Fix for the case
22319 that KEY is a cons.
22321 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22323 * vc-rcs.el (vc-rcs-find-file-hook):
22324 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22326 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22328 * net/tramp.el (tramp-wait-for-output): Handle the case when
22329 commands do not return a newline but a null byte before the shell
22332 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22334 * term/ns-win.el (ns-set-alpha): Don't declare.
22335 (ns-set-background-alpha): Remove function.
22337 2009-07-16 Kevin Ryde <user42@zip.com.au>
22339 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22340 y-or-n-p, for safety.
22342 2009-07-16 Richard Stallman <rms@gnu.org>
22344 * files.el (auto-save-mode): If buffer-saved-size is -2,
22347 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22348 (rmail-retry-ignored-headers): Add more uninteresting fields.
22350 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22352 * net/rcirc.el (rcirc): Use history variables.
22353 (rcirc-server-name-history, rcirc-nick-name-history)
22354 (rcirc-server-port-history): New variables.
22356 2009-07-15 Kenichi Handa <handa@m17n.org>
22358 * international/mule-cmds.el (set-language-environment-charset):
22359 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22362 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22363 Delete unibyte-display.
22365 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22367 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22369 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22371 * simple.el (deactivate-mark): Optional argument FORCE.
22372 (set-mark): Use deactivate-mark.
22374 * info.el (Info-search): No need to check transient-mark-mode
22375 before calling deactivate-mark.
22377 * select.el (x-set-selection): Doc fix.
22378 (x-valid-simple-selection-p): Allow buffer values.
22379 (xselect--selection-bounds): Handle buffer values.
22380 Suggested by David De La Harpe Golden.
22382 * mouse.el (mouse-set-region, mouse-drag-track):
22383 Call copy-region-as-kill before setting the mark, to let
22384 select-active-regions work.
22386 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22388 * simple.el (deactivate-mark): If select-active-regions is
22389 non-nil, copy the selection data into a string.
22390 (activate-mark): If select-active-regions is non-nil, set the
22391 selection to the current buffer.
22392 (set-mark): Update selection if select-active-regions is non-nil.
22394 * select.el (x-valid-simple-selection-p): Allow buffer values.
22396 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22398 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22399 and more featureful message-mode.
22401 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22403 * select.el (x-set-selection): Doc fix.
22404 (x-valid-simple-selection-p): Disallow selection data consisting
22405 of a list or cons of integers, since that is not used.
22406 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22407 (xselect-convert-to-string, xselect-convert-to-length)
22408 (xselect-convert-to-filename, xselect-convert-to-charpos)
22409 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22411 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22413 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22414 output in -break-info command (Emacs bug #3794).
22416 2009-07-14 Glenn Morris <rgm@gnu.org>
22418 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22419 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22420 (edebug-print-length, edebug-print-level, edebug-print-circle)
22421 (edebug-sit-for-seconds, edebug-view-outside)
22422 (edebug-bounce-point, edebug-set-global-break-condition)
22423 (edebug-Go-nonstop-mode, edebug-trace-mode)
22424 (edebug-Trace-fast-mode, edebug-continue-mode)
22425 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22426 (edebug-visit-eval-list): Doc fixes.
22428 * subr.el (def-edebug-spec): Doc fix.
22430 2009-07-14 Kenichi Handa <handa@m17n.org>
22432 * international/characters.el: Fix setting of category ?C.
22434 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22436 * term/ns-win.el (x-select-font): defalias x-select-font to
22437 ns-popup-font-panel instead of generate-fontset-menu.
22439 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22441 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22443 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22445 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22446 the PK\003\004 header (Bug#3770).
22448 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22450 * pcomplete.el (pcomplete-comint-setup): Check for
22451 shell-dynamic-complete-filename too.
22453 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22455 * simple.el (temporary-goal-column): Change the value for
22456 line-move-visual to a cons cell.
22457 (line-move-visual): Record or set the window hscroll, if
22458 necessary (Bug#3494).
22459 (line-move-1): Handle cons value of temporary-goal-column.
22461 2009-07-11 Kenichi Handa <handa@m17n.org>
22463 * international/mule-diag.el (describe-character-set): Don't show
22466 2009-07-10 Sam Steingold <sds@gnu.org>
22468 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22469 Omake sometimes indents the errors it prints, so allow all
22470 regexps to start with spaces.
22472 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22474 * cus-edit.el (customize-changed-options-previous-release):
22475 Bump value to 22.1. (Bug#3804)
22477 2009-07-08 Sam Steingold <sds@gnu.org>
22479 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22480 to be a cons cell (test . ignored-directory) to selectively ignore
22481 some directories depending on the location of the search.
22483 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22485 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22486 remote user is root, on the local host.
22487 (tramp-local-host-p): Either the local user or the remote user
22488 must be root. (Bug#3771)
22490 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22492 * progmodes/gdb-mi.el (gdb): Remove description of
22493 gdb-use-separate-io-buffer.
22494 (menu): Don't allow toggling of or enable
22495 gdb-use-separate-io-buffer from menubar.
22497 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22499 * mail/unrmail.el (unrmail): Make sure the message ends with two
22500 newlines (Bug#3769).
22502 2009-07-08 Glenn Morris <rgm@gnu.org>
22504 * calendar/calendar.el (calendar-current-date): Rework previous change.
22506 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22508 * calendar/calendar.el (calendar-current-date):
22509 Add an optional argument giving an offset from today.
22511 2009-07-08 Glenn Morris <rgm@gnu.org>
22513 * tutorial.el (tutorial--describe-nonstandard-key):
22514 Adjust the message for when a key has been unbound.
22515 (help-with-tutorial): Hide the arch-tag.
22517 2009-07-08 Kenichi Handa <handa@m17n.org>
22519 * international/fontset.el (setup-default-fontset): For each
22520 script, append (not set) font-specs.
22522 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22525 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22527 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22528 -data-list-register-names to ...
22529 (gdb-starting): ... here because GDB 7.0 requires execution to
22530 have started when using this MI command.
22531 (gdb-set-header): New function to distinguish select and
22532 unselected tabs in gdb buffers.
22533 (gdb-propertize-header): New macro that uses gdb-set-header.
22534 (gdb-breakpoints-header, gdb-locals-header): Use it.
22535 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22537 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22539 * Makefile.in (ELCFILES): Remove fadr.elc.
22541 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22543 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22544 may contain frame information, so `string-match' should be used.
22545 (gdb-update): Disassembly is invalidated through
22546 `gdb-get-selected-frame'.
22547 (gdb-pad-string): New function to pad string with spaces.
22548 (gdb-invalidate-disassembly): Invalidate only if the buffer
22550 (gdb-disassembly-handler-custom): Column alignment.
22551 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22553 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22555 (gdb-frame-handler): Match convention to for disassembly buffer
22557 (gdb-stack-list-frames-handler): Rewritten without regexps.
22558 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22559 not highlight breakpoints without line information.
22560 (gdb-input): Add trailing newline to command.
22562 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22564 (gdb-breakpoints-list-handler-custom): Replacement for
22565 `gdb-break-list-handler'. Using real parser instead of regexps
22567 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22568 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22569 to place breakpoints.
22570 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22572 (gdb-disassembly-handler-custom): Show overlay arrow.
22573 (gdb-disassembly-place-breakpoints): Show breakpoints in
22574 disassembly buffer.
22575 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22576 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22577 instead of parsing breakpoints buffer. Fixed old menu references
22582 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22583 (gdb-memory-address): New variable which holds top address of
22584 memory page shown in memory buffer.
22585 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22586 New customization variables.
22588 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22589 display the memory buffer.
22590 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22591 buffer display parameters.
22592 (def-gdb-memory-format, gdb-memory-format-binary)
22593 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22594 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22595 Functions for setting memory buffer format.
22596 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22597 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22598 unit size used in memory buffer.
22599 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22600 Switch to next/previous page of memory buffer.
22601 Now using (bindat-get-field) instead of fadr functions.
22603 2009-07-07 Sam Steingold <sds@gnu.org>
22605 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22606 non-top-level files.
22608 2009-07-07 Kenichi Handa <handa@m17n.org>
22610 * international/mule-cmds.el (reset-language-environment):
22611 Put the highset priority to the charset iso-8859-1.
22613 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22615 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22616 to the end of the line when locating the block (Bug#700).
22618 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22620 * net/tramp.el (tramp-handle-write-region): Flush file properties
22621 in case of short track.
22623 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22625 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22626 Coded custom representation of verilog error regular expressions
22627 to work with Emacs-22's new format.
22628 (verilog-error-regexp-xemacs-alist): Coded custom representation
22629 of verilog error regular expressions to work with XEmacs format.
22630 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22631 error recognition into XEmacs.
22632 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22633 error recognition into Emacs-22.
22635 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22637 * woman.el: Remove stand-alone closing parentheses.
22638 (woman-file-name, woman2-format-paragraphs)
22639 (woman-leave-blank-lines): Code cleanup.
22640 (woman-use-own-frame): Change default to nil.
22641 (woman-italic, woman-bold, woman-unknown, woman-addition):
22642 Change defaults to inherit from default faces.
22643 (woman2-process-escapes): Consume the newline after a stand-alone
22644 filler character (Bug#3651).
22646 2009-07-06 Glenn Morris <rgm@gnu.org>
22648 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22649 (top-level): Move provide to the end.
22650 (ffap): Remove defunct URL from custom group.
22652 * subr.el (eval-after-load): Doc fix.
22654 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22656 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22657 `calc-embedded-word' is called twice.
22659 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22661 * files.el (find-alternate-file-other-window, find-alternate-file):
22662 Obey confirm-nonexistent-file-or-buffer.
22664 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22666 * dired-aux.el (dired-show-file-type): Handle remote files.
22668 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22670 * desktop.el (desktop-globals-to-save):
22671 Add file-name-history (Bug#2750).
22673 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22675 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22677 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22679 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22680 property on entire argument since this is what eshell-lisp-command
22683 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22685 * net/tramp-gvfs.el (tramp-gvfs-methods)
22686 (tramp-gvfs-zeroconf-domain)
22687 (tramp-bluez-discover-devices-timeout): Add version flag.
22688 (tramp-gvfs-handler-mounted-unmounted)
22689 (tramp-gvfs-connection-mounted-p): Polish handling of
22690 incompatibilities between GVFS 0.2 and 1.0.
22692 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22694 * cus-start.el (all): Add make-pointer-invisible.
22696 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22698 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22699 formatted correctly.
22701 2009-07-02 Juri Linkov <juri@jurta.org>
22703 * info.el: Virtual Info files and nodes.
22704 (Info-virtual-files, Info-virtual-nodes): New variables.
22705 (Info-current-node-virtual): New variable.
22706 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22708 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22709 to check for a virtual file instead of checking a fixed list
22711 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22712 instead of ad-hoc processing of "dir" and (apropos history toc).
22713 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22714 instead of ad-hoc processing of "dir" and (apropos history toc).
22715 Reread a file when moving from a virtual node.
22716 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22717 (Info-directory-toc-nodes, Info-directory-find-file)
22718 (Info-directory-find-node): New functions.
22719 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22720 (Info-history): Move part of code to
22721 `Info-history-find-node'.
22722 (Info-history-toc-nodes, Info-history-find-file)
22723 (Info-history-find-node): New functions.
22724 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22725 (Info-toc): Move part of code to `Info-toc-find-node'.
22726 (Info-toc-find-node): New function.
22727 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22728 the current Info file name to references because now the node
22729 "*TOC*" belongs to the same Info manual.
22730 (Info-toc-build): Rename from `Info-build-toc'.
22731 (Info-toc-nodes): Rename input argument `file' to `filename'.
22732 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22733 instead of ad-hoc processing of ("dir" apropos history toc).
22734 (Info-index-nodes): Use Info-virtual-file-p
22735 to check for a virtual file instead of checking a fixed list
22737 (Info-index-node): Add check for `Info-current-node-virtual'.
22738 Raise `save-match-data' higher up the tree to contain
22739 `search-forward' too (bug fix).
22740 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22741 (Info-virtual-index-nodes): New variable.
22742 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22743 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22744 (Info-apropos-file, Info-apropos-nodes): New variables.
22745 (Info-apropos-toc-nodes, Info-apropos-find-file)
22746 (Info-apropos-find-node, Info-apropos-matches): New functions.
22747 (info-apropos): Move part of code to `Info-apropos-find-node' and
22748 `Info-apropos-matches'.
22749 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22750 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22751 for a virtual file instead of checking a fixed list of node names.
22753 * simple.el (async-shell-command): New command.
22755 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22757 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22758 instead of `mount-info'.
22760 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22762 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22763 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22765 2009-07-02 Kenichi Handa <handa@m17n.org>
22767 * international/mule.el (set-keyboard-coding-system): Force *-unix
22768 coding-system to avoid eol conversion.
22770 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22773 Add handler for `process-file', `shell-command' and
22774 `start-file-process'.
22775 (tramp-gvfs-handle-shell-command)
22776 (tramp-gvfs-handle-start-file-process)
22777 (tramp-gvfs-handle-process-file): New defuns.
22778 (tramp-synce-list-devices): Simplify check for existence of property.
22780 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22782 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22784 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22786 * language/korean.el (set-language-info-alist): Add korean-cp949,
22789 2009-07-01 Kenichi Handa <handa@m17n.org>
22791 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22793 * international/encoded-kb.el: Deleted.
22795 * international/mule.el (set-keyboard-coding-system): Perform the
22796 necessary setup here instead of calling encoded-kbd-setup-display.
22798 2009-07-01 Glenn Morris <rgm@gnu.org>
22800 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22802 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22804 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22806 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22808 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22809 Handle also the 'rename case, when setting file modes. (Bug#3712)
22810 (tramp-default-file-modes): Remove execute permissions.
22812 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22813 (top): Add a default for "synce" in `tramp-default-user-alist'.
22814 Add completion function for "synce" method.
22815 (tramp-hal-service, tramp-hal-path-manager)
22816 (tramp-hal-interface-manager, tramp-hal-interface-device):
22818 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22819 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22822 * net/trampver.el: Update release number.
22824 2009-06-30 Kenichi Handa <handa@m17n.org>
22826 * international/fontset.el (setup-default-fontset): Add CJK fonts
22827 for symbols and the other miscellaneous characters.
22829 * language/korea-util.el (setup-korean-environment-internal):
22830 Make char-width-table suitable for Korean environments.
22831 (exit-korean-environment): Cancel above.
22833 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22834 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22835 setup-function to make char-width-table suitable for respective
22836 environments, and an exit-function to cancel that.
22838 * language/japan-util.el (setup-japanese-environment-internal):
22839 Call use-cjk-char-width-table with arg `ja_JP'.
22841 * international/characters.el (cjk-char-width-table): Delete it.
22842 (cjk-char-width-table-list): New variable.
22843 (use-cjk-char-width-table): New arg local-name.
22844 (use-default-char-width-table): Fix for the case that Emacs is
22845 already using the default char-width-table.
22847 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22849 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22850 modes mandatory. (Bug#3712)
22852 2009-06-29 Alan Mackenzie <acm@muc.de>
22854 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22855 correction between the visible width of TABs and their number of bytes.
22857 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22859 * server.el (server-buffer-done): Prevent kill-buffer from
22860 prompting by clearing the buffer modification flag (Bug#3696).
22862 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22864 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22865 (verilog-endcomment-reason-re): Support unique case and priority case.
22866 (verilog-basic-complete-re): Support localparam lineup.
22867 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22868 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22870 (verilog-leap-to-case-head): Now support *nested* unique &
22871 priority case statements.
22872 (verilog-auto-lineup): Make just declarations the default (as it
22874 (verilog-leap-to-case-head): Support priority/unique case statements.
22875 (verilog-auto-lineup): Rework to give users radio buttons to
22876 select the various styles of automatic lineup.
22877 (verilog-error-regexp-alist): Rework to support the XEmacs style
22878 of error regular expressions from compilers, lint tools &
22879 simulators. Note that GNU Emacs has made it impossible for a mode
22880 to load such things.
22881 (electric-verilog-terminate-line, verilog-indent-declaration)
22882 (verilog-auto-wiure): Rework for radio button selection of
22883 auto-lineup selection of specification of auto lineup.
22884 (verilog-beg-of-statement-1): Redesign to support proper operation
22885 in additional code, based on testing with auto-lineup.
22886 (verilog-calculate-indent, assignments & declarations)
22887 (verilog-backward-token): Enhance to support auto-lineup of
22888 assignments & declarations.
22889 (verilog-in-directive-p, verilog-at-struct-p): New function for
22890 easy test of whether we are.
22891 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22892 to support safe execution at almost anyline.
22893 (verilog-calc-1): Properly support indenting deep inside generate
22895 (verilog-init-font): Remove definition & use of verilog-init-font,
22896 as it is redundant with font-lock-defaults.
22897 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22898 to avoid circular calls if syntax-ppss is a function (as is the
22899 case now in 22.x GNU Emacs) as that function would sometimes call
22900 itself, leading to (nearly) infinite recursion.
22901 (verilog-ovm-begin-re, verilog-ovm-end-re)
22902 (verilog-ovm-statement-re, verilog-leap-to-head)
22903 (verilog-backward-token): Add support for OVM macros. Some are
22904 complete statements, and others open and close scopes like begin
22906 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22907 (verilog-defun-level-generate-only-re): Really fix the defun-list
22909 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22910 coverpoint, constraint and cross statements.
22911 (verilog-defun-level-list, verilog-generate-defun-level-list)
22912 (verilog-all-defun-level-list): Redo these specifications - it is
22913 too hard to support eval-when compile aggregation of lists also
22914 built at when-compile time.
22915 (verilog-defun-level-list): Place defconsts of variables used in
22916 building regular expressions which are built in eval-when-compile
22917 bodies in the same eval-when-compile body to facilitate compile
22919 (verilog-beg-block-re-ordered): Support indenting
22920 virtual/protected tasks and functions.
22921 (verilog-defun-level-list, verilog-in-generate-region-p)
22922 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22923 indentation of some module items (generate items).
22924 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22925 across virtual/protected tasks and functions.
22927 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22929 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22930 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22931 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22932 in concatenations. Reported by Yishay Belkind.
22933 (verilog-auto-ascii-enum): Support one-hot state machines in
22934 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22935 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22936 modport in AUTOINST and add vl-modport for users.
22937 Reported by David Rogoff.
22938 (verilog-auto-inout-module, verilog-auto-inst)
22939 (verilog-decls-get-interfaces, verilog-insert-definition)
22940 (verilog-insert-one-definition, verilog-read-decls)
22941 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22942 (verilog-sig-modport, verilog-signals-combine-bus)
22943 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22944 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22945 Suggested by David Rogoff.
22946 (verilog-repair-open-comma): Fix non-insertion of comma when
22947 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22948 (verilog-make-width-expression): Simplify [A-1:0] expression
22949 widths to just {A{1'b0}}.
22950 (verilog-mode): Cleanup checkdoc warnings.
22951 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22952 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22953 inputs/outputs or data type. Suggested by Vasu Kandadi.
22954 (next-error-last-buffer): Fix byte-compiler warning.
22955 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22956 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22957 or shell command text during AUTO expansion. Suggested by Tad Truex.
22958 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22959 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22960 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22961 in AUTOINOUT. Reported by Matthew Lovell.
22962 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22963 causing use of <= assignments. Reported by Alex Reed.
22964 (verilog-read-decls): Fix triand, trior, wand, wor to be
22965 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22966 (verilog-extended-complete-re): Support import "DPI-C" functions.
22967 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22968 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22969 (verilog-insert-date, verilog-insert-year)
22970 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22971 Windows systems. Reported by Michael Potts.
22972 (verilog-read-module-name): Fix AUTOINST when the child module
22973 declaration's name is a tick define. Reported by Elliot Mednick.
22974 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22975 passed to next parameter's definition. Reported by Bruce T.
22976 (verilog-read-decls): Fix detecting "parameter int" when using
22977 AUTOINSTPARAM. Reported by Bruce T.
22978 (verilog-goto-defun): Fix goto not finding modules unless first
22979 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22980 (verilog-mode): Expand -f flag arguments on entry to mode so
22981 verilog-goto-defun will work. Reported by Lawrence Butcher.
22982 (verilog-getopt): Expand environment variables in -f file
22983 arguments. Suggested by Lawrence Butcher.
22984 (verilog-set-define): Fix "Symbol's value as variable is void"
22985 when reading enumerations.
22986 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22987 Suggested by Stephen Peltan.
22988 (verilog-read-defines): Fix reading of enumerations in include
22989 files. Reported by Steve Peltan.
22991 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22993 * files.el (trash-directory): Fix defcustom type.
22995 2009-06-28 Juri Linkov <juri@jurta.org>
22997 * help-fns.el (describe-function-1): Correctly locate adviced
22998 functions in hyperlink (Bug#2438).
23000 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23002 * files.el (trash-directory): Change default to nil.
23003 (move-file-to-trash): If trash-directory is nil and
23004 system-move-file-to-trash is unbound, perform freedesktop-style
23007 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23009 * files.el (move-file-to-trash): Add freedesktop trash
23012 2009-06-28 Glenn Morris <rgm@gnu.org>
23014 * autorevert.el (global-auto-revert-non-file-buffers)
23015 (global-auto-revert-mode): Doc fixes.
23017 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23019 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23021 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23023 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23024 opened an X connection before calling x-get-resource (Bug#3194).
23026 * play/doctor.el: Remove reference to obsolete website.
23027 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23029 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23031 Remove find-file-not-found-hook VC method. (Bug#2757)
23032 * vc-hooks.el (vc-file-not-found-hook)
23033 (vc-default-find-file-not-found-hook): Remove functions.
23034 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23035 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23038 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23040 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23042 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23043 compatibility function for `looking-back'.
23045 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23046 Use `ispell-looking-back'.
23048 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23050 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23051 rather than `filename'.
23053 2009-06-23 Miles Bader <miles@gnu.org>
23055 * face-remap.el (text-scale-set): New function.
23057 2009-06-23 Glenn Morris <rgm@gnu.org>
23059 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23061 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23063 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23065 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23067 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23068 Simplify Persian conditionals.
23070 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23071 variable `filename'.
23073 * comint.el (comint-insert-input): Doc fix.
23075 * Makefile.in (ELCFILES): Fix typo in previous change.
23077 2009-06-23 Miles Bader <miles@gnu.org>
23079 * cus-start.el: Add entry for `recenter-redisplay'.
23081 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23083 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23084 Add an optional argument for the backend, use it instead of
23085 calling vc-backend.
23086 (vc-mode-line): Add an optional argument for the backend.
23087 Pass the backend to vc-state and vc-working-revision. Move code for
23088 special handling for vc-state being a buffer to ...
23090 * vc-rcs.el (vc-rcs-find-file-hook):
23091 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23093 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23094 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23095 vc-stay-local-p and vc-mode-line calls.
23097 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23098 (vc-cvs-diff, vc-cvs-annotate-command)
23099 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23100 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23101 vc-mode-line calls.
23103 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23105 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23106 backend when calling vc-mode-line.
23107 (vc-register): Do not create a closure for calling the vc register
23108 function, call it directly.
23110 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23112 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23113 to make it obvious item can be clicked.
23115 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23117 2009-06-23 Kenichi Handa <handa@m17n.org>
23119 * language/korea-util.el (korean-key-bindings): Change the binding
23120 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23123 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23125 Sync with Tramp 2.1.16.
23127 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23129 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23130 when a loading of a package fails. Completion function for rsync
23131 is `tramp-completion-function-alist-ssh'.
23132 (all): Replace all calls of `split-string' and
23133 `tramp-split-string' by `tramp-compat-split-string'.
23134 (tramp-default-method): Use `tramp-compat-process-running-p'.
23135 (tramp-default-proxies-alist): Allow also Lisp forms.
23136 (tramp-remote-path): Add choice "Private Directories".
23137 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23138 (tramp-domain-regexp): Allow also "-", "_" and ".".
23139 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23140 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23141 (tramp-debug-message): Insert header line in debug buffer.
23142 (tramp-handle-directory-files-and-attributes-with-stat):
23143 Care about filenames with spaces, or starting with "-".
23144 (tramp-handle-dired-uncache): New defun.
23145 (tramp-handle-insert-directory): Don't flush the directory from
23146 cache, this is handled by `dired-uncache' now.
23147 (tramp-handle-insert-file-contents): Improve error handling.
23148 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23149 Quote `tramp-end-of-output'.
23150 (tramp-action-password): Improve trace message.
23151 (tramp-check-for-regexp): Both echoes must be present, before removing.
23152 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23153 (tramp-compute-multi-hops): Eval cons cells of
23154 `tramp-default-proxies-alist'.
23155 (tramp-maybe-open-connection): Use the same command pattern for
23156 first hop and further hops.
23157 (tramp-wait-for-output): Remove handling of newlines.
23158 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23159 (tramp-split-string): Remove function. It is handled in
23162 * net/tramp-cmds.el (tramp-bug):
23163 Recommend `tramp-cleanup-all-connections' in the bug mail.
23165 * net/tramp-compat.el (tramp-compat-split-string)
23166 (tramp-compat-process-running-p): New defuns.
23168 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23169 for `dired-uncache'.
23171 * net/tramp-gvfs.el: New package.
23173 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23174 Add handler for `dired-uncache'.
23175 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23177 * net/trampver.el: Update release number. Make version check fit
23180 2009-06-22 Jim Meyering <meyering@redhat.com>
23182 Automatically handle .xz suffix (XZ-compressed files), too.
23183 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23184 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23186 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23187 Nick Roberts <nickrob@snap.net.nz>
23189 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23190 repository (http://sphinx.net.ru/hg/gdb-mi/).
23192 2009-06-22 Glenn Morris <rgm@gnu.org>
23194 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23195 `mode' and `eval' entries. (Bug#3430)
23197 * Makefile.in (ELCFILES): Add fadr.elc.
23199 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23200 differing behavior of \n and ^ in strings. (Bug#3385)
23202 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23204 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23206 (lisp-indent-function): Make it a defcustom.
23208 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23210 * progmodes/gdb-ui.el: Replace with ...
23211 * progmodes/gdb-mi.el: ... this file.
23212 * progmodes/gud.el: Modify for gdb-mi.el.
23214 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23216 * fadr.el: New file.
23218 See ChangeLog.14 for earlier changes.
23220 ;; Local Variables:
23224 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23226 This file is part of GNU Emacs.
23228 GNU Emacs is free software: you can redistribute it and/or modify
23229 it under the terms of the GNU General Public License as published by
23230 the Free Software Foundation, either version 3 of the License, or
23231 (at your option) any later version.
23233 GNU Emacs is distributed in the hope that it will be useful,
23234 but WITHOUT ANY WARRANTY; without even the implied warranty of
23235 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23236 GNU General Public License for more details.
23238 You should have received a copy of the GNU General Public License
23239 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.