1 2011-03-24 Drew Adams <drew.adams@oracle.com>
3 * thingatpt.el: Support `defun'.
5 2011-03-23 Leo Liu <sdl.web@gmail.com>
7 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9 * help-mode.el (help-mode-finish): Tweak regexp.
11 2011-03-23 Glenn Morris <rgm@gnu.org>
13 * eshell/esh-opt.el (eshell-eval-using-options):
14 Do not bind unused local variable `eshell-option-stub'.
16 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21 keymap variable in `with-no-warnings' to avoid a warning when the
22 keymap has been already `defconst'ed.
24 2011-03-22 Leo Liu <sdl.web@gmail.com>
26 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27 encode all chars in abbrevs; otherwise use emacs-mule or
28 utf-8-emacs. (Bug#8308)
30 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
32 * simple.el (backward-delete-char-untabify):
33 Avoid warning about using `delete-backward-char'.
35 * image.el (image-type-file-name-regexps): Make it variable.
36 `imagemagick-register-types' modifies it, and the user may want
37 to add new extensions for known image types.
38 (imagemagick-register-types): Throw error if not using ImageMagick.
40 2011-03-22 Leo Liu <sdl.web@gmail.com>
42 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
43 located before rcirc-prompt-end-marker.
44 (rcirc-complete): Error if point is not after rcirc prompt.
45 Handle the case when table is nil.
46 (rcirc-user-authenticated): Define to fix compiler warning.
48 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
50 * custom.el (custom--inhibit-theme-enable): Make it affect only
51 custom-theme-set-variables and custom-theme-set-faces.
52 (provide-theme): Ignore custom--inhibit-theme-enable.
53 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
54 (custom-enabling-themes): Delete variable.
55 (enable-theme): Accept only loaded themes as arguments. Ignore
56 the special custom-enabled-themes variable.
57 (custom-enabled-themes): Forbid themes from setting this.
58 Eliminate use of custom-enabling-themes.
59 (custom-push-theme): Quote "changed" custom var entry.
61 2011-03-21 Leo Liu <sdl.web@gmail.com>
63 * ido.el (ido-read-internal): Add ido-selected to history instead
66 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
68 * subr.el (deferred-action-list, deferred-action-function):
71 2011-03-21 Leo Liu <sdl.web@gmail.com>
73 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
74 change on 2011-02-13 (bug#8309).
76 * minibuffer.el (read-file-name-function): Change default value.
77 (read-file-name--defaults): Rename from read-file-name-defaults.
78 (read-file-name-default): Rename from read-file-name.
79 (read-file-name): Call read-file-name-function.
81 2011-03-21 Glenn Morris <rgm@gnu.org>
83 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
86 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
88 * cus-theme.el: Add missing provide statement.
89 (customize-create-theme): Extract theme value correctly.
90 (custom-theme-visit-theme): Autoload.
91 (customize-create-theme): Prompt before inserting default faces.
93 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
95 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
96 units and musical notes.
98 2011-03-20 Leo <sdl.web@gmail.com>
100 * ido.el (ido-read-internal): Use completing-read-default.
101 (ido-completing-read): Fix compatibility with completing-read.
103 2011-03-20 Christian Ohler <ohler@gnu.org>
105 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
106 (ert-delete-all-tests): Use `called-interactively-p' rather than
108 (ert--make-xrefs-region): Respect END.
110 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
112 * dired-aux.el (dired-create-directory): Signal an error if the
113 directory already exists (Bug#8246).
115 * facemenu.el (list-colors-display): Call list-faces-display
116 inside with-help-window.
117 (list-colors-print): Use display property to align the final
118 column, instead of checking window-width.
120 2011-03-19 Eli Zaretskii <eliz@gnu.org>
122 * emerge.el (emerge-metachars): Separate value for ms-dos and
124 (emerge-protect-metachars): Quote correctly for ms-dos and
127 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
129 * info.el (info-initialize): Replace all uses of `:' with
130 path-separator for compatibility with non-Unix systems.
131 Cache quoting of path-separator. (Bug#8258)
133 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
135 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
136 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
137 (mouse-avoidance-mode): Fix typos in docstrings.
139 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
141 * startup.el (package-subdirectory-regexp): Move from package.el.
142 Omit \\` and \\', and let callers add them.
144 * emacs-lisp/package.el (package-strip-version)
145 (package-load-all-descriptors): Add \\` and \\' to
146 package-subdirectory-regexp before using it.
147 (package-untar-buffer): New arg DIR; ensure that file untars only
148 into this expected directory. Remove superfluous delete-region.
149 (package-unpack): Caller changed.
150 (package-tar-file-info): Use package-subdirectory-regexp.
152 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
154 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
155 diff-mode-shared-map (bug#8284).
156 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
158 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
160 * calendar/time-date.el (format-seconds): Use assoc instead of
161 assoc-string, since assoc-string doesn't exist in XEmacs.
163 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
165 * custom.el (custom-known-themes): Reflow docstring.
166 (custom-theme-load-path): Fix typo in docstring.
167 (load-theme): Fix typo in error message.
168 (custom-available-themes, custom-variable-theme-value):
169 Use `let', not `let*'.
171 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
173 * calc/README: Mention inclusion of musical notes.
175 * calc/calc-units.el (calc-lu-quant): Rename from
176 `calc-logunits-quantity'.
177 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
178 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
179 (calc-db): Rename from `calc-dblevel'.
180 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
181 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
182 (calc-np): Rename from `calc-nplevel'.
183 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
184 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
185 (calc-lu-plus): Rename from `calc-logunits-add'.
186 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
187 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
188 (calc-lu-minus): Rename from `calc-logunits-sub'.
189 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
190 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
191 (calc-lu-times): Rename from `calc-logunits-mul'.
192 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
193 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
194 (calc-lu-divide): Rename from `calc-logunits-div'.
195 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
196 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
198 * calc/calc-ext.el (calc-init-extensions): Update the names of the
199 functions being autoloaded.
201 * calc/calc.el (calc-lu-power-reference): Rename from
202 `calc-logunits-power-reference'.
203 (calc-lu-field-reference): Rename from
204 `calc-logunits-field-reference'.
206 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
208 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
210 * minibuffer.el (completion-all-sorted-completions):
211 Use :completion-cycle-penalty text property if present.
213 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
215 * allout.el (allout-yank-processing): Adjust for new rebulleting
216 regime so bullet being yanked is used without prompting the user
219 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
221 * startup.el (command-line): Warn the user that _emacs is deprecated.
223 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
225 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
226 (delphi-verbose, delphi-comment-face, delphi-string-face)
227 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
228 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
229 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
230 (delphi-new-comment-line, delphi-font-lock-defaults)
231 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
232 Fix typos in docstrings.
234 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
236 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
237 Invert the roles of character and string values for INSTEAD, so a
238 string is used for the more common case of a defaulting prompt.
240 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
242 * progmodes/ruby-mode.el (ruby-backward-sexp):
243 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
244 * play/gamegrid.el (gamegrid-make-face):
245 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
246 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
247 * notifications.el (notifications-notify):
248 * net/xesam.el (xesam-search-engines):
249 * net/quickurl.el (quickurl-list-insert):
250 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
252 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
254 * startup.el (command-line): Update package subdirectory regexp.
256 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
258 * allout.el (allout-abbreviate-flattened-numbering)
259 (allout-mode-deactivate-hook): Fix up obsolescence "date".
261 * subr.el (read-char-choice): Only show the cursor after the prompt,
262 not after the answer.
264 2011-03-15 Kevin Ryde <user42@zip.com.au>
266 * help-fns.el (variable-at-point): Skip leading quotes, if any
269 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
271 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
274 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
276 * shell.el (shell): When called interactively, offer to change the
277 shell file name on remote hosts.
279 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
281 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
282 integration for LDAP parameters. The host, base, user or binddn,
283 and secret tokens can be specified in a netrc file, for instance.
284 This is optional because an `auth-source' parameter must be
285 specified in the search attributes.
287 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
289 * help.el (describe-mode): Link to the mode's definition (bug#8185).
291 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
293 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
294 into declaration. Remove redundant and harmful binding.
296 2011-03-12 Eli Zaretskii <eliz@gnu.org>
298 * files.el (file-ownership-preserved-p): Pass `integer' as an
299 explicit 2nd argument to `file-attributes'. If the file's owner
300 is the Administrators group on Windows, and the current user is
301 Administrator, consider that a match.
303 * server.el (server-ensure-safe-dir): Consider server directory
304 safe on MS-Windows if its owner is the Administrators group while
305 the current Emacs user is Administrator. Use `=' to compare
306 numerical UIDs, since they could be integers or floats.
308 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
310 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
312 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
314 Sync with Tramp 2.2.1.
316 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
318 * net/trampver.el: Update release number.
320 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
322 * progmodes/compile.el (compilation--previous-directory): Fix up
323 various nil/dead-marker mismatches (bug#8014).
324 (compilation-directory-properties, compilation-error-properties):
325 Don't call it at a position past the one we're about to change.
327 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
328 Disable obsolescence warnings in the file that declares it.
330 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
332 * allout-widgets.el (allout-widgets-tally): Initialize
333 allout-widgets-tally as a hash table rather than nil to prevent
334 mode-line redisplay warnings.
335 Also, clarify the module description and fix a comment typo.
337 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
339 * help-fns.el (describe-variable): Don't complete keywords.
340 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
342 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
344 * emacs-lisp/package.el (package-version-join): Impose a standard
345 string representation for pre/alpha/beta version lists.
346 (package-unpack-single): Standardize the directory name by passing
347 it through package-version-join.
348 (package-strip-rcs-id): Accept any version string that does not
349 signal an error in version-to-list.
351 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
353 * simple.el (delete-trailing-whitespace): Return nil for the
354 benefit of `write-file-functions'.
356 2011-03-10 Glenn Morris <rgm@gnu.org>
358 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
360 * vc/vc-git.el (vc-git-program): New option.
361 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
362 (vc-git--call): Use it.
364 * eshell/esh-util.el (eshell-condition-case): Doc fix.
366 * cus-edit.el (Custom-newline): If no button at point, look
367 for a subgroup button at start-of-line. (Bug#2298)
369 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
371 2011-03-10 Julien Danjou <julien@danjou.info>
373 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
374 `cursor-type' is nil.
376 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
378 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
380 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
382 * allout.el Summary: Change so yank of distinctive-bullet items
383 preserves the existing header prefix, rebulleting it if necessary,
384 rather than replacing it. This is necessary for proper operation
385 of cooperative addons like allout-widgets.
386 (allout-make-topic-prefix, allout-rebullet-heading): Change
387 SOLICIT arg to INSTEAD, and interpret additionally a string value
388 as alternate bullet to be used, instead of prompting the user for
391 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
393 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
394 not use `tramp-file-name-port', because this returns also
395 `tramp-default-port'.
397 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
399 * net/rcirc.el (rcirc-handler-001): Remove useless
400 with-rcirc-process-buffer.
401 (rcirc-check-auth-status): Swap arguments to string-match.
403 2011-03-09 Glenn Morris <rgm@gnu.org>
405 * shell.el (shell-mode):
406 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
408 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
409 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
411 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
413 * emacs-lisp/package.el (package-refresh-contents)
414 (package-menu-execute): Use condition-case-no-debug.
416 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
418 * simple.el (shell-command-to-string): Use `process-file'.
420 * emacs-lisp/package.el (package-tar-file-info): Handle also
423 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
424 `equal' for upload base check.
426 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
428 * textmodes/texinfo.el (texinfo-environments):
429 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
431 2011-03-08 Glenn Morris <rgm@gnu.org>
433 * cus-start.el (cursor-in-non-selected-windows):
434 Fix :set quoting oddness. (Bug#8192)
436 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
437 in some setf expressions. (Bug#2159)
439 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
441 * custom.el (custom-available-themes): Return themes in
444 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
446 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
447 application of patch from Alan Mackenzie (Bug#7595).
449 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
451 * net/rcirc.el (rcirc-connect): Fix PASS bug.
453 2011-03-07 Glenn Morris <rgm@gnu.org>
455 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
456 Give an explicit error if failed to make writable. (Bug#6146)
458 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
460 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
461 Add optional `after-sunset' argument. (Bug#8190)
463 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
465 * play/morse.el (nato-alphabet, nato-region, denato-region):
466 New variable and functions. (Bug#2288)
467 (morse-region, unmorse-region): Barf if read-only.
469 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
471 * progmodes/gud.el (gdb-script-syntax-propertize-function):
472 Don't change the syntax of a \n that closes a comment (bug#8169).
474 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
476 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
478 (package--update-file): Doc fix. Accept relative file names.
479 (package--archive-contents-from-file): Remove the argument, since
480 it's necessarily always "archive-contents".
481 (package-maint-add-news-item): Pass relative file name args to
482 package--update-file.
483 (package-upload-buffer-internal): Prompt for a destination if
484 package-archive-upload-base is invalid. Create the directory if
486 (package-upload-buffer, package-upload-file): Doc fix.
488 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
490 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
491 and move isearch-yank-line to M-s C-e (Bug#8183).
493 2011-03-06 Alan Mackenzie <acm@muc.de>
495 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
496 (c-guess-basic-syntax): Move CASE 19 to a different place,
497 correctly to process template-args-cont lines.
499 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
501 * calc/calc-ext.el (calc-init-extensions):
502 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
503 and calc-nplevel, respectively. Add keybindings for calc-spn,
504 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
505 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
507 * calc/calc-units.el (calc-dblevel): Rename from
508 calc-logunits-dblevel.
509 (calc-nplevel): Rename from calc-logunits-nplevel.
510 (math-midi-round, math-freqp, math-midip, math-spnp)
511 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
512 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
513 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
514 (math-notes): New variable.
516 * calc/calc.el (calc-note-threshold): New variable.
518 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
520 * emacs-lisp/package.el (package-archives): Accept either ordinary
521 directory names, in addition to HTTP URLs.
522 (package--with-work-buffer): New macro. Handle normal directories.
523 (package-handle-response): Don't display the failing buffer.
524 (package-download-single, package-download-tar)
525 (package--download-one-archive): Use package--with-work-buffer.
526 (package-archive-base): Rename from package-archive-url.
528 2011-03-06 Glenn Morris <rgm@gnu.org>
530 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
531 (xmodmap-generic-mode): Respect generic-extras-enable-list.
533 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
535 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
537 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
539 * allout.el (allout-init, allout-prefixed-keybindings)
540 (allout-unprefixed-keybindings):
541 * progmodes/prolog.el (prolog-find-term):
542 Fix typos in docstrings.
544 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
546 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
548 2011-03-06 Kevin Ryde <user42@zip.com.au>
550 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
552 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
554 * window.el (one-window-p, walk-windows, display-buffer):
555 Doc fixes. (Bug#5567)
557 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
559 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
560 of the variable if it exists.
562 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
569 * net/tramp-cache.el:
570 * obsolete/fast-lock.el:
571 * textmodes/reftex.el:
572 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
574 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
576 * files.el (delete-directory, copy-directory, list-directory):
577 Use read-directory-name.
579 * find-file.el (ff-find-the-other-file):
580 * net/ange-ftp.el (ange-ftp-make-directory):
581 * printing.el (pr-interactive-dir):
582 * progmodes/ada-prj.el (ada-prj-load-directory):
583 * progmodes/ebnf2ps.el (ebnf-print-directory)
584 (ebnf-spool-directory, ebnf-eps-directory)
585 (ebnf-syntax-directory):
587 * speedbar.el (speedbar-create-directory):
588 * vc/emerge.el (emerge-merge-directories):
589 * vc/vc-dir.el (vc-dir):
590 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
592 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
594 * help-mode.el (help-buffer): If we are to return the current
595 buffer, signal an error if it's not in Help mode (Bug#8147).
597 2011-03-05 Reuben Thomas <rrt@sc3d.org>
599 * files.el (file-name-version-regexp): Handle backup files of the
600 form `foo.js.~HEAD~1~' (Bug#8159).
602 2011-03-05 Glenn Morris <rgm@gnu.org>
604 * eshell/esh-var.el: Don't require esh-test when compiling.
605 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
606 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
607 * eshell/esh-test.el: Move to ../../test/eshell.el.
609 2011-03-05 David Engster <deng@randomsample.de>
611 * files.el (save-some-buffers): Report the names of buffers saved
612 automatically due to buffer-save-without-query (Bug#8134).
614 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
616 * net/rcirc.el: Add QuakeNet authentication support.
617 (rcirc-authinfo, rcirc-check-auth-status)
618 (rcirc-authenticate): Support QuakeNet.
620 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
622 * net/rcirc.el: Add functionality to authenticate before
623 autojoining channels.
624 (rcirc-authenticate-before-join): New option.
625 (rcirc-authenticated-hook): New variable.
626 (rcirc-connect): Make local variable rcirc-user-authenticated.
627 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
628 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
630 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
631 Call rcirc-check-auth-status.
633 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
635 * net/soap-client.el (soap-namespace-put-link): Check if the target
636 name is fully qualified -- use only the name part.
637 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
638 types, treated the same as xsd:sequence. (Bug#8166)
640 2011-03-05 Eli Zaretskii <eliz@gnu.org>
642 * files.el (find-file-noselect): Don't ask about re-visiting
643 non-literally if the file is already visited in image-mode.
646 2011-03-05 Glenn Morris <rgm@gnu.org>
648 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
649 (eshell-mode): Use eshell-kill-buffer-function.
650 Run the -initialize functions independently of the -load-hooks.
651 * eshell/esh-proc.el (eshell-kill-process-function): New function.
652 (eshell-gather-process-output, eshell-sentinel)
653 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
654 Use eshell-kill-process-function.
655 * eshell/em-alias.el (eshell-alias-load-hook):
656 * eshell/em-banner.el (eshell-banner-load-hook):
657 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
658 * eshell/em-dirs.el (eshell-dirs-load-hook):
659 * eshell/em-glob.el (eshell-glob-load-hook):
660 * eshell/em-hist.el (eshell-hist-load-hook):
661 * eshell/em-pred.el (eshell-pred-load-hook):
662 * eshell/em-prompt.el (eshell-prompt-load-hook):
663 * eshell/em-rebind.el (eshell-rebind-load-hook):
664 * eshell/em-script.el (eshell-script-load-hook):
665 * eshell/em-smart.el (eshell-smart-load-hook):
666 * eshell/em-term.el (eshell-term-load-hook):
667 * eshell/em-unix.el (eshell-unix-load-hook):
668 * eshell/esh-arg.el (eshell-arg-load-hook):
669 * eshell/esh-cmd.el (eshell-cmd-load-hook):
670 * eshell/esh-ext.el (eshell-ext-load-hook):
671 * eshell/esh-io.el (eshell-io-load-hook):
672 * eshell/esh-mode.el (eshell-exit-hook):
673 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
674 * eshell/esh-var.el (eshell-var-load-hook):
675 Set default hook values to nil. (Bug#5375)
677 * eshell/esh-module.el (eshell-module-unload-hook)
678 (eshell-modules-list): Remove leading * from defcustom docs.
680 * eshell/esh-util.el (eshell-for): Make it obsolete.
681 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
682 * eshell/em-dirs.el (eshell-save-some-last-dir):
683 * eshell/em-hist.el (eshell-save-some-history)
684 (eshell-hist-parse-modifier):
685 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
687 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
688 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
690 * eshell/esh-ext.el (eshell-find-interpreter):
691 * eshell/esh-mode.el (eshell-mode):
692 * eshell/esh-module.el (eshell-unload-extension-modules):
693 * eshell/esh-proc.el (eshell-process-interact):
694 * eshell/esh-test.el (eshell-test):
695 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
696 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
697 (eshell-variables-list):
698 * eshell/eshell.el (eshell-unload-all-modules):
699 Replace eshell-for with dolist.
701 2011-03-04 Glenn Morris <rgm@gnu.org>
703 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
705 2011-03-04 Tom Tromey <tromey@redhat.com>
707 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
709 2011-03-04 Glenn Morris <rgm@gnu.org>
711 * outline.el (outline-regexp): No longer allow nil.
712 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
714 * net/browse-url.el (browse-url):
715 Handle deleted default-directory. (Bug#6077)
717 * recentf.el (recentf-include-p): In case of a buggy predicate,
718 err on the side of including, not excluding. (Bug#5843)
720 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
722 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
725 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
727 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
728 if there is no node. (Bug#3261)
730 2011-03-04 Leo <sdl.web@gmail.com>
732 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
734 * time.el (display-time-world-list): Fix typo. (Bug#7571)
736 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
738 * cus-edit.el (custom-buffer-create-internal):
739 Split search string before passing it to `customize-apropos' (bug#8136).
741 2011-03-04 Drew Adams <drew.adams@oracle.com>
743 * image-dired.el (image-dired-cmd-read-exif-data-options):
744 Fix typo in docstring (bug#8156).
746 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
748 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
750 2011-03-03 Christian Ohler <ohler@gnu.org>
752 * emacs-lisp/ert.el (ert--explain-equal): New function.
753 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
755 (ert--explain-equal-including-properties): Renamed from
756 `ert--explain-not-equal-including-properties'. All callers
759 2011-03-03 Christian Ohler <ohler@gnu.org>
761 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
762 (ert-char-for-test-result, ert-string-for-test-result)
763 (ert-run-tests-batch, ert--print-test-for-ewoc):
764 Handle `ert-test-quit'.
766 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
768 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
769 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
771 2011-03-03 Glenn Morris <rgm@gnu.org>
773 * files.el (file-truename): Doc fix. (Bug#2341)
775 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
777 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
779 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
781 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
782 programs output backslashes. (Bug#7663)
784 2011-03-03 Glenn Morris <rgm@gnu.org>
786 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
787 (mail-mode): Remove mail-sent-via from the doc.
788 (mail-sent-via): Make it obsolete. (Bug#1776)
790 * progmodes/grep.el (grep-highlight-matches): Doc fix.
791 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
793 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
794 with no parents. (Bug#8025)
796 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
798 * password-cache.el (password-in-cache-p): Add autoload.
800 2011-03-02 Glenn Morris <rgm@gnu.org>
802 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
803 * dired-x.el (Man-support-local-filenames): Autoload it.
804 (dired-guess-shell-alist-default): Also handle Red Hat's man.
806 * dired-x.el (dired-default-directory-alist, dired-default-directory):
808 (dired-smart-shell-command): Just call dired-current-directory.
810 * dired-x.el (dired-jump-other-window): Add autoload.
811 (dired-default-directory-alist, dired-default-directory): Doc fixes.
812 (dired-default-directory-alist): Mark as risky.
814 * dired-x.el (dired-omit-here-always): Make it obsolete.
816 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
818 * textmodes/artist.el (artist-curr-go): Default to pen-line.
819 (artist-select-op-pen-line): New function.
820 (artist-menu-map): New variable.
821 (artist-mode-map): Add a menu to the menu-bar.
823 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
825 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
828 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
830 (math-logunits-add, math-logunits-mul, math-logunits-divide):
831 (math-logunits-quant, math-logunits-level):
832 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
834 (math-logunits-level): Extract units from ratio.
836 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
838 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
840 2011-03-01 Glenn Morris <rgm@gnu.org>
842 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
843 (diary-hebrew-birthday): Rename and rework functions added
846 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
848 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
849 (diary-hebrew-birthday): New functions.
851 2011-03-01 Glenn Morris <rgm@gnu.org>
853 * dired.el (dired-safe-switches-p): Beef it up.
854 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
856 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
858 * dired.el (dired-safe-switches-p): New function.
860 2011-03-01 Glenn Morris <rgm@gnu.org>
862 * files.el (dir-locals-collect-variables):
863 Add the ability to exclude subdirectories. (Bug#8100)
865 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
867 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
869 * ido.el (ido-everywhere): Doc fix.
872 2011-02-28 Glenn Morris <rgm@gnu.org>
874 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
876 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
878 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
881 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
883 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
885 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
887 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
888 Fix typos in docstrings.
890 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
892 * dired-aux.el (dired-update-file-line):
893 Fix 2010-11-09 change. (Bug#8131)
895 2011-02-28 Eli Zaretskii <eliz@gnu.org>
897 * international/mule-cmds.el (set-default-coding-systems): Use the
898 -unix variant of encoding in default-keyboard-coding-system.
901 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
903 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
905 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
907 * term/screen.el: New file (Bug#2650).
909 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
911 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
912 (pcase-mutually-exclusive-predicates): New var.
913 (pcase--split-consp, pcase--split-pred): Use it.
914 (pcase--split-equal, pcase--split-member): When splitting against
915 a pure predicate, run it to know the outcome.
916 (pcase--u1): Mark vars that are actually used.
917 (pcase--q1): Avoid introducing unused vars.
919 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
921 * calc/calc-ext.el (calc-init-extensions):
922 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
924 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
927 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
928 argument is a variable.
930 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
932 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
933 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
934 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
936 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
938 * password-cache.el (password-in-cache-p): Convenience function to
939 check if a key is in the cache, even if the value is nil.
941 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
943 * emacs-lisp/package-x.el (package--archive-contents-from-url)
944 (package--archive-contents-from-file): New functions.
945 (package-update-news-on-upload): New var.
946 (package-upload-buffer-internal): Extract archive-contents from
947 package-archive-upload-base if it is not found at archive-url.
948 Obey package-update-news-on-upload.
949 (package-upload-buffer, package-upload-file): Doc fix.
951 2011-02-24 Glenn Morris <rgm@gnu.org>
953 * files-x.el (modify-dir-local-variable): Handle dir-locals from
954 the cache, and from non-file sources.
956 * help-fns.el (describe-variable): Return consistent results when a
957 dir-local from a file came from the cache or did not. (Bug#8095)
958 If a dir-local has no associated file, say it came from a "directory".
960 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
961 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
963 * files.el (dir-locals-find-file): Doc fix.
964 Fix the check for cache elements that have no associated file,
965 and the mtime check for those that do. (Bug#8095)
967 * dired-x.el (dired-hack-local-variables):
968 Handle interrupts during hacking local variables. (Bug#5216)
970 * emacs-lisp/autoload.el (autoload-save-buffers)
971 (autoload-find-destination, update-directory-autoloads):
972 Avoid prompts when updating autoloads.
974 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
976 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
978 2011-02-23 Kenichi Handa <handa@m17n.org>
980 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
981 error when a multipart boundary in the nested multipart is found.
983 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
986 2011-02-23 Glenn Morris <rgm@gnu.org>
988 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
989 * dired-x.el (dired-omit-mode): Safe if boolean.
990 (dired-enable-local-variables): Fix doc and custom type.
991 (dired-enable-local-variables, dired-local-variables-file)
992 (dired-hack-local-variables): Make obsolete.
993 (dired-omit-here-always): Use dir-locals.el instead.
995 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
997 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
999 * help-fns.el (describe-function-1): Don't signal an error just because
1000 the DOC file disappeared.
1002 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1004 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1005 remote check to "ftp". (Bug#8089)
1007 2011-02-21 Alan Mackenzie <acm@muc.de>
1010 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1011 in macros finding their way into c-state-nonlit-pos-cache.
1012 Strengthen the comments.
1013 (c-state-dump): New commented out diagnostic routine.
1015 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1017 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1018 `field' property of `rfn-eshadow-overlay'.
1020 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1022 * net/netrc.el (netrc-parse): Comment fix.
1024 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1026 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1027 Autoload. Add optional arg FRAME, and pass it to color-values.
1028 (color-complement): Caller changed. Doc fix.
1029 (color-gradient): Rewrite for better clarity and efficiency.
1031 * faces.el (color-values): Use cond for clarity. Doc fix.
1033 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1035 (list-colors-sort-key, list-colors-print):
1036 Use color-normalized-values.
1038 2011-02-20 Drew Adams <drew.adams@oracle.com>
1040 * color.el: First part of merge from hexrgb.el.
1041 (color-rgb-to-hex): Rename from color-rgb->hex.
1042 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1043 saturation to zero if the value is too small.
1044 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1045 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1046 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1047 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1048 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1049 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1050 (color-cie-de2000): Doc fix.
1052 2011-02-20 Alan Mackenzie <acm@muc.de>
1054 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1055 locating the beginning of a macro. (Bug#7595)
1057 2011-02-20 Glenn Morris <rgm@gnu.org>
1059 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1062 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1063 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1065 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1066 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1068 * progmodes/hideshow.el (hs-find-block-beginning)
1069 (hs-hide-level-recursive): Ignore comments when parsing braces
1072 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1074 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1075 (vc-bzr-pull): Use it.
1077 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1079 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1080 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1081 but returning an alist. Ignore comments in bzr conffile.
1082 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1083 (vc-bzr-error-regex-alist): New var.
1084 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1086 * vc/vc-dispatcher.el (vc-do-async-command):
1087 Bind inhibit-read-only to t.
1089 * progmodes/compile.el (compilation--flush-directory-cache):
1090 Handle the case where cdr of compilation--flush-directory-cache
1091 points to no buffer, which can occur if we previously switched to
1092 compilation-mode in a pregenerated buffer.
1094 2011-02-19 Kenichi Handa <handa@m17n.org>
1096 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1097 get the header copy into the temporary buffer.
1098 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1099 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1100 buffer-file-coding-system to undecided.
1102 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1104 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1105 Document completion with asterisk and a substring.
1107 2011-02-19 Glenn Morris <rgm@gnu.org>
1109 * files.el (find-file-literally): Doc fix.
1111 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1113 * log-edit.el (log-edit-insert-changelog):
1114 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1116 2011-02-19 Glenn Morris <rgm@gnu.org>
1118 * dired-x.el: Don't require dired-aux.
1119 (dired-do-create-files, dired-mark-read-regexp)
1120 (dired-do-create-files-regexp): Autoload from dired-aux.
1122 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1123 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1125 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1126 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1128 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1129 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1130 (dired-clean-up-buffers-too): Declare.
1132 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1133 * dired.el (dired-initial-position): Merge dired-x's version here.
1134 (dired-find-subdir): Declare.
1136 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1137 * dired-aux.el (dired-add-entry): Give it a doc-string.
1138 Merge dired-x's dired-omit handling here.
1139 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1141 * international/mule-diag.el (list-input-methods-1):
1142 Indent all lines of multi-line doc-strings. (Bug#8066)
1144 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1146 Fix 2011-02-02 changes.
1148 * apropos.el (apropos-print): Call apropos-mode before setting up
1149 buffer variables. Use inhibit-read-only.
1151 * emacs-lisp/package.el (package--list-packages):
1152 Call package-menu-mode before setting up buffer variables.
1154 * play/solitaire.el (solitaire): Call solitaire-mode before
1155 setting up buffer variables. Use inhibit-read-only.
1157 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1159 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1160 Bind case-fold-search to nil when looking for end of here-doc.
1162 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1164 * image-mode.el (image-toggle-display-image):
1165 Set find-file-literally non-nil in buffers visiting binary image
1168 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1170 * files.el (cd): Make completion obey cd-path (bug#7924).
1172 2011-02-18 Glenn Morris <rgm@gnu.org>
1174 * progmodes/prolog.el: Don't require compile when compiling.
1175 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1176 (compilation-forget-errors, compilation-fake-loc)
1177 (compilation-parse-errors-function, compilation-error-list): Declare.
1178 (prolog-inferior-mode): Require 'compile.
1180 * emulation/cua-base.el (pc-selection-mode): Declare.
1182 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1183 (customize-object): Add autoload cookie.
1184 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1185 (eieio-browse, describe-class, eieio-describe-class)
1186 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1187 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1188 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1189 * Makefile.in (autoloads): Make eieio.el writable.
1191 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1192 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1193 (dired-hack-local-variables): Use inhibit-read-only.
1194 (dired-guess-default): Simplify.
1195 (dired-make-relative-symlink): Use dotimes.
1196 (dired-simultaneous-find-file): Use dolist.
1197 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1198 (dired-x-hands-off-my-keys): Doc fix.
1199 (dired-x-bind-find-file): Doc fix. Use remapping.
1200 (after-init-hook): No need to add dired-x-bind-find-file.
1201 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1202 No need to call expand-file-name.
1203 (dired-filename-at-point): Remove unused locals `end', `filename'.
1205 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1207 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1209 2011-02-18 Christian Ohler <ohler@gnu.org>
1211 * emacs-lisp/ert.el (ert--setup-results-buffer)
1212 (ert-results-pop-to-backtrace-for-test-at-point)
1213 (ert-results-pop-to-messages-for-test-at-point)
1214 (ert-results-pop-to-should-forms-for-test-at-point)
1215 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1216 were incorrect and unnecessary. This should make `make check'
1219 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1221 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1222 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1223 * lisp/allout.el: Remove commentary about remove encryption
1224 passphrase mnemonic support and verification.
1225 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1226 armored text using gpg1, and indicate that the gpg version *might*
1227 be the problem in the error message.
1229 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1231 * net/rcirc.el (rcirc-float-time): New function.
1232 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1233 (rcirc-ctcp-sender-PING): Use it.
1235 2011-02-17 Glenn Morris <rgm@gnu.org>
1237 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1238 (speedbar-update-flag, speedbar-fetch-etags-command)
1239 (speedbar-fetch-etags-arguments):
1240 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1241 (term-completion-autolist, term-completion-addsuffix)
1242 (term-completion-recexact, term-completion-fignore):
1243 * term/sup-mouse.el (sup-mouse-fast-select-window):
1244 * term/x-win.el (x-select-request-type):
1245 Convert some defvars with "*" to defcustoms.
1247 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1249 * vc/vc.el (vc-default-previous-version):
1250 Remove alias that points nowhere. (Bug#4496)
1252 * dired-x.el (dired-clean-up-after-deletion):
1253 kill-buffer does not need save-excursion.
1254 (dired-do-run-mail): Doc fix.
1255 (dired-filename-at-point): Doc fix.
1256 Use looking-at, and skip-chars rather than re search.
1258 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1260 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1262 * allout-widgets.el: New allout extension that shows allout
1263 outline structure with graphical widgets. 'allout-widgets'
1264 customize group is an 'allout' subgroup, for easy discovery.
1266 * allout.el: Include PGP and GnuPG in Keywords, and other
1267 commentary refinements.
1268 (allout-abbreviate-flattened-numbering): Rename to
1269 allout-flattened-numbering-abbreviation, and
1270 define-obsolete-variable-alias the old name.
1271 (allout-flattened-numbering-abbreviation): Rename from
1272 allout-abbreviate-flattened-numbering.
1273 (allout-mode-p): Include among autoloads, for use by other modes
1275 (allout-listify-exposed):
1276 Use allout-flattened-numbering-abbreviation.
1277 (allout-encrypt-string): Use set-buffer-multibyte directly.
1278 (allout-set-buffer-multibyte): Remove.
1280 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1282 * simple.el (just-one-space): Remove useless `or' call.
1284 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1286 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1287 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1288 (soap-decoded-multi-refs, soap-current-wsdl)
1289 (soap-encoded-namespaces): Rename CL-style *...* variables.
1291 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1293 * net/soap-client.el: Add "comm" and "hypermedia" to the
1294 keywords. Reflow too long lines.
1296 * net/soap-inspect.el: Ditto. Require 'cl.
1298 2011-02-16 Bastien Guerry <bzg@altern.org>
1300 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1301 in a `doctor-type' argument.
1303 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1305 * net/soap-client.el:
1306 * net/soap-inspect.el: New files.
1308 2011-02-16 Leo <sdl.web@gmail.com>
1310 * dired-x.el (dired-mode-map, dired-extra-startup):
1311 Remove dired-copy-filename-as-kill since it's already in dired.el.
1313 2011-02-16 Glenn Morris <rgm@gnu.org>
1315 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1316 Doc fixes. Add :set property, replacing top-level calls.
1317 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1318 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1319 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1320 (dired-clean-up-after-deletion): Use when and dolist.
1321 (dired-jump): Use unless and when.
1322 (dired-virtual): Use line-end-position.
1323 (dired-default-directory-alist): Rename from default-directory-alist.
1324 (dired-default-directory): Update for above name change.
1325 (dired-vm): Drop VM < 5 and simplify.
1326 (dired-buffer-more-recently-used-p): Rewrite.
1327 (dired-filename-at-point): Use when and or.
1328 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1331 2011-02-15 Glenn Morris <rgm@gnu.org>
1333 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1335 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1337 * vc/vc-git.el (vc-git-root-log-format): New option for
1338 customizing log format.
1339 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1340 (vc-git-log-view-mode): Use it.
1341 (vc-git-expanded-log-entry): New function.
1342 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1344 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1345 customizing log format.
1346 (vc-hg-print-log): Use it.
1347 (vc-hg-expanded-log-entry): New function.
1348 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1349 vc-hg-expanded-log-entry. Truncate lines in root log.
1351 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1353 * vc/log-view.el (log-view-mode-menu):
1354 Add log-view-toggle-entry-display.
1356 2011-02-14 Glenn Morris <rgm@gnu.org>
1358 * dired-x.el: Don't require man when compiling.
1359 (dired-omit-extensions, dired-local-variables-file)
1360 (dired-x-hands-off-my-keys): Make them defcustoms.
1361 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1362 (vm-visit-folder): Declare rather than defining.
1363 (dired-x-help-address, dired-x-variable-list): Remove.
1364 (dired-x-submit-report): Make it an obsolete alias.
1366 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1368 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1370 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1372 * net/imap.el: Bring it back.
1374 2011-02-13 Alan Mackenzie <acm@muc.de>
1376 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1377 narrow-to-region call that cuts context off the end (Bug#7722).
1379 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1380 Refactor nested if-forms with a simple cond.
1381 (c-forward-<>-arglist): Revert 2011-01-31 change.
1383 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1385 * vc/log-view.el: New command log-view-toggle-entry-display for
1386 toggling log entries between concise and detailed forms.
1387 (log-view-toggle-entry-display): New command.
1388 (log-view-mode-map): Bind RET to it.
1389 (log-view-expanded-log-entry-function): New variable.
1390 (log-view-current-entry, log-view-inside-comment-p)
1391 (log-view-current-tag): New functions.
1392 (log-view-toggle-mark-entry): Use log-view-current-entry and
1393 log-view-end-of-defun instead of searching directly with
1394 log-view-message-re.
1395 (log-view-end-of-defun): Likewise. Add optional ARG for
1396 compatibility with end-of-defun.
1397 (log-view-end-of-defun): Ignore comments and VC buttons.
1399 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1400 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1402 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1404 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1406 * net/imap-hash.el: Remove file.
1408 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1410 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1412 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1415 * net/tramp-imap.el: Remove file.
1417 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1419 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1420 widget library for buttons, just use button.el.
1422 * vc/log-view.el (log-view-mode-map): Don't inherit from
1425 2011-02-12 Glenn Morris <rgm@gnu.org>
1427 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1428 (nintersection, set-difference, nset-difference)
1429 (set-exclusive-or, nset-exclusive-or): Doc fix.
1431 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1433 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1434 :italic props, so that frame-set-background-mode works. (Bug#7966)
1436 * simple.el (next-error): Doc fix.
1438 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1440 * dired-aux.el (dired-create-files): Adapt destination name to
1441 match the new behavior of copy-directory.
1443 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1445 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1446 from rmail-dont-reply-to-names. Callers changed.
1447 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1448 (rmail-dont-reply-to): Make it an obsolete alias.
1450 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1451 nil, and make obsolete (Bug#7888).
1452 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1454 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1456 * mail/rmailsort.el (rmail-sort-by-correspondent)
1457 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1459 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1461 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1463 * files.el (copy-directory): New argument COPY-CONTENTS for
1464 copying directory contents into another existing directory.
1466 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1468 * minibuffer.el (completion-table-case-fold): New function for
1469 creating a case-insensitive completion table.
1471 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1473 * net/tramp.el (tramp-default-method): Also check if
1474 `auth-source-search' is bound.
1475 (tramp-read-passwd): Use `auth-source-search' instead of
1476 `auto-source-user-or-password'.
1478 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1479 `auto-source-user-or-password.
1480 (tramp-imap-passphrase-callback-function): Use it.
1482 * net/imap-hash.el: Autoload `auto-source-search' instead of
1483 `auto-source-user-or-password.
1484 (imap-hash-open-connection): Use it.
1486 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1487 `auto-source-user-or-password.
1488 (smtpmail-try-auth-methods): Use it.
1490 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1492 * emacs-lisp/package.el: Allow packages to be reinstalled.
1493 (package--write-file-no-coding): Remove EXCL arg.
1494 (package-unpack-single): Don't use it.
1496 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1498 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1499 in each sub directory.
1500 (vc-svn-registered): Use vc-svn-root.
1501 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1502 (vc-svn-repository-hostname): Use "svn info".
1504 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1506 * simple.el (delete-trailing-whitespace): New optional buffer
1509 2011-02-11 Bastien Guerry <bzg@altern.org>
1511 * files.el (basic-save-buffer): save unmodified buffers when
1512 the file pointed by buffer-file-name doesn't exist.
1514 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1516 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1518 2011-02-11 Glenn Morris <rgm@gnu.org>
1520 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1522 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1524 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1526 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * server.el (server-process-filter): Use pcase.
1530 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1532 (smie-indent--parent): Extend to "parent of arg".
1533 (smie-indent-inside-string): New function.
1534 (smie-indent-functions): Use it.
1536 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1537 bzr locking race condition.
1539 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1540 still valid before using it.
1542 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1543 `message' -> `compilation-message' rename (bug#8004).
1545 Move keymap initialization into declaration.
1546 * textmodes/enriched.el (enriched-mode-map):
1547 * textmodes/bib-mode.el (bib-mode-map):
1548 * term/lk201.el (lk201-function-map):
1549 * tar-mode.el (tar-mode-map):
1550 * replace.el (occur-mode-map):
1551 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1552 * progmodes/idlw-help.el (idlwave-help-mode-map):
1553 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1554 * play/solitaire.el (solitaire-mode-map):
1555 * play/snake.el (snake-mode-map, snake-null-map):
1556 * play/pong.el (pong-mode-map):
1557 * play/handwrite.el (menu-bar-handwrite-map):
1558 * play/gametree.el (gametree-mode-map):
1559 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1560 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1561 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1562 (newsticker--url-keymap):
1563 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1564 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1565 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1566 (menu-bar-edit-menu, menu-bar-custom-menu)
1567 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1568 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1569 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1570 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1571 (menu-bar-tools-menu, menu-bar-describe-menu)
1572 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1573 (menu-bar-help-menu):
1574 * mail/rmailsum.el (rmail-summary-mode-map):
1575 * kmacro.el (kmacro-step-edit-map):
1576 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1577 (ibuffer-mode-operate-map):
1578 * hi-lock.el (hi-lock-menu, hi-lock-map):
1579 * emulation/vip.el (vip-mode-map):
1580 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1581 * bookmark.el (bookmark-bmenu-mode-map):
1582 * help-mode.el (help-mode-map): Move initialization into declaration.
1584 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1586 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1587 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1588 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1589 (rcirc-cmd-me, rcirc-authenticate): Use them.
1591 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1593 * allout.el: Synopsis: Change allout user configuration so
1594 auto-activation is controlled solely by customization
1595 `allout-auto-activation'.
1597 (allout-auto-activation-helper, allout-setup): New autoloads
1598 implement new custom set procedure for allout-auto-activation.
1599 Also, explicitly invoke (allout-setup) after allout-auto-activation
1600 is custom-defined, to affect the settings in emacs sessions besides
1601 the few where allout-auto-activation customization is done.
1602 (allout-auto-activation): Use allout-auto-activation-helper to
1603 :set. Revise the docstring.
1604 (allout-init): Reduce functionality to just customizing
1605 allout-auto-activation, and mark obsolete.
1606 (allout-mode): Respect string values for allout-auto-activation.
1607 Run allout-after-copy-or-kill-hook without any args.
1608 (allout-mode, allout-layout, allout-default-layout)
1609 (outlineify-sticky): Adjust docstring for new scheme.
1610 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1611 should concentrate on the kill ring.
1613 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1615 * password-cache.el (password-cache-remove): Accept secrets that are
1618 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1621 of here-doc that immediately follows a comment.
1623 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1625 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1627 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1629 (rcirc-ctcp-sender-PING): New function.
1631 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1634 Remove the mark/nomark handling, and activate shift-select-mode instead.
1636 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1638 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1640 * calc/calc-units.el (math-logunits-quant): Add support for
1641 non-logarithmic units.
1643 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1645 * allout.el (allout-after-copy-or-kill-hook): New hook for
1646 extension-specific processing of killed text.
1647 (allout-mode): Include new allout-after-copy-or-kill-hook among
1649 (allout-kill-line, allout-kill-topic): Ensure that processing
1650 after kill happens even if barf-if-buffer-read-only is raised.
1651 Include new allout-after-copy-or-kill-hook among that subsequent
1653 (allout-deannotate-hidden): Actually remove the annotation text
1656 * allout.el (allout-listify-exposed): Copy text sans text properties.
1658 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1660 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1662 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1664 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1666 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1668 * calc/calc.el (calc-logunits-field-reference): Rename from
1669 `calc-default-field-reference-level'.
1670 (calc-logunits-power-reference): Rename from
1671 `calc-default-power-reference-level'.
1673 * calc/calc-units.el (math-logunits-quant): Rename from
1674 `math-logunits-level'
1675 (math-logunits-plus): Rename from math-logcombine.
1676 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1677 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1678 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1680 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1681 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1682 (calc-logunits-quantity): Rename from `calc-level'.
1683 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1684 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1685 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1686 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1687 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1690 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1691 (calc-ul-prefix-help): Remove.
1692 (calc-l-prefix-help): New function.
1693 (calc-full-help): Add reference to `calc-l-prefix-help'.
1695 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1697 * calc/README: Mention logarithmic units.
1699 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1701 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1702 non-ASCII characters (Bug#7925).
1704 2011-02-05 Glenn Morris <rgm@gnu.org>
1706 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1708 * calendar/diary-lib.el (diary-font-lock-keywords):
1709 Tweak diary-time-regexp match. (Bug#7891)
1711 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1712 (f90-mode): Use it for mode's `find-tag-default-function' property.
1714 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1716 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1718 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1720 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1723 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1726 font-lock-syntax-table remappings.
1727 (sh-here-doc-markers, sh-here-doc-re): Remove.
1728 (sh-font-lock-close-heredoc): Remove.
1729 (sh-syntax-propertize-here-doc): New function.
1730 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1731 instead of the sh-here-doc-re.
1732 (sh-font-lock-paren): Don't do anything in comments or strings.
1733 Handle line continuations. Accept a few more chars.
1734 Don't rely on the font-lock-syntax-table remappings.
1735 `esac' is not a valid pattern.
1736 (sh-syntax-propertize-function): Handle here-docs differently, so we
1737 don't bother syntax-propertizing the insides.
1739 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1740 Handle new bashisms ";&" and ";;&" (bug#7947).
1742 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1744 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1745 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1747 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1749 * net/tramp.el (tramp-postfix-method-format)
1750 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1751 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1752 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1753 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1754 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1757 2011-02-04 Sam Steingold <sds@gnu.org>
1759 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1761 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1763 * international/mule-util.el (with-coding-priority): Doc fix.
1765 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1767 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1769 2011-02-03 Sam Steingold <sds@gnu.org>
1771 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1772 Do not error out when `func' is nil.
1774 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1776 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1777 `tramp-default-remote-path' to the docstring.
1778 (tramp-get-remote-path): Suppress error message when `getconf
1781 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1783 2011-02-03 Glenn Morris <rgm@gnu.org>
1785 * vc/vc-hg.el (vc-hg-command): Doc fix.
1787 * term/w32-win.el (libpng-version): Declare for compiler.
1789 * msb.el: No need to load dired while compiling.
1791 * emacs-lisp/elint.el (elint-standard-variables):
1792 Remove a couple of built-ins that now have doc-strings.
1794 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1795 `require' is automatically `eval-and-compile'd.
1797 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1798 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1800 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1801 Move definition before use.
1802 (strokes-report-bug): Make it obsolete.
1804 2011-02-02 Sam Steingold <sds@gnu.org>
1806 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1807 from `special-mode', entering it makes the buffer read-only, so
1808 call it only when everything has been already inserted.
1809 * emacs-lisp/ert.el (ert--setup-results-buffer)
1810 (ert-results-pop-to-backtrace-for-test-at-point)
1811 (ert-results-pop-to-messages-for-test-at-point)
1812 (ert-results-pop-to-timings): Ditto.
1813 * emacs-lisp/package.el (package--list-packages): Ditto.
1814 * play/solitaire.el (solitaire): Ditto.
1816 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1818 * progmodes/compile.el: Make all faces inherit.
1819 (compilation-warning): Inherit from font-lock-variable-name-face.
1820 (compilation-info): Inherit from font-lock-type-face.
1821 (compilation-line-number): Reassign to font-lock-keyword-face.
1822 (compilation-column-number): Reassign to font-lock-doc-face.
1823 (compilation-leave-directory-face): Reassign to
1824 font-lock-builtin-face.
1826 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1828 * dired.el (dired-insert-directory): Don't invoke `ls' when
1829 ls-lisp.el is used to emulate it.
1831 2011-02-01 Julien Danjou <julien@danjou.info>
1833 * color.el (color-gradient): Add a color-gradient function.
1835 2011-02-01 Sam Steingold <sds@gnu.org>
1837 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1838 bind "z" to `kill-this-buffer'.
1839 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1840 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1841 (apropos-mode): Inherit from `special-mode'.
1842 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1843 * bookmark.el (bookmark-bmenu-mode): Define using
1844 `define-derived-mode' inheriting from `special-mode'.
1845 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1846 * image-mode.el (image-mode-map): Ditto.
1847 * replace.el (occur-mode): Define using
1848 `define-derived-mode' inheriting from `special-mode'.
1849 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1850 * calendar/diary-lib.el (diary-fancy-display-mode):
1851 Inherit from `special-mode-map'.
1852 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1853 Inherit from `special-mode'.
1854 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1856 (package-menu-mode): Define using `define-derived-mode'
1857 inheriting from `special-mode'.
1858 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1859 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1860 (xesam-mode-map): Define separately.
1861 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1862 * progmodes/compile.el (compilation-minor-mode-map)
1863 (compilation-mode-map): Inherit from `special-mode-map'.
1864 * vc/diff-mode.el (diff-mode-shared-map):
1865 Inherit from `special-mode-map'.
1866 * vc/log-view.el (log-view-mode-map): Add a comment.
1868 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1870 * custom.el (load-theme): Define return value. Drop use of
1871 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1872 (custom-theme-load-confirm): Scroll in the correct window.
1873 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1875 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1876 checkbox if load-theme fails.
1878 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * progmodes/compile.el (compilation-next-error): Check there's
1881 a message before using it (bug#7941).
1883 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1885 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1886 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1887 of potential pivots.
1889 2011-01-31 Alan Mackenzie <acm@muc.de>
1891 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1892 Continue parsing if we encounter a naked # (Bug#7595).
1893 (c-beginning-of-statement): Avoid loop in locating the beginning
1894 of a macro. (Not actually committed until 2011-02-20, see above).
1896 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1898 * files.el (copy-directory): Fix arguments to recursive call.
1900 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1902 * files.el (copy-directory): If destination is an existing
1903 directory, copy into a subdirectory there.
1905 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1907 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1910 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1912 * image-dired.el (image-dired-mouse-display-image): No-op if no
1913 file is found (Bug#7817).
1915 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1917 2011-01-31 Kenichi Handa <handa@m17n.org>
1919 * international/quail.el (quail-keyboard-layout-alist):
1920 Remove superfluous SPC for "pc105-uk" (bug#7927).
1922 2011-01-31 Glenn Morris <rgm@gnu.org>
1924 * msb.el (msb-menu-bar-update-buffers): Update for changed
1925 argument handling of menu-bar-select-frame. (Bug#7902)
1927 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1929 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1930 to the recursion depth (Bug#7722).
1932 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1934 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1935 command-line-default-directory (Bug#7872).
1937 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * progmodes/compile.el (compilation--flush-directory-cache):
1940 New function, extracted from compilation--remove-properties.
1941 (compilation--remove-properties, compilation--parse-region): Use it.
1942 (compilation--previous-directory): Handle one more case.
1943 (compilation-enable-debug-messages): Remove.
1944 (compilation-parse-errors, compilation--flush-parse): Just remove the
1945 left over debug messages.
1947 2011-01-31 Sam Steingold <sds@gnu.org>
1949 * progmodes/compile.el (compilation-enable-debug-messages):
1950 Add a variable to make the parsing messages introduced in
1951 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1952 (compilation-parse-errors, compilation--flush-parse): Use it.
1954 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1956 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1957 (rcirc-nick-completion-format): New defcustom.
1958 (rcirc-complete): Use it.
1960 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1962 * net/rcirc.el: Clean log filenames (Bug#7933).
1963 (rcirc-log-write): Use convert-standard-filename.
1964 (rcirc-log-filename-function): Documentation updates.
1966 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1968 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1969 Check report-emacs-bug-can-use-osx-open and use that if t.
1970 (report-emacs-bug-can-use-osx-open): New function.
1971 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1972 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1974 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1976 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1977 updating Dired or VC-dir buffers after async command completes.
1979 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1980 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1982 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1983 completions if it exists. Use vc-set-async-update.
1984 (vc-git-pull): Use vc-set-async-update.
1986 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1987 read-shell-command. Use vc-set-async-update.
1988 (vc-hg-merge-branch): Use vc-set-async-update.
1990 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1992 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1993 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1996 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1998 * progmodes/compile.el: Avoid an N² behavior in grep.
1999 (compilation--previous-directory): New fun.
2000 (compilation--previous-directory-cache): New var.
2001 (compilation--remove-properties): Flush it.
2002 (compilation-directory-properties, compilation-error-properties):
2003 Use the new fun to speed up looking for the current directory.
2005 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2007 * vc/vc-hg.el (vc-hg-history): New var.
2008 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2009 (vc-hg-merge-branch): New function.
2011 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2012 the other way around.
2014 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2015 (vc-git-merge-branch): New functions.
2016 (vc-git-history): New var.
2018 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2020 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2022 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2023 vc-do-async-command.
2025 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2028 2011-01-28 Leo <sdl.web@gmail.com>
2030 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2031 highlighting to the "this function is advised" message.
2033 * help-mode.el (help-mode-finish): Apply highlighting here, to
2034 avoid clobbering by substitute-command-keys (Bug#6304).
2036 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2038 * woman.el (woman0-roff-buffer): Process roff escape sequences
2039 occurring prior to the first request (Bug#7843).
2041 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2043 * progmodes/compile.el: Don't use font-lock any more.
2044 (compilation-error-regexp-alist-alist): Change handling of makepp
2045 so it preserves the warning/error distinction on subsequent files.
2046 Simplify various rules.
2047 (compilation-directory-properties): Use font-lock-face.
2048 Add a compilation-message property.
2049 (compilation-internal-error-properties): Use font-lock-face.
2050 Don't set the compilation-debug property here.
2051 (compilation--put-prop, compilation--remove-properties)
2052 (compilation--parse-region, compilation--ensure-parse)
2053 (compilation--ensure-parse): New functions.
2054 (compilation-parse-errors): New function, largely inspired of
2055 compilation-mode-font-lock-keywords. Set compilation-debug here.
2056 (compilation--parsed): New var.
2057 (compilation--flush-parse): Use compilation--ensure-parse.
2058 (compilation-start): Don't call font-lock.
2059 (compilation-turn-on-font-lock): Remove.
2060 (compilation-setup): Don't set font-lock-extra-managed-props not change
2061 other font-lock settings, other than keywords.
2062 Don't activate font-lock-mode.
2063 Set change-major-mode-hook and before-change-functions.
2064 (compilation--unsetup): Remove properties and hooks.
2065 (compilation-next-single-property-change): New function.
2066 (compilation-next-error): Use it to parse when needed.
2067 (compile-goto-error): Parse buffer as needed.
2068 (compilation--compat-error-properties): Don't need a dummy `face'
2071 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2073 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2074 (compilation-process-setup-function): Fix docstring's false promises.
2075 (compilation-error-regexp-alist-alist): Catch omake's continuous
2076 recompilation message and avoid reuse of old markers.
2077 (compilation-parse-errors-function): Declare obsolete.
2078 (compilation-buffer-modtime): Remove.
2079 (compilation--make-cdrloc, compilation--loc->col)
2080 (compilation--loc->line, compilation--loc->file-struct)
2081 (compilation--loc->marker, compilation--loc->visited)
2082 (compilation--make-file-struct, compilation--file-struct->file-spec)
2083 (compilation--file-struct->formats)
2084 (compilation--file-struct->loc-tree): New macros. Use them.
2085 (compilation--message): New defstruct. Use them.
2086 (compilation-next-error-function): Don't mess with timestamps to try
2087 and guess when to reparse.
2089 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2091 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2092 (tex-old-error-file-name): New function,
2093 extracted from tex-compilation-parse-errors.
2094 (tex-compilation-parse-errors): Remove.
2095 (tex-error-regexp-alist): New var.
2096 (tex-shell): Use it to avoid compilation-parse-errors-function.
2098 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2099 (grep-mode-font-lock-keywords): Remove regexp that seems like
2100 a left-over from before we used compile.el.
2101 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2102 modifying the buffer within with-silent-modifications.
2104 * progmodes/compile.el: Cleanup text-properties namespace by using
2105 `compilation-message' instead of `message', `compilation-directory'
2106 instead of `directory', and `compilation-debug' instead of `debug'.
2107 (compilation-last-buffer, compilation-parsing-end)
2108 (compilation-error-list, compilation-old-error-list): Move to the
2109 compatibility part of the code.
2110 (compilation-error-properties): If `file' is a function, let it return
2112 (compilation-mode-font-lock-keywords): Be more conservative with the
2113 omake "^ *" pattern prefix, to try and minimize the risk of
2114 pathologically slow regexp matching.
2115 (compilation-start): Use inhibit-read-only.
2116 (compilation--unsetup): New function.
2117 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2118 (compilation-filter): Minor tweaks.
2119 (compilation-next-error-function): Try and avoid abusing variables.
2120 (compilation--flush-file-structure): New fun.
2121 (compilation-fake-loc): Use it to improve behavior when file is reused.
2122 (debug-ignored-errors): Add "Moved past last ...".
2123 (compilation--compat-error-properties)
2124 (compilation--compat-parse-errors): Rename by doubling the "-".
2126 Port features from the previous prolog.el to the new one.
2127 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2128 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2129 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2130 variable and use a function to compute the value dynamically.
2131 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2132 (prolog-continued-prompt-regexp): Remove, unused.
2133 (prolog-find-value-by-system): Try and use the value of prolog-system
2134 in the *prolog* buffer if it helps.
2135 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2136 (prolog-zip-on): ..and check prolog-system and version here instead.
2137 (prolog-inferior-self-insert-command): New command.
2138 (prolog-inferior-mode-map): Use it.
2139 (prolog-inferior-error-regexp-alist): New var.
2140 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2141 (prolog-input-filter): Use derived-mode-p.
2142 (prolog-inferior-guess-flavor): New function.
2143 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2144 make-comint to avoid running comint-mode twice.
2145 (prolog-inferior-buffer): New fun.
2146 (prolog-old-process-region, prolog-old-process-file):
2147 Don't call prolog-bsts here...
2148 (prolog-build-prolog-command): ...do it here instead.
2149 (prolog-old-process-region, prolog-old-process-file):
2150 Use compilation-fake-loc and compilation-forget-errors.
2151 (prolog-consult-compile-region): Use bolp.
2153 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2155 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2157 2011-01-27 Sam Steingold <sds@gnu.org>
2159 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2160 Remove "*server*" which is never created by emacs server.
2162 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2164 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2165 there are some diff switches.
2167 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2169 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2170 Copy change made to ruby-font-lock-syntactic-keywords.
2172 * htmlfontify.el: Make it obey the font-lock-face text property.
2173 Miscellaneous cleanup such as:
2174 - Don't hide expressions after a closing paren.
2175 - Move initial setq into let.
2176 - Hoist common parts out of ifs.
2177 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2178 (hfy-face-at): Use get-text-property instead.
2179 (hfy-prop-invisible-p): Use invisible-p if available.
2180 (htmlfontify-manual): Use \\[...].
2181 (hfy-html-quote-regex): Use [...].
2182 (hfy-combined-face-spec): Simplify.
2183 (hfy-compile-face-map): Don't presume point-min==1.
2184 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2185 match end of string.
2186 (hfy-text-p): η-reduce.
2187 (hfy-tags-for-file): Receive cache-hash directly.
2188 (hfy-mark-tag-names): Adjust call.
2190 2011-01-27 Glenn Morris <rgm@gnu.org>
2192 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2193 (msb-after-load-hook): Remove eval-after-load wackiness.
2195 2011-01-25 Sam Steingold <sds@gnu.org>
2197 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2198 literal "diff" (important for windows-nt).
2200 2011-01-25 Glenn Morris <rgm@gnu.org>
2202 * emacs-lisp/copyright.el (copyright-at-end-flag)
2203 (copyright-names-regexp): Add safety properties.
2204 (copyright-year-ranges): New option.
2205 (copyright-find-end): New function, split from copyright-update-year.
2206 (copyright-update-year): Use copyright-find-end.
2207 (copyright-fix-years): Optionally, convert years to ranges.
2208 Handle years continued over comment lines.
2209 Do not mess with the fill-prefix.
2210 Do not call copyright-update.
2211 (copyright-update-directory): Optionally, fix years rather than update.
2212 Skip directories. Find files with only safe local vars.
2214 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2216 * files.el (file-name-non-special): Only change buffer-file-name after
2217 insert-file-contents if it's `visit'ing the file (bug#7854).
2219 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2221 * dired.el (dired-revert): Doc fix (Bug#7758).
2223 * simple.el (line-move-visual): Doc fix (Bug#7594).
2225 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2227 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2228 here-doc which ends with an underscore.
2229 (ruby-mode-set-encoding): Skip shebang line always.
2230 (ruby-mode-map): Bind C-c C-c to comment-region.
2231 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2232 (ruby-forward-sexp): Stop after literal hash key labels.
2233 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2236 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2238 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2239 the correct buffer (Bug#7650).
2241 2011-01-25 Glenn Morris <rgm@gnu.org>
2243 * comint.el (comint-mode): Doc fix. (Bug#7897)
2245 * simple.el (do-auto-fill): Give it a doc string.
2247 * button.el (make-text-button): Doc fix. (See bug#7881)
2249 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2252 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2254 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2255 Handle ?" and friends differently (e.g. don't use backrefs).
2257 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2259 * calc/calc.el (calc-default-power-reference-level)
2260 (calc-default-field-reference-level): New variables.
2261 * calc/calc-units.el (math-standard-units): Add dB and Np.
2262 (math-logunits): New variable.
2263 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2264 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2265 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2267 (math-find-base-units-rec): Add entry for ln(10).
2268 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2269 (calc-ul-prefix-help): New function.
2270 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2271 functions. Add keybindings for new units functions.
2273 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2275 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2276 rcirc buffers. (Bug#4940)
2278 2011-01-22 Glenn Morris <rgm@gnu.org>
2280 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2281 split out from copyright-update-year.
2282 (copyright-update): Don't mess with the GPL version if we don't own the
2283 copyright. Update license regexp, and remove no longer needed
2285 (copyright-fix-years): Use copyright-find-copyright.
2287 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2289 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2291 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2293 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2294 (lm): Rename to landmark.
2295 (lm-test-run): Rename to landmark-test-run.
2297 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2299 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2300 "Case sensitive" menu item.
2302 2011-01-22 Roland McGrath <roland@frob.com>
2304 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2305 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2307 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2309 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2311 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2313 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2314 Assume foo(bar) is a manpage reference rather than some unquoted
2317 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2320 Suggested by Flo <sensorflo@gmail.com>.
2322 2011-01-22 Glenn Morris <rgm@gnu.org>
2324 * progmodes/compile.el (compilation-error-regexp-alist):
2325 Fix custom type. (Bug#7812)
2327 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2329 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2330 allout-number-siblings, in keeping with what obtained due to
2331 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2333 (allout-before-change-handler): Better expose spots affected by
2336 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2338 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2340 2011-01-22 Phil Hagelberg <phil@evri.com>
2342 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2343 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2344 (pcmpl-ssh-config-hosts): New function.
2345 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2346 pcmpl-ssh-known-hosts.
2348 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2350 * calc/calc-undo.el (calc-undo): Autoload it.
2351 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2352 and autoload for `calc-undo'.
2353 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2354 * calc/calc-prog.el:
2355 * calc/calc-graph.el:
2356 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2358 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2360 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2361 keybindings to `calc-undo'.
2363 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2365 Don't mess with *temp*.
2366 * obsolete/spell.el: Move from textmodes/spell.el.
2368 * term.el (term-read-input-ring):
2369 * startup.el (display-startup-echo-area-message):
2370 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2371 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2372 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2375 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2377 * allout.el (allout-institute-keymap): Use fset instead of
2378 reapplying defalias.
2380 (allout-hotspot-key-handler): Check for non-control-modified
2381 bindings for hotspot characters if there are no control-modified
2384 * allout.el: Summary - migrate to defining allout mode using
2385 define-minor-mode instead of defun. Significantly clean-up
2386 internal keymap provisions, refactoring and, in the process,
2387 removing a lot of accumulated cruft.
2389 allout-mode-map is now a keymap by virtue of being a defalias to
2390 allout-mode-map-value, which contains the actual keymap structure.
2392 (allout-mode): Use define-minor-mode rather than defun.
2393 Remove now-unnecessary minor-mode setup activities from the body.
2394 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2395 entry will be '(allout-mode . allout-mode-map) - see
2396 allout-mode-map-value, below. Adjust docstring to track changes.
2397 (allout-minor-mode): Remove this defalias, now that we're using
2399 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2400 keymap is allout-mode-map-value, via defalias.
2401 (allout-mode-map-value): The variable holding the actual mode
2402 keymap structure, by virtue of defalias from allout-mode-map.
2403 (allout-compose-and-institute-keymap): Rename from
2404 allout-bind-keys, and including the binding-composition
2405 functionality of the former produce-allout-mode-map and
2406 allout-setup-mode-map.
2407 (allout-institute-keymap): Take over the "setup" part of the former
2408 allout-setup-mode-map. Reassign allout-mode-map-value value and
2409 update the defalias.
2410 (allout-command-prefix, allout-prefixed-keybindings)
2411 (allout-unprefixed-keybindings):
2412 Use allout-compose-and-institute-keymap to process the bindings.
2413 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2414 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2415 user can customize if they want to use that binding.
2416 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2417 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2418 elided that, previously, instead of the one for \C-h.)
2419 (allout-hotspot-key-handler): Remove attempt to resolve the key
2420 through the literal key-string lookup on allout-keybindings-list.
2421 That probably hasn't worked for a Long Time, and removal of
2422 allout-keybindings-list further simplifies the keybindings situation.
2423 (allout-pre-command-business): Use allout-mode-map-value instead
2425 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2426 the bindings if they want to use a keybinding having a trailing
2427 \C-h. No deprecation needed since this feature was never in a release.
2428 (allout-keybindings-list): Remove. It's not been useful for a
2429 while. (See allout-hotspot-key-handler changes, above.)
2430 (produce-allout-mode-map): Remove. Consolidate into
2431 allout-compose-and-institute-keymap.
2432 (allout-mode-map-adjustments): Remove. No longer necessary with
2433 removal of allout-preempt-trailing-ctrl-h.
2434 (allout-setup-mode-map): Remove. Consolidate into
2435 allout-compose-and-institute-keymap and allout-institute-keymap.
2437 2011-01-20 Glenn Morris <rgm@gnu.org>
2439 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2441 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2443 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2445 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2447 * files.el (find-alternate-file, basic-save-buffer)
2448 (basic-save-buffer-2, revert-buffer, recover-file)
2449 (kill-buffer-ask, abort-if-file-too-large)
2450 (set-visited-file-name, write-file, backup-buffer)
2451 (basic-save-buffer, save-some-buffers):
2452 * dired-aux.el (dired-compress-file): Callers changed.
2454 2011-01-19 Glenn Morris <rgm@gnu.org>
2456 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2457 Also check the property status. (Bug#7861)
2459 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2461 * net/tramp.el (tramp-debug-message): Extend function exclude
2462 list. Use `regexp-opt'.
2464 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2466 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2467 highlighting doesn't spill over subsequent lines.
2469 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2470 keymap expression. Improve docstring.
2472 * electric.el (electric-indent-post-self-insert-function):
2473 Don't auto-indent for indent-to-left-margin, it's too often
2476 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2478 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2479 spaces if the frame was resized, so that the full visible buffer
2480 serves as canvas for strokes.
2482 2011-01-16 Glenn Morris <rgm@gnu.org>
2484 * info-xref.el (info-xref-docstrings): Replace cl function.
2485 Also skip directories.
2487 2011-01-16 Kevin Ryde <user42@zip.com.au>
2489 * info-xref.el: Version 3.
2490 (info-xref-check, info-xref-check-all): Move commentary details
2491 into docstrings for better visibility.
2492 Use compilation-mode for the results buffer.
2493 (info-xref-output, info-xref-output-error, info-xref-with-output)
2494 (info-xref-filename, info-xref-in-progress):
2495 New internals for this.
2496 (info-xref-check-list, info-xref-check-buffer)
2497 (info-xref-check-all-custom): Use those.
2498 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2499 (info-xref-output-heading): Rename from info-xref-filename-heading.
2500 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2501 (info-xref-filename-heading): Move to output managing section.
2502 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2503 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2504 (info-xref-subfile-p): Move to generic section with those two.
2505 (info-xref-check-node): New function split from
2506 info-xref-check-buffer, shared by info-xref-docstrings.
2507 (info-xref-goto-node-p): Move to a checking section with that func.
2508 (info-xref-unavail): New counter.
2509 (info-xref-check-node): Use it.
2510 (info-xref-with-output): Show count of unavailables at end of output.
2511 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2512 symlinks. Exclude .texi files. Exclude Emacs backup files.
2513 (info-xref-check-all-custom): Fix quietening viper-mode and
2514 gnus-registry-install -- use setq not let so as not to unbind
2517 2011-01-16 Juri Linkov <juri@jurta.org>
2519 * isearch.el (isearch-abort): Don't quit if search has
2520 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2522 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2524 * files.el (backup-buffer): Make last-resort backup file in
2525 .emacs.d (Bug#6953).
2527 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2528 make it with permission 700.
2530 2011-01-15 Kenichi Handa <handa@m17n.org>
2532 * mail/rmailmm.el (rmail-mime-insert-header):
2533 Set rmail-mime-coding-system to a cons whose car is the last coding
2534 system used to decode the header.
2535 (rmail-mime-find-header-encoding): New function.
2536 (rmail-mime-insert-decoded-text):
2537 Override rmail-mime-coding-system if it is a cons.
2538 (rmail-show-mime): If only a header part was decoded, find the
2539 coding system while ignoring mm-charset-override-alist.
2541 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2543 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2545 2011-01-15 Kenichi Handa <handa@m17n.org>
2547 * mail/rmailmm.el (rmail-mime-next-item)
2548 (rmail-mime-previous-item): Delete them.
2549 (rmail-mime-shown-mode): Recursively call for children.
2550 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2552 (rmail-mime-raw-mode): Recursively call for children.
2553 (rmail-mode-map): Change mapping of tab and backtab to
2554 forward-button and backward-button respectively.
2555 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2557 (rmail-mime-update-tagline): New function.
2558 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2559 body display is changed.
2560 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2561 (rmail-mime-image): Delete this button type.
2562 (rmail-mime-toggle): New button type.
2563 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2564 body display is changed. Change the save button label to "Save".
2565 Don't process show/hide button here.
2566 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2567 the body display is changed. Unconditionally call
2568 rmail-mime-insert for children.
2569 (rmail-mime-handle): Update `display' vector of the just inserted
2571 (rmail-mime-process): If mail-header-parse-content-type returns
2572 nil, use "text/plain" as the fallback type.
2573 (rmail-mime-insert): For raw-mode, recursively call
2574 rmail-mim-insert for children.
2575 (rmail-mime): Handle the case that the current buffer is not rmail
2576 buffer (e.g. in summary buffer).
2578 2011-01-15 Kenichi Handa <handa@m17n.org>
2580 * mail/rmailmm.el (rmail-mime-next-item)
2581 (rmail-mime-previous-item): Skip the body of a non-multipart
2582 entity if a tagline is shown.
2584 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2587 (tmm-prompt): Simplify.
2588 (tmm-add-prompt): Remove unused var `win'.
2590 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2591 to minor mode which used nil accidentally to mean "turn off".
2593 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2595 * net/tramp-sh.el (tramp-find-inline-compress)
2596 (tramp-get-inline-coding): Quote command after pipe symbol for
2597 local calls under W32. (Bug#6784)
2599 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2601 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2602 only when running under W32.
2604 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2606 * progmodes/grep.el (grep-compute-defaults): Quote the program
2607 file name after the pipe symbol in Grep templates. (Bug#6784)
2608 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2610 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2612 * buff-menu.el (Buffer-menu-buffer-list): New var.
2613 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2614 restricted buffer list is not lost on revert (Bug#7749).
2616 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2618 * net/ldap.el (ldap-search-internal): Discard stderr output.
2620 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2622 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2624 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2626 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2628 2011-01-15 Kenichi Handa <handa@m17n.org>
2630 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2631 part as a plain text.
2632 (rmail-mime-process-multipart): Set the default content-type to
2633 nil for unknown multipart subtypes (bug#7651).
2635 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2637 * hexl.el (hexl-mode-old-*): Remove.
2638 (hexl-mode--old-var-vals): New var to replace them.
2639 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2640 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2641 Use them to set local vars (bug#7846).
2642 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2643 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2644 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2646 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2647 (smerge-resolve--normalize-re): New var.
2648 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2649 (smerge-resolve): Use them.
2650 * newcomment.el (comment-only-p): New function.
2651 (comment-or-uncomment-region): Use it.
2653 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2655 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2656 table, get the value before switching to the output buffer. (Bug#7733)
2658 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2662 2011-01-14 Kim F. Storm <storm@cua.dk>
2664 * emulation/cua-base.el (cua--init-keymaps):
2665 Remap exchange-point-and-mark in cua-global-keymap.
2667 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2669 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2672 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2676 (easy-menu-create-menu, easy-menu-convert-item-1):
2677 Use :label rather than nil for labels. Use `case'.
2678 Add :enable as alias for :active.
2679 (easy-menu-binding): Obey :label.
2681 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2683 Use run-mode-hooks for major mode hooks (bug#513).
2684 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2685 Rename from reftex-toc-map.
2686 (reftex-toc-mode): Use define-derived-mode.
2687 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2688 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2689 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2690 (reftex-select-label-mode, reftex-select-bib-mode):
2691 Use define-derived-mode.
2692 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2693 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2694 Move init into delcaration.
2695 (reftex-index-mode, reftex-index-phrases-mode):
2696 Use define-derived-mode.
2697 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2698 speedbar-syntax-table. Move init into declaration.
2699 (speedbar-mode-map): Rename from speedbar-key-map.
2700 Move init into declaration.
2701 (speedbar-file-key-map): Move init into declaration.
2702 (speedbar-mode): Use define-derived-mode.
2703 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2704 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2705 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2706 (chart-face-list): Move initialization into declaration.
2707 (chart-mode): Use define-derived-mode.
2708 * calculator.el (calculator-mode-map): Move init into declaration.
2709 (calculator-mode): Use define-derived-mode.
2711 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2712 work for nested comments.
2714 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2715 (prolog-use-prolog-tokenizer-flag): Change default when
2716 syntax-propertize can be used.
2717 (prolog-syntax-propertize-function): New var.
2718 (prolog-mode-variables): Move make-local-variable into `set'.
2719 Don't make comment-column local since we don't set it.
2720 Set comment-add (as it was in previous prolog.el). Use dolist.
2721 Set syntax-propertize-function.
2722 (prolog-mode, prolog-inferior-mode):
2723 Call prolog(-inferior)-menu directly, not through the mode-hook.
2724 (prolog-buffer-module, prolog-indent-level)
2725 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2726 (prolog-comment-limits, prolog-goto-comment-column):
2727 Use line-(end|beginning)-position.
2728 (prolog-build-prolog-command): Tighten up regexp.
2729 (prolog-consult-compile): Move make-local-variable into `set'.
2730 (prolog-consult-compile-filter, prolog-goto-next-paren)
2731 (prolog-help-on-predicate, prolog-clause-info)
2732 (prolog-mark-predicate): Don't let+setq.
2733 (prolog-indent-line): Use indent-line-to.
2734 Only call prolog-goto-comment-column if necessary.
2735 (prolog-indent-level): Use bobp.
2736 (prolog-first-pos-on-line): Remove, not used any more.
2737 (prolog-in-string-or-comment): Use syntax-ppss if available.
2738 (prolog-help-on-predicate): Use read-string.
2739 (prolog-goto-predicate-info): Simplify.
2740 (prolog-read-predicate): Use `default' rather than `initial'.
2741 (prolog-temporary-file): Use make-temp-file to close a security hole.
2742 (prolog-toggle-sicstus-sd): New command.
2743 (prolog-electric-underscore, prolog-variables-to-anonymous):
2744 Use dynamic-scoping as it was meant.
2745 (prolog-menu): Move menu definitions to top-level.
2746 Use a toggle-button for Sicstus's source debugger.
2747 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2749 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2750 Move other menu definition to top-level.
2752 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2754 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2755 name. Keep original document's directory as default-directory
2757 (doc-view-initiate-display): Fall back to normal mode when
2758 doc-view-mode cannot be enabled, also when extracting the document
2759 text into a separate buffer (bug#6446).
2761 * simple.el (shell-command): Don't error out if shell command
2762 buffer contains text with non-nil read-only property when erasing
2765 2011-01-13 Kim F. Storm <storm@cua.dk>
2767 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2768 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2769 items when cycling through the matches.
2771 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2773 * dired-x.el (dired-omit-verbose): New defcustom that allows
2774 disabling the omit messages.
2775 (dired-omit-expunge): Use it.
2777 2011-01-13 Christian Ohler <ohler@gnu.org>
2779 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2781 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2783 * font-lock.el (font-lock-verbose): Default to nil.
2785 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2787 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2788 (compose-mail): New arg RETURN-ACTION.
2789 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2791 * mail/sendmail.el (mail-return-action): New var.
2792 (mail-mode): Make it buffer-local.
2793 (mail-bury): Obey it. Move special Rmail window handling to
2795 (mail, mail-setup): New arg RETURN-ACTION.
2796 (sendmail-user-agent-compose): Move from simple.el.
2798 * mail/rmail.el (rmail-mail-return): New function.
2799 (rmail-start-mail): Pass it to compose-mail.
2801 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2803 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2804 menus. Add menu item for customize-themes.
2806 * cus-theme.el (customize-themes):
2807 * emacs-lisp/package.el (package--list-packages):
2808 Use switch-to-buffer.
2810 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2812 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2814 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * progmodes/prolog.el: Fix up coding convention and such.
2817 (prolog-indent-width): Use the same default as in
2818 previous prolog.el rather than tab-width which depends on which buffer
2819 is current when the file is loaded.
2820 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2822 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2823 (prolog-known-systems): Remove.
2824 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2825 Move initialization into declaration.
2826 (prolog-mode-map): Move initialization into declaration.
2827 Remove system-specific mode-map vars, since they referred to the same
2829 (prolog-mode-variables): Obey the user's preference w.r.t
2830 adaptive-fill-mode. Prefer symbol-value to `eval'.
2831 (prolog-mode-keybindings-edit): Add compatibility bindings.
2832 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2833 (mercury-mode-map): New var.
2834 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2835 (prolog-ensure-process, prolog-process-insert-string)
2836 (prolog-consult-compile): Use with-current-buffer.
2837 (prolog-guess-fill-prefix): Simplify data flow.
2838 (prolog-replace-in-string): New function to use instead of
2840 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2841 (prolog-uncomment-region): Use `uncomment-region' when available.
2842 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2843 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2844 of int-to-char and char-to-int.
2845 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2847 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2849 * progmodes/prolog.el: Replace by a whole new file.
2851 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2854 (declare-function, undefined, insert-for-yank)
2855 (replace-regexp-in-string): Follow checkdoc's recommendations.
2857 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2859 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2860 refreshing the diary buffer.
2862 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2864 * allout.el: Add 2011 to the file copyright.
2865 (allout-encrypt-string): Prevent encryption from adding an extra
2866 newline at the end of the topic body.
2867 (allout-version): Increment to 2.3.
2869 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2871 * net/dbus.el (dbus-unregister-service): Complete doc.
2872 Fix call of dbus-error signal.
2873 (dbus-register-property): Use `dont-register' keyword.
2875 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2877 * net/dbus.el (dbus-unregister-service): Translate returned
2878 integer into a symbol.
2879 (dbus-register-property): Use `dbus-register-service' to do the
2882 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2884 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2885 Suggested by Joakim Verona.
2887 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2889 * wid-edit.el (visibility): Replace :on-image and :off-image
2890 widget properties with :on-glyph and :off-glyph, for consistency
2891 with the `visibility' widget.
2892 (widget-toggle-value-create, widget-visibility-value-create):
2893 Merge into a single function `widget-toggle-value-create'.
2895 * cus-edit.el (custom-variable-value-create, custom-visibility)
2896 (custom-face-edit-value-create, custom-face-value-create):
2897 Replace :on-image and :off-image widget properties with :on-glyph and
2898 :off-glyph, for consistency with the `visibility' widget.
2900 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2902 * net/ldap.el (ldap-search-internal): Don't use eval.
2904 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2906 * subr.el (read-char-choice): Use read-key.
2908 * custom.el (custom-safe-themes): Rename from
2909 custom-safe-theme-files. Add :risky tag.
2910 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2911 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2913 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2915 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2916 from Search and add a label to Undo.
2918 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2919 inappropriate buttons and adding :vert-only tags.
2921 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2922 removal of Help tool-bar button. Remove Undo button for space.
2924 * info.el (info-tool-bar-map): Add :vert-only tags.
2926 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2928 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2929 image backend support. Either of them is fine.
2931 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2933 * subr.el (y-or-n-p): Doc fix.
2935 * custom.el (custom-safe-theme-files): New defcustom.
2936 (custom-theme-load-confirm): New function.
2937 (load-theme): Load theme using `load', confirming with
2938 custom-theme-load-confirm if necessary.
2940 * subr.el (read-char-choice): New function, factored out from
2941 dired-query and hack-local-variables-confirm.
2943 * dired-aux.el (dired-query):
2944 * files.el (hack-local-variables-confirm): Use it.
2946 * dired-aux.el (dired-compress-file):
2947 * files.el (abort-if-file-too-large, find-alternate-file)
2948 (set-visited-file-name, write-file, backup-buffer)
2949 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2950 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2951 Use new format string args for y-or-n-p and yes-or-no-p.
2953 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2955 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2956 [gcc-include]: Tighten file name match, add match for column
2958 [gnu]: Remove unused group.
2960 2011-01-08 Glenn Morris <rgm@gnu.org>
2962 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2964 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2966 2011-01-07 Sam Steingold <sds@gnu.org>
2968 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2969 the `explicit-shell-file-name' because that is the
2970 non-interactive shell.
2972 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2974 * subr.el (y-or-n-p): Accept format string args.
2976 2011-01-07 Glenn Morris <rgm@gnu.org>
2978 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2980 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2982 * allout.el (allout-back-to-current-heading): Ensure return to
2983 the visible containing topic, rather than a collapsed one.
2984 (allout-view-change-hook): Remove hook that was deprecated long ago.
2985 (allout-exposure-change-hook): Remove documentation remarks
2986 concerning removed allout-view-change-hook.
2987 (allout-flag-region): Remove invocation of and documentation
2988 remarks concerning allout-view-change-hook.
2990 2011-01-06 Glenn Morris <rgm@gnu.org>
2992 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2993 (vc-bzr-annotate-extract-revision-at-line):
2994 Handle authors with embedded spaces. (Bug#7792)
2996 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2998 * doc-view.el (doc-view-image-width): New variable.
2999 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3000 backend for PNG images, and do dynamic rescaling instead of
3001 reconverting the whole doc.
3003 2011-01-05 Glenn Morris <rgm@gnu.org>
3005 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3007 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3009 * allout.el: Reconcile with changes in line movement behavior for
3010 long text lines that cross more than a single physical window
3011 line, ie when truncate-lines is nil.
3012 (allout-next-visible-heading): Provide for change in line-move
3013 behavior on long lines when truncate-lines is nil. In that case,
3014 line-move can wind up on the same textual line when it moves to
3015 the next window line, and moving to the bullet position after the
3016 move yields zero advancement. Add logic to detect and compensate
3017 for the lack of progress.
3018 (allout-current-topic-collapsed-p): move-end-of-line respect for
3019 field boundaries is different when operating with body lines
3020 shorter than window width versus ones greater than window width,
3021 which can yield false negatives in this function. Avoid
3022 difference by applying move-end-of-line while field-text-motion is
3025 2011-01-04 Glenn Morris <rgm@gnu.org>
3027 * textmodes/rst.el (rst-compile-toolsets):
3028 Add pdf and s5 to option alist.
3030 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3032 * net/dbus.el (dbus-register-property): Add optional parameter
3033 dont-register-service. Updated docstring accordingly.
3035 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3037 * textmodes/rst.el (rst-compile-pdf-preview)
3038 (rst-compile-slides-preview): Remove extra line.
3040 2011-01-04 Glenn Morris <rgm@gnu.org>
3042 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3043 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3044 default to `prog' without a .py extension.
3045 (rst-compile-pdf-preview, rst-compile-slides-preview):
3046 Use program names from rst-compile-toolsets, rather than hard-coding.
3047 (rst-portable-mark-active-p): Fix presumed typo.
3049 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3051 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3052 libpng versions both before and after 1.4.0. (Bug#7716)
3054 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3056 * time.el (display-time-mode): Mention display-time-interval in
3057 the doc string. (Bug#7713)
3059 2011-01-02 Kenichi Handa <handa@m17n.org>
3061 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3062 condition-case and return an error message string if something
3064 (rmail-show-mime): Adjust for the above change. Insert the
3065 header by rmail-mime-insert-header.
3067 2011-01-02 Kenichi Handa <handa@m17n.org>
3069 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3070 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3071 (rmail-mime-mbox-buffer)
3072 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3073 (rmail-mime-entity): Argument changed. All codes handling an
3074 entity object are changed.
3075 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3077 (rmail-mime-entity-children, rmail-mime-entity-handler)
3078 (rmail-mime-entity-tagline): New functions.
3079 (rmail-mime-message-p): New function.
3080 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3081 (rmail-mime-entity-segment, rmail-mime-next-item)
3082 (rmail-mime-previous-item, rmail-mime-shown-mode)
3083 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3084 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3085 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3087 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3088 (rmail-mime-insert-decoded-text): New function.
3089 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3090 (rmail-mime-insert-image): Argument changed. Caller changed.
3091 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3092 (rmail-mime-set-bulk-data): New function.
3093 (rmail-mime-insert-bulk): Argument changed.
3094 (rmail-mime-multipart-handler): Return t.
3095 (rmail-mime-process-multipart): Argument changed.
3096 Handle "multipart/alternative" here.
3097 (rmail-mime-process): Argument changed.
3098 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3099 (rmail-mime-insert): Argument changed. Handle raw display mode.
3100 (rmail-mime): Argument changed. Handle toggling of raw display
3102 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3103 rmail-mime-view-buffer.
3104 (rmail-insert-mime-forwarded-message): Likewise.
3105 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3107 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3108 non-nil, handle the header in rmail-show-mime-function.
3110 2011-01-02 Leo <sdl.web@gmail.com>
3112 * help-fns.el (describe-variable): Fix previous change.
3114 2011-01-02 Juri Linkov <juri@jurta.org>
3116 * isearch.el (isearch-lazy-highlight-error): New variable.
3117 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3118 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3119 to the current value of `isearch-error' (Bug#7468).
3121 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3123 * help-fns.el (describe-variable): Don't emit trailing whitespace
3126 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3128 * textmodes/rst.el (rst-compile-pdf-preview)
3129 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3131 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3133 * emulation/edt-mapper.el: Override mapping of function keys so
3134 that the later call to read-key-sequence works.
3136 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3138 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3139 Unix EOLs. (Bug#7589)
3141 2011-01-02 Leo <sdl.web@gmail.com>
3143 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3144 if point is not behind eshell-last-output-end (Bug#7585).
3146 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * files.el (file-local-variables-alist):
3149 Make permanent-local (bug#7767).
3151 2011-01-02 Glenn Morris <rgm@gnu.org>
3153 * version.el (emacs-copyright): Set short copyright year to 2011.
3155 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3157 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3158 an existing temp buffer. (Bug#7746)
3160 2011-01-02 Glenn Morris <rgm@gnu.org>
3162 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3163 multiple addresses. (Bug#7760)
3165 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3167 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3168 do-auto-fill if everything points back to allout-auto-fill.
3169 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3170 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3172 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3174 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3177 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3179 * doc-view.el (doc-view-set-doc-type): New function refactored
3181 (doc-view-fallback-mode): New function.
3182 (doc-view-mode): Use it.
3183 (doc-view-mode-maybe): New function that checks if doc-view-mode
3184 can be used and falls back to the next best mode otherwise.
3186 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3187 DVI, OpenDocument, and MS Office files.
3189 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3191 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3193 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3195 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3196 on a copy of auto-mode-alist, because that deletes with side
3199 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3201 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3202 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3203 fallback instead of hard coding fundamental mode.
3205 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3207 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3208 Office) files also for searching.
3210 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3212 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3213 Office) files. Not yet enabled via auto-mode-list.
3214 (doc-view-unoconv-program): New custom variable.
3215 (doc-view-mode-p): Handle new odf document type.
3216 (doc-view-odf->pdf): New conversion function.
3217 (doc-view-convert-current-doc): Call it for odf files.
3218 (doc-view-mode): Recognize newly supported file extensions.
3220 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3222 * net/tramp.el (tramp-default-method-alist)
3223 (tramp-default-user-alist)
3224 (tramp-local-host-regexp, tramp-prefix-domain-format)
3225 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3228 * net/tramp-gvfs.el:
3230 * net/tramp-imap.el:
3232 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3233 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3235 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3237 * saveplace.el (save-place-alist-to-file): Save list sorted and
3238 pretty-printed, so that it is mergeable by line-based text merging,
3239 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3241 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3243 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3244 (allout-mode): Argument "toggle" => "force".
3245 Refine the docstring.
3246 Remove special provisions for reactivation, besides the 'force'
3248 Consolidate layout provisions coce directly into the activation
3249 condition branch, now that we've removed those provisions.
3250 (allout-unload-function): Explicitly activate the mode before
3251 deactivating, if it's initially deactivated.
3252 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3253 warnings for version of function used only where
3254 set-buffer-multibyte is unavailable.
3256 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3258 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3259 are handled by the menu-bar entries. As before, don't use
3260 :visibile to avoid changing the tool-bar.
3262 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3264 * net/secrets.el (secrets-delete-alias): New defun.
3266 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3268 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3269 methods, otherwise ~/.ssh/config would be ignored.
3271 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * emacs-lisp/rx.el: Make it a superset of sregex.
3274 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3275 of args, add `regex' alias.
3276 (rx-info): Add arg to distinguish head and standalone forms.
3277 (rx-check, rx-form): Pass the corresponding arg.
3279 (rx-repeat): Make it work for any number of args.
3280 (rx-syntax): Make it accept syntax chars as is.
3281 * obsolete/sregex.el: Move from emacs-lisp/.
3282 * emacs-lisp/re-builder.el: Remove sregex support.
3283 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3285 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3287 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3288 PRIMARY first, then the clipboard. (Bug#7699)
3290 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3295 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3297 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3298 .emacs.elc (Bug#7530).
3300 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3301 image spec (Bug#7480).
3303 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3305 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3306 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3309 2010-12-20 Leo <sdl.web@gmail.com>
3311 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3312 always be performed (Bug#7680).
3314 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3316 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3317 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3320 * color.el: Move from gnus/.
3322 * vc/diff.el (diff-better-file-name): Function deleted.
3323 abbreviating file names causes problems with shell-quote-argument.
3324 (diff-no-select): Just use expand-file-name.
3326 * tool-bar.el (tool-bar--image-expression): New function.
3327 (tool-bar-local-item, tool-bar--image-exp): Use it.
3328 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3329 Use :enable instead of :visible to avoid changing the tool-bar
3330 configuration unnecessarily.
3332 * info.el (info-tool-bar-map): Add separators.
3334 2010-12-17 Ken Brown <kbrown@cornell.edu>
3336 * loadup.el: Use version numbers in Cygwin build.
3338 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3340 * ido.el (ido-file-internal): Ask for confirmation before
3341 overwriting an existing file (Bug#1238).
3343 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3345 * tool-bar.el (tool-bar-setup): Add separators.
3347 * menu-bar.el (featurep): Use menu-bar-separator.
3349 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3351 Migrate allout encryption provisions from pgg to epg.
3353 * allout.el (allout-toggle-current-subtree-encryption)
3354 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3355 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3356 for simpler universal argument interpretation.
3357 (allout-toggle-subtree-encryption): Adjust docstring to describe
3358 changed encryption provisions. Change fetch-pass to keymode-cue, for
3359 simpler universal argument interpretation. Remove provisions for
3360 handling key type and identity - they'll all be within
3361 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3362 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3363 for keypair recipients (universal argument > 1) and, in addition,
3364 associating the specified recipients with the outline (universal
3365 argument > 4) using a file local variable setting for
3366 'epa-file-encrypt-to'.
3367 Require epa, for recipients handling.
3368 Change how regexp filtering elements are named.
3369 Describe the problem with caching of incorrect symmetric-decryption
3371 Use the epa-passphrase-callback-function, in case the user is using
3373 Support saving of the selected keypair recipients when invoked with a
3375 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3377 Establish epg-context with armoring and default epg-protocol.
3378 Remove all passphrase cache, verification, and hinting code.
3379 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3380 No longer used, delete.
3381 (allout-mode): Adjust docstring to describe changed encryption
3382 provisions. Describe the problem with caching of incorrect
3383 symmetric-decryption keys.
3384 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3385 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3386 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3387 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3390 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3392 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3393 key selection prompt; make 'silent as default (Bug#7487).
3395 2010-12-16 Leo <sdl.web@gmail.com>
3397 * eshell/eshell.el (eshell-directory-name):
3398 Use locate-user-emacs-file (Bug#7578).
3400 2010-12-15 Glenn Morris <rgm@gnu.org>
3402 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3404 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3405 Scott Evans <gse@antisleep.com>
3407 * rect.el (rectange--default-line-number-format)
3408 (rectangle-number-line-callback): New functions.
3409 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3411 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3413 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3414 Delete unused variables.
3415 (move-to-column-force): Remove function obsolete since 21.2.
3417 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3419 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3420 (tramp-handle-insert-file-contents): Do not set permanent-local
3423 * net/tramp-cache.el (tramp-persistency-file-name):
3424 Use `locate-user-emacs-file' if fboundp.
3426 * net/tramp-sh.el (tramp-methods): Add "ksu".
3427 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3430 2010-12-14 Glenn Morris <rgm@gnu.org>
3432 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3433 (find-tag-marker-ring): Declare.
3434 (js-find-symbol): Require etags.
3436 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3438 (mail-alias-file): Don't autoload. Doc fix.
3439 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3440 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3441 Mark as obsolete, and risky.
3442 (mail-setup): Simplify.
3444 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3445 * mail/sendmail.el (build-mail-aliases): Update autoload.
3447 * dired.el (dired-trivial-filenames, dired-chown-program)
3448 (dired-auto-revert-buffer): Remove autoload cookies.
3449 * mail/sendmail.el (mail-recover-1): Require 'dired.
3451 * dired.el (dired-subdir-switches, dired-chown-program)
3452 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3453 Make into defcustoms.
3454 (dired-chown-program): Simplify initialization.
3456 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3458 2010-12-13 Romain Francoise <romain@orebokech.com>
3460 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3462 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3464 * net/netrc.el (netrc-point-at-eol): Remove the unused
3465 netrc-point-at-old and netrc-bound-and-true-p bindings.
3466 (netrc-parse): Cache the netrc contents.
3468 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3470 * subr.el (posn-col-row): Evaluate header-line-format in the
3471 context of the POSITION window's buffer.
3473 2010-12-13 Glenn Morris <rgm@gnu.org>
3475 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3476 (with-silent-modifications): Doc fixes.
3478 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3480 * net/tramp.el (tramp-action-password, tramp-process-actions):
3481 Revert previous from. Use `save-restriction'.
3483 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3485 * calendar/diary-lib.el (diary-list-sexp-entries):
3486 Handle case of no newline at end of file. (Bug#7536)
3488 2010-12-13 Glenn Morris <rgm@gnu.org>
3490 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3492 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3494 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3495 (tramp-process-actions): Do not widen.
3497 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3498 Protect buffer-modified value. (Bug#7557)
3500 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3502 * log-edit.el (log-edit-changelog-entries):
3503 Regexp quote filename. (Bug#7505)
3505 2010-12-13 Tom Breton <tehom@panix.com>
3507 * cus-edit.el (custom-save-all):
3508 Bind print-length and print-level to nil. (Bug#7581)
3510 2010-12-13 Glenn Morris <rgm@gnu.org>
3512 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3513 Run hooks to update menu contents. (Bug#7586)
3515 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3516 file names, for the sake of MS Windows. (Bug#7588)
3518 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3520 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3521 empty lines without a leading space.
3523 2010-12-13 Leo <sdl.web@gmail.com>
3525 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3526 while mapping over marks (Bug#6810).
3528 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3530 * image-dired.el (image-dired-db-file)
3531 (image-dired-temp-image-file, image-dired-gallery-dir)
3532 (image-dired-temp-rotate-image-file): Set default values relative
3533 to image-dired-dir (Bug#7518).
3535 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3537 * format.el (format-decode-run-method): Pass args FROM and TO, not
3538 point-min and point-max, to shell-command-on-region (Bug#7488).
3540 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3542 * frame.el (blink-cursor-mode): Make default t for ns.
3544 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3546 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3548 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3550 * comint.el (comint-dynamic-list-input-ring)
3551 (comint-dynamic-complete-filename)
3552 (comint-replace-by-expanded-filename)
3553 (comint-dynamic-simple-complete)
3554 (comint-dynamic-list-filename-completions)
3555 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3557 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3560 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3562 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3565 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3567 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3570 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3572 * files.el (file-relative-name): Handle UNC file names on
3573 DOS/Windows. (Bug#4674)
3575 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3577 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3578 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3579 (epg-context-set-passphrase-callback): Mention that the callback
3580 is not called when used with GnuPG 2.x.
3582 2010-12-13 Glenn Morris <rgm@gnu.org>
3584 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3585 Ensure ps-footer-font-size-internal is initialized.
3586 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3588 2010-12-13 Kenichi Handa <handa@m17n.org>
3590 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3591 within condition-case.
3592 (rmail-show-mime): Don't use condition-case.
3593 (rmail-search-mime-message): New function.
3594 (rmail-search-mime-message-function): Set to
3595 rmail-search-mime-message.
3597 2010-12-13 Leo <sdl.web@gmail.com>
3599 * ido.el (ido-common-initialization): New function. (bug#3274)
3601 (ido-completing-read): Call it.
3603 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3605 * bookmark.el (bookmark-name-from-full-record): Rename back to
3606 this original name from `bookmark-name-from-record' reverting part
3607 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3608 As Drew Adams pointed out, there was no reason to cause churn for
3609 third-party callers. (Bug#7609)
3611 2010-12-12 Alan Mackenzie <acm@muc.de>
3613 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3614 template arglist, check that the current language supports this.
3616 2010-12-11 Glenn Morris <rgm@gnu.org>
3618 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3619 state of the file matches. (Bug#7544)
3620 (vc-bzr-register, vc-bzr-checkin)
3621 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3622 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3624 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3626 2010-12-11 Karel Klíč <kklic@redhat.com>
3628 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3630 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3632 Derive from prog-mode, use derived-mode-p, and fix up various
3633 minor style issues in lisp/progmodes.
3635 * progmodes/vhdl-mode.el (vhdl-mode):
3636 * progmodes/verilog-mode.el (verilog-mode):
3637 * progmodes/vera-mode.el (vera-mode):
3638 * progmodes/sql.el (sql-mode):
3639 * progmodes/scheme.el (scheme-mode):
3640 * progmodes/perl-mode.el (perl-mode):
3641 * progmodes/octave-inf.el (inferior-octave-mode):
3642 * progmodes/autoconf.el (autoconf-mode):
3643 * progmodes/m4-mode.el (m4-mode):
3644 * progmodes/inf-lisp.el (inferior-lisp-mode):
3645 * progmodes/idlwave.el (idlwave-mode):
3646 * progmodes/icon.el (icon-mode):
3647 * progmodes/idlw-help.el (idlwave-help-mode):
3648 * progmodes/dcl-mode.el (dcl-mode):
3649 * progmodes/idlw-shell.el (idlwave-shell-mode):
3650 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3651 (ebrowse-member-mode, ebrowse-electric-position-mode):
3652 Use define-derived-mode.
3654 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3655 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3656 (xscheme-debugger-mode-p, xscheme-send-string-1):
3657 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3658 (tcl-load-file, tcl-restart-with-file):
3659 * progmodes/ps-mode.el (ps-run-running):
3660 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3661 * progmodes/js.el (js--get-all-known-symbols):
3662 * progmodes/inf-lisp.el (inferior-lisp-proc):
3663 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3664 (idlwave-template, idlwave-update-buffer-routine-info)
3665 (idlwave-update-current-buffer-info)
3666 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3667 (idlwave-scan-class-info, idlwave-fix-keywords)
3668 (idlwave-list-buffer-load-path-shadows):
3669 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3670 (idlwave-toolbar-remove):
3671 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3672 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3673 (idlwave-shell-menu-def):
3674 * progmodes/idlw-complete-structtag.el
3675 (idlwave-prepare-structure-tag-completion):
3676 * progmodes/gud.el (gud-set-buffer):
3677 * progmodes/f90.el (f90-backslash-not-special):
3678 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3680 * progmodes/xscheme.el (xscheme-start)
3681 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3682 * progmodes/which-func.el (which-function):
3683 * progmodes/vhdl-mode.el (vhdl-set-style):
3684 * progmodes/verilog-mode.el (verilog-set-compile-command)
3685 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3686 (verilog-set-define, verilog-auto-reeval-locals):
3687 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3688 * progmodes/simula.el (simula-mode):
3689 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3690 * progmodes/python.el (python-check, python-mode):
3691 * progmodes/prolog.el (prolog-mode-variables):
3692 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3693 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3694 * progmodes/delphi.el (delphi-mode):
3695 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3696 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3697 (c-font-lock-init): Move make-local-variable to their setq.
3699 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3700 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3702 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3703 (sh-set-shell): Don't set require-final-newline since it's already done
3705 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3706 since we never set it.
3707 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3708 Use read-string and standard prompt.
3709 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3710 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3711 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3712 (meta-common-mode-map): Rename from meta-mode-map.
3713 Remove C-m binding, which is a user preference, not mode specific.
3714 (meta-common-mode): New major mode; replace meta-common-initialization.
3715 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3716 around with font-lock.
3717 * progmodes/etags.el (select-tags-table-mode):
3718 Derive from special-mode.
3719 * progmodes/octave-mod.el (octave-mode):
3720 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3721 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3722 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3723 Let define-derived-mode do its job.
3724 * progmodes/cpp.el (cpp-edit-mode-map):
3725 Move initialization into declaration.
3726 (cpp-edit-mode): Use define-derived-mode.
3727 (cpp-edit-load): Use derived-mode-p.
3728 * progmodes/mixal-mode.el (mixal-mode):
3729 * progmodes/f90.el (f90-mode):
3730 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3731 require-final-newline since prog-mode does it already.
3732 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3733 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3734 * progmodes/antlr-mode.el: Require cc-mode upfront.
3735 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3737 (antlr-directory-dependencies, antlr-show-makefile-rules):
3739 (antlr-language-option): Don't assume point-min==1.
3740 (antlr-mode): Use define-derived-mode.
3741 * progmodes/ada-mode.el: Use derived-mode-p.
3742 (ada-mode): Use define-derived-mode.
3743 Use hack-local-variables-hook.
3745 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3747 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3748 (texinfo-mode): Don't disable adaptive-fill-mode.
3749 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3750 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3751 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3752 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3753 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3754 (texinfo-insert-@quotation, texinfo-insert-@samp)
3755 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3756 (texinfo-insert-@uref): Use define-skeleton.
3757 (texinfo-insert-@-with-arg): Delete.
3759 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3761 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3762 nil, do quote archive member names. (Bug#6144)
3764 2010-12-10 Glenn Morris <rgm@gnu.org>
3766 * files.el (diff-no-select): Declare.
3768 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3769 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3771 * comint.el (comint-input-ring-file-name): Doc fix.
3773 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3775 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3777 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3778 Use them instead of `nil' and `>', respectively.
3779 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3781 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3782 and menu-bar-positive-p instead of `nil' and `>', respectively.
3785 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3787 * whitespace.el (whitespace-newline-mode): Code fix.
3789 2010-12-09 Glenn Morris <rgm@gnu.org>
3791 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3792 Rename functions without commas, update callers.
3794 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3796 * whitespace.el (whitespace-cleanup-region):
3797 Clean up spaces before tabs. (Bug#7582)
3799 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3801 * bookmark.el: Adjust parameter names and doc strings to resolve
3802 confusion over whether "bookmark" meant a bookmark name or a
3803 bookmark record. Along the way, shorten one function's name for
3804 similar reasons. (Issue #7548)
3805 (bookmark-name-from-record): New name for
3806 `bookmark-name-from-full-record'. All callers changed.
3807 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3808 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3809 (bookmark-get-annotation, bookmark-set-annotation)
3810 (bookmark-get-filename, bookmark-set-filename)
3811 (bookmark-get-position, bookmark-set-position)
3812 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3813 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3814 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3815 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3816 Rename `bookmark' parameter to `bookmark-name-or-record', to
3817 clearly show its role, and shorten or adjust doc strings accordingly.
3818 (bookmark-set-name): Same, and pass the parameter directly to
3819 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3820 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3821 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3822 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3823 and in some cases shorten doc string accordingly.
3824 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3825 and `new-name', and adjust an internal variable to avoid confusion.
3826 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3827 parameter in doc string.
3829 2010-12-08 Glenn Morris <rgm@gnu.org>
3831 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3832 from gdb's history file. (Bug#7575)
3834 * mail/emacsbug.el (report-emacs-bug):
3835 Try to handle some other mail clients.
3837 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3839 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3840 Use string-prefix-p.
3841 (file-name-version-regexp): New var.
3842 (file-name-sans-versions):
3843 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3844 (jka-compr-get-compression-info): Use dolist.
3845 (jka-compr-compression-info-list): Don't bother specifying
3846 version/backup regexps.
3848 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3850 * simple.el (just-one-space): Make argument n default to 1 if
3853 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * electric.el (electric-indent-post-self-insert-function):
3856 Delete trailing newlines even if we don't reindent.
3858 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * minibuffer.el (completion-at-point): Remove the `arg'.
3861 * bindings.el (complete-symbol): Move back from minibuffer.el.
3863 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3865 * simple.el (just-one-space): Delete newlines for negative arg.
3867 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3869 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3870 (ansi-color-filter-apply): Simplify.
3871 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3873 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3875 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3877 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3879 * dired.el (dired-use-ls-dired): Set default to a special
3880 "unspecified" value.
3881 (dired-insert-directory): When called the first time, check
3882 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3884 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3886 * replace.el: Add "collect" feature to occur.
3887 (occur-collect-regexp-history): New var.
3888 (occur-read-primary-args): Return a replace string for nlines,
3890 (occur): Extend the meaning of nlines.
3892 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3894 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3895 (which-func-update-1): Distinguish symbols from strings.
3896 (which-function): Stay within 80 columns.
3898 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3902 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3904 (comment-style): Use comment-styles's docs to describe values.
3906 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3908 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3909 and ns-show-prefs (Bug#7535).
3911 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3912 bindings (Bug#7535).
3914 2010-12-03 Glenn Morris <rgm@gnu.org>
3916 * nxml/nxml-mode.el: Require rng-nxml.
3917 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3918 Remove declarations.
3920 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3921 * nxml/rng-nxml.el, nxml/rng-valid.el:
3922 Remove leading `*' from defcustom docs.
3924 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3925 (normal-top-level-add-to-load-path, tty-handle-args):
3926 Convert comments to basic doc-strings.
3928 * net/browse-url.el (browse-url-url-at-point)
3929 (browse-url-default-browser): Remove autoload cookies.
3931 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3932 Remove more undefined cl functions.
3934 * vc/diff.el (diff-sentinel): Make new arguments optional.
3935 * ibuf-ext.el (diff-sentinel): Update declaration.
3937 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3939 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3940 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3941 (epg-context-set-passphrase-callback): Mention that the callback
3942 is not called when used with GnuPG 2.x.
3944 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3946 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3947 (tramp-file-name-port): Check also for `tramp-default-port'.
3948 (tramp-get-connection-name): New defun.
3949 (tramp-get-connection-process): Use it.
3950 (tramp-debug-message): Extend function exclude list.
3951 (tramp-drop-volume-letter): Fix doc string.
3953 * net/tramp-cmds.el: Remove solved todo item.
3956 * net/tramp-gvfs.el:
3958 * net/tramp-imap.el:
3959 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3960 and `tramp-default-user-alist', respectively.
3962 * net/tramp-gw.el (tramp-gw-open-connection):
3963 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3965 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3966 `tramp-file-name-port'.
3968 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3969 and "psftp". Exchange "%k" marker with options.
3970 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3971 Compute size of link target.
3972 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3973 `tramp-current-*' up due to gateway methods. Optimize computing of
3974 copy arguments. Use `tramp-get-connection-name' and
3975 `tramp-get-connection-buffer'. Improve debug messages.
3976 (tramp-compute-multi-hops): Remove port determination.
3977 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3979 * net/trampver.el: Update release number.
3981 2010-12-02 Glenn Morris <rgm@gnu.org>
3983 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3984 Avoid infinite loop over windows. (Bug#7492)
3986 * progmodes/flymake.el (flymake-check-file-limit):
3987 Allow nil to mean "no limit".
3988 (flymake-check-patch-master-file-buffer): Update for above change.
3989 Allow a .tex file-name extension to be optional.
3990 (flymake-master-tex-init): Also match \include statements.
3992 2010-11-30 Sam Steingold <sds@gnu.org>
3994 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3995 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3996 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3997 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3998 define-derived-mode').
3999 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4000 users who want to call `nxml-parent-document-set'.
4002 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4004 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4005 stand-alone lines, since that is handled by log-edit-match-to-eoh
4008 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4010 * dired.el (dired-get-filename): Replace backslashes with slashes
4011 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4012 * locate.el (locate-default-make-command-line): Don't consider
4013 drive letter and root directory part of
4014 `directory-listing-before-filename-regexp'. (Bug#7308)
4015 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4017 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4020 of :smie-open/close-alist.
4021 (smie-next-sexp): Make it accept a "start token" as argument.
4022 (smie-indent-keyword): Be careful not to misidentify tokens that span
4023 more than one line, as empty lines. Add argument `token'.
4025 2010-11-27 Kenichi Handa <handa@m17n.org>
4027 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4028 multipart subtypes, insert all as usual.
4030 * mail/rmail.el: Require rfc2047.
4032 2010-11-27 Kenichi Handa <handa@m17n.org>
4034 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4035 (rmail-mime-entity-disposition)
4036 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4037 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4038 (rmail-mime-save): Handle the case that the button's `data' is a
4040 (rmail-mime-insert-text): New function.
4041 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4042 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4043 (rmail-mime-insert-bulk): New function mostly copied from the old
4044 rmail-mime-bulk-handler.
4045 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4046 (rmail-mime-process-multipart): New function mostly copied from
4047 the old rmail-mime-multipart-handler.
4048 (rmail-mime-show): Just call rmail-mime-process.
4049 (rmail-mime-process): New function mostly copied from the old
4051 (rmail-mime-insert-multipart, rmail-mime-parse)
4052 (rmail-mime-insert, rmail-show-mime)
4053 (rmail-insert-mime-forwarded-message)
4054 (rmail-insert-mime-resent-message): New functions.
4055 (rmail-insert-mime-forwarded-message-function): Set to
4056 rmail-insert-mime-forwarded-message.
4057 (rmail-insert-mime-resent-message-function): Set to
4058 rmail-insert-mime-resent-message.
4060 * mail/rmailsum.el: Require rfc2047.
4061 (rmail-header-summary): Handle multiline Subject: field.
4062 (rmail-summary-line-decoder): Change the default to
4063 rfc2047-decode-string.
4065 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4066 (rmail-mime-feature): Change the default to `rmailmm'.
4067 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4068 (rmail-display-labels): Likewise.
4069 (rmail-show-message-1): Check rmail-enable-mime, and use
4070 rmail-show-mime-function for a MIME message. Decode the headers
4071 according to RFC2047.
4073 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * progmodes/which-func.el (which-func-imenu-joiner-function):
4076 Return a string, as expected.
4077 (which-function-mode): Make sure we stop any previous timer before
4080 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4082 * net/tramp.el (tramp-default-method-alist)
4083 (tramp-default-user-alist, tramp-default-proxies-alist):
4084 Adapt custom options type. (Bug#7445)
4086 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4088 * progmodes/python.el: Add Ipython support (Bug#5390).
4089 (python-shell-prompt-alist)
4090 (python-shell-continuation-prompt-alist): New options.
4091 (python--set-prompt-regexp): New function.
4092 (inferior-python-mode, run-python, python-shell):
4093 Require ansi-color. Use python--set-prompt-regexp to set the comint
4094 prompt based on the Python interpreter.
4095 (python--prompt-regexp): New var.
4096 (python-check-comint-prompt)
4097 (python-comint-output-filter-function): Use it.
4098 (run-python): Use a pipe (Bug#5694).
4100 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4102 * progmodes/python.el (run-python): Doc fix.
4103 (python-keep-current-directory-in-path): New var (Bug#7454).
4105 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4107 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4108 Prompt user before actually printing.
4110 2010-11-27 Glenn Morris <rgm@gnu.org>
4112 * startup.el (package-enable-at-startup, package-initialize):
4113 Remove unnecessary declarations.
4115 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4117 * international/characters.el (glyphless-char-display-control):
4118 Exclude newline and TAB from the c0-control group.
4120 2010-11-27 Glenn Morris <rgm@gnu.org>
4122 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4123 (expand-mail-aliases): Remove unnecessary autoload.
4125 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4127 * shell.el (shell-dir-cookie-re): Move definition before use.
4129 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4130 Replace undefined CL functions.
4132 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4134 * simple.el (prog-mode): Set bidi-paragraph-direction to
4137 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4139 2010-11-26 Glenn Morris <rgm@gnu.org>
4141 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4142 diary-outlook-formats can be sensitive to calendar-date-style.
4143 (diary-outlook-formats): Simplify the default setting.
4144 (diary-from-outlook-internal): Pass subject and body as arguments.
4145 Use dolist rather than dotimes. Don't save the diary buffer.
4146 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4147 Pass subject and body as explicit arguments to the -internal function.
4149 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4151 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4152 parsing them. This makes mailto:...?subject=foo\nbar work.
4154 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * vc/diff.el (diff): Fix last change.
4158 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4160 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4161 (pcase--dontcare-upats): New var.
4162 (pcase-let, pcase-let*): Generate better code.
4163 Accept the same bodies as `let'.
4164 (pcase-dolist): New macro.
4165 (pcase--trivial-upat-p): New helper function.
4166 (pcase--expand): Strip leading "(let nil" if any.
4168 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4170 * mail/mailclient.el (browse-url): Require.
4171 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4172 use the external browser function to send the mail (bug#7469).
4174 * net/browse-url.el (browse-url-browser-function): Revert the
4175 default back to the previous value, since the new value broke
4177 (browse-url-mailto-function): New variable for mailto: URLs.
4178 (browse-url): Use the new variable for mailto: URLs.
4180 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * eshell/esh-cmd.el (eshell-parse-command):
4183 * eshell/esh-arg.el (eshell-parse-arguments):
4184 * eshell/em-script.el (eshell-source-file):
4185 Use with-silent-modifications.
4187 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4189 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4190 for a merge location.
4192 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4193 (vc-bzr-merge-branch): Always prompt.
4194 (vc-bzr-async-command): Use the full branch filename.
4196 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4198 * shell.el (shell): Use current-buffer by default if it's already
4199 a shell mode buffer and its process is dead.
4200 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4202 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4204 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4205 Mention that the keywords should be comma separated.
4207 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4209 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4210 Accept optional prefix arg meaning to prompt for a command.
4211 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4212 prefix arg meaning to prompt for a command.
4213 (vc-pull): Alias for vc-update.
4215 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4216 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4217 (vc-bzr-merge-branch): New functions, implementing merge-branch
4218 and pull operations.
4220 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * Makefile.in: Fix up last merge.
4224 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4225 (diff-sentinel): Get them as arguments instead.
4226 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4227 (diff-file-local-copy, diff-better-file-name): New funs.
4228 (diff-no-select): Rename from diff-into-buffer.
4229 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4230 Prefer closures to buffer-local variables.
4231 (diff): Adjust accordingly.
4232 (diff-buffer-with-file): Move from files.el.
4233 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4234 (diff-buffer-internal): Remove.
4235 (diff-buffer-buffer): Remove.
4236 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4237 the buffer name used, and so as not to mess up windows and frames.
4239 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4241 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4242 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4243 (diff-buffer-with-file): Use it.
4244 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4247 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4249 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4250 \ref's or \pageref's value as default instead of initial input.
4252 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4254 * files.el (backup-by-copying-when-mismatch): The default value is
4257 * startup.el (normal-top-level):
4258 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4259 `backup-by-copying-when-mismatch'.
4261 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4263 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4265 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4267 * progmodes/python.el (python-font-lock-keywords):
4268 Highlight top-level augmented assignments (Bug#6445).
4270 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4272 * term/ns-win.el (ns-right-control-modifier)
4273 (ns-right-command-modifier): Defvar them.
4275 * cus-start.el (all): Add ns-right-control-modifier and
4276 ns-right-command-modifier (Bug#7458).
4278 2010-11-20 Glenn Morris <rgm@gnu.org>
4280 * emacs-lisp/authors.el (authors-ignored-files)
4281 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4283 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4285 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4286 (report-emacs-bug-parse-query-results)
4287 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4288 keywords used for querying the bug database to show them in the
4289 existing bugs buffer.
4291 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4293 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4295 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4297 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4299 * international/characters.el (glyphless-char-display-control):
4300 Make it a defcustom, with update-glyphless-char-display as its
4302 (top level): Don't call update-glyphless-char-display.
4304 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4306 Sync with Tramp 2.2.0.
4308 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4309 `file-remote-p' (due to compatibility).
4311 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4312 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4314 * net/trampver.el: Update release number.
4316 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4318 * faces.el (glyphless-char): Define value for `pc'.
4320 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4322 Implemented a bug querying mechanism.
4323 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4324 (report-emacs-bug-create-existing-bugs-buffer)
4325 (report-emacs-bug-parse-query-results)
4326 (report-emacs-bug-query-existing-bugs): New functions.
4328 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4330 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4331 a \ref{} or \pageref{} macro, then use its value as initial input.
4333 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4335 * calc/calc-units.el (math-build-units-table-buffer):
4336 calc/README: Mention that the TeX specific units won't use the
4337 `tex' prefix in TeX mode.
4338 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4339 prefix for units in TeX mode.
4341 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * simple.el (kill-new, kill-append, kill-region):
4344 * comint.el (comint-kill-region): Make the yank-handler argument
4347 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4349 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4350 that are both openers (resp. closers) and something else.
4351 (smie-grammar): Loosen definition of valid values.
4352 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4353 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4354 (smie-indent-after-keyword): Adjust users.
4355 (smie-indent-keyword): Don't indent empty lines.
4357 * vc-hg.el (vc-hg-program): New var.
4358 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4359 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4361 2010-11-18 Glenn Morris <rgm@gnu.org>
4363 * emacs-lisp/autoload.el (autoload-find-destination): The function
4364 coding-system-eol-type may return non-numeric values. (Bug#7414)
4366 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4368 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4370 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4372 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4374 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4376 * textmodes/picture.el (picture-mouse-set-point): Don't use
4377 posn-col-row; explicitly compute the motion based on the posn at
4378 the window-start (Bug#7390).
4380 2010-11-18 Glenn Morris <rgm@gnu.org>
4382 * novice.el (disabled-command-function):
4383 Fix 2009-11-15 change. (Bug#7384)
4385 2010-11-18 Glenn Morris <rgm@gnu.org>
4387 * calendar/calendar.el (diary-iso-date-forms): Make elements
4388 mutually exclusive. (Bug#7377)
4390 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4393 when filling the remaining "unconstrained" values.
4395 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4397 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4400 * files.el (safe-local-variable-p): Gracefully handle errors.
4402 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4403 Use smie-indent-virtual when indenting relative to an opener.
4404 (smie-rule-separator): Use smie-rule-parent.
4405 (smie-indent-keyword): Consult rules, even for openers at bol.
4406 (smie-indent-comment-close): Try to align closer's content.
4408 2010-11-18 Glenn Morris <rgm@gnu.org>
4410 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4412 2010-11-18 Glenn Morris <rgm@gnu.org>
4414 * printing.el (pr-menu-bind): Doc fix.
4416 * speedbar.el (speedbar-toggle-images): Doc fix.
4418 * progmodes/python.el (python-shell): Doc fix.
4420 * wid-edit.el (widget-field-use-before-change)
4421 (widget-use-overlay-change): Doc fixes.
4423 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4425 Minor cleanup to improve style.
4426 * textmodes/rst.el (rst-update-section): Use point-marker.
4427 (rst-get-decoration): Eliminate unneeded assignment.
4428 (rst-promote-region, rst-straighten-decorations)
4429 (rst-section-tree, rst-adjust): Use point-marker.
4430 (rst-toc-mode-mouse-goto): Avoid setq.
4431 (rst-shift-region-guts, rst-shift-region-left)
4432 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4433 (rst-convert-bullets-to-enumeration): Use copy-marker.
4435 * minibuffer.el (completion-fail-discreetly): New var.
4436 (completion--do-completion): Use it.
4438 * electric.el (electric-pair-pairs): New var.
4439 (electric-pair-post-self-insert-function): Use it.
4440 (electric-layout-post-self-insert-function): Don't insert a before
4441 newline unless it's actually needed.
4443 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4445 * progmodes/python.el (run-python): Explain why we remove the current
4446 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4448 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4450 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4452 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4453 (octave-mode-map): Don't bind ;, SPC, and LF.
4454 (octave-auto-indent, octave-auto-newline): Remove.
4455 (electric-layout-rules): Declare.
4456 (octave-mode): Set electric-layout-rules.
4457 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4458 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4459 (octave-electric-space): Remove.
4461 * electric.el (electric-layout-mode): New minor mode.
4462 (electric--after-char-pos): New function.
4463 (electric-indent-post-self-insert-function): Use it.
4464 (electric-layout-rules): New var.
4465 (electric-layout-post-self-insert-function): New function.
4466 (electric-indent-mode): Make them interact better.
4468 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4470 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4471 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4472 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4474 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4476 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4477 Make sure to check inside the word (Bug#6761).
4479 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4481 * startup.el (command-line): If the cursorColor resource is set,
4482 change the cursor face-spec (Bug#7392).
4484 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4486 The main features of the following allout.el changes are:
4487 - implement user customization for the allout key bindings
4488 - add a customization control by which the user can inhibit use of
4489 a trailing Ctrl-H, so by default it's reserved for use with
4490 describe-prefix-bindings
4491 - adapt to new version of called-interactively-p, while
4492 maintaining backwards compatibility with old version
4493 - fix hotspot navigation so i works properly with meta-modified keys.
4495 * allout.el (allout-keybindings, allout-bind-keys)
4496 (allout-keybindings-binding, allout-prefixed-keybindings)
4497 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4498 (allout-keybindings-list, allout-mode-map-adjustments)
4499 (allout-setup-mode-map): Establish allout-mode keymaps as user
4500 customizable settings, and also establish a customizable setting which
4501 regulates whether or not a trailing control-h is reserved for use with
4502 describe-prefix-bindings - and inhibit it by default, so that control-h
4503 *is* reserved for describe-prefix-bindings unless the user changes it.
4505 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4506 and accurately between modified and unmodified events, and handle
4507 modified events more comprehensively.
4509 * allout.el (allout-substring-no-properties):
4510 Alias to use or provide version of `substring-no-properties'.
4511 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4513 * allout.el (allout-next-single-char-property-change):
4514 Alias to use or provide version of `next-single-char-property-change'.
4515 (allout-annotate-hidden, allout-hide-by-annotation):
4516 Use `allout-next-single-char-property-change'.
4518 * allout.el (allout-select-safe-coding-system):
4519 Alias to use or provide version of `select-safe-coding-system'.
4520 (allout-toggle-subtree-encryption):
4521 Use `allout-select-safe-coding-system'.
4523 * allout.el (allout-set-buffer-multibyte):
4524 Alias to use or provide version of `set-buffer-multibyte'.
4525 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4527 * allout.el (allout-called-interactively-p): Macro for using the
4528 different versions of called-interactively-p identically, depending on
4529 the subroutine's argument signature.
4530 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4531 Use `(interactive "p")' instead of `(called-interactively-p)'.
4533 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4534 (allout-previous-visible-heading, allout-forward-current-level)
4535 (allout-backward-current-level, allout-show-children):
4536 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4538 * allout.el (allout-before-change-handler):
4539 Exempt edits to the (overlaid) character after the allout outline
4540 bullet from edit confirmation prompt.
4542 * allout.el (allout-add-resumptions):
4543 Ensure that it respects correct buffer for keybindings.
4545 * allout.el (allout-beginning-of-line):
4546 Use `allout-previous-single-char-property-change' alias for the sake of
4547 diverse compatibility.
4549 * allout.el (allout-end-of-line):
4550 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4552 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4554 * frame.el (frame-notice-user-settings): Don't clobber other
4555 user-set parameters when calling face-set-after-frame-default in
4556 response to background-color parameter (Bug#7373).
4558 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4560 * international/characters.el (glyphless-char-display-control):
4561 Rename from glyphless-char-control; all users changed. Doc fix.
4562 Signal an error if display method is not one of the recognized
4565 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4567 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4568 (tramp-compat-line-end-position): Remove them.
4570 * net/tramp.el (tramp-parse-rhosts-group)
4571 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4572 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4573 (tramp-parse-netrc-group, tramp-parse-putty-group)
4574 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4575 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4576 (tramp-sh-handle-file-selinux-context)
4577 (tramp-sh-handle-file-name-all-completions)
4578 (tramp-sh-handle-insert-directory)
4579 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4580 (tramp-wait-for-output, tramp-send-command-and-read)
4581 * net/tramp-smb.el (tramp-smb-read-file-entry)
4582 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4584 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4586 (tramp-remote-coding-commands): Add an alternative using "base64
4587 -d -i". This is needed for older base64 versions from GNU
4588 coreutils. Reported by Klaus Reichl
4589 <Klaus.Reichl@thalesgroup.com>.
4591 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4593 * simple.el (count-words-region): New function.
4595 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4597 * shell.el (shell-dir-cookie-re): New custom variable.
4598 (shell-dir-cookie-watcher): New function.
4600 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4601 and compilation-mode (bug#7350).
4603 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4604 highlight when one of them is empty.
4606 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4608 (skeleton-newline): New function.
4609 (skeleton-internal-1): Use it.
4611 * simple.el (open-line): `newline' may strip trailing space.
4613 2010-11-12 Kevin Ryde <user42@zip.com.au>
4615 * international/mule-cmds.el (princ-list): Use mapc.
4617 2010-11-12 Glenn Morris <rgm@gnu.org>
4619 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4620 Use it to replace all instances of "*Compile-Log*".
4622 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4627 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * progmodes/modula2.el: Use SMIE and skeleton.
4630 (m2-mode-syntax-table): (*..*) can be nested.
4631 Add //...\n. Fix paren syntax.
4632 (m2-mode-map): Remove LF and TAB bindings.
4633 (m2-indent): Add safety property.
4634 (m2-smie-grammar): New var.
4635 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4636 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4637 (m2-mode): Use define-derived-mode.
4638 (m2-newline, m2-tab): Remove.
4639 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4640 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4641 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4642 (m2-import): Use define-skeleton.
4644 2010-11-11 Glenn Morris <rgm@gnu.org>
4646 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4648 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4649 (ls-lisp-verbosity): Add custom :set-after property.
4650 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4651 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4652 (ls-lisp-insert-directory): Update caller.
4653 (ls-lisp-set-options): New function.
4654 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4657 * play/landmark.el (lm-prompt-for-move):
4658 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4660 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4662 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4663 (idlwave-study-twins): Prefix dynamic local variable `name'.
4664 (idlwave-routine-twin-compare): Update for above change.
4666 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4667 Prefix dynamic local variables `name', `kwd', and `link'.
4668 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4669 * progmodes/idlw-complete-structtag.el
4670 (idlwave-complete-structure-tag-help):
4671 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4672 (idlwave-complete-sysvar-tag-help)
4673 (idlwave-complete-class-structure-tag-help):
4674 Update for above name changes.
4676 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4678 * net/browse-url.el (browse-url-browser-function): Change the
4679 default to use `browse-url-mail' on mailto: URLs.
4681 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4683 * emacs-lisp/package.el (package-read-all-archive-contents):
4684 Reset package-archive-contents to nil before re-reading.
4686 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4688 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4689 already found as misspellings by (flyspell-large-region), just
4690 do highlighting (bug#7322).
4692 2010-11-10 Glenn Morris <rgm@gnu.org>
4694 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4696 * emulation/edt.el (edt-with-position): New macro.
4697 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4698 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4699 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4701 * emulation/tpu-extras.el (tpu-with-position): New macro.
4702 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4704 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4706 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4707 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4708 (texinfo-master-menu, texinfo-insert-node-lines)
4709 (texinfo-multiple-files-update):
4710 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4711 Use line-beginning-position.
4713 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4714 No recent Emacs supports system-type `emx'.
4716 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4717 (ada-command-separator, ada-default-prj-properties)
4718 (ada-find-any-references): Update for above name change.
4720 * dirtrack.el (dirtrack-directory-function)
4721 (dirtrack-canonicalize-function):
4722 * filecache.el (file-cache-completion-ignore-case)
4723 (file-cache-case-fold-search, file-cache-ignore-case):
4724 * term.el (serial-port-is-file-p): Cosmetic change.
4726 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4727 Remove non-existent `windows-95' system-type.
4728 * dired.el (dired-chown-program): Remove non-existent `linux'
4731 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4732 (ping-program-options): Remove non-existent `linux' system-type.
4734 * startup.el (package-initialize): Update declaration.
4736 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4737 (ls-lisp-handle-switches): Use time-less-p.
4738 (ls-lisp-format-time): Use float-time.
4740 * textmodes/remember.el (remember-time-to-seconds): Remove.
4741 (remember-store-in-mailbox): Use float-time.
4743 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4745 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4746 never a real function.
4747 (with-no-warnings): Remove compat stub, now unused.
4748 (time-less-p): Doc fix.
4749 (time-to-number-of-days): Simplify.
4751 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4753 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4754 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4755 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4756 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4757 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4759 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4760 (eshell-shuffle-files, eshell-shorthand-tar-command)
4761 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4762 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4763 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4764 Prefix dynamic local variable `matches'.
4766 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4767 Prefix dynamic local variable `skeleton'.
4769 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4771 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4772 in mail buffer; make yank-action always a command that yanks original
4775 2010-11-09 Glenn Morris <rgm@gnu.org>
4777 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4779 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4781 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4782 completion field (bug#7211).
4784 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4785 Fix handling of backslash escapes.
4786 (python-quote-syntax): Adjust accordingly.
4788 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4790 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4791 (vc-mtn-workfile-branch): Adjust to new output format.
4793 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * international/mule-cmds.el (princ-list): Mark as obsolete.
4797 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * emacs-lisp/smie.el: New package.
4801 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4803 * files.el (backup-by-copying-when-mismatch):
4804 Set `permanent-local' property.
4806 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4807 `permanent-local' property for `backup-by-copying-when-mismatch'.
4809 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4811 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4813 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4815 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4816 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4817 AUTOINOUT for SV style multidimensional arrays, bug294.
4818 Reported by Eric Mastromarchi.
4819 (verilog-preprocess): Use with-current-buffer and
4820 font-lock-fontify-buffer to cleanup style issues.
4822 2010-11-09 Glenn Morris <rgm@gnu.org>
4824 * locate.el (locate, locate-mode): Doc fixes.
4826 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4828 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4829 user for confirmation.
4830 (server-force-stop): Use it.
4831 (server-start): Use server-force-stop for kill-emacs-hook, to
4832 avoid user interaction while killing Emacs.
4834 2010-11-09 Glenn Morris <rgm@gnu.org>
4836 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4837 (meta-indent-line): Simplify.
4839 * vc/emerge.el (emerge-line-number-in-buf):
4840 * textmodes/ispell.el (ispell-region):
4841 * textmodes/fill.el (current-fill-column):
4842 * progmodes/xscheme.el (xscheme-send-current-line):
4843 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4844 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4845 * progmodes/sh-script.el (sh-handle-prev-do):
4846 * progmodes/meta-mode.el (meta-indent-line):
4847 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4849 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4850 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4851 * progmodes/fortran.el (fortran-looking-at-if-then):
4852 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4853 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4854 (cperl-find-pods-heres):
4855 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4856 * net/quickurl.el (quickurl-list-insert):
4857 * net/ldap.el (ldap-search-internal):
4858 * net/eudc.el (eudc-expand-inline):
4859 * mail/sendmail.el (sendmail-send-it):
4860 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4861 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4862 (viper-brac-function):
4863 * calc/calc-yank.el (calc-do-grab-region):
4864 * calc/calc-keypd.el (calc-keypad-press):
4865 * term.el (term-move-columns, term-insert-spaces):
4866 * speedbar.el (speedbar-highlight-one-tag-line):
4867 * simple.el (current-word):
4868 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4869 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4871 * hippie-exp.el (he-line-beg):
4872 * epa.el (epa--marked-keys):
4873 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4874 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4875 (dired-relist-entry):
4876 * buff-menu.el (Buffer-menu-buffer):
4877 * array.el (current-line):
4878 * allout.el (allout-resolve-xref)
4879 (allout-latex-verbatim-quote-curr-line):
4880 Replace yet more uses of end-of-line etc with line-end-position, etc.
4882 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4885 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4886 (checkdoc-syntax-table): Initialize in the declaration.
4887 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4888 the mode on unconditionally.
4890 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4891 (extent-end-position, extent-start-position): Remove setf method for
4892 non-existing functions (bug#7319).
4894 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4897 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4898 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4899 (smie-prec2->grammar): Rename from smie-prec2-levels.
4900 (smie-grammar): Rename from smie-op-levels.
4901 (smie-indent--hanging-p): Rename from smie-hanging-p.
4902 (smie-rule-hanging-p): New alias.
4903 (smie-indent--bolp): Rename from smie-bolp.
4904 (smie-indent--hanging-p): New alias.
4905 (smie--token): New dynamically bound variable.
4906 (smie-indent--parent): New function.
4907 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4908 (smie-rule-next-p): Rename from smie-next-p.
4909 (smie-rule-prev-p): Rename from smie-prev-p.
4910 (smie-rule-sibling-p, smie-rule-parent)
4911 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4912 (smie-rule-separator-outdent): New var.
4913 (smie-indent--rule): Merge with smie-indent--column.
4914 (smie-indent-forward-token, smie-indent-backward-token):
4915 Also recognize close parens.
4916 (smie-indent-keyword): Don't use smie-indent--column any more.
4917 (smie-indent-after-keyword): Ignore closers by default.
4918 (smie-indent-line): Use with-demoted-errors.
4919 * progmodes/octave-mod.el (octave-smie-grammar):
4920 Rename from octave-smie-op-levels.
4921 (octave-smie-rules): Adjust to new behavior.
4922 * progmodes/prolog.el (prolog-smie-grammar):
4923 Rename from prolog-smie-op-levels.
4925 2010-11-07 Glenn Morris <rgm@gnu.org>
4927 * eshell/esh-util.el (subst-char-in-string)
4928 (directory-files-and-attributes): These compatibility definitions are
4929 not needed on any version of Emacs since at least 21.4.
4931 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4932 (verilog-get-end-of-line): Remove.
4933 (verilog-within-string, verilog-re-search-forward-substr)
4934 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4935 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4936 Use point-at-bol, point-at-eol.
4937 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4939 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4940 (electric-pascal-terminate-line, pascal-set-auto-comments)
4941 (pascal-indent-paramlist, pascal-indent-declaration)
4942 (pascal-get-lineup-indent, pascal-func-completion)
4943 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4944 Use point-at-bol, point-at-eol.
4945 * progmodes/flymake.el (flymake-line-beginning-position)
4946 (flymake-line-end-position): Remove.
4947 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4948 * eshell/esh-util.el (line-end-position, line-beginning-position):
4949 Remove compat definitions.
4951 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4953 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4954 Use line-end-position.
4956 * emacs-lisp/chart.el (chart-zap-chars):
4957 * play/decipher.el (decipher-set-map):
4958 * progmodes/ada-mode.el (ada-get-current-indent)
4959 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4960 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4961 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4962 (ada-get-all-references):
4963 * progmodes/cperl-mode.el (cperl-electric-paren)
4964 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4965 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4966 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4967 (cperl-word-at-point-hard):
4968 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4969 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4970 (idlwave-shell-display-line):
4971 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4972 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4973 * progmodes/js.el (js--re-search-forward-inner)
4974 (js--re-search-backward-inner):
4975 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4976 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4977 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4978 * textmodes/flyspell.el (flyspell-process-localwords):
4979 * textmodes/ispell.el (ispell-buffer-local-parsing)
4980 (ispell-buffer-local-dict, ispell-buffer-local-words):
4981 Use point-at-bol and point-at-eol.
4983 * speedbar.el (speedbar-generic-item-info)
4984 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4985 (speedbar-add-indicator, speedbar-check-vc-this-line)
4986 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4987 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4988 Replace more uses of end-of-line etc with line-end-position.
4990 2010-11-06 Glenn Morris <rgm@gnu.org>
4992 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4993 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4994 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4995 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4996 (texinfo-multiple-files-update):
4997 * textmodes/table.el (table--probe-cell-left-up)
4998 (table--probe-cell-right-bottom):
4999 * textmodes/picture.el (picture-tab-search):
5000 * textmodes/page-ext.el (pages-copy-header-and-position)
5001 (pages-directory-for-addresses):
5002 * progmodes/vera-mode.el (vera-get-offset):
5003 * progmodes/simula.el (simula-calculate-indent):
5004 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5005 * progmodes/prolog.el (end-of-prolog-clause):
5006 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5007 * progmodes/icon.el (indent-icon-exp):
5008 * progmodes/etags.el (tag-re-match-p):
5009 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5010 * progmodes/ebnf2ps.el (ebnf-begin-file):
5011 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5012 (dcl-save-local-variable):
5013 * play/life.el (life-setup):
5014 * play/gametree.el (gametree-looking-at-ply):
5015 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5016 * mail/sendmail.el (mail-mode-auto-fill):
5017 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5018 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5019 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5020 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5021 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5022 * type-break.el (type-break-file-keystroke-count):
5023 * term.el (term-replace-by-expanded-history-before-point)
5024 (term-skip-prompt, term-extract-string):
5025 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5026 (speedbar-contract-line, speedbar-toggle-line-expansion)
5027 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5028 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5029 * sort.el (sort-skip-fields):
5030 * skeleton.el (skeleton-internal-list):
5031 * simple.el (line-move-finish, line-move-to-column):
5032 * shell.el (shell-forward-command):
5033 * misc.el (copy-from-above-command):
5034 * makesum.el (double-column):
5035 * ebuff-menu.el (electric-buffer-update-highlight):
5036 * dired.el (dired-move-to-end-of-filename):
5037 * dframe.el (dframe-popup-kludge):
5038 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5039 * arc-mode.el (archive-get-lineno):
5040 Use line-end-position and line-beginning-position.
5042 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5043 (idlwave-study-twins): Prefix dynamic local `class'.
5044 (idlwave-routine-twin-compare): Update for above name change.
5046 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5047 Use boundp tests to silence compiler. Update for changed name of
5048 bytecomp-filename variable.
5050 * emulation/viper-cmd.el (viper-read-string-with-history):
5051 Prefix dynamic local `initial'.
5052 (viper-minibuffer-standard-hook): Update for above name change.
5054 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5055 (elint-init-form): Update for above name change.
5057 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5058 local variables `cbeg' and `cend' a prefix.
5059 (mail-extr-voodoo): Update for above name change.
5061 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5062 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5063 (reftex-toc-promote-action): Doc fix.
5065 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5066 `prompt', `data' a prefix.
5067 (reftex-select-post-command-hook, reftex-select-callback)
5068 (reftex-select-mouse-accept, reftex-select-read-cite):
5069 Update for above name changes.
5071 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5072 `refstyle' to reftex-refstyle.
5073 (reftex-offer-label-menu): Update for above name change.
5074 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5075 `refstyle' name change.
5077 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5078 with with-current-buffer.
5079 (diff, template): Give dynamic local variables a prefix.
5080 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5081 (emerge-line-number-in-buf): Update for above name change.
5082 (emerge-combine-versions-internal): Rename local `template' to
5083 emerge-combine-template.
5084 (emerge-combine-versions-edit): Update for above name change.
5086 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5088 * textmodes/reftex-cite.el
5089 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5090 entries with whitespace after \bibitem.
5091 (reftex-create-bibtex-file): Match entries containing numbers and
5092 symbol constituents. Make sure that entries with whitespace at
5093 various places are found.
5095 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5097 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5099 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5101 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5103 2010-11-05 Glenn Morris <rgm@gnu.org>
5105 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5106 (woman2-roff-buffer): Give local variable `request' a prefix.
5107 (woman0-macro): Rename argument `request' in the same way.
5108 (woman-request): New name for `request' dynamic variable.
5109 (woman-unquote, woman-forward-arg): Update for above name change.
5110 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5111 (woman1-unquote): New name for `unquote' dynamic variable.
5112 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5113 (woman-translations): Rename from `translations'. No longer global.
5114 (woman2-tr, woman-translate): Update for above name change.
5115 (woman-translate): Check for bound variable.
5116 (woman2-roff-buffer): Give local variable `translations' a prefix.
5118 * play/doctor.el: Give all local variables a prefix. Update callers.
5119 (doc$, doctor-put-meaning): Use backquote.
5121 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5122 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5124 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5125 variables bytes, ptr, op a prefix.
5126 (disassemble-offset): Update for above change.
5128 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5130 * emacs-lisp/package.el (package-unpack): Remove no-op.
5131 (package--builtins, package--dir): Doc fix.
5132 (package-activate-1, package-activate, package-install)
5133 (package-compute-transaction): Fix error message.
5134 (package-delete): Use delete-directory. Omit system packages.
5135 (package-initialize): Set package-alist to nil first.
5136 (package-menu-mark-delete, package-menu-mark-install): Don't add
5137 symbols that are inconsistent with the package state.
5138 (package-menu-execute): Perform deletions and installations as
5139 single batch operations.
5141 2010-11-03 Glenn Morris <rgm@gnu.org>
5143 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5144 (props): Remove unnecessary declaration.
5146 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5147 set-process-query-on-exit-flag.
5149 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5150 (reftex-toc-do-promote): Remove unused local `mpos'.
5151 (reftex-toc-restore-region): Make `mpos' local to this function.
5153 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5155 * play/landmark.el (lm-losing-threshold): Correct spelling.
5156 (lm-human-plays): Use new name.
5158 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5159 (gomoku-human-plays): Use new name.
5161 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5162 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5163 (gomoku-score-trans-table, gomoku-winning-threshold)
5164 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5166 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5168 * emacs-lisp/package.el: Don't put built-in packages in
5169 package-alist, to avoid loading inefficiencies.
5170 (package-built-in-p): Make VERSION optional, and treat it as a
5171 minimum acceptable version.
5172 (package-activate): Search separately for built-in packages.
5173 Emit a warning if a dependency fails.
5174 (define-package): Handle most common case, where there is no
5175 obsolete package, first.
5176 (package-compute-transaction): Print required version in error.
5177 (package--initialized): New variable.
5178 (list-packages): Use it.
5179 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5180 built-in packages in packages-alist; keep it separate.
5181 Set package--initialized.
5182 (describe-package): Avoid activating packages as a side-effect.
5183 Search separately for built-in packages.
5184 (describe-package-1): Handle the case where an elpa package is
5185 simultaneously built-in and available/installed.
5186 (package-installed-p, package--generate-package-list):
5187 Search separately for built-in packages.
5188 (package-load-descriptor): Doc fix.
5190 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5192 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5193 Handle __DATA__ and __END__.
5195 2010-11-02 Noah Friedman <friedman@splode.com>
5197 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5198 nil, do not ask to recompile files that are not already compiled,
5199 and do not recompile them.
5201 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5203 * emacs-lisp/package.el (package-initialize): Ensure that
5204 obsoleted built-in packages are not in package-activated-list
5206 (describe-package-1): Make the "installed" status override
5209 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5211 * subr.el (version-separator, version-regexp-alist): Remove '*'
5213 (version-list-<=, version<=, version=): Doc fix.
5215 2010-11-01 Kenichi Handa <handa@m17n.org>
5217 * faces.el (glyphless-char): Inherit underline for tty.
5219 2010-11-01 Kenichi Handa <handa@m17n.org>
5221 Implement various display methods for glyphless characters.
5223 * international/characters.el (char-acronym-table): New variable.
5224 (glyphless-char-control): New variable.
5225 (update-glyphless-char-display): New function.
5227 * faces.el (glyphless-char): New face.
5229 2010-11-01 Glenn Morris <rgm@gnu.org>
5231 * calendar/holidays.el (general-holidays, oriental-holidays)
5232 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5233 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5234 the definitions of their targets.
5236 * emacs-lisp/smie.el (smie): New custom group.
5237 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5239 * faces.el (xw-defined-colors, x-setup-function-keys):
5240 * mouse-sel.el (x-select-text):
5241 * term/w32console.el (x-setup-function-keys): Update declarations.
5243 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5245 * textmodes/ispell.el (comment-add): Declare.
5247 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5250 * info.el (finder-keywords-hash, package-alist): Declare.
5252 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5254 * finder.el (finder-compile-keywords): Don't use intern-soft,
5255 since package names may not yet exist in the obarray.
5257 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5259 * vc/vc-arch.el (vc-arch-checkin):
5260 * vc/vc-cvs.el (vc-cvs-checkin):
5261 * vc/vc-mtn.el (vc-mtn-checkin):
5262 * vc/vc-rcs.el (vc-rcs-checkin):
5263 * vc/vc-sccs.el (vc-sccs-checkin):
5264 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5265 since 2010-04-21 commit by Stefan Monnier.
5267 2010-11-01 Glenn Morris <rgm@gnu.org>
5269 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5271 * startup.el (package-enable-at-startup, package-initialize):
5274 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5277 2010-10-31 Julien Danjou <julien@danjou.info>
5279 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5280 (byte-recompile-directory):
5281 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5282 Use `byte-recompile-file'.
5284 2010-10-31 Glenn Morris <rgm@gnu.org>
5286 * cus-start.el: Handle standard values via a keyword.
5287 Only set version property if specified.
5288 (cursor-in-non-selected-windows, menu-bar-mode)
5289 (tool-bar-mode, show-trailing-whitespace):
5290 Do not specify standard values.
5291 (transient-mark-mode, temporary-file-directory): Use :standard.
5293 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5295 * term/x-win.el (x-get-selection-value): New function that gets
5296 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5298 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5300 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5301 preserve owner and group when editing files. (Bug#7289)
5303 2010-10-31 Glenn Morris <rgm@gnu.org>
5305 * speedbar.el (speedbar-mode):
5306 * play/fortune.el (fortune-in-buffer, fortune):
5307 * play/gomoku.el (gomoku-mode):
5308 * play/landmark.el (lm-mode):
5309 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5310 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5312 * select.el (x-selection): Mark it as an obsolete alias.
5314 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5316 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5317 major-mode (bug#7284).
5319 2010-10-31 Glenn Morris <rgm@gnu.org>
5321 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5322 rather than just an unused variable that inherits from the real one.
5324 2010-10-31 Alan Mackenzie <acm@muc.de>
5326 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5327 This fixes bug #7185.
5329 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5331 * startup.el (command-line): Search for package directories, and
5332 don't load package.el if none are found.
5334 * emacs-lisp/package.el (describe-package, list-packages):
5335 Call package-initialize if it has not been called yet.
5337 2010-10-30 Alan Mackenzie <acm@muc.de>
5339 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5340 which fontifies the tail of an enum.
5341 (c-basic-matchers-after): Insert a call to the above new function.
5342 This fixes bug #7264.
5344 2010-10-30 Glenn Morris <rgm@gnu.org>
5346 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5347 tool-bar-mode, transient-mark-mode. (Bug#7306)
5348 Include the :set property in the dumped Emacs.
5350 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5352 SMIE: change indent rules format, improve smie-setup.
5353 * emacs-lisp/smie.el (smie-precs-precedence-table)
5354 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5355 Mark them pure so the tables gets built at compile time.
5356 (smie-bnf-precedence-table): Store the closer-alist in the table.
5357 (smie-prec2-levels): Preserve the closer-alist.
5358 (smie-blink-matching-open): Be more forgiving in case of indentation.
5359 (smie-hanging-p): Rename from smie-indent--hanging-p.
5360 (smie-bolp): Rename from smie-indent--bolp.
5361 (smie--parent, smie--after): New dynamic vars.
5362 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5363 (smie-indent-rules): Remove.
5364 (smie-indent--offset-rule): Remove fun.
5365 (smie-rules-function): New var.
5366 (smie-indent--rule): New fun.
5367 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5368 (smie-indent-exps): Use it.
5369 (smie-setup): Setup paren blinking; add keyword args for token
5370 functions; extract closer-alist from op-levels.
5371 (smie-indent-debug-log): Remove var.
5372 (smie-indent-debug): Remove fun.
5373 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5374 (prolog-smie-rules): New fun to replace it.
5375 (prolog-mode-variables): Simplify.
5376 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5377 it's setup automatically.
5378 (octave-smie-indent-rules): Remove.
5379 (octave-smie-rules): New fun to replace it.
5380 (octave-mode): Simplify.
5382 2010-10-29 Glenn Morris <rgm@gnu.org>
5384 * files.el (temporary-file-directory): Remove (already defined in C).
5385 * cus-start.el: Add temporary-file-directory.
5387 * abbrev.el (abbrev-mode):
5388 * composite.el (auto-composition-mode):
5389 * menu-bar.el (menu-bar-mode):
5390 * simple.el (transient-mark-mode):
5391 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5392 that they do not define the associated variables twice.
5393 * simple.el (transient-mark-mode): Remove defvar.
5394 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5395 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5396 Handle multiple groups, and also custom-delayed-init-variables.
5397 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5399 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5401 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5402 (pcase-if): Add one minor optimization.
5403 (pcase-split-equal): Rename from pcase-split-eq.
5404 (pcase-split-member): Rename from pcase-split-memq.
5405 (pcase-u1): Add strings to the member optimization.
5406 Add `guard' variant of predicates.
5407 (pcase-q1): Add string patterns.
5409 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5413 2010-10-28 Glenn Morris <rgm@gnu.org>
5415 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5416 Move menu-bar related settings to ../menu-bar.el.
5417 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5418 Move ns-specific settings here from term/ns-win.el.
5420 * simple.el (x-selection-owner-p): Remove unused declaration.
5422 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5424 * minibuffer.el (completion-cycling): New var (bug#7266).
5425 (minibuffer-complete, completion--do-completion):
5426 Use completion--flush-all-sorted-completions.
5427 (minibuffer-complete): Only cycle if completion-cycling is set.
5428 (completion--flush-all-sorted-completions): Unset completion-cycling.
5429 (minibuffer-force-complete): Set completion-cycling.
5430 (completion-all-sorted-completions): Move declaration before first use.
5432 2010-10-28 Leo <sdl.web@gmail.com>
5434 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5435 which changes the order of matches seen by users (bug#7231).
5437 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5439 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5440 Don't confuse -omega as "-o mega".
5442 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5445 (log-edit-author): New dynamic var.
5446 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5447 to return the author if different from committer.
5448 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5450 * play/landmark.el: Adjust commenting convention.
5451 (lm-nil-score): Rename from nil-score.
5452 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5453 (OOOOscore): Move into a let in lm-score-trans-table.
5454 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5456 * electric.el (electric-indent-chars): Autoload.
5457 * progmodes/octave-mod.el (octave-mode):
5458 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5459 (ruby-mode-abbrev-table): Merge initialization and declaration.
5461 2010-10-27 Glenn Morris <rgm@gnu.org>
5463 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5466 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5468 * term/ns-win.el: Restore require of cl when compiling.
5469 (menu-bar-final-items): Remove non-existent `windows' menu.
5470 (ns-handle-nxopen): Optionally handle the temp-case.
5471 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5472 (ns-insert-file, ns-find-file): Use `pop'.
5474 2010-10-26 Glenn Morris <rgm@gnu.org>
5476 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5478 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5480 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5482 * term/common-win.el (x-setup-function-keys): Remove most of the
5483 keymappings. Comment on the remaining ones.
5485 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5487 * server.el (server-port): New option. (Bug#854)
5488 (server-start): Use server-port.
5490 2010-10-26 Glenn Morris <rgm@gnu.org>
5492 * term/ns-win.el (ns-version-string): Remove unused declaration.
5493 (ns-invocation-args): Change to x-invocation-args.
5494 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5495 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5496 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5497 Use x-invocation-args instead of ns-invocation-args.
5498 (ns-initialize-window-system, handle-args-function-alist):
5499 Use x-handle-args instead of ns-handle-args.
5500 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5501 * startup.el (command-line-ns-option-alist): Replace
5502 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5503 ns-handle-iconic with the x- equivalents.
5505 * term/common-win.el (x-select-enable-clipboard):
5506 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5508 * term/ns-win.el: No need to require cl when compiling.
5509 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5510 (xw-defined-colors): Use the common-win definitions.
5511 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5512 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5513 * term/common-win.el (x-select-text, x-alternatives-map)
5514 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5515 * loadup.el [ns]: Load common-win.
5517 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5519 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5520 recipients; expand mail aliases (Bug#7280).
5522 2010-10-25 Glenn Morris <rgm@gnu.org>
5524 * term/common-win.el (x-handle-switch): Simplify with pop.
5525 Optionally handle numeric switches.
5526 (x-handle-numeric-switch): Just call x-handle-switch.
5527 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5528 (x-handle-name-switch, x-handle-display, x-handle-args):
5531 * term/ns-win.el: Do not require easymenu.
5532 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5533 <spell>: Move adjustments to menu-bar.el.
5534 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5535 <separator-undo, spell>: Move ns-win's adjustments here.
5536 * loadup.el [ns]: Do not load easymenu.
5538 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5540 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5543 * startup.el (fancy-startup-tail): Instead of using inline images,
5544 refer to image files from etc/.
5546 * wid-edit.el (checkbox): Likewise.
5547 (widget-image-find): Center image specs.
5549 2010-10-24 Glenn Morris <rgm@gnu.org>
5551 * term/ns-win.el (x-select-text): Doc fix.
5552 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5553 (x-select-text): Move to term/common-win.
5554 * term/w32-win.el (xw-defined-colors): Move to common-win.
5555 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5556 (x-setup-function-keys, x-select-text): Move to common-win.
5557 * term/common-win.el (x-select-text, x-alternatives-map)
5558 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5561 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5563 * net/mairix.el (mairix-searches-mode-map):
5564 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5566 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5568 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5569 auto-built for efficiency of execution and updating.
5570 (verilog-extended-complete-re): Support 'pure' fucntion & task
5571 declarations (these have no bodies).
5572 (verilog-beg-of-statement): General cleanup to enable support of
5573 'pure' fucntion & task declarations (these have no bodies).
5574 These efforts together fix Verilog bug210 from veripool; which was also
5575 noticed by Steve Pearlmutter.
5576 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5577 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5578 Support `elsif. Reported by Shankar Giri.
5579 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5580 attribute handling for lining up declarations and assignments.
5581 (verilog-beg-of-statement-1): Fix issue where continued declaration
5582 is indented differently if it is after a begin..end clock.
5583 (verilog-in-attribute-p, verilog-skip-backward-comments)
5584 (verilog-skip-forward-comment-p): Support proper treatment of
5585 attributes by indent code. Reported by Jeff Steele.
5586 (verilog-in-directive-p): Fix comment to correctly describe function.
5587 (verilog-backward-up-list, verilog-in-struct-region-p)
5588 (verilog-backward-token, verilog-in-struct-p)
5589 (verilog-in-coverage-p, verilog-do-indent)
5590 (verilog-pretty-declarations): Use verilog-backward-up-list as
5591 wrapper around backward-up-list inorder to properly skip comments.
5592 Reported by David Rogoff.
5593 (verilog-property-re, verilog-endcomment-reason-re)
5594 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5595 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5596 of if). Reported by Max Bjurling and
5597 (verilog-calc-1): Fix for clocking block in modport
5598 declaration. Reported by Brian Hunter.
5600 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5602 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5603 (verilog-gate-keywords, verilog-read-sub-decls)
5604 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5605 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5606 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5607 (verilog-read-decls): Fix spaces in V2K module parameters causing
5608 mis-identification as interfaces, bug287.
5609 (verilog-read-decls): Fix not treating "parameter string" as a
5610 parameter in AUTOINSTPARAM.
5611 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5612 treating `elsif similar to `endif inside AUTOSENSE.
5613 (verilog-do-indent): Implement correct automatic or static task or
5614 function end comment highlight. Reported by Steve Pearlmutter.
5615 (verilog-font-lock-keywords-2): Fix highlighting of single
5616 character pins, bug264. Reported by Michael Laajanen.
5617 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5618 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5619 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5620 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5621 (verilog-pretty-expr): Fix interactive arguments, bug272.
5622 Reported by Mark Johnson.
5623 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5624 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5625 bug269. Suggested by Gary Delp.
5626 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5627 (verilog-preprocessor, verilog-set-compile-command):
5628 Create verilog-preprocess and verilog-preprocessor to show
5629 preprocessed output.
5630 (verilog-get-beg-of-line, verilog-get-end-of-line)
5631 (verilog-modi-file-or-buffer, verilog-modi-name)
5632 (verilog-modi-point, verilog-within-string): Move defmacro's
5633 before first use to avoid warning. Reported by Steve Pearlmutter.
5634 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5635 (verilog-colorize-region, verilog-highlight-buffer)
5636 (verilog-highlight-includes, verilog-highlight-modules)
5637 (verilog-highlight-region, verilog-mode): Rename colorize to
5638 highlight to match other packages. Disable module highlighting,
5639 as received speed complaints, reenable for experimentation only
5640 using new verilog-highlight-modules.
5641 (verilog-read-decls): Fix regexp stack overflow in very large
5642 AUTO_TEMPLATEs, bug250.
5643 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5644 (verilog-scan): Create verilog-save-buffer-state to standardize
5645 making insignificant changes that shouldn't call hooks.
5646 (verilog-save-no-change-functions, verilog-save-scan-cache)
5647 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5648 Create verilog-save-no-change-functions to wrap verilog-scan
5649 preservation, and fix to work with nested preserved calls.
5650 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5651 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5652 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5653 (verilog-submit-bug-report): Update variable list to be complete.
5654 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5655 breaking on-the-fly font-locking.
5656 (verilog-colorize-buffer, verilog-colorize-include-files)
5657 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5658 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5659 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5660 AUTOINST cell instance name, middle mouse button now finds-file on
5661 it. Suggested by Brad Dobbie.
5662 (verilog-alw-get-temps, verilog-auto-reset)
5663 (verilog-auto-sense-sigs, verilog-read-always-signals)
5664 (verilog-read-always-signals-recurse): Fix loop indexes being
5665 AUTORESET. AUTORESET now assumes any variables in the
5666 initialization section of a for() should be ignored.
5667 Reported by Dan Dever.
5668 (verilog-error-font-lock-keywords)
5669 (verilog-error-regexp-emacs-alist)
5670 (verilog-error-regexp-xemacs-alist): Fix error detection of
5671 Cadence HAL, reported by David Asher. Repair drift between the
5672 three similar error variables.
5673 (verilog-modi-lookup, verilog-modi-lookup-cache)
5674 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5675 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5676 Fix slow verilog-auto expansion on very large files.
5677 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5678 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5679 "{1*2{...". Broke in last revision.
5680 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5681 submodule connections with replications "{#{a},#{b}}".
5683 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5685 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5686 Fix typo in docstring.
5688 2010-10-24 Kenichi Handa <handa@m17n.org>
5690 * face-remap.el (text-scale-adjust): Call read-event with a proper
5693 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5695 * emacs-lisp/unsafep.el: Don't mark functions that display
5696 messages as safe. Suggested by Johan Bockgård.
5698 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5700 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5701 Turn comments into docstrings.
5703 * minibuffer.el (completion--replace): Move point where it belongs
5704 when there's a common suffix (bug#7215).
5706 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5708 Merge read-color and facemenu-read-color (Bug#7242).
5710 * faces.el (read-color): Use the completion code from
5711 facemenu-read-color. Require match in completion. Doc fix.
5713 * facemenu.el (facemenu-read-color): Alias for read-color.
5714 (facemenu-set-foreground, facemenu-set-background):
5717 * frame.el (set-background-color, set-foreground-color)
5718 (set-cursor-color, set-mouse-color, set-border-color):
5721 2010-10-24 Leo <sdl.web@gmail.com>
5723 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5724 argument of delete-file and delete-directory (Bug#7011).
5726 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5728 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5731 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5733 * emacs-lisp/package.el (package--generate-package-list): Make the
5734 *Packages* buffer read-only.
5736 2010-10-24 Alan Mackenzie <acm@muc.de>
5738 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5739 result of `c-beginning-of-decl-1' between invocations of a lambda
5740 function (Bug #7265).
5742 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5744 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5745 executable is not available on the system (Bug#7268).
5747 2010-10-24 Glenn Morris <rgm@gnu.org>
5749 * select.el (selection-coding-system, next-selection-coding-system):
5750 Sync doc with C versions.
5752 * w32-vars.el (x-select-enable-clipboard):
5753 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5754 * term/common-win.el (x-select-enable-clipboard): Move here.
5756 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5757 definition of C variable.
5759 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5760 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5761 Don't redefine things that are defined in C.
5762 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5763 (show-trailing-whitespace, auto-hscroll-mode)
5764 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5765 Set up the appropriate custom properties.
5767 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5770 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5771 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5772 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5773 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5775 2010-10-23 Glenn Morris <rgm@gnu.org>
5777 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5780 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5781 Sync docs with C version.
5783 * term/ns-win.el (xw-defined-colors):
5784 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5786 * term/pc-win.el (x-select-enable-clipboard):
5787 * term/x-win.el (x-select-enable-clipboard):
5788 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5790 * comint.el (comint-password-prompt-regexp): Make it less vague.
5793 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5795 * help.el (finder-by-keyword): Remove unnecessary autoload.
5797 2010-10-22 Glenn Morris <rgm@gnu.org>
5799 * loadup.el: Unconditionally load float-sup.
5800 * paren.el (show-paren-delay):
5801 * emacs-lisp/float-sup.el:
5802 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5803 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5804 (lazy-lock-stealth-verbose): Assume float support.
5805 * ps-print.el: Assume float support on Emacs.
5806 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5807 Remove non-float branch.
5809 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5810 src/Makefile no longer being pre-processed.
5812 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5814 * emacs-lisp/find-func.el (find-library): Use test-completion.
5816 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5818 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5820 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5822 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5823 space in stat format string.
5824 (tramp-send-command): Unset $PS1 when using here documents, in
5825 order not to get several prompts.
5826 (tramp-get-inline-coding): Return `nil' in case of errors.
5828 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5830 * hexl.el (hexl-mode, hexl-mode-exit):
5831 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5832 (hexl-revert-buffer-function): New function.
5833 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5835 2010-10-19 Alan Mackenzie <acm@muc.de>
5837 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5838 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5839 that these keywords aren't wrongly matched as identifiers.
5841 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5842 setting of c-new-BEG and c-new-END from c-before-change to
5843 c-after-change. (Bug#7181)
5845 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5847 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5850 * custom.el (custom-theme-set-variables): Likewise.
5851 (load-theme): Add custom-theme-set-faces and
5852 custom-theme-set-variables to safe-functions while loading.
5853 (custom-enabled-themes): Mark as risky.
5855 2010-10-18 Julien Danjou <julien@danjou.info>
5857 * bindings.el: Remove end dashes in default mode-line-format.
5859 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5861 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5862 to delete-forward-char.
5864 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5865 deletechar, and hence delete-forward-char.
5867 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * repeat.el (repeat): Use read-key (bug#6256).
5871 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5873 * emacs-lisp/unsafep.el: Don't mark functions that display
5874 messages as safe. Suggested by Johan Bockgård.
5876 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5878 * minibuffer.el (completion--replace): Move point where it belongs
5879 when there's a common suffix (bug#7215).
5881 2010-10-19 Kenichi Handa <handa@m17n.org>
5883 * international/characters.el: Add category '|' (word breakable)
5884 to fullwidth characters.
5886 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5888 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5889 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5890 order to make stat results a float. Patch by Andreas Schwab
5891 <schwab@linux-m68k.org>.
5893 2010-10-18 Julien Danjou <julien@danjou.info>
5895 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5896 hidden by `make-pointer-invisible'.
5898 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5900 * files.el (locate-file-completion-table): Strip non-matching elements
5901 before checking length of list (bug#7238).
5903 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5905 * custom.el (custom-theme-set-variables): Mark as a safe function.
5906 (load-theme): Check forms using unsafep.
5908 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5910 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5912 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5913 Fix aspell data file searching (bug#7230).
5915 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5917 * cus-theme.el (custom-theme--migrate-settings): New var.
5918 (customize-create-theme): Allow editing the `user' theme.
5919 (custom-theme-add-variable, custom-theme-add-var-1)
5920 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5921 to the front of each variable or face widget.
5922 (custom-theme-write): Save theme settings in the correct order.
5923 Optionally, remove saved settings from user customizations.
5924 (custom-theme-write-variables, custom-theme-write-faces):
5925 Save only the checked widgets.
5926 (customize-themes): Add a link for migrating custom settings.
5928 * custom.el (custom-declare-theme, provide-theme):
5929 Use custom-theme-name-valid-p.
5930 (custom-theme-name-valid-p): Remove checks that are now
5931 unnecessary since themes no longer obey load-path.
5933 * cus-edit.el (custom-variable-value-create): For the simple
5934 style, hide documentation string when hidden.
5936 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5938 * cus-edit.el (custom-variable, custom-face): Combine the
5939 :inhibit-magic and :display-style properties into a single
5940 :custom-style property.
5941 (custom-toggle-hide-variable, custom-toggle-hide-face):
5942 New functions. If hiding an edited value, save it to :shown-value.
5943 (custom-variable-value-create, custom-face-value-create): Use them.
5944 (custom-magic-reset): Allow magic property to be unset.
5946 * custom.el: Custom themes no longer use load-path.
5947 (custom-theme-load-path): New option. Change built-in theme
5949 (custom-enabled-themes): Add custom-theme-load-path dependency.
5950 (custom-theme--load-path): New function.
5951 (load-theme, custom-available-themes): Use it.
5953 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5954 (customize-themes): Link to custom-theme-load-path variable.
5955 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5956 :custom-style property.
5958 * themes/*.el: Moved to etc/.
5960 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5962 * textmodes/reftex-cite.el
5963 (reftex-extract-bib-entries-from-thebibliography): Do not move
5964 point when searching for \bibitem entries. Match entries with
5965 spaces or tabs in front of arguments.
5967 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5969 * cus-theme.el (customize-create-theme): Delete overlays after
5970 erasing. If given a THEME arg, display only the faces of that arg
5971 instead of custom-theme--listed-faces.
5972 (custom-theme-variable-menu, custom-theme-variable-action)
5973 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5974 (custom-theme-add-variable, custom-theme-add-face): Apply value
5975 from the theme settings, instead of the current value.
5976 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5977 (custom-theme-visit-theme): Allow calling outside theme buffers.
5978 (custom-theme-merge-theme): Don't enable the theme when merging.
5979 (custom-theme-write-variables, custom-theme-write-faces): Use the
5980 :shown-value properties to save buffer values, not global ones.
5981 (customize-themes): Display a warning about user customizations.
5983 * cus-edit.el (custom-variable-value-create)
5984 (custom-face-value-create): Obey new special properties
5985 :shown-value and :inhibit-magic.
5987 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5989 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5990 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5993 2010-10-14 Kenichi Handa <handa@m17n.org>
5995 * mail/rmail.el (rmail-show-message-1): Catch an error of
5996 base64-decode-region and just show an error message (bug#7165).
5998 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5999 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6000 a font-spec (bug#7197).
6002 2010-10-14 Glenn Morris <rgm@gnu.org>
6004 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6006 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6008 * international/mule.el (define-coding-system):
6009 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6010 * composite.el (compose-region): Fix typo in docstring.
6012 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6014 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6015 only after checking the theme-face property.
6017 * faces.el (face-spec-reset-face): Reset all attributes in one
6018 single call to set-face-attribute.
6019 (face-spec-match-p): Make it a defsubst.
6020 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6021 (x-create-frame-with-faces, tty-create-frame-with-faces)
6022 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6023 frame-set-background-mode, since they are recomputed immediately
6024 afterwards in face-set-after-frame-default.
6025 (face-set-after-frame-default): Minor optimization.
6026 (cursor): Provide non-trivial defface spec.
6028 * custom.el (custom-theme-recalc-face): Simplify.
6030 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6032 * calc/calc-alg.el (math-var): Rename from `var'.
6033 (math-is-polynomial, math-is-poly-rec): Replace `var'
6036 * calc/calcalg2.el (math-var): Rename from `var'.
6037 (calcFunc-table, math-scan-for-limits): Replace `var'
6040 2010-10-13 Glenn Morris <rgm@gnu.org>
6042 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6044 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6046 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6048 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6050 * net/tls.el (tls-program): Remove spurious %s from openssl.
6051 (tls-starttls-switches): Remove starttls hack.
6052 (open-tls-stream): Ditto.
6053 (tls-find-starttls-argument): Ditto.
6055 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6057 * image.el (image-library-alist): Declare as obsolete alias.
6058 (image-type-available-p): Use `dynamic-library-alist'.
6060 * term/w32-win.el (dynamic-library-alist):
6061 Use instead of `image-library-alist'.
6063 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6065 * subr.el (last): Make it faster. (Bug#7174)
6067 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6069 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6071 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6073 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6074 (describe-theme-1): Extract doc from unloaded themes.
6076 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6078 * themes/tango-theme.el:
6079 * themes/tango-dark-theme.el:
6080 * themes/wheatgrass-theme.el: New files.
6082 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6084 * cus-theme.el (describe-theme, customize-themes)
6085 (custom-theme-save): New commands.
6086 (custom-new-theme-mode-map): Bind C-x C-s.
6087 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6088 (customize-create-theme): New optional arg THEME.
6089 (custom-theme-revert): Use it.
6090 (custom-theme-visit-theme): Remove dead code.
6091 (custom-theme-merge-theme): Use custom-available-themes.
6092 (custom-theme-write): Make interactive.
6093 (custom-theme-write): Use custom-theme-name-valid-p.
6094 (describe-theme-1, custom-theme-choose-revert)
6095 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6097 (custom-theme-allow-multiple-selections): New option.
6098 (custom-theme-choose-mode): New major mode.
6100 * custom.el (custom-theme-set-variables): Remove dead code.
6101 Obey custom--inhibit-theme-enable.
6102 (custom--inhibit-theme-enable): New var.
6103 (provide-theme): Obey it.
6104 (load-theme): Replace load with manual read/eval, in order to
6105 check for correctness. Use custom-theme-name-valid-p.
6106 (custom-theme-name-valid-p): New function.
6107 (custom-available-themes): Use it.
6109 * cus-edit.el (custom--initialize-widget-variables): New function.
6110 (Custom-mode): Use it.
6112 * cus-face.el (custom-theme-set-faces): Remove dead code.
6113 Obey custom--inhibit-theme-enable.
6115 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6117 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6119 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6121 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6123 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6124 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6125 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6127 * cus-start.el (all): ns-right-alternate-modifier is new.
6129 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6131 * emacs-lisp/lisp.el (lisp-completion-at-point):
6132 Use emacs-lisp-mode-syntax-table for the whole function.
6134 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6136 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6137 instead of font-lock-mode before adding keywords.
6138 Remove hi-lock-mode off code. Remove inhibit hack.
6139 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6140 non-nil; removed hook inhibit hack.
6142 2010-10-12 Glenn Morris <rgm@gnu.org>
6144 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6145 (load-path-shadows-find): ... to this.
6146 (list-load-path-shadows): Update for above change.
6148 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6150 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6152 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6153 Fix comment for declare-function.
6155 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6157 * custom.el (custom-fix-face-spec): New function; code moved from
6158 custom-face-edit-fix-value.
6159 (custom-push-theme): Use it when checking if a face has been
6160 changed outside customize.
6161 (custom-available-themes): New function.
6162 (load-theme): Use it.
6164 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6166 * custom.el (custom-push-theme): Cleanup (use cond).
6167 (disable-theme): Recompute the saved-face property.
6168 (custom-theme-recalc-face): Follow face alias before setting prop.
6170 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6171 New variables, containing checkbox images.
6173 * startup.el (fancy-startup-tail):
6174 * wid-edit.el (checkbox): Use them.
6176 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6178 * shell.el (shell-mode-map):
6179 * progmodes/modula2.el (m2-mode-map):
6180 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6181 * play/mpuz.el (mpuz-mode-map):
6182 * play/landmark.el (lm-mode-map):
6183 * play/decipher.el (decipher-mode-map):
6184 * play/5x5.el (5x5-mode-map):
6185 * net/telnet.el (telnet-mode-map):
6186 * net/quickurl.el (quickurl-list-mode-map):
6187 * net/mairix.el (mairix-searches-mode-map):
6188 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6189 * net/dig.el (dig-mode-map):
6190 * mail/mspools.el (mspools-mode-map):
6191 * hexl.el (hexl-mode-map):
6192 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6193 (wordstar-C-o-map, wordstar-C-q-map):
6194 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6195 * emacs-lisp/chart.el (chart-map):
6196 * edmacro.el (edmacro-mode-map):
6197 * erc/erc-list.el (erc-list-menu-mode-map):
6198 * array.el (array-mode-map): Declare and define in one step.
6200 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6202 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6204 * epa.el (epa-passphrase-callback-function): Display filename
6205 passed as the 3rd arg.
6206 * epa-file.el (epa-file-passphrase-callback-function):
6207 Pass filename to epa-passphrase-callback-function.
6209 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6211 * cus-edit.el (custom-face-widget-to-spec)
6212 (custom-face-get-current-spec, custom-face-state): New functions.
6213 (custom-face-set, custom-face-mark-to-save)
6214 (custom-face-value-create, custom-face-state-set): Use them.
6216 * cus-theme.el (custom-theme--listed-faces): New var.
6217 (customize-create-theme): Use *Custom Theme* as the buffer name.
6218 Set revert-buffer-function. Optional arg BUFFER. Insert all
6219 faces listed in custom-theme--listed-faces.
6220 (custom-theme-revert): New function.
6221 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6223 (custom-theme-write): Prompt for theme name if empty.
6224 (custom-theme-write-variables): Use dolist.
6225 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6227 2010-10-09 Alan Mackenzie <acm@muc.de>
6229 Enhance fontification of declarators to take account of the
6230 presence/absence of "typedef".
6232 * cc-engine.el (c-forward-type): New &optional param
6234 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6235 presence of either or both of a "struct"-like keyword and "typedef".
6237 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6238 fontification of declarators which follow a "}".
6239 (c-font-lock-declarations): Fontify declarators according to the
6240 presence/absence of "typedef".
6242 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6244 (c-typedef-decl-key): New lang variable built from
6245 c-typedef-decl-kwds.
6247 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6249 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6250 since that's too annoying. Move the filter groups commands to
6253 * epa.el (epa-passphrase-callback-function): Say what we're
6254 querying the password for.
6256 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6257 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6259 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6261 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6262 (custom-magic-value-create): Pad button tags with spaces.
6263 (custom-face-edit): New variable.
6264 (custom-face-value-create): Determine whether to use the usual
6265 face editor here, instead of using custom-face-selected.
6266 Pass face defaults to custom-face-edit widget.
6267 (custom-face-selected, custom-display-unselected): Delete widgets.
6268 (custom-display-unselected-match): Function removed.
6269 (custom-face-set, custom-face-mark-to-save):
6270 Accept custom-face-edit widgets as the direct widget child.
6272 * wid-edit.el (widget--completing-widget): New var.
6273 (widget-default-complete): Bind it when doing completion.
6274 (widget-string-complete, widget-file-complete): Use it.
6276 2010-10-09 Glenn Morris <rgm@gnu.org>
6278 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6279 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6280 (holiday-hebrew-misc): Small simplifications.
6282 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6284 * net/browse-url.el: Don't require thingatpt, term, dired,
6285 executable, or w3-auto when compiling.
6286 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6288 (browse-url-text-emacs): Require term.
6290 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6292 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6294 2010-10-08 Glenn Morris <rgm@gnu.org>
6296 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6298 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6299 (shadows-compare-text-p): Make it an obsolete alias for...
6300 (load-path-shadows-compare-text): ... new name.
6301 (find-emacs-lisp-shadows): Update for above name change.
6302 (load-path-shadows-same-file-or-nonexistent): New name for the old
6303 shadow-same-file-or-nonexistent.
6305 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6307 * minibuffer.el (completion--some, completion--do-completion)
6308 (minibuffer-complete-and-exit, minibuffer-completion-help)
6309 (completion-basic-try-completion)
6310 (completion-basic-all-completions)
6311 (completion-pcm--find-all-completions): Use lexical-let to
6312 avoid some false matches in variable completion (Bug#7056)
6314 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6316 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6318 2010-10-08 Leo <sdl.web@gmail.com>
6320 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6321 return non-nil if the file exists (Bug#7090).
6323 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * minibuffer.el (completion--replace):
6326 Better preserve markers (bug#7138).
6328 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6330 * server.el (server-process-filter): Doc fix.
6332 2010-10-08 Drew Adams <drew.adams@oracle.com>
6334 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6336 2010-10-08 Glenn Morris <rgm@gnu.org>
6338 * vc/ediff-wind.el (ediff-setup-control-frame):
6339 * vc/ediff-ptch.el (ediff-default-backup-extension):
6340 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6341 (ediff-exec-process): Remove system-types emx, windows-95.
6343 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6345 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6347 * cus-edit.el (custom-variable, custom-face): Doc fix.
6348 (custom-face-edit): Add value-create attribute.
6349 (custom-face-edit-value-create)
6350 (custom-face-edit-value-visibility-action): New functions.
6351 Hide unused face attributes by default, and add a visibility toggle.
6352 (custom-face-edit-deactivate): Show empty values with shadow face.
6353 (custom-face-selected): Only use this for face specs with default
6355 (custom-face-value-create): Cleanup.
6357 * wid-edit.el (widget-checklist-value-create): Use dolist.
6358 (widget-checklist-match-find): Make second arg optional.
6360 2010-10-07 Glenn Morris <rgm@gnu.org>
6362 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6365 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6366 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6367 load-path-shadows-mode, update references.
6368 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6369 Rename variable and button.
6370 (list-load-path-shadows): Update button caller.
6372 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6374 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6375 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6376 (smie-merge-prec2s): Handle those new entries.
6377 (smie-prec2-levels): Only set precedence to nil for actual
6379 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6380 that is now unnecessary.
6382 2010-10-07 Miles Bader <miles@gnu.org>
6384 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6386 2010-10-07 Glenn Morris <rgm@gnu.org>
6388 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6389 (mail-position-on-field): Remove declarations.
6390 (mail-position-on-field): Autoload it.
6391 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6392 and mail-header-end. Don't require sendmail.
6394 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6395 (shadow-mode): New mode.
6396 (shadow-find-file): New button.
6397 (list-load-path-shadows): Use shadow-mode and buttons.
6399 * iimage.el (iimage-version): Remove.
6400 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6401 Turn into defcustoms.
6402 (iimage-mode-map): Give it a doc string.
6404 * calendar/appt.el (appt-activate): Give a warning rather than an error
6405 if there is no diary-file.
6407 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6409 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6410 Use `tramp-handle-find-backup-file-name'.
6412 2010-10-06 Glenn Morris <rgm@gnu.org>
6414 * font-core.el (font-lock-defaults-alist): Remove variable.
6415 (font-lock-mode): Doc fix.
6416 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6417 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6418 (font-lock-set-defaults): Doc fix.
6419 Do not consult font-lock-defaults-alist.
6421 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6423 * emacs-lisp/cl.el: No longer provide cl-19.
6425 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6427 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6428 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6429 New defuns, taken from tramp-smb.el.
6430 (tramp-coding-system-change-eol-conversion)
6431 (tramp-set-process-query-on-exit-flag): Remove.
6433 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6434 (tramp-compat-coding-system-change-eol-conversion)
6435 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6438 * net/tramp-gvfs.el:
6439 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6440 by `tramp-compat-set-process-query-on-exit-flag'.
6442 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6443 Use `tramp-handle-directory-files-and-attributes',
6444 `tramp-handle-file-exists-p' and
6445 `tramp-handle-file-newer-than-file-p'.
6446 (tramp-imap-handle-file-exists-p)
6447 (tramp-imap-handle-file-executable-p)
6448 (tramp-imap-handle-file-readable-p)
6449 (tramp-imap-handle-directory-files-and-attributes)
6450 (tramp-imap-handle-file-newer-than-file-p): Remove.
6452 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6453 by `tramp-compat-set-process-query-on-exit-flag' and
6454 `tramp-coding-system-change-eol-conversion' by
6455 `tramp-compat-coding-system-change-eol-conversion'.
6457 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6458 Use `tramp-handle-directory-files-and-attributes',
6459 `tramp-handle-file-exists-p' and
6460 `tramp-handle-file-newer-than-file-p'.
6461 (tramp-smb-handle-directory-files-and-attributes)
6462 (tramp-smb-handle-file-exists-p)
6463 (tramp-smb-handle-file-newer-than-file-p): Remove.
6464 (tramp-smb-maybe-open-connection):
6465 Replace `tramp-set-process-query-on-exit-flag' by
6466 `tramp-compat-set-process-query-on-exit-flag'.
6468 2010-10-05 Glenn Morris <rgm@gnu.org>
6470 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6472 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6474 Continue reorganization of load dependencies. (Bug#7156)
6476 * net/tramp.el (tramp-handle-file-local-copy-hook)
6477 (tramp-delete-temp-file-function): Move down.
6478 (tramp-exists-file-name-handler): Move up.
6479 (tramp-register-file-name-handlers): Simplify autoload.
6480 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6481 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6482 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6483 (tramp-handle-file-name-completion)
6484 (tramp-handle-file-name-directory)
6485 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6486 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6487 (tramp-handle-find-backup-file-name)
6488 (tramp-handle-insert-file-contents, tramp-handle-load)
6489 (tramp-handle-substitute-in-file-name)
6490 (tramp-handle-unhandled-file-name-directory)
6491 (tramp-mode-string-to-int, tramp-local-host-p)
6492 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6494 * net/tramp-gvfs.el (top):
6495 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6497 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6498 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6500 2010-10-04 Glenn Morris <rgm@gnu.org>
6502 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6503 (appt-activate): Give status messages.
6505 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6507 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6508 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6509 `gnutls-negotiate' (formerly `starttls-negotiate').
6510 Remove trivial wrapper `starttls-open-stream'.
6512 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6514 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6515 log-outgoing commands.
6516 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6517 to create a buffer local revert-buffer-function variable.
6518 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6519 revert-buffer-function lambda.
6521 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6523 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6524 `gnutls-boot'. Make TYPE the only required parameter.
6525 Allow TRUSTFILES and KEYFILES to be lists.
6526 (open-ssl-stream): Use it.
6528 2010-10-03 Glenn Morris <rgm@gnu.org>
6530 * subr.el (directory-sep-char): Remove obsolete variable.
6531 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6534 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6535 * vc/vc.el (vc-static-header-alist): Doc fix.
6536 * vc/vc-cvs.el (vc-cvs-header):
6537 * vc/vc-rcs.el (vc-rcs-header):
6538 * vc/vc-sccs.el (vc-sccs-header):
6539 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6540 * obsolete/vc-mcvs.el (vc-mcvs-header):
6541 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6544 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6546 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6547 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6549 2010-10-03 Glenn Morris <rgm@gnu.org>
6551 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6553 * textmodes/rst.el (rst-font-lock-keywords-function):
6556 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6558 * printing.el: Drop Emacs 20 code.
6560 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6561 without having used appt.el already).
6563 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6564 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6565 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6567 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6568 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6570 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6571 (charset-width, find-charset-region, chars-in-region, forward-point)
6572 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6573 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6574 Remove compatibility cruft (none of these are used by ps*.el).
6576 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6578 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6580 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6582 * server.el (server-process-filter, server-return-error):
6583 Give emacsclient time to shut down after receiving an error string.
6585 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6587 * files.el (remote-file-name-inhibit-cache): New defcustom.
6589 * time.el (display-time-file-nonempty-p):
6590 Use `remote-file-name-inhibit-cache'.
6592 * net/tramp.el (tramp-completion-reread-directory-timeout):
6595 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6596 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6597 `remote-file-name-inhibit-cache'. Check also for an integer
6598 value. Add/increase counter when `tramp-verbose' >= 10.
6599 (tramp-set-file-property): Add/increase counter when
6600 `tramp-verbose' >= 10.
6602 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6603 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6604 (tramp-bug): Set tramp-autoload cookie. Report all interned
6605 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6606 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6607 characters only in strings.
6609 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6610 to backward compatibility.
6612 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6613 (tramp-handle-file-name-all-completions)
6614 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6615 (tramp-open-connection-setup-interactive-shell):
6616 Call `tramp-cleanup-connection' directly.
6618 2010-10-02 Glenn Morris <rgm@gnu.org>
6620 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6622 * subr.el (char-bytes): Remove obsolete function.
6624 * isearch.el (isearch-return-char): Remove obsolete function.
6626 * mouse.el: No longer provide mldrag.
6627 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6628 Remove obsolete aliases.
6630 * comint.el (comint-kill-output): Remove obsolete alias.
6632 * composite.el (decompose-composite-char): Remove obsolete function.
6633 * ps-def.el (decompose-composite-char): Remove unused function.
6635 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6637 * outline.el (outline-visible): Remove obsolete function.
6639 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6640 * faces.el (internal-find-face, internal-get-face)
6641 (frame-update-faces, frame-update-face-colors)
6642 (x-frob-font-weight, x-frob-font-slant)
6643 (internal-frob-font-weight, internal-frob-font-slant)
6644 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6645 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6646 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6648 * emulation/viper-util.el (viper-get-face):
6649 * obsolete/lucid.el (find-face, get-face): Use facep.
6650 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6651 Remove unused functions.
6652 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6654 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6655 delete tempfile if interrupted during compilation.
6657 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6659 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6661 (tls-program): Add --insecure to be consistent with the defaults from
6662 openssl s_client. Now all three commands are insecure.
6664 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6666 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6667 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6668 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6670 2010-10-01 Glenn Morris <rgm@gnu.org>
6672 * obsolete/sc.el: Remove file.
6674 * files.el (temporary-file-directory): On darwin, also try
6675 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6677 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6679 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6680 Let's not break compatibility gratuitously, shall we?
6682 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6684 * net/tls.el (tls-starttls-switches): New variable.
6685 (tls-find-starttls-argument): Use it.
6686 (open-tls-stream): Ditto.
6688 * net/netrc.el (netrc-credentials): Return the value of the "default"
6690 (netrc-machine): Ditto.
6692 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6694 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6696 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6698 * server.el (server-start): Don't write pid to the authentication file.
6699 (server-create-tty-frame): Don't send pid.
6700 (server-process-filter): Send pid at the start of every connection.
6702 2010-09-30 Glenn Morris <rgm@gnu.org>
6704 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6705 (show-all-diary-entries): Remove obsolete function aliases.
6707 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6708 Remove options, obsolete since 22.1.
6709 (appt-display-format, appt-display-message):
6710 Remove backwards-compatibility code.
6711 (appt-check): No longer check appt-issue-message.
6712 (appt-make-list): No longer autoload it. Doc fix. No longer
6713 activate the package.
6715 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6718 (starttls-negotiate): Just call boot, and let the handshake be
6719 triggered from the read loop.
6721 2010-09-29 Glenn Morris <rgm@gnu.org>
6723 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6724 not displaying the diary.
6725 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6726 * calendar/appt.el (appt-check): No longer need to kill diary.
6728 * calendar/diary-lib.el (diary-list-entries): Move the
6729 "Preparing..." message entirely here.
6730 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6731 messages to diary-list-entries.
6732 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6733 diary-display-function.
6735 * calendar/diary-lib.el (diary-include-other-diary-files):
6736 Trap some recursive includes.
6738 * calendar/appt.el (appt-activate): Check diary file.
6740 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6742 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6745 * calendar/time-date.el: No need to require cl for Emacs 21.
6747 2010-09-28 Glenn Morris <rgm@gnu.org>
6749 * calendar/appt.el (appt-check): Minor simplification.
6751 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6753 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6756 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6758 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6759 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6761 2010-09-27 Kenichi Handa <handa@m17n.org>
6763 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6766 2010-09-27 Kenichi Handa <handa@m17n.org>
6768 * international/mule.el (define-coding-system): Docstring fixed.
6770 * international/mule-diag.el (describe-character-set): Use princ
6771 with proper print-length and print-level instead of insert.
6773 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6775 * window.el (walk-windows): Doc fix (bug#7105).
6777 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6779 * emacs-lisp/float-sup.el (e): Remove.
6781 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6783 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6785 (starttls-negotiate): Use it.
6787 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6789 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6792 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6794 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6796 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6798 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6800 * net/netrc.el (netrc-store-data): New function.
6802 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6804 * net/gnutls.el: GnuTLS glue code to set up a connection.
6806 2010-09-25 Julien Danjou <julien@danjou.info>
6808 * notifications.el: Call dbus-register-signal only if it is bound.
6810 2010-09-25 Glenn Morris <rgm@gnu.org>
6812 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6813 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6814 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6815 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6816 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6817 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6818 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6819 * eshell/esh-util.el, eshell/esh-var.el:
6820 Remove leading `*' from docs of faces and defcustoms.
6822 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6824 * eshell/em-ls.el (eshell-ls-archive-regexp):
6825 * eshell/esh-util.el (eshell-tar-regexp):
6826 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6827 * info.el (Info-suffix-list):
6828 * international/mule.el (auto-coding-alist):
6829 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6830 * progmodes/etags.el (tags-compression-info-list):
6831 Support xz compression.
6833 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6835 * files.el (get-free-disk-space): Don't assume the "df" output
6836 columns line up (Bug#6995).
6838 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6840 * finder.el (finder-unknown-keywords):
6841 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6842 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6844 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6846 * server.el (server-start): Revert part of 2010-08-08 change. Using
6847 address 127.0.0.1 for local host is now done in Fmake_network_process.
6849 2010-09-24 Glenn Morris <rgm@gnu.org>
6851 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6852 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6853 * textmodes/css-mode.el, textmodes/dns-mode.el:
6854 Move autoloaded auto-mode-alist entries to files.el.
6855 * files.el (auto-mode-alist): Move entries here.
6857 2010-09-23 Glenn Morris <rgm@gnu.org>
6859 * isearch.el (isearch-lazy-highlight-cleanup)
6860 (isearch-lazy-highlight-initial-delay)
6861 (isearch-lazy-highlight-interval)
6862 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6863 * net/net-utils.el (ipconfig-program-options):
6864 Move aliases to options before the associated definitions.
6866 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * newcomment.el (comment-normalize-vars): Better test validity of
6871 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6873 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6874 (float-e): New name for `e'.
6875 (degrees-to-radians, radians-to-degrees):
6876 * calendar/solar.el (solar-longitude):
6877 * calculator.el (calculator-registers, calculator-funcall):
6878 * textmodes/artist.el (artist-spray-random-points):
6879 * play/bubbles.el (bubbles--initialize-images): Use new names.
6881 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6883 Update to CEDET 1.0's version of EIEIO.
6885 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6887 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6888 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6889 (class-precedence-list): If class is nil, return nil.
6890 (eieio-generic-call): If class of first input arg is nil, don't
6891 look up static methods, and do check for primary methods.
6892 (initialize-instance): See if the default needs to be evaluated
6893 during the constructor.
6894 (eieio-perform-slot-validation-for-default): Don't do the check
6895 for values that will eventually be evaluated.
6896 (eieio-eval-default-p): New function.
6897 (eieio-default-eval-maybe): Use it.
6899 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6901 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6902 method-invocation-order.
6903 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6904 (eieio-class-precedence-dfs): Compute class precedence list using
6906 (eieio-class-precedence-bfs): Compute class precedence list using
6908 (eieio-class-precedence-c3): Compute class precedence list using
6910 (class-precedence-list): New function.
6911 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6912 (inconsistent-class-hierarchy): New error symbol.
6913 (call-next-method): Stow the replacement argument list for future
6914 call-next-method invocations.
6916 2010-09-23 Glenn Morris <rgm@gnu.org>
6918 * calendar/appt.el (appt-check): If not displaying the diary,
6919 use (diary 1) to only get the entries we need.
6920 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6921 that it is in day order. (Bug#7019)
6923 * calendar/appt.el (appt-check): Rather than showing the diary,
6924 just turn off invisible display, and only if needed.
6926 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6928 2010-09-23 Glenn Morris <rgm@gnu.org>
6930 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6931 (byte-compile-defvar, byte-compile-cl-warn):
6932 Start warnings with lower-case, like the majority.
6934 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6936 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6938 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6939 * files.el (auto-mode-alist): Move ld-script entries here, further down
6942 * vc/add-log.el: Don't require timezone when compiling.
6943 (timezone-make-date-sortable): Autoload it.
6944 (change-log-sortable-date-at): Don't require timezone.
6945 Use `ignore-errors'.
6947 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6948 Move alias before definition, so it does not need autoloading.
6950 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6951 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6952 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6953 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6954 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6955 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6956 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6957 * textmodes/tex-mode.el, textmodes/two-column.el:
6958 Remove leading `*' from docs of defcustoms etc.
6960 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6962 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6964 2010-09-22 Dan Christensen <jdc@uwo.ca>
6966 * calendar/time-date.el (date-to-time): Try using parse-time-string
6967 first before using the slower timezone-make-date-arpa-standard.
6969 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6971 * calendar/time-date.el (format-seconds): Comment fix.
6973 2010-09-22 Glenn Morris <rgm@gnu.org>
6975 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6976 is not automatically buffer-local.
6978 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6980 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6981 (smie-indent-comment): Be more careful with comment-start-skip.
6982 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6983 (smie-indent-functions): Use them.
6985 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6987 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6989 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6991 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6992 tool-bar-position. Don't modify frame parameters here.
6993 (menu-bar-options-save): Add tool-bar-position.
6995 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6997 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6999 * textmodes/reftex-parse.el (reftex-what-macro)
7000 (reftex-context-substring): Let-bind forward-sexp-function to nil
7001 since we don't need/want to treat \begin...\end as a block (bug#7053).
7003 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7005 * simple.el (blink-matching-open): Use syntax-class.
7007 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7008 Set invisibility spec for pascal's outline mode.
7009 (pascal-outline-change): Clean up calling convention.
7010 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7012 * progmodes/prolog.el (prolog-smie-forward-token)
7013 (prolog-smie-backward-token): New functions.
7014 (prolog-mode-variables): Use them to parse "!," correctly.
7015 Set up smie-blink-matching for ".".
7017 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7019 (ispell-region, ispell-process-line): Update users.
7021 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7024 * textmodes/ispell.el: Fix commenting convention.
7025 (ispell-parse-output): Simplify, use push.
7026 (ispell-region): Use match-string-no-properties.
7027 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7028 (ispell-minor-mode): Use define-minor-mode.
7029 (ispell-message): Remove unused var `skip-regexp'.
7030 (ispell-add-per-file-word-list): Use dynamic let-binding.
7031 Try and use the proper comment marker.
7033 * mail/sendmail.el: Fix commenting convention.
7034 (sendmail-send-it): Use line-beginning-position.
7036 * help-fns.el (describe-variable): Add original value, if applicable.
7038 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7040 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7042 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7044 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7047 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7048 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7049 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7050 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7051 something like "." can also be a closer.
7052 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7053 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7054 Rename internal functions to use "--". Update callers.
7056 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7058 * fringe.el (fringe-styles): New var.
7059 (fringe-mode, fringe-query-style): Use it.
7061 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7063 * progmodes/sql.el: Version 2.8
7064 (sql-login-params): Update widget structure; changes still needed.
7065 (sql-product-alist): Add :list-all and :list-table features for
7066 SQLite, Postgres and MySQL products.
7067 (sql-redirect): Handle default value.
7068 (sql-execute, sql-execute-feature): New functions.
7069 (sql-read-table-name): New function.
7070 (sql-list-all, sql-list-table): New functions. User API.
7071 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7072 for above functions.
7073 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7074 for above functions.
7075 (sql-postgres-login-params): Add user and database defaults.
7076 (sql-buffer-live-p): Bug fix.
7077 (sql-product-history): New variable.
7078 (sql-read-product): New function. Use it.
7079 (sql-set-product, sql-product-interactive): Use it.
7080 (sql-connection-history): New variable.
7081 (sql-read-connection): New function. Use it.
7082 (sql-connect): New function.
7083 (sql-for-each-login): Redesign function interface.
7084 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7085 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7086 (sql-comint): Check for program. Existing live buffer.
7087 (sql-comint-postgres): Add port parameter.
7089 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * emacs-lisp/warnings.el: Fix commenting convention.
7092 (display-warning): Use special mode and make the buffer read-only.
7094 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7096 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7097 empty string when it follows a repeated or optional pattern.
7099 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7101 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7102 (indent-region): Use indent-according-to-mode.
7104 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7106 * fringe.el (fringe-mode): Doc fix.
7108 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7110 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7111 refreshing the preview buffer.
7113 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7116 (latex-syntax-propertize-rules): New consts; replace
7117 tex-font-lock-syntactic-keywords.
7118 (tex-env-mark, latex-env-before-change): New functions.
7119 (latex-electric-env-pair-mode): New minor mode.
7120 (tex-font-lock-verb): Change arguments; do move point.
7121 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7122 representation as a form of comment.
7123 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7124 (doctex-syntax-propertize-rules): New const; replaces
7125 doctex-font-lock-syntactic-keywords.
7126 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7128 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7129 (fortran-make-syntax-propertize-function): New function; replaces
7130 fortran-font-lock-syntactic-keywords.
7131 (fortran-mode): Use it.
7132 (fortran-line-length): Use it. Improve interactive spec.
7134 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7135 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7136 when adding surrounding \(..\).
7138 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7140 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7142 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7143 Use with-current-buffer.
7145 * isearch.el (isearch-face): Rename from `isearch'.
7146 (isearch-highlight): Use new name.
7148 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7150 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7151 5, for `half' width fringes. (Bug#6933)
7153 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7156 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7158 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7160 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7162 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7163 in calculating new frame position. Add more space between new and
7164 parent on the left (Bug#7048).
7166 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7168 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7171 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7173 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7175 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7176 obsolete alias for x-selection-value.
7178 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7180 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7182 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7185 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7187 * net/tramp-compat.el (tramp-compat-with-temp-message)
7188 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7189 (tramp-compat-process-put): New defuns.
7191 * net/tramp.el (top):
7192 * net/tramp-gvfs.el (top):
7193 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7195 * net/tramp.el (tramp-progress-reporter-update):
7196 Use `tramp-compat-funcall'.
7198 * net/tramp.el (tramp-process-actions):
7199 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7200 * net/tramp-sh.el (tramp-handle-vc-registered)
7201 (tramp-get-remote-stat, tramp-get-remote-readlink):
7202 Use `tramp-compat-with-temp-message'.
7204 * net/tramp-sh.el (top): Require 'cl.
7205 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7206 (tramp-open-connection-setup-interactive-shell):
7207 Use `tramp-compat-process-put'.
7209 2010-09-15 Alan Mackenzie <acm@muc.de>
7211 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7213 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7215 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7217 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7218 `lexical' for warnings related to lexical scoping.
7219 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7220 global vars which don't have a prefix and could hence affect lexical
7221 scoping in unrelated files.
7223 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7225 * net/imap.el: Revert back to version
7226 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7229 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7231 * obsolete/old-whitespace.el (whitespace-unload-function):
7232 Explicitly pass `obarray' to `unintern' to avoid a warning.
7234 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7236 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7237 Add `when' argument. Update callers.
7239 * subr.el (unintern): Declare the obarray arg mandatory.
7241 2010-09-14 Glenn Morris <rgm@gnu.org>
7243 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7246 * calendar/diary-lib.el (diary-included-files): New variable.
7247 (diary-list-entries): Maybe initialize diary-included-files.
7248 (diary-include-other-diary-files): Append to diary-included-files.
7249 * calendar/appt.el (appt-update-list): Also check the members of
7250 diary-included-files. (Bug#6999)
7251 (appt-check): Doc fix.
7253 2010-09-14 David Reitter <david.reitter@gmail.com>
7255 * simple.el (line-move-visual): Do not truncate goal column to
7256 integer size. (Bug#7020)
7258 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * repeat.el (repeat): Allow repeating when the last event is a click.
7261 Suggested by Drew Adams (bug#6256).
7263 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7265 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7266 Replace setting HGRCPATH to "" by some less invasive --config options.
7268 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * font-lock.el (font-lock-beginning-of-syntax-function):
7273 2010-09-14 Glenn Morris <rgm@gnu.org>
7275 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7276 and tool-bar modes. (Bug#6211)
7277 (menu-bar-mode): Move setting of standard-value after the
7278 minor-mode definition, otherwise it seems to have no effect.
7280 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7282 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7283 Fix typo. (Bug#6976)
7285 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7287 * whitespace.el: Allow cleaning up blanks without blank
7288 visualization (Bug#6651). Adjust help window for
7289 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7290 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7291 (whitespace-style): Add new value 'face. Adjust docstring.
7292 (whitespace-space, whitespace-hspace, whitespace-tab):
7293 Adjust foreground property face.
7294 (whitespace-line-column): Adjust docstring and type declaration.
7295 (whitespace-style-value-list, whitespace-toggle-option-alist)
7296 (whitespace-help-text): Adjust const initialization.
7297 (whitespace-toggle-options, global-whitespace-toggle-options):
7299 (whitespace-display-window, whitespace-interactive-char)
7300 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7301 (whitespace-help-scroll): New fun.
7303 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7305 * calendar/time-date.el (format-seconds): Comment fix.
7307 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7309 * progmodes/sql.el: Version 2.7.
7310 (sql-buffer-live-p): Improve detection.
7311 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7312 (sql-set-sqli-buffer): Use it.
7313 (sql-product-interactive): Run `sql-set-sqli-hook'.
7314 (sql-rename-buffer): Code cleanup.
7315 (sql-redirect, sql-redirect-value): New functions. More to come.
7317 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7319 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.
7320 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7321 (TRAMP_SRC): New macro.
7322 ($(lisp)/net/tramp-loaddefs.el): New target.
7324 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7326 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7328 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7330 * net/tramp.el (top): Don't show loading message. Require just
7331 'tramp-compat, everything else is required there.
7332 Use `ignore-errors' where appropriate.
7333 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7334 (tramp-terminal-type, tramp-end-of-output)
7335 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7336 (tramp-completion-function-alist-ssh)
7337 (tramp-completion-function-alist-telnet)
7338 (tramp-completion-function-alist-su)
7339 (tramp-completion-function-alist-putty, tramp-remote-path)
7340 (tramp-remote-process-environment, tramp-sh-extra-args)
7341 (tramp-actions-before-shell, tramp-uudecode)
7342 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7343 (tramp-perl-file-attributes)
7344 (tramp-perl-directory-files-and-attributes)
7345 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7346 (tramp-perl-encode, tramp-perl-decode)
7347 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7348 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7349 (tramp-handle-make-symbolic-link, tramp-handle-load)
7350 (tramp-handle-file-name-as-directory)
7351 (tramp-handle-file-name-directory)
7352 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7353 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7354 (tramp-do-file-attributes-with-ls)
7355 (tramp-do-file-attributes-with-perl)
7356 (tramp-do-file-attributes-with-stat)
7357 (tramp-handle-set-visited-file-modtime)
7358 (tramp-handle-verify-visited-file-modtime)
7359 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7360 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7361 (tramp-handle-file-selinux-context)
7362 (tramp-handle-set-file-selinux-context)
7363 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7364 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7365 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7366 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7367 (tramp-handle-file-ownership-preserved-p)
7368 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7369 (tramp-handle-directory-files-and-attributes)
7370 (tramp-do-directory-files-and-attributes-with-perl)
7371 (tramp-do-directory-files-and-attributes-with-stat)
7372 (tramp-handle-file-name-all-completions)
7373 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7374 (tramp-handle-copy-file, tramp-handle-copy-directory)
7375 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7376 (tramp-do-copy-or-rename-file-via-buffer)
7377 (tramp-do-copy-or-rename-file-directly)
7378 (tramp-do-copy-or-rename-file-out-of-band)
7379 (tramp-handle-make-directory, tramp-handle-delete-directory)
7380 (tramp-handle-delete-file)
7381 (tramp-handle-dired-recursive-delete-directory)
7382 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7383 (tramp-handle-insert-directory)
7384 (tramp-handle-unhandled-file-name-directory)
7385 (tramp-handle-expand-file-name)
7386 (tramp-handle-substitute-in-file-name)
7387 (tramp-handle-executable-find, tramp-process-sentinel)
7388 (tramp-handle-start-file-process, tramp-handle-process-file)
7389 (tramp-handle-call-process-region, tramp-handle-shell-command)
7390 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7391 (tramp-handle-insert-file-contents)
7392 (tramp-handle-insert-file-contents-literally)
7393 (tramp-handle-find-backup-file-name)
7394 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7395 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7396 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7397 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7398 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7399 (tramp-find-file-exists-command, tramp-open-shell)
7400 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7401 (tramp-open-connection-setup-interactive-shell)
7402 (tramp-local-coding-commands, tramp-remote-coding-commands)
7403 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7404 (tramp-inline-compress-commands, tramp-find-inline-compress)
7405 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7406 (tramp-send-command, tramp-wait-for-output)
7407 (tramp-send-command-and-check, tramp-barf-unless-okay)
7408 (tramp-send-command-and-read, tramp-mode-string-to-int)
7409 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7410 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7411 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7412 (tramp-method-out-of-band-p, tramp-local-host-p)
7413 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7414 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7415 (tramp-get-test-command, tramp-get-test-nt-command)
7416 (tramp-get-file-exists-command, tramp-get-remote-ln)
7417 (tramp-get-remote-perl, tramp-get-remote-stat)
7418 (tramp-get-remote-readlink, tramp-get-remote-trash)
7419 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7420 (tramp-get-local-uid, tramp-get-local-gid)
7421 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7423 (tramp-methods, tramp-default-method-alist)
7424 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7425 Move initialization to tramp-sh.el.
7426 (tramp-temp-name-prefix): Make it a defconst.
7427 (tramp-dissect-file-name): Don't check anymore for multi-hop
7429 (tramp-debug-outline-regexp): Add a docstring.
7430 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7431 (tramp-get-debug-buffer): Use it.
7433 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7434 initialization forms.
7435 (tramp-set-connection-property): Don't protect `tramp-message'
7436 call, it isn't necessary any longer.
7437 (tramp-dump-connection-properties): Use `ignore-errors'.
7439 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7440 'password-cache and 'auth-source.
7442 * net/tramp-gvfs.el (top):
7443 * net/tramp-smb.el (top): Require 'tramp-sh.
7445 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7447 * net/tramp-sh.el: New file, derived from tramp.el.
7448 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7449 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7450 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7451 Use `ignore-errors' where appropriate.
7452 (tramp-sh-file-name-handler-alist): Rename from
7453 `tramp-file-name-handler-alist'.
7454 (tramp-send-command-and-check): Return t or nil. Remove all
7455 `zerop' checks, where called.
7456 (tramp-handle-set-file-modes)
7457 (tramp-do-copy-or-rename-file-directly)
7458 (tramp-handle-delete-directory, tramp-handle-delete-file)
7459 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7460 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7461 (tramp-get-remote-ln): Set tramp-autoload cookie.
7463 * net/tramp-fish.el: Remove file.
7465 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7467 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7468 buffer-file-name to avoid file-locking. (Bug#7026)
7470 2010-09-13 Julien Danjou <julien@danjou.info>
7472 * notifications.el (notifications-notify): Add support for
7473 image-path and sound-name.
7474 (notifications-specification-version): Add this variable.
7476 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7480 2010-09-12 Leo <sdl.web@gmail.com>
7482 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7483 (rcirc-completion-start): New variables.
7484 (rcirc-nick-completions): Rename to rcirc-completions.
7485 (rcirc-nick-completion-start-offset): Delete.
7486 (rcirc-completion-at-point): New function for constructing
7487 completion data for both nicks and irc commands. Add to
7488 completion-at-point-functions in rcirc mode.
7489 (rcirc-complete): Rename from rcirc-nick-complete; use
7490 rcirc-completion-at-point.
7491 (defun-rcirc-command): Update rcirc-client-commands.
7493 2010-09-11 Glenn Morris <rgm@gnu.org>
7495 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7496 atomically, to avoid parallel build errors. (Bug#4196)
7498 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7500 * progmodes/sql.el: Version 2.6
7501 (sql-dialect): Synonym for "sql-product".
7502 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7503 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7504 Set "sql-buffer" to buffer name not buffer object so multiple sql
7505 interactive buffers work properly. Reverts misguided changes in
7507 (sql-comint): Make sure different buffer name is used if "*SQL*"
7508 buffer is for a different product.
7509 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7511 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7512 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7513 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7514 Accept new buffer name or prompt for one.
7515 (sql-port): Default to zero.
7516 (sql-comint-mysql): Handle "sql-port" as a numeric.
7517 (sql-port-history): Delete unused variable.
7518 (sql-get-login): Default "sql-port" to a number.
7519 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7520 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7521 "sqlite3" executables.
7522 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7523 (sql-buffer-live-p): New function.
7524 (sql-mode-menu, sql-send-string): Use it.
7525 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7527 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7528 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7530 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7532 * net/netrc.el (netrc-credentials): New convenience function.
7534 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7537 to replace texinfo-font-lock-syntactic-keywords.
7538 (texinfo-mode): Use it.
7540 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7541 Use syntax-propertize-function.
7543 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7544 replace sgml-font-lock-syntactic-keywords.
7545 (sgml-mode): Use it.
7547 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7548 since we don't use it.
7550 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7552 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7554 (vhdl-fontify-buffer): Adjust.
7556 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7557 replace tcl-font-lock-syntactic-keywords.
7560 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7561 replace simula-font-lock-syntactic-keywords.
7562 (simula-mode): Use it.
7564 * progmodes/sh-script.el (sh-st-symbol): Remove.
7565 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7566 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7567 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7568 (sh-font-lock-paren): Set syntax-multiline.
7569 (sh-font-lock-syntactic-keywords): Remove.
7570 (sh-syntax-propertize-function): New function to replace it.
7573 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7574 Define while compiling.
7575 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7576 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7577 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7578 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7579 (ruby-here-doc-end-syntax): Only define when
7580 syntax-propertize is not available.
7581 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7583 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7584 (electric-indent-chars): Silence bytecompiler.
7585 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7586 electric-indent-chars.
7588 * progmodes/python.el (python-syntax-propertize-function): New var to
7589 replace python-font-lock-syntactic-keywords.
7590 (python-mode): Use it.
7591 (python-quote-syntax): Simplify and adjust to new use.
7593 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7594 replace perl-font-lock-syntactic-keywords.
7595 (perl-syntax-propertize-special-constructs): New fun to replace
7596 perl-font-lock-special-syntactic-constructs.
7597 (perl-font-lock-syntactic-face-function): New fun.
7598 (perl-mode): Use it.
7600 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7601 to replace octave-font-lock-close-quotes.
7602 (octave-syntax-propertize-function): New function to replace
7603 octave-font-lock-syntactic-keywords.
7604 (octave-mode): Use it.
7606 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7607 replaces mixal-font-lock-syntactic-keywords.
7608 (mixal-mode): Use it.
7610 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7611 New var; replaces makefile-font-lock-syntactic-keywords.
7612 (makefile-mode): Use it.
7613 (makefile-imake-mode): Adjust.
7615 * progmodes/js.el (js--regexp-literal): Define while compiling.
7616 (js-syntax-propertize-function): New var; replaces
7617 js-font-lock-syntactic-keywords.
7620 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7621 replaces gdb-script-font-lock-syntactic-keywords.
7622 (gdb-script-mode): Use it.
7624 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7625 (fortran--font-lock-syntactic-keywords): New var.
7626 (fortran-line-length): Update syntax-propertize-function and
7627 fortran--font-lock-syntactic-keywords.
7629 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7631 * progmodes/cfengine.el (cfengine-mode):
7632 Use syntax-propertize-function.
7633 (cfengine-font-lock-syntactic-keywords): Remove.
7635 * progmodes/autoconf.el (autoconf-mode):
7636 Use syntax-propertize-function.
7637 (autoconf-font-lock-syntactic-keywords): Remove.
7639 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7640 (ada-after-change-function, ada-initialize-syntax-table-properties)
7641 (ada-handle-syntax-table-properties): Only define when
7642 syntax-propertize is not available.
7643 (ada-mode): Use syntax-propertize-function.
7645 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7646 (font-lock-fontify-syntactic-keywords-region): Move handling of
7647 font-lock-syntactically-fontified to...
7648 (font-lock-default-fontify-region): ...here.
7649 Let syntax-propertize-function take precedence.
7650 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7652 * emacs-lisp/syntax.el (syntax-propertize-function)
7653 (syntax-propertize-chunk-size, syntax-propertize--done)
7654 (syntax-propertize-extend-region-functions): New vars.
7655 (syntax-propertize-wholelines, syntax-propertize-multiline)
7656 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7657 (syntax-propertize): New functions.
7658 (syntax-propertize-rules): New macro.
7659 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7660 (syntax-ppss): Call syntax-propertize.
7662 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7664 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7666 * textmodes/ispell.el (ispell-init-process): Improve comments.
7667 XEmacs compatibility changes regarding (add-hook) 'local option
7668 and (set-process-query-on-exit-flag).
7670 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7672 * net/tramp-cache.el (tramp-parse-connection-properties):
7673 Set tramp-autoload cookie.
7675 2010-09-09 Glenn Morris <rgm@gnu.org>
7677 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7678 (imagemagick-register-types): Doc fix.
7680 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7684 * progmodes/js.el (require): Require is already "eval-and-compile".
7685 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7686 (js--re-search-backward): Use js--re-search-forward.
7688 * progmodes/fortran.el (fortran-line-length): Don't recompute
7689 syntactic keywords redundantly a second time.
7691 * progmodes/ada-mode.el: Replace "(set '" with setq.
7692 (ada-mode): Simplify.
7693 (ada-create-case-exception, ada-adjust-case-interactive)
7694 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7695 (ada-search-ignore-string-comment, ada-move-to-start)
7696 (ada-move-to-end): Use with-syntax-table.
7698 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7699 (font-lock-unfontify-region, font-lock-default-fontify-region):
7700 Update usage correspondingly.
7701 (font-lock-fontify-syntactic-keywords-region):
7702 Set parse-sexp-lookup-properties buffer-locally here.
7703 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7705 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7707 2010-09-08 Glenn Morris <rgm@gnu.org>
7709 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7710 Error if not compiled with -DBYTE_CODE_METER.
7712 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7713 Ignore dir-locals-file.
7715 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7719 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7720 for the `gnu' messages.
7721 (compilation-set-skip-threshold): New command.
7722 (compilation-start): Use \' rather than $.
7723 (compilation-forget-errors): Use clrhash.
7725 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7727 * textmodes/ispell.el (ispell-valid-dictionary-list):
7730 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7732 Migrate to Tramp 2.2. Rearrange load dependencies.
7733 (Bug#1529, Bug#5448, Bug#5705)
7735 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7736 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7737 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7739 * net/tramp.el (top): Remove all other tramp-* loads except
7740 tramp-compat.el. Remove all changes to tramp-unload-hook for
7741 other tramp-* packages. Rearrange defun order. Change calls of
7742 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7743 `tramp-compat-octal-to-decimal' to new function names.
7744 (tramp-terminal-type, tramp-initial-end-of-output)
7745 (tramp-methods, tramp-foreign-file-name-handler-alist)
7746 (tramp-tramp-file-p, tramp-completion-mode-p)
7747 (tramp-send-command-and-check, tramp-get-remote-path)
7748 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7749 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7750 (with-file-property, with-connection-property): Move to
7752 (tramp-local-call-process, tramp-decimal-to-octal)
7753 (tramp-octal-to-decimal): Move to tramp-compat.el.
7754 (tramp-handle-shell-command): Do not require 'shell.
7755 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7757 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7759 * net/tramp-cache.el (top): Require 'tramp. Add to
7760 `tramp-unload-hook'.
7761 (tramp-cache-data, tramp-get-file-property)
7762 (tramp-set-file-property, tramp-flush-file-property)
7763 (tramp-flush-directory-property, tramp-get-connection-property)
7764 (tramp-set-connection-property, tramp-flush-connection-property)
7765 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7767 (with-file-property, with-connection-property): New defuns, moved
7769 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7772 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7773 (tramp-version): Set tramp-autoload cookie.
7775 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7776 changes to tramp-unload-hook for other tramp-* packages. Add to
7777 `tramp-unload-hook'.
7778 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7779 (tramp-compat-call-process): New defuns, moved from tramp.el.
7781 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7782 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7783 Add to `tramp-unload-hook'. Change call of
7784 `tramp-compat-decimal-to-octal' to new function name.
7785 (tramp-fish-method): Make it a defconst.
7786 (tramp-fish-file-name-p): Make it a defsubst.
7787 (tramp-fish-method, tramp-fish-file-name-handler)
7788 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7790 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7791 `tramp-foreign-file-name-handler-alist'. Add to
7792 `tramp-unload-hook'.
7793 (tramp-ftp-method): Make it a defconst.
7794 (tramp-ftp-file-name-p): Make it a defsubst.
7795 (tramp-ftp-method, tramp-ftp-file-name-handler)
7796 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7798 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7799 `tramp-foreign-file-name-handler-alist'. Add to
7800 `tramp-unload-hook'. Change checks, whether package can be
7802 (tramp-gvfs-file-name-p): Make it a defsubst.
7803 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7804 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7805 (tramp-gvfs-handle-file-directory-p): New defun.
7806 (tramp-gvfs-file-name-handler-alist): Use it.
7808 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7809 `tramp-foreign-file-name-handler-alist'. Add to
7810 `tramp-unload-hook'.
7811 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7812 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7814 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7815 (tramp-gw-open-connection): Set tramp-autoload cookie.
7817 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7818 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7819 Add to `tramp-unload-hook'. Change checks, whether package can be
7821 (tramp-imap-file-name-p): Make it a defsubst.
7822 (tramp-imap-method, tramp-imaps-method)
7823 (tramp-imap-file-name-handler)
7824 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7826 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7827 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7828 Add to `tramp-unload-hook'. Change checks, whether package can be
7829 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7831 (tramp-smb-tunnel-method): Make it a defconst.
7832 (tramp-smb-file-name-p): Make it a defsubst.
7833 (tramp-smb-method, tramp-smb-file-name-handler)
7834 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7836 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7837 (tramp-uuencode-region): Set tramp-autoload cookie.
7839 * net/trampver.el (top) Add to `tramp-unload-hook'.
7840 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7841 cookie. Update release number.
7843 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7845 * textmodes/ispell.el (ispell-start-process): Make sure original
7846 arg list is properly initialized (Bug#6993, Bug#6994).
7848 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7850 * files.el (directory-abbrev-alist): Use \` as default regexp.
7852 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7853 chars like - or ] (bug#6984).
7854 (rx-any-condense-range): Explode 2-char ranges.
7856 2010-09-06 Glenn Morris <rgm@gnu.org>
7858 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7860 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7862 * textmodes/bibtex.el:
7863 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7865 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7868 since no callers use it.
7869 (imap-message-get): Ditto.
7870 (imap-message-put): Ditto.
7871 (imap-mailbox-map): Ditto.
7872 (imap-mailbox-put): Ditto.
7873 (imap-mailbox-get): Ditto.
7874 (imap-mailbox-get): Revert last change for this function.
7876 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7879 callers to use `imap-fetch' instead. According to the comments, this
7880 should be safe, since all other IMAP clients use the 1:* syntax.
7881 (imap-enable-exchange-bug-workaround): Remove.
7882 (imap-debug): Remove -- doesn't seem very useful.
7884 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7886 * net/imap.el (imap-log): New convenience function used throughout
7887 instead of repeating the same code all over the place.
7889 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7891 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7892 when mouse-drag-copy-region is non-nil (Bug#6956).
7894 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7896 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7897 Improve regexps (Bug#6987).
7898 (dired-sort-toggle): Search more robustly for -t flag.
7900 * files.el (get-free-disk-space): Search more robustly for
7901 "available" column. Suggested by Ehud Karni
7902 <ehud@unix.mvs.co.il>.
7904 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7906 * international/uni-bidi.el:
7907 * international/uni-category.el:
7908 * international/uni-combining.el:
7909 * international/uni-decimal.el:
7910 * international/uni-mirrored.el:
7911 * international/uni-name.el: Regenerate.
7913 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7915 * electric.el (electric-indent-post-self-insert-function):
7916 Don't reindent with a sloppy indentation function.
7918 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7919 border case in change-log-mode.
7921 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7923 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7924 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7925 Recognize leading tab in gcc-include regexp. Ignore names with
7926 leading "from" or "in" in gnu regexp (Bug#6937).
7928 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7930 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7931 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7932 (ispell-start-process): Avoid setq and simplify logic.
7933 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7934 (kill-buffer-hook): Don't use it globally with code that uses
7935 expand-file-name since that may call kill-buffer via
7936 code_conversion_restore.
7938 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7940 * emacs-lisp/package.el (package-directory-list): Only call
7941 file-name-nondirectory on a string.
7943 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7945 * emacs-lisp/package.el (package--download-one-archive):
7946 Ensure that archive-contents is valid before saving it.
7947 (package-activate-1, package-mark-obsolete, define-package)
7948 (package-compute-transaction, package-list-maybe-add): Use push.
7950 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7952 Use SMIE's blink-paren for octave-mode.
7953 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7954 Backslashes do not escape single-quotes, single-quotes do.
7955 (octave-block-else-regexp, octave-block-end-regexp)
7956 (octave-block-match-alist): Remove.
7957 (octave-smie-bnf-table): New var, with old content.
7958 (octave-smie-op-levels): Use it.
7959 (octave-smie-closer-alist): New var.
7960 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7961 (octave-blink-matching-block-open): Remove.
7962 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7963 (octave-electric-space): Let self-insert-command run expand-abbrev and
7966 * electric.el (electricity): New group.
7967 (electric-indent-chars): New var.
7968 (electric-indent-post-self-insert-function): New fun.
7969 (electric-indent-mode): New minor mode.
7970 (electric-pair-skip-self): New custom.
7971 (electric-pair-post-self-insert-function): New function.
7972 (electric-pair-mode): New minor mode.
7974 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7975 calcAlg-blink-matching-open.
7976 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7977 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7978 Use the new blink-matching-check-function.
7980 Provide blink-matching support to SMIE.
7981 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7982 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7983 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7985 * simple.el (newline): Fix last change to properly remove itself from
7988 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7990 * simple.el (newline): Eliminate optimization.
7991 Use post-self-insert-hook to set hard-newline and things before
7992 running post-self-insert-hook.
7993 (blink-matching-check-mismatch): New function.
7994 (blink-matching-check-function): New variable.
7995 (blink-matching-open): Use them.
7996 Skip back forward over prefix chars skipped by forward-sexp.
7997 Don't check if the parens are backslash escaped.
7998 (blink-paren-post-self-insert-function): Check backslash escaping here.
8000 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8002 * emacs-lisp/package.el (package-menu-mode-map):
8003 Change package-menu-revert bindings to revert-buffer.
8004 (package-menu-mode): Set revert-buffer-function.
8005 (package-menu-revert): Doc fix.
8007 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8009 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8010 `default-directory' unless using Ispell per-directory personal
8011 dictionaries and not in a mini-buffer under XEmacs.
8012 (kill-buffer-hook): Do not kill ispell process on exit when
8013 `ispell-process-directory' is "~/". (Bug#6143)
8015 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8017 * simple.el (kill-new): Call interprogram-cut-function with only
8020 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8021 Remove cut buffer from error message.
8023 * term/x-win.el (x-select-text):
8024 * term/pc-win.el (x-selection-value):
8025 * term/ns-win.el (x-selection-value):
8026 * eshell/em-term.el:
8027 * w32-fns.el (x-get-selection-value):
8028 * mouse-sel.el (mouse-sel-set-selection-function):
8029 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8031 * term/x-win.el: Update documentation for x-last-selected-text-*.
8032 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8033 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8034 (x-select-text): Remove argument PUSH, update documentation.
8035 Remove cut-buffer code.
8036 (x-selection-value-internal): Was previously x-selection-value.
8037 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8038 Update documentation, remove cut-buffer code.
8039 Call x-selection-value-internal.
8040 (x-clipboard-yank): Call x-selection-value-internal.
8041 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8043 * term/pc-win.el (x-last-selected-text):
8044 x-cut-buffer-or-selection-value renamed to x-selection-value
8045 (x-select-text): Remove argument PUSH, update documentation.
8047 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8048 x-cut-buffer-or-selection-value renamed to x-selection-value
8049 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8050 (x-select-text): Remove argument PUSH, update documentation.
8052 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8054 * w32-fns.el (x-last-selected-text):
8055 x-cut-buffer-or-selection-value renamed to x-selection-value.
8056 (x-cut-buffer-max): Remove.
8057 (x-select-text): Remove argument PUSH, update documentation.
8059 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8061 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8063 * mouse-sel.el (mouse-sel-get-selection-function):
8064 x-cut-buffer-or-selection-value renamed to x-selection-value.
8065 (x-select-text): Remove optional push.
8067 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8069 * simple.el (blink-paren-function): Move from C to here.
8070 (blink-paren-post-self-insert-function): New function.
8071 (post-self-insert-hook): Use it.
8073 * emacs-lisp/pcase.el (pcase-split-memq):
8074 Fix overenthusiastic optimisation.
8075 (pcase-u1): Handle the case of a lambda pred.
8077 2010-08-31 Kenichi Handa <handa@m17n.org>
8079 * international/mule-cmds.el (standard-display-european-internal):
8080 Setup standard-display-table for 8-bit characters by storing 8-bit
8081 characters in the element vector.
8083 * disp-table.el (standard-display-8bit):
8084 Setup standard-display-table for 8-bit characters by storing 8-bit
8085 characters in the element vector.
8086 (standard-display-european): Likewise.
8088 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8090 * textmodes/nroff-mode.el (nroff-view): New command.
8091 (nroff-mode-map): Bind it to C-c C-c.
8093 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * emacs-lisp/smie.el (smie-down-list): New command.
8097 Remove old indentation and navigation code on octave-mode.
8098 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8099 smie-down-list rather than add a binding for octave-down-block.
8100 (octave-mark-block, octave-blink-matching-block-open):
8101 Rely on forward-sexp-function.
8102 (octave-fill-paragraph): Don't narrow, so you can use
8103 indent-according-to-mode.
8104 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8105 (octave-in-block-p, octave-re-search-forward-kw)
8106 (octave-re-search-backward-kw, octave-indent-calculate)
8107 (octave-end-as-array-index-p, octave-block-end-offset)
8108 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8109 (octave-down-block, octave-backward-up-block, octave-up-block)
8110 (octave-before-magic-comment-p, octave-indent-line): Remove.
8112 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8114 * emacs-lisp/package.el (package--read-archive-file): Just use
8115 `read', to avoid copying an additional string.
8116 (package-menu-mode): Set header-line-format here.
8117 (package-menu-refresh, package-menu-revert): Signal an error if
8118 not in the Package Menu.
8119 (package-menu-package-list): New var.
8120 (package--generate-package-list): Operate on the current buffer;
8121 don't assume that it is *Packages*, since the user may rename it.
8122 Allow persistent package listings and sort keys using
8123 package-menu-package-list and package-menu-package-sort-key.
8124 (package-menu--version-predicate): Fix version calculation.
8125 (package-menu-sort-by-column): Don't select the window.
8126 (package--list-packages): Create the *Packages* buffer.
8127 Set package-menu-package-list-key.
8128 (list-packages): Sorting by status is now the default.
8129 (package-buffer-info): Use match-string-no-properties.
8130 (define-package): Add a &rest argument for future proofing, but
8132 (package-install-from-buffer, package-install-buffer-internal):
8133 Merge into a single function, package-install-from-buffer.
8134 (package-install-file): Change caller.
8136 * finder.el: Load finder-inf using `require'.
8137 (finder-list-matches): Sorting by status is now the default.
8138 (finder-compile-keywords): Simpify printing.
8140 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8142 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8143 (octave-mode-map): Remove special bindings for forward/backward-block
8144 and octave-backward-up-block. Use smie-close-block.
8145 (octave-continuation-marker-regexp): New var.
8146 (octave-continuation-regexp): Use it.
8147 (octave-operator-table, octave-smie-op-levels)
8148 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8149 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8150 (octave-mode): Use SMIE.
8151 (octave-close-block): Delete.
8153 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8155 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8156 CLIPBOARD, not in PRIMARY. (Bug#6944)
8158 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8160 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8162 (smie-indent-column): Allow indirection through variables.
8164 * composite.el (save-buffer-state): Delete, unused.
8165 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8166 (font-lock-default-fontify-region): Use with-syntax-table.
8167 * jit-lock.el (with-buffer-unmodified): Remove.
8168 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8170 Use `declare' in defmacros.
8171 * window.el (save-selected-window):
8172 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8173 * progmodes/python.el (def-python-skeleton):
8174 * net/dbus.el (dbus-ignore-errors):
8175 * jka-cmpr-hook.el (with-auto-compression-mode):
8176 * international/mule.el (with-category-table):
8177 * emacs-lisp/timer.el (with-timeout):
8178 * emacs-lisp/lisp-mnt.el (lm-with-file):
8179 * emacs-lisp/eieio.el (with-slots):
8180 * emacs-lisp/easymenu.el (easy-menu-define):
8181 * emacs-lisp/debug.el (debugger-env-macro):
8182 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8183 (Multiple-value-call, Multiple-value-prog1):
8184 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8185 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8186 edebug rule to definition.
8187 * emacs-lisp/lisp-mode.el (save-selected-window)
8188 (with-current-buffer, combine-after-change-calls)
8189 (with-output-to-string, with-temp-file, with-temp-buffer)
8190 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8191 (dolist, dotimes, when, unless):
8192 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8194 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8196 * finder.el: Require `package'.
8197 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8198 (finder-package-info): Var deleted.
8199 (finder-keywords-hash, finder--builtins-alist): New vars.
8200 (finder-compile-keywords): Compute package--builtins and
8201 finder-keywords-hash instead of finder-keywords-hash, respecting
8202 the "Package" header.
8203 (finder-unknown-keywords, finder-list-matches):
8204 Use finder-keywords-hash and package--list-packages.
8205 (finder-mode): Don't set font-lock-defaults.
8206 (finder-exit): We don't use "*Finder-package*" and "*Finder
8207 Category*" buffers anymore.
8209 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8210 (package--builtins): Set default value to nil.
8211 (package-initialize): Load precomputed value of package--builtins
8213 (package-alist, package-compute-transaction)
8214 (package-download-transaction): Improve docstring.
8215 (package-read-all-archive-contents): Do not change
8216 package--builtins here.
8217 (list-packages): Make package-list-packages an alias for this.
8218 Sort by status by default.
8219 (package--list-packages): Add optional PACKAGES arg.
8220 (describe-package-1): Use font-lock-face property. For built-in
8221 packages, insert file commentary.
8222 (package--generate-package-list): Rename from
8223 package-list-packages-internal; all callers changed. Add optional
8224 PACKAGES arg. Add alphabetical sort fallbacks.
8225 (package-menu--version-predicate, package-menu--status-predicate)
8226 (package-menu--description-predicate)
8227 (package-menu--name-predicate): New functions.
8229 * info.el (Info-finder-find-node): Search package-alist instead of
8230 finder-package-info.
8232 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8234 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8236 (version-to-list): Handle versions like "10.3d".
8238 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8240 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8241 (macroexp-accumulate): Use `declare'.
8243 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8245 * whitespace.el (whitespace-style): Adjust type declaration.
8247 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8249 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8251 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8253 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8256 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8258 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8259 (js-paren-indent-offset, js-square-indent-offset)
8260 (js-curly-indent-offset): New options.
8261 (js--proper-indentation): Use them.
8263 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8265 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8266 instead of inspecting font-lock properties (Bug#6916).
8268 2010-08-26 David Reitter <david.reitter@gmail.com>
8270 * server.el (server-visit-files): Run pre-command-hook and
8271 post-command-hook for each buffer while it is current (Bug#6910).
8272 (server-execute): Do not run hooks here.
8274 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8276 Sync with Tramp 2.1.19.
8278 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8280 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8282 * net/tramp.el (tramp-handle-expand-file-name)
8283 (tramp-completion-handle-file-name-all-completions)
8284 (tramp-completion-handle-file-name-completion):
8285 Use `tramp-connectable-p'.
8287 * net/trampver.el: Update release number.
8289 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8291 * help.el (help-map): Bind `C-h P' to describe-package.
8293 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8295 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8296 when downloading archives.
8297 (describe-package-1): Add package commentary.
8298 (package-install-button-action): New function.
8299 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8300 (package-menu-view-commentary): Function removed.
8301 (package-list-packages-internal): Hide the `package' package too.
8303 2010-08-25 Kenichi Handa <handa@m17n.org>
8305 * language/misc-lang.el ("Arabic"): New language environment.
8306 Setup composition-function-table for Arabic characters.
8308 * international/fontset.el (setup-default-fontset): Fix typo for
8309 arabic OTF spec (fini->fina).
8311 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8313 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8316 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8318 * whitespace.el: Allow cleaning up blanks without blank
8319 visualization (Bug#6651). Adjust help window for
8320 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8321 instead of whitespace-line-column (from EmacsWiki). New version
8323 (whitespace-style): Add new value 'face. Adjust docstring.
8324 (whitespace-space, whitespace-hspace, whitespace-tab):
8325 Adjust foreground property face.
8326 (whitespace-line-column): Adjust docstring and type declaration.
8327 (whitespace-style-value-list, whitespace-toggle-option-alist)
8328 (whitespace-help-text): Adjust const initialization.
8329 (whitespace-toggle-options, global-whitespace-toggle-options):
8331 (whitespace-display-window, whitespace-interactive-char)
8332 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8333 (whitespace-help-scroll): New fun.
8335 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8337 * emacs-lisp/package.el (list-packages): Alias for
8338 package-list-packages.
8340 2010-08-24 Kevin Ryde <user42@zip.com.au>
8342 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8345 * progmodes/ruby-mode.el (ruby): Add defgroup.
8347 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8349 * progmodes/python.el: Add Ipython support (Bug#5390).
8350 (python-shell-prompt-alist)
8351 (python-shell-continuation-prompt-alist): New options.
8352 (python--set-prompt-regexp): New function.
8353 (inferior-python-mode, run-python, python-shell):
8354 Require ansi-color. Use python--set-prompt-regexp to set the comint
8355 prompt based on the Python interpreter.
8356 (python--prompt-regexp): New var.
8357 (python-check-comint-prompt)
8358 (python-comint-output-filter-function): Use it.
8359 (run-python): Use a pipe (Bug#5694).
8361 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8363 * progmodes/python.el (python-send-region): Send a different
8364 Python command if Ipython is in use.
8365 (python-check-version): Use a Python command to find the version.
8367 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8369 * mouse.el (mouse-yank-primary): Avoid setting primary when
8370 deactivating the mark (Bug#6872).
8372 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8374 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8375 with "else" (Bug#3991).
8377 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8379 * net/dbus.el: Accept UNIX domain sockets as bus address.
8380 (top): Don't initialize `dbus-registered-objects-table' anymore,
8381 this is done in dbusbind.c.
8382 (dbus-check-event): Adapt test for bus.
8383 (dbus-return-values-table, dbus-unregister-service)
8384 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8387 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8389 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8391 2010-08-22 Juri Linkov <juri@jurta.org>
8393 * simple.el (read-extended-command): New function with the logic
8394 for `completing-read' moved to Elisp from `execute-extended-command'.
8395 Use `function-called-at-point' in `minibuffer-default-add-function'
8396 to get a command name for M-n (bug#5364, bug#5214).
8398 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8400 * startup.el (command-line-1): Issue warning for ignored arguments
8401 --unibyte, etc (Bug#6886).
8403 2010-08-22 Leo <sdl.web@gmail.com>
8405 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8406 (ignore, bright, dim, keyword): Split list of nicknames before
8407 passing to rcirc-add-or-remove (Bug#6894).
8409 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8411 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8413 2010-08-22 Leo <sdl.web@gmail.com>
8415 Fix buffer-list rename&refresh after killing a buffer in ido.
8416 * ido.el: Revert Óscar's.
8417 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8418 Remember the buffers at head, rather than their name.
8419 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8421 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8422 Stefan Monnier <monnier@iro.umontreal.ca>
8424 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8425 extra backslash added to each line (bug#6890).
8427 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8429 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8431 2010-08-22 Glenn Morris <rgm@gnu.org>
8433 * menu-bar.el (menu-bar-games-menu): Add landmark.
8435 2010-08-22 Glenn Morris <rgm@gnu.org>
8437 * align.el (align-regexp): Make group and spacing arguments
8438 use the interactive defaults when non-interactive. (Bug#6698)
8440 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8441 expansion, so as not to need sendmail.
8442 (mail-text-start): Remove declaration.
8443 (rmail-retry-failure): Require sendmail.
8445 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8447 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8449 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8451 * progmodes/flymake.el (flymake-start-syntax-check-process):
8452 Use `start-file-process' in order to let it run also on remote hosts.
8454 2010-08-22 Kenichi Handa <handa@m17n.org>
8456 * files.el: Add `word-wrap' as safe local variable.
8458 2010-08-22 Glenn Morris <rgm@gnu.org>
8460 * woman.el (woman-translate): Case matters. (Bug#6849)
8462 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8464 * simple.el (kill-region): Doc fix (Bug#6787).
8466 2010-08-22 Glenn Morris <rgm@gnu.org>
8468 * calendar/diary-lib.el (diary-header-line-format):
8469 Fit it to the window, not the frame.
8471 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8473 * subr.el (ignore-errors): Add debug declaration.
8475 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8477 * whitespace.el (whitespace-color-off): Remove post-command-hook
8480 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8482 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8484 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8486 * cus-edit.el (custom-group-value-create): Add extra newline
8487 before end line (Bug#6876).
8489 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8491 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8492 when extending it. Before killing on the second click, check if
8493 the buffer is the correct one. Doc fix.
8494 (mouse-secondary-save-then-kill): Allow usage without first
8495 calling mouse-start-secondary, by defaulting to point. Don't save
8496 an empty secondary selection. Doc fix.
8498 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8500 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8501 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8503 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8504 Adjust initialization.
8505 (whitespace-bob-marker, whitespace-eob-marker)
8506 (whitespace-buffer-changed): New vars.
8507 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8508 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8509 (whitespace-post-command-hook, whitespace-display-char-on):
8511 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8512 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8514 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8516 * files.el (locate-file-completion-table): Only list the .el and .elc
8517 extensions if there's no other choice (bug#5955).
8519 * facemenu.el (facemenu-self-insert-data): New var.
8520 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8522 (facemenu-add-face): Use them.
8524 * simple.el (blink-matching-open): Obey forward-sexp-function.
8526 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8528 * simple.el (prog-mode-map): New var.
8529 (prog-indent-sexp): New command.
8531 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8533 * progmodes/prolog.el (smie): Require.
8535 * emacs-lisp/smie.el (smie-default-backward-token)
8536 (smie-default-forward-token): Strip properties.
8537 (smie-next-sexp): Be more careful with associative operators.
8538 (smie-forward-sexp-command): Generalize.
8539 (smie-backward-sexp-command): Simplify.
8540 (smie-closer-alist): New var.
8541 (smie-close-block): New command.
8542 (smie-indent-debug-log): New var.
8543 (smie-indent-offset-rule): Add a few more cases.
8544 (smie-indent-column): New function.
8545 (smie-indent-after-keyword): Use it.
8546 (smie-indent-keyword): Use it.
8547 Fix up the opener code's point position.
8548 (smie-indent-comment): Only applies at BOL.
8549 (smie-indent-debug): New command.
8551 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8552 declarations that are useful before running the macro.
8554 2010-08-18 Joakim Verona <joakim@verona.se>
8556 * image.el (imagemagick-types-inhibit): New variable.
8557 (imagemagick-register-types): New function.
8558 * image-mode.el (image-transform-properties): New function.
8559 (image-transform-set-scale, image-transform-fit-to-height)
8560 (image-transform-set-rotation, image-transform-set-resize)
8561 (image-transform-fit-to-width, image-transform-fit-to-height):
8563 (image-toggle-display-image): Support image transforms.
8565 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8567 * image.el (create-animated-image): Don't add heuristic mask to image
8570 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8572 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8573 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8575 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8577 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8579 Font-lock '...' strings, plus various simplifications and fixes.
8580 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8581 (octave-font-lock-close-quotes): New function.
8582 (octave-font-lock-syntactic-keywords): New var.
8583 (octave-mode): Use it. Set beginning-of-defun-function.
8584 (octave-mode-map): Don't override the <foo>-defun commands.
8585 (octave-mode-menu): Pass it directly to easy-menu-define;
8586 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8587 (octave-block-match-alist): Fix up last change so that
8588 octave-close-block uses the more specific keyword.
8589 (info-lookup-mode): Silence byte-compiler.
8590 (octave-beginning-of-defun): Not interactive any more.
8592 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8593 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8594 (octave-completion-at-point-function): Make sure point is within
8596 (octave-reindent-then-newline-and-indent):
8597 Use reindent-then-newline-and-indent.
8598 (octave-add-octave-menu): Remove.
8600 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8602 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8603 (report-emacs-bug-can-use-xdg-email): New functions.
8604 (report-emacs-bug): Set can-xdg-email to result of
8605 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8606 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8609 * net/browse-url.el (browse-url-default-browser): Add cond
8610 for browse-url-xdg-open.
8611 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8613 2010-08-17 Glenn Morris <rgm@gnu.org>
8615 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8616 (c-fontify-recorded-types-and-refs): Define for compiler.
8617 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8620 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8623 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8625 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8627 (tramp-handle-process-file): Call the program in a subshell, in
8628 order to preserve working directory.
8629 (tramp-action-password): Hide password prompt before next run.
8630 (tramp-process-actions): Widen connection buffer for the trace.
8632 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8634 * net/rcirc.el (rcirc-log-process-buffers): New option.
8635 (rcirc-print): Use it.
8636 (rcirc-generate-log-filename): New function.
8637 (rcirc-log-filename-function): Change default to
8638 rcirc-generate-log-filename (Bug#6828).
8640 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8642 * simple.el (deactivate-mark): If select-active-regions is `only',
8643 only set selection for temporarily active regions.
8645 * cus-start.el: Change defcustom for select-active-regions.
8647 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8649 * mouse.el (mouse--drag-set-mark-and-point): New function.
8650 (mouse-drag-track): Use LOCATION arg to push-mark.
8651 Use mouse--drag-set-mark-and-point to take click-count into
8652 consideration when updating point and mark (Bug#6840).
8654 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8656 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8657 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8659 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8661 * font-lock.el (lisp-font-lock-keywords-2):
8662 Add combine-after-change-calls, condition-case-no-debug,
8663 with-demoted-errors, and with-silent-modifications (Bug#6025).
8665 2010-08-14 Kevin Ryde <user42@zip.com.au>
8667 * emacs-lisp/copyright.el (copyright-update-year)
8668 (copyright-update): Temporary switch-to-buffer to ensure the
8669 buffer change being queried is visible (Bug#5394).
8671 2010-08-14 Tom Tromey <tromey@redhat.com>
8673 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8676 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8678 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8681 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8683 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8684 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8685 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8686 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8687 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8688 Call menu-bar-set-tool-bar-position.
8690 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8693 comment style (bug#6834).
8694 * progmodes/scheme.el (scheme-mode-syntax-table):
8695 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8696 "b" flag in "' 14b" syntax.
8698 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8699 for (un)commenting the region and performing completion.
8700 (octave-mode-menu): Use standard commands for help and completion.
8701 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8702 (octave-mode): Use define-derived-mode.
8703 Set completion-at-point-functions and don't set columns.
8704 Don't disable adaptive-fill-regexp.
8705 (octave-describe-major-mode, octave-comment-region)
8706 (octave-uncomment-region, octave-comment-indent)
8707 (octave-indent-for-comment): Remove.
8708 (octave-indent-calculate): Rename from calculate-octave-indent.
8709 (octave-indent-line, octave-fill-paragraph): Update caller.
8710 (octave-initialize-completions): No need to make an alist.
8711 (octave-completion-at-point-function): New function.
8712 (octave-complete-symbol): Use it.
8713 (octave-insert-defun): Use define-skeleton.
8715 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8716 (octave-mode-map): Use comment-dwim (bug#6829).
8718 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8720 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8721 indentation of inserted comment.
8723 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8725 * faces.el (region): Add type gtk that uses gtk colors.
8727 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8728 Handle theme-name change.
8730 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8732 * progmodes/sql.el: Version 2.5
8733 (sql-product-alist): Add :prompt-cont-regexp property for several
8735 (sql-prompt-cont-regexp): New variable.
8736 (sql-output-newline-count, sql-output-by-send):
8737 New variables. Record number of newlines in input text.
8738 (sql-send-string): Handle multiple filters and count newlines.
8739 (sql-send-magic-terminator): Count terminator newline.
8740 (sql-interactive-remove-continuation-prompt): Filters output to
8741 remove continuation prompts; one for each newline.
8742 (sql-interactive-mode): Set up new variables, prompt regexp and
8744 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8745 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8747 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8749 * emacs-lisp/pcase.el: New file.
8751 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8753 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8754 as here-document, otherwise the command could exceed maximum
8755 length of command line.
8756 (tramp-handle-vc-registered): Call script accordingly.
8757 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8759 2010-08-10 Kenichi Handa <handa@m17n.org>
8761 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8764 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8766 * emacs-lisp/package.el (package-version-split)
8767 (package--version-first-nonzero, package-version-compare):
8769 (package-directory-list, package-load-all-descriptors)
8770 (package--built-in, package-activate, define-package)
8771 (package-installed-p, package-compute-transaction)
8772 (package-read-all-archive-contents)
8773 (package--add-to-archive-contents, package-buffer-info)
8774 (package-tar-file-info, package-list-packages-internal):
8775 Use version-to-list and version-list-*.
8777 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8778 Use version-to-list.
8779 (package-upload-buffer-internal): Use version-list-<=.
8781 2010-08-09 Kenichi Handa <handa@m17n.org>
8783 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8786 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8788 * tutorial.el (tutorial--default-keys): C-d is now bound to
8789 delete-forward-char (Bug#6826).
8791 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8792 for `double' value of mouse-1-click-follows-link (Bug#6807).
8794 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8796 * replace.el (replace-highlight): Bind isearch-forward and
8797 isearch-error, ensuring that highlighting is updated if the user
8798 switches the search direction (Bug#6808).
8800 * isearch.el (isearch-lazy-highlight-forward): New var.
8801 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8802 (isearch-lazy-highlight-update): Use it.
8804 2010-08-08 Kenichi Handa <handa@m17n.org>
8806 * international/mule.el (define-charset): Store NAME as :base property.
8807 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8808 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8809 current priority. Force using the designation of the specific
8810 charset by adding `charset' text property. Improve the whole algorithm.
8812 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8814 * emulation/pc-select.el (pc-selection-mode-hook)
8815 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8816 (pc-selection-mode): Fix typos in docstrings.
8818 2010-08-08 Kenichi Handa <handa@m17n.org>
8820 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8821 ctext-non-standard-encodings-alist here.
8823 * international/mule.el (ctext-non-standard-encodings-alist):
8824 Add "koi8-r" and "microsoft-cp1251".
8825 (ctext-standard-encodings): New variable.
8826 (ctext-non-standard-encodings-table): List only elements for
8827 non-standard encodings.
8828 (ctext-pre-write-conversion): Adjust for the above change.
8829 Check ctext-standard-encodings.
8831 * international/mule-conf.el (compound-text): Doc fix.
8832 (ctext-no-compositions): Doc fix.
8833 (compound-text-with-extensions): Doc fix.
8835 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8839 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8841 * progmodes/which-func.el (which-func-format): Split help-echo text
8842 into lines, like other mode-line tooltips.
8844 * server.el (server-start): When using TCP sockets, force IPv4
8845 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8847 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8849 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8851 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8853 * term.el (term-delimiter-argument-list): Reflow docstring.
8854 (term-read-input-ring, term-write-input-ring, term-send-input)
8855 (term-bol, term-erase-in-display, serial-supported-or-barf):
8856 Fix typos in docstrings.
8858 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8862 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8864 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8866 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8868 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8869 Fix typo in docstring (bug#6747).
8871 2010-08-08 Leo <sdl.web@gmail.com>
8873 * eshell/esh-io.el (eshell-get-target): Better detection of
8874 read-only file (Bug#6762).
8876 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8878 * align.el (align-default-spacing): Doc fix.
8879 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8881 2010-08-08 Stephen Peters <speters@itasoftware.com>
8883 * calendar/icalendar.el
8884 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8885 (icalendar--get-weekday-numbers): New.
8886 (icalendar--convert-recurring-to-diary): Handle multiple byday
8887 values in weekly rules. (Bug#6766)
8889 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8891 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8892 (icalendar--create-uid, icalendar-export-region)
8893 (icalendar--parse-summary-and-rest): Code formatting.
8895 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8897 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8898 to italicize headers.
8899 (calc-highlight-selections-with-faces): New variable.
8900 (calc-selected-face, calc-nonselected-face): New faces.
8902 * calc/calccomp.el (math-comp-highlight-string): Use
8903 `calc-highlight-selections-with-faces' to determine how to highlight
8906 * calc/calc-sel.el (calc-show-selections): Change message to when
8907 using faces to highlight selections.
8909 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8911 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8912 Add SQLite 3 keywords, functions and datatypes.
8913 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8916 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8918 * simple.el (select-active-regions): Move to keyboard.c.
8919 (deactivate-mark): Used saved-region-selection.
8920 (select-active-region): Function removed.
8921 (activate-mark, set-mark, push-mark-command)
8922 (handle-shift-selection): Don't call it.
8923 (keyboard-quit): Avoid adding the region to the window selection.
8925 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8926 select-active-regions implementation.
8927 (mouse-yank-at-click): Doc fix.
8929 * cus-start.el: Add custom declaration for select-active-regions.
8931 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8933 * simple.el (delete-forward-char): Doc fix.
8935 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8936 after reading the tutorial.
8938 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8940 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8941 Fix for the case that a C style comment has its delimiters alone on
8942 their respective lines. (Bug#193)
8944 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8946 * net/tramp.el (tramp-handle-start-file-process): Set connection
8948 (tramp-process-sentinel): Use it for flushing the cache.
8949 We cannot do it via the process buffer, the buffer could be deleted
8950 already when running the sentinel.
8952 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8954 * comint.el (comint-mode): Make directory tracking functions
8955 functional on remote files. (Bug#6764)
8957 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8959 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8961 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8963 * emacs-lisp/find-gc.el (find-gc-source-files):
8964 Rename unexec.c => unexcoff.c.
8966 * emacs-lisp/authors.el (authors-fixed-entries):
8967 Rename unexec.c => unexcoff.c.
8969 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8971 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8972 cache, not only file cache.
8973 (tramp-process-sentinel): New defun.
8974 (tramp-handle-start-file-process): Use it, in order to invalidate
8977 2010-08-03 Leo <sdl.web@gmail.com>
8979 * server.el (server-start): Simplify loop.
8981 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8983 * frame.el (screen-height, screen-width, set-screen-width)
8984 (set-screen-height): Remove ancient compatibility aliases.
8986 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8987 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8989 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8990 that change current buffer.
8992 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8994 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8995 beginning of the string. Use `string-match-p'. (Bug#6765)
8997 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8999 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9001 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9003 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9004 (package--builtins): Tweak descriptions.
9005 (package-print-package): Upcase descriptions if necessary.
9006 Show all built-in packages in font-lock-builtin-face.
9007 (package-list-packages-internal): Omit "emacs" package.
9008 Show status of built-in packages as "built-in".
9010 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9012 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9013 before killing to preserve the primary selection (Bug#6701).
9015 * term/x-win.el (x-select-text): Doc fix.
9017 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9019 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9020 (objc-font-lock-extra-types):
9021 * progmodes/cc-mode.el (c-basic-common-init):
9022 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9023 (c++-make-template-syntax-table)
9024 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9025 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9026 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9027 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9028 * progmodes/cc-fonts.el (c-make-inverse-face)
9029 (c-basic-matchers-after):
9030 * progmodes/cc-engine.el (c-forward-keyword-clause)
9031 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9032 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9033 (c-guess-continued-construct, c-guess-basic-syntax):
9034 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9035 The above functions were modified or created.
9037 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9039 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9041 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9043 * files.el (bidi-paragraph-direction): Define safe local values.
9045 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9046 language-info-alist. Remove outdated FIXME in a comment.
9048 2010-07-31 Alan Mackenzie <acm@muc.de>
9050 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9051 Auto-fill broken in C/C++ modes.
9053 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9055 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9056 (menu-bar-showhide-tool-bar-menu-customize-disable)
9057 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9058 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9059 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9060 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9061 make a menu for Options => toolbar that can move it.
9063 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9065 * emacs-lisp/package-x.el (package--make-rss-entry):
9066 (package-maint-add-news-item, package--update-news)
9067 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9069 * emacs-lisp/package.el (package-archive-url): Rename from
9071 (package-install): Doc fix.
9072 (package-download-single, package-download-tar, package-install)
9073 (package-menu-view-commentary): Callers changed.
9075 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9077 * net/tramp.el (tramp-handle-start-file-process): Check only for
9078 `remote-tty' process property.
9079 (tramp-open-shell): Don't check for tty.
9080 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9083 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9086 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9088 * emacs-lisp/package.el (package-load-list, package-archives)
9089 (package-archive-contents, package-user-dir)
9090 (package-directory-list, package--builtins, package-alist)
9091 (package-activated-list, package-obsolete-alist): Mark as risky.
9093 2010-07-28 Phil Hagelberg <phil@evri.com>
9095 Add support for non-default package repositories.
9096 * emacs-lisp/package.el (package-archive-base): Var deleted.
9097 (package-archives): New variable.
9098 (package-archive-contents): Doc fix.
9099 (package-load-descriptor): Do nothing if descriptor file is missing.
9100 (package--write-file-no-coding): New function.
9101 (package-unpack-single): Use it.
9102 (package-archive-id): New function.
9103 (package-download-single, package-download-tar)
9104 (package-menu-view-commentary): Use it.
9105 (package-installed-p): Make second argument optional.
9106 (package-read-all-archive-contents): New function.
9107 (package-initialize): Use it.
9108 (package-read-archive-contents): Add ARCHIVE argument.
9109 (package--add-to-archive-contents): New function.
9110 (package-install): Don't call package-read-archive-contents.
9111 (package--download-one-archive): Store archive file in a
9112 subdirectory of package-user-dir.
9113 (package-menu-execute): Remove spurious line movement.
9115 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9117 * cus-start.el (tool-bar-style): Add text-image-horiz.
9119 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9121 * progmodes/gud.el (gud-common-init): Check for remoteness of
9122 `file', and not of `default-directory'.
9124 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9126 * net/tramp.el (tramp-methods): Move hostname to the end in all
9127 ssh `tramp-login-args'.
9128 (tramp-verbose): Describe verbose level 9.
9129 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9130 (tramp-open-connection-setup-interactive-shell): Trace stty
9131 settings if `tramp-verbose' >= 9.
9132 (tramp-handle-start-file-process): Implement tty setting.
9133 (Bug#4604, Bug#6360)
9135 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9136 `tramp-verbose' to 9.
9138 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9140 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9141 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9142 Remove references to package `lisp-re' (bug#4369).
9144 2010-07-27 Tom Tromey <tromey@redhat.com>
9146 * progmodes/js.el (js-mode):
9147 * progmodes/make-mode.el (makefile-mode):
9148 * progmodes/simula.el (simula-mode):
9149 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9151 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9153 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9155 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9156 (display-time-world-buffer-name, display-time-world-mode-map):
9157 Fix typos in docstrings.
9159 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9161 * image-mode.el (image-display-size): New function.
9162 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9163 (image-mode-fit-frame): Use it (Bug#6639).
9165 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9167 * dired.el (dired-buffers-for-dir): Handle list values of
9168 dired-directory (Bug#6636).
9170 2010-07-26 Sam Steingold <sds@gnu.org>
9172 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9173 Do not call `x-get-selection' the second time, reuse the value.
9175 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9177 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9178 which consist of control chars only. Suggested by Richard Stallman.
9180 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9182 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9183 exists before passing an error to find-file-not-found-functions
9186 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9188 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9189 Remove leading nil element, adjust values.
9190 (tetris-shapes, tetris-shape-scores):
9191 Change representation of shapes and remove some redundancy.
9192 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9193 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9194 Adjust for working with new representation of shapes.
9195 (tetris-shape-rotations): New function.
9196 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9197 (tetris-rotate-prev, tetris-rotate-next):
9198 Adjust for working with the new version of tetris-test-shape.
9200 2010-07-23 Markus Triska <markus.triska@gmx.at>
9202 * progmodes/ps-mode.el: Use comint (bug#5954).
9203 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9204 (ps-mode-other-newline): Simplify.
9205 (ps-run-mode): Derive from comint-mode instead of
9206 fundamental-mode, yielding input history etc.
9207 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9208 (ps-run-send-string): Adapt for comint-mode.
9209 (ps-run-newline): Remove now unneeded function.
9211 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9213 * net/tramp.el (tramp-methods): Move hostname to the end in all
9214 plink `tramp-login-args'.
9216 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9218 * net/tramp.el (tramp-open-shell): New defun.
9219 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9222 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9224 * net/tramp.el (tramp-file-name-regexp-unified)
9225 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9226 not regard the volume letter as remote filename. (Bug#5447)
9228 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9230 * custom.el (custom-declare-variable): Give a clearer error message
9231 when the docstring is missing (bug#6476).
9233 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9235 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9236 (sql-login-params): New widget definition.
9237 (sql-oracle-login-params, sql-mysql-login-params)
9238 (sql-solid-login-params, sql-sybase-login-params)
9239 (sql-informix-login-params, sql-ingres-login-params)
9240 (sql-ms-login-params, sql-postgres-login-params)
9241 (sql-interbase-login-params, sql-db2-login-params)
9242 (sql-linter-login-params): Use it.
9243 (sql-sqlite-login-params): Use it; Define "database" parameter as
9245 (sql-sqlite-program): Change to "sqlite3".
9246 (sql-comint-sqlite): Make sure database name is complete.
9247 (sql-for-each-login): New function.
9248 (sql-connect, sql-save-connection): Use it.
9249 (sql-get-login-ext): New function.
9250 (sql-get-login): Use it.
9251 (sql-make-alternate-buffer-name): Handle :file parameters.
9253 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9255 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9256 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9258 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9260 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9262 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9264 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9266 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9268 * net/tramp.el (tramp-get-ls-command)
9269 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9272 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9274 * progmodes/sql.el: Version 2.3.
9275 (sql-connection-alist): Change keys from symbols to strings;
9276 enhanced the widget definition.
9277 (sql-mode-menu): Add submenu to select connections.
9278 (sql-interactive-mode-menu): Add "Save Connection" item.
9279 (sql-add-product): Fix menu item.
9280 (sql-get-product-feature): Improved error handling.
9281 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9282 (sql-make-alternate-buffer-name): Simplified.
9283 (sql-product-interactive): Handle missing product.
9284 (sql-connect): Support string keys, minor improvements.
9285 (sql-save-connection): New function.
9286 (sql-connection-menu-filter): New function.
9288 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9290 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9291 (tramp-open-connection-setup-interactive-shell):
9292 Apply workaround for IRIX64 bug. Move argument of last
9293 `tramp-send-command' where it belongs to.
9295 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9297 * net/tramp.el (tramp-perl-file-attributes)
9298 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9299 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9300 front of `login-args'.
9302 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9304 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9305 Set `show-trailing-whitespace' to nil.
9306 (display-time-world-display): Simplify.
9308 2010-07-18 Alan Mackenzie <acm@muc.de>
9310 Enhance `c-file-style' in file/directory local variables.
9311 * progmodes/cc-mode.el (c-count-cfss): New function.
9312 (c-before-hack-hook): Call `c-set-style' differently according to
9313 whether c-file-style was set in file or directory local
9316 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9318 * progmodes/sql.el: Version 2.2.
9319 (sql-product, sql-user, sql-database, sql-server, sql-port):
9320 Use defcustom :safe keyword rather than putting safe-local-variable
9322 (sql-password): Use defcustom :risky keyword rather than putting
9323 risky-local-variable property.
9324 (sql-oracle-login-params, sql-sqlite-login-params)
9325 (sql-solid-login-params, sql-sybase-login-params)
9326 (sql-informix-login-params, sql-ingres-login-params)
9327 (sql-ms-login-params, sql-postgres-login-params)
9328 (sql-interbase-login-params, sql-db2-login-params)
9329 (sql-linter-login-params): Add `port' option.
9330 (sql-get-product-feature): Add NO-INDIRECT parameter.
9331 (sql-comint-oracle, sql-comint-sybase)
9332 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9333 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9334 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9335 (sql-comint-linter): Rename sql-connect-* functions to
9337 (sql-product-alist, sql-mode-menu): Rename as above and
9338 :sqli-connect-func to :sqli-comint-func.
9339 (sql-connection): New variable.
9340 (sql-interactive-mode): Set it.
9341 (sql-connection-alist): New variable.
9342 (sql-connect): New function.
9343 (sql--alt-buffer-part, sql--alt-if-not-empty)
9344 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9346 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9348 * image-mode.el (image-bookmark-make-record): Do not set context
9349 in an image (Bug#6650).
9351 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9353 * simple.el (select-active-region): New function.
9354 (push-mark-command, set-mark, activate-mark)
9355 (handle-shift-selection): Use it.
9356 (deactivate-mark): Don't check for size of region.
9358 * mouse.el (mouse-drag-track): Use select-active-region.
9360 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9362 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9365 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9367 * term/x-win.el (x-select-enable-primary): Change default to nil.
9368 (x-select-enable-clipboard): Add :version keyword.
9370 * mouse.el (mouse-drag-copy-region):
9371 * simple.el (select-active-regions): Likewise.
9373 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9375 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9376 (vc-coding-system-for-diff): Use it to decide whether to inherit
9377 from the file the EOL format for reading the diffs of that file.
9380 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9382 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9383 unibyte, so compressed attachments are not compressed again.
9385 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9387 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9388 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9389 (tramp-find-shell): Simplify setting connection property.
9390 (tramp-get-ls-command): Make test for "--color=never" stronger.
9392 2010-07-15 Simon South <ssouth@member.fsf.org>
9394 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9395 blocks within record declarations (i.e. variant parts) correctly.
9397 2010-07-15 Simon South <ssouth@member.fsf.org>
9399 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9400 over literal tokens when parsing so newlines aren't "absorbed" by
9401 single-line comments. Corrects the indentation of case blocks
9402 that have a comment on the first line.
9404 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9406 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9407 by Drew Adams (Bug#5504).
9409 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9411 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9412 now that Unicode is used (Bug#6594).
9414 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9416 * term/x-win.el (x-select-enable-clipboard): Default to t.
9417 (x-initialize-window-system): Don't overwrite Paste menu item.
9419 * simple.el (select-active-regions): Default to t.
9420 (push-mark-command): Don't overwrite primary with empty string.
9422 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9423 (mouse-drag-copy-region): Default to nil.
9425 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9426 Cut/Copy/Paste menu bar items.
9428 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9430 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9431 Patch applied by Karl Fogel.
9433 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9434 and `bookmark-current-buffer' if they have been already set in
9435 another buffer (e.g gnus-art).
9437 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9438 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9440 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9442 * bookmark.el (bookmark-make-record-default): Allow unneeded
9443 information to be omitted from the record.
9445 Adjust declarations and calls:
9447 * info.el (bookmark-make-record-default): Adjust declaration.
9448 (Info-bookmark-make-record): Adjust call.
9450 * woman.el (bookmark-make-record-default): Adjust declaration.
9451 (woman-bookmark-make-record): Adjust call.
9453 * man.el (bookmark-make-record-default): Adjust declaration.
9454 (Man-bookmark-make-record): Adjust call.
9456 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9458 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9460 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9462 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9463 This is also from Thierry Volpiatto's patch in bug #6444. However,
9464 because it was extraneous to the functional change in that patch,
9465 and causes a re-indendation, I am committing it separately.
9467 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9469 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9470 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9471 Patch applied by Karl Fogel (Bug#6444).
9473 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9475 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9477 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9479 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9480 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9481 (ns-alternatives-map): Change S-tab binding to backtab
9484 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9487 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9489 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9492 * language/tv-util.el (tai-viet-re): Remove format.
9494 2010-07-12 Kenichi Handa <handa@m17n.org>
9496 * language/hebrew.el: Remove no-byte-compile declaration.
9497 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9498 composition-function-table for 3-character looking back.
9499 (hebrew-font-get-precomposed): New function.
9500 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9502 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9504 * mouse.el (mouse-drag-track): Handle select-active-regions
9507 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9509 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9510 empty argument to gvfs-copy.
9512 2010-07-10 Glenn Morris <rgm@gnu.org>
9514 * calendar/calendar.el (calendar-week-end-day): New function.
9515 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9516 Respect calendar-week-start-day. (Bug#6606)
9517 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9518 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9519 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9520 respect calendar-week-start-day.
9522 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9524 * simple.el (use-region-p): Doc fix (Bug#6607).
9526 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9528 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9529 Add regexps for cucumber and ruby.
9531 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9533 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9534 (epa-file-insert-file-contents): Hack to prevent
9535 find-file from opening empty buffer when decryption failed
9538 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9540 * textmodes/ispell.el (ispell-alternate-dictionary):
9541 Use file-readable-p.
9542 Return nil if no word-list is found at default locations.
9543 (ispell-complete-word-dict): Default to nil.
9544 (ispell-command-loop): Use 'word-list' when using lookup-words.
9545 (lookup-words): Use ispell-complete-word-dict or
9546 ispell-alternate-dictionary. Check for word-list availability
9547 and handle errors if needed with better messages (Bug#6539).
9548 (ispell-complete-word): Use ispell-complete-word-dict or
9549 ispell-alternate-dictionary.
9551 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9553 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9554 builtins (BufferError, BytesWarning, WindowsError; callables
9555 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9557 2010-07-07 Glenn Morris <rgm@gnu.org>
9559 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9560 (zone-shift-left): Ignore intangibility, and any errors from
9562 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9563 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9564 deleting, and copying text properties.
9565 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9566 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9567 to point-max is hard.
9568 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9569 (zone-fill-out-screen): Ignore intangibility.
9571 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9573 * menu-bar.el (menu-bar-mode):
9574 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9577 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9578 word/line selection (Bug#6565).
9580 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9582 * net/dbus.el (dbus-send-signal): Declare function.
9584 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9586 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9587 (dbus-register-property): New optional argument EMITS-SIGNAL.
9588 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9590 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9592 * mouse.el (mouse-drag-overlay): Variable deleted.
9593 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9594 (mouse--remap-link-click-p): New function.
9595 (mouse-drag-track): Handle dragging by using temporary Transient
9596 Mark mode, instead of a special overlay.
9597 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9600 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9603 2010-07-02 Juri Linkov <juri@jurta.org>
9605 * autoinsert.el (auto-insert-alist): Fix readability
9606 by using dotted pair notation for lambda.
9608 2010-07-02 Juri Linkov <juri@jurta.org>
9610 * faces.el (read-face-name): Rename arg `string-describing-default'
9611 to `default'. Doc fix. Display the default value in quotes
9612 in the prompt. With empty input, return the `default' arg,
9613 unless the default value is a string (in which case return nil).
9614 (describe-face): Replace the string `default' arg of `read-face-name'
9615 with the symbol `default'.
9617 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9619 * emulation/viper-cmd.el (viper-delete-backward-char)
9620 (viper-del-backward-char-in-insert)
9621 (viper-del-backward-char-in-replace, viper-change)
9622 (viper-backward-indent): Replace delete-backward-char with
9623 delete-char (Bug#6552).
9625 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9627 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9629 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9631 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9632 argument passed to frame-creation-function (Bug#5378).
9634 * faces.el (x-handle-named-frame-geometry)
9635 (x-handle-reverse-video, x-create-frame-with-faces)
9636 (face-set-after-frame-default, tty-create-frame-with-faces):
9637 Don't separately consult default-frame-alist. It is now passed as the
9640 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9642 * startup.el (command-line): Don't call tool-bar-setup in a
9645 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9647 * ruler-mode.el (ruler--save-header-line-format): New fun.
9648 (ruler-mode): Use it as a setter function, so as not to overwrite
9649 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9651 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9653 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9654 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9655 (vc-log-outgoing): Use it.
9656 (vc-diff-internal): Set diff-vc-backend.
9658 * vc/diff-mode.el (diff-vc-backend): New var.
9660 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9662 * dynamic-setting.el (font-setting-change-default-font):
9663 Remove call to message.
9665 2010-06-28 Kenichi Handa <handa@m17n.org>
9667 * international/quail.el (quail-insert-kbd-layout): Fix the
9668 showing of untranslated characters.
9670 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9672 * simple.el (delete-active-region): New option.
9673 (delete-backward-char): Implement in Lisp.
9674 (delete-forward-char): New command.
9676 * mouse.el (mouse-region-delete-keys): Delete.
9677 (mouse-show-mark): Simplify.
9679 * bindings.el (global-map): Bind delete and DEL, the former to
9680 delete-forward-char.
9682 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9684 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9685 (ruby-mode): Bind indent-line-function (Bug#5119).
9687 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9689 * startup.el (command-line): Recognize "0" X resource value.
9691 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9693 * startup.el (command-line): Use X resources to set the value of
9694 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9696 * menu-bar.el (menu-bar-mode):
9697 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9698 Set init-value to t.
9700 * frame.el (frame-notice-user-settings): Don't change
9701 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9702 vice versa (Bug#2249).
9704 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9706 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9708 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9710 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9711 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9713 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9714 default directories are expanded (Bug#6143).
9716 2010-06-24 Juri Linkov <juri@jurta.org>
9718 * minibuffer.el (completions-format): Change default from nil to
9719 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9721 2010-06-24 Juri Linkov <juri@jurta.org>
9723 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9724 buffer-locally to lambda that re-runs the vc diff command.
9727 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9729 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9730 echo area is in use (Bug#3412).
9732 2010-06-22 Glenn Morris <rgm@gnu.org>
9734 * textmodes/texinfmt.el (texinfo-format-region)
9735 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9736 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9737 (texinfo-format-option, texinfo-noindent):
9738 Use line-beginning-position and line-end-position.
9740 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9741 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9742 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9745 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9747 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9748 forward-line fallout.
9750 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9752 * mouse.el (mouse-appearance-menu): Add docstring.
9754 * help.el (describe-key): Print up-event using key-description.
9756 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9758 * net/zeroconf.el (zeroconf-resolve-service)
9759 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9760 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9762 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9764 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9766 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9768 Avoid displaying files with a nil state in vc-dir.
9769 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9770 cases that cause insertion.
9771 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9774 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9776 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9778 2010-06-29 Leo <sdl.web@gmail.com>
9780 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9782 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9784 * generic-x.el (bat-generic-mode): Fix regexp for command line
9785 switches (Bug#5719).
9787 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9789 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9790 of nconc to avoid pure storage error (Bug#6239).
9792 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9794 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9795 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9796 bindings of bookmark-automatically-show-annotations (Bug#6515).
9798 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9800 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9801 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9803 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9805 * comint.el (make-comint, make-comint-in-buffer): Mention return
9806 value in the docstrings. (Bug#6498)
9808 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9810 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9811 since it is not present when using some non-default switches.
9813 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9815 * simple.el (compose-mail): Fix doc string to refer to
9816 `compose-mail-user-agent-warnings', instead of to the
9817 nonexistent `compose-mail-check-user-agent'.
9819 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9821 Fix an indentation bug:
9823 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9824 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9827 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9828 (c-clear->-pair-props-if-match-before): now return t when they've
9829 cleared properties, nil otherwise.
9830 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9831 by taking account of the existing value.
9833 * progmodes/cc-defs.el
9834 (c-clear-char-property-with-value-function): Fix this to clear the
9835 property rather than overwriting it with nil.
9837 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9839 * emacs-lisp/package.el (package-print-package): Add link to
9840 package description via describe-package.
9841 (describe-package-1): List package requirements. Add button to
9842 perform installation.
9843 (package-menu-describe-package): New command.
9845 * help-mode.el (help-package): New button type.
9847 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9849 * emacs-lisp/package.el: Move package-list-packages binding to
9851 (describe-package, describe-package-1, package--dir): New funs.
9852 (package-activate-1): Use package--dir.
9854 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9856 * help-mode.el (help-package-def): New button type.
9858 * menu-bar.el: Move package-list-packages binding here from
9861 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9863 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9865 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9867 * emacs-lisp/edebug.el (edebug-read-list):
9868 Phase out old-style backquotes.
9870 2010-06-17 Juri Linkov <juri@jurta.org>
9872 * help-mode.el (help-mode): Set buffer-local variable
9873 revert-buffer-function to help-mode-revert-buffer.
9874 (help-mode-revert-buffer): New function.
9876 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9877 before popping to "*info*" (like in other Info functions).
9878 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9879 old-history-forward. Pop to old-buffer-name or "*info*" to
9880 recreate the killed buffer. Set Info-history-forward from
9881 old-history-forward.
9882 (Info-breadcrumbs-depth): Add :group and :version.
9884 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9886 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9888 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9890 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9891 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9893 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9895 * emacs-lisp/package.el (package-menu-mode-map):
9896 Move initialization into declaration.
9898 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9900 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9902 * emacs-lisp/package.el (package-archive-base): Point to
9904 (package-enable, package-load-list): New defcustoms.
9905 (package-user-dir, package-directory-list): Turn into defcustoms.
9906 Don't include package-user-dir in package-directory-list.
9907 (package--builtins-base): Don't include Emacs as a "package".
9908 (package-subdirectory-regexp): New var.
9909 (package-load-all-descriptors, package-compute-transaction)
9910 (package-download-transaction): Obey package-load-list.
9911 (package-activate-1): Rename from package-do-activate.
9912 (package-list-packages-internal): Check package-load-list.
9913 (package-load-descriptor, package-generate-autoloads)
9914 (package-unpack, package-unpack-single)
9915 (package--read-archive-file, package-delete):
9916 Use expand-file-name.
9918 * emacs-lisp/package-x.el: New file. Package uploading
9919 functionality split out from package.el.
9921 * startup.el (command-line): Load packages after reading init file.
9923 2010-06-17 Tom Tromey <tromey@redhat.com>
9925 * emacs-lisp/package.el: New file.
9927 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9929 Fix vc-annotate for renamed files when using Git.
9930 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9931 ls-files. Doe not pass the object as a file name to cat-file, it
9933 (vc-git-annotate-command): Pass the file name using -- to avoid
9934 ambiguity with the revision.
9935 (vc-git-previous-revision): Pass a relative file name.
9937 2010-06-22 Glenn Morris <rgm@gnu.org>
9939 * progmodes/js.el (js-mode-map): Use standard capitalization and
9940 ellipses for menu entries.
9942 * wid-edit.el (widget-complete): Doc fix.
9944 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9946 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9948 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9950 Fix annotating other revisions for renamed files in vc-annotate.
9951 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9952 VC backend. Use it when non-nil.
9953 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9956 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9957 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9958 Do not pass the file name to the 'previous-revision call when we
9959 don't want a file diff. (Bug#6489)
9961 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9963 Fix finding revisions for renamed files in vc-annotate.
9964 * vc/vc.el (vc-find-revision): Add an optional argument for
9965 the VC backend. Use it when non-nil.
9966 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9967 backend to vc-find-revision. (Bug#6487)
9969 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9971 Fix reading file names in Git annotate buffers.
9972 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9973 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9975 2010-06-20 Alan Mackenzie <acm@muc.de>
9977 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9978 in file local variables, set it first.
9980 2010-06-19 Glenn Morris <rgm@gnu.org>
9982 * descr-text.el (describe-char-unicode-data): Insert separating
9983 space when needed. (Bug#6422)
9985 * progmodes/idlwave.el (idlwave-action-and-binding):
9986 Fix typo in 2009-12-03 change. (Bug#6450)
9988 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9991 handling for `lambda' (misunderstanding).
9993 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9995 * calc/calc-poly.el (math-accum-factors): Make sure that
9996 constants aren't distributed after they are factored out.
9998 2010-06-16 Juri Linkov <juri@jurta.org>
10000 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10001 `list-colors-print'. (Bug#6332)
10003 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10005 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10007 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10008 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10010 * font-lock.el (font-lock-major-mode): Rename from
10011 font-lock-mode-major-mode to distinguish it from
10012 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10013 (font-lock-set-defaults):
10014 * font-core.el (font-lock-default-function): Adjust users.
10015 (font-lock-mode): Don't set it at all.
10017 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10019 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10021 2010-06-16 Glenn Morris <rgm@gnu.org>
10023 * calendar/appt.el (appt-time-msg-list): Doc fix.
10024 (appt-check): Let-bind appt-warn-time.
10025 (appt-add): Make the 3rd argument optional.
10026 Simplify argument names. Doc fix. Check for integer WARNTIME.
10027 Only add WARNTIME to the output list if non-nil.
10029 2010-06-16 Ivan Kanis <apple@kanis.eu>
10031 * calendar/appt.el (appt-check): Let the 3rd element of
10032 appt-time-msg-list specify the warning time.
10033 (appt-add): Add new argument with the warning time. (Bug#5176)
10035 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10037 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10038 older than version 1.6. (Bug#6361)
10040 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10042 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10043 used by cl-do-arglist. (Bug#6408)
10045 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10047 * textmodes/ispell.el (ispell-dictionary-base-alist):
10048 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10049 Suggested by Rolando Pereira (bug#6434).
10051 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10053 * facemenu.el (list-colors-sort): Doc fix.
10055 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10057 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10059 2010-06-14 Juri Linkov <juri@jurta.org>
10061 Add sort option `list-colors-sort'. (Bug#6332)
10062 * facemenu.el (color-rgb-to-hsv): New function.
10063 (list-colors-sort): New defcustom.
10064 (list-colors-sort-key): New function.
10065 (list-colors-display): Doc fix. Sort list according to the option
10066 `list-colors-sort'.
10067 (list-colors-print): Add HSV values to `help-echo' property of
10070 2010-06-14 Juri Linkov <juri@jurta.org>
10072 * compare-w.el: Move to the "vc" subdirectory.
10074 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10076 * image-mode.el (image-mode-map): Remap left-char and right-char.
10078 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10080 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10082 * term/common-win.el (x-colors): Add all the color names defined
10083 in rgb.txt (Bug#6332).
10085 * facemenu.el (list-colors-print): Don't print extra names if it
10086 will overflow the window width.
10088 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10091 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10093 * files.el (make-directory): Doc fix (bug#6396).
10095 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10097 * net/tramp.el (tramp-remote-process-environment): Protect version
10098 string by apostroph.
10099 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10101 (tramp-file-name-for-operation): Add `call-process-region'.
10102 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10104 * net/tramp-compat.el (top): Do not autoload
10105 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10106 only when `start-file-process' is not bound.
10107 (tramp-advice-file-expand-wildcards): Do not use
10108 `tramp-handle-file-remote-p'.
10109 (tramp-compat-make-temp-file): Handle the case, that
10110 `make-temp-file' has no third argument EXTENSION.
10112 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10114 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10116 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10118 2010-06-11 Juri Linkov <juri@jurta.org>
10120 * finder.el (finder-known-keywords): Add keyword "vc"
10121 for version control.
10123 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10124 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10125 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10126 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10128 2010-06-11 Juri Linkov <juri@jurta.org>
10130 Move version control related files to the "vc" subdirectory.
10131 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10132 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10133 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10134 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10135 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10136 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10137 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10138 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10139 Move files to the "vc" subdirectory.
10141 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10143 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10146 2010-06-11 Stephen Eglen <stephen@gnu.org>
10148 * shell.el: Bind `shell-resync-dirs' to M-RET.
10150 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10152 * notifications.el: Move file from lisp/net, because it is
10153 supposed to talk locally to the user.
10155 2010-06-10 Julien Danjou <julien@danjou.info>
10157 * net/notifications.el (notifications-on-action-signal)
10158 (notifications-on-closed-signal): Pass notification id as first
10159 argument to the callback functions. Add docstrings.
10160 (notifications-notify): Fix docstring.
10162 2010-06-10 Glenn Morris <rgm@gnu.org>
10164 * emacs-lisp/authors.el (authors-ignored-files)
10165 (authors-valid-file-names): Add some files.
10167 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10169 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10170 merge conflict, giving preference to the emacs-23 version of the code.
10172 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10174 * emacs-lisp/advice.el (ad-compile-function):
10175 Define warning-suppress-types before we let-bind it (bug#6275).
10177 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10178 declare it, make it buffer-local and permanent-local (bug#6324).
10179 (vc-resynch-window): Adjust name.
10180 * vc-hooks.el (vc-find-file-hook): Adjust name.
10182 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10184 * net/notifications.el (notifications-notify): Fix docstring.
10186 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10188 Update to Unicode 6.0.0 beta.
10189 * international/charprop.el: Update copyright.
10190 * international/mule-cmds.el (ucs-names): Update character ranges.
10191 * international/uni-bidi.el:
10192 * international/uni-category.el:
10193 * international/uni-combining.el:
10194 * international/uni-comment.el:
10195 * international/uni-decimal.el:
10196 * international/uni-decomposition.el:
10197 * international/uni-digit.el:
10198 * international/uni-lowercase.el:
10199 * international/uni-mirrored.el:
10200 * international/uni-name.el:
10201 * international/uni-numeric.el:
10202 * international/uni-old-name.el:
10203 * international/uni-titlecase.el:
10204 * international/uni-uppercase.el: Regenerate.
10206 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10208 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10209 (smie-precs-precedence-table): Fix typo in docstring.
10211 * vc-mtn.el (log-edit-extract-headers): Declare function.
10213 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10215 * net/notifications.el (dbus-register-signal): Declare function.
10216 (notifications-notify): Fix typos and reflow docstring.
10218 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10220 Improve VC create/retrieve tag/branch.
10221 * vc.el (vc-create-tag): Do not read the directory name for VCs
10222 with repository revision granularity. Adjust the tag/branch
10223 prompt. Reset VC properties.
10224 (vc-retrieve-tag): Do not read the directory name for VCs
10225 with repository revision granularity. Reset VC properties.
10227 2010-06-09 Julien Danjou <julien@danjou.info>
10229 * net/notifications.el: New file.
10231 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10233 Add optional support for resetting VC properties.
10234 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10235 call vc-file-clearprops when true.
10236 (vc-resynch-buffer): Add new optional argument, pass it down.
10237 (vc-resynch-buffers-in-directory): Likewise.
10239 Improve support for special markup in the VC commit message.
10240 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10241 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10242 * vc-git.el (vc-git-checkin):
10243 * vc-bzr.el (vc-bzr-checkin): Likewise.
10245 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10247 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10248 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10250 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10252 * iimage.el: Remove images as soon as the underlying text is modified.
10253 (iimage-modification-hook): New function.
10254 (iimage-mode-buffer): Use it.
10256 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10258 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10259 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10260 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10261 (smie-indent-keyword): Add handling of open-paren keywords.
10262 (smie-indent-comment-continue): Don't assume comment-continue.
10264 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10266 * window.el (pop-to-buffer): Remove the conditional that
10267 compares new-window and old-window, so it will reselect
10268 the selected window unconditionally.
10269 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10271 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10273 * emacs-lisp/smie.el (smie-indent-offset-after)
10274 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10275 (smie-indent-after-keyword): Use them.
10276 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10277 (smie-indent-keyword): Tweak the black magic.
10278 (smie-indent-comment-continue): Strip comment-continue before use.
10279 (smie-indent-functions): Indent comments before keywords.
10281 2010-06-06 Juri Linkov <juri@jurta.org>
10283 * isearch.el (isearch-lazy-highlight-search): Fix looping
10284 by checking for empty match. This syncs this loop with the
10285 similar loop in `isearch-search'. (Bug#6362)
10287 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10289 * net/dbus.el (dbus-register-method): Declare function.
10290 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10291 (dbus-introspect): Doc fix.
10292 (dbus-event-bus-name, dbus-introspect-get-interface)
10293 (dbus-introspect-get-argument): Reflow docstrings.
10295 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10297 vc-log-incoming/vc-log-outgoing fixes for Git.
10298 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10299 incoming/outgoing logs.
10300 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10301 instead of vc-git-compute-remote.
10302 (vc-git-compute-remote): Remove.
10304 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10306 * term/common-win.el (x-colors): Add "dark green" and "dark
10307 turquoise" (Bug#6332).
10309 2010-06-04 Juri Linkov <juri@jurta.org>
10311 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10312 Instead of setting `replace' to t and replacing the same string
10313 with itself, don't do certain actions when
10314 kill-do-not-save-duplicates is non-nil and string is equal to car
10315 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10316 interprogram-paste strings to kill-ring, and don't push the input
10317 argument `string' to kill-ring.
10318 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10320 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10322 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10324 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10326 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10327 (tramp-gvfs-handler-mounted-unmounted)
10328 (tramp-gvfs-connection-mounted-p): Handle default-location.
10330 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10331 move files to trash.
10333 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10335 * international/mule-cmds.el (nonascii-insert-offset)
10336 (nonascii-translation-table): Add obsolescence information.
10338 * international/mule.el (make-translation-table-from-vector): Doc fix.
10340 2010-06-03 Glenn Morris <rgm@gnu.org>
10342 * desktop.el (desktop-clear-preserve-buffers):
10343 Add "*Warnings*" buffer. (Bug#6336)
10345 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10347 vc-log-incoming/vc-log-outgoing improvements for Git.
10348 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10350 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10352 Add bindings for vc-log-incoming and vc-log-outgoing.
10353 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10354 and vc-log-outgoing.
10355 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10356 and vc-log-outgoing.
10358 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10360 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10361 (rcirc-handler-366): Always sort nicknames.
10363 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10365 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10367 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10369 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10371 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10373 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10374 (rcirc-sort-nicknames-join): Avoid setq.
10376 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10378 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10379 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10380 (rcirc-handler-366): Use them.
10382 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10384 Split smie-indent-calculate into more manageable chunks.
10385 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10386 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10387 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10388 (smie-indent-exps): Extract from smie-indent-calculate.
10389 (smie-indent-functions): New var.
10390 (smie-indent-functions): Use them.
10392 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10394 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10395 (smie-indent-calculate): Simplify and cleanup.
10397 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10399 * net/tramp-gvfs.el (top): Require url-util.
10400 (tramp-gvfs-mount-point): Remove.
10401 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10403 (with-tramp-dbus-call-method): Format trace message.
10404 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10405 Implement backup call, when operation on local files fails.
10406 Use progress reporter. Flush properties of changed files.
10407 (tramp-gvfs-handle-make-directory): Make more traces.
10408 (tramp-gvfs-url-file-name): Hexify file name in url.
10409 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10410 into account for the resulting file name.
10411 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10412 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10413 (tramp-gvfs-handler-mounted-unmounted)
10414 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10415 attribute "default_location". Set "prefix" property.
10416 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10417 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10418 exists. Raise an error, if not (due to a corresponding answer
10419 "no" in interactive questions, for example).
10421 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10423 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10425 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10427 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10428 right-*. (Bug#6265)
10430 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10432 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10433 * vc-git.el (vc-git-compute-remote): New function.
10434 (vc-git-log-outgoing): Use it instead of hard coding a value.
10435 (vc-git-log-incoming): New function.
10437 Improve state updating for VC tag commands.
10438 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10439 to update the state of all buffers in the directory.
10441 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10443 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10446 `file-directory-p' to the filename part rather than to the whole text.
10448 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10452 2010-05-31 Drew Adams <drew.adams@oracle.com>
10454 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10456 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10458 * subr.el (momentary-string-display): Just use read-event to read
10459 the exit event (Bug#6238).
10461 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10463 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10465 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10467 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10468 Suggested by Eli Zaretskii <eliz@gnu.org>.
10470 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * minibuffer.el (completion-file-name-table): Don't return a boundary
10473 past the end of `string' (bug#6299).
10474 (completion--file-name-table): Delegate to completion-file-name-table
10475 for the `boundaries' case.
10477 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10479 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10482 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10483 `path-separator', but maintain compatibility with Emacs 20.2.
10485 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10487 * server.el (server-process-filter): Receive parent-id argument
10489 (server-create-window-system-frame): New arg. Pass parent-id as
10492 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10494 Bidi-sensitive word movement with arrow keys.
10495 * subr.el (right-arrow-command, left-arrow-command): Move to
10498 * bindings.el (right-char, left-char): Move from subr.el and
10499 rename from right-arrow-command and left-arrow-command.
10500 (right-word, left-word): New functions.
10501 (global-map) <right>: Bind to right-char.
10502 (global-map) <left>: Bind to left-char.
10503 (global-map) <C-right>: Bind to right-word.
10504 (global-map) <C-left>: Bind to left-word.
10506 * ls-lisp.el (ls-lisp-classify-file): New function.
10507 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10508 (ls-lisp-classify): Call ls-lisp-classify-file.
10509 (insert-directory): Remove blanks from switches.
10511 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10513 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10514 (ansi-color-drop-regexp): New constant.
10515 (ansi-color-apply, ansi-color-filter-region)
10516 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10517 (ansi-color-apply): Build string list before calling concat.
10519 2010-05-28 Juri Linkov <juri@jurta.org>
10521 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10522 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10525 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10527 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10528 to ignored backtrace functions.
10529 (with-progress-reporter): Expand docstring.
10530 (tramp-handle-delete-file): Implement TRASH argument.
10531 (tramp-get-remote-trash): New defun.
10533 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10535 * net/tramp-compat.el (tramp-compat-delete-file):
10536 Use `symbol-value' for backward compatibility.
10538 * net/tramp.el (tramp-handle-make-symbolic-link)
10539 (tramp-handle-load)
10540 (tramp-do-copy-or-rename-file-via-buffer)
10541 (tramp-do-copy-or-rename-file-directly)
10542 (tramp-do-copy-or-rename-file-out-of-band)
10543 (tramp-handle-process-file, tramp-handle-call-process-region)
10544 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10545 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10546 (tramp-delete-temp-file-function): Use `delete-file' instead
10547 of `tramp-compat-delete-file'.
10549 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10550 (tramp-fish-handle-make-symbolic-link)
10551 (tramp-fish-handle-process-file): Use `delete-file' instead
10552 of `tramp-compat-delete-file'.
10554 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10555 Use `delete-file' instead of `tramp-compat-delete-file'.
10557 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10558 `delete-file' instead of `tramp-compat-delete-file'.
10560 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10561 Use `delete-file' instead of `tramp-compat-delete-file'.
10563 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10564 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10565 (tramp-smb-handle-write-region): Use `delete-file' instead of
10566 `tramp-compat-delete-file'.
10567 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10569 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10571 * dired.el (dired-delete-file): New arg TRASH.
10572 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10573 (dired-do-flagged-delete, dired-do-delete): Use trash.
10575 * speedbar.el (speedbar-item-delete): Allow trashing.
10577 * files.el (delete-directory): New arg TRASH.
10579 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10580 (ange-ftp-rename-remote-to-remote)
10581 (ange-ftp-rename-local-to-remote)
10582 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10583 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10585 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10588 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10589 handle new TRASH arg of `delete-file'.
10591 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10592 (tramp-handle-make-symbolic-link, tramp-handle-load)
10593 (tramp-do-copy-or-rename-file-via-buffer)
10594 (tramp-do-copy-or-rename-file-directly)
10595 (tramp-do-copy-or-rename-file-out-of-band)
10596 (tramp-handle-process-file, tramp-handle-call-process-region)
10597 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10598 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10599 (tramp-delete-temp-file-function): Use null TRASH arg in
10600 tramp-compat-delete-file call.
10602 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10603 (tramp-fish-handle-delete-file)
10604 (tramp-fish-handle-make-symbolic-link)
10605 (tramp-fish-handle-process-file): Use null TRASH arg in
10606 `tramp-compat-delete-file' call.
10608 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10609 arg in `tramp-compat-delete-file' call.
10611 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10612 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10613 `tramp-compat-delete-file' call.
10615 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10616 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10617 `tramp-compat-delete-file' call.
10619 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10620 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10621 (tramp-smb-handle-write-region): Use null TRASH arg in
10622 tramp-compat-delete-file call.
10623 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10624 (tramp-smb-handle-delete-file): Rename arg.
10626 * diff.el (diff-sentinel):
10627 * epg.el (epg--make-temp-file, epg-decrypt-string)
10628 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10629 * jka-compr.el (jka-compr-partial-uncompress)
10630 (jka-compr-call-process, jka-compr-write-region):
10631 * server.el (server-sentinel): Remove optional arg from
10632 delete-file, reverting 2010-05-03 change.
10634 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10636 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10637 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10639 2010-05-27 Kenichi Handa <handa@m17n.org>
10641 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10642 element of GSTRING is nil.
10644 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10646 * emacs-lisp/smie.el (smie-forward-token-function)
10647 (smie-backward-token-function): New vars.
10648 (smie-backward-sexp, smie-forward-sexp)
10649 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10650 (smie-default-backward-token): Rename from smie-backward-token and
10652 (smie-default-forward-token): Rename from smie-forward-token and
10654 (smie-next-sexp): Handle nil results from next-token.
10655 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10657 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10659 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10660 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10662 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10664 * htmlfontify.el (hfy-face-resolve-face): New function.
10665 (hfy-face-to-style): Use it (Bug#6279).
10667 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10669 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10670 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10672 2010-05-26 Glenn Morris <rgm@gnu.org>
10674 * emulation/edt.el (edt-load-keys): Use locate-library.
10676 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10678 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10679 (log-edit-changelog-entries): Doc fix.
10680 (log-edit-changelog-insert-entries): Args changed.
10681 Rename relative filenames in ChangeLog entries. Delete tabs.
10682 (log-edit-insert-changelog-entries): Reorganize return value of
10683 `log-edit-changelog-entries' to pass filenames to
10684 log-edit-changelog-insert-entries.
10686 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10688 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10689 `image-dired-dired-insert-marked-thumbs' to
10690 `image-dired-dired-toggle-marked-thumbs'.
10692 * image-dired.el: Require cl when compiling.
10693 (image-dired-dired-toggle-marked-thumbs): Rename from
10694 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10695 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10696 to 'no-dir. Skip files whose names don't match
10697 `image-file-name-regexp'. When file has a thumbnail overlay,
10698 delete it. (Bug#5270)
10700 2010-05-25 Juri Linkov <juri@jurta.org>
10702 * image-mode.el (image-mode): Add image-after-revert-hook to
10704 (image-after-revert-hook): New function. (Bug#5669)
10706 2010-05-25 Juri Linkov <juri@jurta.org>
10708 * image.el (image-animated-p): When delay between animated images
10709 is 0, set it to 10 (0.1 sec). (Bug#6258)
10711 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10713 * net/tramp.el (tramp-handle-insert-directory): Don't use
10714 `forward-word', its default syntax could be changed.
10716 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10718 * net/tramp.el (tramp-progress-reporter-update): New defun.
10719 (with-progress-reporter): Use it.
10720 (tramp-process-actions):
10721 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10722 Preserve current message, in order to let progress reporter continue
10723 afterwards. (Bug#6257)
10725 2010-05-25 Glenn Morris <rgm@gnu.org>
10727 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10730 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10732 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10733 (rcirc-default-full-name): Change to "unknown".
10734 (rcirc-user-name-history): Add variable.
10736 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10737 Jonathan Rockway <jon@jrock.us>
10739 * net/rcirc.el (rcirc-server-alist): Add :pass.
10740 (rcirc): When prompting for connection parameters, also prompt for
10741 username and password.
10742 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10743 value to server when connecting.
10745 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10748 (smie-merge-prec2s): Pass the tables as separate args.
10749 (smie-bnf-precedence-table): Adjust call accordingly.
10750 (smie-prec2-levels): Set levels at the end.
10752 Replace Lisp calls to delete-backward-char by delete-char.
10753 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10754 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10755 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10756 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10757 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10758 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10759 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10760 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10761 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10762 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10763 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10764 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10765 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10766 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10767 delete-backward-char by calls to delete-char.
10769 2010-05-25 Kenichi Handa <handa@m17n.org>
10771 * language/hebrew.el (hebrew-shape-gstring): New function.
10772 Register it in composition-function-table for all Hebrew combining
10775 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10777 * epa.el (epa--select-keys): Don't explicitly delete the window since
10778 that can fail (e.g. sole window in frame). Use dedication instead.
10780 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10782 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10784 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10786 * image.el (image-refresh): Define as an alias for image-flush.
10788 * image-mode.el (image-toggle-display-image): Caller changed.
10790 2010-05-21 Juri Linkov <juri@jurta.org>
10792 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10793 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10794 whitespace, call wildcard-to-regexp on substrings and concat them
10795 with "\\|". (Bug#6114)
10797 2010-05-21 Alan Mackenzie <acm@muc.de>
10799 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10800 Replace parameter `here' with `here-' and `here-plus', which sandwich
10801 any pertinent CPP construct.
10802 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10803 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10804 CPP construct from taking part in the scanning.
10806 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10808 * net/tramp.el (tramp-do-copy-or-rename-file)
10809 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10810 Tune `with-progress-reporter' messages.
10811 (tramp-handle-vc-registered):
10812 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10813 (tramp-fish-handle-insert-file-contents)
10814 (tramp-fish-maybe-open-connection):
10815 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10816 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10817 (tramp-imap-handle-insert-file-contents)
10818 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10820 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10822 * add-log.el (change-log-font-lock-keywords):
10823 Highlight all authors in multi-author entries.
10825 * smerge-mode.el (smerge-refine-ignore-whitespace)
10826 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10827 Fix typos in docstrings.
10828 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10830 2010-05-21 Glenn Morris <rgm@gnu.org>
10832 * progmodes/fortran.el (fortran-mode):
10833 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10835 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10836 having a relative path in src/Makefile.in.
10838 2010-05-20 Kevin Ryde <user42@zip.com.au>
10840 * help-mode.el (help-make-xrefs): For Info node links turn
10841 newlines into spaces. Link node names with newlines are matched
10842 by help-xref-info-regexp and buttonized, this change ensures they
10843 can be followed successfully with RET. (Bug#6206)
10845 2010-05-20 Juri Linkov <juri@jurta.org>
10847 * locate.el (locate): Use pop-to-buffer instead of
10848 switch-to-buffer-other-window. (Bug#6204)
10850 2010-05-20 Juri Linkov <juri@jurta.org>
10852 * replace.el (replace-highlight): Fix lazy-highlighting
10853 for `M-s w str M-% str RET'.
10855 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10857 * isearch.el (isearch-yank-word-or-char): Pull next subword
10858 when `subword-mode' is activated. (Bug#6220)
10860 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10862 * isearch.el (isearch-update-post-hook): New hook.
10863 (isearch-update): Use the new hook. (Bug#6225)
10865 2010-05-20 Juri Linkov <juri@jurta.org>
10867 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10868 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10871 2010-05-20 Juri Linkov <juri@jurta.org>
10873 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10876 2010-05-20 Juri Linkov <juri@jurta.org>
10878 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10879 FILE-NAME to read from the minibuffer when called interactively
10880 with prefix argument instead of using buffer-file-name.
10881 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10883 * dired.el: Update autoloads.
10885 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10887 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10888 nxml-finish-element, for consistency with SGML mode.
10890 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10891 octave-close-block.
10893 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10895 * composite.el: Require cl when compiling.
10896 (reference-point-alist, compose-gstring-for-graphic)
10897 (compose-gstring-for-terminal): Fix typos in docstrings.
10899 2010-05-19 Juri Linkov <juri@jurta.org>
10901 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10902 set-window-parameter.
10904 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10906 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10908 (tramp-maybe-open-connection): Use it.
10910 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10912 * simple.el (move-end-of-line): Make sure we are at line beginning
10913 before backing up to end of previous line.
10915 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10917 * password-cache.el (password-cache-remove): Fix docstring.
10919 * net/secrets.el: Autoload the widget functions.
10920 (secrets-search-items, secrets-create-item)
10921 (secrets-get-attributes, secrets-expand-item): Attributes will be
10922 stored on the password database without leading ":", as all other
10923 clients do as well.
10924 (secrets-mode): Fix docstring.
10925 (secrets-show-secrets): Provide it as autoloaded command only when
10926 D-Bus support is available. Check existence of Secret Service API.
10928 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10930 * indent.el (indent-region): Deactivate region (bug#6200).
10932 2010-05-19 Glenn Morris <rgm@gnu.org>
10934 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10936 2010-05-19 Kenichi Handa <handa@m17n.org>
10938 * composite.el: Register compose-gstring-for-graphic in
10939 composition-function-table only for combining characters (Mn, Mc, Me).
10941 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10943 * calc/calc-trail.el (calc-trail-isearch-forward)
10944 (calc-trail-isearch-backward): Ensure that the new window
10945 point is set correctly.
10947 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * subr.el (read-quoted-char): Resolve modifiers after key
10950 remapping (bug#6212).
10952 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10954 Add visualization code for secrets.
10955 * net/secrets.el (secrets-mode): New major mode.
10956 (secrets-show-secrets, secrets-show-collections)
10957 (secrets-expand-collection, secrets-expand-item)
10958 (secrets-tree-widget-after-toggle-function)
10959 (secrets-tree-widget-show-password): New defuns.
10961 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10963 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10964 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10965 handled in smie-next-sexp.
10966 (smie-indent-calculate): Provide a starting indentation (so the
10967 recursion is well-founded ;-).
10969 Fix handling of non-associative equal levels.
10970 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10971 when it's not needed.
10972 (smie-op-left, smie-op-right): New functions.
10973 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10974 Better handle equal levels to distinguish the associative case from
10975 the "multi-keyword construct" case.
10976 (smie-backward-sexp, smie-forward-sexp): Use it.
10978 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10980 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10982 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10983 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10985 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10987 Provide a simple generic indentation engine and use it for Prolog.
10988 * emacs-lisp/smie.el: New file.
10989 * progmodes/prolog.el (prolog-smie-op-levels)
10990 (prolog-smie-indent-rules): New var.
10991 (prolog-mode-variables): Use them to configure SMIE.
10992 (prolog-indent-line, prolog-indent-level): Remove.
10994 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10996 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10997 order before computing the averages.
10999 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11001 * calc/calc-vec.el (calc-histogram):
11002 (calcFunc-histogram): Allow vectors as inputs.
11003 (math-vector-avg): New function.
11005 * calc/calc-ext.el (math-group-float): Have the number of digits
11006 being grouped depend on the radix (Bug#6189).
11008 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11010 * version.el (emacs-copyright, emacs-version): Don't define here,
11011 now that emacs.c defines it.
11013 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11015 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11016 "Describe Language Environment" menu item.
11018 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11020 Bidi-sensitive movement with arrow keys.
11021 * subr.el (right-arrow-command, left-arrow-command): New functions.
11023 * bindings.el (global-map): Bind them to right and left arrow keys.
11025 Don't override standard definition of convert-standard-filename.
11026 * files.el (convert-standard-filename):
11027 Call w32-convert-standard-filename and dos-convert-standard-filename on
11028 the corresponding systems.
11030 * w32-fns.el (w32-convert-standard-filename): Rename from
11031 convert-standard-filename. Doc fix.
11033 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11034 (convert-standard-filename): Don't defalias.
11035 (register-name-alist, make-register, register-value)
11036 (set-register-value, intdos): Obsolete aliases for the
11037 corresponding dos-* functions and variables.
11038 (dos-intdos): Add a doc string.
11040 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11042 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11043 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11044 (math-compose-tex-func):
11045 * calc/calccomp.el (math-compose-expr):
11046 * calc/calc-ext.el (math-format-flat-expr-fancy):
11047 * calc/calc-store.el (calc-read-var-name):
11048 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11050 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11051 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11052 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11053 (math-standard-units): Add units.
11055 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11057 * progmodes/asm-mode.el (asm-mode):
11058 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11060 * pcomplete.el (pcomplete-completions-at-point): New function,
11061 extracted from pcomplete-std-complete.
11062 (pcomplete-std-complete): Use it.
11064 2010-05-15 Glenn Morris <rgm@gnu.org>
11066 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11067 Remove references to CVS, RCS and Old directories.
11069 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11071 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11074 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11076 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11077 (sh-mode-syntax-table): Give it a default value instead.
11078 (sh-header-marker): Make buffer-local.
11079 (sh-mode): Move make-local-variable to the corresponding setq.
11080 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11081 Use complete-with-action.
11083 * simple.el (prog-mode): New (abstract) major mode.
11084 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11085 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11087 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11089 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11090 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11091 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11092 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11093 (sql-escape-newlines-filter, sql-input-sender)
11094 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11096 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11098 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11100 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11101 latex-open-block and C-c / to latex-close-block.
11103 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11104 and C-c C-e to sgml-close-tag.
11106 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11108 * net/tramp.el (with-progress-reporter): Create reporter object
11109 only when the message would be displayed. Handle nested calls.
11110 (tramp-handle-load, tramp-handle-file-local-copy)
11111 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11112 (tramp-maybe-send-script, tramp-find-shell):
11113 Use `with-progress-reporter'.
11114 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11117 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11118 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11119 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11120 Use `with-progress-reporter'.
11122 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11124 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11125 process everytime when spellchecking from the minibuffer (bug#6143).
11127 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11129 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11131 * dos-fns.el: Add "dos-" prefix for namespace control.
11132 (convert-standard-filename): Define as alias for
11133 dos-convert-standard-filename but only if applicable.
11135 2010-05-12 Alan Mackenzie <acm@muc.de>
11137 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11138 Push the mark at the start of these functions when appropriate.
11140 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11142 * minibuffer.el (completion-cycle-threshold): New custom var.
11143 (completion--do-completion): Use it.
11144 (minibuffer-complete): Use cycling if appropriate.
11146 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11148 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11149 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11151 2010-05-11 Juri Linkov <juri@jurta.org>
11153 * scroll-all.el (scroll-all-check-to-scroll):
11154 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11156 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11158 * iimage.el (iimage-mode-map): Move initialization into declaration.
11159 (iimage-mode-buffer): Use with-silent-modifications.
11160 Simplify calling convention. Adjust callers.
11161 (iimage-mode): Don't run hook redundantly.
11163 * minibuffer.el (completion-pcm--pattern->regex):
11164 Fix last change (bug#6160).
11166 2010-05-10 Juri Linkov <juri@jurta.org>
11168 Remove nodes visited during Isearch from the Info history.
11169 * info.el (Info-isearch-initial-history)
11170 (Info-isearch-initial-history-list): New variables.
11171 (Info-isearch-start): Record initial values of
11172 Info-isearch-initial-history and Info-isearch-initial-history-list.
11173 Add Info-isearch-end to isearch-mode-end-hook.
11174 (Info-isearch-end): New function.
11176 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11178 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11179 format string, in order to work around a bug in pdksh.
11180 Reported by Gilles Pion <gpion@lfdj.com>.
11181 (tramp-handle-verify-visited-file-modtime): Do not send a command
11182 when the connection is not established.
11183 (tramp-handle-set-file-times): Simplify the check for utc.
11185 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11187 Fix use of `filter-buffer-substring' (rework previous change).
11188 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11189 (cua-repeat-replace-region):
11190 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11191 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11192 (cua-cut-region-to-global-mark): Use it.
11194 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11196 * progmodes/sql.el: Version 2.1.
11197 (sql-product-alist): Redesign structure of product info.
11198 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11199 (sql-port, sql-port-history): New variables.
11200 (sql-interactive-product): New variable.
11201 (sql-send-terminator): New variable.
11202 (sql-imenu-generic-expression): Add "Types" imenu entry.
11203 (sql-oracle-login-params, sql-sqlite-login-params)
11204 (sql-mysql-login-params, sql-solid-login-params)
11205 (sql-sybase-login-params, sql-informix-login-params)
11206 (sql-ingres-login-params, sql-ms-login-params)
11207 (sql-postgres-login-params, sql-interbase-login-params)
11208 (sql-db2-login-params, sql-linter-login-params)
11209 (sql-oracle-scan-on): New variables.
11210 (sql-mode-map): Add C-c C-i to start interactive mode.
11211 (sql-mode-menu): Update existing menu entries.
11212 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11213 (sql-mode-oracle-font-lock-keywords)
11214 (sql-mode-postgres-font-lock-keywords)
11215 (sql-mode-ms-font-lock-keywords)
11216 (sql-mode-sybase-font-lock-keywords)
11217 (sql-mode-informix-font-lock-keywords)
11218 (sql-mode-interbase-font-lock-keywords)
11219 (sql-mode-ingres-font-lock-keywords)
11220 (sql-mode-solid-font-lock-keywords)
11221 (sql-mode-mysql-font-lock-keywords)
11222 (sql-mode-sqlite-font-lock-keywords)
11223 (sql-mode-db2-font-lock-keywords)
11224 (sql-mode-linter-font-lock-keywords): Update initialization to
11225 reduce run-time complexity.
11226 (sql-add-product, sql-del-product): New functions.
11227 (sql-set-product-feature, sql-get-product-feature): New functions.
11228 (sql-product-font-lock): Update product API.
11229 (sql-add-product-keywords): New function.
11230 (sql-highlight-product): Update product API.
11231 (sql-help-list-products): New function.
11232 (sql-help): Dynamically lists free and non-free products.
11233 (sql-get-login): Correct bug in handling history and added
11235 (sql-copy-column): Copy without properties.
11236 (sqli-input-sender): Apply filters to SQLi input.
11237 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11238 Implement as a filter.
11239 (sql-escape-newlines-filter): Implement as a filter.
11240 (sql-remove-tabs-filter): New function.
11241 (sql-send-magic-terminator): New function.
11242 (sql-send-string): Implement magic terminator.
11243 (sql-send-region): Use `sql-send-string'.
11244 (sql-interactive-mode): Use product API.
11245 (sql-product-interactive): Use product API.
11246 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11247 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11248 (sql-db2, sql-linter): Use `sql-product-interactive'.
11249 (sql-connect): New function.
11250 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11251 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11252 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11253 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11256 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11258 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11259 New custom variable.
11260 (completion-pcm--string->pattern): Use it.
11261 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11262 Make it handle any symbol as `any'.
11263 (completion-pcm--merge-completions): Extract common suffix for the new
11264 `prefix' symbol as well.
11265 (completion-substring--all-completions): Use the new `prefix' symbol.
11267 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11269 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11271 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11272 (tramp-compat-funcall): New defmacro.
11273 (tramp-compat-line-beginning-position)
11274 (tramp-compat-line-end-position)
11275 (tramp-compat-temporary-file-directory)
11276 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11277 (tramp-compat-copy-file, tramp-compat-copy-directory)
11278 (tramp-compat-delete-file, tramp-compat-delete-directory)
11279 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11280 * net/tramp.el (top, with-progress-reporter)
11281 (tramp-rfn-eshadow-setup-minibuffer)
11282 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11283 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11284 (tramp-completion-mode-p, tramp-check-for-regexp)
11285 (tramp-open-connection-setup-interactive-shell)
11286 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11287 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11288 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11289 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11290 (tramp-reporter-dump-variable, tramp-load-report-modules)
11291 (tramp-append-tramp-buffers)
11292 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11294 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11296 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11298 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11299 buffer-modtime. Adjust users.
11301 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11303 * international/mule.el (auto-coding-alist): Only purecopy
11304 car of each item, not the whole list (Bug#6083).
11306 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11308 * progmodes/js.el (js-mode): Make paragraph variables local before
11309 calling c-setup-paragraph-variables (Bug#6071).
11311 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11313 * composite.el (compose-region, reference-point-alist): Fix typos
11314 in the doc strings.
11316 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11318 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11319 gnuplot's "set" command.
11321 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11323 * abbrev.el (last-abbrev-text): Doc fix.
11324 (abbrev-prefix-mark): Don't escape parenthesis.
11326 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11328 * composite.el (find-composition): Doc fix.
11330 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11332 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11333 (sql-oracle-program, sql-sqlite-options)
11334 (sql-query-placeholders-and-send): Doc fixes.
11335 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11336 (sql-imenu-generic-expression, sql-buffer)
11337 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11338 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11339 (sql-mode-sybase-font-lock-keywords)
11340 (sql-mode-informix-font-lock-keywords)
11341 (sql-mode-interbase-font-lock-keywords)
11342 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11343 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11344 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11345 (sql-product-feature, sql-highlight-product)
11346 (comint-line-beginning-position, sql-rename-buffer)
11347 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11348 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11349 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11350 Fix typos in docstrings.
11352 2010-05-08 Juri Linkov <juri@jurta.org>
11354 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11355 property instead of `invisible' and `after-string' (bug#5998).
11357 2010-05-08 Juri Linkov <juri@jurta.org>
11359 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11361 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11363 * filecache.el (file-cache-add-directory-list)
11364 (file-cache-add-directory-recursively): Fix typos in docstrings.
11366 2010-05-08 Kenichi Handa <handa@m17n.org>
11368 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11369 (gujarati-composable-pattern): Fix typo.
11371 2010-05-08 Kenichi Handa <handa@m17n.org>
11373 * language/indian.el (oriya-composable-pattern)
11374 (tamil-composable-pattern, malayalam-composable-pattern):
11375 Add two-part vowels to "v" (vowel sign).
11377 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11379 * files.el (copy-directory): Handle symlinks (Bug#5982).
11381 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11383 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11384 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11387 2010-05-08 Glenn Morris <rgm@gnu.org>
11389 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11391 * minibuffer.el (completion-at-point): Doc fix.
11393 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * electric.el (Electric-command-loop): Minor tweak.
11397 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11398 better with dedicated windows.
11400 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11402 * Version 23.2 released.
11404 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11405 Stefan Monnier <monnier@iro.umontreal.ca>
11407 Highlight vendor specific properties.
11408 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11409 (css-proprietary-property): New face.
11410 (css-font-lock-keywords): Use them.
11412 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11414 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11416 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11418 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11419 * files.el (auto-mode-alist): Remove redundant entries.
11421 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11422 * simple.el (auto-save-mode): Move from files.el.
11423 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11425 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11427 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11429 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11431 * mail/binhex.el (binhex-decode-region-internal)
11432 * mail/uudecode.el (uudecode-decode-region-internal)
11433 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11434 (dns-read-type, dns-query)
11435 * pgg-parse.el (pgg-parse-armor)
11436 * pgg.el (pgg-verify-region)
11437 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11440 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11442 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11444 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11446 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11447 * emulation/cua-base.el (cua-repeat-replace-region):
11448 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11449 (cua-cut-region-to-global-mark):
11450 Remove text properties with `set-text-properties'.
11452 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11454 * net/tramp.el (top, with-progress-reporter):
11455 Use `symbol-function' inside `funcall'.
11457 * net/tramp-compat.el (tramp-compat-file-attributes)
11458 (tramp-compat-delete-file, tramp-compat-delete-directory):
11459 Handle only `wrong-number-of-arguments' error.
11461 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11462 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11465 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11467 * minibuffer.el (completion--sreverse, completion--common-suffix):
11469 (completion-pcm--merge-completions): Extract common suffix when safe.
11471 * emacs-lisp/easy-mmode.el (define-minor-mode):
11472 Make :variable more flexible.
11473 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11475 2010-05-05 Juri Linkov <juri@jurta.org>
11477 Add `slow' and `history' tags to the desktop data.
11479 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11480 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11481 (Info-finder-find-node): Require `finder.el' to be able
11482 to restore node from the desktop.
11483 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11484 data `Info-history' and `slow' tag in the assoc list.
11485 (Info-restore-desktop-buffer): Don't restore nodes with the
11486 `slow' tag. Restore `Info-history'.
11488 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11490 Add FORCE argument to `delete-file'.
11492 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11493 forcing to delete the temporary file.
11494 (ange-ftp-delete-file): Add FORCE arg.
11495 (ange-ftp-rename-remote-to-remote)
11496 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11497 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11498 Force file deletion.
11500 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11502 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11503 (tramp-handle-make-symbolic-link, tramp-handle-load)
11504 (tramp-do-copy-or-rename-file-via-buffer)
11505 (tramp-do-copy-or-rename-file-directly)
11506 (tramp-do-copy-or-rename-file-out-of-band)
11507 (tramp-handle-process-file, tramp-handle-call-process-region)
11508 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11509 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11510 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11512 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11513 (tramp-fish-handle-make-symbolic-link)
11514 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11516 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11517 Use `tramp-compat-delete-file'.
11519 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11520 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11522 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11523 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11525 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11526 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11527 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11528 Use `tramp-compat-delete-file'.
11530 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11533 * subr.el (add-minor-mode): Use push.
11534 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11535 * emulation/edt.el (edt-select-mode): Simplify.
11537 Use define-minor-mode in more cases.
11538 * term/tvi970.el (tvi970-set-keypad-mode):
11539 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11540 (normal-erase-is-backspace-mode):
11541 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11542 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11543 (get-scroll-bar-mode): New function.
11544 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11546 Use define-minor-mode for less obvious cases.
11547 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11548 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11549 * international/iso-ascii.el (iso-ascii-mode):
11550 * frame.el (auto-raise-mode, auto-lower-mode):
11551 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11553 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11555 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11556 in order to see error messages for failed logins.
11558 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11560 * diff.el (diff-sentinel):
11562 * epg.el (epg--make-temp-file, epg-decrypt-string)
11563 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11565 * jka-compr.el (jka-compr-partial-uncompress)
11566 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11568 * server.el (server-sentinel): Use delete-file's new FORCE arg
11571 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11573 Use define-minor-mode where applicable.
11574 * view.el (view-mode):
11575 * type-break.el (type-break-query-mode)
11576 (type-break-mode-line-message-mode):
11577 * textmodes/reftex.el (reftex-mode):
11578 * term/vt100.el (vt100-wide-mode):
11579 * tar-mode.el (tar-subfile-mode):
11580 * savehist.el (savehist-mode):
11581 * ibuf-ext.el (ibuffer-auto-mode):
11582 * composite.el (auto-composition-mode):
11583 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11584 Use define-minor-mode.
11585 (vhdl-mode): Use static mode-line format.
11586 (vhdl-mode-line-update): Delete.
11587 (vhdl-create-mode-menu, vhdl-activate-customizations)
11588 (vhdl-hs-minor-mode): Don't bother calling it.
11590 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * simple.el (with-wrapper-hook): Move.
11593 (buffer-substring-filters): Mark obsolete.
11594 (filter-buffer-substring-functions): New variable.
11595 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11597 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11598 Michael Albinus <michael.albinus@gmx.de>
11600 Implement compression for inline methods.
11602 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11603 (tramp-copy-size-limit): Allow also nil.
11604 (tramp-inline-compress-commands): New defconst.
11605 (tramp-find-inline-compress, tramp-get-inline-compress)
11606 (tramp-get-inline-coding): New defuns.
11607 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11608 replaced by `tramp-get-inline-coding'.
11609 (tramp-handle-file-local-copy, tramp-handle-write-region)
11610 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11612 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11614 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11615 Remove unused functions.
11617 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11618 Set find-tag-default-function as a variable rather than a property.
11620 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11621 * progmodes/etags.el (tags-completion-at-point-function):
11622 Remove left over interactive spec. Add autoloading stub.
11623 (complete-tag): Use tags-completion-at-point-function.
11625 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11627 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11629 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11631 * ido.el (ido-init-completion-maps): Remove C-v binding.
11632 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11634 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11636 * minibuffer.el (tags-completion-at-point-function): New function.
11637 (completion-at-point-functions): Use it.
11639 * progmodes/etags.el (complete-tag): Revert last change.
11641 2010-04-29 Alan Mackenzie <acm@muc.de>
11643 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11644 off-by-one error (in end of macro position).
11646 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11648 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11649 firefox is absent. Don't autoload.
11650 (browse-url-galeon-program): Don't autoload.
11652 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11654 * bindings.el (complete-symbol): Move into minibuffer.el.
11656 * minibuffer.el (complete-tag): Move from etags.el. If tags
11657 completion cannot be performed, return nil instead of signalling
11659 (completion-at-point): Make it an alias for complete-symbol.
11660 (complete-symbol): Move from bindings.el, and replace with the
11661 body of completion-at-point.
11663 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11665 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11667 * net/tramp.el (tramp-remote-selinux-p): New defun.
11668 (tramp-handle-file-selinux-context)
11669 (tramp-handle-set-file-selinux-context): Use it.
11671 2010-04-28 Sam Steingold <sds@gnu.org>
11673 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11674 `safe-local-variable' if the value is a string or a symbol with
11675 the property `bug-reference-url-format'.
11677 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11679 * progmodes/bug-reference.el (bug-reference-url-format):
11680 Revert 2010-04-27 change due to security risk.
11682 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11684 Make it possible to locally disable a globally enabled mode.
11685 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11686 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11687 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11688 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11689 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11690 that subsequent hooks get a chance to disable it.
11692 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11694 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11695 Avoid re-enabling a minor mode after the user turned the minor mode
11696 off if MODE-enable-in-buffers is run twice (typically once from
11697 fundamental-mode's after-change-major-mode-hook and a second time from
11698 run-mode-hook's own after-change-major-mode-hook).
11700 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11702 2010-04-27 Sam Steingold <sds@gnu.org>
11704 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11705 `safe-local-variable' if the value is a string or a function, as
11706 documented and implemented on 2010-04-02.
11708 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11710 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11711 when method is 'kill.
11713 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11715 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11716 condition in default directory check.
11717 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11718 Kill ispell process when killing its associated buffer.
11720 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11722 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11723 but we aren't using it.
11725 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11727 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11728 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11730 2010-04-24 Glenn Morris <rgm@gnu.org>
11732 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11733 Ignore VCS-ignore files, and deleted nextstep preferences files.
11734 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11735 (authors-ambiguous-files): New list.
11736 (authors-valid-file-names): Add some deleted files.
11737 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11738 (authors-disambiguate-file-name): New function. (Bug#5501)
11739 (authors-canonical-file-name): Doc fix.
11740 Don't warn about obsolete files.
11741 (authors-canonical-file-name, authors-scan-el):
11742 Use authors-disambiguate-file-name.
11744 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11745 Add autoload cookies.
11746 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11747 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11748 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11749 They have definitions / compiler macros in cl.el.
11750 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11751 Replace manual autoloads with generated ones.
11752 (htmlfontify-unload-rgb-file): Remove autoload.
11753 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11755 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11757 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11758 (byte-compile-setq-default): Optimize for the
11759 single-var case and don't call byte-compile-form in this case to avoid
11760 inf-loop with byte-compile-set-default.
11762 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11764 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11766 Implement SELINUX backends.
11768 * net/tramp.el (tramp-file-name-handler-alist):
11769 Add `file-selinux-context' and `set-file-selinux-context'.
11770 (tramp-handle-file-selinux-context)
11771 (tramp-handle-set-file-selinux-context): New defuns.
11772 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11773 Handle PRESERVE-SELINUX-CONTEXT.
11775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11776 Add `file-selinux-context' and `set-file-selinux-context'.
11777 (tramp-gvfs-handle-file-selinux-context)
11778 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11779 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11781 * net/ange-ftp.el (ange-ftp-copy-file):
11782 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11783 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11784 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11785 Add PRESERVE-SELINUX-CONTEXT.
11787 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11789 Synchronize with Tramp repository.
11791 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11792 (tramp-action-process-alive, tramp-action-out-of-band)
11793 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11794 (tramp-exists-file-name-handler): Fix docstring.
11795 (with-progress-reporter): New defmacro.
11796 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11797 (tramp-maybe-open-connection): Use it.
11799 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11801 Detect ssh 'ControlMaster' argument automatically in some cases.
11803 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11804 (tramp-default-method): Use it.
11806 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11808 * net/tramp.el (tramp-handle-copy-file): Add new optional
11809 parameter `preserve-selinux-context'.
11810 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11812 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11814 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11815 Ensure, that non remote files are still checked. Oops.
11817 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11821 * icomplete.el (icomplete-completions): Use `non-essential'.
11823 * net/tramp.el (tramp-connectable-p): New defun.
11824 (tramp-handle-expand-file-name)
11825 (tramp-completion-handle-file-name-all-completions)
11826 (tramp-completion-handle-file-name-completion): Use it.
11828 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11830 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11832 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11834 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11836 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11838 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11841 * info.el (info-tool-bar-map): Add labels.
11843 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11845 * cus-edit.el (custom-commands): Add labels for tool bar.
11846 (custom-buffer-create-internal, Custom-mode): Adjust for
11847 labels in custom-commands.
11849 * dynamic-setting.el: Renamed from font-setting.el.
11851 2010-04-21 John Wiegley <jwiegley@gmail.com>
11853 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11854 toggles the use of virtual buffers.
11855 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11856 (ido-toggle-virtual-buffers): New function.
11858 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11860 Use `define-derived-mode'; fix window selection; doc fixes.
11861 * play/tetris.el (tetris, tetris-update-speed-function)
11862 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11863 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11864 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11865 (tetris-pause-game): Fix typos in docstrings.
11866 (tetris-mode-map, tetris-null-map):
11867 Move initialization into declaration.
11868 (tetris-mode): Define with `define-derived-mode';
11869 set show-trailing-whitespace to nil.
11870 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11872 2010-04-21 Karel Klíč <kklic@redhat.com>
11874 * files.el (backup-buffer): Handle SELinux context, and return it
11875 if a backup was made by renaming.
11876 (backup-buffer-copy): Set SELinux context to the target file.
11877 (basic-save-buffer): Set SELinux context of the newly written file.
11878 (basic-save-buffer-1): Now it also returns any SELinux context.
11879 (basic-save-buffer-2): Set SELinux context of the newly created file,
11881 * net/tramp.el (tramp-file-name-for-operation):
11882 Add file-selinux-context.
11884 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11886 Make the log-edit comments use RFC822 format throughout.
11888 * vc.el (vc-checkin, vc-modify-change-comment):
11889 Adjust to new vc-start/finish-logentry.
11890 (vc-find-conflicted-file): New command.
11891 (vc-transfer-file): Adjust to new vc-checkin.
11892 (vc-next-action): Improve scoping.
11894 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11895 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11897 * vc-git.el (vc-git-log-edit-mode): Remove.
11898 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11899 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11901 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11902 (vc-start-logentry): Remove argument `extra'.
11903 (vc-finish-logentry): Remove extra args.
11905 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11906 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11907 (vc-bzr-conflicted-files): New function.
11909 * log-edit.el (log-edit-extra-flags)
11910 (log-edit-before-checkin-process): Remove.
11911 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11912 (log-edit-headers-alist): New var.
11913 (log-edit-header-contents-regexp): New const.
11914 (log-edit-match-to-eoh): New function.
11915 (log-edit-font-lock-keywords): Use them.
11916 (log-edit): Insert a "Summary:" header as default.
11917 (log-edit-mode): Mark font-lock rules as case-insensitive.
11918 (log-edit-done): Cleanup headers.
11919 (log-view-process-buffer): Remove.
11920 (log-edit-extract-headers): New function to replace it.
11922 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11924 * subr.el (default-direction-reversed): Remove obsolescence info.
11926 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11928 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11931 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11932 I.e. include text after point in the completion region.
11933 Also, return nil when we're not after/in a symbol.
11935 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11936 default enable-multibyte-characters.
11938 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11940 * international/mule.el: Help the user choose a valid coding-system.
11941 (read-buffer-file-coding-system): New function.
11942 (set-buffer-file-coding-system): Use it. Prompt the user if the
11943 coding-system cannot encode all the chars.
11945 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11946 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11947 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11948 Don't use *vc-bzr-shelve*.
11950 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11952 Fix the version number for added files.
11953 * vc-hg.el (vc-hg-working-revision): Check if the file is
11954 registered after hg parent fails (Bug#5961).
11956 2010-04-19 Glenn Morris <rgm@gnu.org>
11958 * htmlfontify.el (htmlfontify-buffer)
11959 (htmlfontify-copy-and-link-dir): Autoload entry points.
11961 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11963 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11964 name relative to the project root (Bug#5960).
11966 2010-04-19 Glenn Morris <rgm@gnu.org>
11968 * vc-git.el (vc-git-print-log): Doc fix.
11970 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11972 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11974 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11976 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11977 default settings (Bug#5928).
11979 2010-04-19 Glenn Morris <rgm@gnu.org>
11981 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11983 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11985 2010-04-19 Kenichi Handa <handa@m17n.org>
11987 * language/indian.el (malayalam-composable-pattern): Fix previous
11988 change (add U+0D4D "SIGN VIRAMA").
11989 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11990 (tamil-composable-pattern): Fix typo in the regexp.
11991 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11992 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11993 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11995 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11997 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11998 paragraph-separate (Bug#5821).
12000 2010-04-19 Juri Linkov <juri@jurta.org>
12002 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12004 * info.el (Info-find-node-2): Comment out code that skips
12006 (Info-mouse-follow-link): New command.
12007 (Info-link-keymap): New keymap.
12008 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12009 Return a string with links instead of inserting breadcrumbs
12010 to the Info buffer.
12011 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12012 Instead of putting the `invisible' text property over the Info
12013 header, make an overlay over the Info header with the `invisible'
12014 property and `after-string' set to the string returned by
12015 `Info-breadcrumbs'.
12017 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12019 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12020 Reported by monkey@sandpframing.com.
12022 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12024 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12025 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12026 available in the "keyseq cache" any more.
12028 * custom.el (defcustom): Add edebug spec.
12030 2010-04-18 Juri Linkov <juri@jurta.org>
12032 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12034 * view.el (view-file, view-buffer): Move test for special mode-class
12035 from view-file to view-buffer.
12037 * tar-mode.el (tar-extract): Turn if's into one cond
12038 like in arc-mode.el.
12040 2010-04-18 Juri Linkov <juri@jurta.org>
12042 Add 7z archive format support (bug#5475).
12044 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12045 (archive-7z-extract): New defcustom.
12046 (archive-find-type): Add magic string for 7z.
12047 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12048 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12049 `buffer' arg of `call-process'.
12050 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12051 call the function `archive-7z-extract' with the variable
12052 `archive-7z-extract' let-bound to `archive-zip-extract'.
12053 (archive-7z-summarize, archive-7z-extract): New functions.
12055 * international/mule.el (auto-coding-alist):
12056 * files.el (auto-mode-alist): Add 7z file extension.
12058 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12060 * loadup.el: Setup hash-cons for pure data.
12062 Fix duplicate entries in cedet's loaddefs.el files.
12063 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12064 Should make most file-local generated-autoload-file unnecessary.
12065 (print-readably): Silence warnings.
12066 (autoload-find-destination): Take load-name as an arg to make sure
12067 it's the same as the one that will be in the file.
12068 (autoload-generate-file-autoloads): Adjust to above changes.
12069 Try to make the dataflow a bit simpler.
12071 * cvs-status.el (cvs-refontify): Remove unused.
12073 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12075 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12077 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12078 twos-complement mode.
12080 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12082 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12083 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12084 (calc-inverse): Add "Option" to message, as appropriate.
12085 (calc-hyperbolic): Add "Option" to message, as appropriate.
12086 (calc-option, calc-is-option): New functions.
12088 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12089 (calc-option-prefix-help): New function.
12091 * calc/calc-misc.el (calc-help): Add "Option" entry.
12093 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12094 (calc-option-flag): New variable.
12095 (calc-do): Set `calc-option-flag to nil.
12096 (calc-set-mode-line): Add "Opt " as appropriate.
12098 2010-04-16 Juri Linkov <juri@jurta.org>
12100 Move scrolling commands from simple.el to window.el
12101 because their primitives are implemented in window.c.
12103 * simple.el (scroll-error-top-bottom)
12104 (scroll-up-command, scroll-down-command, scroll-up-line)
12105 (scroll-down-line, scroll-other-window-down)
12106 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12107 * window.el (scroll-error-top-bottom)
12108 (scroll-up-command, scroll-down-command, scroll-up-line)
12109 (scroll-down-line, scroll-other-window-down)
12110 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12111 Move from simple.el to window.el because their primitives are
12112 implemented in window.c.
12114 2010-04-16 Juri Linkov <juri@jurta.org>
12116 * isearch.el (isearch-lookup-scroll-key): Check both
12117 `isearch-scroll' and `scroll-command' properties.
12118 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12120 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12122 * simple.el (scroll-up-command, scroll-down-command)
12123 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12125 2010-04-15 Juri Linkov <juri@jurta.org>
12127 * simple.el (scroll-up-command, scroll-down-command)
12128 (scroll-up-line, scroll-down-line): Put `scroll-command'
12129 property on the these symbols. Remove them from
12130 `scroll-preserve-screen-position-commands'.
12132 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12133 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12134 Remove it from `scroll-preserve-screen-position-commands'.
12136 * isearch.el (isearch-allow-scroll): Doc fix.
12138 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12140 * net/tramp.el (tramp-error-with-buffer): Don't show the
12141 connection buffer when we are in completion mode.
12142 (tramp-file-name-handler): Catch the error for some operations
12143 when we are in completion mode. This gives the user the chance to
12144 correct the file name in the minibuffer.
12146 2010-04-15 Glenn Morris <rgm@gnu.org>
12148 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12150 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12152 Simplify by using `define-derived-mode'.
12153 * info.el (Info-mode):
12154 * calendar/todo-mode.el (todo-mode):
12155 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12156 (gomoku-mode-map): Move initialization into declaration.
12158 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12161 * ido.el (ido-file-name-all-completions-1):
12162 * minibuffer.el (minibuffer-completion-help):
12163 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12165 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12167 * simple.el (non-essential): New var.
12169 Add a new field `location' to bookmarks for non-file bookmarks.
12170 * bookmark.el (bookmark-location): Use the new field, if present.
12171 (bookmark-insert-location): Undo last change, not needed any more.
12172 * man.el (Man-bookmark-make-record):
12173 * woman.el (woman-bookmark-make-record): Add `location' field.
12175 2010-04-14 Juri Linkov <juri@jurta.org>
12177 * simple.el (scroll-error-top-bottom): New defcustom.
12178 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12180 * emulation/pc-select.el (pc-select-override-scroll-error):
12181 Obsolete in favor of `scroll-error-top-bottom'.
12183 2010-04-14 Juri Linkov <juri@jurta.org>
12185 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12186 `scroll-up-command' and `M-v' to `scroll-down-command'.
12188 * emulation/cua-rect.el (cua--init-rectangles):
12189 * forms.el (forms--change-commands):
12190 * image-mode.el (image-mode-map):
12191 Remap scroll-down-command and scroll-up-command
12192 in addition to scroll-down and scroll-up.
12194 2010-04-14 Juri Linkov <juri@jurta.org>
12196 * mwheel.el (scroll-preserve-screen-position-commands):
12197 Add mwheel-scroll to this list of commands.
12199 * simple.el (scroll-preserve-screen-position-commands):
12200 Add scroll-up-command, scroll-down-command, scroll-up-line,
12201 scroll-down-line to this list of commands.
12203 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12205 * obsolete/complete.el: Move from lisp/complete.el.
12207 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12209 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12210 to the minor mode function now turns the mode ON unconditionally.
12212 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12214 * vc-dir.el (vc-dir-kill-line): New command.
12215 (vc-dir-mode-map): Bind it to C-k.
12217 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12219 * woman.el: Add bookmark declarations to silence the compiler.
12220 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12221 step to compatibility between man and woman bookmarks.
12222 Adjust for Man-default-bookmark-title renaming.
12223 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12225 * man.el: Add bookmark declarations to silence the compiler.
12226 (Man-name-local-regexp): Make it match NAME as well.
12227 (Man-getpage-in-background): Return the buffer.
12228 (Man-notify-when-ready): Use `case'.
12229 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12230 Don't hardcode "NAME". Simplify.
12231 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12232 Rename from Man-bookmark-make-record.
12233 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12234 we have the actual man-args. Use Man-getpage-in-background rather
12235 than `man' since the arg is already processed. Let bookmark.el do the
12236 window handling. Only wait for the relevant process.
12237 Don't forget to autoload.
12239 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12241 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12243 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12245 (woman-mode): Setup bookmark support.
12247 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12248 (man-bookmark-jump): New functions.
12249 (Man-mode): Setup bookmark support.
12251 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12253 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12254 recognize ssh-keygen prompt (Bug#2817).
12256 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12258 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12260 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12262 Synchronize with Tramp repository.
12264 * net/tramp.el (tramp-completion-function-alist)
12265 (tramp-file-name-regexp, tramp-chunksize)
12266 (tramp-local-coding-commands, tramp-remote-coding-commands):
12268 (tramp-remote-process-environment): Use `format' instead of `concat'.
12269 (tramp-handle-directory-files-and-attributes)
12270 (tramp-get-remote-path): Use `copy-tree'.
12271 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12272 compatibility: Use `completion-ignore-case' if
12273 `read-file-name-completion-ignore-case' does not exist.
12274 (tramp-do-copy-or-rename-file-directly): Do not use
12275 `tramp-handle-file-remote-p'.
12276 (tramp-do-copy-or-rename-file-out-of-band):
12277 Use `tramp-compat-delete-directory'.
12278 (tramp-do-copy-or-rename-file-out-of-band)
12279 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12280 Use `format-spec-make'.
12281 (tramp-find-foreign-file-name-handler)
12282 (tramp-advice-make-auto-save-file-name)
12283 (tramp-set-auto-save-file-modes): Remove superfluous check for
12284 `stringp'. This is done inside `tramp-tramp-file-p'.
12285 (tramp-debug-outline-regexp): New defconst.
12286 (tramp-get-debug-buffer): Use it.
12287 (tramp-check-for-regexp): Use (forward-line 1).
12288 (tramp-set-auto-save-file-modes): Adapt version check.
12290 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12291 Wrap call of `featurep' for 2nd argument.
12292 (tramp-compat-make-temp-file): Simplify fallback implementation.
12293 (tramp-compat-copy-tree): Remove function.
12294 (tramp-compat-delete-directory): Provide implementation for older
12297 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12298 Do not use `tramp-fish-handle-file-attributes.
12300 * net/trampver.el: Update release number.
12302 2010-04-10 Glenn Morris <rgm@gnu.org>
12304 * progmodes/compile.el (compilation-save-buffers-predicate):
12305 Add missing :version tag.
12307 2010-04-09 Sam Steingold <sds@gnu.org>
12309 * progmodes/compile.el (compilation-save-buffers-predicate):
12310 Remove the "autoload" cookie.
12312 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12313 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12314 and `bug-reference-prog-mode' can be used in hooks directly.
12316 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12318 Add --author support to git commit.
12319 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12320 (vc-git-log-edit-mode): New minor mode.
12321 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12324 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12326 * vc-hooks.el, vc-git.el: Improve documentation comments.
12328 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12330 Fix some of the problems in defsubst* (bug#5728).
12331 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12332 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12334 2010-04-07 Sam Steingold <sds@gnu.org>
12336 * progmodes/compile.el (compilation-save-buffers-predicate):
12337 New custom variable.
12338 (compile, recompile): Pass it to `save-some-buffers'.
12340 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12342 * wid-edit.el (widget-choose): Move cursor to the second line of
12343 the buffer (Bug#5695).
12345 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12347 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12348 * vc.el (vc-print-log-setup-buttons): New function split out from
12349 vc-print-log-internal.
12350 (vc-log-internal-common): New function, a parametrized version of
12351 vc-print-log-internal.
12352 (vc-print-log-internal): Just call vc-log-internal-common with the
12354 (vc-incoming-outgoing-internal):
12355 (vc-log-incoming, vc-log-outgoing): New functions.
12356 (vc-log-view-type): New permanent local variable.
12358 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12360 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12361 of the dynamic bound vc-short-log.
12362 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12364 * vc-git.el (vc-git-log-outgoing): New function.
12365 (vc-git-log-view-mode): Use vc-log-view-type instead
12366 of the dynamic bound vc-short-log.
12368 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12369 of the dynamic bound vc-short-log. Highlight the tag.
12370 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12371 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12372 (vc-hg-incoming-mode): Remove.
12373 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12375 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12377 Fix default-directory for vc-root-diff.
12378 * vc.el (vc-root-diff): Bind default-directory to the root
12379 directory for the diff command.
12381 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12383 * progmodes/verilog-mode.el (verilog-forward-sexp):
12384 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12385 word keywords, suggested by Steve Pearlmutter.
12386 (verilog-pretty-declarations): Support lineup of declarations in
12388 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12389 fix bug for /* / comments.
12390 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12391 Speed up and simplfy as this is never called with a bound.
12392 (verilog-pretty-declarations): Enhance to line up declarations
12393 inside a parameter list, suggested by Alan Morgan.
12394 (verilog-pretty-expr): Tune assignment regular expression match
12395 string for corner cases; also use markers instead of character
12396 number as indent changes the later.
12398 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12400 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12401 as missing keyword.
12402 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12403 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12404 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12405 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12407 (verilog-keywords):
12408 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12409 1800-2009 keywords, including "global.".
12411 2010-04-06 John Wiegley <jwiegley@gmail.com>
12413 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12414 appearing in buffer list (if a live buffer name matched a recentf
12415 file basename). Should use uniquify to offer a real solution.
12417 2010-04-06 John Wiegley <jwiegley@gmail.com>
12419 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12420 comment to code, and add a :version tag.
12421 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12423 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12425 Enable recentf-mode if using virtual buffers.
12426 * ido.el (recentf-list): Declare for byte-compiler.
12427 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12428 (ido-make-buffer-list): Simplify.
12429 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12431 2010-04-05 Juri Linkov <juri@jurta.org>
12433 Scrolling commands which scroll a line instead of full screen.
12434 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12436 * simple.el (scroll-up-line, scroll-down-line): New commands.
12437 Put property isearch-scroll=t on them.
12439 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12442 2010-04-05 Juri Linkov <juri@jurta.org>
12444 Scrolling commands which do not signal errors at top/bottom.
12445 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12447 * simple.el (scroll-up-command, scroll-down-command): New commands.
12448 Put property isearch-scroll=t on them.
12450 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12451 `scroll-down-command' and [next] from `scroll-up' to
12452 `scroll-up-command'.
12454 * emulation/cua-base.el: Put property CUA=move on
12455 `scroll-up-command' and `scroll-down-command'.
12456 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12457 and `scroll-down-command' to `cua-scroll-down'.
12459 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12461 * help.el (describe-mode): Return nil.
12463 2010-04-04 John Wiegley <jwiegley@gmail.com>
12465 * ido.el (ido-use-virtual-buffers): New variable to indicate
12466 whether "virtual buffer" support is enabled for IDO.
12467 (ido-virtual): Face used to indicate virtual buffers in the list.
12468 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12469 exists, but a virtual buffer of that name does (which would be why
12470 it was in the list), recreate the buffer by reopening the file.
12471 (ido-make-buffer-list): If virtual buffers are being used, call
12472 `ido-add-virtual-buffers-to-list' before the make list hook.
12473 (ido-virtual-buffers): New variable which contains a copy of the
12474 current contents of the `recentf-list', albeit pared down for the
12475 sake of speed, and with proper faces applied.
12476 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12477 create a list of "virtual buffers" to present to the user in
12478 addition to the currently open set. Note that this logic could
12479 get rather slow if that list is too large. With the default
12480 `recentf-max-saved-items' of 200, there is little speed penalty.
12482 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * font-lock.el: Require CL when compiling.
12485 (font-lock-turn-on-thing-lock): Use `case'.
12487 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12489 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12492 2010-04-02 Juri Linkov <juri@jurta.org>
12494 * ehelp.el (electric-help-orig-major-mode):
12495 New buffer-local variable.
12496 (electric-help-mode): Set it to original major-mode. Doc fix.
12497 (with-electric-help): Use `electric-help-orig-major-mode' instead
12498 of (default-value 'major-mode). Doc fix.
12499 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12501 2010-04-02 Sam Steingold <sds@gnu.org>
12503 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12504 `vc-hg-command' with a list of flags.
12506 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12507 Also accept "patch" and "RFE".
12508 (bug-reference-fontify): `bug-reference-url-format' can also be a
12509 function to be able to handle the bug kind.
12510 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12512 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12514 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12515 value to fboundp, it may not be a symbol.
12517 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12519 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12521 2010-03-31 Juri Linkov <juri@jurta.org>
12523 * simple.el (next-line, previous-line): Re-throw a signal
12524 with `signal' instead of using `ding'.
12525 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12527 2010-03-31 Juri Linkov <juri@jurta.org>
12529 * simple.el (keyboard-escape-quit): Raise deselecting the active
12530 region higher than exiting the minibuffer.
12531 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12533 2010-03-31 Juri Linkov <juri@jurta.org>
12535 * image.el (image-animated-p): Use `image-metadata' instead of
12536 `image-extension-data'. Get GIF extenstion data from metadata
12537 property `extension-data'.
12539 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12541 * simple.el (append-to-buffer): Simplify.
12543 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12545 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12546 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12548 2010-03-31 Kenichi Handa <handa@m17n.org>
12550 * language/sinhala.el (composition-function-table): Fix regexp for
12551 the new Unicode specification.
12553 * language/indian.el (devanagari-composable-pattern)
12554 (tamil-composable-pattern, kannada-composable-pattern)
12555 (malayalam-composable-pattern): Adjust for the new Unicode
12557 (bengali-composable-pattern, gurmukhi-composable-pattern)
12558 (gujarati-composable-pattern, oriya-composable-pattern)
12559 (telugu-composable-pattern): New variables to cope with the new
12560 Unicode specification. Use them in composition-function-table.
12562 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12564 Make tmm-menubar work for the Buffers menu again (bug#5726).
12565 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12566 vectors rather than cons cells, as used in menu-bar-update-buffers.
12568 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12570 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12571 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12572 electric punctuation for "{}();,:" (Bug#5586).
12574 * mail/sendmail.el (mail-default-directory): Doc fix.
12576 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12578 * mail/sendmail.el (mail-default-directory): Doc fix.
12580 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12582 * subr.el (version-regexp-alist, version-to-list)
12583 (version-list-<, version-list-=, version-list-<=)
12584 (version-list-not-zero, version<, version<=, version=): Doc fix.
12587 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12589 * vc.el (vc-root-diff): Doc fix.
12591 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12593 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12595 * simple.el (append-to-buffer): Fix last change.
12597 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12599 * simple.el (append-to-buffer): Ensure that point is preserved if
12600 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12603 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * files.el (auto-mode-case-fold): Change default to t.
12607 2010-03-30 Juri Linkov <juri@jurta.org>
12609 * dired-x.el (dired-omit-mode): Doc fix.
12611 2010-03-30 Juri Linkov <juri@jurta.org>
12613 * replace.el (occur-accumulate-lines): Move occur-engine related
12614 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12615 to be located after `occur-engine'.
12617 2010-03-30 Juri Linkov <juri@jurta.org>
12619 Make occur handle multi-line matches cleanly with context.
12620 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12622 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12623 (occur-engine): Add local variables `ret', `prev-after-lines',
12624 `prev-lines'. Use more arguments for `occur-context-lines'.
12625 Set first elem of its returned list to `data', and the second elem
12626 to `prev-after-lines'. Don't print the separator line.
12627 In the end, print remaining context after-lines.
12628 (occur-context-lines): Add new arguments `begpt', `endpt',
12629 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12630 after-lines of the previous match with before-lines of the
12631 current match and not overlap them. Return a list with two
12632 values: the output line and the list of context after-lines.
12634 2010-03-30 Juri Linkov <juri@jurta.org>
12636 * replace.el (occur-accumulate-lines): Fix a bug where the first
12637 context line at the beginning of the buffer was missing.
12639 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12641 * files.el: Make bidi-display-reordering safe variable for boolean
12644 2010-03-29 Phil Hagelberg <phil@evri.com>
12645 Chong Yidong <cyd@stupidchicken.com>
12647 * subr.el: Extend progress reporters to perform "spinning".
12648 (progress-reporter-update, progress-reporter-do-update):
12649 Handle non-numeric value arguments.
12650 (progress-reporter--pulse-characters): New var.
12652 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12654 * progmodes/compile.el (compilation-start): Fix regexp detection
12655 of initial cd command (Bug#5771).
12657 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12659 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12661 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12663 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12664 * progmodes/gdb-mi.el: Restore.
12665 * progmodes/gdb-ui.el: Remove.
12666 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12668 2010-03-25 Glenn Morris <rgm@gnu.org>
12670 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12671 all dired buffers, even tramp ones. (Bug#5755)
12673 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12675 Add "union tags" in mpc.el.
12676 * mpc.el: Remove backward compatibility code.
12677 (mpc-browser-tags): Change default.
12678 (mpc--find-memoize-union-tags): New var.
12679 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12680 (mpc-cmd-find): Handle the case where the playlist does not exist.
12682 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12683 (mpc-cmd-add): Use mpc-cmd-flush.
12684 (mpc-tagbrowser-tag-name): New fun.
12685 (mpc-tagbrowser-buf): Use it.
12686 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12688 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12691 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12692 Use replace-regexp-in-string.
12693 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12694 (makefile-imake-mode-syntax-table): Move init into defvar.
12695 (makefile-mode): Use define-derived-mode.
12697 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12698 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12699 not be present any more.
12701 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12703 * faces.el (set-face-attribute): Fix typo in docstring.
12704 (face-valid-attribute-values): Reflow docstring.
12706 2010-03-24 Glenn Morris <rgm@gnu.org>
12708 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12710 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12712 * indent.el (indent-for-tab-command): Doc fix.
12714 2010-03-24 Alan Mackenzie <acm@muc.de>
12716 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12717 Fix off-by-one error. Fixes bug #5747.
12719 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12721 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12722 (image-dired-read-comment): Doc fix.
12724 * json.el (json-object-type, json-array-type, json-key-type)
12725 (json-false, json-null, json-read-number):
12726 * minibuffer.el (completion-in-region-functions):
12727 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12728 (cal-tex-cursor-week):
12729 * emacs-lisp/trace.el (trace-function):
12730 * eshell/em-basic.el (eshell/printnl):
12731 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12732 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12733 * obsolete/levents.el (allocate-event, event-key, event-object)
12734 (event-point, event-process, event-timestamp, event-to-character)
12735 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12736 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12737 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12738 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12739 (reftex-highlight-selection): Fix typos in docstrings.
12741 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12743 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12745 2010-03-24 Glenn Morris <rgm@gnu.org>
12747 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12748 2008-02-13 without comment; mark it obsolete.
12749 (rmail-highlight-headers): Use rmail-highlight-face once more.
12751 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12753 * woman.el (woman2-process-escapes): Only consume the newline if
12754 the filler character is on a line by itself (Bug#5729).
12756 2010-03-24 Kenichi Handa <handa@m17n.org>
12758 * language/indian.el (devanagari-composable-pattern): Add more
12761 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12763 * net/trampver.el: Update release number.
12765 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12767 * net/tramp.el (tramp-find-executable):
12768 Use `tramp-get-connection-buffer'. Make the regexp for checking
12769 output of "wc -l" more robust.
12770 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12771 (tramp-open-connection-setup-interactive-shell): Remove workaround
12772 for OpenSolaris bug, it is not needed anymore.
12774 2010-03-24 Glenn Morris <rgm@gnu.org>
12776 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12778 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12780 * files.el (auto-mode-alist): Accept more verilog file patterns.
12782 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12784 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12786 2010-03-24 Glenn Morris <rgm@gnu.org>
12788 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12789 log-edit-before-checkin-process.
12791 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12793 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12795 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12796 (log-view-process-buffer, log-edit-extra-flags): Declare.
12798 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12800 2010-03-23 Sam Steingold <sds@gnu.org>
12802 Fix bug#5620: recalculate all markers on compilation buffer
12803 modifications, not on file modifications.
12804 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12805 variable: the buffer modification time, for buffers not associated with
12807 (compilation-mode): Create it.
12808 (compilation-filter): Update it.
12809 (compilation-next-error-function): Use it instead of
12810 `visited-file-modtime' for timestamp.
12812 2010-03-23 Juri Linkov <juri@jurta.org>
12814 Implement Occur multi-line matches.
12815 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12817 * replace.el (occur): Doc fix.
12818 (occur-engine): Set `begpt' to the beginning of the first line.
12819 Set `endpt' to the end of the last match line. At first, count
12820 line numbers between `origpt' and `begpt'. Split out code from
12821 `out-line' variable to new let-bindings `match-prefix' and
12822 `match-str'. In `out-line' add non-numeric prefix to all
12823 non-first lines of multi-line matches. Finally, count lines
12824 between `begpt' and `endpt' and add to `lines'.
12826 2010-03-23 Juri Linkov <juri@jurta.org>
12828 * replace.el (occur-accumulate-lines, occur-engine):
12829 Use `occur-engine-line' instead of duplicate code.
12830 (occur-engine-line): New function created from duplicate code
12831 in `occur-accumulate-lines' and `occur-engine'.
12833 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12834 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12836 2010-03-23 Juri Linkov <juri@jurta.org>
12838 * finder.el: Remove TODO tasks.
12840 * info.el (Info-finder-find-node): Add node "all"
12841 with all package info. Handle a list of multiple keywords
12842 separated by comma.
12843 (info-finder): In interactive use with a prefix argument,
12844 use `completing-read-multiple' to read a list of keywords
12845 separated by comma.
12847 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12849 Add a new completion style `substring'.
12850 * minibuffer.el (completion-basic--pattern): New function.
12851 (completion-basic-try-completion, completion-basic-all-completions):
12853 (completion-substring--all-completions)
12854 (completion-substring-try-completion)
12855 (completion-substring-all-completions): New functions.
12856 (completion-styles-alist): New style `substring'.
12858 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12860 Get rid of .elc files after removal of the corresponding .el.
12861 * Makefile.in (compile-clean): New target.
12862 (compile-main): Use it.
12864 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12866 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12867 don't do make there. When compiling with separate object dir, there
12868 is no Makefile there.
12870 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12872 Get rid of the ELCFILES abomination, again.
12873 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12874 (all, compile): Don't call compile-last.
12875 (compile-main): Build the "elcfiles" list dynamically.
12876 (compile-targets): New (internal) target.
12878 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12880 * Makefile.in (top_srcdir): Define.
12881 (abs_top_builddir): Define.
12882 (srcdir): Don't append `/..'.
12883 (EMACS): Use ${abs_top_builddir}.
12884 (all, compile, compile-always, compile-last): Don't set emacswd.
12885 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12887 (lisp): Use $(srcdir) instead of @srcdir@.
12889 2010-03-21 Juri Linkov <juri@jurta.org>
12891 Fix message of multi-line occur regexps and multi-buffer header lines.
12892 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12894 * replace.el (occur-1): Don't display regexp if it is longer
12895 than window-width. Use `query-replace-descr' to display regexp.
12896 (occur-engine): Don't display regexp in the buffer header for
12897 multi-buffer occur. Display a separate header line with total
12898 match count and regexp for multi-buffer occur.
12899 Use `query-replace-descr' to display regexp.
12901 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12903 * net/secrets.el: Fix parenthesis.
12904 (secrets-enabled): Fix parenthesis.
12906 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12908 Use more relative file and directory names.
12909 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12910 (setwins, setwins_almost, setwins_for_subdirs):
12911 Don't `cd'; output relative names.
12912 (all, compile, compile-always, compile-last): Set emacswd.
12913 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12914 Just cd to the lisp source dir so we can use relative file names.
12916 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12918 2010-03-20 Glenn Morris <rgm@gnu.org>
12920 * textmodes/rst.el: Use faces for font-lock customization, and make the
12921 old -face variables obsolete.
12922 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12923 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12924 (rst-block-face, rst-external-face, rst-definition-face)
12925 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12926 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12928 (rst-font-lock-keywords-function): Update for above changes.
12930 2010-03-20 Juri Linkov <juri@jurta.org>
12933 * obsolete/s-region.el: Move to obsolete.
12935 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12937 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12939 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12941 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12943 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12945 Add special markup processing for commit logs.
12946 * log-edit.el (log-edit-extra-flags): New variable.
12947 (log-edit): Add new argument MODE. Use that mode when non-nil
12948 instead of the log-view-mode.
12949 (log-view-process-buffer): New function.
12951 * vc.el: Document that the checkin method takes optional
12952 arguments. Document new backend specific method: log-view-mode.
12953 (vc-default-log-edit-mode): New function.
12954 (vc-checkin): Use a backend specific log-view-mode.
12955 Pass extra arguments to the checkin method.
12956 (vc-modify-change-comment): Pass a dummy extra argument.
12958 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12960 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12961 (vc-finish-logentry): Process the log buffer before passing it
12962 down. Pass log-edit-extra-flags.
12964 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12966 (log-edit-extra-flags, log-edit-before-checkin-process):
12969 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12971 (log-edit-extra-flags, log-edit-before-checkin-process):
12973 (vc-hg-log-edit-mode): New derived mode.
12975 * vc-arch.el (vc-arch-checkin):
12976 * vc-cvs.el (vc-cvs-checkin):
12977 * vc-git.el (vc-git-checkin):
12978 * vc-mtn.el (vc-mtn-checkin):
12979 * vc-rcs.el (vc-rcs-checkin):
12980 * vc-sccs.el (vc-sccs-checkin):
12981 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12983 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12985 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12988 2010-03-19 Glenn Morris <rgm@gnu.org>
12990 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12992 2010-03-18 Glenn Morris <rgm@gnu.org>
12994 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12996 * replace.el (query-replace-history): Give it a doc string.
12997 (map-query-replace-regexp): Use query-replace-from-history-variable
12998 and query-replace-to-history-variable.
13000 * mail/hashcash.el (declare-function): Remove duplicate definition.
13002 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13003 Make it an obsolete alias for report-emacs-bug-address.
13004 (message-strip-special-text-properties): Declare.
13005 (report-emacs-bug): Remove test for a pretest bug address.
13006 Combine message-mode-specific code.
13008 * mail/supercite.el: Don't require sendmail.
13009 (mh-in-header-p): Declare rather than using with-no-warnings.
13010 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13011 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13013 * calendar/cal-french.el: Convert to utf-8.
13015 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13018 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13020 * net/secrets.el (secrets-enabled): New variable. Use it instead
13023 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13025 * net/secrets.el (top): Register the D-Bus signals only when the
13026 service "org.freedesktop.secrets" can be pinged.
13027 Provide subfeature `enabled'.
13029 2010-03-14 Juri Linkov <juri@jurta.org>
13031 Add finder unknown keywords.
13033 * finder.el (finder-unknown-keywords): New function.
13035 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13036 to create a Finder node with unknown keywords.
13038 2010-03-14 Juri Linkov <juri@jurta.org>
13040 * finder.el (finder-compile-keywords): Replace `princ' with
13041 `prin1' on a list of symbols interned from keyword strings.
13043 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13044 a comma, then split keywords using a comma and optional whitespace.
13045 Otherwise, split by whitespace.
13053 * progmodes/mixal-mode.el: Fix keywords.
13055 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13057 * Makefile.in (ELCFILES): Add net/secrets.elc.
13059 * net/secrets.el: New file.
13061 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13063 * facemenu.el (list-colors-display, list-colors-print): New arg
13064 callback. Use it to allow selecting colors.
13066 * wid-edit.el (widget-image-insert): Insert image prop even if the
13067 current display is non-graphic.
13068 (widget-field-value-set): New fun.
13069 (editable-field): Use it.
13070 (widget-field-value-get): Clean up unused var.
13071 (widget-color-value-create, widget-color--choose-action):
13072 New funs. Allow using list-colors-display to choose color.
13074 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13076 * cus-edit.el: Resort topmost custom groups.
13077 (custom-buffer-sort-alphabetically): Default to t.
13078 (customize-apropos): Use apropos-parse-pattern.
13079 (custom-search-field): New var.
13080 (custom-buffer-create-internal): Add custom-apropos search field.
13081 (custom-add-parent-links): Don't display parent doc.
13082 (custom-group-value-create): Don't sort top-level custom group.
13083 (custom-magic-value-create): Show visibility button before option name.
13085 (custom-variable-state): New fun, from custom-variable-state-set.
13086 (custom-variable-state-set): Use it.
13087 (custom-group-value-create): Hide options with standard values
13088 using the :hidden-states property. Use progress reporter.
13090 (custom-show): Simplify.
13091 (custom-visibility): Disable images by default.
13092 (custom-variable): New property :hidden-states.
13093 (custom-variable-value-create): Enable images for
13094 custom-visibility widgets. Use :hidden-states property to
13095 determine initial visibility.
13097 * wid-edit.el (widget-image-find): Give images center ascent.
13098 (visibility): Add :on-image and :off-image properties.
13099 (widget-visibility-value-create): Use them.
13101 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13103 * cus-edit.el (processes): Remove from development group.
13104 (oop, hypermedia): Delete group.
13105 (comm): Promote to top-level group.
13107 * net/browse-url.el (browse-url):
13108 * net/xesam.el (xesam):
13109 * net/tramp.el (tramp):
13110 * net/goto-addr.el (goto-address):
13111 * net/ange-ftp.el (ange-ftp): Put in comm group.
13113 * view.el (view): Remove from editing group.
13115 * uniquify.el (uniquify): Put in files group.
13117 * net/browse-url.el (browse-url):
13118 * ps-print.el (postscript): Put in external group.
13120 * cus-edit.el (outlines):
13121 * textmodes/text-mode.el (text-mode-hook):
13122 * textmodes/table.el (table):
13123 * textmodes/picture.el (picture):
13124 * outline.el (outlines): Put in wp group.
13126 * nxml/nxml-mode.el (nxml): Remove from wp group.
13128 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13130 * mail/metamail.el (metamail): Remove from hypermedia group.
13132 * cus-edit.el (abbrev):
13133 * whitespace.el (whitespace):
13134 * vcursor.el (vcursor):
13135 * reveal.el (reveal):
13136 * hl-line.el (hl-line): Put in convenience group.
13138 * epg-config.el (epg): Put in data group.
13140 * emulation/pc-select.el (pc-select): Put in emulations group.
13142 * calculator.el (calculator): Put in applications group.
13144 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13146 Add .dir-locals.el support for file-less buffers.
13147 * files.el (hack-local-variables): Split out code to apply local
13148 variable settings ...
13149 (hack-local-variables-apply): ... here. New function.
13150 (hack-dir-local-variables): Use the default directory for when the
13151 buffer does not have an associated file.
13152 (hack-dir-local-variables-non-file-buffer): New function.
13153 * diff-mode.el (diff-mode):
13154 * vc-annotate.el (vc-annotate-mode):
13155 * vc-dir.el (vc-dir-mode):
13156 * log-edit.el (log-edit-mode):
13157 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13159 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13161 Add support for shelving snapshots and for showing shelves.
13162 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13163 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13165 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13166 (vc-bzr-extra-menu-map): Map them.
13168 2010-03-11 Glenn Morris <rgm@gnu.org>
13170 * cus-edit.el (customize-changed-options-previous-release):
13173 * image.el (image-animate-max-time): Fix :version tag.
13175 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13179 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13181 * vc-git.el (vc-git-revision-table): Include remote branches.
13183 2010-03-10 Kim F. Storm <storm@cua.dk>
13185 Animated image API.
13186 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13188 * image.el (image-animate-max-time): New defcustom.
13189 (image-animated-types): New defconst.
13190 (create-animated-image, image-animate-timer)
13191 (image-animate-start, image-animate-stop, image-animate-timeout)
13192 (image-animated-p): New functions.
13194 * image-mode.el (image-toggle-display-image):
13195 Replace `create-image' with `create-animated-image'.
13197 2010-03-09 Miles Bader <miles@gnu.org>
13199 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13200 instead of "format:"; this ensures that the output is
13201 newline-terminated.
13203 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13205 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13206 that all errors are caught, and that the return value is always a
13209 2010-03-08 Kenichi Handa <handa@m17n.org>
13211 * language/misc-lang.el (windows-1256): New coding system.
13212 (cp1256): New alias of windows-1256 (bug#5690).
13214 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13216 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13217 call to rfc822-bad-address. (Bug#5692)
13219 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13221 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13222 Use vc-git-root as default directory for revision path (Bug#5657).
13224 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13226 * calculator.el (calculator): Don't bind split-window-keep-point
13229 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13231 * vc-git.el: Re-flow to fit into 80 columns.
13232 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13233 Remove spurious `quote' element in each case alternative.
13234 (vc-git-show-log-entry): Use prog1.
13235 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13237 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13239 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13241 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13243 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13244 definition, not the name (Bug#5481).
13246 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13248 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13249 argument with a local variable. (Bug#5670)
13251 2010-03-02 Juri Linkov <juri@jurta.org>
13253 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13255 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13257 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13258 error when FILENAME and NEWNAME are existing remote directories.
13260 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13261 parameter DIR-FLAG.
13263 2010-03-02 Glenn Morris <rgm@gnu.org>
13265 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13266 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13268 2010-03-01 Kenichi Handa <handa@m17n.org>
13270 * language/burmese.el (burmese-composable-pattern): Rename from
13271 myanmar-composable-pattern.
13273 * international/characters.el (script-list):
13274 * international/fontset.el (script-representative-chars):
13275 Change myanmar to burmese.
13276 (otf-script-alist): Likewise.
13277 (setup-default-fontset): Likewise. Re-fix :otf spec.
13279 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13281 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13283 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13285 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13287 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13289 * net/tramp.el (tramp-handle-write-region): START can be a string.
13290 Take care in the checks. Reported by Dan Davison
13291 <davison@stats.ox.ac.uk>.
13293 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13295 * net/dbus.el (dbus-introspect, dbus-get-property)
13296 (dbus-set-property, dbus-get-all-properties):
13297 Use `dbus-call-method' when noninteractive. (Bug#5645)
13299 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13301 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13302 * emacs-lisp/elint.el (elint-add-required-env):
13303 * calendar/icalendar.el (icalendar--add-diary-entry):
13304 * calc/calcalg2.el (math-tracing-integral):
13305 * files.el (recover-session-finish): Use with-current-buffer
13306 instead of save-excursion.
13308 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13310 Fix in-buffer completion when after-change-functions modify the buffer.
13311 * minibuffer.el (completion--replace): New function.
13312 (completion--do-completion): Use it and use relative movement.
13314 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13316 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13318 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13320 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13321 Allow the characters _<> in the stack entry (Bug#5653).
13323 2010-02-26 Kenichi Handa <handa@m17n.org>
13325 * language/burmese.el: Fix entries in composition-function-table.
13326 (myanmar-composable-pattern): New variable.
13328 * international/fontset.el (setup-default-fontset): Add an entry
13331 * international/characters.el (script-list): Add Myanmar
13334 2010-02-26 Glenn Morris <rgm@gnu.org>
13336 * custom.el (custom-initialize-delay): Doc fix.
13338 * mail/sendmail.el (send-mail-function): Autoload the call
13339 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13341 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13343 * files.el (hack-local-variables-filter): For eval forms, also
13344 check safe-local-variable-p (Bug#5636).
13346 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13348 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13349 setting the modes by `ignore-errors'. It might fail, for example
13350 if the file is not owned by the user but the group.
13351 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13353 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13355 * files.el (directory-listing-before-filename-regexp):
13356 Use stricter matching for iso-style dates, to avoid false matches with
13357 date-like filenames (Bug#5597).
13359 * htmlfontify.el (htmlfontify): Doc fix.
13361 * eshell/eshell.el (eshell): Doc fix.
13363 * startup.el (fancy-about-screen): In mode-line, apply
13364 mode-line-buffer-id face only to the buffer name (Bug#5613).
13366 2010-02-20 Kevin Ryde <user42@zip.com.au>
13368 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13369 In `watcom' anchor regexp to start of line, to avoid slowness
13372 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13374 * subr.el (remove-yank-excluded-properties): Explain in a comment
13375 why `category' property is removed.
13377 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13379 * isearch.el (isearch-update-post-hook, isearch-update):
13380 Revert 2010-02-17 change.
13382 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13384 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13385 (icalendar--convert-weekly-to-ical)
13386 (icalendar--convert-yearly-to-ical)
13387 (icalendar--convert-block-to-ical)
13388 (icalendar--convert-cyclic-to-ical)
13389 (icalendar--convert-anniversary-to-ical): Take care of time
13390 specifications where hour has 1-digit only (Bug#5549).
13392 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13394 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13395 of disassemble output in GDB 7.1.
13397 2010-02-19 Glenn Morris <rgm@gnu.org>
13399 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13400 property. (Bug#5593)
13402 2010-02-18 Sam Steingold <sds@gnu.org>
13404 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13406 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13408 Use abbreviated file names in bookmarks (bug#5591).
13409 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13410 calls to expand-file-name.
13411 (bookmark-relocate): Use abbreviated file names in bookmarks.
13412 (bookmark-load): Use abbreviated file names in messages.
13414 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13416 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13417 expand "." and "..". Reported by Thierry Volpiatto
13418 <thierry.volpiatto@gmail.com>.
13420 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13422 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13423 permissions of the temporary file to "0600". In case the remote
13424 file has no read permissions for the owner, there might be
13425 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13427 22010-02-18 Glenn Morris <rgm@gnu.org>
13429 * emacs-lisp/authors.el (authors-renamed-files-alist):
13430 Add entries for INSTALL.CVS.
13432 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13434 * vc-bzr.el: Fix typo in Known Bugs section.
13436 * isearch.el (isearch-update-post-hook): New hook.
13437 (isearch-update): Use the new hook.
13439 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13441 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13442 Fix errors in copying directories.
13443 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13444 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13445 (tramp-handle-delete-file)
13446 (tramp-handle-dired-recursive-delete-directory)
13447 (tramp-handle-write-region): Flush also the cache for the upper
13450 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13452 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13454 * cus-edit.el (hardware): Doc fix.
13456 * man.el (man): Add to external custom group.
13458 * delim-col.el (columns): Move to wp custom group.
13460 * doc-view.el (doc-view): Add to data custom group.
13462 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13464 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13465 by ispell-parse-output (Bug#5575).
13467 2010-02-16 Kenichi Handa <handa@m17n.org>
13469 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13470 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13471 (skkdic-convert): Use `euc-japan' coding system for writing.
13473 2010-02-16 Glenn Morris <rgm@gnu.org>
13475 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13476 tex-main-file before using it. (Bug#5562)
13478 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13480 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13481 warnings, since it is annoying for the user to see them each time he
13484 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13486 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13487 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13488 instead of PROC for caching "first-password-request". Otherwise,
13489 new processes would not profit from passwords already entered.
13491 * net/tramp-cache.el (tramp-dump-connection-properties):
13492 Don't save "first-password-request" property.
13494 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13496 * outline.el (outline-head-from-level):
13497 * simple.el (with-wrapper-hook):
13498 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13499 (elint-defun, elint-buffer-env, elint-top-form-logged)
13500 (elint-unbound-variable):
13501 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13502 Fix typos in docstrings.
13504 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13506 * files.el (insert-directory): When WILDCARD-REGEXP and
13507 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13508 whole directory. (Bug#5551)
13510 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13511 dired's alignment sanity. (Bug#5516)
13513 2010-02-14 Juri Linkov <juri@jurta.org>
13515 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13516 Remove remaining ^H with their preceding chars. (Bug#5566)
13518 2010-02-13 Glenn Morris <rgm@gnu.org>
13520 * simple.el (transpose-subr): Give it a doc-string.
13522 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13525 2010-02-12 Juri Linkov <juri@jurta.org>
13527 * arc-mode.el (archive-unique-fname): Make directories for nested
13528 archives. (Bug#5540)
13530 2010-02-12 Juri Linkov <juri@jurta.org>
13532 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13534 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13536 * subr.el (copy-overlay): Handle deleted overlays.
13538 * man.el (Man-completion-table): Don't signal an error if we can't run
13539 manual-program (bug#4056).
13541 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13543 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13545 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13547 * info.el (Info-bookmark-jump): Simplify.
13549 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13550 (bookmark-default-handler): Accept new bookmark field `buffer'.
13552 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13554 * iswitchb.el (iswitchb-completions): Revert last change.
13556 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13558 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13559 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13560 This prevents file names like "~/" being listed literally.
13562 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13564 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13565 Remove dead code. (Bug#5546)
13567 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13569 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13570 correctly (Bug#5548).
13572 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13574 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13575 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13577 2010-02-08 Kenichi Handa <handa@m17n.org>
13579 * international/mule-util.el (with-coding-priority): Add autoload
13580 cookie for putting `lisp-indent-function'.
13582 2010-02-07 Glenn Morris <rgm@gnu.org>
13584 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13585 Move F2003 named interfaces from keywords-2 to keywords-1, and
13586 use function-name-face rather than constant-face.
13587 Simplify "abstract interface" regexp.
13589 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13591 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13592 ID-FORMAT. Pass it to `file-attributes'.
13594 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13596 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13598 * faces.el (set-face-attribute): Allow calling
13599 internal-set-lisp-face-attribute with 'unspecified family and
13600 foundry argument (Bug#5536).
13602 2010-02-07 Glenn Morris <rgm@gnu.org>
13604 * progmodes/f90.el (f90-font-lock-keywords-2)
13605 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13606 Handle F2003 named interfaces.
13608 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13610 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13611 beg and end before calling c-get-state-before-change-functions.
13613 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13615 * vc-bzr.el (vc-bzr-dir-extra-headers):
13616 Disable the pending merges header.
13618 2010-02-05 Juri Linkov <juri@jurta.org>
13620 * doc-view.el (doc-view-mode):
13621 * image-mode.el (image-mode): Put property mode-class=special.
13624 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13626 * vc-svn.el (vc-svn-revision-table): New function.
13628 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13630 * net/ange-ftp.el (ange-ftp-insert-directory):
13631 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13632 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13633 Handle also directories. (Bug#5478)
13635 2010-02-05 Glenn Morris <rgm@gnu.org>
13637 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13639 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13641 * startup.el (command-line-1): Convert options beginning with a
13642 single dash as well (Bug#5519).
13644 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13646 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13647 * minibuffer.el (completion-initials-expand): Only check the presence
13648 of delims *within* the boundaries, since otherwise the / delim is
13649 always found for files.
13651 Fix up various corner case problems.
13652 * doc-view.el (doc-view-last-page-number): New function.
13653 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13654 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13655 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13656 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13657 (doc-view-convert-current-doc): Don't create the resolution.el file
13659 (doc-view-pdf/ps->png): Do it here instead.
13660 (doc-view-already-converted-p): Check that resolution.el is present.
13661 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13662 windows that are not yet showing images.
13664 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13666 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13667 `dired-uncache' for every elemnt which is an absolute file name.
13669 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13670 directory, handle its directory component.
13671 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13672 function is called permanently and creates noise, otherwise.
13674 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13675 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13676 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13678 2010-02-04 David Burger <dburger@google.com> (tiny change)
13680 * macros.el (apply-macro-to-region-lines):
13681 Minor simplification. (Bug#5485)
13683 2010-02-04 Glenn Morris <rgm@gnu.org>
13685 * mail/rmail.el (rmail-show-message-1): Handle malformed
13686 quoted-printable text. (Bug#5441)
13688 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13690 * simple.el (visual-line-mode): Capitalize lighter.
13692 2010-02-03 John Wiegley <jwiegley@gmail.com>
13694 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13695 list of files considered for "virtual buffer" completions.
13697 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13699 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13700 also in case of (and (not full) (not wildcard)). This is needed
13701 when dired is called with a list of files, which are not in
13702 `default-directory'. (Bug#5478)
13704 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13706 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13708 2010-02-02 Juri Linkov <juri@jurta.org>
13710 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13711 from unidiff to allow function-line after @@.
13713 2010-02-02 Juri Linkov <juri@jurta.org>
13715 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13716 '(RCS SCCS) with inverted condition.
13718 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13720 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13723 2010-02-01 Juri Linkov <juri@jurta.org>
13725 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13726 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13727 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13728 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13730 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13732 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13733 (doc-view-revert-buffer): New command.
13734 (doc-view-mode-map): Use it.
13736 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13738 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13739 pending merge is detected.
13741 2010-01-31 Juri Linkov <juri@jurta.org>
13743 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13744 beginning of interactive spec like all other grep commands do.
13745 Put "all" in front of "gz". (Bug#5260)
13747 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13749 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13751 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13753 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13754 regexp is incorrect (Bug#5476).
13756 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13758 * net/tramp.el (tramp-handle-insert-directory): Handle also
13759 symlinks, when FILENAME is not in `default-directory'.
13761 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13763 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13764 FILE is not in `default-directory'. (Bug#5478)
13766 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13767 of SWITCHES. Handle the case, FILENAME is not in
13768 `default-directory'. (Bug#5478)
13769 (tramp-register-file-name-handlers): Add safe-magic property.
13771 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13773 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13776 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13778 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13779 (flymake-master-make-header-init): Add other C++ filename masks.
13780 (flymake-find-possible-master-files)
13781 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13783 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13785 Fix some busybox annoyances.
13787 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13788 not responding." string.
13789 (tramp-open-connection-setup-interactive-shell): Dump stty
13790 settings. Enable "neveropen" arg for all `tramp-send-command'
13791 calls. Handle "=" in variable values properly.
13792 (tramp-find-inline-encoding): Raise an error, when no encoding is
13794 (tramp-wait-for-output): Check, whether PROC buffer is available.
13795 Remove spurious " ^H" sequences, sent by busybox.
13796 (tramp-get-ls-command): Suppress coloring, if possible.
13798 2010-01-28 Glenn Morris <rgm@gnu.org>
13800 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13802 * log-edit.el (log-edit-strip-single-file-name): Add missing
13803 :safe, :group, and :version tags.
13805 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13807 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13808 buffers. (Bug#5477)
13810 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13812 * files.el (delete-directory): Handle moving to trash without
13813 first doing recursion (Bug#5436).
13815 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13817 * vc-hooks.el (vc-path): Mark as obsolete.
13819 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13821 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13824 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13826 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13828 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13830 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13832 * vc-bzr.el (vc-bzr-revision-table): New function.
13834 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13836 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13837 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13839 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13841 Remove support for adding --signoff on commit.
13842 Future support will use an incompatible generic mechanism.
13843 * vc-git.el (vc-git-add-signoff): Remove variable.
13844 (vc-git-toggle-signoff): Remove function.
13845 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13847 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13848 Rename from xterm-set-background-mode. Return t if the background mode
13850 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13851 earlier, call it again in case the background mode has changed.
13853 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13855 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13858 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13860 * emacs-lisp/assoc.el (aelement): Doc fix.
13861 (aput, adelete, amake): Use lexical-let (Bug#5450).
13863 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13865 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13866 is the same as subprogram call, not declaration. (Bug#5435).
13868 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13870 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13871 (tramp-smb-maybe-open-connection): Use it.
13873 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13875 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13877 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13879 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13880 just because we see "encoding: 8bit".
13881 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13883 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13885 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13887 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13889 * jka-compr.el (jka-compr-load): If load-file is not in
13890 load-history, try its file-truename version. (bug#5447)
13892 2010-01-21 Alan Mackenzie <acm@muc.de>
13894 Fix a situation where deletion of a cpp construct throws an error.
13895 * progmodes/cc-engine.el (c-invalidate-state-cache):
13896 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13897 special cpp construct is still in the buffer.
13898 (c-parse-state): Record the special cpp with markers, not numbers.
13900 2010-01-21 Kenichi Handa <handa@m17n.org>
13902 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13903 process last-command-event, as it is now decoded first (Bug#5380).
13905 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13907 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13909 2010-01-20 Glenn Morris <rgm@gnu.org>
13911 * indent.el (tab-always-indent): Fix custom-type.
13913 2010-01-19 Alan Mackenzie <acm@muc.de>
13915 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13916 buffer throws "args out of range".
13917 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13918 playing the role of delimiter.
13920 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13922 * progmodes/ada-mode.el: Fix bug#5400.
13923 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13924 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13925 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13926 Improve comments in "is" portion. Handle null procedure declaration.
13927 (ada-move-to-end): Improve doc string.
13929 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13931 * ido.el (ido-cur-list): Initialize to nil.
13932 Remove obsolete information from commentary.
13933 (ido-choice-list): Initialize to nil.
13934 (ido-get-bufname): Reject minibuffers.
13935 (ido-make-buffer-list): If "default" is a nonexistent
13936 buffer, ignore it, as per the function's comment.
13937 (ido-kill-buffer-internal): New function.
13938 (ido-kill-buffer-at-head): Use it.
13939 (ido-visit-buffer): Likewise.
13941 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13943 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13945 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13947 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13948 Fix typos in chart titles.
13950 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13951 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13952 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13953 (describe-class, eieio-describe-generic, describe-generic):
13954 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13955 (eieio-speedbar-expand):
13956 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13957 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13958 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13959 (viper-del-backward-char-in-replace, viper-backward-indent)
13960 (viper-brac-function, viper-register-to-point, viper-submit-report):
13961 * net/tramp.el (tramp-remote-coding-commands):
13962 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13963 Fix typos in docstrings.
13965 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13967 * mail/sendmail.el (mail-yank-original): Set the mark if the
13968 specified function for yanking does not do it.
13970 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13972 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13974 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13975 resyncing a directory.
13977 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13979 * progmodes/ada-mode.el: Fix bug#1920.
13980 (ada-ident-re): Delete ., allow multibyte characters.
13981 (ada-goto-label-re): New; matches goto labels.
13982 (ada-block-label-re): New; matches block labels.
13983 (ada-label-re): New; matches both.
13984 (ada-named-block-re): Delete; callers changed to use
13985 `ada-block-label-re' instead.
13986 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13987 Use `ada-block-label-re'.
13988 (ada-indent-on-previous-lines): Improve handling of goto labels.
13989 (ada-get-indent-block-start): Special-case block label.
13990 (ada-get-indent-label): Split into `ada-indent-block-label' and
13991 `ada-indent-goto-label'.
13992 (ada-goto-stmt-start, ada-goto-next-non-ws):
13993 Optionally ignore goto labels.
13994 (ada-goto-next-word): Simplify.
13995 (ada-indent-newline-indent-conditional): Insert newline before
13996 trying to fix indentation; doc fix.
13998 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14000 * calc/calc.el (calc-command-flags): Give it an initial value.
14002 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14004 * files.el (minibuffer-with-setup-hook):
14005 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14006 (artist-key-draw-continously, artist-key-do-continously-continously)
14007 (artist-key-set-point-continously, artist-mouse-draw-continously):
14008 Fix typos in docstrings.
14010 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14012 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14013 Never return t (Bug#3898).
14015 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14017 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14018 can parse the output of the external commands (Bug#5279).
14020 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14022 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14024 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14026 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14028 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14030 * startup.el (command-line): Remove unused --icon-type arg.
14031 Handle --display arg, passing it to command-line-1 (Bug#5392).
14033 2010-01-16 Mario Lang <mlang@delysid.org>
14035 * emacs-lisp/chart.el (chart-translate-namezone):
14036 * textmodes/artist.el (artist-compute-popup-menu-table):
14037 Remove duplicated words in doc-strings.
14039 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14041 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14042 to mairix-search to suppress threading (Bug#5342).
14044 2010-01-15 Kenichi Handa <handa@m17n.org>
14046 * international/mule-cmds.el (canonicalize-coding-system-name):
14047 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14049 2010-01-15 Glenn Morris <rgm@gnu.org>
14051 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14053 * wid-edit.el (widget-keymap): Doc fix.
14055 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14056 former seems to be more widely accepted by various svn versions.
14058 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14060 * find-cmd.el (find-constituents):
14061 * vc-arch.el (vc-arch-root):
14062 * window.el (window-body-height, pop-up-frames):
14063 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14064 * progmodes/ada-stmt.el (ada-if):
14065 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14066 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14067 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14068 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14070 * progmodes/flymake.el (flymake-post-syntax-check):
14071 Fix typo in error message.
14073 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14075 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14076 which is always a string. (Bug#5313)
14078 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14080 * progmodes/ada-xref.el (ada-default-prj-properties):
14081 Simplify previous change.
14083 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14085 * progmodes/ada-xref.el (ada-default-prj-properties):
14086 Default ada_project_path to $ADA_PROJECT_PATH.
14088 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14090 * progmodes/ada-mode.el (ada-create-keymap):
14091 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14093 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14095 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14096 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14097 (ada-get-current-indent, ada-imenu-generic-expression)
14098 (ada-which-function): Check for it.
14100 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14102 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14103 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14105 2010-01-14 Glenn Morris <rgm@gnu.org>
14107 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14109 2010-01-14 Kenichi Handa <handa@m17n.org>
14111 * composite.el (auto-composition-mode): Make it a buffer local
14112 variable (permanent-local).
14113 (auto-composition-function): Set the default value to
14114 auto-compose-chars.
14115 (auto-composition-mode): Make it a simple function, not a minor mode.
14116 (global-auto-composition-mode): Likewise.
14117 (turn-on-auto-composition-if-enabled): Delete it.
14119 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14121 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14123 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14125 * files.el (copy-directory): Compute target for recursive
14126 directories with identical names. (Bug#5343)
14128 2010-01-12 Glenn Morris <rgm@gnu.org>
14130 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14131 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14133 2010-01-11 Sam Steingold <sds@gnu.org>
14135 * imenu.el (imenu-default-create-index-function): Detect infinite
14136 loops caused by imenu-prev-index-position-function.
14138 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14140 * htmlfontify.el (htmlfontify-load-rgb-file)
14141 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14142 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14143 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14144 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14145 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14146 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14147 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14148 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14149 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14150 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14151 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14152 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14153 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14154 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14155 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14156 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14157 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14158 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14159 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14160 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14161 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14162 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14163 backslash-quoting from parentheses, etc.
14165 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14167 * progmodes/js.el: Autoload javascript-mode alias.
14169 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14171 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14172 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14173 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14174 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14175 Fix typos in docstrings.
14176 (ffap-url-regexp): Doc fix.
14177 (ffap-at-mouse): Fix typo in message.
14179 2010-01-11 Glenn Morris <rgm@gnu.org>
14181 * version.el (emacs-copyright): Set copyright year to 2010.
14183 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * format.el (format-annotate-function): Only set
14186 write-region-post-annotation-function after running to-fn so as not to
14187 affect nested write-region calls (bug#5273).
14189 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14191 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14194 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14196 * man.el (Man-goto-section): Signal error if the section is not
14199 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14201 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14202 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14204 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14206 * progmodes/compile.el: Don't treat compile-command as safe if
14207 compilation-read-command might be nil (Bug#4218).
14209 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14211 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14214 2010-01-08 Kenichi Handa <handa@m17n.org>
14216 * international/fontset.el (build-default-fontset-data):
14217 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14219 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14221 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14222 to `create-file-buffer' as it expects, not just a buffer name.
14223 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14224 to help uniquify. (Bug#3224)
14226 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14228 * font-setting.el (font-setting-change-default-font): Use user-spec
14231 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14233 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14235 2010-01-05 Tom Tromey <tromey@redhat.com>
14237 * progmodes/python.el (python-font-lock-keywords):
14238 Handle qualified decorators (Bug#881).
14240 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14242 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14243 in a lightweight checkout.
14245 2010-01-05 Kenichi Handa <handa@m17n.org>
14247 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14249 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14251 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14253 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14255 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14256 checkouts. (Bug#618)
14257 (vc-bzr-log-view-mode): Also highlight the author.
14258 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14259 (vc-bzr-shelve-menu-map):
14260 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14261 (vc-bzr-shelve-apply): Make prompt more explicit.
14263 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14265 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14266 They are valid characters in URL paths (rfc3986), and at least
14267 Firefox does not understand the encoded version (Bug#3166).
14269 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14271 * progmodes/octave-mod.el (octave-end-keywords)
14272 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14273 Add "end" keyword (Bug#3061).
14274 (octave-end-as-array-index-p): New function.
14275 (calculate-octave-indent): Use it.
14277 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14279 * bookmark.el: Consistently put the text property on the bookmark name.
14280 (bookmark-bmenu-marks-width): Bump back to 2, to include
14282 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14283 property on the bookmark name, instead of not putting it at all.
14284 (bookmark-bmenu-list): Fix where we put the text property.
14286 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14288 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14289 for showing buffer modified state (as added in the previous change).
14291 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14293 * bookmark.el: Show modified state of bookmark buffer more accurately.
14294 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14295 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14296 (with-buffer-modified-unmodified): New macro.
14297 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14298 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14299 Use new macro to preserve the buffer modified state.
14301 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14303 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14304 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14305 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14306 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14307 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14308 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14309 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14311 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14313 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14314 Make the lines in the generated doc string shorter. (Bug#4668)
14316 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14318 * net/rcirc.el: Add follow-link binding (Bug#4738).
14320 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14322 * Makefile.in (bzr-update): Rename from cvs-update.
14323 (cvs-update): New target for backward compatibility.
14325 * makefile.w32-in (bzr-update): Rename from cvs-update.
14326 (cvs-update): New target for backward compatibility.
14328 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14330 * bookmark.el: Remove gratuitous gratitude.
14332 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14334 * bookmark.el (bookmark-bmenu-any-marks): New function.
14335 (bookmark-bmenu-save): Clear buffer modification if no marks.
14337 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14339 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14340 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14341 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14342 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14344 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14345 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14346 To: emacs-devel {_AT_} gnu.org
14347 Subject: bookmark.el bug report
14348 Date: Mon, 28 Dec 2009 14:19:16 +0800
14349 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14351 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14353 * bookmark.el: Improvements suggested by Drew Adams:
14354 (bookmark-bmenu-ensure-position): New name for
14355 `bookmark-bmenu-check-position'. Just ensure the position,
14356 don't return any meaningful value.
14357 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14360 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14362 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14363 (bookmark-yank-point, bookmark-bmenu-check-position):
14364 Fix typos in docstrings.
14365 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14366 (bookmark-name-from-full-record, bookmark-get-position)
14367 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14368 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14369 Remove useless quoting of parenthesis, etc. in docstrings.
14371 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14372 (ediff-append-custom-diff): Fix typo in error message.
14373 (ediff-meta-mark-equal-files): Fix typos in messages.
14375 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14377 * net/imap-hash.el (imap-hash-make): Doc fix.
14378 (imap-hash-test): Fix typo in error message; reflow docstring.
14379 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14380 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14381 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14382 Fix typos in docstrings.
14383 (imap-hash-open-connection): Fix typo in error message.
14385 * play/gomoku.el (gomoku): Fix typos in docstring.
14387 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14388 (gdb-jsonify-buffer): Fix typos in docstring.
14389 (gdb-goto-breakpoint): Fix typo in error message.
14390 ("Display Other Windows"): Fix typo in help message.
14391 (gdb-speedbar-expand-node): Fix typo in question.
14393 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14394 (idlwave-html-system-help-location, idlwave-html-help-location)
14395 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14396 (idlwave-help-browser-generic-args, idlwave-help-directory)
14397 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14398 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14399 (idlwave-online-help, idlwave-help-html-link)
14400 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14401 Fix typos in docstrings.
14402 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14404 (idlwave-help-assistant-start): Fix typo in error message.
14406 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14407 (octave-electric-space): Fix typos in docstrings.
14409 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14411 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14413 2010-01-01 Juri Linkov <juri@jurta.org>
14415 * comint.el (comint-input-ring-size): Make it a defcustom and
14416 increase the default to 500 (Bug#5148).
14418 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14420 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14421 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14422 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14424 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14426 Show working revision correctly for mercurial.
14427 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14428 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14430 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14432 Declare some functions for the byte-compiler.
14433 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14434 (speedbar-timer-fn, speedbar-change-expand-button-char)
14435 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14437 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14439 This changeset reverts GDB Graphical Interface to use annotations.
14440 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14442 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14444 Make vc-dir work on subdirectories of the bzr root.
14445 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14446 Return file names relative to it.
14447 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14448 relative directory to vc-bzr-after-dir-status.
14450 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14452 * font-lock.el (font-lock-refresh-defaults): New function, which
14453 can be used to let font-lock react to external changes in
14454 variables like font-lock-defaults and keywords.
14455 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14457 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14459 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14461 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14463 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14465 Supersede color.diff settings in git log (bug#5211).
14467 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14468 escape chars in its output when the user has color.diff set to `always'.
14469 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14471 2009-12-26 Kevin Ryde <user42@zip.com.au>
14473 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14474 node. Keep previous "Index" name to work with past coreutils too.
14476 * man.el (man): Revise docstring a bit to show -a and -l as
14477 examples. Add -k description since support for it has otherwise
14478 been a secret. (Further to bug#3717.)
14479 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14480 "no matches" rather than "Can't find manpage", as the latter reads
14481 like -k was interpreted as a page name, which is not so. (Bug#5431)
14483 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14485 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14486 switches. Check also for //SUBDIRED// line.
14488 2009-12-25 Kenichi Handa <handa@m17n.org>
14490 * language/indian.el (devanagari-composable-pattern): Fix to
14491 handle ZWNJ and ZWJ. Use it in composition-function-table for
14493 (malayalam-composable-pattern): Fix previous change.
14495 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14497 * ps-print.el (ps-face-attributes): It was not returning the
14498 attribute face for faces specified as string. Reported by harven
14499 <harven@free.fr>. (Bug#5254)
14500 (ps-print-version): New version 7.3.5.
14502 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14504 * calendar/icalendar.el (icalendar--convert-tz-offset):
14505 Fix timezone names.
14506 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14507 (icalendar--add-diary-entry): Remove the trailing blank that
14508 diary-make-entry inserts.
14510 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14512 Make `file-expand-wildcards' work for remote files.
14514 * files.el (file-expand-wildcards): In case of remote files, check
14515 only local file name part for wildcards. Provide feature 'files
14516 and subfeature 'remote-wildcards. (Bug#5198)
14518 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14519 if there is already an established connection.
14520 (tramp-advice-file-expand-wildcards): Remove it.
14522 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14523 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14524 Activate advice for older GNU Emacs versions. (Bug#5237)
14526 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14528 Some doc fixes (more needed).
14530 * find-cmd.el (find-constituents): Reflow docstring.
14531 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14532 (find-generic): Doc fix.
14534 2009-12-17 Juri Linkov <juri@jurta.org>
14536 Fix regression from 23.1 to allow multiple modes in Local Variables.
14538 * files.el (hack-local-variables-filter): While ignoring duplicates,
14539 don't take `mode' into account.
14540 (hack-local-variables-filter, hack-dir-local-variables):
14541 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14543 2009-12-17 Juri Linkov <juri@jurta.org>
14545 Make `dired-diff' safer. (Bug#5225)
14547 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14548 `current' or when `file' is a directory of the `current' file.
14550 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14552 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14553 unconditionally preloaded files.
14555 2009-12-16 Juri Linkov <juri@jurta.org>
14557 Revert to old 23.1 logic of using the file at the mark as default.
14558 * dired-aux.el (dired-diff): Use the file at the mark as default
14559 if it's not the same as the current file, and the target dir is
14560 the current dir or the mark is active. Add the current file
14561 as the arg of `dired-dwim-target-defaults'. Use the default file
14562 in the prompt. (Bug#5225)
14564 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14566 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14567 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14568 (tramp-check-for-regexp): Check also, when an echoing shell stops
14569 to echo sent commands.
14571 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14573 * Makefile.in: Revert last change (Bug#5191).
14575 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14577 * vc-hg.el (vc-hg-print-log): Fix argument order.
14578 (vc-hg-working-revision): Make sure the command is executed in a
14579 known environment so that we can parse the output. (Bug#4417)
14581 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14583 * progmodes/python.el (python-symbol-completions): Remove text
14584 properties from symbol string before calling python-send-receive.
14586 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14588 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14589 when there are values for both file and line. (Bug#5060)
14591 2009-12-14 Juri Linkov <juri@jurta.org>
14593 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14594 whitespace after the file name of the first line of unified format,
14595 because git-diff doesn't output whitespace and file modification time
14596 after the file name.
14598 2009-12-14 David Kastrup <dak@gnu.org>
14600 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14601 check if it already has the `display' property added by
14602 `Info-display-images-node', and not put the `invisible' property
14605 2009-12-13 Glenn Morris <rgm@gnu.org>
14607 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14608 (report-emacs-bug): In message-mode, sort manually before storing
14609 original report text. (Bug#5178)
14610 Remove superfluous save-excursion.
14612 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14614 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14615 when responding to "GetAll" properties.
14617 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14619 * simple.el (compose-mail): Remove mail-setup-with-from from
14620 customization checks.
14622 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14624 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14625 RAR archives created on Unix systems.
14627 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14629 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14630 the varalias that was accidentally removed by the 2009-11-19 change
14633 2009-12-12 Kenichi Handa <handa@m17n.org>
14635 * language/indian.el (indian-compose-regexp): New function.
14636 (malayalam-composable-pattern): Fix the pattern.
14637 (composition-function-table): Set malayalam-composable-pattern for
14638 Malayalam characters.
14640 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14642 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14643 rather than down-mouse-1, based on follow-link conventions.
14645 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14648 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14650 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14651 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14652 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14653 (verilog-leap-to-head, verilog-backward-token):
14654 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14656 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14658 * progmodes/verilog-mode.el (verilog-auto-lineup)
14659 (verilog-nameable-item-re): Cleanup user-visible spelling and
14660 documentation errors. One reported by Gary Delp.
14661 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14662 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14663 package, bug195. Reported by Pierre-David Pfister.
14665 2009-12-11 Glenn Morris <rgm@gnu.org>
14667 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14669 * mail/emacsbug.el: No longer require sendmail.
14670 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14671 (report-emacs-bug-orig-text): Doc fix.
14672 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14673 New local variables, to adapt to different mail-user-agents.
14674 (report-emacs-bug): Fix test for a gnu.org address.
14675 Use overlays for emphasis, since font-lock defeats 'face property.
14676 Pretest bugs also end up at the newsgroup these days.
14677 Stop message-mode stripping text properties.
14678 Set and use the new buffer-local variables.
14679 (report-emacs-bug-hook): Add doc-string.
14680 Remove some unnecessary save-excursions and simplify.
14681 Use the appropriate hook and send-command.
14683 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14684 capitalization of some menu entries.
14686 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14688 * whitespace.el (whitespace-display-char-on):
14689 Ensure `buffer-display-table' is unique when two or more windows are
14690 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14693 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14695 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14696 characters in the Attribute field.
14698 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14700 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14702 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14704 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14705 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14706 Disregard autoload-excludes.
14707 (update-directory-autoloads): Obey autoload-excludes here instead.
14708 But don't store its contents in no-autoloads and remove entries that
14709 refer to excludes files.
14711 2009-12-10 Glenn Morris <rgm@gnu.org>
14713 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14714 (expand-mail-aliases): Define for compiler.
14716 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14717 Define for compiler.
14719 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14720 appropriate for the mail-user-agent in use.
14722 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14724 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14726 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14728 Fix short log parsing and fontification.
14729 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14730 Fix fontification for the [merge] label.
14732 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14734 Drop some properties to avoid surprises (bug#5002).
14735 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14736 (hfy-fontify-buffer): Use it.
14738 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14741 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14742 Adjust all callers.
14743 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14744 args compulsory. Adjust callers.
14745 (ffap-gopher-at-point): Remove unused var `name'.
14747 Get rid of the ELCFILES abomination.
14748 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14749 (compile-elcfiles): New phony target.
14750 (compile-main): Compute ELCFILES dynamically.
14751 (compile-clean): New target to remove left-over elc files.
14752 (compile, all): Use it.
14754 2009-12-09 Kenichi Handa <handa@etlken>
14756 * international/mule-diag.el: Require help-mode instead of help-fns.
14758 2009-12-09 Kenichi Handa <handa@m17n.org>
14760 * international/mule-cmds.el (ucs-names): Supply sufficiently
14761 fine ranges instead of pre-calculating accurate ranges.
14762 Iterate with bigger gc-cons-threshold.
14764 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14766 Add support for stashing a snapshot of the current tree.
14767 * vc-git.el (vc-git-stash-snapshot): New function.
14768 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14770 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14772 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14773 instead of `(beginning|end)-of-line'.
14775 2009-12-08 Glenn Morris <rgm@gnu.org>
14777 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14779 * Makefile.in (ELCFILES): Regenerate.
14781 2009-12-07 Juri Linkov <juri@jurta.org>
14783 Don't lazy-highlight the comint output in history Isearch mode.
14785 * comint.el (comint-history-isearch-search): Instead of
14786 `comint-line-beginning-position', use `comint-after-pmark-p'
14787 to check if point if before the process mark, and go to
14788 `process-mark' in this case.
14790 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14792 * textmodes/tex-mode.el (latex-complete)
14793 (latex-indent-or-complete): Remove.
14794 (latex-mode): Set completion-at-point-functions instead.
14796 Provide a standard completion command and hook it into TAB.
14797 * minibuffer.el (completion-at-point-functions): New var.
14798 (completion-at-point): New command.
14799 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14800 * progmodes/python.el (python-mode-map): Use completion-at-point.
14801 (python-completion-at-point): Rename from python-partial-symbol and
14802 adjust for use in completion-at-point-functions.
14803 (python-mode): Setup completion-at-point for Python completion.
14804 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14805 extracted from lisp-complete-symbol.
14806 (lisp-complete-symbol): Use it.
14807 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14808 setup completion-at-point for Elisp completion.
14809 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14810 Use completion-at-point.
14811 * ielm.el (ielm-map): Use completion-at-point.
14812 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14813 * progmodes/sym-comp.el: Move to...
14814 * obsolete/sym-comp.el: Move from progmodes.
14816 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14818 Prevent save-buffer in Rmail buffers from using the coding-system
14819 of the current message, and from clobbering the encoding mnemonics
14820 in the mode line (Bug#4623).
14822 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14824 (rmail-message-encoding): New variable.
14825 (rmail-write-region-annotate): Record the encoding of the current
14826 message in rmail-message-encoding.
14827 (rmail-after-save-hook): New function, restores the encoding of
14828 the current message after the message collection is saved.
14830 2009-12-07 Juri Linkov <juri@jurta.org>
14832 * progmodes/grep.el (grep-read-files): Use `completing-read'
14833 instead of `read-string'. Set its `collection' arg to
14834 `read-file-name-internal'. (Bug#4301)
14836 2009-12-07 Juri Linkov <juri@jurta.org>
14838 Correctly restore original Isearch point. (Bug#4994)
14840 * isearch.el (isearch-mode): Move `isearch-push-state' after
14841 `(run-hooks 'isearch-mode-hook)'.
14842 (isearch-cancel): When `isearch-push-state-function' is defined,
14843 let-bind `isearch-cmds' to the first state (the last element of
14844 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14845 function and restores the original point). Otherwise, move point
14846 to `isearch-opoint'.
14848 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14850 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14851 chars that don't have names, so the table can be built much faster at
14854 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14856 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14857 change. Suggested by David Kastrup.
14859 * simple.el (compose-mail): Check for incompatibilities and warn.
14860 (compose-mail-user-agent-warnings): New option.
14862 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14864 Support showing a single log entry from vc-annotate.
14865 * vc.el (print-log): Add a new argument: START-REVISION.
14866 (vc-print-log-internal): Add a new optional argument and
14867 pass it to the backend.
14868 (vc-print-log, vc-print-root-log): Adjust callers.
14869 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14870 buffer already displays the requested log entry, use it.
14871 Otherwise display only the log entry in question.
14872 * vc-svn.el (vc-svn-print-log):
14873 * vc-mtn.el (vc-mtn-print-log):
14874 * vc-hg.el (vc-hg-state):
14875 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14876 (vc-git-show-log-entry): Return t on success.
14877 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14878 (vc-bzr-show-log-entry): Return t on success.
14879 * vc-rcs.el (vc-rcs-print-log):
14880 * vc-sccs.el (vc-sccs-print-log):
14881 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14883 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14885 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14886 Add menus to the meta mode. (Bug#5043)
14888 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14890 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14893 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14895 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14897 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14898 Berbain <raphael.berbain@gmail.com>.
14900 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14902 (tramp-initial-end-of-output): New defconst.
14903 (tramp-methods, tramp-find-shell)
14904 (tramp-open-connection-setup-interactive-shell)
14905 (tramp-maybe-open-connection): Use it.
14906 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14907 Handle existence of `#' and `$'.
14909 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14910 Use `tramp-initial-end-of-output'.
14912 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14914 Get the background mode from the terminal for xterm, and set
14916 * term/xterm.el (xterm-set-background-mode): New function.
14917 (terminal-init-xterm): Use it in case xterm supports background
14918 color queries. Recompute faces after getting the background
14921 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14923 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14924 number comment back on its own line, for easier parsing.
14926 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14928 Make it work for non-file buffers (bug#5102).
14929 * doc-view.el (doc-view-current-cache-dir):
14930 Use doc-view-buffer-file-name rather than buffer-file-name.
14931 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14933 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14935 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14936 author field is too short.
14938 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14940 * vc-git.el (vc-git-print-log): Handle a limit argument.
14941 Display the short log in graph form and with labels.
14942 (vc-git-log-view-mode): Handle labels.
14944 Make vc-revert change VC state from 'added to 'unregistered.
14945 * vc-git.el (vc-git-revert): Call git reset first.
14947 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14949 * net/newst-backend.el, net/newst-plainview.el:
14950 * net/newst-reader.el, net/newst-ticker.el:
14951 * net/newst-treeview.el, net/newsticker.el:
14952 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14954 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14956 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14958 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14959 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14960 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14961 Update annotation regexp.
14963 * simple.el (beginning-of-visual-line): Constrain to field
14964 boundaries (Bug#5106).
14966 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14968 * xml.el (xml-substitute-numeric-entities):
14969 Move newsticker--decode-numeric-entities in newst-backend.el to
14970 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14971 * net/newst-backend.el (newsticker--parse-generic-feed)
14972 (newsticker--parse-generic-items)
14973 (newsticker--decode-numeric-entities):
14974 Move newsticker--decode-numeric-entities in newst-backend.el to
14975 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14977 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14979 * progmodes/js.el (js--js-not): Add null to the list of values.
14981 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14983 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14985 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14987 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14988 delimiter if it is at the end of the current line.
14989 (bibtex-generate-url-list): Fix docstring.
14991 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14993 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14994 minibuffer's content with itself.
14995 Fold the confirm-after-completion case into the `confirm' case.
14996 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14998 2009-12-06 Kevin Ryde <user42@zip.com.au>
15000 * ffap.el (ffap-rfc-path): Make this a defcustom since
15001 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15003 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15004 manuals, similar to existing setup for help-mode. (Bug#3913.)
15006 2009-12-05 Juri Linkov <juri@jurta.org>
15008 Save and restore dired buffer's point positions too. (Bug#4880)
15010 * dired.el (dired-save-positions): Return in the first element
15011 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15013 (dired-restore-positions): First restore buffer's position.
15014 While restoring window's positions, check if window still displays
15015 the original buffer.
15017 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15019 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15022 * shell.el (shell): Require ansi-color (Bug#5113).
15024 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15026 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15028 2009-12-05 Alan Mackenzie <acm@muc.de>
15030 * progmodes/cc-mode.el (c-before-hack-hook)
15031 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15032 `c-file-style' to work again. This reversion restores the current
15033 software to its state in Emacs 23.1. (Bug#4146)
15035 2009-12-05 Kevin Ryde <user42@zip.com.au>
15037 * textmodes/sgml-mode.el (sgml-lexical-context):
15038 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15040 2009-12-05 Juri Linkov <juri@jurta.org>
15042 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15043 for virtual nodes. (Bug#4147)
15044 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15045 when moving from a virtual node.
15046 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15047 (Info-mode): Add `Info-virtual-index' to the docstring.
15049 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15051 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15052 track of the buffer position of the end of a BibTeX entry as this
15053 position may change during reformatting.
15054 (bibtex-format-entry): Remove whitespace before processing
15055 numerical fields so that we recognize the latter properly.
15056 (bibtex-reformat): Do not use push which changes the global value
15057 of bibtex-entry-format.
15058 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15059 (bibtex-field-re-init): Replace only space characters by regexp
15061 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15062 (bibtex-initialize): Also update bibtex-strings.
15063 (bibtex-kill-field): Preserve white space at end of entry.
15064 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15065 Update bibtex-reference-keys.
15067 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15069 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15070 point after a star, if that's the only place where modifications can
15073 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15075 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15078 2009-12-04 Juri Linkov <juri@jurta.org>
15080 * proced.el (proced): Call `(proced-update t)' to update process
15081 information instead of only running proced-post-display-hook.
15082 (proced-send-signal): Add a leading space to the buffer name
15083 " *Marked Processes*" to make this buffer ephemeral.
15085 2009-12-04 Juri Linkov <juri@jurta.org>
15087 * dired.el (dired-auto-revert-buffer): New defcustom.
15088 (dired-internal-noselect): Use it.
15090 2009-12-04 Juri Linkov <juri@jurta.org>
15092 Change roles of modes and functions in image-mode.el (Bug#5062).
15094 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15095 in `auto-mode-alist'.
15096 (image-mode-previous-major-mode): New variable.
15097 (image-minor-mode-map): Rename from `image-mode-text-map'.
15098 (image-mode): Move graceful error-handling code from
15099 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15100 (image-minor-mode): Remove all image-handling code.
15101 Replace `image-mode-text-map' with `image-minor-mode-map'.
15102 Check for `image-type' in mode-line format string.
15103 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15104 (image-mode-as-text): New function with most code from
15105 `image-mode-maybe'.
15106 (image-toggle-display-text): Move code that removes image
15107 properties from `image-toggle-display' to here.
15108 (image-toggle-display-image): New function with code that adds
15109 image properties copied from `image-toggle-display'.
15110 (image-toggle-display): Remove most code with leaving only code
15111 that toggles between `image-mode-as-text' and `image-mode'.
15113 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15115 * net/newst-treeview.el
15116 (newsticker--treeview-list-highlight-start): Restored call to
15117 save-excursion: Selected item was stuck.
15118 (newsticker--treeview-list-select): New.
15119 (newsticker--treeview-item-show-text)
15120 (newsticker--treeview-item-show)
15121 (newsticker--treeview-item-update): Use new
15122 newsticker-treeview-item-mode.
15123 (newsticker-treeview-update): Keep current item.
15124 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15125 (newsticker--treeview-first-feed): Doc change.
15126 (newsticker-treeview-list-menu)
15127 (newsticker-treeview-item-menu): Add menu entries.
15128 (newsticker-treeview-item-mode): New.
15130 * net/newst-backend.el (newsticker-customize): Delete other
15133 2009-12-04 Sam Steingold <sds@gnu.org>
15135 * log-view.el (log-view-mode-map): "q" calls quit-window,
15136 like in all the other non-self-insert buffers.
15138 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15141 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15142 key decoding rather than do it manually via last-input-event +
15144 (term-exec): Use delete-and-extract-region.
15145 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15146 (term-process-pager): Remove unused var `i'.
15147 (term-dynamic-simple-complete): Make obsolete.
15148 (serial-update-config-menu): Remove unused vars `y' and `str'.
15149 (term-update-mode-line): Remove unused var `temp'.
15151 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15153 Limit the number of log entries displayed by default.
15154 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15155 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15156 using a prefix argument.
15158 2009-12-03 Glenn Morris <rgm@gnu.org>
15160 * progmodes/idlwave.el (class): Restore still useful declaration.
15162 2009-12-03 Alan Mackenzie <acm@muc.de>
15164 Enhance `c-parse-state' to run efficiently in "brace deserts".
15166 * progmodes/cc-mode.el (c-basic-common-init):
15167 Call c-state-cache-init.
15168 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15169 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15170 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15172 * progmodes/cc-langs.el (c-before-font-lock-function):
15173 c-extend-and-neutralize-syntax-in-CPP has been renamed
15174 c-neutralize-syntax-in-and-mark-CPP.
15176 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15177 with `category' properties now, not `syntax-table' ones.
15179 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15180 enhanced (but slower) version of c-end-of-macro that won't land
15181 inside a literal or on another awkward character.
15182 (c-state-cache-too-far, c-state-cache-start)
15183 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15184 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15185 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15186 (c-state-min-scan-pos, c-state-brace-pair-desert)
15187 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15188 buffer local variables.
15189 (c-state-literal-at, c-state-lit-beg)
15190 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15191 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15192 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15193 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15194 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15195 (c-renarrow-state-cache)
15196 (c-append-lower-brace-pair-to-state-cache)
15197 (c-state-push-any-brace-pair, c-append-to-state-cache)
15198 (c-remove-stale-state-cache)
15199 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15200 (c-invalidate-state-cache-1, c-parse-state-1)
15201 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15202 (c-parse-state): Enhance and refactor.
15203 (c-debug-parse-state): Amend to deal with all the new variables.
15205 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15206 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15207 modify to use category text properties rather than syntax-table ones.
15208 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15209 to switch off/on the syntactic paren property of C++ template
15210 delimiters using the category property.
15211 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15212 template delims suppressed.
15213 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15214 New constant/macros which apply category properties to the start
15215 and end of preprocessor constructs.
15216 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15217 "comment out" the syntactic value of characters in preprocessor
15219 (c-with-cpps-commented-out)
15220 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15221 with characters in all or all but one preprocessor constructs
15224 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15226 * proced.el (proced-filter-alist): Use regexp-quote.
15228 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15231 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15232 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15233 arguments. Expand `default-directory'.
15235 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15236 the benefit of returning an expanded localname.
15237 (tramp-tramp-file-p): Handle the case NAME is not a string.
15239 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15241 Add support for bzr shelve/unshelve.
15242 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15243 (vc-bzr-extra-menu-map): New variables.
15244 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15245 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15246 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15247 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15248 (vc-bzr-dir-extra-headers): Display shelves.
15250 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15252 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15254 * textmodes/bibtex.el (bibtex-complete-internal):
15255 Use completion-in-region.
15256 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15258 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15260 Support applying stashes. Improve UI.
15261 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15262 (vc-git-stash-apply, vc-git-stash-pop)
15263 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15264 (vc-git-stash-menu): New functions.
15265 (vc-git-stash-menu-map): New variable.
15266 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15268 2009-12-03 Glenn Morris <rgm@gnu.org>
15270 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15271 (vc-print-log-internal): Fix previous change.
15272 (vc-revert): Correct pluralization.
15274 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15276 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15277 it to be an alist any more.
15278 (makefile-complete): Use completion-in-region.
15280 * progmodes/octave-mod.el (octave-complete-symbol):
15281 Use completion-in-region.
15284 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15285 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15286 (idlwave-complete-class): Don't quote lambda.
15287 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15288 (idlwave-mode-map): Move initialization into declaration.
15289 (idlwave-action-and-binding): Use backquotes.
15290 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15292 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15293 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15294 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15295 `parts', and `all-parts'.
15296 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15297 (idlwave-convert-xml-system-routine-info): Remove unused string
15299 (idlwave-display-user-catalog-widget): Use dolist.
15300 (idlwave-scanning-lib): Declare dynamically-scoped var.
15301 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15302 (completion-highlight-first-word-only): Declare to silence bytecomp.
15303 (idlwave-popup-select): Tighten scope of `resp'.
15304 (idlwave-find-struct-tag): Remove unused var `beg'.
15305 (idlwave-after-load-rinfo-hook): Declare.
15306 (idlwave-sintern-class-info): Remove unused var `taglist'.
15307 (idlwave-find-class-definition): Remove unused var `list'.
15308 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15309 (idlwave-what-module-find-class): Remove unused var `classes'.
15311 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15313 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15315 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15317 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15318 buffers visited. Remove redundant current-buffer-saving.
15320 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15322 Use completion-in-buffer and remove uses of dynamic scoping.
15323 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15324 (pascal-buffer-to-use, pascal-flag): Don't declare.
15325 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15326 (pascal-get-completion-decl, pascal-keyword-completion):
15327 Add `pascal-str' argument, save-excursion,
15328 return the found completions, and don't filter with pascal-pred.
15329 (pascal-completion-cache): New var.
15330 (pascal-completion): Don't switch buffer any more (it was never
15331 necessary). Don't save-excursion any more (it's done by the called
15332 subroutines). Use a cache to avoid redundant computations.
15333 Use complete-with-action rather than pascal-completion-response and
15334 let it apply the predicate as well.
15335 (pascal-complete-word): Use completion-in-buffer when
15336 pascal-toggle-completions is nil.
15337 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15339 (pascal-comp-defun): Don't change buffer any more.
15340 Use complete-with-action rather than pascal-completion-response and
15341 let it apply the predicate as well.
15342 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15345 2009-12-02 Kenichi Handa <handa@m17n.org>
15347 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15348 shape for all Indic scripts.
15350 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15352 Use completion-in-buffer.
15353 * wid-edit.el (widget-field-text-end): New function.
15354 (widget-field-value-get): Use it.
15355 (widget-string-complete, widget-file-complete)
15356 (widget-color-complete): Use it and completion-in-region.
15357 (widget-complete): Don't narrow the buffer.
15359 2009-12-02 Glenn Morris <rgm@gnu.org>
15361 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15362 (rmail-select-summary): Use rmail-pop-to-buffer.
15363 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15364 rmail-pop-to-buffer, to prevent horizontal splits.
15366 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15367 save-excursion with save-current-buffer.
15368 Widen before searching. (Bug#5093)
15369 (diary-list-sexp-entries): Remove superfluous save-excursion.
15371 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15373 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15376 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15378 * ido.el (ido-file-internal): Handle filenames at point that do
15379 not have a directory part. (Bug#5049)
15381 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15383 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15384 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15386 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15388 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15389 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15392 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15394 * comint.el (comint-insert-input): Ignore clicks to the right of
15395 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15397 * vc.el (vc-print-log-internal): Don't wait for the process to
15398 terminate before setting up the major mode.
15400 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15403 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15406 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15408 2009-12-01 Glenn Morris <rgm@gnu.org>
15410 * window.el (window--display-buffer-2): Fix previous changes.
15412 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15414 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15416 2009-12-01 Glenn Morris <rgm@gnu.org>
15418 * Makefile.in (ELCFILES): Add mpc.elc.
15420 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15422 * mpc.el: New file.
15424 2009-12-01 Glenn Morris <rgm@gnu.org>
15426 * window.el (window-to-use): Define for compiler.
15428 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15429 consistent with others (no final period).
15431 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15432 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15434 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15436 Make vc-print-log buttons work.
15437 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15439 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15441 * savehist.el (savehist-autosave-interval): Allow setting to nil
15442 through customize. (Bug#5056)
15444 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15446 Fix references to jit-lock properties.
15447 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15448 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15449 (perl-font-lock-special-syntactic-constructs):
15450 Quote jit-lock-defer-multiline property.
15452 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15454 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15456 2009-11-30 Juri Linkov <juri@jurta.org>
15458 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15459 value `buffer' of `multi-isearch-next-buffer-current-function'.
15460 Use `(current-buffer)' when `buffer' is nil.
15461 (multi-isearch-next-buffer-from-list): Don't fallback to
15462 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15464 2009-11-30 Juri Linkov <juri@jurta.org>
15466 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15467 of buffers with `get-buffer' to `multi-isearch-buffers'.
15468 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15469 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15470 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15471 FILES with `expand-file-name' converting relative file names
15472 to absolute. Doc fix. (Bug#4727)
15474 2009-11-30 Juri Linkov <juri@jurta.org>
15476 * misearch.el (multi-isearch-read-buffers)
15477 (multi-isearch-read-matching-buffers): New functions.
15478 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15479 Use them in the `interactive' spec. Doc fix.
15480 (multi-isearch-read-files, multi-isearch-read-matching-files):
15482 (multi-isearch-files, multi-isearch-files-regexp):
15483 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15485 2009-11-30 Juri Linkov <juri@jurta.org>
15487 * doc-view.el (doc-view-continuous):
15488 Rename from `doc-view-continuous-mode'.
15489 (doc-view-menu): Move "Toggle display" to the top.
15490 Add submenu "Continuous" with radio buttons "Off"/"On"
15491 and "Save as Default".
15492 (doc-view-scroll-up-or-next-page)
15493 (doc-view-scroll-down-or-previous-page)
15494 (doc-view-next-line-or-next-page)
15495 (doc-view-previous-line-or-previous-page):
15496 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15498 2009-11-30 Juri Linkov <juri@jurta.org>
15500 * comint.el (comint-mode-map): Rebind `M-r' from
15501 `comint-previous-matching-input' to
15502 `comint-history-isearch-backward-regexp'.
15503 Unbind `M-s' to allow global key binding `M-s'.
15504 Add menu items for `comint-history-isearch-backward' and
15505 `comint-history-isearch-backward-regexp'. (Bug#3746)
15507 2009-11-30 Juri Linkov <juri@jurta.org>
15509 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15510 For def=recenter, replace `recenter' with `recenter-top-bottom'
15511 that is called with `this-command' and `last-command' let-bound
15512 to `recenter-top-bottom'. When the last `def' was not `recenter',
15513 set `recenter-last-op' to nil. (Bug#4981)
15515 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15517 Minor cleanup and simplification.
15518 * filecache.el (file-cache-add-directory)
15519 (file-cache-add-directory-recursively)
15520 (file-cache-add-from-file-cache-buffer)
15521 (file-cache-delete-file-regexp, file-cache-delete-directory)
15522 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15523 (file-cache-temp-minibuffer-message): Delete function.
15524 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15526 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15527 Don't signal an error when bumping into EOB in tr, s, or y.
15529 2009-11-29 Juri Linkov <juri@jurta.org>
15531 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15534 * descr-text.el (describe-char-unidata-list): Use lowercase name
15535 for "Unicode name" like in other tags.
15537 2009-11-29 Juri Linkov <juri@jurta.org>
15539 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15540 New compatibility macro.
15541 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15543 2009-11-29 Juri Linkov <juri@jurta.org>
15545 Add defcustom to define the cycling order of `recenter-top-bottom'.
15548 * window.el (recenter-last-op): Doc fix.
15549 (recenter-positions): New defcustom.
15550 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15551 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15553 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15555 Improve integration of Tramp and ange-ftp in eshell.
15557 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15558 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15559 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15561 * eshell/esh-util.el (top): Require also Tramp when compiling.
15562 (eshell-directory-files-and-attributes): Check for FTP remote
15564 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15565 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15566 (eshell-file-attributes): Handle ".". Return `entry'.
15568 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15569 (ange-ftp-directory-files-and-attributes)
15570 (ange-ftp-real-directory-files-and-attributes): New defuns.
15572 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15573 shell with "exec" when possible. This prevents trailing prompts
15574 in `start-file-process'.
15576 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15578 Try and remove assumptions about point-min==1.
15579 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15580 (rng-compute-mode-line-string): Show the validation percentage in
15581 terms of the narrowed text, not the widened text.
15582 (rng-do-some-validation): Don't catch internal errors when debugging.
15583 (rng-first-error): Simplify.
15584 (rng-after-change-function): Remove work around. AFAIK the bug has
15585 been fixed a while ago.
15587 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15588 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15590 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15592 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15593 `cd' doesn't always do it for us (bug#5067).
15595 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15596 on 2009-10-25 as part of some other change (bug#5067).
15598 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15600 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15602 (byte-compile-warnings): Use byte-compile-warning-types.
15603 (byte-compile-save-excursion): Warn about use of set-buffer right
15604 after save-excursion.
15606 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15607 the excursion as well.
15609 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15611 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15612 providing a Tramp related implementation of "su" and "sudo".
15613 (eshell-unix-initialize): Add "su" and "sudo".
15615 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15617 * net/socks.el (socks-send-command): Convert binary request to
15618 unibyte before sending. This fixes mishandling of some port
15619 numbers such as 129.
15621 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15623 * help.el (describe-bindings-internal): Remove `interactive'.
15625 * man.el (Man-completion-table): Trim a terminating "(".
15626 Remove the space between name page a section.
15627 Add the command's description on the `help-echo' property.
15628 Remove `process-connection-type' binding since it's unused by
15630 Provide completion for the "<section> <name>" format as well.
15631 (Man-default-man-entry): Remove spurious var shadowing the argument.
15633 2009-11-26 Kevin Ryde <user42@zip.com.au>
15635 * log-view.el: Add "Keywords: tools", since its other keywords
15636 aren't in finder-known-keywords, and following vc.el.
15638 * sha1.el (sha1-string-external): default-directory "/" in case
15639 otherwise non-existent. process-connection-type pipe for touch of
15640 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15642 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15644 Misc coding convention cleanups.
15645 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15646 hfy-init-kludge-hooks.
15647 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15648 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15649 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15651 (hfy-slant, hfy-weight): Use tables rather than code.
15652 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15653 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15654 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15655 (hfy-face-to-css): Remove `nconc' with single arg.
15656 (hfy-p-to-face-lennart): Use `or'.
15657 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15658 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15659 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15660 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15661 (hfy-force-fontification): Use run-hooks.
15663 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15665 Various minor fixes.
15666 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15667 Javascript belongs in the header, not the body.
15668 (hfy-javascript): Remove.
15669 (hfy-fontify-buffer): Don't insert it any more.
15670 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15671 Fix bug in invis handling when there were no invis props in a chunk.
15673 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15675 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15677 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15679 * finder.el (finder-mode-map): Add a menu.
15681 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15683 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15684 "unsigned" structs.
15686 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15687 fork" statement better.
15689 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15691 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15692 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15693 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15694 Reported by Clay Douglass.
15696 (verilog-auto-inst, verilog-auto-star-safe)
15697 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15698 Fix removing "// Interfaces" when saving .* expansions.
15699 Reported by Pierre-David Pfister.
15701 2009-11-26 Glenn Morris <rgm@gnu.org>
15703 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15706 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15708 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15709 Really use previous revision.
15711 2009-11-25 Kevin Ryde <user42@zip.com.au>
15713 * man.el (Man-completion-table): default-directory "/" in case
15714 doesn't otherwise exist. process-environment COLUMNS=999 so as
15715 not to truncate long names. process-connection-type pipe to avoid
15716 any chance of hitting the pseudo-tty TIOCGWINSZ.
15717 (man): completion-ignore-case t for friendliness and since man
15718 itself is case-insensitive on the command line.
15719 Further to Bug#3717.
15721 * arc-mode.el: Add "Keywords: files", so the details in its
15722 commentary can be reached from finder-by-keyword.
15723 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15724 editing mode, but it's comms related and sgml-mode.el has "comm"
15726 * textmodes/bibtex-style.el: Add "Keywords: tex".
15727 * international/isearch-x.el, international/ja-dic-cnv.el:
15728 * international/ja-dic-utl.el, international/kkc.el:
15729 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15731 2009-11-25 Juri Linkov <juri@jurta.org>
15733 * man.el (Man-completion-table): Modify regexp to include
15734 section names to completion strings. (Bug#3717)
15736 2009-11-25 Juri Linkov <juri@jurta.org>
15738 Search recursively in gzipped files. (Bug#4982)
15740 * progmodes/grep.el (grep-highlight-matches): Add new options
15741 `always' and `auto'. Doc fix.
15742 (grep-process-setup): Check `grep-highlight-matches' for
15743 `auto-detect' to determine the need to compute grep defaults.
15744 Move Windows/DOS specific --colors settings handling
15745 to `grep-compute-defaults'. Check `grep-highlight-matches'
15746 to get the value of "--color=".
15747 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15748 has the value `auto-detect'. Move Windows/DOS specific settings
15749 from `grep-process-setup'.
15750 (zrgrep): New command with alias `rzgrep'.
15752 2009-11-25 Juri Linkov <juri@jurta.org>
15754 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15755 to nil instead of switching off view-mode. (Bug#4896)
15757 2009-11-25 Juri Linkov <juri@jurta.org>
15759 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15761 * mwheel.el (mwheel-scroll-up-function)
15762 (mwheel-scroll-down-function): New defvars.
15763 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15764 `scroll-up', and `mwheel-scroll-down-function' instead of
15767 * doc-view.el (doc-view-scroll-up-or-next-page)
15768 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15769 Use this ARG in the call to image-scroll-up/image-scroll-down.
15770 Change `interactive' spec to "P". Goto next/previous page only
15771 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15772 SPC/DEL case). Doc fix.
15773 (doc-view-next-line-or-next-page)
15774 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15776 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15777 `doc-view-scroll-up-or-next-page', and buffer-local
15778 `mwheel-scroll-down-function' to
15779 `doc-view-scroll-down-or-previous-page'.
15781 2009-11-25 Juri Linkov <juri@jurta.org>
15783 Provide additional default values (directories at other Dired
15784 windows) via M-n in the minibuffer of some Dired commands.
15786 * dired-aux.el (dired-diff, dired-compare-directories)
15787 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15788 `minibuffer-default' in `minibuffer-with-setup-hook'.
15789 (dired-dwim-target-directory): Find a window that displays Dired
15790 buffer instead of failing when the next window is not Dired.
15791 Use `get-window-with-predicate' to find for the next Dired window.
15792 (dired-dwim-target-defaults): New function.
15794 * ediff-util.el (ediff-read-file-name):
15795 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15796 in `minibuffer-with-setup-hook'.
15798 2009-11-25 Juri Linkov <juri@jurta.org>
15800 Provide additional default values (file name at point or at the
15801 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15803 * minibuffer.el (read-file-name-defaults): New function.
15804 (read-file-name): Reset `minibuffer-default' to nil when
15805 it duplicates initial input `insdef'.
15806 Bind `minibuffer-default-add-function' to lambda that
15807 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15808 (minibuffer-insert-file-name-at-point): New command.
15810 * files.el (file-name-at-point-functions): New defcustom.
15811 (find-file-default): Remove defvar.
15812 (find-file-read-args): Don't use `find-file-default'.
15813 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15814 to `read-file-name'.
15815 (find-file-literally): Use `read-file-name' with
15816 `confirm-nonexistent-file-or-buffer'.
15818 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15820 * dired.el (dired-read-dir-and-switches):
15821 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15822 to `read-file-name'.
15823 (dired-file-name-at-point): New function.
15824 (dired-mode): Add hook `dired-file-name-at-point' to
15825 `file-name-at-point-functions'.
15827 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15829 Really make the *Completions* window soft-dedicated (bug#5030).
15830 * window.el (window--display-buffer-2): Add `dedicated' argument.
15831 (display-buffer): Pass it when needed so the dedicated flag is set
15832 after calling set-window-buffer, which would otherwise reset it.
15834 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * progmodes/meta-mode.el (meta-complete-symbol):
15837 * progmodes/etags.el (complete-tag):
15838 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15839 Use completion-in-region.
15841 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15842 (dabbrev-completion): Use completion-in-region.
15843 (dabbrev--abbrev-at-point): Simplify regexp.
15845 * abbrev.el (abbrev--before-point): Use word-motion functions
15846 if :regexp is not specified (bug#5031).
15848 * subr.el (string-prefix-p): New function.
15850 * man.el (Man-completion-cache): New var.
15851 (Man-completion-table): Use it.
15853 * vc.el (vc-print-log-internal): Make `limit' optional for better
15854 compatibility (e.g. with vc-annotate.el).
15856 2009-11-24 Kevin Ryde <user42@zip.com.au>
15858 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15859 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15861 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15862 when .el source file not found or other error.
15864 2009-11-24 Markus Triska <markus.triska@gmx.at>
15866 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15868 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15870 Handle the [back] button properly (bug#4979).
15871 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15872 Use help-setup-xref, help-buffer, and with-help-window.
15873 (describe-char): Add `buffer' argument.
15874 Pass proper command to help-setup-xref. Don't meddle with
15875 help-xref-stack-item directly.
15876 (describe-text-category): Use with-help-window and help-buffer.
15878 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15879 for the displayed buffer (bug#4887).
15881 * man.el (Man-completion-table): New function.
15884 2009-11-24 David Reitter <david.reitter@gmail.com>
15886 * vc-git.el (vc-git-registered): Use checkout directory (where
15887 .git is) rather than the file's directory and a relative path spec
15888 to work around a bug in git.
15890 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15892 Improve handling of processes on remote hosts.
15894 * eshell/esh-util.el (eshell-path-env): New defvar.
15895 (eshell-parse-colon-path): New defun.
15896 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15898 * eshell/esh-ext.el (eshell-search-path):
15899 Use `eshell-parse-colon-path'.
15900 (eshell-remote-command): Remove argument HANDLER.
15901 (eshell-external-command): Check for FTP remote connection.
15903 * eshell/esh-proc.el (eshell-gather-process-output):
15904 Use `file-truename', in order to start also symlinked files.
15905 Apply `start-file-process' instead of `start-process'.
15906 Shorten `command' to the local file name part.
15908 * eshell/em-cmpl.el (eshell-complete-commands-list):
15909 Use `eshell-parse-colon-path'.
15911 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15913 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15914 to `eshell-directory-change-hook'.
15916 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15918 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15919 because it could be enabled automatically if view-read-only is non-nil.
15921 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15923 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15924 made on 2009-11-22.
15926 2009-11-24 Glenn Morris <rgm@gnu.org>
15928 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15929 deleted variable bookmark-bmenu-bookmark-column.
15931 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15933 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15935 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15937 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15938 two slashes to the "file:" prefix.
15939 (browse-url-file-url): De-munge Cygwin filenames before passing
15940 them to Windows browser.
15941 (browse-url-default-windows-browser): Use call-process.
15943 2009-11-23 Juri Linkov <juri@jurta.org>
15945 Implement DocView Continuous mode. (Bug#4896)
15946 * doc-view.el (doc-view-continuous-mode): New defcustom.
15947 (doc-view-mode-map): Bind C-n/<down> to
15948 `doc-view-next-line-or-next-page', C-p/<up> to
15949 `doc-view-previous-line-or-previous-page'.
15950 (doc-view-next-line-or-next-page)
15951 (doc-view-previous-line-or-previous-page): New commands.
15953 2009-11-23 Juri Linkov <juri@jurta.org>
15955 Implement Isearch in comint input history. (Bug#3746)
15956 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15957 `isearch-mode-hook'.
15958 (comint-history-isearch): New defcustom.
15959 (comint-history-isearch-backward)
15960 (comint-history-isearch-backward-regexp): New commands.
15961 (comint-history-isearch-message-overlay): New buffer-local variable.
15962 (comint-history-isearch-setup, comint-history-isearch-end)
15963 (comint-goto-input, comint-history-isearch-search)
15964 (comint-history-isearch-message, comint-history-isearch-wrap)
15965 (comint-history-isearch-push-state)
15966 (comint-history-isearch-pop-state): New functions.
15968 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15970 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15972 (tramp-handle-make-symbolic-link)
15973 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15975 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15976 (tramp-handle-process-file): Use it.
15978 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15980 * window.el (move-to-window-line-last-op): Remove.
15981 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15983 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15985 Make M-r mirror the new cycling behavior of C-l.
15986 * window.el (move-to-window-line-last-op): New var.
15987 (move-to-window-line-top-bottom): New command.
15988 (global-map): Bind M-r move-to-window-line-top-bottom.
15990 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15992 * dired-x.el (dired-guess-shell-alist-default):
15993 Support xz format. (Bug#4953)
15995 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15997 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15998 last-command-char/last-command-event.
15999 (viper-prefix-arg-value): Do correct conversion of event-char for
16002 * emulation/viper-util.el, emulation/viper.el:
16003 Use viper-last-command-char instead of
16004 last-command-char/last-command-event.
16006 * ediff-init.el, ediff-mult.el, ediff-util.el:
16007 Replace last-command-char and last-command-event
16008 with (ediff-last-command-char) everywhere.
16010 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16011 created in fundamental mode.
16013 * ediff.el (ediff-version): Revert the change of interactive-p to
16014 called-interactively-p.
16016 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16018 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16019 generation from word-movement command names.
16021 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16023 * cus-start.el (all): Add native condition for font-use-system-font.
16025 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16027 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16028 Correct the patch from 2009-11-18. (Bug#3910)
16030 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16032 * progmodes/subword.el: Rename from lisp/subword.el.
16034 * subword.el: Rename to progmodes/subword.el.
16036 * Makefile.in (ELCFILES): Adapt to subword.el move.
16038 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16039 Stefan Monnier <monnier@iro.umontreal.ca>
16041 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16042 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16043 (bookmark-bmenu-show-filenames): Use push.
16044 (bookmark-bmenu-hide-filenames): Use local var instead of
16045 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16046 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16047 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16048 filenames now that the bookmark names are always available.
16050 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16052 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16053 (bookmark-search-pattern): Move and leave unbound.
16054 (bookmark-bmenu-mode-map): Change binding.
16055 (bookmark-read-search-input): Simplify.
16056 Don't use text-char-description. Don't error on non-char events.
16057 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16058 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16059 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16060 Use a local var for the timer.
16061 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16062 (i.e. bookmark-bmenu-search).
16064 2009-11-21 Glenn Morris <rgm@gnu.org>
16066 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16068 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16070 * net/browse-url.el (browse-url-default-windows-browser):
16071 Use cygstart for cygwin.
16073 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16075 * bookmark.el: Formatting and doc fixes only:
16076 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16077 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16078 Minor grammar and punctuation fixes in doc string.
16079 (bookmark-read-search-input): Adjust to fit within 80 columns.
16081 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16083 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16084 (c-backward-into-nomenclature): Adapt to subword renaming.
16086 * subword.el (subword-forward, subword-backward, subword-mark)
16087 (subword-kill, subword-backward-kill, subword-transpose)
16088 (subword-downcase, subword-upcase, subword-capitalize)
16089 (subword-forward-internal, subword-backward-internal):
16090 Rename from forward-subword, backward-subword, mark-subword,
16091 kill-subword, backward-kill-subword, transpose-subwords,
16092 downcase-subword, upcase-subword, capitalize-subword,
16093 forward-subword-internal, backward-subword-internal.
16095 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16097 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16099 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16101 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16102 (bookmark-bmenu-filter-alist-by-regexp)
16103 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16104 (bookmark-bmenu-search): New command.
16105 (bookmark-bmenu-mode-map): Bind it.
16107 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16109 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16110 backward-subword to quit the byte-compiler.
16112 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16114 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16116 * progmodes/cc-cmds.el (c-update-modeline)
16117 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16118 Refer to subword.el functions instead of cc-subword.el.
16120 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16121 subword.el functions instead of cc-subword.el.
16123 * progmodes/cc-subword.el: Rename to subword.el.
16124 * subword.el: Rename from progmodes/cc-subword.el.
16125 (subword-mode-map): Rename from c-subword-mode-map.
16126 (subword-mode): Rename from c-subword-mode.
16127 (global-subword-mode): New global minor mode.
16128 (forward-subword): Rename from c-forward-subword.
16129 (backward-subword): Rename from c-backward-subword.
16130 (mark-subword): Rename from c-mark-subword.
16131 (kill-subword): Rename from c-kill-subword.
16132 (backward-kill-subword): Rename from c-backward-kill-subword.
16133 (transpose-subwords): Rename from c-tranpose-subword.
16134 (downcase-subword): Rename from c-downcase-subword.
16135 (capitalize-subword): Rename from c-capitalize-subword.
16136 (forward-subword-internal): Rename from c-forward-subword-internal.
16137 (backward-subword-internal): Rename from c-backward-subword-internal.
16139 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16141 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16142 from a dired buffer.
16143 (vc-dired-deduce-fileset): New function.
16144 (vc-root-diff, vc-print-root-log): Use it.
16146 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16147 nil LIMIT argument to vc-print-log-internal.
16149 2009-11-20 Glenn Morris <rgm@gnu.org>
16151 * Makefile.in (ELCFILES): Regenerate.
16153 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16155 * calc/calc.el (calc-set-mode-line):
16156 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16157 (math-format-number): Rename `math-format-complement-signed' to
16158 `math-format-twos-complement'.
16160 * calc/calc-bin.el (math-format-twos-complement): Rename from
16161 math-format-complement-signed.
16162 (calc-radix): Rename `calc-complement-signed-mode' to
16163 `calc-twos-complement-mode'.
16164 (calc-octal-radix, calc-hex-radix): Add an argument for
16167 * calc/calc-embed.el (calc-embedded-mode-vars):
16168 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16170 * calc/calc-ext.el (calc-init-extensions):
16171 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16172 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16174 * calc/calc-units.el (math-build-units-table-buffer):
16175 Let `calc-twos-complement-mode' be nil.
16177 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16180 * calc/calc-vec.el (calcFunc-vunpack):
16181 * calc/calc-aent.el (calc-do-calc-eval):
16182 * calc/calc-forms.el (math-format-date):
16183 * calc/calc-graph.el (calc-graph-plot):
16184 * calc/calc-math.el (math-use-emacs-fn):
16185 * calc/calccomp.el (math-compose-expr):
16186 Let `calc-twos-complement-mode' be nil.
16188 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16190 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16191 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16192 * minibuffer.el (completion-in-region-functions): New hook.
16193 (completion-in-region): New function.
16194 * emacs-lisp/lisp.el (lisp-complete-symbol):
16195 * pcomplete.el (pcomplete-std-complete): Use it.
16197 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16199 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16200 (latex-complete-alist): New vars.
16201 (latex-string-prefix-p, latex-complete-bibtex-keys)
16202 (latex-complete-envnames, latex-complete-refkeys)
16203 (latex-complete-data): New functions.
16204 (latex-complete, latex-indent-or-complete): New commands.
16206 * window.el (display-buffer-mark-dedicated): New var.
16207 (display-buffer): Obey it.
16208 * minibuffer.el (minibuffer-completion-help): Use it.
16210 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16212 * filecache.el (file-cache-add-file): Use push and cons.
16213 (file-cache-delete-file-regexp): Use push.
16214 (file-cache-complete): Use completion-in-region.
16216 * simple.el (with-wrapper-hook): Fix thinko.
16218 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16219 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16220 Use with-current-buffer and string-to-number.
16221 (hfy-fallback-colour-values): Use assoc-string.
16222 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16223 (hfy-face-at): Remove unused var `found-face'.
16224 (hfy-compile-stylesheet): Remove unused var `css'.
16225 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16227 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16228 Use with-current-buffer.
16229 (hfy-text-p): Use expand-file-name and fewer setq.
16231 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16233 * htmlfontify.el, hfy-cmap.el: New files.
16235 2009-11-19 Juri Linkov <juri@jurta.org>
16237 * minibuffer.el (completions-format): New defcustom.
16238 (completion--insert-strings): Implement vertical format.
16240 * simple.el (switch-to-completions): Move point to the first
16241 completion when point was at the beginning of the buffer.
16243 2009-11-19 Juri Linkov <juri@jurta.org>
16245 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16247 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16249 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16251 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16252 (mail-signature): Change default to t.
16253 (mail-from-style): Deprecate `system-default' value.
16254 (mail-insert-from-field): For default value of mail-from-style,
16255 default to `angles' unless `angles' needs quoting and `parens'
16257 (mail-citation-prefix-regexp): Use citation regexp from
16260 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16262 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16263 Set variables for computing the prompt for reading password.
16265 2009-11-19 Glenn Morris <rgm@gnu.org>
16267 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16269 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16271 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16272 (newsticker-treeview-listwindow-height): Fix custom type.
16274 2009-11-19 Kenichi Handa <handa@m17n.org>
16276 * descr-text.el (describe-char-padded-string): Compose with TAB
16277 only if there's a font for CH.
16278 (describe-char): Fix the condition for detecting a trivial composition.
16280 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16282 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16283 more accurate version of the regexp. (Bug#3910)
16285 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16287 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16289 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16291 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16292 (font-setting-change-default-font): Fix typo in docstring.
16294 2009-11-18 Alan Mackenzie <acm@muc.de>
16296 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16298 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16300 * font-setting.el (font-use-system-font): Move ...
16302 * cus-start.el (all): ... to here.
16304 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16306 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16307 Don't set `ad-return-value' if `ad-do-it' doesn't.
16309 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16312 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16314 * menu-bar.el: Put "Use system font" in Option-menu.
16315 (menu-bar-options-save): Add font-use-system-font.
16317 * loadup.el: If feature system-font-setting or font-render-setting is
16318 there, load font-setting.
16320 * Makefile.in (ELCFILES): Add font-settings.el.
16321 * font-setting.el: New file.
16323 2009-11-17 Glenn Morris <rgm@gnu.org>
16325 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16327 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16328 Preserve point in the list buffer. (Bug#4939)
16330 (newsticker--treeview-list-update-highlight)
16331 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16333 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16335 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16338 * calc/calc-ext.el (calc-init-extensions): Remove references to
16341 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16343 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16344 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16347 2009-11-16 Kevin Ryde <user42@zip.com.au>
16349 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16350 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16352 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16353 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16354 Ignore trailing spaces by omit-nulls to split-string (fixing
16355 regression from Emacs 21 due to the incompatible split-string
16356 change). (Bug #4928.)
16358 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16360 * vc.el (vc-log-show-limit): Default to 2000.
16361 (vc-print-log-internal): Insert buttons to request more entries
16362 when limiting the output.
16364 * vc-sccs.el (vc-sccs-print-log):
16365 * vc-rcs.el (vc-rcs-print-log):
16366 * vc-cvs.el (vc-cvs-print-log):
16367 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16370 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16372 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16373 error when `tramp-gvfs-dbus-event-vector' is set.
16374 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16376 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16378 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16380 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16382 * net/dbus.el (dbus-unregister-service): New defun.
16383 (dbus-register-property): Register the handlers of
16384 "org.freedesktop.DBus.Properties" for SERVICE.
16385 (dbus-property-handler): Fix docstring.
16387 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16389 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16390 Quote doc string reference in defvaralias as it is not in special form.
16391 (byte-compile-output-docform): Doc fix.
16393 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16395 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16396 (calc-complement-signed-mode): New variables.
16397 (calc-set-mode-line): Add indicator for twos-complements.
16398 (math-format-number): Format twos-complement notation.
16400 * calc/calc-bin.el (calc-word-size): Reset the variables
16401 `math-2-word-size' and `math-half-2-word-size'.
16402 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16403 (calc-symclip): New functions.
16405 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16407 * calc/calc-embed.el (calc-embedded-mode-vars):
16408 Add `calc-complement-signed-mode' to the list of modes.
16410 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16411 (calc-b-oper-keys): Add `calc-symclip' to list.
16413 * calc/calc-ext.el (math-read-number-fancy): Read complement
16415 (calc-init-extensions): Add binding for `calc-symclip'.
16416 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16418 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16420 (calc-modes-menu): Add item for twos complement mode.
16422 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16424 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16426 * register.el (jump-to-register, insert-register): Handle Semantic
16427 tags. From commented-out advice in semantic/senator.el.
16429 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16431 * vc.el (vc-log-show-limit): New variable.
16432 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16433 when using a prefix argument.
16434 (vc-print-log-internal): Add new argument LIMIT.
16436 * vc-svn.el (vc-svn-print-log):
16437 * vc-mtn.el (vc-mtn-print-log):
16438 * vc-hg.el (vc-hg-print-log):
16439 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16440 pass it to the log command when set. Make the BUFFER argument
16443 * vc-sccs.el (vc-sccs-print-log):
16444 * vc-rcs.el (vc-rcs-print-log):
16445 * vc-git.el (vc-git-print-log):
16446 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16447 ignore it. Make the BUFFER argument non-optional.
16449 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16451 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16453 * dired.el (dired-mode-map): Move encryption items to "Operate"
16456 * strokes.el (strokes-update-window-configuration): Make strokes
16457 buffer current before erasing (Bug#4906).
16459 2009-11-15 Juri Linkov <juri@jurta.org>
16461 * simple.el (set-mark-default-inactive): Add :type, :group
16462 and :version. (Bug#4876)
16464 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16466 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16467 (archive-unique-fname): ... here. (Bug#4929)
16469 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16471 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16474 * novice.el (disabled-command-function): Add useful args.
16475 Setup the help buffer so that [back] works.
16476 Remove redundant call to help-mode.
16477 (disabled-command-function): Use `case'.
16478 (en/disable-command): New function extracted from enable-command.
16479 (enable-command, disable-command): Use it.
16481 2009-11-14 Glenn Morris <rgm@gnu.org>
16483 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16484 constants. (Bug#4913)
16486 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16488 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16490 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16491 defined in C that have no doc-strings. (Bug#1063)
16493 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16495 * cus-edit.el (data, files):
16496 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16498 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16500 * simple.el (shell-command): Doc fix (Bug#4891).
16502 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16504 2009-11-14 Glenn Morris <rgm@gnu.org>
16506 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16507 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16508 If they are already loaded, eval-after-load will do the right thing.
16510 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16513 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16515 * simple.el (x-selection-owner-p): Declare.
16516 (read-mail-command): Use custom radio type rather than choice.
16517 (completion-no-auto-exit): Doc fix.
16519 * custom.el (defgroup):
16520 * epg-config.el (epg): Doc fixes.
16522 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16524 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16525 * international/ccl.el (define-ccl-program): Do not purecopy the
16526 docstring, defconst does it anyway.
16528 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16530 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16533 * x-dnd.el (x-dnd-maybe-call-test-function):
16534 * window.el (split-window-vertically):
16535 * whitespace.el (whitespace-help-on):
16536 * vc-rcs.el (vc-rcs-consult-headers):
16537 * userlock.el (ask-user-about-lock-help)
16538 (ask-user-about-supersession-help):
16539 * type-break.el (type-break-force-mode-line-update):
16540 * time-stamp.el (time-stamp-conv-warn):
16541 * terminal.el (te-set-output-log, te-more-break, te-filter)
16542 (te-sentinel, terminal-emulator):
16543 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16544 (term-write-input-ring, term-check-source, term-start-output-log):
16545 (term-display-buffer-line, term-dynamic-list-completions):
16546 (term-ansi-make-term, serial-term):
16547 * subr.el (selective-display):
16548 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16549 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16550 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16551 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16552 (speedbar-remove-localized-speedbar-support)
16553 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16554 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16555 (speedbar-buffers-line-directory):
16556 * simple.el (shell-command-on-region, append-to-buffer)
16557 (prepend-to-buffer):
16558 * shadowfile.el (shadow-save-todo-file):
16559 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16560 (scroll-bar-maybe-set-window-start):
16561 * sb-image.el (speedbar-image-dump):
16562 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16563 (load-save-place-alist-from-file):
16564 * ps-samp.el (ps-print-message-from-summary):
16565 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16566 (ps-background-image, ps-begin-job, ps-do-despool):
16567 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16568 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16569 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16570 (pr-call-process, pr-file-list, pr-interface-save):
16571 * novice.el (disabled-command-function)
16572 (enable-command, disable-command):
16573 * mouse.el (mouse-buffer-menu-alist):
16574 * mouse-copy.el (mouse-kill-preserving-secondary):
16575 * macros.el (kbd-macro-query):
16576 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16577 * informat.el (batch-info-validate):
16578 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16579 * hippie-exp.el (try-expand-dabbrev-visible):
16580 * help-mode.el (help-make-xrefs):
16581 * help-fns.el (describe-variable):
16582 * generic-x.el (bat-generic-mode-run-as-comint):
16583 * finder.el (finder-mouse-select):
16584 * find-dired.el (find-dired-sentinel):
16585 * filesets.el (filesets-file-close):
16586 * files.el (list-directory):
16587 * faces.el (list-faces-display, describe-face):
16588 * facemenu.el (list-colors-display):
16589 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16590 * epg.el (epg--process-filter, epg-cancel):
16591 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16592 (epa--read-signature-type):
16593 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16594 (emerge-file-names):
16595 * ehelp.el (electric-helpify):
16596 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16597 * ediff-vers.el (rcs-ediff-view-revision):
16598 * ediff-util.el (ediff-setup):
16599 * ediff-mult.el (ediff-append-custom-diff):
16600 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16602 * echistory.el (Electric-command-history-redo-expression):
16603 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16604 * disp-table.el (describe-display-table):
16605 * dired.el (dired-find-buffer-nocreate):
16606 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16607 * dabbrev.el (dabbrev--same-major-mode-p):
16608 * chistory.el (list-command-history):
16609 * apropos.el (apropos-documentation):
16610 * allout.el (allout-obtain-passphrase):
16611 (allout-copy-exposed-to-buffer):
16612 (allout-verify-passphrase): Use with-current-buffer.
16614 2009-11-13 Glenn Morris <rgm@gnu.org>
16616 * Makefile.in (ELCFILES): Regenerate.
16618 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16620 * net/dbus.el (dbus-registered-objects-table): Rename from
16621 `dbus-registered-functions-table', because it contains also properties.
16622 (dbus-unregister-object): Unregister also properties.
16623 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16624 Use a timeout of 500 msec, in order to not block.
16625 (dbus-register-property, dbus-property-handler): New defuns.
16627 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16629 * simple.el (minibuffer-default-add-completions): Drop deprecated
16632 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16634 * textmodes/artist.el (artist-mouse-choose-operation):
16635 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16636 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16637 (artist-compute-up-event-key): New function.
16638 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16640 2009-11-13 Kenichi Handa <handa@m17n.org>
16642 * language/japan-util.el: Make sure that the value of jisx0208
16643 property is jisx0208 character.
16645 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16647 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16648 car or each item, not the whole list.
16650 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16652 * minibuffer.el (minibuffer-completion-help):
16653 Use minibuffer-hide-completions.
16655 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16657 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16658 (dired-revert): Use them (bug#4880).
16660 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16662 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16664 2009-11-12 Juri Linkov <juri@jurta.org>
16666 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16668 (find-file-literally-at-point): Alias of `ffap-literally'.
16670 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16672 * textmodes/ispell.el (ispell-skip-region-alist):
16673 * textmodes/css-mode.el (auto-mode-alist):
16674 * progmodes/compile.el (auto-mode-alist):
16675 * international/mule.el (ctext-non-standard-encodings-alist)
16676 (ctext-non-standard-encodings-regexp):
16677 * simple.el (shell-command-switch, text-read-only):
16678 * replace.el (occur-mode-map):
16679 * paths.el (rmail-file-name):
16680 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16681 * find-file.el (ff-special-constructs):
16682 * files.el (file-name-handler-alist):
16683 * composite.el: Purecopy strings.
16685 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16687 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16689 * widget.el (define-widget): Purecopy the docstring.
16690 * international/mule-cmds.el (charset): Do not purecopy the
16691 docstring here, define-widget does it.
16693 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16694 * textmodes/bibtex-style.el (auto-mode-alist):
16695 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16696 * progmodes/compile.el (compile-command):
16697 * language/korea-util.el (default-korean-keyboard):
16698 * international/mule-conf.el (file-coding-system-alist):
16699 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16700 * tooltip.el (tooltip-frame-parameters):
16701 * newcomment.el (comment-end, comment-padding):
16702 * dired.el (dired-trivial-filenames):
16703 * comint.el (comint-file-name-prefix): Purecopy initial values.
16705 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16707 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16708 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16710 (tramp-advice-make-auto-save-file-name)
16711 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16712 after removing the advice.
16714 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16716 * progmodes/grep.el (grep-regexp-alist):
16717 * international/mule-cmds.el (iso-2022-control-alist):
16718 * emacs-lisp/timer.el (timer-duration-words):
16719 * subr.el (version-separator, version-regexp-alist):
16720 * minibuffer.el (completion-styles-alist):
16721 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16722 Change defvars to defconsts.
16724 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16725 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16726 * international/mule-conf.el: Allow to be byte compiled.
16728 * international/mule.el (define-charset): Purecopy props.
16729 (load-with-code-conversion): Purecopy doc string and file name.
16730 (put-charset-property): Purecopy strings.
16731 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16733 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16734 (define-char-code-property): Correctly purecopy the table.
16736 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16738 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16740 * subr.el (add-hook): Purecopy strings.
16741 (eval-after-load): Purecopy load-history-regexp and the form.
16743 * custom.el (custom-declare-group): Purecopy load-file-name.
16745 * subr.el (menu-bar-separator): New defconst.
16746 * net/eudc.el (eudc-tools-menu):
16747 * international/mule-cmds.el (set-coding-system-map)
16748 (mule-menu-keymap):
16749 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16750 * vc-hooks.el (vc-menu-map):
16751 * replace.el (occur-mode-map):
16752 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16753 (menu-bar-edit-menu, menu-bar-goto-menu)
16754 (menu-bar-custom-menu, menu-bar-showhide-menu)
16755 (menu-bar-options-menu, menu-bar-tools-menu)
16756 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16757 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16758 (menu-bar-help-menu):
16759 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16760 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16762 * term/x-win.el (x-gtk-stock-map):
16763 * progmodes/vera-mode.el (auto-mode-alist):
16764 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16765 (inferior-lisp-program, inferior-lisp-load-command):
16766 * progmodes/hideshow.el (hs-special-modes-alist):
16767 * progmodes/gud.el (same-window-regexps):
16768 * progmodes/grep.el (grep-program, find-program, xargs-program):
16769 * net/telnet.el (same-window-regexps):
16770 * net/rlogin.el (same-window-regexps):
16771 * language/ethiopic.el (font-ccl-encoder-alist):
16772 * vc-sccs.el (vc-sccs-master-templates):
16773 * vc-rcs.el (vc-rcs-master-templates):
16774 * subr.el (cl-assertion-failed):
16775 * simple.el (next-error-overlay-arrow-position):
16776 * lpr.el (lpr-command):
16777 * locate.el (locate-ls-subdir-switches):
16778 * info.el (same-window-regexps, info)
16779 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16780 * image-mode.el (image-mode, auto-mode-alist):
16781 * hippie-exp.el (hippie-expand-ignore-buffers):
16782 * format.el (format-alist):
16783 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16785 * facemenu.el (facemenu-keybindings):
16786 * dired.el (dired-listing-switches, dired-chown-program):
16787 * diff.el (diff-switches, diff-command):
16788 * cus-edit.el (same-window-regexps):
16789 * bindings.el (mode-line-mule-info)
16790 (mode-line-buffer-identification): Purecopy strings.
16792 2009-11-11 Juri Linkov <juri@jurta.org>
16794 * simple.el (dired-get-filename) <declare-function>:
16795 Tell the byte-compiler about dired-get-filename.
16796 (shell-command): In Dired mode, get filename from the current line
16797 as the default value.
16799 2009-11-10 Glenn Morris <rgm@gnu.org>
16801 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16802 * calendar/holidays.el, progmodes/cperl-mode.el:
16803 Update x-popup-menu declarations.
16805 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16806 (list-load-path-shadows): Use dolist.
16807 (list-load-path-shadows): Use with-current-buffer.
16809 2009-11-10 Juri Linkov <juri@jurta.org>
16811 * minibuffer.el (read-file-name): Support a list of default values
16812 in `default-filename'. Use the first file name where only one
16813 element is required. Doc fix.
16815 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16817 * net/dbus.el (dbus-unregister-object): Release service, if no
16818 other method is registered for it.
16820 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16822 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16823 bookmark-sort-flag is non-nil (Bug#4653).
16825 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16827 * emulation/cua-base.el: Add CUA property to some CC mode commands
16830 2009-11-08 Kevin Ryde <user42@zip.com.au>
16832 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16833 at end of sentence (Bug#4818).
16835 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16838 Handle "see declaration of" MSFT statements (Bug#4100).
16840 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16842 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16843 (tramp-advice-file-expand-wildcards): Unload via
16844 `ad-remove-advice'.
16846 * net/trampver.el: Update release number.
16848 2009-11-08 Kevin Ryde <user42@zip.com.au>
16850 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16853 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16855 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16856 in order to keep context in SELinux.
16858 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16860 * dired-aux.el (dired-query): Place cursor in echo area and allow
16863 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16864 menu item if not on a directory (Bug#4701).
16866 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16868 Sync with Tramp 2.1.17.
16870 * net/tramp.el (tramp-handle-copy-directory): Don't use
16871 `file-remote-p' (due to compatibility).
16873 * net/tramp-compat.el (tramp-compat-copy-directory)
16874 (tramp-compat-delete-directory): New defuns.
16876 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16877 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16878 Use `tramp-compat-delete-directory'.
16880 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16881 (tramp-smb-handle-delete-directory):
16882 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16884 * net/trampver.el: Update release number.
16886 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16888 * tar-mode.el (tar-copy): Call write-region on the right buffer
16891 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16892 by hand, if necessary (Bug#4878).
16894 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16896 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16897 align size column (Bug#4839).
16899 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16902 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16904 * progmodes/ld-script.el (auto-mode-alist):
16905 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16907 * cus-face.el (custom-declare-face): Purecopy face spec.
16909 2009-11-06 Kenichi Handa <handa@m17n.org>
16911 * international/uni-bidi.el: Re-generated.
16912 * international/uni-category.el: Re-generated.
16913 * international/uni-combining.el: Re-generated.
16914 * international/uni-mirrored.el: Re-generated.
16916 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16918 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16919 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16920 (tex-start-options, slitex-run-command, latex-run-command)
16921 (tex-run-command, tex-directory):
16922 * textmodes/ispell.el (ispell-html-skip-alists)
16923 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16924 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16925 (adaptive-fill-regexp):
16926 * textmodes/dns-mode.el (auto-mode-alist):
16927 * progmodes/python.el (interpreter-mode-alist):
16928 * progmodes/etags.el (tags-compression-info-list):
16929 * progmodes/etags.el (tags-file-name):
16930 * net/browse-url.el (browse-url-galeon-program)
16931 (browse-url-firefox-program):
16932 * mail/sendmail.el (mail-signature-file)
16933 (mail-citation-prefix-regexp):
16934 * international/mule-conf.el (eight-bit):
16935 * international/latexenc.el (latex-inputenc-coding-alist):
16936 * international/fontset.el (x-pixel-size-width-font-regexp):
16937 * emacs-lisp/warnings.el (warning-type-format):
16938 * emacs-lisp/trace.el (trace-buffer):
16939 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16940 (emacs-lisp-mode-map):
16941 * calendar/holidays.el (holiday-solar-holidays)
16942 (holiday-bahai-holidays, holiday-islamic-holidays)
16943 (holiday-christian-holidays, holiday-hebrew-holidays)
16944 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16945 (hebrew-holidays-1, holiday-oriental-holidays)
16946 (holiday-general-holidays):
16947 * x-dnd.el (x-dnd-known-types):
16948 * tool-bar.el (tool-bar):
16949 * startup.el (site-run-file):
16950 * shell.el (shell-dumb-shell-regexp):
16951 * rfn-eshadow.el (file-name-shadow-tty-properties)
16952 (file-name-shadow-properties):
16953 * paths.el (remote-shell-program, news-directory):
16954 * mouse.el ([C-down-mouse-3]):
16955 * menu-bar.el (menu-bar-tools-menu):
16956 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16957 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16958 (jka-compr-compression-info-list):
16959 * isearch.el (search-whitespace-regexp):
16960 * image-file.el (image-file-name-extensions):
16961 * find-dired.el (find-ls-option):
16962 * files.el (directory-listing-before-filename-regexp)
16963 (directory-free-space-args, insert-directory-program)
16964 (list-directory-brief-switches, magic-fallback-mode-alist)
16965 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16966 (automount-dir-prefix):
16967 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16968 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16969 (face-font-registry-alternatives, face-font-registry-alternatives)
16970 (face-font-family-alternatives):
16971 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16972 (facemenu-foreground-menu, facemenu-face-menu):
16973 * epa-hook.el (epa-file-name-regexp):
16974 * dnd.el (dnd-protocol-alist):
16975 * textmodes/rst.el (auto-mode-alist):
16976 * button.el (default-button): Purecopy strings.
16978 2009-11-06 Glenn Morris <rgm@gnu.org>
16980 * Makefile.in (ELCFILES): Update.
16982 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16984 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16985 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16987 * nxml/xsd-regexp.el (xsdre-gen-categories):
16988 * nxml/xmltok.el (xmltok-parse-entity):
16989 * nxml/rng-parse.el (rng-parse-validate-file):
16990 * nxml/rng-maint.el (rng-format-manual)
16991 (rng-manual-output-force-new-line):
16992 * nxml/rng-loc.el (rng-save-schema-location-1):
16993 * nxml/rng-cmpct.el (rng-c-parse-file):
16994 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16995 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16997 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16999 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17000 Remove extra save-excursions and make-variable-buffer-local's.
17001 Suggested by Stefan Monnier.
17003 (verilog-getopt-file, verilog-module-inside-filename-p)
17004 (verilog-set-define): Merge GNU 1.35 and repair changes from
17005 switching to using with-current-buffer.
17007 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17008 being treated as a number and confusing AUTORESET.
17009 Reported by Dan Dever.
17011 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17012 Add verilog-auto-ignore-concat to fix backward compatibility with
17013 older verilog-modes. Reported by Dan Katz.
17015 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17016 containing closing anchors "...$".
17018 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17019 Reported by Wade Smith.
17021 (verilog-batch-execute-func): Comment on function usage.
17023 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17025 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17028 (verilog-label-re, verilog-calc-1): Support proper indent of named
17031 (verilog-backward-token, verilog-basic-complete-re)
17032 (verilog-beg-of-statement, verilog-indent-re): Support proper
17033 indent of the assert statement at the beginning of a block of text.
17035 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17036 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17039 2009-11-05 Glenn Morris <rgm@gnu.org>
17041 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17042 Emacs 19. (Bug#1531)
17043 (byte-compile-fix-header): Update for the above change.
17044 Drop test for epoch::version.
17046 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17047 * cus-dep.el (custom-make-dependencies):
17048 * finder.el (finder-compile-keywords):
17049 Use autoload-rubric's feature argument.
17051 * calendar/diary-lib.el (top-level): Make load behave more like require.
17053 * vc-git.el (vc-git-stash-map): Move definition before use.
17055 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17057 * custom.el (custom-declare-group): Purecopy standard-value.
17058 (custom-declare-group): Purecopy custom-prefix.
17060 * international/mule.el (load-with-code-conversion):
17061 Call do-after-load-evaluation unconditionally.
17063 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17065 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17067 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17069 2009-11-04 Glenn Morris <rgm@gnu.org>
17071 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17072 (byte-compile-compatibility): Remove option.
17073 (byte-compile-close-variables, byte-compile-fix-header)
17074 (byte-compile-insert-header, byte-compile-output-docform)
17075 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17076 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17077 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17078 (byte-compile-insert, byte-compile-defun):
17079 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17080 (byte-defop-compiler19): Remove.
17081 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17082 used by anything. Replace all calls with byte-defop-compiler.
17084 2009-11-04 Juri Linkov <juri@jurta.org>
17086 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17087 (menu-bar-options-menu): Don't quote the `prop' arg of
17088 `menu-bar-make-mm-toggle'.
17090 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17092 * calendar/calendar.el (cal-loaddefs):
17093 * calendar/diary-lib.el (diary-loaddefs):
17094 * calendar/holidays.el (hol-loaddefs):
17095 * eshell/esh-module.el (esh-groups): Load rather than require.
17097 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17099 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17101 (todo-top-priorities): Only display-buffer when called interactively.
17102 (todo-item-start): Don't save excursion point.
17103 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17104 (todo-insert-item-here, todo-file-item, todo-remove-item):
17105 Adjust uses of todo-item-start and todo-item-end.
17107 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17108 (autoload-rubric): Don't use any more.
17110 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17111 and only put a prop if it is non-nil.
17113 2009-11-03 Juri Linkov <juri@jurta.org>
17115 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17116 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17118 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17119 and "Menu" to make top-level menu item visually one unit (like
17120 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17121 multi-word menu items). Fix :help string for quit-window.
17123 2009-11-03 Glenn Morris <rgm@gnu.org>
17125 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17126 (byte-compile-file-form-define-abbrev-table)
17127 (byte-compile-file-form-custom-declare-variable)
17128 (byte-compile-variable-ref, byte-compile-defvar):
17129 Whether or not a warning is enabled should only affect whether we issue
17130 the warning, not whether or not we collect the relevant data.
17131 Eg warnings can be turned on and off throughout the course of a file.
17133 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17134 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17136 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17138 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17139 * play/mpuz.el (mpuz-create-buffer):
17140 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17141 (lm-print-y,s,noise, lm-print-w0, lm-init):
17142 * play/gomoku.el (gomoku-prompt-for-move):
17143 * play/fortune.el (fortune-in-buffer):
17144 * play/dissociate.el (dissociated-press):
17145 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17146 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17147 * mail/supercite.el (sc-eref-show):
17148 * mail/smtpmail.el (smtpmail-send-it):
17149 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17150 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17151 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17152 (rmail-summary-goto-msg, rmail-summary-expunge)
17153 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17154 (rmail-summary-add-label, rmail-summary-output-menu)
17155 (rmail-summary-output-body):
17156 * mail/rfc822.el (rfc822-addresses):
17157 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17158 * mail/mailpost.el (post-mail-send-it):
17159 * mail/hashcash.el (hashcash-generate-payment):
17160 * mail/feedmail.el (feedmail-run-the-queue)
17161 (feedmail-queue-send-edit-prompt-help-first)
17162 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17163 (feedmail-deduce-address-list):
17164 * eshell/esh-ext.el (eshell-remote-command):
17165 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17166 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17167 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17168 (viper-save-string-in-file, viper-valid-marker):
17169 * emulation/viper-keym.el (viper-toggle-key):
17170 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17171 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17172 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17173 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17174 (viper-exec-form-in-emacs, viper-brac-function):
17175 * emulation/viper.el (viper-delocalize-var):
17176 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17177 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17178 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17179 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17180 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17181 * emulation/edt.el (edt-electric-helpify):
17182 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17183 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17184 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17185 (cua-indent-to-global-mark-column):
17186 * calendar/diary-lib.el (calendar-mark-1):
17187 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17188 Use with-current-buffer.
17189 * emulation/viper.el (viper-delocalize-var): Use dolist.
17191 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17193 * comint.el (comint-replace-by-expanded-history-before-point):
17194 Replace !! with the previous input string literally (Bug#1795).
17196 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17198 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17199 to be made up of whitespace.
17201 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17203 * minibuffer.el (read-file-name): Don't use file dialogs for
17204 remote directories (Bug#99).
17206 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17208 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17210 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17212 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17213 instead of deleting the window or frame.
17215 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17217 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17218 Support face colors.
17220 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17221 New function. Support face colors (Bug#1168).
17222 (tex-common-initialization): Use it.
17224 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17225 mode allows it (Bug#1168).
17227 2009-10-31 Juri Linkov <juri@jurta.org>
17229 * facemenu.el (list-colors-display): Don't mark buffer as
17230 modified (Bug#3948).
17232 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17234 * international/mule-diag.el (list-character-sets-1):
17235 Minor message fix (Bug#3526).
17237 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17238 Fix face property (Bug#4834).
17239 (etags-list-tags, etags-tags-apropos-additional)
17240 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17243 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17246 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17248 * textmodes/two-column.el (2C-split):
17249 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17250 * textmodes/tex-mode.el (tex-set-buffer-directory):
17251 * textmodes/spell.el (spell-region, spell-string):
17252 * textmodes/reftex.el (reftex-erase-buffer):
17253 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17254 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17255 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17256 (reftex-select-item):
17257 * textmodes/reftex-ref.el (reftex-label-info-update)
17258 (reftex-offer-label-menu):
17259 * textmodes/reftex-index.el (reftex-index-change-entry)
17260 (reftex-index-phrases-info):
17261 * textmodes/reftex-global.el (reftex-create-tags-file)
17262 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17263 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17264 (reftex-view-crossref-from-bibtex):
17265 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17266 (reftex-extract-bib-entries-from-thebibliography)
17267 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17268 * textmodes/refbib.el (r2b-capitalize-title):
17269 (r2b-convert-buffer, r2b-help):
17270 * textmodes/page-ext.el (pages-directory)
17271 (pages-directory-goto-with-mouse):
17272 * textmodes/bibtex.el (bibtex-validate-globally):
17273 * textmodes/bib-mode.el (bib-capitalize-title):
17274 * textmodes/artist.el (artist-clear-buffer, artist-system):
17275 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17276 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17277 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17278 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17279 (xscheme-send-control-g-interrupt, xscheme-start-process)
17280 (xscheme-process-sentinel, xscheme-cd):
17281 * progmodes/verilog-mode.el (verilog-read-always-signals)
17282 (verilog-set-define, verilog-getopt-file)
17283 (verilog-module-inside-filename-p):
17284 * progmodes/sh-script.el:
17285 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17286 (python-pdbtrack-grub-for-buffer, python-execute-file):
17287 * progmodes/octave-inf.el (inferior-octave):
17288 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17289 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17290 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17291 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17292 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17293 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17294 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17295 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17296 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17297 (idlwave-shell-examine-display, idlwave-shell-run-region)
17298 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17299 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17300 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17301 (idlwave-help-get-help-buffer):
17302 * progmodes/gud.el (gud-basic-call, gud-find-class)
17303 (gud-tooltip-activate-mouse-motions-if-enabled):
17304 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17305 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17306 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17307 (ebrowse-tags-next-file):
17308 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17309 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17310 (ebnf-eps-finish-and-write):
17311 * progmodes/cpp.el (cpp-edit-save):
17312 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17313 * progmodes/cc-defs.el (c-emacs-features):
17314 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17315 (antlr-directory-dependencies):
17316 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17317 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17318 (ada-find-any-references, ada-make-filename-from-adaname)
17319 (ada-make-body-gnatstub):
17320 * obsolete/rnews.el (news-list-news-groups):
17321 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17322 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17323 * net/rcirc.el (rcirc-debug):
17324 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17325 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17326 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17327 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17328 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17329 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17330 (newsticker--treeview-list-clear-highlight)
17331 (newsticker--treeview-list-update-highlight)
17332 (newsticker--treeview-list-highlight-start)
17333 (newsticker--treeview-tree-update-highlight)
17334 (newsticker--treeview-get-selected-item)
17335 (newsticker-treeview-mark-list-items-old)
17336 (newsticker--treeview-set-current-node):
17337 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17338 * net/newst-backend.el (newsticker--get-news-by-funcall)
17339 (newsticker--get-news-by-wget, newsticker--image-get)
17340 (newsticker--image-sentinel):
17341 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17342 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17343 (eudc-ph-close-session):
17344 * net/eudc.el (eudc-save-options):
17345 * language/thai-word.el (thai-update-word-table):
17346 * language/japan-util.el (japanese-string-conversion):
17347 * international/titdic-cnv.el (tsang-quick-converter)
17348 (ziranma-converter, ctlau-converter):
17349 * international/mule-cmds.el (describe-language-environment):
17350 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17351 (skkdic-convert-postfix, skkdic-convert-prefix):
17352 (skkdic-convert-okuri-nasi, skkdic-convert):
17353 * emacs-lisp/re-builder.el (reb-update-overlays):
17354 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17355 * emacs-lisp/gulp.el (gulp-send-requests):
17356 * emacs-lisp/find-gc.el (trace-call-tree):
17357 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17358 (eieio-describe-generic):
17359 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17360 * emacs-lisp/edebug.el (edebug-outside-excursion):
17361 * emacs-lisp/debug.el (debugger-make-xrefs):
17362 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17363 * emacs-lisp/chart.el (chart-new-buffer):
17364 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17365 Use with-current-buffer.
17366 * textmodes/artist.el (artist-system): Don't call
17367 copy-sequence on a fresh string.
17368 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17370 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17372 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17373 is no item to edit. (Bug#4820)
17374 (todo-top-priorities): Restore point and restore narrowing in Todo
17377 2009-10-31 Glenn Morris <rgm@gnu.org>
17379 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17380 (comint-last-output-start, comint-last-input-start)
17381 (comint-last-input-end): Don't defvar when compiling.
17382 (ange-ftp-process-file): Use bound-and-true-p.
17384 * pcmpl-rpm.el (top-level): Move provide statement to end.
17385 (pcmpl-rpm): Remove unused custom group.
17387 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17389 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17391 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17392 (byte-compile-warnings): Add `constants' as an option.
17393 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17394 (display-call-tree): Update for byte-compile-fdefinition possibly
17395 returning `(macro lambda ...)'. (Bug#4778)
17396 (byte-compile-variable-ref, byte-compile-setq-default):
17397 Respect `constants' member of byte-compile-warnings.
17399 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17401 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17402 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17405 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17407 * textmodes/ispell.el (ispell-skip-region-alist):
17408 * international/mule-conf.el (eight-bit):
17409 * international/fontset.el (font-encoding-alist):
17410 * startup.el (pure-space-overflow-message):
17411 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17412 * paths.el (gnus-nntp-service, rmail-spool-directory)
17413 (term-file-prefix):
17414 * files.el (save-some-buffers-action-alist):
17415 * cmuscheme.el (same-window-buffer-names):
17416 * ielm.el (same-window-buffer-names):
17417 * shell.el (same-window-buffer-names):
17418 * mail/sendmail.el (same-window-buffer-names):
17419 * progmodes/inf-lisp.el (same-window-buffer-names):
17420 * bindings.el (mode-line-client)
17421 (mode-line-column-line-number-mode-map):
17422 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17423 (tibetan-precomposed-regexp): Purecopy string arguments.
17425 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17427 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17428 (calcDigit-nondigit):
17429 * calc/calc-yank.el (calc-copy-to-buffer):
17430 * calc/calc-units.el (calc-invalidate-units-table):
17431 * calc/calc-trail.el (calc-trail-yank):
17432 * calc/calc-store.el (calc-insert-variables):
17433 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17434 * calc/calc-prog.el (calc-read-parse-table):
17435 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17436 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17437 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17438 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17439 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17440 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17441 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17442 * calc/calc-ext.el (calc-realign):
17443 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17444 (calc-embedded-finish-edit, calc-embedded-make-info)
17445 (calc-embedded-finish-command, calc-embedded-stack-change):
17446 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17448 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17449 shell-dynamic-complete-filename in preference to
17450 comint-dynamic-complete-filename.
17452 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17453 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17454 Don't consider whether the display supports colors.
17455 (bookmark-import-new-list): Use dolist.
17456 (bookmark-bmenu-mode-map): Move initialization into declaration.
17457 (bookmark-bmenu-list): Use dolist, simplify.
17458 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17459 (menu-bar-final-items): Use push.
17461 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17463 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17464 it works on remote files.
17465 (vc-hg-diff): Don't pass any `--cwd' argument.
17467 2009-10-27 Kevin Ryde <user42@zip.com.au>
17469 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17470 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17471 (Further to Bug#3921).
17473 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17475 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17476 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17477 calling `tramp-imap-put-file'. Add file size to the call.
17478 (tramp-imap-get-file-entries): Compute also user name, file size,
17480 (tramp-imap-handle-insert-directory): Insert uid and gid.
17481 (tramp-imap-handle-file-attributes): Transform uid and gid
17482 according to `id-format'.
17483 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17484 size in header X-Size.
17486 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17488 * simple.el (transpose-subr): Give clearer error when the mark
17489 is not set. (Bug#4807)
17491 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17493 * net/tramp.el (tramp-perl-file-truename): New defconst.
17494 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17495 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17496 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17497 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17499 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17500 Ignore `dired-call-process'.
17501 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17503 2009-10-26 Julian Scheid <julians37@gmail.com>
17505 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17506 (tramp-get-remote-readlink): New defun.
17507 (tramp-handle-file-truename): Use it.
17508 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17509 file exists if cache value present.
17510 (tramp-check-cached-permissions): New defun.
17511 (tramp-handle-file-readable-p): Use it.
17512 (tramp-handle-file-writable-p): Likewise.
17513 (tramp-handle-file-executable-p): Likewise.
17514 (tramp-handle-file-name-all-completions): Try using Perl to get
17515 partial completions. When perl not available, combine `cd' and
17516 `ls' into single remote operation and use shell expansion to get
17517 partial remote directory contents. Set `file-exists-p' cache for
17518 directory and any files returned by ls. Change cache handling to
17519 support partial directory contents. Use error message emitted by
17520 remote `cd' or Perl code for local tramp-error.
17521 (tramp-do-copy-or-rename-file-directly): Avoid separate
17522 tramp-send-command-and-check call.
17523 (tramp-handle-process-file): Merge three remote ops into one.
17524 Do not flush all caches when `process-file-side-effects' is set.
17525 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17526 file-attributes shows uid/gid to be set already.
17528 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17530 * textmodes/tex-mode.el (tex-dvi-view-command)
17531 (tex-show-queue-command, tex-open-quote):
17532 * progmodes/ruby-mode.el (auto-mode-alist)
17533 (interpreter-mode-alist): Purecopy strings.
17535 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17537 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17538 string for the hook, keymap and abbrev table.
17540 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17542 * x-dnd.el (x-dnd-xdnd-to-action):
17543 * startup.el (fancy-startup-text, fancy-about-text): Change to
17544 defconst from defvar.
17546 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17548 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17549 Purecopy initialization strings.
17551 * mail/sendmail.el (mail-header-separator)
17552 (mail-personal-alias-file):
17553 * mail/rmail.el (rmail-default-dont-reply-to-names)
17554 (rmail-ignored-headers, rmail-retry-ignored-headers)
17555 (rmail-highlighted-headers, rmail-secondary-file-directory)
17556 (rmail-secondary-file-regexp):
17557 * files.el (null-device, file-name-invalid-regexp)
17558 (locate-dominating-stop-dir-regexp)
17559 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17560 (interpreter-mode-alist): Use mapcar instead of mapc.
17562 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17564 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17565 (completion-ignored-extensions):
17566 (debug-ignored-errors): Purecopy strings.
17568 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17570 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17571 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17572 (pcomplete--here): Use push.
17574 * subr.el (all-completions): Declare the 4th arg obsolete.
17576 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17578 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17579 (pcomplete-unquote-argument): New function.
17580 (pcomplete--common-suffix): Always pay attention to case.
17581 (pcomplete--table-subvert): Quote and unquote the text.
17582 (pcomplete--common-quoted-suffix): New function.
17583 (pcomplete-std-complete): Use it and pcomplete-begin.
17585 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17586 we're inside a dedicated or minibuffer window.
17588 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17590 * bookmark.el: Update documentation, especially documentation
17591 of `bookmark-alist' and of the bookmark file format.
17592 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17594 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17596 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17597 keybindings apply to the mail buffer (Bug#4003). Shrink help
17600 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17601 (global-whitespace-mode, global-whitespace-newline-mode)
17602 (whitespace-toggle-options, global-whitespace-toggle-options):
17603 Doc fix (Bug#3660).
17605 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17606 of xmltok-start before the end tag was inserted (Bug#2840).
17608 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17609 patterns that are preceded by an open-paren (Bug#1320).
17611 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17613 * files.el (delete-directory): Delete symlinks to directories with
17614 delete-file (Bug#4739).
17616 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17618 * vc.el (vc-backend-for-registration): Rename from
17619 vc-get-backend-for-registration. Update callers.
17621 * international/mule-cmds.el (set-language-info-alist):
17623 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17624 (charset): Purecopy the name.
17625 (define-char-code-property): Purecopy string arguments.
17627 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17628 Purecopy string arguments.
17630 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17631 * ediff-hook.el (menu-bar-ediff-menu):
17632 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17633 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17635 2009-10-24 Glenn Morris <rgm@gnu.org>
17637 * comint.el (comint-dynamic-list-completions):
17638 * term.el (term-dynamic-list-completions): Use choose-completion rather
17639 than obsolete alias mouse-choose-completion.
17641 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17642 file-cache-choose-completion.
17643 (file-cache-choose-completion): Handle an optional event argument.
17644 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17646 * progmodes/octave-mod.el (octave-complete-symbol):
17647 Use choose-completion if mouse-choose-completion is ever removed.
17649 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17652 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17655 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17657 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17659 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17660 Ignore `pred' now that we receive one.
17661 Handle test-completion specially.
17663 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17665 * vc.el (vc-responsible-backend): Throw an error if not backend is
17666 found. Remove the REGISTER argument. Move the code dealing with
17668 (vc-get-backend-for-registration): ... here. New function.
17669 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17670 of vc-responsible-backend, pass the file name instead of the
17673 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17675 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17677 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17678 (pcomplete-comint-setup): Don't modify a global var via
17679 accidental side-effects.
17680 (pcomplete-shell-setup): Adjust call accordingly.
17681 (pcomplete-parse-comint-arguments): Use push.
17683 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17685 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17686 Allow uncapitalized info node names (Bug#3921).
17688 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17689 to the DEBUG file (Bug#3781).
17691 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17693 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17694 dictionary entry (Bug#4579).
17696 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17698 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17699 from `rfn-eshadow-update-overlay-hook' when unloading.
17700 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17701 "rsyncc". Adjust doc string.
17702 (tramp-temp-buffer-file-name): New buffer-local defvar.
17703 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17704 Keep temporary file when indicated by method ("rsync" and
17706 (tramp-handle-write-region): Handle APPEND.
17707 (tramp-delete-temp-file-function): New defun. Added to
17708 `kill-buffer-hook'.
17710 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17712 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17714 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17716 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17717 (color-name-rgb-alist, tty-standard-colors)
17718 (tty-color-mode-alist): Change to defconst.
17720 * simple.el (mark-inactive): Purecopy message.
17722 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17723 (global-map, yank-menu):
17724 * textmodes/ispell.el (ispell-menu-map):
17725 * net/eudc.el (eudc-tools-menu):
17726 * international/mule-cmds.el (describe-language-environment-map)
17727 (setup-language-environment-map, set-coding-system-map)
17728 (mule-menu-keymap):
17729 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17730 * replace.el (occur-mode-map):
17731 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17733 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17735 * calc/calc.el (math-read-number, math-read-number-simple):
17736 Use `save-match-data'.
17738 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17740 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17741 rather than fiddling with global-map bindings, since it should only
17742 affect per-terminal settings.
17743 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17745 * minibuffer.el (completion-table-with-terminator): Allow to specify
17746 the terminator-regexp.
17748 * simple.el (switch-to-completions): Look for *Completions* in other
17751 * pcomplete.el: Allow the use of completion-tables.
17752 (pcomplete-std-complete): New command.
17753 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17754 (pcomplete--here): Use a function for `form' rather than an expression,
17755 so it can be byte-compiled.
17756 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17757 Add edebug declaration.
17758 (pcomplete-show-completions): Remove unused var `curbuf'.
17759 (pcomplete-do-complete, pcomplete-stub):
17760 Don't assume `completions' is a list of strings any more.
17762 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17764 * find-dired.el (find-name-arg): Fix typo in docstring.
17766 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17768 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17769 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17771 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17774 * comint.el (comint-read-input-ring, comint-write-input-ring)
17775 (comint-substitute-in-file-name)
17776 (comint-dynamic-complete-as-filename)
17777 (comint-dynamic-simple-complete)
17778 (comint-dynamic-list-filename-completions)
17779 (comint-dynamic-list-completions)
17780 (comint-redirect-results-list-from-process): Minor simplifications.
17782 2009-10-21 Kevin Ryde <user42@zip.com.au>
17784 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17785 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17786 the first form. And insert a blank line after ";;; Code" since
17787 that's usual style. (Bug#4612)
17789 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17791 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17793 * minibuffer.el (completion-table-with-terminator): Properly implement
17794 boundaries, in case `terminator' appears in the suffix.
17795 (completion--embedded-envvar-table): Don't return boundaries if
17796 there's no valid completion. Simplify.
17797 (completion-file-name-table): New completion table extracted from
17798 completion--file-name-table.
17799 (completion--file-name-table): Use it.
17800 (read-file-name-predicate): Declare obsolete.
17801 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17802 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17803 completion-file-name-table, and use the `pred' argument.
17804 * files.el (locate-file-completion-table): Use the `pred' arg rather
17805 than read-file-name-predicate.
17806 (abbreviate-file-name): Use \` rather than ^ for BOS.
17808 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17810 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17811 vc-responsible-backend to register, it causes problems.
17813 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17815 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17817 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17819 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17820 (tramp-smb-handle-file-attributes): Use it.
17821 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17822 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17823 `mapcar'. Use `tramp-smb-get-stat-capability'.
17824 Add `dired-filename' text properties.
17825 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17826 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17829 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17831 * subr.el (read-key-delay): Reduce to 0.01.
17832 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17835 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17837 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17839 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17840 (Info-menu): Remove unused vars `last' and `completions'.
17841 (Info-index-nodes): Remove unused var `node'.
17843 * info.el (Info-complete-menu-item): Use complete-with-action.
17845 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17847 Make vc-annotate work through copies and renames.
17848 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17849 Return the file name too.
17850 (vc-annotate-revision-at-line)
17851 (vc-annotate-find-revision-at-line)
17852 (vc-annotate-revision-previous-to-line)
17853 (vc-annotate-show-log-revision-at-line): Update to get the file
17854 name from vc-annotate-extract-revision-at-line.
17855 (vc-annotate-show-diff-revision-at-line-internal): Change the
17856 argument to mean whether to show a file diff or not. Get the file
17857 name from vc-annotate-extract-revision-at-line.
17858 (vc-annotate-show-diff-revision-at-line):
17859 Update vc-annotate-show-diff-revision-at-line call.
17860 (vc-annotate-warp-revision): Add an optional file argument.
17862 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17863 (vc-git-annotate-extract-revision-at-line): Also return the file
17866 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17867 command. Remove unused code.
17868 (vc-hg-annotate-re): Update to match --follow output.
17869 (vc-hg-annotate-extract-revision-at-line): Also return the file
17872 * vc.el: Update annotate-extract-revision-at-line documentation.
17874 2009-10-18 Kevin Ryde <user42@zip.com.au>
17876 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17877 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17879 * net/browse-url.el (browse-url): Identify alist with "consp and
17880 not functionp" and let all other things go down the `apply' leg,
17881 as suggested by Stefan. (Further to bug#4531.)
17883 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17885 * minibuffer.el (read-file-name): Check for repeat before putting
17886 a default argument in file-name-history (Bug#4657).
17888 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17889 read syntax (Bug#4737).
17891 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17893 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17895 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17896 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17897 entries and make note of obsolete tags.
17899 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17901 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17903 2009-10-18 Glenn Morris <rgm@gnu.org>
17905 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17906 grep, so that binary files (eg international/uni-bidi.el) can match.
17907 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17908 now, and in any case the file header format has changed.
17910 2009-10-17 Glenn Morris <rgm@gnu.org>
17912 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17913 (flyspell-get-word, flyspell-large-region)
17914 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17916 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17918 * Makefile.in (ELCFILES): Add ede/shell.
17920 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17922 * term/common-win.el (x-colors): Purecopy it.
17924 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17926 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17927 permissive for when the buffer is empty.
17928 (tar-header-block-tokenize): Decode the username and groupname.
17929 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17931 2009-10-17 Eric Ludlam <zappo@gnu.org>
17933 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17934 contains multibyte characters, choose first applicable coding
17935 system automatically.
17937 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17939 * international/mule-cmds.el (select-safe-coding-system): If the file
17940 has a coding cookie, use it regardless of any other setting (bug#4712).
17942 2009-10-17 Glenn Morris <rgm@gnu.org>
17944 * foldout.el (foldout-mouse-swallow-events):
17945 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17947 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17948 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17949 (dired-keep-marker-symlink, dired-dwim-target)
17950 (dired-copy-preserve-time): Do not autoload these defcustoms.
17952 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17953 messages from messing up the file coding. (Bug#4623)
17955 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17957 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17958 if no match is found for the current dictionary. (Bug#4578)
17960 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17961 optional, since that is how it is documented, and this is often called
17962 with a nil argument. (Bug#4577)
17963 (flyspell-external-point-words, flyspell-auto-correct-word)
17964 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17965 (flyspell-word-search-backward): Remove nil argument in calls to
17966 flyspell-get-word, since it is not needed now.
17968 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17970 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17972 2009-10-16 Glenn Morris <rgm@gnu.org>
17974 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17976 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17978 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17979 (ange-ftp-file-size): New function.
17980 (ange-ftp-file-attributes): Use it.
17982 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17984 * net/tramp-smb.el (tramp-smb-version): New defvar.
17985 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17988 2009-10-16 Glenn Morris <rgm@gnu.org>
17990 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17991 Maybe copy some custom properties from old to new name. (Bug#4706)
17993 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17995 * subr.el (error, sit-for, start-process-shell-command)
17996 (start-file-process-shell-command): Set the calling convention
17997 after the function definition.
17999 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18001 * subr.el (error, sit-for, start-process-shell-command)
18002 (start-file-process-shell-command): Use the new
18003 set-advertised-calling-convention feature.
18005 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18007 * international/ucs-normalize.el (ucs-normalize-version):
18009 (check-range): Adjust for Unicode 5.2.
18011 2009-10-15 Juri Linkov <juri@jurta.org>
18013 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18014 to the `menu-item' format.
18016 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18018 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18019 if the environment variable does not exist.
18021 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18022 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18024 (tramp-smb-handle-add-name-to-file)
18025 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18026 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18027 (tramp-smb-handle-file-attributes)
18028 (tramp-smb-do-file-attributes-with-stat)
18029 (tramp-smb-handle-file-local-copy)
18030 (tramp-smb-handle-insert-directory)
18031 (tramp-smb-handle-make-directory)
18032 (tramp-smb-handle-make-directory-internal)
18033 (tramp-smb-handle-make-symbolic-link)
18034 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18035 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18036 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18037 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18038 Handle long file names.
18039 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18040 process is running.
18041 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18042 Read share names with "-g" option.
18044 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18046 * net/rcirc.el (rcirc-view-log-file): New command.
18047 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18048 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18051 2009-10-15 Glenn Morris <rgm@gnu.org>
18053 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18054 from the second command-line argument.
18055 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18056 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18057 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18058 w32-batch-update-autoloads.
18059 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18060 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18062 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18063 the headers cannot be located. Simplify, subtracting superflous
18066 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18068 Replace completion-base-size by completion-base-position to fix bugs
18069 such as (bug#4699).
18070 * simple.el (completion-base-position): New var.
18071 (completion-base-size): Mark as obsolete.
18072 (choose-completion): Make it work for mouse events as well.
18073 Pass the new base-position to choose-completion-string.
18074 (choose-completion-guess-base-position): New function, extracted from
18075 choose-completion-delete-max-match.
18076 (choose-completion-delete-max-match): Use it. Make obsolete.
18077 (choose-completion-string): Use the new base-position info.
18078 (completion-root-regexp): Delete.
18079 (completion-setup-function): Preserve completion-base-position.
18080 Eliminate obsolete base-size manipulation.
18081 * minibuffer.el (display-completion-list): Don't mess with base-size.
18082 (minibuffer-completion-help): Set completion-base-position instead.
18083 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18085 * textmodes/bibtex.el (bibtex-complete):
18086 * emacs-lisp/crm.el (crm--choose-completion-string):
18087 Adjust to new calling convention.
18088 * complete.el (partial-completion-mode): Use minibufferp to avoid
18089 bumping into incompatible change to choose-completion-string-functions.
18090 * ido.el (ido-choose-completion-string): Make its calling convention
18092 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18093 base-size manipulation.
18094 (comint-dynamic-list-input-ring): Use dotimes and push.
18095 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18096 fundamental-mode. Use `or'.
18098 2009-10-14 Juri Linkov <juri@jurta.org>
18100 * misearch.el (multi-isearch-next-buffer-from-list)
18101 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18103 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18105 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18108 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18109 string we return is all made up of text from the completions rather
18110 than part from the completions and part from the input (bug#4219).
18112 * ido.el (ido-everywhere): Use define-minor-mode.
18114 * buff-menu.el (list-buffers, ctl-x-map):
18115 Mark the entry points with ;;;###autoload cookies.
18117 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18119 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18120 correctly in the detached head case.
18121 (vc-git-print-log): Remove unused binding.
18123 * vc.el (vc-responsible-backend): When a directory is passed for
18124 for registration create a VC repository if no backend is
18125 responsible for the directory argument.
18126 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18128 * vc.el: Move comments about RCS and SCCS ...
18130 * vc-sccs.el: ... here, respectively.
18132 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18134 * minibuffer.el (completion--file-name-table): Return nil if there's
18135 no file completion, even if substitute-in-file-name changed
18136 the string (bug#4708).
18138 2009-10-13 Juri Linkov <juri@jurta.org>
18140 * files-x.el (read-file-local-variable-value): Don't filter out
18141 minor modes from mode name completion (bug#4664).
18143 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18145 * international/mule-cmds.el (ucs-names): Remove exclusion of
18146 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18148 2009-10-13 Kenichi Handa <handa@m17n.org>
18150 * international/uni-name.el: Regenerated.
18152 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18154 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18155 should be automatically buffer-local, but isn't.)
18157 2009-10-12 Sam Steingold <sds@gnu.org>
18159 * progmodes/compile.el (compilation-next-error-function): Fix the
18160 timestamps if the buffer has been visited before.
18161 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18162 non-anchored patterns, like the perl one (bug#3928).
18164 2009-10-12 Glenn Morris <rgm@gnu.org>
18166 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18169 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18171 * proced.el (proced-unload-function): New function.
18173 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18174 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18177 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18179 2009-10-11 Juri Linkov <juri@jurta.org>
18181 * files-x.el (read-file-local-variable-value):
18182 Provide default value only for bound variables (bug#4664).
18184 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18186 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18187 connection methods like smb.
18189 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18192 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18193 (tramp-smb-file-name-handler-alist): Add handlers for
18194 `add-name-to-file', `make-symbolic-link'.
18195 (tramp-smb-handle-add-name-to-file)
18196 (tramp-smb-do-file-attributes-with-stat)
18197 (tramp-smb-handle-make-symbolic-link)
18198 (tramp-smb-get-cifs-capabilities): New defuns.
18199 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18200 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18201 (tramp-smb-handle-file-local-copy)
18202 (tramp-smb-handle-make-directory-internal)
18203 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18204 The file name syntax depends on cifs capabilities.
18205 (tramp-smb-handle-file-attributes):
18206 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18207 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18208 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18210 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18212 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18213 (eieio-defclass): Apply deftype handler and setf-method properties
18215 (eieio-add-new-slot): Avoid union function from cl library.
18216 (eieio--typep): New function.
18217 (eieio-perform-slot-validation): Use it.
18219 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18221 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18222 Update documentation to refer to the variables documented in r1.135.
18225 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18227 * bookmark.el (Info-suffix-list): Remove this unused variable.
18228 (bookmark-current-point): Remove this obsolete variable.
18229 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18230 Adjust for removal of bookmark-current-point.
18232 (bookmarks-already-loaded, bookmark-current-buffer)
18233 (bookmark-yank-point): Document. (Bug#4188)
18235 2009-10-10 Glenn Morris <rgm@gnu.org>
18237 * frame.el (frame-height): Doc fix.
18239 * calendar/calendar.el (calendar-split-width-threshold): New option.
18240 (calendar-basic-setup): Use calendar-split-width-threshold.
18242 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18244 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18245 Ideographic Supplement" range (U+1F200..U+1F2FF).
18247 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18249 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18250 since the list will have been rebuilt anyway. (Bug#4349)
18252 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18254 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18255 (bookmark-bmenu-execute-deletions): Don't save here, as
18256 bookmark-delete will now do so if necessary.
18257 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18260 2009-10-09 Glenn Morris <rgm@gnu.org>
18262 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18264 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18266 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18267 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18268 argument now, so the two function's behaviors will match. (Bug#3645)
18270 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18272 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18273 (tramp-file-name-real-host, tramp-file-name-port):
18274 Apply `save-match-data'.
18276 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18277 case both directories are remote.
18278 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18279 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18281 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18283 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18285 2009-10-07 Glenn Morris <rgm@gnu.org>
18287 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18290 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18292 * files-x.el (read-file-local-variable): Include some
18293 non-user-variables in the completion table (bug#4664).
18295 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18297 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18300 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18301 (tramp-smb-file-name-handler-alist): Add handler for
18302 `copy-directory', `expand-file-name', `set-file-modes'.
18303 (tramp-smb-handle-copy-directory)
18304 (tramp-smb-handle-expand-file-name)
18305 (tramp-smb-handle-set-file-modes): New defuns.
18306 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18307 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18309 (tramp-smb-handle-insert-directory): Don't flush the cache.
18310 (tramp-smb-maybe-open-connection): Check for samba client and
18313 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18315 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18316 to not error out of search for "^lisp=" fails.
18318 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18320 * makefile.w32-in (WINS_UPDATES): New macro.
18321 (custom-deps, finder-data, autoloads): Use it.
18323 2009-10-07 Glenn Morris <rgm@gnu.org>
18325 * Makefile.in (autoloads): Revert previous change.
18326 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18327 the list of preloaded files passed on the command-line, get
18328 it from src/Makefile.
18330 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18331 show the original buffer rather than a random one.
18333 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18335 * help.el (describe-no-warranty): Place point in a slightly better
18336 position in the GPLv3 text.
18338 2009-10-06 Sam Steingold <sds@gnu.org>
18340 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18341 the comm attribute is present before calling regexp-quote.
18343 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18345 * play/animate.el (animate-string): For good effect, make sure
18346 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18348 * play/animate.el (animate-sequence, animate-birthday-present):
18349 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18351 2009-10-06 Glenn Morris <rgm@gnu.org>
18353 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18355 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18356 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18357 (batch-update-autoloads): Process a string value of autoload-excludes,
18358 set during the build process.
18359 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18361 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18362 inside with-parsed... macro so that `v' is defined.
18364 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18365 * progmodes/fortran.el (fortran-end-of-block)
18366 (fortran-beginning-of-block):
18367 Also push mark in the macro case.
18369 * emerge.el (emerge-show-file-name):
18370 * calc/calc.el (calc-quit):
18371 * calc/calc-misc.el (calc-big-or-small):
18372 * calc/calc-graph.el (calc-graph-view):
18373 * calc/calc-ext.el (calc-reset):
18374 * calendar/calendar.el (calendar-basic-setup):
18375 Use window-full-height-p.
18377 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18378 header we don't understand, don't insert another. (Bug#4624)
18379 If changing mime charset, insert the new one in the right place.
18381 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18383 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18384 (cal-tex-cursor-month): Correctly increment the end date for diary and
18385 holiday listing. (Bug#4626)
18387 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18389 * help-fns.el (describe-function-1): Don't burp if the function is not
18392 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18394 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18395 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18396 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18397 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18399 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18400 (eieio-default-superclass): Reflow docstrings.
18401 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18402 (eieio-unbind-method-implementations, defmethod)
18403 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18404 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18405 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18406 (eieio-slot-originating-class-p, eieio-slot-name-index)
18407 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18408 (constructor, initialize-instance, no-next-method, object-print)
18409 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18410 Fix typos in docstrings.
18411 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18412 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18413 (next-method-p): Doc fixes.
18414 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18415 Fix typos in error messages.
18416 (eieio-defmethod): Fix typo in description of generic method.
18418 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18419 (eieio-persistent-save-interactive, slot-missing):
18420 Fix typos in docstrings.
18421 (eieio-instance-inheritor-slot-boundp): Doc fix.
18423 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18424 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18426 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18427 (eieio-custom-object-apply-reset):
18428 Fix typos in docstrings and error messages.
18430 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18431 Fix typo in docstring.
18433 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18434 (eieio-browse-tree): Doc fix.
18435 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18436 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18437 Fix typos in docstrings.
18439 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18440 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18441 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18442 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18445 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18447 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18448 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18449 Set log-view-vc-backend so that diff can work.
18451 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18453 (vc-diff-internal): Autoload this instead of vc-version-diff.
18455 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18457 * simple.el (eval-expression): Doc fix.
18459 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18461 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18463 * files.el (directory-files-no-dot-files-regexp): New defconst.
18464 (delete-directory): Use it.
18465 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18467 * net/tramp.el (tramp-verbose): Fix docstring.
18468 (tramp-methods): Add recursive option to `tramp-copy-args'.
18469 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18470 "scp1_old", "scp2_old", "rsync", "rsyncc".
18471 (tramp-default-method): Check also for `auth-source-user-or-password'.
18472 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18473 Add handler for `copy-directory'.
18474 (tramp-handle-copy-directory): New defun.
18475 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18476 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18477 Optimize sent command.
18479 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18481 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18482 window if necessary.
18484 * calendar/calendar.el (calendar-basic-setup): Don't call
18485 switch-to-buffer in a dedicated window.
18487 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18489 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18490 don't do anything related to relocating, just return nil.
18491 (bookmark-error-no-filename): New error.
18492 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18493 bookmark has no file. Don't even attempt to handle things that
18494 are not files; the whole point of custom handlers is to keep that
18495 knowledge elsewhere anyway. Tighten some comments.
18496 (bookmark-file-or-variation-thereof): Remove now-unused function.
18497 (bookmark-location): Doc string fix.
18500 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18502 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18503 don't use a file dialog, because they usually don't know how to read
18504 a directory target from the user. (Bug#4230)
18505 Also, make sure the prompt can display directories as well as files.
18507 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18509 * bookmark.el (bookmark-set, bookmark-buffer-name):
18510 Improve doc strings. (Bug#1193)
18512 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18514 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18515 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18516 (bookmark-get-annotation, bookmark-set-annotation)
18517 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18518 (bookmark-set-position, bookmark-get-front-context-string)
18519 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18520 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18521 (bookmark-jump-other-window, bookmark-handle-bookmark)
18522 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18523 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18524 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18525 Improve doc strings to say whether bookmark can be a string or
18526 a record or both, and make other consistency and clarity fixes.
18527 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18528 (bookmark-default-annotation-text, bookmark-yank-word)
18529 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18530 (bookmark-import-new-list, bookmark-maybe-rename)
18531 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18532 (bookmark-bmenu-bookmark): Give these doc strings.
18533 (bookmark-bmenu-check-position): Give this a doc string, but also
18534 add a FIXME comment about how the function may be pointless.
18535 (bookmark-default-handler): Rework doc string and change a
18536 parameter name, to clarify that this takes a bookmark record
18537 not a bookmark name.
18538 (bookmark-set): Change a parameter name to indicate its meaning,
18539 and improve the doc string a bit.
18542 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18544 * bookmark.el (bookmark-alist): Document the new `handler' element
18545 in the param alist.
18546 (bookmark-make-record-function): Adjust documentation for above.
18549 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18551 * info.el (Info-bookmark-make-record): Document this function.
18552 (Info-bookmark-jump): Document with a doc string, not just a comment.
18555 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18557 * files.el (copy-directory): New defun.
18559 * dired-aux.el (dired-copy-file-recursive): Use it.
18561 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18563 * files-x.el (modify-dir-local-variable)
18564 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18567 * recentf.el (recentf-unload-function): New function.
18569 2009-10-04 Glenn Morris <rgm@gnu.org>
18571 * window.el (window-full-height-p): Add doc string.
18573 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18575 * window.el (window-full-height-p): New function. (Bug#4543)
18577 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18579 * vc.el: Remove commented out code.
18580 (vc-derived-from-dir-mode): Remove, unused.
18581 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18583 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18585 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18586 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18587 there could be recursive loading when `default-directory' is a
18588 remote file name. (Bug#4614)
18590 2009-10-03 Glenn Morris <rgm@gnu.org>
18592 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18594 (calendar-generate-window): Test for shrinkability rather than width.
18596 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18597 reusing existing buffers, in case we happen to visit two files with the
18598 same basename. (Bug#4593)
18600 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18602 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18603 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18604 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18605 subdirs of cedet as well.
18606 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18608 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18610 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18611 Obey advertised-signature-table.
18613 * help-fns.el (help-function-arglist): Don't check
18614 advertised-signature-table.
18615 (describe-function-1): Do it here instead so it also applies to subrs.
18617 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18619 * simple.el (start-file-process): Say in the doc-string, that file
18620 handlers might not support pty association, if PROGRAM is nil.
18622 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18623 HOST and USER are strings. They are nil, when there are
18624 incomplete entries in ~/.netrc, for example.
18625 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18626 root directory ("device busy" error otherwise).
18628 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18629 Flush file properties of created directory.
18631 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18633 * makefile.w32-in (WINS_BASIC): Remove cedet.
18634 (WINS_CEDET): Add cedet.
18635 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18637 2009-10-02 Kevin Ryde <user42@zip.com.au>
18639 * net/browse-url.el (browse-url): Pass any symbol in
18640 browse-url-browser-function to `apply', since if you've mistakenly put
18641 an unbound symbol then the error is clearer. (Bug#4531)
18643 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18645 * allout.el (allout-init, allout-back-to-current-heading)
18646 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18647 (allout-ascend, allout-up-current-level, allout-end-of-level)
18648 (allout-previous-visible-heading, allout-forward-current-level)
18649 (allout-backward-current-level, allout-show-children):
18650 * apropos.el (apropos-describe-plist):
18651 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18652 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18653 * completion.el (add-completion, add-permanent-completion):
18654 * descr-text.el (describe-text-category, describe-char):
18655 * desktop.el (desktop-lazy-abort):
18656 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18657 * dired.el (dired-build-subdir-alist):
18658 * ediff.el (ediff-version):
18659 * elide-head.el (elide-head, elide-head-show):
18660 * emerge.el (emerge-version):
18662 * face-remap.el (variable-pitch-mode):
18663 * faces.el (describe-face):
18664 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18666 * files.el (find-file-existing, auto-save-mode):
18667 * font-lock.el (font-lock-fontify-buffer):
18668 * help-fns.el (describe-function, describe-variable)
18669 (describe-syntax, describe-categories):
18670 * help.el (view-lossage, describe-bindings, describe-key)
18672 * hexl.el (hexl-current-address):
18673 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18674 * info.el (Info-goto-emacs-key-command-node):
18675 * log-edit.el (log-edit-insert-cvs-template)
18676 (log-edit-insert-cvs-rcstemplate):
18677 * menu-bar.el (menu-bar-mode):
18678 * mouse.el (mouse-appearance-menu):
18679 * newcomment.el (comment-indent-new-line):
18680 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18681 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18682 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18683 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18684 * recentf.el (recentf-mode):
18685 * savehist.el (savehist-mode, savehist-save):
18686 * shadowfile.el (shadow-copy-files):
18687 * simple.el (kill-ring-save, next-line, previous-line)
18688 (normal-erase-is-backspace-mode):
18689 * strokes.el (strokes-update-window-configuration)
18690 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18691 (strokes-xpm-for-stroke):
18692 * time.el (emacs-uptime, emacs-init-time):
18693 * tutorial.el (tutorial--describe-nonstandard-key)
18694 (tutorial--detailed-help):
18695 * type-break.el (type-break-mode)
18696 (type-break-mode-line-message-mode, type-break-query-mode)
18697 (type-break-guesstimate-keystroke-threshold):
18698 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18699 * version.el (emacs-version):
18700 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18701 * winner.el (winner-mode):
18702 * calendar/timeclock.el (timeclock-in, timeclock-out)
18703 (timeclock-status-string, timeclock-change)
18704 (timeclock-workday-remaining-string)
18705 (timeclock-workday-elapsed-string)
18706 (timeclock-when-to-leave-string):
18707 * calendar/todo-mode.el (todo-add-category):
18708 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18709 * emacs-lisp/autoload.el (update-file-autoloads):
18710 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18711 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18712 (checkdoc-message-text, checkdoc-defun):
18713 * emacs-lisp/debug.el (debugger-list-functions):
18714 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18715 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18716 (eieio-describe-generic):
18717 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18718 * emacs-lisp/shadow.el (list-load-path-shadows):
18719 * emulation/cua-base.el (cua-mode):
18720 * emulation/edt.el (edt-set-scroll-margins):
18721 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18722 (tpu-toggle-regexp, tpu-toggle-search-direction)
18723 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18724 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18725 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18726 (viper-set-parsing-style-toggling-macro)
18727 (viper-set-emacs-state-searchstyle-macros):
18728 * emulation/viper.el (viper-set-hooks):
18729 * eshell/esh-mode.el (eshell-truncate-buffer):
18730 * international/mule-cmds.el (prefer-coding-system)
18731 (describe-input-method, describe-language-environment):
18732 * international/mule-diag.el (list-character-sets)
18733 (describe-character-set, describe-coding-system)
18734 (describe-fontset, list-fontsets, list-input-methods):
18735 * mail/sendmail.el (mail-signature):
18736 * net/ange-ftp.el (ange-ftp-copy-file):
18737 * net/browse-url.el (browse-url):
18738 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18739 * net/quickurl.el (quickurl-add-url):
18740 * net/rcirc.el (names, topic):
18741 * net/xesam.el (xesam-mode):
18742 * play/5x5.el (5x5-new-game):
18743 * play/yow.el (apropos-zippy):
18744 * progmodes/ada-mode.el (ada-mode-version):
18745 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18747 (f90-beginning-of-block):
18748 * progmodes/fortran.el (fortran-end-of-block)
18749 (fortran-beginning-of-block):
18750 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18751 * progmodes/python.el (python-describe-symbol, python-shell):
18752 * term/ns-win.el (ns-print-buffer):
18753 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18754 * textmodes/flyspell.el (flyspell-mode-on):
18755 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18756 (pages-directory-for-addresses):
18757 * textmodes/table.el (table-recognize-cell)
18758 (table-query-dimension, table-generate-source)
18759 (table-insert-sequence, table--warn-incompatibility):
18760 * textmodes/tex-mode.el (tex-validate-buffer):
18761 * textmodes/texinfmt.el (texinfmt-version)
18762 (texinfo-format-buffer):
18763 Use `called-interactively-p' instead of `interactive-p'.
18765 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18767 * image-mode.el (image-toggle-display):
18768 * emacs-lisp/elp.el (elp-instrument-function):
18769 * emacs-lisp/advice.el (ad-make-advised-definition):
18770 * emacs-lisp/easy-mmode.el (define-minor-mode):
18771 * net/browse-url.el (browse-url-maybe-new-window):
18772 * progmodes/sh-script.el (sh-learn-buffer-indent):
18773 Pass new argument 'any to `called-interactively-p'.
18775 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18777 * international/uni-bidi.el:
18778 * international/uni-category.el:
18779 * international/uni-combining.el:
18780 * international/uni-comment.el:
18781 * international/uni-decimal.el:
18782 * international/uni-decomposition.el:
18783 * international/uni-digit.el:
18784 * international/uni-lowercase.el:
18785 * international/uni-mirrored.el:
18786 * international/uni-name.el:
18787 * international/uni-numeric.el:
18788 * international/uni-old-name.el:
18789 * international/uni-titlecase.el:
18790 * international/uni-uppercase.el:
18791 Regenerate from Unicode 5.2.0 data.
18793 2009-10-01 Glenn Morris <rgm@gnu.org>
18795 * Makefile.in (ELCFILES): Regenerate.
18797 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18799 * subr.el (interactive-p): Mark obsolete.
18800 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18801 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18802 advertised-signature-table for subroutines as well.
18804 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18805 (set-advertised-calling-convention): New function.
18806 (make-obsolete, define-obsolete-function-alias)
18807 (make-obsolete-variable, define-obsolete-variable-alias):
18808 Make the optional-ness of `when' obsolete.
18809 (define-obsolete-face-alias): Make `when' non-optional.
18810 * help-fns.el (help-function-arglist):
18811 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18812 Use advertised-signature-table.
18814 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18816 * files.el (delete-directory): New defun. The original function
18817 in fileio.c has been renamed to `delete-directory-internal'.
18819 * dired.el (dired-delete-file): Call `delete-directory' with
18820 RECURSIVE parameter.
18822 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18823 parameter RECURSIVE. Implementation is missing.
18825 * net/tramp.el (tramp-handle-make-directory): Flush upper
18826 directory's file properties.
18827 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18828 (tramp-handle-dired-recursive-delete-directory): Flush directory
18829 properties after the remove command only.
18831 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18832 Handle optional parameter RECURSIVE.
18834 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18835 Handle optional parameter RECURSIVE.
18837 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18838 connection timeout.
18839 (tramp-smb-handle-delete-directory): Handle optional parameter
18842 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18844 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18845 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18846 (byte-compile-defmacro): Use backquotes.
18848 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18850 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18851 has no associated file.
18852 (vc-resynch-buffer): Use vc-dir-buffers.
18854 2009-10-01 Glenn Morris <rgm@gnu.org>
18856 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18857 (chart-file-count):
18858 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18859 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18860 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18861 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18862 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18863 (eieio-copy-parents-into-subclass, make-instance, class-children)
18864 (eieio-generic-form):
18866 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18867 match-data. (Bug#4555).
18869 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18870 rather than parsing it as a regexp. This relaxes the layout
18871 requirements and makes errors easier to detect.
18872 (check-declare-verify): Check file is regular.
18873 (check-declare-directory): Doc fix.
18874 * subr.el (declare-function): Doc fix.
18876 * ibuffer.el (ibuffer-format-qualifier):
18877 * isearch.el (hi-lock-regexp-okay):
18878 * calc/calc.el (math-zerop):
18879 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18880 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18881 Remove unused declarations.
18883 2009-09-30 Eric Ludlam <zappo@gnu.org>
18885 * emacs-lisp/eieio.el (boolean-p): Delete.
18887 2009-09-30 Glenn Morris <rgm@gnu.org>
18889 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18891 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18892 filename is not a string.
18894 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18896 * files.el (safe-local-eval-forms): Fix typo.
18898 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18900 * vc-hooks.el (vc-dir-buffers): New var.
18901 (vc-state-refresh): New function.
18902 (vc-state): Use it.
18903 (vc-after-save): Always ask the backend to recompute the new state.
18904 Always call vc-dir if necessary, using vc-dir-buffers.
18905 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18906 Use vc-dir-buffers.
18907 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18908 (vc-dir-prepare-status-buffer, vc-dir-update)
18909 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18910 Don't call expand-file-name on default-directory.
18912 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18914 * speedbar.el (speedbar-item-delete):
18915 * calc/calc-prog.el (calc-kbd-if):
18916 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18918 * epa.el (epa-key-list-mode-map):
18919 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18921 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18922 (hs-show-hook): Fix typo in docstring.
18924 2009-09-29 Glenn Morris <rgm@gnu.org>
18926 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18927 file-name-nondirectory call preventing location of cedet files.
18928 (check-declare-verify): Use literal search rather than re-search.
18929 Add basic defmethod and defclass, and define-overloadable-function.
18931 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18932 Use tramp-compat-file-attributes rather than nonexistent
18933 tramp-compat-handle-file-attributes.
18935 * Makefile.in (lisptagsfiles4): New.
18936 (AUTOGENEL): Add cedet loaddefs files.
18937 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18938 (update-elclist, compile-always, backup-compiled-files)
18939 (bootstrap-clean): Add yet another directory level.
18940 (update-elclist): Use LC_COLLATE rather than COLLATE.
18941 (ELCFILES): Update, via `make update-elclist'.
18943 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18945 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18946 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18947 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18949 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18951 * Makefile.in (lisptagsfiles3): Define.
18952 (TAGS, TAGS-LISP): Use it.
18953 (update-elclist): Add third directory level to look for elc files.
18954 (compile-always): Likewise.
18955 (backup-compiled-files): Likewise.
18956 (bootstrap-clean): Likewise.
18957 (ELCFILES): Update.
18959 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18961 * Makefile.in (ELCFILES): Add CEDET files.
18963 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18965 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18967 * net/tramp.el (top): Require tramp-imap.
18969 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18970 Use `tramp-compat-handle-file-attributes'.
18972 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18974 * net/tramp-imap.el: New package.
18976 2009-09-28 Eric Ludlam <zappo@gnu.org>
18978 * emacs-lisp/chart.el:
18979 * emacs-lisp/eieio-base.el:
18980 * emacs-lisp/eieio-comp.el:
18981 * emacs-lisp/eieio-custom.el:
18982 * emacs-lisp/eieio-datadebug.el:
18983 * emacs-lisp/eieio-opt.el:
18984 * emacs-lisp/eieio-speedbar.el:
18985 * emacs-lisp/eieio.el: New files.
18987 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18989 * whitespace.el (whitespace-trailing-regexp)
18990 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18993 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18995 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18998 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18999 menu-bar-ediff-menu.
19001 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19002 define-overloadable-function.
19004 * progmodes/autoconf.el: Provide autoconf as well, so that this
19005 file can be `require'd.
19007 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19009 * emacs-lisp/autoload.el (generated-autoload-feature)
19010 (generated-autoload-load-name): New vars.
19011 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19012 (make-autoload): Recognize define-overloadable-function and
19013 defclass forms (for EIEIO).
19015 * Makefile.in (update-subdirs): Exclude cedet directory.
19017 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19019 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19021 * faces.el: Default light-background background for region face to
19022 ns_selection_color under NS.
19024 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19026 * net/imap-hash.el: New library, see NEWS.
19028 * Makefile.in (ELCFILES): Add imap-hash.el.
19030 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19032 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19033 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19034 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19035 definition where the docstring could be taken for the return value.
19037 2009-09-26 Glenn Morris <rgm@gnu.org>
19039 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19040 Add option to only show images below a certain size.
19041 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19042 save-excursion calls.
19044 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19046 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19047 subdirectories) and eieio.
19049 2009-09-26 Alan Mackenzie <acm@muc.de>
19051 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19052 Correct buggy bracketing. (Bug#4289)
19054 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19055 character constants (as case labels). (Bug#4289)
19057 2009-09-25 Juri Linkov <juri@jurta.org>
19059 * files.el (safe-local-eval-forms): Allow time-stamp in
19060 before-save-hook (Bug#4554).
19062 2009-09-25 Drew Adams <drew.adams@oracle.com>
19064 * menu-bar.el (list-buffers-directory): Doc fix.
19066 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19068 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19069 Try and avoid copying twice the same paragraph.
19070 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19071 Remove save-excursion.
19072 (log-edit-changelog-entry): Do it here instead.
19074 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19076 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19077 when available, instead of hardcoding mode names. Doc fix.
19079 * menu-bar.el (list-buffers-directory): Add docstring.
19080 Make automatically buffer-local.
19082 * dired.el (dired-mode):
19083 * files.el (cd-absolute):
19084 * pcvs.el (cvs-temp-buffer):
19085 * pcvs-util.el (cvs-get-buffer-create):
19086 * shell.el (shell-mode):
19087 * vc-dir.el (vc-dir-mode):
19088 Don't make `list-buffers-directory' buffer local.
19090 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19092 * comint.el (comint-exec, comint-run, make-comint):
19093 Doc fixes (Bug#4542).
19095 2009-09-25 Glenn Morris <rgm@gnu.org>
19097 * mail/rmailmm.el (rmail-mime): New custom group.
19098 Move all defcustoms in this file into this group.
19099 (rmail-mime-media-type-handlers-alist): Revert previous change.
19100 (rmail-mime-show-images): New option.
19101 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19102 references to it, since it wasn't actually used for anything.
19103 (rmail-mime-insert-image): New function.
19104 (rmail-mime-image): Use rmail-mime-insert-image.
19105 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19106 obey the value of `rmail-mime-show-images' option. Print the size of
19109 2009-09-25 David Engster <deng@randomsample.de>
19111 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19113 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19115 * whitespace.el: Does not highlight trailing spaces While point is
19116 at end of line. Does not highligt spaces at beginning of buffer
19117 while point is at beginning of buffer. Does not highlight spaces
19118 at end of buffer while point is at end of buffer. (Bug#4177)
19120 (whitespace-display-mappings): Adjust initialization.
19121 (whitespace-point, whitespace-font-lock-refontify): New vars.
19122 (whitespace-color-on, whitespace-color-off): Adjust code.
19123 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19124 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19125 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19127 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19129 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19131 * textmodes/sgml-mode.el: Remove xml-mode alias.
19133 * files.el (auto-mode-alist, conf-mode-maybe)
19134 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19136 2009-09-24 Alan Mackenzie <acm@muc.de>
19138 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19139 c-forward-conditionals, but it doesn't move point and doesn't set
19141 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19142 (c-down-conditional-with-else, c-backward-conditional)
19143 (c-forward-conditional): Refactor to use c-scan-conditionals.
19145 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19147 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19148 (help-default-arg-highlight): Remove.
19149 (help-highlight-arg): New function.
19150 (help-do-arg-highlight): Use it.
19151 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19153 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19155 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19156 Undo last change, which didn't fix the problem and introduced others.
19158 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19160 * progmodes/gdb-mi.el: Don't require speedbar.
19161 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19163 2009-09-24 Glenn Morris <rgm@gnu.org>
19165 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19167 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19169 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19170 there is no newline after the final mime boundary. (Bug#4539)
19171 Move markers on insertion so that any buttons inserted don't end up in
19172 the next part of a multipart message.
19173 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19174 (rmail-mime-bulk-handler): Optionally handle images.
19175 (rmail-mime-image): New button action.
19176 (rmail-mime-image-handler): New function.
19177 (rmail-mime-mode): New mode.
19178 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19180 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19182 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19183 than just dropping elements from it (bug#4504).
19185 * term.el (term-set-scroll-region): Don't move cursor any more.
19186 (term-handle-ansi-escape): Call term-goto here instead.
19187 Suggested by Ivan Kanis <apple@kanis.eu>.
19189 * term.el: Require CL.
19190 (term-ansi-reset): New function.
19191 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19192 (term-handle-colors-array): Simplify.
19194 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19196 * allout.el (allout-overlay-interior-modification-handler)
19197 (allout-obtain-passphrase):
19198 * epa-file.el (epa-file-write-region):
19199 * ps-print.el (ps-begin-job):
19200 * vc-hooks.el (vc-toggle-read-only):
19201 * vc-rcs.el (vc-rcs-rollback):
19202 * vc-sccs.el (vc-sccs-rollback):
19203 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19204 (vc-version-diff, vc-revert, vc-rollback):
19205 * wdired.el (wdired-check-kill-buffer):
19206 * emacs-lisp/authors.el (authors):
19207 * net/socks.el (socks-open-connection):
19208 * net/zeroconf.el (zeroconf-service-add-hook):
19209 * obsolete/vc-mcvs.el (vc-mcvs-register):
19210 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19211 (gdb-select-frame):
19212 * progmodes/grep.el (lgrep, rgrep):
19213 * progmodes/idlw-help.el (idlwave-help-check-locations)
19214 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19215 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19216 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19217 (reftex-toc-rename-label): Fix typos in error messages.
19219 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19220 (dired-copy-how-to-fn): Doc fix.
19221 (dired-files-attributes, dired-read-shell-command):
19222 Fix typos in docstrings.
19224 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19225 (dired-x-find-file-other-window): Reflow docstrings.
19226 (dired-omit-marker-char, dired-read-shell-command)
19227 (dired-x-submit-report): Fix typos in docstrings.
19229 * shell.el (shell-mode-hook):
19230 * view.el (View-scroll-line-forward):
19231 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19232 Fix typos in docstrings.
19234 * net/dig.el (dig-invoke): Fix typo in docstring.
19235 (query-dig): Reflow docstring.
19237 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19238 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19239 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19240 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19241 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19242 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19243 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19244 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19245 (idlwave-completion-map, idlwave-current-indent)
19246 (idlwave-custom-ampersand-surround, idlwave-customize)
19247 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19248 (idlwave-define-abbrev, idlwave-determine-class-special)
19249 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19250 (idlwave-end-block-reg, idlwave-end-of-statement)
19251 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19252 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19253 (idlwave-explicit-class-listed, idlwave-file-header)
19254 (idlwave-fill-paragraph, idlwave-find-class-definition)
19255 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19256 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19257 (idlwave-in-quote, idlwave-indent-action-table)
19258 (idlwave-indent-expand-table, idlwave-indent-line)
19259 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19260 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19261 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19262 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19263 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19264 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19265 (idlwave-outlawed-buffers, idlwave-popup-select)
19266 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19267 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19268 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19269 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19270 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19271 (idlwave-statement-type, idlwave-struct-skip)
19272 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19273 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19274 (idlwave-what-module-find-class): Fix typos in docstrings.
19275 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19276 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19277 (idlwave-find-module, idlwave-find-structure-definition)
19278 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19279 (idlwave-list-load-path-shadows, idlwave-next-statement)
19280 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19281 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19282 (idlwave-template): Reflow docstrings.
19284 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19285 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19286 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19287 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19288 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19289 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19290 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19291 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19292 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19293 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19294 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19295 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19296 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19297 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19298 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19299 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19300 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19301 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19302 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19303 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19304 Fix typos in docstrings.
19305 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19306 (idlwave-shell-hide-output, idlwave-shell-mode)
19307 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19310 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19312 2009-09-24 Ivan Kanis <apple@kanis.eu>
19314 * term.el (term-bold-attribute): New var.
19315 (term-handle-colors-array): Use it.
19317 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19319 * progmodes/gdb-mi.el (gdb-version): New variable.
19320 (gdb-non-stop-handler): Set gdb-version.
19321 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19322 Condition "--thread" option on gdb-version.
19323 (gdb-invalidate-threads): Remove unused argument.
19325 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19327 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19328 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19330 2009-09-23 Glenn Morris <rgm@gnu.org>
19332 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19333 replying to mail without References or Message-Id. (Bug#4525)
19335 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19337 * term/ns-win.el (ns-reg-to-script): New variable.
19339 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19341 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19343 2009-09-22 Sam Steingold <sds@gnu.org>
19345 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19346 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19347 to 1 because hg returns status 1 when nothing is found.
19348 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19350 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19352 * textmodes/fill.el: Convert to utf-8 encoding.
19353 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19356 * add-log.el (change-log-fill-forward-paragraph): New function.
19357 (change-log-mode): Use it so fill-region DTRT.
19358 Set fill-indent-according-to-mode here rather than in
19359 change-log-fill-paragraph.
19360 (change-log-fill-paragraph): Remove.
19362 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19364 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19365 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19367 2009-09-22 Glenn Morris <rgm@gnu.org>
19369 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19370 the scroll-bar scroll the calendar window rather than the buffer.
19372 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19373 commands that move point (as opposed to scrolling).
19375 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19377 * emacs-lisp/elint.el (elint): New custom group.
19378 (elint-log-buffer): Make it a defcustom.
19379 (elint-scan-preloaded, elint-ignored-warnings)
19380 (elint-directory-skip-re): New options.
19381 (elint-builtin-variables): Doc fix.
19382 (elint-preloaded-env): New variable.
19383 (elint-unknown-builtin-args): Add an entry for encode-time.
19384 (elint-extra-errors): Make it a variable rather than a constant.
19385 (elint-preloaded-skip-re): New constant.
19386 (elint-directory): Skip files matching elint-directory-skip-re.
19387 (elint-features): New variable, local to linted buffers.
19388 (elint-update-env): Initialize elint-features. Possibly add
19389 elint-preloaded-env to the buffer's environment.
19390 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19392 (elint-init-form): New function, extracted from elint-init-env.
19393 Make non-list forms a warning rather than an error.
19394 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19395 easy-menu-define, put that adds an error-condition, and provide.
19396 When requiring cl, also require cl-macs. Really require cl, to handle
19397 some cl macros. Store required libraries in the list elint-features,
19398 so as not to re-load them. Treat cc-require like require.
19399 (elint-init-env): Call elint-init-form to do the work.
19400 Handle eval-and-compile and such like.
19401 (elint-add-required-env): Do not clear messages.
19402 (elint-special-forms): Add handlers for function, defalias, if, when,
19404 (elint-form): Add optional argument to ignore elint-special-forms,
19405 useful to prevent recursive calls from handlers. Doc fix.
19406 Respect elint-ignored-warnings.
19407 (elint-form): Respect elint-ignored-warnings.
19408 (elint-bound-variable, elint-bound-function): New variables.
19409 (elint-unbound-variable): Respect elint-bound-variable.
19410 (elint-get-args): Respect elint-bound-function.
19411 (elint-check-cond-form): Add some simple handling for (f)boundp and
19413 (elint-check-defalias-form): New handler.
19414 (elint-check-let-form): Make an empty let a warning rather than an
19416 (elint-check-setq-form): Make an empty setq a warning rather than an
19417 error. Respect elint-ignored-warnings.
19418 (elint-check-defvar-form): Accept null doc-strings.
19419 (elint-check-conditional-form): New handler. Does some simple-minded
19420 checking of featurep and (f)boundp tests.
19421 (elint-put-function-args): New function.
19422 (elint-initialize): Use elint-scan-doc-file rather than
19423 elint-find-builtin-variables. Use elint-put-function-args.
19424 Possibly scan preloaded-file-list.
19425 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19426 extend to handle functions as well.
19428 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19430 * linum.el (linum-delete-overlays, linum-update-window):
19431 Do not modify the right margin. (Bug#3971)
19433 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19435 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19436 Use nxml-mode instead of xml-mode.
19438 2009-09-21 Kevin Ryde <user42@zip.com.au>
19440 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19442 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19444 * net/dig.el (dig-mode): Use define-derived-mode.
19446 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19448 * vc-dispatcher.el (vc-do-command): Return the process object in
19449 the asynchronous case. Use when instead of if. Do not run
19450 vc-exec-after to display a message if not enabled. (Bug#4463)
19452 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19453 properties to the stash strings.
19454 (vc-git-stash-list): Return a list of strings.
19455 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19456 (vc-git-stash-show-at-point): New functions.
19457 (vc-git-stash-map): New keymap.
19459 * register.el (ctl-x-r-map): Define the keys here instead of
19462 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19464 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19465 list, to workaround performance problem (bug#4485).
19467 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19469 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19471 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19473 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19474 Document that this option is not recommended to use.
19476 2009-09-19 Glenn Morris <rgm@gnu.org>
19478 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19481 * calc/calc-alg.el (var):
19482 * calc/calcalg2.el (var): Define for compiler.
19484 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19486 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19487 Doc fix (Bug#3932).
19489 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19491 * time-stamp.el (time-stamp-month-dd-yyyy)
19492 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19493 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19494 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19495 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19496 Remove functions that have been obsolete since 1995 (Bug#4436).
19498 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19499 indent buffer only if called interactively (Bug#4452).
19501 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19502 Eli Zaretskii <eliz@gnu.org>
19504 This fixes bug#4197 (merged to bug#865, though not identical).
19505 * server.el (server-auth-dir): Add docstring note about FAT32.
19506 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19507 but warn against using them.
19509 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19511 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19512 older GDB where there is no has_more field.
19514 2009-09-19 Glenn Morris <rgm@gnu.org>
19516 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19518 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19520 * files.el (auto-mode-alist): Change default for XML files to nXML
19523 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19525 * server.el (server-ensure-safe-dir): Pass 'integer
19526 to `file-attributes', as suggested.
19528 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19530 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19531 (dired-query): Use read-key.
19533 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19535 * cus-start.el (ns-use-qd-smoothing): Remove.
19537 2009-09-18 Glenn Morris <rgm@gnu.org>
19539 * allout.el (top-level): Remove unnecessary progn.
19541 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19543 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19544 definition of abbrev table.
19546 * speedbar.el (speedbar-track-mouse):
19547 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19548 * net/eudc.el (eudc-expand-inline):
19549 * net/newst-backend.el (newsticker--cache-read-feed):
19550 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19551 condition-case handlers.
19553 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19555 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19556 (gdb-var-list): Add an element for has_more field.
19557 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19558 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19559 (gdb-var-update-handler-1): Parse output of dynamic variable
19560 objects (STL containers).
19561 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19562 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19564 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19566 (gud-speedbar-buttons): Make node expandable if expression "has more"
19569 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19571 * startup.el (emacs-quick-startup): Remove variable and all uses.
19572 (command-line): Set `inhibit-x-resources' instead.
19573 (command-line-1): Use `inhibit-x-resources' instead.
19575 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19577 * subr.el: Fix last change to avoid using the `unless' macro,
19578 which breaks bootstrapping.
19580 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19582 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19583 extended definitions, in case we reload subr.el after having
19585 (eval-next-after-load): Mark as obsolete.
19587 2009-09-17 Juri Linkov <juri@jurta.org>
19589 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19590 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19591 (menu-bar-showhide-menu, menu-bar-tools-menu)
19592 (menu-bar-describe-menu, menu-bar-help-menu)
19593 (minibuffer-local-completion-map, minibuffer-local-map):
19596 2009-09-17 Glenn Morris <rgm@gnu.org>
19598 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19599 arguments, whether or not it has a handler.
19601 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19603 * simple.el (hard-newline): Give it a doc-string.
19605 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19606 (lisp-mode-syntax-table): Give them doc-strings.
19608 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19610 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19611 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19612 (menu-bar-options-menu, menu-bar-showhide-menu)
19613 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19614 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19615 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19616 (menu-bar-options-menu, menu-bar-tools-menu)
19617 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19618 (menu-bar-help-menu):
19619 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19622 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19623 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19624 calls for the menu names and :help.
19626 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19628 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19629 to :minor-mode-function (bug#4455).
19631 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19633 * startup.el (command-line): Initialize the window-system after
19634 processing the command-line.
19636 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19637 page-delimiter matches the empty string.
19639 2009-09-16 Glenn Morris <rgm@gnu.org>
19641 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19642 byte-compile-not-obsolete-var. It's a list now.
19643 (byte-compile-not-obsolete-funcs): New variable.
19644 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19645 byte-compile-not-obsolete-funcs.
19646 (byte-compile-variable-ref, byte-compile-defvar): Update for
19647 byte-compile-not-obsolete-vars name-change and list nature.
19648 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19649 and variables behind (f)boundp tests.
19650 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19652 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19654 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19656 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19658 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19659 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19662 2009-09-15 Stephen Eglen <stephen@gnu.org>
19664 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19665 the virtual-buffers, use the name of the buffer specified by
19666 find-file-noselect, as the match may be a symlink. (This was a
19667 problem if the target and the symlink had different names.)
19669 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19671 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19673 * desktop.el (desktop-path): Check user-emacs-directory.
19675 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19677 * loadup.el: Use after-load-functions to GC after loading each file.
19678 Remove the explicit GC calls that used to be sprinkled around.
19680 * subr.el (after-load-functions): New hook.
19681 (do-after-load-evaluation): Run it. Use string-match-p to detect
19682 `obsolete' packages, rather than painfully extracting the relevant
19685 2009-09-15 Glenn Morris <rgm@gnu.org>
19687 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19688 free variable `doc'.
19690 * dired.el (dired-mode-map): Add menu entry for async shell command.
19692 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19693 variables, also consider the .elc files, since the .el files are
19694 normally gzipped (subsequent code locates the .el.gz from the .elc).
19696 * calc/calc-prog.el (arglist): Define for compiler.
19698 * calendar/diary-lib.el (diary-display-function): Change the default to
19700 (body): Define for compiler.
19702 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19703 (byte-compile-file-form, byte-compile-lambda)
19704 (byte-compile-top-level-body, byte-compile-form)
19705 (byte-compile-variable-ref, byte-compile-setq)
19706 (byte-compile-setq-default, byte-compile-body)
19707 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19708 (batch-byte-compile): Give some more local variables with common names
19709 a "bytecomp-" prefix to avoid masking warnings about free variables.
19711 * startup.el (command-line-1): Give local variables with common names a
19712 distinguishing prefix, so as not to hide free variable warnings during
19715 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19716 clever and add a suffix to make a unique name, just let the user decide
19717 whether or not to overwrite it. If the input is a directory, write the
19718 default filename to that directory. (Bug#4388)
19719 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19720 is a filename-as-a-directory.
19722 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19724 * textmodes/page.el (what-page): Don't move to beginning of line.
19725 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19727 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19729 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19731 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19733 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19734 * help.el (help-for-help-internal): Add purecopy calls for text.
19736 * vc.el (top): print-log method now takes an optional SHORTLOG
19737 argument. Add a new method: root.
19738 (vc-root-diff, vc-print-root-log): New functions.
19739 (vc-log-short-style): New variable.
19740 (vc-print-log-internal): Add support for showing short logs.
19742 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19743 vc-print-root-log and vc-print-root-diff.
19745 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19746 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19747 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19750 * vc-cvs.el (vc-cvs-print-log):
19751 * vc-mtn.el (vc-mtn-print-log):
19752 * vc-rcs.el (vc-rcs-print-log):
19753 * vc-sccs.el (vc-sccs-print-log):
19754 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19755 that is ignored for now.
19757 * vc-mtn.el (vc-mtn-annotate-command):
19758 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19760 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19762 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19763 to function-key-map, and give them ascii-character property.
19764 * term/x-win.el (x-alternatives-map):
19765 * term/ns-win.el (ns-alternatives-map):
19766 * term/internal.el (msdos-key-remapping-map):
19767 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19769 2009-09-14 Glenn Morris <rgm@gnu.org>
19771 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19772 temp-buffers (2009-09-12).
19774 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19776 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19777 the new read-key function.
19779 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19781 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19782 is defined (Bug#4405).
19784 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19786 * recentf.el (recentf-cleanup): Use a hash table to find
19787 duplicates (Bug#4407).
19789 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19791 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19792 kp-0 to ascii equivalents (Bug#4325).
19794 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19796 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19798 * eshell/em-hist.el:
19799 * eshell/em-dirs.el (eshell-complete-user-reference):
19800 Declare pcomplete functions and variables to avoid compiler warnings.
19802 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19804 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19805 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19806 * eshell/em-alias.el (eshell-aliases-file):
19807 * eshell/em-hist.el (eshell-history-file-name):
19808 Use expand-file-name instead of concat to make file names (Bug#4308).
19810 2009-09-13 Glenn Morris <rgm@gnu.org>
19812 * ediff-merg.el (ediff-do-merge):
19813 * filesets.el (filesets-run-cmd):
19814 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19815 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19816 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19817 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19818 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19819 Replace empty `let's with `progn'.
19821 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19823 * mail/sendmail.el (send-mail-function):
19824 * tooltip.el (tooltip-mode):
19825 * simple.el (transient-mark-mode):
19826 * rfn-eshadow.el (file-name-shadow-mode):
19827 * frame.el (blink-cursor-mode):
19828 * font-core.el (global-font-lock-mode):
19829 * files.el (temporary-file-directory)
19830 (small-temporary-file-directory, auto-save-file-name-transforms):
19831 * epa-hook.el (auto-encryption-mode):
19832 * composite.el (global-auto-composition-mode):
19833 Use custom-initialize-delay.
19834 * startup.el (command-line): Don't explicitly call
19835 custom-reevaluate-setting for all the above vars.
19836 * custom.el (custom-initialize-safe-set)
19837 (custom-initialize-safe-default): Delete.
19839 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19841 * term/x-win.el (x-initialize-window-system):
19842 * term/w32-win.el (w32-initialize-window-system):
19843 * term/ns-win.el (ns-initialize-window-system): Don't call
19844 mouse-wheel-mode since it's enabled globally by default already.
19846 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19847 actually define the variable, but only silences the byte-compiler.
19848 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19849 before looking it up.
19850 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19853 2009-09-12 Glenn Morris <rgm@gnu.org>
19855 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19857 (elint-add-required-env): Don't beep on error.
19858 (elint-forms): In case of error, return ENV unchanged.
19859 (elint-init-env): Skip non-list forms.
19860 (elint-log): Handle unknown file positions.
19862 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19864 * epg.el (epg-make-context): Add autoload cookie.
19865 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19866 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19867 (epg-verify-string, epg-start-sign, epg-sign-file)
19868 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19869 (epg-encrypt-string, epg-start-export-keys)
19870 (epg-export-keys-to-file, epg-export-keys-to-string)
19871 (epg-start-import-keys, epg-import-keys-from-file)
19872 (epg-import-keys-from-string, epg-start-receive-keys)
19873 (epg-receive-keys, epg-import-keys-from-server)
19874 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19875 (epg-sign-keys, epg-start-generate-key)
19876 (epg-generate-key-from-file, epg-generate-key-from-string):
19877 Remove autoload cookie.
19879 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19881 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19882 reevaluation of trash-directory.
19884 * mwheel.el: Fix last change.
19885 (mouse-wheel-mode): New defvar.
19886 (mouse-wheel-mode): Remove autoload cookie.
19888 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19890 * mwheel.el (mwheel-installed-bindings): New var.
19891 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19892 the bindings we set last time. Use custom-initialize-delay.
19893 * loadup.el: Load mwheel after term/*-win.el.
19894 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19895 and mouse-wheel-up-event now that their first evaluation is done
19896 sufficiently late to be correct.
19898 * startup.el (tutorial-directory): Make it a defcustom.
19899 Use custom-initialize-delay rather than eval-at-startup to set it.
19900 * image.el (image-load-path): Make it a defcustom.
19901 Use custom-initialize-delay rather than eval-at-startup to set it.
19902 * subr.el (eval-at-startup): Remove.
19903 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19905 * subr.el (do-after-load-evaluation): Warn the user after loading an
19908 2009-09-12 Glenn Morris <rgm@gnu.org>
19910 * proced.el (proced-mark-alt): Remove alias.
19911 (proced-mode-map): Remove proced-mark-alt.
19913 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19914 Elint file and directory. Remove initialization entry.
19916 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19918 (elint-current-buffer): Set mode-line-process.
19919 (elint-init-env): Handle define-derived-mode.
19920 Fix declare-function with unspecified arglist. Guard against odd
19921 defalias statements (eg iso-insert's 8859-1-map).
19922 (elint-add-required-env): Use a temp buffer.
19923 (elint-form): Just print the function/macro name, not the whole form.
19924 Return env unchanged if we fail to parse a macro.
19925 (elint-forms): Guard against parse errors.
19926 (elint-output): New function, to handle batch mode.
19927 (elint-log-message): Add optional argument. Use elint-output.
19928 (elint-set-mode-line): New function.
19930 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19932 * emacs-lisp/elp.el (elp-not-profilable): Add more
19933 functions (Bug#4233).
19935 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19937 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19938 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19940 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19942 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19943 (gdb-var-list-children): Use json parsing.
19945 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19947 * progmodes/js.el (js--proper-indentation): Handle the case where
19948 char-before is null. Reported by Deniz Dogan.
19950 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19952 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19954 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19956 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19957 (epg-digest-algorithm-alist): Add SHA224.
19958 (epg-context-set-passphrase-callback)
19959 (epg-context-set-progress-callback): Add description about
19962 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19964 * custom.el (custom-delayed-init-variables): New var.
19965 (custom-initialize-delay): New function.
19966 * startup.el (command-line): "Re"evaluate all vars in
19967 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19968 explicitly any more.
19969 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19970 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19972 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19974 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19976 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19977 (gdb-var-update-handler): Use json parsing.
19979 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19981 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19982 decode annotated text, regardless of language environment. (Bug#2741)
19984 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19986 * Makefile.in (autoloads): Make rmail.el writable as well.
19988 2009-09-11 Glenn Morris <rgm@gnu.org>
19990 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19992 * dired.el: Regenerate with extracted autoloads.
19993 * Makefile.in (autoloads): Make dired.el writable.
19995 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19996 * ibuffer.el: Regenerate with extracted autoloads.
19997 * Makefile.in (autoloads): Make ibuffer.el writable.
19999 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20000 * version.el (emacs-copyright, emacs-major-version)
20001 (emacs-minor-version): Reformat doc-strings for make-docfile.
20003 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20004 functions and variables, since they must be stuff specific to some other
20006 (apropos-print): Make mouse-click message less specific about button.
20008 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20009 that records where a macro was defined.
20010 * help-fns.el (describe-function-1): Mention if a function has a
20012 * help-mode.el (help-function-cmacro): New button.
20014 * locate.el (top-level): Always require dired.
20015 (locate-mode-map): Initialize inside the defvar.
20017 * net/ange-ftp.el (dired-compress-file): Declare.
20018 (ange-ftp-dired-compress-file): Add doc string.
20020 * term/ns-win.el (x-display-name, x-setup-function-keys):
20021 Unify doc-strings with X versions.
20023 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20025 * emulation/crisp.el (crisp-mode-map): Move initialization
20027 (crisp-mode): Use define-minor-mode.
20029 * progmodes/xscheme.el (xscheme-evaluation-commands):
20030 Put a :advertised-binding property rather than using
20031 advertised-xscheme-send-previous-expression.
20032 (advertised-xscheme-send-previous-expression): Declare obsolete.
20033 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20035 (crisp-mode): Add corresponding bindings to
20036 undo's :advertised-binding instead.
20037 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20038 than using dired-advertised-find-file.
20039 (dired-advertised-find-file):
20040 * simple.el (advertised-undo):
20041 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20042 (widget-keymap): Put a :advertised-binding property rather
20043 than using advertised-widget-backward.
20044 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20045 than using advertised-undo.
20046 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20048 2009-09-10 Simon South <ssouth@slowcomputing.org>
20050 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20051 Mark mode is enabled and region is active; otherwise indent or
20052 insert TAB as usual.
20053 (delphi-mode): Update description of TAB-key binding.
20055 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20057 * subr.el (define-key-rebound-commands): Mark obsolete.
20058 * startup.el (precompute-menubar-bindings): Remove.
20059 (normal-top-level): Remove obsolete code that tried to precompute
20061 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20062 define-key-rebound-commands and precompute-menubar-bindings.
20064 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20066 * net/imap.el (imap-interactive-login): Better messages.
20067 (imap-open): Fix bug with renamed buffer on reconnect.
20068 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20069 for easier debugging and cleaner code. On successful (guessed based on
20070 server capabilities) secondary authentication, set imap-state
20072 (imap-last-authenticator): Define imap-last-authenticator as a variable
20075 2009-09-10 Glenn Morris <rgm@gnu.org>
20077 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20079 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20080 (byte-compile-file-form-autoload): Don't warn about unknown functions
20081 where the autoload statement comes after the use.
20082 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20083 that any handlers inside the body (eg require) are in turn respected.
20085 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20088 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20089 and syntax and abbrev tables basic docs, if they don't have any.
20091 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20093 * international/mule-cmds.el (top-level): Require cl when compiling.
20094 (view-hello-file): Use default-value rather than
20095 default-enable-multibyte-characters.
20097 * progmodes/fortran.el: Move all safe and risky properties into the
20100 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20101 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20102 * mail/undigest.el:
20103 Put autoloads in rmail.el rather than loaddefs.el.
20104 * mail/rmail.el: Regenerate with extracted autoloads.
20106 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20107 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20109 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20111 Reported in thread for Bug#4375.
20112 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20113 "-data-evaluate-expression" instead of print.
20114 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20115 (gdb-tooltip-print): Parse output from above MI command.
20116 (gdb): Revert 2009-08-11 change. User should detach inferior
20119 Remove the word "separate" from IO functions as inferior
20120 output is now never displayed in the GUD buffer.
20122 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20124 * startup.el (command-line-normalize-file-name): On Windows and
20125 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20127 2009-09-10 Juri Linkov <juri@jurta.org>
20129 * isearch.el (isearch-text-char-description): Propertize escape
20130 character sequences with the `escape-glyph' face. (Bug#4344)
20132 * simple.el (shell-command): Set asynchronous process filter to
20133 `comint-output-filter'. (Bug#4343)
20135 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20136 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20137 the list. Move "asm" to the bottom.
20138 (grep-find-ignored-directories): Add `choice' with nil value
20139 to empty the list easily.
20140 (grep-find-ignored-files): New option.
20141 (grep-files-history): Set to nil by default instead of '("ch" "el").
20142 (grep-compute-defaults): Add "<X>" to `grep-template'.
20143 (grep-read-files): Bind new local variables `default-alias' and
20144 `default-extension'. Use a list of default values for the file prompt.
20145 (lgrep): Add `--exclude=' command line options composed from
20146 `grep-find-ignored-files'.
20147 (rgrep): Add `-name' command line options composed from
20148 `grep-find-ignored-files'. (Bug#4301)
20150 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20152 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20155 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20157 * calendar/time-date.el (autoload):
20158 Expand define-obsolete-function-alias into defalias and make-obsolete
20159 for old Emacsen that Gnus supports.
20160 (with-no-warnings): Define it for old Emacsen.
20161 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20163 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20164 float-time is available; suppress compile warning for time-to-seconds.
20166 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20168 * net/imap.el (imap-message-map): Docstring fix.
20170 2009-09-09 Glenn Morris <rgm@gnu.org>
20172 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20173 line numbers too. (Bug#4374)
20175 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20177 * smerge-mode.el (smerge-remove-props, smerge-refine):
20178 Use with-silent-modifications (bug#4342).
20180 * subr.el (with-silent-modifications): New macro.
20182 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20184 * files.el (top-level): Require `cl' when compiling.
20186 2009-09-07 Glenn Morris <rgm@gnu.org>
20188 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20190 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20191 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20193 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20195 * vc-git.el (vc-git-annotate-command): Use separator to parse
20196 arguments correctly.
20198 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20200 * proced.el (proced-mode): Doc fix.
20202 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20204 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20206 (tramp-do-file-attributes-with-ls): Check for file existence at
20208 (tramp-do-file-attributes-with-stat): Likewise.
20209 (tramp-convert-file-attributes): Return nil when attr is nil.
20211 2009-09-05 Glenn Morris <rgm@gnu.org>
20213 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20214 properties to this button.
20215 (diary-fancy-display): Don't extend the button to the final newline.
20216 (diary-fancy-display-mode): Continue to define "q" as a local key.
20218 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20221 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20223 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20224 (byte-compile-dest-file-function): New option.
20225 (byte-compile-dest-file): Doc fix.
20226 Obey byte-compile-dest-file-function.
20227 (byte-compile-cl-file-p): New function.
20228 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20229 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20230 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20231 than for file being previously loaded.
20232 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20233 (byte-compile-file-form-require): Handle the case where requiring a file
20234 indirectly causes CL to be loaded.
20236 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20238 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20239 before killing the old buffer, since by the time `kill-buffer' is
20240 run so many buffer variables have been set to nil that it may not
20241 behave as expected. (Bug#4061)
20243 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20245 * files.el (find-alternate-file): If the old buffer is modified
20246 and visiting a file, behave similarly to `kill-buffer' when
20247 killing it, thus reverting to the pre-1.878 behavior; see
20248 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20249 for discussion. Also, consult `buffer-file-name' as a variable
20250 not as a function, for consistency with the rest of the code.
20252 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20254 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20255 also when adding a new directory.
20257 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20260 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20262 * files.el (locate-file-completion-table): Make it provide boundary
20263 information, so partial-completion works better.
20265 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20267 * mail/footnote.el (Footnote-text-under-cursor):
20268 Check footnote-text-marker-alist before using it (bug#4324).
20270 2009-09-04 Glenn Morris <rgm@gnu.org>
20272 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20273 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20274 * play/solitaire.el, play/tetris.el:
20275 Remove leading * from defcustom and defface docs.
20277 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20279 (diary-fancy-overriding-map): New variable.
20280 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20283 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20286 2009-09-03 Glenn Morris <rgm@gnu.org>
20288 * arc-mode.el (archive-mode):
20289 * dos-fns.el (set-default-process-coding-system):
20290 * man.el (Man-getpage-in-background):
20291 * menu-bar.el (menu-bar-describe-menu):
20292 * server.el (server-process-filter):
20293 * startup.el (command-line):
20294 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20295 * w32-fns.el (set-default-process-coding-system):
20296 * x-dnd.el (x-dnd-handle-file-name):
20297 * international/mule-cmds.el (mule-menu-keymap)
20298 (set-default-coding-systems, language-info-alist, set-language-info)
20299 (set-language-environment, standard-display-european-internal)
20300 (set-locale-environment):
20301 * international/mule-diag.el (mule-diag):
20302 * mail/emacsbug.el (report-emacs-bug):
20303 * mail/rmail.el (rmail-mode):
20304 * mail/sendmail.el (mail-setup):
20305 Use default-value rather than default-enable-multibyte-characters.
20307 * progmodes/f90.el: Move all safe properties into the defcustoms.
20308 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20310 * calendar/appt.el (appt-check):
20311 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20312 (diary-check-diary-file, diary-list-entries)
20313 (diary-include-other-diary-files, diary-simple-display)
20314 (diary-fancy-display, diary-print-entries)
20315 (diary-mark-included-diary-files, diary-make-entry):
20316 Don't call substitute-in-file-name on diary-file.
20318 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20319 Stefan Monnier <monnier@iro.umontreal.ca>
20321 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20322 (footnote-mode-map): Move initialization into the declaration.
20323 (footnote-minor-mode-map): Define it rather than changing global-map.
20324 (footnote-mode): Use define-minor-mode.
20326 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20328 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20329 (tramp-do-file-attributes-with-perl)
20330 (tramp-do-file-attributes-with-stat): Rename from
20331 `tramp-handle-file-attributes-with-*'.
20332 (tramp-handle-file-attributes): Use them.
20333 (tramp-do-directory-files-and-attributes-with-perl)
20334 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20335 `tramp-handle-directory-files-and-attributes-with-*'.
20336 (tramp-handle-directory-files-and-attributes): Use them.
20337 (tramp-method-out-of-band-p): Additional parameter SIZE.
20338 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20339 (tramp-handle-write-region): Use it.
20340 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20341 (tramp-handle-vc-registered): Check, whether the first run did
20342 return files to be tested.
20343 (tramp-advice-make-auto-save-file-name): Do not call directly
20344 `tramp-handle-make-auto-save-file-name', because this would bypass
20345 the locking mechanism.
20347 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20348 (file-remote-p, process-file, start-file-process, set-file-times)
20349 (tramp-compat-file-attributes): Compatibility functions shall not
20350 call directly `tramp-handle-*', because this would bypass the
20352 (tramp-compat-number-sequence): New defun.
20354 2009-09-02 Glenn Morris <rgm@gnu.org>
20356 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20357 alias for float-time.
20358 (time-to-number-of-days): In Emacs, use float-time.
20359 * net/newst-backend.el (time-add): Suppress warnings from compat
20361 * time.el (emacs-uptime, emacs-init-time):
20362 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20363 Use float-time rather than time-to-seconds.
20365 * minibuffer.el (completion-initials-expand): Fix typo.
20367 * faces.el (modeline, modeline-inactive, modeline-highlight)
20368 (modeline-buffer-id):
20369 * info.el (info-menu-5): Mark these face aliases as obsolete.
20371 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20373 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20375 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20376 no "--thread" option.
20377 (gdb-stopped): Don't print "Switched to thread" message when it is
20380 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20382 * minibuffer.el (completion-try-completion)
20383 (completion-all-completions): Remove ill-defined (and
20384 mistakenly installed and luckily never used nor documented)
20385 `completion-styles' property.
20386 (completion-initials-expand, completion-initials-all-completions)
20387 (completion-initials-try-completion): New functions.
20388 (completion-styles-alist): Add doc to each entry.
20389 Add new `initials' entry.
20391 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20393 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20394 MI command -var-evaluate-expression.
20395 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20396 and tweak for case of string child.
20397 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20399 2009-09-01 Glenn Morris <rgm@gnu.org>
20401 * add-log.el (change-log-date-face, change-log-name-face)
20402 (change-log-email-face, change-log-file-face, change-log-list-face)
20403 (change-log-conditionals-face, change-log-function-face)
20404 (change-log-acknowledgement-face):
20405 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20406 (custom-modified-face, custom-set-face, custom-changed-face)
20407 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20408 (custom-documentation-face, custom-state-face, custom-comment-face)
20409 (custom-comment-tag-face, custom-variable-tag-face)
20410 (custom-variable-button-face, custom-face-tag-face)
20411 (custom-group-tag-face-1, custom-group-tag-face):
20412 * diff-mode.el (diff-header-face, diff-file-header-face)
20413 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20414 (diff-added-face, diff-changed-face, diff-function-face)
20415 (diff-context-face, diff-nonexistent-face):
20416 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20417 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20418 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20419 (Info-title-4-face):
20420 * isearch.el (isearch-lazy-highlight-face):
20421 * log-view.el (log-view-file-face, log-view-message-face):
20422 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20423 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20424 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20426 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20427 (smerge-base-face, smerge-markers-face):
20428 * wid-edit.el (widget-documentation-face, widget-button-face)
20429 (widget-field-face, widget-single-line-field-face)
20430 (widget-inactive-face, widget-button-pressed-face):
20431 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20432 (woman-addition-face):
20433 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20434 (eshell-ls-executable-face, eshell-ls-readonly-face)
20435 (eshell-ls-unreadable-face, eshell-ls-special-face)
20436 (eshell-ls-missing-face, eshell-ls-archive-face)
20437 (eshell-ls-backup-face, eshell-ls-product-face)
20438 (eshell-ls-clutter-face):
20439 * eshell/em-prompt.el (eshell-prompt-face):
20440 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20441 * obsolete/old-whitespace.el (whitespace-highlight-face):
20442 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20443 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20444 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20445 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20446 (antlr-font-lock-literal-face):
20447 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20448 (ebrowse-root-class-face, ebrowse-file-name-face)
20449 (ebrowse-default-face, ebrowse-member-attribute-face)
20450 (ebrowse-member-class-face, ebrowse-progress-face):
20451 * progmodes/make-mode.el (makefile-space-face):
20452 * progmodes/sh-script.el (sh-heredoc-face):
20453 * textmodes/flyspell.el (flyspell-incorrect-face)
20454 (flyspell-duplicate-face):
20455 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20456 * textmodes/texinfo.el (texinfo-heading-face):
20457 Mark face aliases with "-face" suffix as obsolete.
20459 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20462 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20463 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20464 easy-menu-define wants to modify these.
20466 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20468 * net/browse-url.el (browse-url-file-url):
20469 * term/internal.el (dos-codepage-setup):
20470 Use default-value rather than default-enable-multibyte-characters.
20472 * progmodes/etags.el (etags-goto-tag-location):
20473 * progmodes/flymake.el (flymake-highlight-line)
20474 (flymake-goto-file-and-line, flymake-goto-line):
20475 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20476 (gdb-goto-breakpoint):
20477 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20478 * progmodes/python.el (python-find-function)
20479 (python-pdbtrack-track-stack-file):
20480 * progmodes/verilog-mode.el (verilog-surelint-off):
20481 * term/ns-win.el (ns-open-file-select-line):
20482 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20483 Use forward-line rather than goto-line.
20485 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20486 * textmodes/reftex-index.el (reftex-display-index):
20487 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20488 * textmodes/reftex-toc.el (reftex-toc):
20489 Remove unnecessary bindings of default-major-mode (all are followed by
20490 major-mode check and possible mode switch).
20492 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20494 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20495 Handle watchpoints (bug#4282).
20496 (def-gdb-thread-buffer-command): Enable thread to be selected by
20497 clicking without selecting threads buffer first.
20498 (gdb-current-context-command): Use selected frame so that "up",
20499 "down" etc work in the GUD buffer.
20500 (gdb-update): Find selected frame before rendering stack buffer.
20501 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20503 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20505 * progmodes/sym-comp.el (displayed-completions): Remove.
20506 (symbol-complete): Use minibuffer-complete.
20508 2009-08-31 Glenn Morris <rgm@gnu.org>
20510 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20512 * apropos.el (apropos-symbols-internal):
20513 Handle (obsolete) face aliases.
20515 * faces.el (describe-face): Adjust the output format to be more like
20516 describe-variable, and to mention (obsolete) face aliases.
20517 Adjust the whitespace so that help-setup-xref works.
20519 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20520 * calendar/diary-lib.el (diary-button-face):
20521 Mark these face aliases as obsolete.
20523 * calendar/calendar.el (calendar-today): Doc fix.
20525 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20527 * progmodes/gdb-mi.el (gdb-control-all-threads)
20528 (gdb-control-current-thread): Force tool bar update.
20529 (gdb-non-stop-handler): New function.
20530 (gdb-init-1): Use it to test if non-stop mode is supported.
20531 Remove unused gdbmi buffer type.
20533 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20535 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20536 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20538 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20540 * comint.el (comint-exec-1): Check command is non-null first.
20541 Part of gdb-mi.el change (2009-08-28).
20543 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20545 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20547 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20549 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20550 instead of `dolist' to avoid a recursive require when bootstrapping.
20552 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20554 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20556 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20558 * net/imap.el (imap-send-command): Simplify.
20559 (imap-wait-for-tag): point-max -> buffer-size.
20561 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20563 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20564 with constant argument.
20566 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20568 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20570 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20571 Change default, since most of our files don't have a history.
20572 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20575 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20578 * calc/calc.el: Improve commenting convention.
20579 (calc-digit-map, toplevel): Simplify.
20581 * comint.el (comint-insert-input): Be careful to only set point if we
20582 don't delegate to some other command.
20584 * proced.el (proced-signal-list): Make it an alist.
20585 (proced-grammar-alist): Capitalize names.
20586 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20587 Disable undo manually and make it read-only.
20588 Use completion-annotate-function.
20590 * minibuffer.el (minibuffer-message): If the current buffer is not
20591 a minibuffer, insert the message in the echo area rather than at the
20593 (completion-annotate-function): New variable.
20594 (minibuffer-completion-help): Use it.
20595 (completion--embedded-envvar-table): Environment vars are
20596 always case-sensitive.
20598 2009-08-30 Glenn Morris <rgm@gnu.org>
20600 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20601 from fortran-current-defun.
20602 (fortran-beginning-of-subprogram): Be more precise about finding the
20603 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20604 (fortran-end-of-subprogram): Simplify.
20605 (fortran-current-defun): Use fortran-start-prog-re.
20607 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20609 * subr.el (do-after-load-evaluation): Simplify.
20611 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20613 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20615 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20616 (vc-rcs-print-log): Use it.
20618 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20620 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20622 * paths.el (abbrev-file-name): Move to abbrev.el.
20623 * abbrev.el (abbrev-file-name): Move from paths.el.
20624 Obey user-emacs-directory.
20625 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20626 user-emacs-directory.
20627 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20628 abbrev-file-name and calc-settings-file any more.
20629 * startup.el (command-line): Recompute abbrev-file-name and
20630 abbreviated-home-dir.
20631 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20632 of the special code for when C-h bindings haven't been changed.
20633 (display-startup-echo-area-message): Use with-current-buffer.
20634 (command-line-1): Use a list of strings, rather than a list of lists
20635 of strings for longopts.
20637 * files.el (get-free-disk-space): Use / for default-directory.
20639 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20640 Use with-current-buffer.
20642 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20643 Recognize immutable variables like most-positive-fixnum.
20644 (byte-compile-setq-default): Check and warn if trying to assign
20645 to an immutable variable, or a non-variable.
20647 * progmodes/cc-vars.el (c-comment-continuation-stars):
20648 * progmodes/cc-engine.el (c-looking-at-bos):
20649 * progmodes/cc-cmds.el (c-toggle-auto-state)
20650 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20651 (c-comment-line-break-function): Add version of obsolescence.
20653 2009-08-28 Juri Linkov <juri@jurta.org>
20655 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20656 associated with `archive-mode'.
20658 * image.el (image-type-header-regexps): Use only JPEG magic number
20659 to determine JPEG images, and don't use `image-jpeg-p' because
20660 Emacs can display non-JFIF non-Exif JPEG images.
20662 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20664 * arc-mode.el (archive-mode):
20665 * emacs-lisp/re-builder.el (re-builder-unload-function):
20666 Protect against the default value of `major-mode' being nil.
20668 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20670 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20671 Fix typos in docstrings.
20673 * progmodes/js.el (js--macro-decl-re): Doc fix.
20674 (js--plain-method-re, js--split-name): Refloc docstring.
20675 (js--class-styles, js--make-merged-item, js--splice-into-items):
20676 Fix typos in docstrings; reflow docstrings.
20677 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20678 (js--variable-decl-matcher, js--inside-pitem-p)
20679 (js--parse-state-at-point, js--get-all-known-symbols)
20680 (js--symbol-history, js-find-symbol, js--js-references)
20681 (js--moz-interactor, js--js-encode-value, js--read-tab):
20682 Fix typos in docstrings.
20684 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20686 * textmodes/reftex.el (reftex-get-file-buffer-force):
20687 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20688 * emulation/viper.el (viper-go-away, viper-set-hooks):
20689 * emacs-lisp/re-builder.el (re-builder-unload-function):
20690 * emacs-lisp/bytecomp.el (byte-compile-file):
20691 * ses.el (ses-unload-function):
20692 * hexl.el (hexl-find-file):
20693 * files.el (normal-mode):
20694 * ehelp.el (with-electric-help):
20695 * autoinsert.el (auto-insert-alist):
20696 * arc-mode.el (archive-mode):
20697 Use (default-value 'major-mode) instead of default-major-mode.
20699 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20700 * international/mule.el (load-with-code-conversion):
20701 * emacs-lisp/debug.el (debug):
20702 * ediff-vers.el (ediff-rcs-get-output-buffer):
20703 * dired.el (dired-internal-noselect): Don't let-bind
20704 default-major-mode around code that doesn't use it.
20705 E.g. buffer creation via get-buffer-create doesn't use it.
20707 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20709 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20710 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20711 when writing the temp file. Otherwise, epa-file gets confused.
20712 (tramp-register-file-name-handlers): Make it a defun. Move also
20713 `epa-file-handler' to the front of `file-name-handler-alist'.
20715 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20717 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20718 start right after a ^M.
20719 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20720 (tramp-completion-file-name-regexp-separate)
20721 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20722 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20723 Don't modify last-coding-system-used by accident.
20724 (tramp-completion-file-name-handler): Apply the checks here,
20725 instead during registration.
20726 (tramp-register-file-name-handlers): Rename from
20727 `tramp-register-file-name-handler'. Register both
20728 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20729 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20731 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20733 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20734 Remove variable ...
20735 (gdb-init-1, gdb-display-separate-io-buffer)
20736 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20738 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20739 (gdb-inferior-filter): Use comint-output-filter to stop
20740 echoing and remove ^M characters.
20742 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20744 * emulation/viper-init.el (viper-restore-cursor-type):
20745 * emulation/cua-base.el (cua--update-indications):
20746 Replace default-cursor-type with (default-value 'cursor-type).
20748 * mail/sendmail.el (mail-recover-1):
20749 * international/mule-diag.el (describe-current-coding-system-briefly)
20750 (describe-current-coding-system):
20751 * international/mule-cmds.el (select-safe-coding-system)
20752 (select-message-coding-system)
20753 (set-language-environment-coding-systems, set-locale-environment):
20754 * hexl.el (hexl-insert-multibyte-char):
20755 * dos-w32.el (find-buffer-file-type-coding-system):
20756 * simple.el (what-cursor-position):
20757 Replace uses of default-buffer-file-coding-system
20758 with (default-value 'buffer-file-coding-system).
20760 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20761 Replace uses of default-cursor-in-non-selected-windows
20762 with (default-value 'cursor-in-non-selected-windows).
20763 Use with-current-buffer.
20765 * mail/feedmail.el: Use CL macros.
20766 (feedmail-run-the-queue, feedmail-send-it-immediately):
20767 * dos-w32.el (find-buffer-file-type): Replace uses of
20768 default-buffer-file-type with (default-value 'buffer-file-type).
20770 2009-08-28 Glenn Morris <rgm@gnu.org>
20772 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20773 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20774 Use default-value of major-mode rather than default-major-mode.
20776 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20778 * Makefile.in (update-elcfiles): Report left over elc files.
20780 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20781 expand-file-name and with-current-buffer.
20782 (mail-get-names, mail-directory): Use with-current-buffer.
20784 * vc.el (vc-read-revision): New function.
20785 (vc-version-diff, vc-merge): Use it.
20787 2009-08-27 Sam Steingold <sds@gnu.org>
20789 * simple.el (kill-do-not-save-duplicates): New user option.
20790 (kill-new): When it is non-nil, and the new string is the same as
20791 the latest kill, set replace to t to avoid duplicates in kill-ring.
20793 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20795 * net/tramp.el (tramp-handle-process-file): Do not flush all
20796 caches when `process-file-side-effects' is set.
20797 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20798 instead of `tramp-find-file-exists-command'.
20799 Unset `process-file-side-effects'.
20801 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20803 * net/tramp.el (tramp-methods): New method "rsyncc".
20804 (top): Add completion function for "rsyncc".
20805 (tramp-message-show-message): New defvar.
20806 (tramp-message, tramp-error): Use it.
20807 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20809 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20810 `tramp-methods' entry `copy-env' of "rsyncc".
20811 (tramp-vc-registered-read-file-names): New defconst.
20812 (tramp-vc-registered-file-names): New defvar.
20813 (tramp-handle-vc-registered): Implement optimization strategy.
20814 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20815 (tramp-vc-file-name-handler): New defun.
20816 (tramp-get-ls-command, tramp-get-test-command)
20817 (tramp-get-file-exists-command, tramp-get-remote-ln)
20818 (tramp-get-remote-perl, tramp-get-remote-stat)
20819 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20821 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20822 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20824 (tramp-get-file-property): Check for timestamps in
20825 `tramp-cache-inhibit-cache'.
20826 (tramp-set-file-property): Write timestamp.
20828 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20830 * language/japan-util.el (japanese-symbol-table): Add entries for
20833 * international/characters.el: Add category `j' to cp932-2-byte.
20835 2009-08-27 Kenichi Handa <handa@m17n.org>
20837 * international/fontset.el (build-default-fontset-data): New macro.
20838 (setup-default-fontset): Use build-default-fontset-data for CJK,
20839 tibetan, ethiopic, and ipa.
20841 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20843 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20844 (enable-multibyte-characters): Not customizable any more.
20846 * subr.el (default-mode-line-format, default-header-line-format)
20847 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20848 (default-direction-reversed, default-truncate-lines)
20849 (default-left-margin, default-tab-width, default-case-fold-search)
20850 (default-left-margin-width, default-right-margin-width)
20851 (default-left-fringe-width, default-right-fringe-width)
20852 (default-fringes-outside-margins, default-scroll-bar-width)
20853 (default-vertical-scroll-bar, default-indicate-empty-lines)
20854 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20855 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20856 (default-scroll-down-aggressively, default-fill-column)
20857 (default-cursor-type, default-buffer-file-type)
20858 (default-cursor-in-non-selected-windows)
20859 (default-buffer-file-coding-system, default-major-mode)
20860 (default-enable-multibyte-characters): Mark as obsolete.
20862 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20864 * vc-dir.el (vc-dir-update): Remove debug helper.
20866 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20868 2009-08-26 Sam Steingold <sds@gnu.org>
20870 * simple.el (save-interprogram-paste-before-kill): New user option.
20871 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20872 save the interprogram-paste into kill-ring before overriding it
20873 with the Emacs kill.
20875 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20877 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20878 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20879 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20880 and move to vc-rcs.el.
20881 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20883 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20884 (vc-rcs-update-changelog): Remove.
20885 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20886 and move to vc-rcs.el.
20888 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20889 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20891 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20892 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20893 vc.el, renamed to be RCS specific.
20895 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20897 (vc-cvs-update-changelog): Move here from vc.el.
20899 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20902 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20904 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20906 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20908 * vc-git.el (vc-git-register): Use "git add" for directories.
20909 (vc-git-stash, vc-git-stash-show): New functions.
20910 (vc-git-extra-menu-map): Bind them.
20912 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20913 directory correctly in case the item is a directory itself.
20915 * vc.el: Document the desired behavior for reverted files in the
20917 (vc-default-prettify-state-info): Remove function, unused.
20919 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20921 2009-08-26 Glenn Morris <rgm@gnu.org>
20923 * bindings.el (standard-mode-line-format): Reposition dashes in
20924 which-func entry. (Bug#4217)
20926 * files.el (enable-local-variables, enable-local-eval)
20927 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20929 (auto-mode-alist, ignored-local-variables)
20930 (save-some-buffers-action-alist): Move risky declarations to the
20932 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20933 (font-lock-defaults, format-alist, imenu--index-alist)
20934 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20935 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20936 (mode-line-modified, mode-line-mule-info, mode-line-position)
20937 (mode-line-process, mode-line-remote, outline-level)
20938 (parse-time-rules, rmail-output-file-alist)
20939 (special-display-buffer-names, vc-mode):
20940 Move risky declarations to the relevant files.
20941 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20942 (mode-line-modified, mode-line-process, mode-line-position)
20943 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20944 * font-core.el (font-lock-defaults):
20945 * format.el (format-alist):
20946 * vc-hooks.el (vc-mode):
20947 * window.el (special-display-buffer-names):
20948 * international/mule-cmds.el (input-method-alist):
20949 Define riskiness here (dumped file) rather than in files.el.
20950 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20951 * imenu.el (imenu-generic-expression, imenu--index-alist):
20952 * outline.el (outline-level):
20953 * time.el (display-time-string):
20954 * calendar/parse-time.el (parse-time-rules):
20955 * mail/rmailout.el (rmail-output-file-alist):
20956 Autoload riskiness here, rather than placing in files.el.
20958 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20960 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20962 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20964 * simple.el (process-file-side-effects): New defvar.
20966 * dired-aux.el (dired-show-file-type):
20967 * vc.el (vc-diff-internal):
20968 * vc-arch.el (vc-arch-diff):
20969 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20970 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20971 * vc-git.el (vc-git-registered, vc-git-working-revision)
20972 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20973 (vc-git--empty-db-p):
20974 * vc-hooks.el (vc-user-login-name):
20975 * vc-svn.el (vc-svn-registered, vc-svn-state)
20976 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20977 * progmodes/grep.el (grep-probe): Let-bind
20978 `process-file-side-effects' with nil.
20980 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20982 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20983 daemon. Replace ping by checking for running service for bluez
20984 and zeroconf. (Bug#4239)
20986 2009-08-25 Kevin Ryde <user42@zip.com.au>
20988 * net/dig.el (dig): Add autoload cookie.
20990 2009-08-25 Glenn Morris <rgm@gnu.org>
20992 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20993 load-history for absolute file-names.
20994 (byte-compile-file-form-require): Warn about use of the cl package.
20996 * format.el (format-alist): Doc fix.
20998 * play/bubbles.el (top-level): Don't require cl at run-time.
21000 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21003 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21005 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21007 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21009 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21011 * calc/calc-alg.el (math-trig-rewrite)
21012 (math-hyperbolic-trig-rewrite): New functions.
21013 (calc-simplify): Simplify trig functions when asked.
21015 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21017 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21019 2009-08-24 Kenichi Handa <handa@m17n.org>
21021 * language/ind-util.el (mapthread): Delete it.
21022 (combinatorial): New function.
21023 (indian--puthash-cv): Use combinatorial instead of mapthread.
21025 2009-08-22 Kevin Ryde <user42@zip.com.au>
21027 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21028 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21029 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21030 Clarify docstring that the value is strings not symbols.
21031 (checkdoc-list-of-strings-p): New function.
21033 2009-08-22 Glenn Morris <rgm@gnu.org>
21035 * files.el (auto-mode-alist):
21036 * hippie-exp.el (he-concat-directory-file-name):
21037 * lpr.el (lpr-windows-system, printer-name):
21038 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21039 * ps-print.el (ps-windows-system):
21040 * startup.el (command-line):
21041 * emulation/viper-ex.el (viper-glob-function):
21042 * international/mule-cmds.el (set-language-environment-coding-systems):
21043 * net/ange-ftp.el (ange-ftp-write-region):
21044 * obsolete/fast-lock.el (fast-lock-cache-name):
21045 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21046 unisoft-unix, vax-vms, win32, w32.
21048 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21049 given name if the pattern is not more specific.
21051 * calendar/lunar.el (lunar-phase-names): New option.
21052 (lunar-phase): Doc fix.
21053 (lunar-cycles-per-year): New constant.
21054 (lunar-index): New function.
21055 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21056 (lunar-phase-name): Use lunar-phase-names.
21057 (calendar-lunar-phases): Use format.
21058 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21060 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21061 Copy imenu-example--name-and-position function here for own use.
21062 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21064 * bs.el (bs--redisplay):
21065 * cus-edit.el (custom-redraw):
21066 * ibuffer.el (ibuffer-bury-buffer):
21067 * server.el (server-goto-line-column):
21068 * startup.el (command-line-1):
21069 * strokes.el (strokes-xpm-for-stroke):
21070 * term.el (term-display-buffer-line):
21071 * view.el (View-goto-line):
21072 * calc/calc.el (calc-do, calc-trail-buffer):
21073 * play/gamegrid.el (gamegrid-add-score-insecure):
21074 * progmodes/ada-mode.el (ada-compile-goto-error):
21075 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21076 (ebrowse-select-1st-to-9nth):
21077 * progmodes/cperl-mode.el (cperl-time-fontification):
21078 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21079 * progmodes/gud.el (gud-display-line):
21080 (idlwave-shell-display-line):
21081 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21082 * progmodes/make-mode.el (makefile-browser-toggle):
21083 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21084 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21085 * textmodes/picture.el (picture-draw-rectangle):
21086 * textmodes/reftex-index.el (reftex-index-goto-letter):
21087 (reftex-select-jump-to-previous):
21088 * textmodes/reftex-sel.el (reftex-find-start-point)
21089 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21090 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21091 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21092 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21093 * textmodes/two-column.el (2C-associated-buffer):
21094 Use forward-line rather than goto-line.
21096 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21099 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21100 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21101 (quick-check-list-to-regexp): Declare.
21103 * progmodes/make-mode.el (makefile-browser-insert-selection):
21104 Use goto-char rather than goto-line.
21106 * progmodes/prolog.el (compilation-error-regexp-alist)
21107 (compilation-forget-errors): Declare.
21109 2009-08-22 Juri Linkov <juri@jurta.org>
21111 * progmodes/grep.el (lgrep, rgrep): At the beginning
21112 set `dir' to `default-directory' unless `dir' is a non-nil
21113 readable directory. (Bug#4052)
21114 (lgrep, rgrep): Change a weird way to report an error
21115 from using `read-string' to using `error'.
21116 Instead of using interactive arguments in the function body,
21117 add new argument `confirm'.
21119 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21121 * textmodes/remember.el (remember-buffer):
21122 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21123 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21124 (icalendar-extract-ical-from-buffer):
21125 * net/newst-treeview.el (newsticker-groups-filename):
21126 * net/newst-backend.el (newsticker-cache-filename):
21127 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21128 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21129 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21130 (speedbar-buffers-line-path, speedbar-path-line)
21131 (speedbar-buffers-line-path):
21132 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21134 * epa.el (epa-display-verify-result):
21135 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21137 2009-08-21 Glenn Morris <rgm@gnu.org>
21139 * progmodes/js.el (inferior-moz-process): Fix declaration.
21141 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21143 * obsolete/rnewspost.el (news-mail-reply):
21144 Use goto-char rather than goto-line.
21146 * term/ns-win.el (ns-open-file-select-line):
21147 Use line-beginning-position rather than goto-line.
21149 * apropos.el (apropos-command):
21150 * ehelp.el (electric-helpify):
21151 * printing.el (pr-show-setup):
21152 * strokes.el (strokes-help):
21153 * tutorial.el (tutorial--describe-nonstandard-key)
21154 (tutorial--detailed-help):
21155 * woman.el (woman-mini-help, woman-display-extended-fonts):
21156 * calc/calc-help.el (calc-describe-key):
21157 * emulation/edt.el (edt-electric-helpify):
21158 * international/mule-diag.el (mule-diag):
21159 * play/yow.el (apropos-zippy):
21160 * progmodes/python.el (python-describe-symbol):
21161 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21162 * textmodes/table.el (*table--cell-describe-mode)
21163 (*table--cell-describe-bindings):
21164 Use help-print-return-message rather than the now obsolete alias.
21166 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21167 (calendar-cursor-to-visible-date):
21168 * play/5x5.el (5x5-position-cursor):
21169 * play/decipher.el (decipher):
21170 * play/gomoku.el (gomoku-goto-xy):
21171 * play/landmark.el (lm-goto-xy):
21172 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21173 (mpuz-paint-digit):
21174 Use forward-line, not goto-line.
21176 * mail/rmail.el (rmail-obsolete): Delete custom group.
21177 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21178 (rmail-remote-password, rmail-remote-password-required):
21179 Remove unneeded :set-after and :set properties.
21181 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21183 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21185 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21187 * loadup.el: Remove leftover macos code.
21189 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21190 Explicitly pass the date format to git blame so that user local
21191 so that the output format can be parsed.
21193 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21195 * net/dbus.el (top): Don't check for (getenv
21196 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21198 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21200 * log-edit.el (log-edit-strip-single-file-name): New var.
21201 (log-edit-insert-changelog): Use it. Bug#3571.
21203 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21205 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21208 * help.el (help-print-return-message): Rename from
21209 print-help-return-message.
21211 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21212 cvs-mode-map parent hack.
21213 (log-view-mode): Derive from special-mode.
21215 * linum.el (linum-mode): window-size-change-functions is redundant.
21216 Adapt to new window-configuration-change-hook behavior.
21217 (linum-after-size, linum-after-config): Remove.
21219 * imenu.el (imenu-example--name-and-position)
21220 (imenu-example--lisp-extract-index-name)
21221 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21224 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21225 (inferior-prolog-mode): Use it.
21226 (inferior-prolog-load-file): Reset list of errors.
21228 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21230 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21232 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21234 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21236 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21237 is running already.
21239 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21241 * subr.el (listify-key-sequence-1): Use normal syntax since those
21242 integers are nowadays always represented by the same (positive) number
21244 (read-key-empty-map): New const.
21245 (read-key-delay): New var.
21246 (read-key): New function.
21247 (force-mode-line-update): Use with-current-buffer.
21248 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21249 (start-process-shell-command, start-file-process-shell-command):
21250 Discourage the use of command-args.
21252 2009-08-19 Glenn Morris <rgm@gnu.org>
21254 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21256 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21258 * simple.el (choose-completion-string): Don't rely on
21259 minibuffer-completing-file-name and ad-hoc checks to decide whether
21260 to continue completion or not.
21262 * minibuffer.el (minibuffer-hide-completions): New function.
21263 (completion--do-completion): Use it.
21264 (completions-annotations): New face.
21265 (completion--insert-strings): Use it.
21266 (completion-pcm--delim-wild-regex): Add docstring.
21267 (completion-pcm--string->pattern): Add support for 0-width delimiters
21268 in completion-pcm--delim-wild-regex.
21270 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21272 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21273 Remove unused var `buffer-modified-p'.
21275 * minibuffer.el (completion--do-completion): Move point for the #b001
21276 case as well (bug#4176).
21277 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21279 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21281 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21282 and :session buses.
21284 2009-08-18 Kenichi Handa <handa@m17n.org>
21286 * international/ucs-normalize.el (ucs-normalize-version):
21288 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21289 (utf-8-hfs): Make it perform normalization on encoding too.
21291 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21292 (sentence-end-without-space): Delete duplicated chars.
21293 (sentence-end-base): Likewise.
21295 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21296 (html-mode): Delete duplicated chars from sentence-end-base.
21298 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21299 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21301 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21303 * files.el (hack-one-local-variable): If the mode function is for
21304 a minor mode, pass it an argument (Bug#4148).
21306 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21308 * net/tramp.el (tramp-register-completion-file-name-handler):
21309 Check also for (member 'partial-completion completion-styles).
21311 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21313 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21316 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21318 * progmodes/cperl-mode.el: Merge upstream 6.2.
21319 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21320 (cperl-forward-re): Check cperl-brace-recursing.
21321 (cperl-highlight-charclass): New function.
21322 (cperl-find-pods-heres): Use it.
21323 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21324 (cperl-beautify-regexp-piece): Fix column calculation.
21325 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21326 (cperl-beautify-level): Don't process entire regexp.
21327 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21329 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21330 (cperl-init-faces): Build a list in the normal way.
21332 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21334 * calendar/parse-time.el (parse-time-string-chars): Save match
21337 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21339 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21340 (sql-product): Use it.
21341 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21342 (sql-set-product): Add completion.
21343 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21344 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21345 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21346 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21347 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21348 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21349 (sql-highlight-db2-keywords): Remove.
21350 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21351 (sql-highlight-product): Use derived-mode-p.
21352 (sql-set-sqli-buffer): Use with-current-buffer.
21353 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21356 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21358 * term.el: Fix commenting convention, turn comments into docstrings.
21360 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21362 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21364 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21366 * calendar/parse-time.el (parse-time-string-chars): Compute using
21367 character classes, to handle non-ascii characters (Bug#3190).
21369 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21371 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21372 another heredoc if the user adds another < (Bug#3226).
21374 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21375 Don't initialize based on window-system (Bug#4124).
21377 * facemenu.el (facemenu-read-color): Use a completion function
21378 that accepts any defined color, such as RGB triplets (Bug#3677).
21380 * files.el (get-free-disk-space): Change fallback default
21381 directory to /. Expand DIR argument before switching to fallback.
21382 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21384 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21386 * files.el (load-library): Doc fix.
21388 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21390 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21391 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21392 incremental search string.
21394 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21397 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21398 (ediff-merge-region-is-non-clash)
21399 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21400 Also check if the job is really a merge job.
21402 * ediff.el (ediff-current-file): New function.
21404 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21406 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21408 (js-insert-and-indent): Delete function.
21409 (js-mode-map): Don't bind keys to js-insert-and-indent.
21410 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21411 (js-end-of-defun): Rename from js--end-of-defun.
21412 (js-auto-indent-flag): Delete variable.
21414 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21416 * progmodes/js.el: Remove proclaim statement.
21417 Defvar which-func-imenu-joiner-function to silence compiler.
21419 * files.el (auto-mode-alist): Use js-mode for .js files.
21421 * progmodes/js2-mode.el: Remove file.
21423 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21425 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21427 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21429 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21430 Karl Landstrom <karl.landstrom@brgeight.se>
21432 * progmodes/js.el: New file.
21434 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21436 * timezone.el (timezone-parse-date): Add ability to understand ISO
21437 basic format (minimal separators) dates in addition to the
21438 already-supported extended format dates.
21440 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21442 * international/ucs-normalize.el: Add a `coding' file variable.
21444 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21446 2009-08-14 Sam Steingold <sds@gnu.org>
21448 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21450 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21452 * faces.el (help-argument-name): Define it here instead of
21453 help-fns.el, because in daemon mode help-fns.el may be loaded when
21454 faces are still uninitialized (Bug#1078).
21456 * help-fns.el (help-argument-name): Move defface to faces.el.
21458 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21460 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21461 create buffer with a pty but no process so that GDB can make the
21462 inferior the controlling process.
21464 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21466 * international/ucs-normalize.el: New file.
21468 2009-08-13 Richard Stallman <rms@gnu.org>
21470 * mail/rmail.el (rmail-get-attr-names):
21471 Accept an attribute header that is too short.
21473 * mail/rmail.el (rmail-forget-messages):
21474 Ignore nil elt in rmail-message-vector. Use dotimes.
21476 * progmodes/compile.el (compilation-goto-locus):
21477 Use next-error-move-function.
21479 * simple.el (next-error-move-function): New variable.
21481 2009-08-12 Juri Linkov <juri@jurta.org>
21483 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21484 always non-nil. (Bug#4052)
21486 * replace.el (read-regexp): Return empty string when
21487 `default-value' is nil.
21488 (keep-lines-read-args): Don't use empty string as the
21489 default value for `read-regexp'. (Bug#2495)
21491 2009-08-12 Juri Linkov <juri@jurta.org>
21493 * international/mule-cmds.el (ucs-insert): Change arguments
21494 from `arg' to `character', `count', `inherit' to be the same
21495 as in `insert-char'. Doc fix. (Bug#4039)
21497 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21499 2009-08-12 Juri Linkov <juri@jurta.org>
21501 * files-x.el: New file.
21503 * files.el: Move code that deals with adding/deleting
21504 file/directory-local variables to files-x.el.
21506 * Makefile.in (ELCFILES): Add files-x.elc.
21508 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21510 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21511 to use `goto-line'.
21512 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21514 (gdb-invalidate-disassembly): Do not refresh upon receiving
21515 'update signal. Instead, update all disassembly buffers only after
21517 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21518 (gdb-starting): Move -data-list-register-names...
21519 (gdb-stopped): ...here so it's sent when first thread stops.
21520 (gdb-registers-handler-custom): Do nothing if register names are
21523 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21524 from `gdb-mi.el' to avoid extra tangling.
21526 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21527 change which breaks `gud-def' definitions used in `gdb'.
21528 (gdb-update-gud-running): No extra fuss for updating frame number.
21530 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21532 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21533 (describe-language-environment-map, setup-language-environment-map)
21534 (set-coding-system-map): Move initialization into declaration.
21535 (set-language-info-alist): Last arg to define-key-after can be skipped.
21537 * international/quail.el (quail-completion-1): Simplify.
21538 (quail-define-rules): Use slightly more compact code.
21539 (quail-insert-decode-map): Propertize keys, compact columns.
21541 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21544 2009-08-10 Miles Bader <miles@gnu.org>
21546 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21547 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21548 (js2-instance-member, js2-private-member, js2-private-function-call)
21549 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21550 (js2-magic-paren, js2-external-variable):
21551 Remove "-face" suffix from face names.
21552 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21553 (js2-highlight-undeclared-vars, js2-peek-token)
21554 (js2-parse-function-params, js2-mode-show-errors)
21555 (js2-mode-show-warnings, js2-make-magic-delimiter)
21556 (js2-mode-highlight-magic-parens): Update to use new face names.
21558 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21560 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21561 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21563 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21565 * subr.el: Provide hashtable-print-readable.
21567 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21568 hs-c-like-adjust-block-beginning.
21569 (hs-hide-block-at-point): Stop hiding at the beginning of
21570 hs-block-end-regexp (Bug#700).
21572 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21574 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21576 (gdb-registers-handler-custom): Do not fail when register names
21579 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21581 * progmodes/gdb-mi.el (gdb-control-all-threads)
21582 (gdb-control-current-thread): Interactive setters for
21583 `gdb-gud-control-all-threads' to use in menu.
21584 (gdb-show-run-p): Show «Go» when process is not active.
21585 (gud-tool-bar-map): Add non-stop/A,T indicator.
21586 Uses gud/thread.xpm and gud/all.xpm.
21588 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21590 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21591 (nslookup-font-lock-keywords): Make it a variable.
21592 (net-utils-mode): New mode for viewing diagnostic network output.
21593 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21594 (net-utils-run-simple): New function.
21595 (ifconfig, iwconfig, netstat, arp, route): Use it.
21597 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21599 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21600 (gdb-memory-set-address, def-gdb-set-positive-number)
21601 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21602 after changing settings.
21603 (gdb-invalidate-disassembly): Update when first shown.
21604 (gdb-edit-locals-value): Fix.
21605 (gdb-registers-handler-custom): Print registers in right order and
21606 allow changing register values (only for current thread yet).
21607 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21608 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21609 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21610 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21611 Thread info in mode name.
21612 (gdb-registers-mode-map): TAB to switch to locals.
21614 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21616 * mail/rmail.el (rmail-add-mbox-headers)
21617 (rmail-set-message-counters-counter): Search for
21618 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21620 2009-08-08 Glenn Morris <rgm@gnu.org>
21622 * Makefile.in (ELCFILES): Update.
21624 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21626 * mail/sendmail.el (mail-yank-original):
21627 Set buffer-file-coding-system from the one used by the message whose
21630 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21631 to "windows" when "pgnuplot" is used.
21632 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21633 Don't call accept-process-output if "pgnuplot" is used.
21634 (calc-graph-init): Don't send -display and -geometry to
21635 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21636 running "pgnuplot -V" with shell-command-to-string.
21638 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21641 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21643 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21646 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21648 * vc-dispatcher.el (vc-resynch-window): Update comment.
21650 * term.el (term-handle-ansi-escape): Add comments with the
21651 terminfo capabilities implemented.
21653 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21655 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21656 (gdb-var-create-handler): Rewritten using JSON parser.
21657 (gdb-propertize-header): Move earlier.
21658 (gdb-set-header): Remove to avoid duplication.
21659 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21660 Refresh disassembly buffers only after threads list have been
21662 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21665 2009-08-04 Juri Linkov <juri@jurta.org>
21667 * files.el: Commands to add/delete file/directory-local variables.
21668 (read-file-local-variable, read-file-local-variable-value)
21669 (read-file-local-variable-mode, modify-file-local-variable)
21670 (modify-file-local-variable-prop-line)
21671 (modify-dir-local-variable): New functions.
21672 (add-file-local-variable, delete-file-local-variable)
21673 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21674 (add-dir-local-variable, delete-dir-local-variable)
21675 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21676 (copy-dir-locals-to-file-locals-prop-line): New commands.
21678 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21680 * abbrev.el (insert-abbrev-table-description): Prettify output.
21681 Suggested by Karl Chen.
21683 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21685 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21686 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21687 (gdb-overlay-arrow-position, gdb-thread-position)
21688 (gdb-disassembly-position): Declare variables.
21689 (gdb-wait-for-pending): Function now.
21690 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21691 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21692 compilation goes smoothly.
21693 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21694 (gdb-non-stop-setting): New customization setting which replaces
21695 `gdb-non-stop' so changing it doesn't break active GDB session.
21696 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21697 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21698 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21699 (gdb-show-threads-by-default): New customization options.
21700 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21702 (gdb-get-buffer-create): Send buffers update signal when they are
21704 (gdb-invalidate-locals, gdb-invalidate-registers)
21705 (gdb-invalidate-breakpoints)
21706 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21707 (gdb-invalidate-memory): Accept update signal.
21708 (gdb-current-context-command): Use --frame option.
21709 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21710 Implement `gdb-frame-number' selection logic.
21711 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21712 whether to show GUD toolbar buttons.
21713 (gdb-thread-exited): Unselect current thread when it exits.
21714 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21715 (gdb-mark-line): Routine which sets overlay arrow or inverses
21716 video on fringeless displays.
21717 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21718 to build aligned columns of data in GDB buffers and set text
21719 properties line-by-line.
21720 (gdb-invalidate-breakpoints)
21721 (gdb-breakpoints-list-handler-custom)
21722 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21723 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21724 (gdb-registers-handler-custom): Align data columns.
21725 (gdb-locals-handler-custom): Now prints data like in variable
21727 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21728 Remove confusing buttons.
21729 (gdb-invalidate-threads): Append --frame.
21730 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21731 between breakpoints/threads buffers.
21732 (gdb-set-window-buffer): Now can ignore dedicated windows.
21733 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21734 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21735 (def-gdb-thread-buffer-gud-command): Replaces
21736 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21737 for fine thread control.
21738 (gdb-preempt-existing-or-display-buffer): New function used to
21739 display bound buffers without breaking window layout.
21740 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21741 (gdb-select-frame): New version of `gdb-frames-select' which now
21742 sets `gdb-frame-number' so commands may use --frame option instead
21743 of inner debugger state.
21744 (gdb-frame-handler): Do not set `gdb-frame-number'.
21745 (gdb-threads-mode-map): Select threads with mouse.
21747 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21748 avoid compilation warning.
21749 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21752 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21753 Argument `key' renamed to `buffer-type'.
21754 (gdb-current-context-buffer-name): Do not add thread info to
21755 buffer name when no thread is selected.
21756 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21757 command (bug 3794).
21758 (gdb-thread-selected): Handle `=thread-selected' notification.
21759 (gdb-wait-for-pending): New macro to deal with congestion problems.
21760 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21762 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21763 This fixes problem similar to one described in bug 3947.
21764 (gud-menu-map): More menu items.
21765 (gdb-init-1): Reset `gdb-thread-number' to nil.
21767 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21770 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21771 (gdb-current-context-command): Do not append --thread if
21772 `gdb-thread-number' is nil.
21773 (gdb-running-threads-count, gdb-stopped-threads-count):
21775 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21776 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21777 New customization options.
21778 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21780 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21781 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21782 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21783 set `gdb-thread-number' and update `gud-running' properly.
21784 (gdb-running): Update threads list when new threads appear.
21785 (gdb-stopped): Support non-stop operation and new thread switching
21787 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21788 (gdb-json-partial-output): New set of JSON routines.
21789 (def-gdb-auto-update-trigger): New `signal-list' optional
21791 (gdb-thread-list-handler-custom): Update `gud-running',
21792 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21793 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21794 (gdb-continue-thread, gdb-step-thread): New commands for fine
21795 thread execution control.
21796 (gud-menu-map): New menu items to switch non-stop options.
21797 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21798 (gdb-send): Mimic RET properly (bug 3794).
21800 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21801 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21803 (def-gdb-auto-update-handler): New nopreserve optional argument.
21804 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21806 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21807 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21808 (gdb-parent-mode): New mode to derive other GDB modes from.
21809 (gdb-display-disassembly-for-thread)
21810 (gdb-frame-disassembly-for-thread): New commands for threads
21813 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21814 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21815 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21816 (gdb-update): We now store all GDB buffers in a list so that they
21817 can be updated by traversing a list instead of calling invalidate
21818 triggers explicitly.
21819 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21820 pair for GDB buffer.
21821 (gdb-stack-buffer-name): Add thread information.
21822 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21823 handle pending triggers.
21824 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21825 (def-gdb-thread-buffer-simple-command)
21826 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21827 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21828 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21829 New commands which show buffers bound to thread.
21830 (gdb-stack-list-locals-regexp): Remove unused regexp.
21832 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21833 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21834 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21835 to (gud-comint-buffer) in *-buffer-name functions
21836 because (gdb-get-target-string) already does that.
21837 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21838 (gdb-changed-registers-handler): Rewritten without regexps.
21840 * progmodes/gdb-mi.el: Basic thread selection support.
21841 (gdb-thread-number): New variable.
21842 (gdb-current-context-command): New macro which adds --thread
21844 (gdb-threads-mode-map): Select thread with SPC.
21845 (gdb-thread-list-handler-custom): Mark current thread with overlay
21846 arrow. Synchronize GDB thread and Emacs thread.
21847 (gdb-select-thread): New command which selects current thread.
21848 (gdb-invalidate-frames, gdb-invalidate-locals)
21849 (gdb-invalidate-registers): Use --thread option.
21851 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21853 * net/tramp.el (top): Make check for tramp-gvfs loading more
21855 (tramp-handle-insert-file-contents): `unwind-protect' must be
21856 inside `with-parsed-tramp-file-name'.
21858 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21861 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21863 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21864 directory if CLASSPATH is not set.
21866 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21868 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21870 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21872 2009-08-02 Kevin Ryde <user42@zip.com.au>
21874 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21875 Update freshmeat link. Delete newsforge.com as it seems gone.
21877 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21879 * select.el (x-set-selection): Doc fix (Bug#4021).
21881 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21883 * help-fns.el (describe-variable): Treat list return values from
21884 dir-locals-find-file properly (Bug#4005).
21886 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21888 * net/tramp.el (tramp-debug-message): Print also microseconds.
21890 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21892 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21894 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21895 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21898 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21899 (tramp-get-file-property): Use it.
21901 * autorevert.el (auto-revert-handler):
21902 Allow `auto-revert-tail-mode' for remote files.
21904 2009-08-02 Jason Rumney <jasonr@gnu.org>
21906 * minibuffer.el (read-file-name): Treat confirm options to
21907 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21909 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21911 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21912 (font-lock-variable-name-face, font-lock-constant-face):
21913 Darken the colors for light backgrounds.
21915 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21917 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21918 month names. (Bug#3987)
21920 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21922 * simple.el (line-move-finish): Pass whole number to
21923 line-move-to-column.
21924 (line-move-visual): Perform hscroll to the recorded position.
21926 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21928 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21930 2009-07-29 Alan Mackenzie <acm@muc.de>
21932 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21934 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21936 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21937 (gdb-place-breakpoints): Use full path when setting breakpoints.
21939 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21941 * calc/calc.el (calc-mode-map): Add keybinding for
21942 `calc-transpose-lines'.
21944 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21946 * calc/calc-misc.el (calc-transpose-lines): New function.
21948 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21950 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21951 Simplify check for out-of-band methods.
21952 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21953 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21955 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21957 * vc-git.el (vc-git-checkin): Fix typo.
21959 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21961 * progmodes/js2-mode.el: New file.
21963 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21965 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21966 (gud-menu-map): Adjust tooltip accordingly.
21968 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21970 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21971 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21973 * add-log.el (change-log-mode-map): Add a menu.
21975 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21977 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21978 function returns nil.
21979 (dbus-handle-event): Handle special return value :ignore.
21980 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21982 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21984 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21987 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21991 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21993 * term/pc-win.el (x-display-name, x-colors)
21994 (x-select-enable-clipboard, x-select-text): Doc fix.
21996 * term/common-win.el (x-display-name, x-colors): Doc fix.
21998 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21999 (xw-defined-colors): Doc fix.
22001 * w32-fns.el (x-select-text, x-setup-function-keys)
22002 (x-get-selection, x-set-selection): Doc fix.
22004 * term/x-win.el (x-select-text, x-setup-function-keys)
22005 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22007 * select.el (x-set-selection): Doc fix.
22009 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22011 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22012 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22013 "IsNSSSupportAvailable" method is not available.
22014 Reported by Steve Youngs <steve@sxemacs.org>.
22016 2009-07-24 Kenichi Handa <handa@m17n.org>
22018 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22019 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22020 (build-unicode-category-table): Fix range checks.
22022 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22024 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22025 the buffer we try to sync is current when calling
22028 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22029 not show up to date files.
22031 2009-07-24 Glenn Morris <rgm@gnu.org>
22033 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22034 Add autoload cookies. If necessary, initialize.
22035 (elint-log): Handle non-file buffers.
22036 (elint-initialize): Add optional argument to reinitialize.
22037 (elint-find-builtin-variables): Save excursion.
22039 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22041 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22044 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22046 * vc.el (vc-print-log-internal): New function, split out from ...
22047 (vc-print-log): ... here.
22048 (vc-dir-move-to-goal-column): Declare.
22050 * vc-git.el (vc-git-add-signoff): New variable.
22051 (vc-git-checkin): Use it.
22052 (vc-git-toggle-signoff): New function.
22053 (vc-git-extra-menu-map): Bind it to menu.
22054 (vc-git--run-command-string): Accept a nil FILE argument.
22055 (vc-git-stash-list): New function.
22056 (vc-git-dir-extra-headers): Use it.
22058 2009-07-23 Glenn Morris <rgm@gnu.org>
22060 * help-fns.el (describe-variable): Describe ignored and risky local
22061 variables in a similar way to that in which we describe safe ones.
22063 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22064 (byte-compile-output-file-form, byte-compile-output-docform)
22065 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22066 Give some more local variables with common names a "bytecomp-" prefix,
22067 so as not to shadow things during compilation.
22068 * emacs-lisp/cl-macs.el (load-time-value)
22069 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22070 `outbuffer' to `bytecomp-outbuffer'.
22072 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22073 since the next two variables cover them automatically now.
22074 (elint-builtin-variables, elint-autoloaded-variables): New.
22075 (elint-unknown-builtin-args): Remove all members, since they can be
22076 parsed automatically now.
22077 (elint-extra-errors): New.
22078 (elint-env-add-env, elint-env-add-macro): Use cadr.
22079 (elint-current-buffer): Use or. Change final message.
22080 (elint-get-top-forms): Use line-end-position.
22081 (elint-init-env): Use cadr. Handle autoload, declare-function,
22083 (elint-add-required-env): Doc fix. Use or. Standardize error.
22084 (regexp-assoc): Remove unused function.
22085 (elint-top-form): Set elint-current-pos, to record the start of the
22086 top-level form, for compilation-mode.
22087 (elint-form): Trap errors in macro expansion. Use dolist.
22088 (elint-unbound-variable): Use elint-builtin-variables and
22089 elint-autoloaded-variables.
22090 (elint-get-args): Use cadr, or.
22091 (elint-check-cond-form): Use dolist, cadr.
22092 (elint-check-condition-case-form): Doc fix. Use cadr.
22093 Use elint-extra-errors.
22094 (elint-log): New function.
22095 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22096 Distinguish errors and warnings.
22097 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22098 Use a bytecomp-style format.
22099 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22100 (elint-get-log-buffer): Use compilation mode. Disable undo.
22101 Don't truncate lines.
22102 (elint-initialize): Set builtin and autoloaded variable lists.
22103 Only process elint-unknown-builtin-args if non-nil.
22104 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22106 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22108 2009-07-22 Kevin Ryde <user42@zip.com.au>
22110 * net/newst-backend.el (newsticker--parse-atom-1.0)
22111 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22112 (newsticker--parse-rss-1.0):
22113 * progmodes/idlwave.el (idlwave-mode):
22114 * progmodes/idlw-shell.el (idlwave-shell-mode):
22115 * progmodes/vera-mode.el (vera-mode):
22116 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22117 * progmodes/vhdl-mode.el (vhdl-mode):
22118 * textmodes/table.el (table-generate-source)
22119 (table--warn-incompatibility):
22120 Hyperlink urls in docstrings with URL `...'.
22122 2009-07-22 Glenn Morris <rgm@gnu.org>
22124 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22125 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22126 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22127 Remove leading * from defcustom docs.
22129 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22131 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22133 (list-load-path-shadows): Optionally, just return shadows as a string.
22135 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22137 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22139 * mail/rmailedit.el (rmail-edit-mode):
22140 Use auto-save-include-big-deletions.
22142 * mail/rmail.el (rmail-variables):
22143 Use auto-save-include-big-deletions.
22145 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22148 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22150 * calc/calc.el (calc-undo-length): New variable.
22151 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22153 2009-07-21 Richard Stallman <rms@gnu.org>
22155 * files.el (auto-save-mode): Handle buffer-save-size = -2
22158 2009-07-21 Glenn Morris <rgm@gnu.org>
22160 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22162 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22164 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22165 silence compiler. Instead...
22166 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22167 (ps-print-ensure-fontified): Update for above function name changes.
22169 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22170 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22171 silence compiler. Instead...
22172 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22173 (mh-show-buffer): Only define for compiler.
22174 (pr-mh-current-message): Update for above function name changes.
22176 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22178 (find-file-noselect, insert-file-1): Update for above change.
22180 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22182 * mail/mailclient.el (mailclient-send-it): Fix message.
22184 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22185 (edebug-eval): Check cl-debug-env is bound.
22186 (print-level, print-circle): Don't redefine built-in variables.
22188 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22189 (custom-print-vectors): Remove old comments from doc.
22191 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22192 (emerge-version): Make the variable an obsolete alias for the
22193 emacs-version variable. Make the function obsolete.
22194 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22195 Emerge options, rather than merging in into the main Options menu.
22196 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22197 and auto advance modes. Disable edit/fast items when not relevant.
22199 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22201 * term/vt420.el (terminal-init-vt420): Fix typo.
22203 2009-07-20 Sam Steingold <sds@gnu.org>
22205 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22206 variable (removed from compile.el on 2004-03-11).
22208 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22210 * files.el (hack-local-variables-filter): Fix last change.
22212 2009-07-19 Juri Linkov <juri@jurta.org>
22214 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22215 (dir-local-variables-alist): New buffer-local variable.
22216 (hack-local-variables-filter): If variable is not dir-local,
22217 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22218 because file-local overrides dir-local.
22219 (c-postprocess-file-styles) <declare-function>:
22220 Remove obsolete declaration.
22221 (hack-dir-local-variables): Add dir-local variable/value pair to
22222 `dir-local-variables-alist' and remove duplicates. Doc fix.
22224 * help-fns.el (describe-variable): Add information about
22225 file-local and dir-local variables.
22227 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22229 * files.el (hack-local-variables-filter): Rewrite.
22231 2009-07-19 Glenn Morris <rgm@gnu.org>
22233 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22234 Silence compiler by only defining on XEmacs.
22236 * international/mule.el (auto-coding-regexp-alist): Only match
22237 BABYL... at the start of buffer, not of lines. (Bug#3790)
22239 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22240 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22241 (cal-menu-context-mouse-menu): Doc fix.
22243 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22245 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22247 2009-07-18 Juri Linkov <juri@jurta.org>
22249 * info.el: Virtual Info keyword finder.
22250 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22251 (Info-finder-file): New variable.
22252 (Info-finder-find-file): New function.
22253 (finder-known-keywords, finder-package-info)
22254 (find-library-name, lm-commentary): Use defvar and
22255 declare-function to silence compiler warnings.
22256 (Info-finder-find-node): New function.
22257 (info-finder): New command.
22259 * subr.el (process-kill-buffer-query-function): New function.
22260 (add-hook)<kill-buffer-query-functions>: Add hook
22261 `process-kill-buffer-query-function'.
22263 2009-07-18 Alan Mackenzie <acm@muc.de>
22265 * progmodes/cc-mode.el (c-before-hack-hook)
22266 (c-postprocess-file-styles): Give invocation of `c-set-style'
22267 DONT-OVERRIDE parameter of t. Already set style variables will
22268 thus not be overridden by style settings given by `c-file-syle'.
22270 * files.el (hack-local-variables-filter): Remove entries with
22271 duplicate keys from `file-local-variables-alist'.
22273 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22275 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22276 x-set-selection if display-selections-p returns nil for the
22279 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22281 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22283 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22285 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22286 Accept nil in addition to a regexp.
22287 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22288 Accept nil in addition to a regexp.
22289 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22290 buffers that have an associated file. Handle nil values of
22291 desktop-buffers-not-to-save and desktop-files-not-to-save.
22294 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22295 (x-disown-selection-internal): New functions.
22297 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22299 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22301 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22302 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22304 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22306 * simple.el (set-mark): Revert last change.
22308 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22310 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22311 rendering of pngs is not possible instead of messaging a long
22314 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22316 * w32-fns.el (x-selection-owner-p): New function.
22318 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22319 (mouse-yank-at-click, mouse-yank-primary):
22320 If select-active-regions is non-nil, deactivate the mark before
22323 * simple.el (deactivate-mark, set-mark): Only save selection if we
22326 2009-07-17 Kenichi Handa <handa@m17n.org>
22328 * case-table.el (describe-buffer-case-table): Fix for the case
22329 that KEY is a cons.
22331 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22333 * vc-rcs.el (vc-rcs-find-file-hook):
22334 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22336 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22338 * net/tramp.el (tramp-wait-for-output): Handle the case when
22339 commands do not return a newline but a null byte before the shell
22342 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22344 * term/ns-win.el (ns-set-alpha): Don't declare.
22345 (ns-set-background-alpha): Remove function.
22347 2009-07-16 Kevin Ryde <user42@zip.com.au>
22349 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22350 y-or-n-p, for safety.
22352 2009-07-16 Richard Stallman <rms@gnu.org>
22354 * files.el (auto-save-mode): If buffer-saved-size is -2,
22357 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22358 (rmail-retry-ignored-headers): Add more uninteresting fields.
22360 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22362 * net/rcirc.el (rcirc): Use history variables.
22363 (rcirc-server-name-history, rcirc-nick-name-history)
22364 (rcirc-server-port-history): New variables.
22366 2009-07-15 Kenichi Handa <handa@m17n.org>
22368 * international/mule-cmds.el (set-language-environment-charset):
22369 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22372 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22373 Delete unibyte-display.
22375 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22377 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22379 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22381 * simple.el (deactivate-mark): Optional argument FORCE.
22382 (set-mark): Use deactivate-mark.
22384 * info.el (Info-search): No need to check transient-mark-mode
22385 before calling deactivate-mark.
22387 * select.el (x-set-selection): Doc fix.
22388 (x-valid-simple-selection-p): Allow buffer values.
22389 (xselect--selection-bounds): Handle buffer values.
22390 Suggested by David De La Harpe Golden.
22392 * mouse.el (mouse-set-region, mouse-drag-track):
22393 Call copy-region-as-kill before setting the mark, to let
22394 select-active-regions work.
22396 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22398 * simple.el (deactivate-mark): If select-active-regions is
22399 non-nil, copy the selection data into a string.
22400 (activate-mark): If select-active-regions is non-nil, set the
22401 selection to the current buffer.
22402 (set-mark): Update selection if select-active-regions is non-nil.
22404 * select.el (x-valid-simple-selection-p): Allow buffer values.
22406 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22408 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22409 and more featureful message-mode.
22411 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22413 * select.el (x-set-selection): Doc fix.
22414 (x-valid-simple-selection-p): Disallow selection data consisting
22415 of a list or cons of integers, since that is not used.
22416 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22417 (xselect-convert-to-string, xselect-convert-to-length)
22418 (xselect-convert-to-filename, xselect-convert-to-charpos)
22419 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22421 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22423 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22424 output in -break-info command (Emacs bug #3794).
22426 2009-07-14 Glenn Morris <rgm@gnu.org>
22428 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22429 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22430 (edebug-print-length, edebug-print-level, edebug-print-circle)
22431 (edebug-sit-for-seconds, edebug-view-outside)
22432 (edebug-bounce-point, edebug-set-global-break-condition)
22433 (edebug-Go-nonstop-mode, edebug-trace-mode)
22434 (edebug-Trace-fast-mode, edebug-continue-mode)
22435 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22436 (edebug-visit-eval-list): Doc fixes.
22438 * subr.el (def-edebug-spec): Doc fix.
22440 2009-07-14 Kenichi Handa <handa@m17n.org>
22442 * international/characters.el: Fix setting of category ?C.
22444 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22446 * term/ns-win.el (x-select-font): defalias x-select-font to
22447 ns-popup-font-panel instead of generate-fontset-menu.
22449 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22451 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22453 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22455 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22456 the PK\003\004 header (Bug#3770).
22458 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22460 * pcomplete.el (pcomplete-comint-setup): Check for
22461 shell-dynamic-complete-filename too.
22463 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22465 * simple.el (temporary-goal-column): Change the value for
22466 line-move-visual to a cons cell.
22467 (line-move-visual): Record or set the window hscroll, if
22468 necessary (Bug#3494).
22469 (line-move-1): Handle cons value of temporary-goal-column.
22471 2009-07-11 Kenichi Handa <handa@m17n.org>
22473 * international/mule-diag.el (describe-character-set): Don't show
22476 2009-07-10 Sam Steingold <sds@gnu.org>
22478 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22479 Omake sometimes indents the errors it prints, so allow all
22480 regexps to start with spaces.
22482 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22484 * cus-edit.el (customize-changed-options-previous-release):
22485 Bump value to 22.1. (Bug#3804)
22487 2009-07-08 Sam Steingold <sds@gnu.org>
22489 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22490 to be a cons cell (test . ignored-directory) to selectively ignore
22491 some directories depending on the location of the search.
22493 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22495 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22496 remote user is root, on the local host.
22497 (tramp-local-host-p): Either the local user or the remote user
22498 must be root. (Bug#3771)
22500 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22502 * progmodes/gdb-mi.el (gdb): Remove description of
22503 gdb-use-separate-io-buffer.
22504 (menu): Don't allow toggling of or enable
22505 gdb-use-separate-io-buffer from menubar.
22507 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22509 * mail/unrmail.el (unrmail): Make sure the message ends with two
22510 newlines (Bug#3769).
22512 2009-07-08 Glenn Morris <rgm@gnu.org>
22514 * calendar/calendar.el (calendar-current-date): Rework previous change.
22516 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22518 * calendar/calendar.el (calendar-current-date):
22519 Add an optional argument giving an offset from today.
22521 2009-07-08 Glenn Morris <rgm@gnu.org>
22523 * tutorial.el (tutorial--describe-nonstandard-key):
22524 Adjust the message for when a key has been unbound.
22525 (help-with-tutorial): Hide the arch-tag.
22527 2009-07-08 Kenichi Handa <handa@m17n.org>
22529 * international/fontset.el (setup-default-fontset): For each
22530 script, append (not set) font-specs.
22532 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22535 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22537 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22538 -data-list-register-names to ...
22539 (gdb-starting): ... here because GDB 7.0 requires execution to
22540 have started when using this MI command.
22541 (gdb-set-header): New function to distinguish select and
22542 unselected tabs in gdb buffers.
22543 (gdb-propertize-header): New macro that uses gdb-set-header.
22544 (gdb-breakpoints-header, gdb-locals-header): Use it.
22545 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22547 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22549 * Makefile.in (ELCFILES): Remove fadr.elc.
22551 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22553 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22554 may contain frame information, so `string-match' should be used.
22555 (gdb-update): Disassembly is invalidated through
22556 `gdb-get-selected-frame'.
22557 (gdb-pad-string): New function to pad string with spaces.
22558 (gdb-invalidate-disassembly): Invalidate only if the buffer
22560 (gdb-disassembly-handler-custom): Column alignment.
22561 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22563 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22565 (gdb-frame-handler): Match convention to for disassembly buffer
22567 (gdb-stack-list-frames-handler): Rewritten without regexps.
22568 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22569 not highlight breakpoints without line information.
22570 (gdb-input): Add trailing newline to command.
22572 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22574 (gdb-breakpoints-list-handler-custom): Replacement for
22575 `gdb-break-list-handler'. Using real parser instead of regexps
22577 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22578 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22579 to place breakpoints.
22580 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22582 (gdb-disassembly-handler-custom): Show overlay arrow.
22583 (gdb-disassembly-place-breakpoints): Show breakpoints in
22584 disassembly buffer.
22585 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22586 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22587 instead of parsing breakpoints buffer. Fixed old menu references
22592 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22593 (gdb-memory-address): New variable which holds top address of
22594 memory page shown in memory buffer.
22595 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22596 New customization variables.
22598 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22599 display the memory buffer.
22600 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22601 buffer display parameters.
22602 (def-gdb-memory-format, gdb-memory-format-binary)
22603 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22604 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22605 Functions for setting memory buffer format.
22606 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22607 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22608 unit size used in memory buffer.
22609 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22610 Switch to next/previous page of memory buffer.
22611 Now using (bindat-get-field) instead of fadr functions.
22613 2009-07-07 Sam Steingold <sds@gnu.org>
22615 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22616 non-top-level files.
22618 2009-07-07 Kenichi Handa <handa@m17n.org>
22620 * international/mule-cmds.el (reset-language-environment):
22621 Put the highset priority to the charset iso-8859-1.
22623 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22625 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22626 to the end of the line when locating the block (Bug#700).
22628 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22630 * net/tramp.el (tramp-handle-write-region): Flush file properties
22631 in case of short track.
22633 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22635 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22636 Coded custom representation of verilog error regular expressions
22637 to work with Emacs-22's new format.
22638 (verilog-error-regexp-xemacs-alist): Coded custom representation
22639 of verilog error regular expressions to work with XEmacs format.
22640 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22641 error recognition into XEmacs.
22642 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22643 error recognition into Emacs-22.
22645 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22647 * woman.el: Remove stand-alone closing parentheses.
22648 (woman-file-name, woman2-format-paragraphs)
22649 (woman-leave-blank-lines): Code cleanup.
22650 (woman-use-own-frame): Change default to nil.
22651 (woman-italic, woman-bold, woman-unknown, woman-addition):
22652 Change defaults to inherit from default faces.
22653 (woman2-process-escapes): Consume the newline after a stand-alone
22654 filler character (Bug#3651).
22656 2009-07-06 Glenn Morris <rgm@gnu.org>
22658 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22659 (top-level): Move provide to the end.
22660 (ffap): Remove defunct URL from custom group.
22662 * subr.el (eval-after-load): Doc fix.
22664 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22666 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22667 `calc-embedded-word' is called twice.
22669 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22671 * files.el (find-alternate-file-other-window, find-alternate-file):
22672 Obey confirm-nonexistent-file-or-buffer.
22674 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22676 * dired-aux.el (dired-show-file-type): Handle remote files.
22678 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22680 * desktop.el (desktop-globals-to-save):
22681 Add file-name-history (Bug#2750).
22683 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22685 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22687 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22689 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22690 property on entire argument since this is what eshell-lisp-command
22693 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22695 * net/tramp-gvfs.el (tramp-gvfs-methods)
22696 (tramp-gvfs-zeroconf-domain)
22697 (tramp-bluez-discover-devices-timeout): Add version flag.
22698 (tramp-gvfs-handler-mounted-unmounted)
22699 (tramp-gvfs-connection-mounted-p): Polish handling of
22700 incompatibilities between GVFS 0.2 and 1.0.
22702 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22704 * cus-start.el (all): Add make-pointer-invisible.
22706 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22708 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22709 formatted correctly.
22711 2009-07-02 Juri Linkov <juri@jurta.org>
22713 * info.el: Virtual Info files and nodes.
22714 (Info-virtual-files, Info-virtual-nodes): New variables.
22715 (Info-current-node-virtual): New variable.
22716 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22718 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22719 to check for a virtual file instead of checking a fixed list
22721 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22722 instead of ad-hoc processing of "dir" and (apropos history toc).
22723 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22724 instead of ad-hoc processing of "dir" and (apropos history toc).
22725 Reread a file when moving from a virtual node.
22726 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22727 (Info-directory-toc-nodes, Info-directory-find-file)
22728 (Info-directory-find-node): New functions.
22729 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22730 (Info-history): Move part of code to
22731 `Info-history-find-node'.
22732 (Info-history-toc-nodes, Info-history-find-file)
22733 (Info-history-find-node): New functions.
22734 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22735 (Info-toc): Move part of code to `Info-toc-find-node'.
22736 (Info-toc-find-node): New function.
22737 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22738 the current Info file name to references because now the node
22739 "*TOC*" belongs to the same Info manual.
22740 (Info-toc-build): Rename from `Info-build-toc'.
22741 (Info-toc-nodes): Rename input argument `file' to `filename'.
22742 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22743 instead of ad-hoc processing of ("dir" apropos history toc).
22744 (Info-index-nodes): Use Info-virtual-file-p
22745 to check for a virtual file instead of checking a fixed list
22747 (Info-index-node): Add check for `Info-current-node-virtual'.
22748 Raise `save-match-data' higher up the tree to contain
22749 `search-forward' too (bug fix).
22750 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22751 (Info-virtual-index-nodes): New variable.
22752 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22753 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22754 (Info-apropos-file, Info-apropos-nodes): New variables.
22755 (Info-apropos-toc-nodes, Info-apropos-find-file)
22756 (Info-apropos-find-node, Info-apropos-matches): New functions.
22757 (info-apropos): Move part of code to `Info-apropos-find-node' and
22758 `Info-apropos-matches'.
22759 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22760 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22761 for a virtual file instead of checking a fixed list of node names.
22763 * simple.el (async-shell-command): New command.
22765 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22767 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22768 instead of `mount-info'.
22770 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22772 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22773 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22775 2009-07-02 Kenichi Handa <handa@m17n.org>
22777 * international/mule.el (set-keyboard-coding-system): Force *-unix
22778 coding-system to avoid eol conversion.
22780 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22782 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22783 Add handler for `process-file', `shell-command' and
22784 `start-file-process'.
22785 (tramp-gvfs-handle-shell-command)
22786 (tramp-gvfs-handle-start-file-process)
22787 (tramp-gvfs-handle-process-file): New defuns.
22788 (tramp-synce-list-devices): Simplify check for existence of property.
22790 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22792 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22794 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22796 * language/korean.el (set-language-info-alist): Add korean-cp949,
22799 2009-07-01 Kenichi Handa <handa@m17n.org>
22801 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22803 * international/encoded-kb.el: Deleted.
22805 * international/mule.el (set-keyboard-coding-system): Perform the
22806 necessary setup here instead of calling encoded-kbd-setup-display.
22808 2009-07-01 Glenn Morris <rgm@gnu.org>
22810 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22812 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22814 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22816 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22818 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22819 Handle also the 'rename case, when setting file modes. (Bug#3712)
22820 (tramp-default-file-modes): Remove execute permissions.
22822 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22823 (top): Add a default for "synce" in `tramp-default-user-alist'.
22824 Add completion function for "synce" method.
22825 (tramp-hal-service, tramp-hal-path-manager)
22826 (tramp-hal-interface-manager, tramp-hal-interface-device):
22828 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22829 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22832 * net/trampver.el: Update release number.
22834 2009-06-30 Kenichi Handa <handa@m17n.org>
22836 * international/fontset.el (setup-default-fontset): Add CJK fonts
22837 for symbols and the other miscellaneous characters.
22839 * language/korea-util.el (setup-korean-environment-internal):
22840 Make char-width-table suitable for Korean environments.
22841 (exit-korean-environment): Cancel above.
22843 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22844 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22845 setup-function to make char-width-table suitable for respective
22846 environments, and an exit-function to cancel that.
22848 * language/japan-util.el (setup-japanese-environment-internal):
22849 Call use-cjk-char-width-table with arg `ja_JP'.
22851 * international/characters.el (cjk-char-width-table): Delete it.
22852 (cjk-char-width-table-list): New variable.
22853 (use-cjk-char-width-table): New arg local-name.
22854 (use-default-char-width-table): Fix for the case that Emacs is
22855 already using the default char-width-table.
22857 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22859 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22860 modes mandatory. (Bug#3712)
22862 2009-06-29 Alan Mackenzie <acm@muc.de>
22864 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22865 correction between the visible width of TABs and their number of bytes.
22867 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22869 * server.el (server-buffer-done): Prevent kill-buffer from
22870 prompting by clearing the buffer modification flag (Bug#3696).
22872 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22874 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22875 (verilog-endcomment-reason-re): Support unique case and priority case.
22876 (verilog-basic-complete-re): Support localparam lineup.
22877 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22878 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22880 (verilog-leap-to-case-head): Now support *nested* unique &
22881 priority case statements.
22882 (verilog-auto-lineup): Make just declarations the default (as it
22884 (verilog-leap-to-case-head): Support priority/unique case statements.
22885 (verilog-auto-lineup): Rework to give users radio buttons to
22886 select the various styles of automatic lineup.
22887 (verilog-error-regexp-alist): Rework to support the XEmacs style
22888 of error regular expressions from compilers, lint tools &
22889 simulators. Note that GNU Emacs has made it impossible for a mode
22890 to load such things.
22891 (electric-verilog-terminate-line, verilog-indent-declaration)
22892 (verilog-auto-wiure): Rework for radio button selection of
22893 auto-lineup selection of specification of auto lineup.
22894 (verilog-beg-of-statement-1): Redesign to support proper operation
22895 in additional code, based on testing with auto-lineup.
22896 (verilog-calculate-indent, assignments & declarations)
22897 (verilog-backward-token): Enhance to support auto-lineup of
22898 assignments & declarations.
22899 (verilog-in-directive-p, verilog-at-struct-p): New function for
22900 easy test of whether we are.
22901 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22902 to support safe execution at almost anyline.
22903 (verilog-calc-1): Properly support indenting deep inside generate
22905 (verilog-init-font): Remove definition & use of verilog-init-font,
22906 as it is redundant with font-lock-defaults.
22907 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22908 to avoid circular calls if syntax-ppss is a function (as is the
22909 case now in 22.x GNU Emacs) as that function would sometimes call
22910 itself, leading to (nearly) infinite recursion.
22911 (verilog-ovm-begin-re, verilog-ovm-end-re)
22912 (verilog-ovm-statement-re, verilog-leap-to-head)
22913 (verilog-backward-token): Add support for OVM macros. Some are
22914 complete statements, and others open and close scopes like begin
22916 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22917 (verilog-defun-level-generate-only-re): Really fix the defun-list
22919 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22920 coverpoint, constraint and cross statements.
22921 (verilog-defun-level-list, verilog-generate-defun-level-list)
22922 (verilog-all-defun-level-list): Redo these specifications - it is
22923 too hard to support eval-when compile aggregation of lists also
22924 built at when-compile time.
22925 (verilog-defun-level-list): Place defconsts of variables used in
22926 building regular expressions which are built in eval-when-compile
22927 bodies in the same eval-when-compile body to facilitate compile
22929 (verilog-beg-block-re-ordered): Support indenting
22930 virtual/protected tasks and functions.
22931 (verilog-defun-level-list, verilog-in-generate-region-p)
22932 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22933 indentation of some module items (generate items).
22934 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22935 across virtual/protected tasks and functions.
22937 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22939 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22940 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22941 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22942 in concatenations. Reported by Yishay Belkind.
22943 (verilog-auto-ascii-enum): Support one-hot state machines in
22944 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22945 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22946 modport in AUTOINST and add vl-modport for users.
22947 Reported by David Rogoff.
22948 (verilog-auto-inout-module, verilog-auto-inst)
22949 (verilog-decls-get-interfaces, verilog-insert-definition)
22950 (verilog-insert-one-definition, verilog-read-decls)
22951 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22952 (verilog-sig-modport, verilog-signals-combine-bus)
22953 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22954 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22955 Suggested by David Rogoff.
22956 (verilog-repair-open-comma): Fix non-insertion of comma when
22957 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22958 (verilog-make-width-expression): Simplify [A-1:0] expression
22959 widths to just {A{1'b0}}.
22960 (verilog-mode): Cleanup checkdoc warnings.
22961 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22962 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22963 inputs/outputs or data type. Suggested by Vasu Kandadi.
22964 (next-error-last-buffer): Fix byte-compiler warning.
22965 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22966 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22967 or shell command text during AUTO expansion. Suggested by Tad Truex.
22968 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22969 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22970 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22971 in AUTOINOUT. Reported by Matthew Lovell.
22972 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22973 causing use of <= assignments. Reported by Alex Reed.
22974 (verilog-read-decls): Fix triand, trior, wand, wor to be
22975 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22976 (verilog-extended-complete-re): Support import "DPI-C" functions.
22977 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22978 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22979 (verilog-insert-date, verilog-insert-year)
22980 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22981 Windows systems. Reported by Michael Potts.
22982 (verilog-read-module-name): Fix AUTOINST when the child module
22983 declaration's name is a tick define. Reported by Elliot Mednick.
22984 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22985 passed to next parameter's definition. Reported by Bruce T.
22986 (verilog-read-decls): Fix detecting "parameter int" when using
22987 AUTOINSTPARAM. Reported by Bruce T.
22988 (verilog-goto-defun): Fix goto not finding modules unless first
22989 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22990 (verilog-mode): Expand -f flag arguments on entry to mode so
22991 verilog-goto-defun will work. Reported by Lawrence Butcher.
22992 (verilog-getopt): Expand environment variables in -f file
22993 arguments. Suggested by Lawrence Butcher.
22994 (verilog-set-define): Fix "Symbol's value as variable is void"
22995 when reading enumerations.
22996 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22997 Suggested by Stephen Peltan.
22998 (verilog-read-defines): Fix reading of enumerations in include
22999 files. Reported by Steve Peltan.
23001 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23003 * files.el (trash-directory): Fix defcustom type.
23005 2009-06-28 Juri Linkov <juri@jurta.org>
23007 * help-fns.el (describe-function-1): Correctly locate adviced
23008 functions in hyperlink (Bug#2438).
23010 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23012 * files.el (trash-directory): Change default to nil.
23013 (move-file-to-trash): If trash-directory is nil and
23014 system-move-file-to-trash is unbound, perform freedesktop-style
23017 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23019 * files.el (move-file-to-trash): Add freedesktop trash
23022 2009-06-28 Glenn Morris <rgm@gnu.org>
23024 * autorevert.el (global-auto-revert-non-file-buffers)
23025 (global-auto-revert-mode): Doc fixes.
23027 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23029 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23031 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23033 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23034 opened an X connection before calling x-get-resource (Bug#3194).
23036 * play/doctor.el: Remove reference to obsolete website.
23037 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23039 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23041 Remove find-file-not-found-hook VC method. (Bug#2757)
23042 * vc-hooks.el (vc-file-not-found-hook)
23043 (vc-default-find-file-not-found-hook): Remove functions.
23044 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23045 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23048 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23050 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23052 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23053 compatibility function for `looking-back'.
23055 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23056 Use `ispell-looking-back'.
23058 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23060 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23061 rather than `filename'.
23063 2009-06-23 Miles Bader <miles@gnu.org>
23065 * face-remap.el (text-scale-set): New function.
23067 2009-06-23 Glenn Morris <rgm@gnu.org>
23069 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23071 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23073 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23075 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23077 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23078 Simplify Persian conditionals.
23080 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23081 variable `filename'.
23083 * comint.el (comint-insert-input): Doc fix.
23085 * Makefile.in (ELCFILES): Fix typo in previous change.
23087 2009-06-23 Miles Bader <miles@gnu.org>
23089 * cus-start.el: Add entry for `recenter-redisplay'.
23091 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23093 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23094 Add an optional argument for the backend, use it instead of
23095 calling vc-backend.
23096 (vc-mode-line): Add an optional argument for the backend.
23097 Pass the backend to vc-state and vc-working-revision. Move code for
23098 special handling for vc-state being a buffer to ...
23100 * vc-rcs.el (vc-rcs-find-file-hook):
23101 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23103 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23104 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23105 vc-stay-local-p and vc-mode-line calls.
23107 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23108 (vc-cvs-diff, vc-cvs-annotate-command)
23109 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23110 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23111 vc-mode-line calls.
23113 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23115 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23116 backend when calling vc-mode-line.
23117 (vc-register): Do not create a closure for calling the vc register
23118 function, call it directly.
23120 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23122 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23123 to make it obvious item can be clicked.
23125 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23127 2009-06-23 Kenichi Handa <handa@m17n.org>
23129 * language/korea-util.el (korean-key-bindings): Change the binding
23130 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23133 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23135 Sync with Tramp 2.1.16.
23137 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23139 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23140 when a loading of a package fails. Completion function for rsync
23141 is `tramp-completion-function-alist-ssh'.
23142 (all): Replace all calls of `split-string' and
23143 `tramp-split-string' by `tramp-compat-split-string'.
23144 (tramp-default-method): Use `tramp-compat-process-running-p'.
23145 (tramp-default-proxies-alist): Allow also Lisp forms.
23146 (tramp-remote-path): Add choice "Private Directories".
23147 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23148 (tramp-domain-regexp): Allow also "-", "_" and ".".
23149 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23150 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23151 (tramp-debug-message): Insert header line in debug buffer.
23152 (tramp-handle-directory-files-and-attributes-with-stat):
23153 Care about filenames with spaces, or starting with "-".
23154 (tramp-handle-dired-uncache): New defun.
23155 (tramp-handle-insert-directory): Don't flush the directory from
23156 cache, this is handled by `dired-uncache' now.
23157 (tramp-handle-insert-file-contents): Improve error handling.
23158 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23159 Quote `tramp-end-of-output'.
23160 (tramp-action-password): Improve trace message.
23161 (tramp-check-for-regexp): Both echoes must be present, before removing.
23162 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23163 (tramp-compute-multi-hops): Eval cons cells of
23164 `tramp-default-proxies-alist'.
23165 (tramp-maybe-open-connection): Use the same command pattern for
23166 first hop and further hops.
23167 (tramp-wait-for-output): Remove handling of newlines.
23168 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23169 (tramp-split-string): Remove function. It is handled in
23172 * net/tramp-cmds.el (tramp-bug):
23173 Recommend `tramp-cleanup-all-connections' in the bug mail.
23175 * net/tramp-compat.el (tramp-compat-split-string)
23176 (tramp-compat-process-running-p): New defuns.
23178 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23179 for `dired-uncache'.
23181 * net/tramp-gvfs.el: New package.
23183 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23184 Add handler for `dired-uncache'.
23185 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23187 * net/trampver.el: Update release number. Make version check fit
23190 2009-06-22 Jim Meyering <meyering@redhat.com>
23192 Automatically handle .xz suffix (XZ-compressed files), too.
23193 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23194 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23196 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23197 Nick Roberts <nickrob@snap.net.nz>
23199 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23200 repository (http://sphinx.net.ru/hg/gdb-mi/).
23202 2009-06-22 Glenn Morris <rgm@gnu.org>
23204 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23205 `mode' and `eval' entries. (Bug#3430)
23207 * Makefile.in (ELCFILES): Add fadr.elc.
23209 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23210 differing behavior of \n and ^ in strings. (Bug#3385)
23212 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23214 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23216 (lisp-indent-function): Make it a defcustom.
23218 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23220 * progmodes/gdb-ui.el: Replace with ...
23221 * progmodes/gdb-mi.el: ... this file.
23222 * progmodes/gud.el: Modify for gdb-mi.el.
23224 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23226 * fadr.el: New file.
23228 See ChangeLog.14 for earlier changes.
23230 ;; Local Variables:
23234 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23236 This file is part of GNU Emacs.
23238 GNU Emacs is free software: you can redistribute it and/or modify
23239 it under the terms of the GNU General Public License as published by
23240 the Free Software Foundation, either version 3 of the License, or
23241 (at your option) any later version.
23243 GNU Emacs is distributed in the hope that it will be useful,
23244 but WITHOUT ANY WARRANTY; without even the implied warranty of
23245 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23246 GNU General Public License for more details.
23248 You should have received a copy of the GNU General Public License
23249 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.