1 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
4 keymap variable in `with-no-warnings' to avoid a warning when the
5 keymap has been already `defconst'ed.
7 2011-03-22 Leo Liu <sdl.web@gmail.com>
9 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10 encode all chars in abbrevs; otherwise use emacs-mule or
11 utf-8-emacs. (Bug#8308)
13 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15 * simple.el (backward-delete-char-untabify):
16 Avoid warning about using `delete-backward-char'.
18 * image.el (image-type-file-name-regexps): Make it variable.
19 `imagemagick-register-types' modifies it, and the user may want
20 to add new extensions for known image types.
21 (imagemagick-register-types): Throw error if not using ImageMagick.
23 2011-03-22 Leo Liu <sdl.web@gmail.com>
25 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26 located before rcirc-prompt-end-marker.
27 (rcirc-complete): Error if point is not after rcirc prompt.
28 Handle the case when table is nil.
29 (rcirc-user-authenticated): Define to fix compiler warning.
31 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
33 * custom.el (custom--inhibit-theme-enable): Make it affect only
34 custom-theme-set-variables and custom-theme-set-faces.
35 (provide-theme): Ignore custom--inhibit-theme-enable.
36 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
37 (custom-enabling-themes): Delete variable.
38 (enable-theme): Accept only loaded themes as arguments. Ignore
39 the special custom-enabled-themes variable.
40 (custom-enabled-themes): Forbid themes from setting this.
41 Eliminate use of custom-enabling-themes.
42 (custom-push-theme): Quote "changed" custom var entry.
44 2011-03-21 Leo Liu <sdl.web@gmail.com>
46 * ido.el (ido-read-internal): Add ido-selected to history instead
49 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
51 * subr.el (deferred-action-list, deferred-action-function):
54 2011-03-21 Leo Liu <sdl.web@gmail.com>
56 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
57 change on 2011-02-13 (bug#8309).
59 * minibuffer.el (read-file-name-function): Change default value.
60 (read-file-name--defaults): Rename from read-file-name-defaults.
61 (read-file-name-default): Rename from read-file-name.
62 (read-file-name): Call read-file-name-function.
64 2011-03-21 Glenn Morris <rgm@gnu.org>
66 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
69 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
71 * cus-theme.el: Add missing provide statement.
72 (customize-create-theme): Extract theme value correctly.
73 (custom-theme-visit-theme): Autoload.
74 (customize-create-theme): Prompt before inserting default faces.
76 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
78 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
79 units and musical notes.
81 2011-03-20 Leo <sdl.web@gmail.com>
83 * ido.el (ido-read-internal): Use completing-read-default.
84 (ido-completing-read): Fix compatibility with completing-read.
86 2011-03-20 Christian Ohler <ohler@gnu.org>
88 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
89 (ert-delete-all-tests): Use `called-interactively-p' rather than
91 (ert--make-xrefs-region): Respect END.
93 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
95 * dired-aux.el (dired-create-directory): Signal an error if the
96 directory already exists (Bug#8246).
98 * facemenu.el (list-colors-display): Call list-faces-display
99 inside with-help-window.
100 (list-colors-print): Use display property to align the final
101 column, instead of checking window-width.
103 2011-03-19 Eli Zaretskii <eliz@gnu.org>
105 * emerge.el (emerge-metachars): Separate value for ms-dos and
107 (emerge-protect-metachars): Quote correctly for ms-dos and
110 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
112 * info.el (info-initialize): Replace all uses of `:' with
113 path-separator for compatibility with non-Unix systems.
114 Cache quoting of path-separator. (Bug#8258)
116 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
118 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
119 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
120 (mouse-avoidance-mode): Fix typos in docstrings.
122 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
124 * startup.el (package-subdirectory-regexp): Move from package.el.
125 Omit \\` and \\', and let callers add them.
127 * emacs-lisp/package.el (package-strip-version)
128 (package-load-all-descriptors): Add \\` and \\' to
129 package-subdirectory-regexp before using it.
130 (package-untar-buffer): New arg DIR; ensure that file untars only
131 into this expected directory. Remove superfluous delete-region.
132 (package-unpack): Caller changed.
133 (package-tar-file-info): Use package-subdirectory-regexp.
135 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
137 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
138 diff-mode-shared-map (bug#8284).
139 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
141 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
143 * calendar/time-date.el (format-seconds): Use assoc instead of
144 assoc-string, since assoc-string doesn't exist in XEmacs.
146 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
148 * custom.el (custom-known-themes): Reflow docstring.
149 (custom-theme-load-path): Fix typo in docstring.
150 (load-theme): Fix typo in error message.
151 (custom-available-themes, custom-variable-theme-value):
152 Use `let', not `let*'.
154 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
156 * calc/README: Mention inclusion of musical notes.
158 * calc/calc-units.el (calc-lu-quant): Rename from
159 `calc-logunits-quantity'.
160 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
161 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
162 (calc-db): Rename from `calc-dblevel'.
163 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
164 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
165 (calc-np): Rename from `calc-nplevel'.
166 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
167 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
168 (calc-lu-plus): Rename from `calc-logunits-add'.
169 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
170 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
171 (calc-lu-minus): Rename from `calc-logunits-sub'.
172 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
173 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
174 (calc-lu-times): Rename from `calc-logunits-mul'.
175 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
176 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
177 (calc-lu-divide): Rename from `calc-logunits-div'.
178 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
179 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
181 * calc/calc-ext.el (calc-init-extensions): Update the names of the
182 functions being autoloaded.
184 * calc/calc.el (calc-lu-power-reference): Rename from
185 `calc-logunits-power-reference'.
186 (calc-lu-field-reference): Rename from
187 `calc-logunits-field-reference'.
189 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
191 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
193 * minibuffer.el (completion-all-sorted-completions):
194 Use :completion-cycle-penalty text property if present.
196 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
198 * allout.el (allout-yank-processing): Adjust for new rebulleting
199 regime so bullet being yanked is used without prompting the user
202 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
204 * startup.el (command-line): Warn the user that _emacs is deprecated.
206 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
208 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
209 (delphi-verbose, delphi-comment-face, delphi-string-face)
210 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
211 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
212 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
213 (delphi-new-comment-line, delphi-font-lock-defaults)
214 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
215 Fix typos in docstrings.
217 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
219 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
220 Invert the roles of character and string values for INSTEAD, so a
221 string is used for the more common case of a defaulting prompt.
223 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
225 * progmodes/ruby-mode.el (ruby-backward-sexp):
226 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
227 * play/gamegrid.el (gamegrid-make-face):
228 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
229 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
230 * notifications.el (notifications-notify):
231 * net/xesam.el (xesam-search-engines):
232 * net/quickurl.el (quickurl-list-insert):
233 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
235 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
237 * startup.el (command-line): Update package subdirectory regexp.
239 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
241 * allout.el (allout-abbreviate-flattened-numbering)
242 (allout-mode-deactivate-hook): Fix up obsolescence "date".
244 * subr.el (read-char-choice): Only show the cursor after the prompt,
245 not after the answer.
247 2011-03-15 Kevin Ryde <user42@zip.com.au>
249 * help-fns.el (variable-at-point): Skip leading quotes, if any
252 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
254 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
257 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
259 * shell.el (shell): When called interactively, offer to change the
260 shell file name on remote hosts.
262 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
264 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
265 integration for LDAP parameters. The host, base, user or binddn,
266 and secret tokens can be specified in a netrc file, for instance.
267 This is optional because an `auth-source' parameter must be
268 specified in the search attributes.
270 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
272 * help.el (describe-mode): Link to the mode's definition (bug#8185).
274 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
276 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
277 into declaration. Remove redundant and harmful binding.
279 2011-03-12 Eli Zaretskii <eliz@gnu.org>
281 * files.el (file-ownership-preserved-p): Pass `integer' as an
282 explicit 2nd argument to `file-attributes'. If the file's owner
283 is the Administrators group on Windows, and the current user is
284 Administrator, consider that a match.
286 * server.el (server-ensure-safe-dir): Consider server directory
287 safe on MS-Windows if its owner is the Administrators group while
288 the current Emacs user is Administrator. Use `=' to compare
289 numerical UIDs, since they could be integers or floats.
291 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
293 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
295 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
297 Sync with Tramp 2.2.1.
299 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
301 * net/trampver.el: Update release number.
303 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
305 * progmodes/compile.el (compilation--previous-directory): Fix up
306 various nil/dead-marker mismatches (bug#8014).
307 (compilation-directory-properties, compilation-error-properties):
308 Don't call it at a position past the one we're about to change.
310 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
311 Disable obsolescence warnings in the file that declares it.
313 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
315 * allout-widgets.el (allout-widgets-tally): Initialize
316 allout-widgets-tally as a hash table rather than nil to prevent
317 mode-line redisplay warnings.
318 Also, clarify the module description and fix a comment typo.
320 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
322 * help-fns.el (describe-variable): Don't complete keywords.
323 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
325 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
327 * emacs-lisp/package.el (package-version-join): Impose a standard
328 string representation for pre/alpha/beta version lists.
329 (package-unpack-single): Standardize the directory name by passing
330 it through package-version-join.
331 (package-strip-rcs-id): Accept any version string that does not
332 signal an error in version-to-list.
334 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
336 * simple.el (delete-trailing-whitespace): Return nil for the
337 benefit of `write-file-functions'.
339 2011-03-10 Glenn Morris <rgm@gnu.org>
341 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
343 * vc/vc-git.el (vc-git-program): New option.
344 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
345 (vc-git--call): Use it.
347 * eshell/esh-util.el (eshell-condition-case): Doc fix.
349 * cus-edit.el (Custom-newline): If no button at point, look
350 for a subgroup button at start-of-line. (Bug#2298)
352 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
354 2011-03-10 Julien Danjou <julien@danjou.info>
356 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
357 `cursor-type' is nil.
359 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
361 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
363 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
365 * allout.el Summary: Change so yank of distinctive-bullet items
366 preserves the existing header prefix, rebulleting it if necessary,
367 rather than replacing it. This is necessary for proper operation
368 of cooperative addons like allout-widgets.
369 (allout-make-topic-prefix, allout-rebullet-heading): Change
370 SOLICIT arg to INSTEAD, and interpret additionally a string value
371 as alternate bullet to be used, instead of prompting the user for
374 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
376 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
377 not use `tramp-file-name-port', because this returns also
378 `tramp-default-port'.
380 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
382 * net/rcirc.el (rcirc-handler-001): Remove useless
383 with-rcirc-process-buffer.
384 (rcirc-check-auth-status): Swap arguments to string-match.
386 2011-03-09 Glenn Morris <rgm@gnu.org>
388 * shell.el (shell-mode):
389 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
391 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
392 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
394 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
396 * emacs-lisp/package.el (package-refresh-contents)
397 (package-menu-execute): Use condition-case-no-debug.
399 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
401 * simple.el (shell-command-to-string): Use `process-file'.
403 * emacs-lisp/package.el (package-tar-file-info): Handle also
406 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
407 `equal' for upload base check.
409 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
411 * textmodes/texinfo.el (texinfo-environments):
412 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
414 2011-03-08 Glenn Morris <rgm@gnu.org>
416 * cus-start.el (cursor-in-non-selected-windows):
417 Fix :set quoting oddness. (Bug#8192)
419 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
420 in some setf expressions. (Bug#2159)
422 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
424 * custom.el (custom-available-themes): Return themes in
427 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
429 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
430 application of patch from Alan Mackenzie (Bug#7595).
432 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
434 * net/rcirc.el (rcirc-connect): Fix PASS bug.
436 2011-03-07 Glenn Morris <rgm@gnu.org>
438 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
439 Give an explicit error if failed to make writable. (Bug#6146)
441 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
443 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
444 Add optional `after-sunset' argument. (Bug#8190)
446 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
448 * play/morse.el (nato-alphabet, nato-region, denato-region):
449 New variable and functions. (Bug#2288)
450 (morse-region, unmorse-region): Barf if read-only.
452 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
454 * progmodes/gud.el (gdb-script-syntax-propertize-function):
455 Don't change the syntax of a \n that closes a comment (bug#8169).
457 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
459 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
461 (package--update-file): Doc fix. Accept relative file names.
462 (package--archive-contents-from-file): Remove the argument, since
463 it's necessarily always "archive-contents".
464 (package-maint-add-news-item): Pass relative file name args to
465 package--update-file.
466 (package-upload-buffer-internal): Prompt for a destination if
467 package-archive-upload-base is invalid. Create the directory if
469 (package-upload-buffer, package-upload-file): Doc fix.
471 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
473 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
474 and move isearch-yank-line to M-s C-e (Bug#8183).
476 2011-03-06 Alan Mackenzie <acm@muc.de>
478 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
479 (c-guess-basic-syntax): Move CASE 19 to a different place,
480 correctly to process template-args-cont lines.
482 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
484 * calc/calc-ext.el (calc-init-extensions):
485 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
486 and calc-nplevel, respectively. Add keybindings for calc-spn,
487 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
488 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
490 * calc/calc-units.el (calc-dblevel): Rename from
491 calc-logunits-dblevel.
492 (calc-nplevel): Rename from calc-logunits-nplevel.
493 (math-midi-round, math-freqp, math-midip, math-spnp)
494 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
495 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
496 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
497 (math-notes): New variable.
499 * calc/calc.el (calc-note-threshold): New variable.
501 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
503 * emacs-lisp/package.el (package-archives): Accept either ordinary
504 directory names, in addition to HTTP URLs.
505 (package--with-work-buffer): New macro. Handle normal directories.
506 (package-handle-response): Don't display the failing buffer.
507 (package-download-single, package-download-tar)
508 (package--download-one-archive): Use package--with-work-buffer.
509 (package-archive-base): Rename from package-archive-url.
511 2011-03-06 Glenn Morris <rgm@gnu.org>
513 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
514 (xmodmap-generic-mode): Respect generic-extras-enable-list.
516 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
518 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
520 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
522 * allout.el (allout-init, allout-prefixed-keybindings)
523 (allout-unprefixed-keybindings):
524 * progmodes/prolog.el (prolog-find-term):
525 Fix typos in docstrings.
527 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
529 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
531 2011-03-06 Kevin Ryde <user42@zip.com.au>
533 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
535 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
537 * window.el (one-window-p, walk-windows, display-buffer):
538 Doc fixes. (Bug#5567)
540 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
542 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
543 of the variable if it exists.
545 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
552 * net/tramp-cache.el:
553 * obsolete/fast-lock.el:
554 * textmodes/reftex.el:
555 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
557 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
559 * files.el (delete-directory, copy-directory, list-directory):
560 Use read-directory-name.
562 * find-file.el (ff-find-the-other-file):
563 * net/ange-ftp.el (ange-ftp-make-directory):
564 * printing.el (pr-interactive-dir):
565 * progmodes/ada-prj.el (ada-prj-load-directory):
566 * progmodes/ebnf2ps.el (ebnf-print-directory)
567 (ebnf-spool-directory, ebnf-eps-directory)
568 (ebnf-syntax-directory):
570 * speedbar.el (speedbar-create-directory):
571 * vc/emerge.el (emerge-merge-directories):
572 * vc/vc-dir.el (vc-dir):
573 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
575 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
577 * help-mode.el (help-buffer): If we are to return the current
578 buffer, signal an error if it's not in Help mode (Bug#8147).
580 2011-03-05 Reuben Thomas <rrt@sc3d.org>
582 * files.el (file-name-version-regexp): Handle backup files of the
583 form `foo.js.~HEAD~1~' (Bug#8159).
585 2011-03-05 Glenn Morris <rgm@gnu.org>
587 * eshell/esh-var.el: Don't require esh-test when compiling.
588 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
589 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
590 * eshell/esh-test.el: Move to ../../test/eshell.el.
592 2011-03-05 David Engster <deng@randomsample.de>
594 * files.el (save-some-buffers): Report the names of buffers saved
595 automatically due to buffer-save-without-query (Bug#8134).
597 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
599 * net/rcirc.el: Add QuakeNet authentication support.
600 (rcirc-authinfo, rcirc-check-auth-status)
601 (rcirc-authenticate): Support QuakeNet.
603 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
605 * net/rcirc.el: Add functionality to authenticate before
606 autojoining channels.
607 (rcirc-authenticate-before-join): New option.
608 (rcirc-authenticated-hook): New variable.
609 (rcirc-connect): Make local variable rcirc-user-authenticated.
610 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
611 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
613 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
614 Call rcirc-check-auth-status.
616 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
618 * net/soap-client.el (soap-namespace-put-link): Check if the target
619 name is fully qualified -- use only the name part.
620 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
621 types, treated the same as xsd:sequence. (Bug#8166)
623 2011-03-05 Eli Zaretskii <eliz@gnu.org>
625 * files.el (find-file-noselect): Don't ask about re-visiting
626 non-literally if the file is already visited in image-mode.
629 2011-03-05 Glenn Morris <rgm@gnu.org>
631 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
632 (eshell-mode): Use eshell-kill-buffer-function.
633 Run the -initialize functions independently of the -load-hooks.
634 * eshell/esh-proc.el (eshell-kill-process-function): New function.
635 (eshell-gather-process-output, eshell-sentinel)
636 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
637 Use eshell-kill-process-function.
638 * eshell/em-alias.el (eshell-alias-load-hook):
639 * eshell/em-banner.el (eshell-banner-load-hook):
640 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
641 * eshell/em-dirs.el (eshell-dirs-load-hook):
642 * eshell/em-glob.el (eshell-glob-load-hook):
643 * eshell/em-hist.el (eshell-hist-load-hook):
644 * eshell/em-pred.el (eshell-pred-load-hook):
645 * eshell/em-prompt.el (eshell-prompt-load-hook):
646 * eshell/em-rebind.el (eshell-rebind-load-hook):
647 * eshell/em-script.el (eshell-script-load-hook):
648 * eshell/em-smart.el (eshell-smart-load-hook):
649 * eshell/em-term.el (eshell-term-load-hook):
650 * eshell/em-unix.el (eshell-unix-load-hook):
651 * eshell/esh-arg.el (eshell-arg-load-hook):
652 * eshell/esh-cmd.el (eshell-cmd-load-hook):
653 * eshell/esh-ext.el (eshell-ext-load-hook):
654 * eshell/esh-io.el (eshell-io-load-hook):
655 * eshell/esh-mode.el (eshell-exit-hook):
656 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
657 * eshell/esh-var.el (eshell-var-load-hook):
658 Set default hook values to nil. (Bug#5375)
660 * eshell/esh-module.el (eshell-module-unload-hook)
661 (eshell-modules-list): Remove leading * from defcustom docs.
663 * eshell/esh-util.el (eshell-for): Make it obsolete.
664 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
665 * eshell/em-dirs.el (eshell-save-some-last-dir):
666 * eshell/em-hist.el (eshell-save-some-history)
667 (eshell-hist-parse-modifier):
668 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
670 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
671 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
673 * eshell/esh-ext.el (eshell-find-interpreter):
674 * eshell/esh-mode.el (eshell-mode):
675 * eshell/esh-module.el (eshell-unload-extension-modules):
676 * eshell/esh-proc.el (eshell-process-interact):
677 * eshell/esh-test.el (eshell-test):
678 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
679 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
680 (eshell-variables-list):
681 * eshell/eshell.el (eshell-unload-all-modules):
682 Replace eshell-for with dolist.
684 2011-03-04 Glenn Morris <rgm@gnu.org>
686 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
688 2011-03-04 Tom Tromey <tromey@redhat.com>
690 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
692 2011-03-04 Glenn Morris <rgm@gnu.org>
694 * outline.el (outline-regexp): No longer allow nil.
695 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
697 * net/browse-url.el (browse-url):
698 Handle deleted default-directory. (Bug#6077)
700 * recentf.el (recentf-include-p): In case of a buggy predicate,
701 err on the side of including, not excluding. (Bug#5843)
703 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
705 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
708 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
710 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
711 if there is no node. (Bug#3261)
713 2011-03-04 Leo <sdl.web@gmail.com>
715 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
717 * time.el (display-time-world-list): Fix typo. (Bug#7571)
719 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
721 * cus-edit.el (custom-buffer-create-internal):
722 Split search string before passing it to `customize-apropos' (bug#8136).
724 2011-03-04 Drew Adams <drew.adams@oracle.com>
726 * image-dired.el (image-dired-cmd-read-exif-data-options):
727 Fix typo in docstring (bug#8156).
729 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
731 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
733 2011-03-03 Christian Ohler <ohler@gnu.org>
735 * emacs-lisp/ert.el (ert--explain-equal): New function.
736 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
738 (ert--explain-equal-including-properties): Renamed from
739 `ert--explain-not-equal-including-properties'. All callers
742 2011-03-03 Christian Ohler <ohler@gnu.org>
744 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
745 (ert-char-for-test-result, ert-string-for-test-result)
746 (ert-run-tests-batch, ert--print-test-for-ewoc):
747 Handle `ert-test-quit'.
749 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
751 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
752 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
754 2011-03-03 Glenn Morris <rgm@gnu.org>
756 * files.el (file-truename): Doc fix. (Bug#2341)
758 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
760 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
762 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
764 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
765 programs output backslashes. (Bug#7663)
767 2011-03-03 Glenn Morris <rgm@gnu.org>
769 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
770 (mail-mode): Remove mail-sent-via from the doc.
771 (mail-sent-via): Make it obsolete. (Bug#1776)
773 * progmodes/grep.el (grep-highlight-matches): Doc fix.
774 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
776 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
777 with no parents. (Bug#8025)
779 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
781 * password-cache.el (password-in-cache-p): Add autoload.
783 2011-03-02 Glenn Morris <rgm@gnu.org>
785 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
786 * dired-x.el (Man-support-local-filenames): Autoload it.
787 (dired-guess-shell-alist-default): Also handle Red Hat's man.
789 * dired-x.el (dired-default-directory-alist, dired-default-directory):
791 (dired-smart-shell-command): Just call dired-current-directory.
793 * dired-x.el (dired-jump-other-window): Add autoload.
794 (dired-default-directory-alist, dired-default-directory): Doc fixes.
795 (dired-default-directory-alist): Mark as risky.
797 * dired-x.el (dired-omit-here-always): Make it obsolete.
799 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
801 * textmodes/artist.el (artist-curr-go): Default to pen-line.
802 (artist-select-op-pen-line): New function.
803 (artist-menu-map): New variable.
804 (artist-mode-map): Add a menu to the menu-bar.
806 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
808 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
811 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
813 (math-logunits-add, math-logunits-mul, math-logunits-divide):
814 (math-logunits-quant, math-logunits-level):
815 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
817 (math-logunits-level): Extract units from ratio.
819 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
821 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
823 2011-03-01 Glenn Morris <rgm@gnu.org>
825 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
826 (diary-hebrew-birthday): Rename and rework functions added
829 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
831 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
832 (diary-hebrew-birthday): New functions.
834 2011-03-01 Glenn Morris <rgm@gnu.org>
836 * dired.el (dired-safe-switches-p): Beef it up.
837 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
839 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
841 * dired.el (dired-safe-switches-p): New function.
843 2011-03-01 Glenn Morris <rgm@gnu.org>
845 * files.el (dir-locals-collect-variables):
846 Add the ability to exclude subdirectories. (Bug#8100)
848 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
850 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
852 * ido.el (ido-everywhere): Doc fix.
855 2011-02-28 Glenn Morris <rgm@gnu.org>
857 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
859 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
861 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
864 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
866 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
868 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
870 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
871 Fix typos in docstrings.
873 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
875 * dired-aux.el (dired-update-file-line):
876 Fix 2010-11-09 change. (Bug#8131)
878 2011-02-28 Eli Zaretskii <eliz@gnu.org>
880 * international/mule-cmds.el (set-default-coding-systems): Use the
881 -unix variant of encoding in default-keyboard-coding-system.
884 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
886 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
888 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
890 * term/screen.el: New file (Bug#2650).
892 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
894 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
895 (pcase-mutually-exclusive-predicates): New var.
896 (pcase--split-consp, pcase--split-pred): Use it.
897 (pcase--split-equal, pcase--split-member): When splitting against
898 a pure predicate, run it to know the outcome.
899 (pcase--u1): Mark vars that are actually used.
900 (pcase--q1): Avoid introducing unused vars.
902 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
904 * calc/calc-ext.el (calc-init-extensions):
905 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
907 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
910 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
911 argument is a variable.
913 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
915 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
916 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
917 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
919 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
921 * password-cache.el (password-in-cache-p): Convenience function to
922 check if a key is in the cache, even if the value is nil.
924 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
926 * emacs-lisp/package-x.el (package--archive-contents-from-url)
927 (package--archive-contents-from-file): New functions.
928 (package-update-news-on-upload): New var.
929 (package-upload-buffer-internal): Extract archive-contents from
930 package-archive-upload-base if it is not found at archive-url.
931 Obey package-update-news-on-upload.
932 (package-upload-buffer, package-upload-file): Doc fix.
934 2011-02-24 Glenn Morris <rgm@gnu.org>
936 * files-x.el (modify-dir-local-variable): Handle dir-locals from
937 the cache, and from non-file sources.
939 * help-fns.el (describe-variable): Return consistent results when a
940 dir-local from a file came from the cache or did not. (Bug#8095)
941 If a dir-local has no associated file, say it came from a "directory".
943 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
944 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
946 * files.el (dir-locals-find-file): Doc fix.
947 Fix the check for cache elements that have no associated file,
948 and the mtime check for those that do. (Bug#8095)
950 * dired-x.el (dired-hack-local-variables):
951 Handle interrupts during hacking local variables. (Bug#5216)
953 * emacs-lisp/autoload.el (autoload-save-buffers)
954 (autoload-find-destination, update-directory-autoloads):
955 Avoid prompts when updating autoloads.
957 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
959 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
961 2011-02-23 Kenichi Handa <handa@m17n.org>
963 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
964 error when a multipart boundary in the nested multipart is found.
966 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
969 2011-02-23 Glenn Morris <rgm@gnu.org>
971 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
972 * dired-x.el (dired-omit-mode): Safe if boolean.
973 (dired-enable-local-variables): Fix doc and custom type.
974 (dired-enable-local-variables, dired-local-variables-file)
975 (dired-hack-local-variables): Make obsolete.
976 (dired-omit-here-always): Use dir-locals.el instead.
978 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
980 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
982 * help-fns.el (describe-function-1): Don't signal an error just because
983 the DOC file disappeared.
985 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
987 * eshell/esh-ext.el (eshell-external-command): Do not restrict
988 remote check to "ftp". (Bug#8089)
990 2011-02-21 Alan Mackenzie <acm@muc.de>
993 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
994 in macros finding their way into c-state-nonlit-pos-cache.
995 Strengthen the comments.
996 (c-state-dump): New commented out diagnostic routine.
998 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1000 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1001 `field' property of `rfn-eshadow-overlay'.
1003 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1005 * net/netrc.el (netrc-parse): Comment fix.
1007 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1009 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1010 Autoload. Add optional arg FRAME, and pass it to color-values.
1011 (color-complement): Caller changed. Doc fix.
1012 (color-gradient): Rewrite for better clarity and efficiency.
1014 * faces.el (color-values): Use cond for clarity. Doc fix.
1016 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1018 (list-colors-sort-key, list-colors-print):
1019 Use color-normalized-values.
1021 2011-02-20 Drew Adams <drew.adams@oracle.com>
1023 * color.el: First part of merge from hexrgb.el.
1024 (color-rgb-to-hex): Rename from color-rgb->hex.
1025 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1026 saturation to zero if the value is too small.
1027 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1028 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1029 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1030 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1031 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1032 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1033 (color-cie-de2000): Doc fix.
1035 2011-02-20 Alan Mackenzie <acm@muc.de>
1037 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1038 locating the beginning of a macro. (Bug#7595)
1040 2011-02-20 Glenn Morris <rgm@gnu.org>
1042 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1045 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1046 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1048 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1049 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1051 * progmodes/hideshow.el (hs-find-block-beginning)
1052 (hs-hide-level-recursive): Ignore comments when parsing braces
1055 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1057 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1058 (vc-bzr-pull): Use it.
1060 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1062 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1063 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1064 but returning an alist. Ignore comments in bzr conffile.
1065 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1066 (vc-bzr-error-regex-alist): New var.
1067 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1069 * vc/vc-dispatcher.el (vc-do-async-command):
1070 Bind inhibit-read-only to t.
1072 * progmodes/compile.el (compilation--flush-directory-cache):
1073 Handle the case where cdr of compilation--flush-directory-cache
1074 points to no buffer, which can occur if we previously switched to
1075 compilation-mode in a pregenerated buffer.
1077 2011-02-19 Kenichi Handa <handa@m17n.org>
1079 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1080 get the header copy into the temporary buffer.
1081 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1082 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1083 buffer-file-coding-system to undecided.
1085 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1087 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1088 Document completion with asterisk and a substring.
1090 2011-02-19 Glenn Morris <rgm@gnu.org>
1092 * files.el (find-file-literally): Doc fix.
1094 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1096 * log-edit.el (log-edit-insert-changelog):
1097 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1099 2011-02-19 Glenn Morris <rgm@gnu.org>
1101 * dired-x.el: Don't require dired-aux.
1102 (dired-do-create-files, dired-mark-read-regexp)
1103 (dired-do-create-files-regexp): Autoload from dired-aux.
1105 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1106 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1108 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1109 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1111 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1112 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1113 (dired-clean-up-buffers-too): Declare.
1115 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1116 * dired.el (dired-initial-position): Merge dired-x's version here.
1117 (dired-find-subdir): Declare.
1119 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1120 * dired-aux.el (dired-add-entry): Give it a doc-string.
1121 Merge dired-x's dired-omit handling here.
1122 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1124 * international/mule-diag.el (list-input-methods-1):
1125 Indent all lines of multi-line doc-strings. (Bug#8066)
1127 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1129 Fix 2011-02-02 changes.
1131 * apropos.el (apropos-print): Call apropos-mode before setting up
1132 buffer variables. Use inhibit-read-only.
1134 * emacs-lisp/package.el (package--list-packages):
1135 Call package-menu-mode before setting up buffer variables.
1137 * play/solitaire.el (solitaire): Call solitaire-mode before
1138 setting up buffer variables. Use inhibit-read-only.
1140 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1142 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1143 Bind case-fold-search to nil when looking for end of here-doc.
1145 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1147 * image-mode.el (image-toggle-display-image):
1148 Set find-file-literally non-nil in buffers visiting binary image
1151 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1153 * files.el (cd): Make completion obey cd-path (bug#7924).
1155 2011-02-18 Glenn Morris <rgm@gnu.org>
1157 * progmodes/prolog.el: Don't require compile when compiling.
1158 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1159 (compilation-forget-errors, compilation-fake-loc)
1160 (compilation-parse-errors-function, compilation-error-list): Declare.
1161 (prolog-inferior-mode): Require 'compile.
1163 * emulation/cua-base.el (pc-selection-mode): Declare.
1165 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1166 (customize-object): Add autoload cookie.
1167 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1168 (eieio-browse, describe-class, eieio-describe-class)
1169 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1170 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1171 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1172 * Makefile.in (autoloads): Make eieio.el writable.
1174 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1175 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1176 (dired-hack-local-variables): Use inhibit-read-only.
1177 (dired-guess-default): Simplify.
1178 (dired-make-relative-symlink): Use dotimes.
1179 (dired-simultaneous-find-file): Use dolist.
1180 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1181 (dired-x-hands-off-my-keys): Doc fix.
1182 (dired-x-bind-find-file): Doc fix. Use remapping.
1183 (after-init-hook): No need to add dired-x-bind-find-file.
1184 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1185 No need to call expand-file-name.
1186 (dired-filename-at-point): Remove unused locals `end', `filename'.
1188 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1192 2011-02-18 Christian Ohler <ohler@gnu.org>
1194 * emacs-lisp/ert.el (ert--setup-results-buffer)
1195 (ert-results-pop-to-backtrace-for-test-at-point)
1196 (ert-results-pop-to-messages-for-test-at-point)
1197 (ert-results-pop-to-should-forms-for-test-at-point)
1198 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1199 were incorrect and unnecessary. This should make `make check'
1202 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1204 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1205 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1206 * lisp/allout.el: Remove commentary about remove encryption
1207 passphrase mnemonic support and verification.
1208 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1209 armored text using gpg1, and indicate that the gpg version *might*
1210 be the problem in the error message.
1212 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1214 * net/rcirc.el (rcirc-float-time): New function.
1215 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1216 (rcirc-ctcp-sender-PING): Use it.
1218 2011-02-17 Glenn Morris <rgm@gnu.org>
1220 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1221 (speedbar-update-flag, speedbar-fetch-etags-command)
1222 (speedbar-fetch-etags-arguments):
1223 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1224 (term-completion-autolist, term-completion-addsuffix)
1225 (term-completion-recexact, term-completion-fignore):
1226 * term/sup-mouse.el (sup-mouse-fast-select-window):
1227 * term/x-win.el (x-select-request-type):
1228 Convert some defvars with "*" to defcustoms.
1230 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1232 * vc/vc.el (vc-default-previous-version):
1233 Remove alias that points nowhere. (Bug#4496)
1235 * dired-x.el (dired-clean-up-after-deletion):
1236 kill-buffer does not need save-excursion.
1237 (dired-do-run-mail): Doc fix.
1238 (dired-filename-at-point): Doc fix.
1239 Use looking-at, and skip-chars rather than re search.
1241 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1243 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1245 * allout-widgets.el: New allout extension that shows allout
1246 outline structure with graphical widgets. 'allout-widgets'
1247 customize group is an 'allout' subgroup, for easy discovery.
1249 * allout.el: Include PGP and GnuPG in Keywords, and other
1250 commentary refinements.
1251 (allout-abbreviate-flattened-numbering): Rename to
1252 allout-flattened-numbering-abbreviation, and
1253 define-obsolete-variable-alias the old name.
1254 (allout-flattened-numbering-abbreviation): Rename from
1255 allout-abbreviate-flattened-numbering.
1256 (allout-mode-p): Include among autoloads, for use by other modes
1258 (allout-listify-exposed):
1259 Use allout-flattened-numbering-abbreviation.
1260 (allout-encrypt-string): Use set-buffer-multibyte directly.
1261 (allout-set-buffer-multibyte): Remove.
1263 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1265 * simple.el (just-one-space): Remove useless `or' call.
1267 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1269 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1270 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1271 (soap-decoded-multi-refs, soap-current-wsdl)
1272 (soap-encoded-namespaces): Rename CL-style *...* variables.
1274 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1276 * net/soap-client.el: Add "comm" and "hypermedia" to the
1277 keywords. Reflow too long lines.
1279 * net/soap-inspect.el: Ditto. Require 'cl.
1281 2011-02-16 Bastien Guerry <bzg@altern.org>
1283 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1284 in a `doctor-type' argument.
1286 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1288 * net/soap-client.el:
1289 * net/soap-inspect.el: New files.
1291 2011-02-16 Leo <sdl.web@gmail.com>
1293 * dired-x.el (dired-mode-map, dired-extra-startup):
1294 Remove dired-copy-filename-as-kill since it's already in dired.el.
1296 2011-02-16 Glenn Morris <rgm@gnu.org>
1298 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1299 Doc fixes. Add :set property, replacing top-level calls.
1300 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1301 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1302 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1303 (dired-clean-up-after-deletion): Use when and dolist.
1304 (dired-jump): Use unless and when.
1305 (dired-virtual): Use line-end-position.
1306 (dired-default-directory-alist): Rename from default-directory-alist.
1307 (dired-default-directory): Update for above name change.
1308 (dired-vm): Drop VM < 5 and simplify.
1309 (dired-buffer-more-recently-used-p): Rewrite.
1310 (dired-filename-at-point): Use when and or.
1311 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1314 2011-02-15 Glenn Morris <rgm@gnu.org>
1316 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1318 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1320 * vc/vc-git.el (vc-git-root-log-format): New option for
1321 customizing log format.
1322 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1323 (vc-git-log-view-mode): Use it.
1324 (vc-git-expanded-log-entry): New function.
1325 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1327 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1328 customizing log format.
1329 (vc-hg-print-log): Use it.
1330 (vc-hg-expanded-log-entry): New function.
1331 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1332 vc-hg-expanded-log-entry. Truncate lines in root log.
1334 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1336 * vc/log-view.el (log-view-mode-menu):
1337 Add log-view-toggle-entry-display.
1339 2011-02-14 Glenn Morris <rgm@gnu.org>
1341 * dired-x.el: Don't require man when compiling.
1342 (dired-omit-extensions, dired-local-variables-file)
1343 (dired-x-hands-off-my-keys): Make them defcustoms.
1344 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1345 (vm-visit-folder): Declare rather than defining.
1346 (dired-x-help-address, dired-x-variable-list): Remove.
1347 (dired-x-submit-report): Make it an obsolete alias.
1349 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1351 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1353 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1355 * net/imap.el: Bring it back.
1357 2011-02-13 Alan Mackenzie <acm@muc.de>
1359 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1360 narrow-to-region call that cuts context off the end (Bug#7722).
1362 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1363 Refactor nested if-forms with a simple cond.
1364 (c-forward-<>-arglist): Revert 2011-01-31 change.
1366 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1368 * vc/log-view.el: New command log-view-toggle-entry-display for
1369 toggling log entries between concise and detailed forms.
1370 (log-view-toggle-entry-display): New command.
1371 (log-view-mode-map): Bind RET to it.
1372 (log-view-expanded-log-entry-function): New variable.
1373 (log-view-current-entry, log-view-inside-comment-p)
1374 (log-view-current-tag): New functions.
1375 (log-view-toggle-mark-entry): Use log-view-current-entry and
1376 log-view-end-of-defun instead of searching directly with
1377 log-view-message-re.
1378 (log-view-end-of-defun): Likewise. Add optional ARG for
1379 compatibility with end-of-defun.
1380 (log-view-end-of-defun): Ignore comments and VC buttons.
1382 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1383 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1385 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1387 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1389 * net/imap-hash.el: Remove file.
1391 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1393 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1395 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1398 * net/tramp-imap.el: Remove file.
1400 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1402 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1403 widget library for buttons, just use button.el.
1405 * vc/log-view.el (log-view-mode-map): Don't inherit from
1408 2011-02-12 Glenn Morris <rgm@gnu.org>
1410 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1411 (nintersection, set-difference, nset-difference)
1412 (set-exclusive-or, nset-exclusive-or): Doc fix.
1414 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1416 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1417 :italic props, so that frame-set-background-mode works. (Bug#7966)
1419 * simple.el (next-error): Doc fix.
1421 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1423 * dired-aux.el (dired-create-files): Adapt destination name to
1424 match the new behavior of copy-directory.
1426 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1428 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1429 from rmail-dont-reply-to-names. Callers changed.
1430 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1431 (rmail-dont-reply-to): Make it an obsolete alias.
1433 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1434 nil, and make obsolete (Bug#7888).
1435 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1437 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1439 * mail/rmailsort.el (rmail-sort-by-correspondent)
1440 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1442 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1444 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1446 * files.el (copy-directory): New argument COPY-CONTENTS for
1447 copying directory contents into another existing directory.
1449 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1451 * minibuffer.el (completion-table-case-fold): New function for
1452 creating a case-insensitive completion table.
1454 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1456 * net/tramp.el (tramp-default-method): Also check if
1457 `auth-source-search' is bound.
1458 (tramp-read-passwd): Use `auth-source-search' instead of
1459 `auto-source-user-or-password'.
1461 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1462 `auto-source-user-or-password.
1463 (tramp-imap-passphrase-callback-function): Use it.
1465 * net/imap-hash.el: Autoload `auto-source-search' instead of
1466 `auto-source-user-or-password.
1467 (imap-hash-open-connection): Use it.
1469 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1470 `auto-source-user-or-password.
1471 (smtpmail-try-auth-methods): Use it.
1473 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1475 * emacs-lisp/package.el: Allow packages to be reinstalled.
1476 (package--write-file-no-coding): Remove EXCL arg.
1477 (package-unpack-single): Don't use it.
1479 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1481 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1482 in each sub directory.
1483 (vc-svn-registered): Use vc-svn-root.
1484 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1485 (vc-svn-repository-hostname): Use "svn info".
1487 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1489 * simple.el (delete-trailing-whitespace): New optional buffer
1492 2011-02-11 Bastien Guerry <bzg@altern.org>
1494 * files.el (basic-save-buffer): save unmodified buffers when
1495 the file pointed by buffer-file-name doesn't exist.
1497 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1499 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1501 2011-02-11 Glenn Morris <rgm@gnu.org>
1503 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1505 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1507 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1509 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1511 * server.el (server-process-filter): Use pcase.
1513 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1515 (smie-indent--parent): Extend to "parent of arg".
1516 (smie-indent-inside-string): New function.
1517 (smie-indent-functions): Use it.
1519 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1520 bzr locking race condition.
1522 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1523 still valid before using it.
1525 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1526 `message' -> `compilation-message' rename (bug#8004).
1528 Move keymap initialization into declaration.
1529 * textmodes/enriched.el (enriched-mode-map):
1530 * textmodes/bib-mode.el (bib-mode-map):
1531 * term/lk201.el (lk201-function-map):
1532 * tar-mode.el (tar-mode-map):
1533 * replace.el (occur-mode-map):
1534 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1535 * progmodes/idlw-help.el (idlwave-help-mode-map):
1536 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1537 * play/solitaire.el (solitaire-mode-map):
1538 * play/snake.el (snake-mode-map, snake-null-map):
1539 * play/pong.el (pong-mode-map):
1540 * play/handwrite.el (menu-bar-handwrite-map):
1541 * play/gametree.el (gametree-mode-map):
1542 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1543 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1544 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1545 (newsticker--url-keymap):
1546 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1547 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1548 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1549 (menu-bar-edit-menu, menu-bar-custom-menu)
1550 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1551 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1552 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1553 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1554 (menu-bar-tools-menu, menu-bar-describe-menu)
1555 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1556 (menu-bar-help-menu):
1557 * mail/rmailsum.el (rmail-summary-mode-map):
1558 * kmacro.el (kmacro-step-edit-map):
1559 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1560 (ibuffer-mode-operate-map):
1561 * hi-lock.el (hi-lock-menu, hi-lock-map):
1562 * emulation/vip.el (vip-mode-map):
1563 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1564 * bookmark.el (bookmark-bmenu-mode-map):
1565 * help-mode.el (help-mode-map): Move initialization into declaration.
1567 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1569 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1570 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1571 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1572 (rcirc-cmd-me, rcirc-authenticate): Use them.
1574 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1576 * allout.el: Synopsis: Change allout user configuration so
1577 auto-activation is controlled solely by customization
1578 `allout-auto-activation'.
1580 (allout-auto-activation-helper, allout-setup): New autoloads
1581 implement new custom set procedure for allout-auto-activation.
1582 Also, explicitly invoke (allout-setup) after allout-auto-activation
1583 is custom-defined, to affect the settings in emacs sessions besides
1584 the few where allout-auto-activation customization is done.
1585 (allout-auto-activation): Use allout-auto-activation-helper to
1586 :set. Revise the docstring.
1587 (allout-init): Reduce functionality to just customizing
1588 allout-auto-activation, and mark obsolete.
1589 (allout-mode): Respect string values for allout-auto-activation.
1590 Run allout-after-copy-or-kill-hook without any args.
1591 (allout-mode, allout-layout, allout-default-layout)
1592 (outlineify-sticky): Adjust docstring for new scheme.
1593 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1594 should concentrate on the kill ring.
1596 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1598 * password-cache.el (password-cache-remove): Accept secrets that are
1601 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1604 of here-doc that immediately follows a comment.
1606 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1608 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1610 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1612 (rcirc-ctcp-sender-PING): New function.
1614 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1617 Remove the mark/nomark handling, and activate shift-select-mode instead.
1619 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1621 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1623 * calc/calc-units.el (math-logunits-quant): Add support for
1624 non-logarithmic units.
1626 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1628 * allout.el (allout-after-copy-or-kill-hook): New hook for
1629 extension-specific processing of killed text.
1630 (allout-mode): Include new allout-after-copy-or-kill-hook among
1632 (allout-kill-line, allout-kill-topic): Ensure that processing
1633 after kill happens even if barf-if-buffer-read-only is raised.
1634 Include new allout-after-copy-or-kill-hook among that subsequent
1636 (allout-deannotate-hidden): Actually remove the annotation text
1639 * allout.el (allout-listify-exposed): Copy text sans text properties.
1641 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1643 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1645 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1647 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1649 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1651 * calc/calc.el (calc-logunits-field-reference): Rename from
1652 `calc-default-field-reference-level'.
1653 (calc-logunits-power-reference): Rename from
1654 `calc-default-power-reference-level'.
1656 * calc/calc-units.el (math-logunits-quant): Rename from
1657 `math-logunits-level'
1658 (math-logunits-plus): Rename from math-logcombine.
1659 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1660 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1661 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1663 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1664 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1665 (calc-logunits-quantity): Rename from `calc-level'.
1666 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1667 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1668 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1669 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1670 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1673 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1674 (calc-ul-prefix-help): Remove.
1675 (calc-l-prefix-help): New function.
1676 (calc-full-help): Add reference to `calc-l-prefix-help'.
1678 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1680 * calc/README: Mention logarithmic units.
1682 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1684 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1685 non-ASCII characters (Bug#7925).
1687 2011-02-05 Glenn Morris <rgm@gnu.org>
1689 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1691 * calendar/diary-lib.el (diary-font-lock-keywords):
1692 Tweak diary-time-regexp match. (Bug#7891)
1694 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1695 (f90-mode): Use it for mode's `find-tag-default-function' property.
1697 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1699 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1701 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1703 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1706 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1708 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1709 font-lock-syntax-table remappings.
1710 (sh-here-doc-markers, sh-here-doc-re): Remove.
1711 (sh-font-lock-close-heredoc): Remove.
1712 (sh-syntax-propertize-here-doc): New function.
1713 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1714 instead of the sh-here-doc-re.
1715 (sh-font-lock-paren): Don't do anything in comments or strings.
1716 Handle line continuations. Accept a few more chars.
1717 Don't rely on the font-lock-syntax-table remappings.
1718 `esac' is not a valid pattern.
1719 (sh-syntax-propertize-function): Handle here-docs differently, so we
1720 don't bother syntax-propertizing the insides.
1722 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1723 Handle new bashisms ";&" and ";;&" (bug#7947).
1725 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1727 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1728 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1730 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1732 * net/tramp.el (tramp-postfix-method-format)
1733 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1734 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1735 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1736 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1737 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1740 2011-02-04 Sam Steingold <sds@gnu.org>
1742 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1744 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1746 * international/mule-util.el (with-coding-priority): Doc fix.
1748 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1750 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1752 2011-02-03 Sam Steingold <sds@gnu.org>
1754 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1755 Do not error out when `func' is nil.
1757 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1759 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1760 `tramp-default-remote-path' to the docstring.
1761 (tramp-get-remote-path): Suppress error message when `getconf
1764 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1766 2011-02-03 Glenn Morris <rgm@gnu.org>
1768 * vc/vc-hg.el (vc-hg-command): Doc fix.
1770 * term/w32-win.el (libpng-version): Declare for compiler.
1772 * msb.el: No need to load dired while compiling.
1774 * emacs-lisp/elint.el (elint-standard-variables):
1775 Remove a couple of built-ins that now have doc-strings.
1777 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1778 `require' is automatically `eval-and-compile'd.
1780 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1781 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1783 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1784 Move definition before use.
1785 (strokes-report-bug): Make it obsolete.
1787 2011-02-02 Sam Steingold <sds@gnu.org>
1789 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1790 from `special-mode', entering it makes the buffer read-only, so
1791 call it only when everything has been already inserted.
1792 * emacs-lisp/ert.el (ert--setup-results-buffer)
1793 (ert-results-pop-to-backtrace-for-test-at-point)
1794 (ert-results-pop-to-messages-for-test-at-point)
1795 (ert-results-pop-to-timings): Ditto.
1796 * emacs-lisp/package.el (package--list-packages): Ditto.
1797 * play/solitaire.el (solitaire): Ditto.
1799 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1801 * progmodes/compile.el: Make all faces inherit.
1802 (compilation-warning): Inherit from font-lock-variable-name-face.
1803 (compilation-info): Inherit from font-lock-type-face.
1804 (compilation-line-number): Reassign to font-lock-keyword-face.
1805 (compilation-column-number): Reassign to font-lock-doc-face.
1806 (compilation-leave-directory-face): Reassign to
1807 font-lock-builtin-face.
1809 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1811 * dired.el (dired-insert-directory): Don't invoke `ls' when
1812 ls-lisp.el is used to emulate it.
1814 2011-02-01 Julien Danjou <julien@danjou.info>
1816 * color.el (color-gradient): Add a color-gradient function.
1818 2011-02-01 Sam Steingold <sds@gnu.org>
1820 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1821 bind "z" to `kill-this-buffer'.
1822 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1823 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1824 (apropos-mode): Inherit from `special-mode'.
1825 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1826 * bookmark.el (bookmark-bmenu-mode): Define using
1827 `define-derived-mode' inheriting from `special-mode'.
1828 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1829 * image-mode.el (image-mode-map): Ditto.
1830 * replace.el (occur-mode): Define using
1831 `define-derived-mode' inheriting from `special-mode'.
1832 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1833 * calendar/diary-lib.el (diary-fancy-display-mode):
1834 Inherit from `special-mode-map'.
1835 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1836 Inherit from `special-mode'.
1837 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1839 (package-menu-mode): Define using `define-derived-mode'
1840 inheriting from `special-mode'.
1841 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1842 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1843 (xesam-mode-map): Define separately.
1844 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1845 * progmodes/compile.el (compilation-minor-mode-map)
1846 (compilation-mode-map): Inherit from `special-mode-map'.
1847 * vc/diff-mode.el (diff-mode-shared-map):
1848 Inherit from `special-mode-map'.
1849 * vc/log-view.el (log-view-mode-map): Add a comment.
1851 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1853 * custom.el (load-theme): Define return value. Drop use of
1854 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1855 (custom-theme-load-confirm): Scroll in the correct window.
1856 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1858 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1859 checkbox if load-theme fails.
1861 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * progmodes/compile.el (compilation-next-error): Check there's
1864 a message before using it (bug#7941).
1866 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1868 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1869 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1870 of potential pivots.
1872 2011-01-31 Alan Mackenzie <acm@muc.de>
1874 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1875 Continue parsing if we encounter a naked # (Bug#7595).
1876 (c-beginning-of-statement): Avoid loop in locating the beginning
1877 of a macro. (Not actually committed until 2011-02-20, see above).
1879 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1881 * files.el (copy-directory): Fix arguments to recursive call.
1883 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1885 * files.el (copy-directory): If destination is an existing
1886 directory, copy into a subdirectory there.
1888 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1890 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1893 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1895 * image-dired.el (image-dired-mouse-display-image): No-op if no
1896 file is found (Bug#7817).
1898 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1900 2011-01-31 Kenichi Handa <handa@m17n.org>
1902 * international/quail.el (quail-keyboard-layout-alist):
1903 Remove superfluous SPC for "pc105-uk" (bug#7927).
1905 2011-01-31 Glenn Morris <rgm@gnu.org>
1907 * msb.el (msb-menu-bar-update-buffers): Update for changed
1908 argument handling of menu-bar-select-frame. (Bug#7902)
1910 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1912 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1913 to the recursion depth (Bug#7722).
1915 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1917 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1918 command-line-default-directory (Bug#7872).
1920 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1922 * progmodes/compile.el (compilation--flush-directory-cache):
1923 New function, extracted from compilation--remove-properties.
1924 (compilation--remove-properties, compilation--parse-region): Use it.
1925 (compilation--previous-directory): Handle one more case.
1926 (compilation-enable-debug-messages): Remove.
1927 (compilation-parse-errors, compilation--flush-parse): Just remove the
1928 left over debug messages.
1930 2011-01-31 Sam Steingold <sds@gnu.org>
1932 * progmodes/compile.el (compilation-enable-debug-messages):
1933 Add a variable to make the parsing messages introduced in
1934 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1935 (compilation-parse-errors, compilation--flush-parse): Use it.
1937 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1939 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1940 (rcirc-nick-completion-format): New defcustom.
1941 (rcirc-complete): Use it.
1943 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1945 * net/rcirc.el: Clean log filenames (Bug#7933).
1946 (rcirc-log-write): Use convert-standard-filename.
1947 (rcirc-log-filename-function): Documentation updates.
1949 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1951 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1952 Check report-emacs-bug-can-use-osx-open and use that if t.
1953 (report-emacs-bug-can-use-osx-open): New function.
1954 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1955 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1957 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1959 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1960 updating Dired or VC-dir buffers after async command completes.
1962 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1963 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1965 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1966 completions if it exists. Use vc-set-async-update.
1967 (vc-git-pull): Use vc-set-async-update.
1969 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1970 read-shell-command. Use vc-set-async-update.
1971 (vc-hg-merge-branch): Use vc-set-async-update.
1973 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1975 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1976 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1979 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * progmodes/compile.el: Avoid an N² behavior in grep.
1982 (compilation--previous-directory): New fun.
1983 (compilation--previous-directory-cache): New var.
1984 (compilation--remove-properties): Flush it.
1985 (compilation-directory-properties, compilation-error-properties):
1986 Use the new fun to speed up looking for the current directory.
1988 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1990 * vc/vc-hg.el (vc-hg-history): New var.
1991 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1992 (vc-hg-merge-branch): New function.
1994 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1995 the other way around.
1997 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1998 (vc-git-merge-branch): New functions.
1999 (vc-git-history): New var.
2001 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2003 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2005 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2006 vc-do-async-command.
2008 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2011 2011-01-28 Leo <sdl.web@gmail.com>
2013 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2014 highlighting to the "this function is advised" message.
2016 * help-mode.el (help-mode-finish): Apply highlighting here, to
2017 avoid clobbering by substitute-command-keys (Bug#6304).
2019 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2021 * woman.el (woman0-roff-buffer): Process roff escape sequences
2022 occurring prior to the first request (Bug#7843).
2024 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2026 * progmodes/compile.el: Don't use font-lock any more.
2027 (compilation-error-regexp-alist-alist): Change handling of makepp
2028 so it preserves the warning/error distinction on subsequent files.
2029 Simplify various rules.
2030 (compilation-directory-properties): Use font-lock-face.
2031 Add a compilation-message property.
2032 (compilation-internal-error-properties): Use font-lock-face.
2033 Don't set the compilation-debug property here.
2034 (compilation--put-prop, compilation--remove-properties)
2035 (compilation--parse-region, compilation--ensure-parse)
2036 (compilation--ensure-parse): New functions.
2037 (compilation-parse-errors): New function, largely inspired of
2038 compilation-mode-font-lock-keywords. Set compilation-debug here.
2039 (compilation--parsed): New var.
2040 (compilation--flush-parse): Use compilation--ensure-parse.
2041 (compilation-start): Don't call font-lock.
2042 (compilation-turn-on-font-lock): Remove.
2043 (compilation-setup): Don't set font-lock-extra-managed-props not change
2044 other font-lock settings, other than keywords.
2045 Don't activate font-lock-mode.
2046 Set change-major-mode-hook and before-change-functions.
2047 (compilation--unsetup): Remove properties and hooks.
2048 (compilation-next-single-property-change): New function.
2049 (compilation-next-error): Use it to parse when needed.
2050 (compile-goto-error): Parse buffer as needed.
2051 (compilation--compat-error-properties): Don't need a dummy `face'
2054 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2056 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2057 (compilation-process-setup-function): Fix docstring's false promises.
2058 (compilation-error-regexp-alist-alist): Catch omake's continuous
2059 recompilation message and avoid reuse of old markers.
2060 (compilation-parse-errors-function): Declare obsolete.
2061 (compilation-buffer-modtime): Remove.
2062 (compilation--make-cdrloc, compilation--loc->col)
2063 (compilation--loc->line, compilation--loc->file-struct)
2064 (compilation--loc->marker, compilation--loc->visited)
2065 (compilation--make-file-struct, compilation--file-struct->file-spec)
2066 (compilation--file-struct->formats)
2067 (compilation--file-struct->loc-tree): New macros. Use them.
2068 (compilation--message): New defstruct. Use them.
2069 (compilation-next-error-function): Don't mess with timestamps to try
2070 and guess when to reparse.
2072 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2075 (tex-old-error-file-name): New function,
2076 extracted from tex-compilation-parse-errors.
2077 (tex-compilation-parse-errors): Remove.
2078 (tex-error-regexp-alist): New var.
2079 (tex-shell): Use it to avoid compilation-parse-errors-function.
2081 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2082 (grep-mode-font-lock-keywords): Remove regexp that seems like
2083 a left-over from before we used compile.el.
2084 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2085 modifying the buffer within with-silent-modifications.
2087 * progmodes/compile.el: Cleanup text-properties namespace by using
2088 `compilation-message' instead of `message', `compilation-directory'
2089 instead of `directory', and `compilation-debug' instead of `debug'.
2090 (compilation-last-buffer, compilation-parsing-end)
2091 (compilation-error-list, compilation-old-error-list): Move to the
2092 compatibility part of the code.
2093 (compilation-error-properties): If `file' is a function, let it return
2095 (compilation-mode-font-lock-keywords): Be more conservative with the
2096 omake "^ *" pattern prefix, to try and minimize the risk of
2097 pathologically slow regexp matching.
2098 (compilation-start): Use inhibit-read-only.
2099 (compilation--unsetup): New function.
2100 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2101 (compilation-filter): Minor tweaks.
2102 (compilation-next-error-function): Try and avoid abusing variables.
2103 (compilation--flush-file-structure): New fun.
2104 (compilation-fake-loc): Use it to improve behavior when file is reused.
2105 (debug-ignored-errors): Add "Moved past last ...".
2106 (compilation--compat-error-properties)
2107 (compilation--compat-parse-errors): Rename by doubling the "-".
2109 Port features from the previous prolog.el to the new one.
2110 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2111 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2112 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2113 variable and use a function to compute the value dynamically.
2114 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2115 (prolog-continued-prompt-regexp): Remove, unused.
2116 (prolog-find-value-by-system): Try and use the value of prolog-system
2117 in the *prolog* buffer if it helps.
2118 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2119 (prolog-zip-on): ..and check prolog-system and version here instead.
2120 (prolog-inferior-self-insert-command): New command.
2121 (prolog-inferior-mode-map): Use it.
2122 (prolog-inferior-error-regexp-alist): New var.
2123 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2124 (prolog-input-filter): Use derived-mode-p.
2125 (prolog-inferior-guess-flavor): New function.
2126 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2127 make-comint to avoid running comint-mode twice.
2128 (prolog-inferior-buffer): New fun.
2129 (prolog-old-process-region, prolog-old-process-file):
2130 Don't call prolog-bsts here...
2131 (prolog-build-prolog-command): ...do it here instead.
2132 (prolog-old-process-region, prolog-old-process-file):
2133 Use compilation-fake-loc and compilation-forget-errors.
2134 (prolog-consult-compile-region): Use bolp.
2136 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2138 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2140 2011-01-27 Sam Steingold <sds@gnu.org>
2142 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2143 Remove "*server*" which is never created by emacs server.
2145 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2147 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2148 there are some diff switches.
2150 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2152 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2153 Copy change made to ruby-font-lock-syntactic-keywords.
2155 * htmlfontify.el: Make it obey the font-lock-face text property.
2156 Miscellaneous cleanup such as:
2157 - Don't hide expressions after a closing paren.
2158 - Move initial setq into let.
2159 - Hoist common parts out of ifs.
2160 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2161 (hfy-face-at): Use get-text-property instead.
2162 (hfy-prop-invisible-p): Use invisible-p if available.
2163 (htmlfontify-manual): Use \\[...].
2164 (hfy-html-quote-regex): Use [...].
2165 (hfy-combined-face-spec): Simplify.
2166 (hfy-compile-face-map): Don't presume point-min==1.
2167 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2168 match end of string.
2169 (hfy-text-p): η-reduce.
2170 (hfy-tags-for-file): Receive cache-hash directly.
2171 (hfy-mark-tag-names): Adjust call.
2173 2011-01-27 Glenn Morris <rgm@gnu.org>
2175 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2176 (msb-after-load-hook): Remove eval-after-load wackiness.
2178 2011-01-25 Sam Steingold <sds@gnu.org>
2180 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2181 literal "diff" (important for windows-nt).
2183 2011-01-25 Glenn Morris <rgm@gnu.org>
2185 * emacs-lisp/copyright.el (copyright-at-end-flag)
2186 (copyright-names-regexp): Add safety properties.
2187 (copyright-year-ranges): New option.
2188 (copyright-find-end): New function, split from copyright-update-year.
2189 (copyright-update-year): Use copyright-find-end.
2190 (copyright-fix-years): Optionally, convert years to ranges.
2191 Handle years continued over comment lines.
2192 Do not mess with the fill-prefix.
2193 Do not call copyright-update.
2194 (copyright-update-directory): Optionally, fix years rather than update.
2195 Skip directories. Find files with only safe local vars.
2197 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * files.el (file-name-non-special): Only change buffer-file-name after
2200 insert-file-contents if it's `visit'ing the file (bug#7854).
2202 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2204 * dired.el (dired-revert): Doc fix (Bug#7758).
2206 * simple.el (line-move-visual): Doc fix (Bug#7594).
2208 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2210 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2211 here-doc which ends with an underscore.
2212 (ruby-mode-set-encoding): Skip shebang line always.
2213 (ruby-mode-map): Bind C-c C-c to comment-region.
2214 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2215 (ruby-forward-sexp): Stop after literal hash key labels.
2216 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2219 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2221 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2222 the correct buffer (Bug#7650).
2224 2011-01-25 Glenn Morris <rgm@gnu.org>
2226 * comint.el (comint-mode): Doc fix. (Bug#7897)
2228 * simple.el (do-auto-fill): Give it a doc string.
2230 * button.el (make-text-button): Doc fix. (See bug#7881)
2232 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2235 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2237 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2238 Handle ?" and friends differently (e.g. don't use backrefs).
2240 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2242 * calc/calc.el (calc-default-power-reference-level)
2243 (calc-default-field-reference-level): New variables.
2244 * calc/calc-units.el (math-standard-units): Add dB and Np.
2245 (math-logunits): New variable.
2246 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2247 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2248 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2250 (math-find-base-units-rec): Add entry for ln(10).
2251 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2252 (calc-ul-prefix-help): New function.
2253 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2254 functions. Add keybindings for new units functions.
2256 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2258 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2259 rcirc buffers. (Bug#4940)
2261 2011-01-22 Glenn Morris <rgm@gnu.org>
2263 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2264 split out from copyright-update-year.
2265 (copyright-update): Don't mess with the GPL version if we don't own the
2266 copyright. Update license regexp, and remove no longer needed
2268 (copyright-fix-years): Use copyright-find-copyright.
2270 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2272 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2274 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2276 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2277 (lm): Rename to landmark.
2278 (lm-test-run): Rename to landmark-test-run.
2280 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2282 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2283 "Case sensitive" menu item.
2285 2011-01-22 Roland McGrath <roland@frob.com>
2287 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2288 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2290 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2294 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2296 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2297 Assume foo(bar) is a manpage reference rather than some unquoted
2300 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2303 Suggested by Flo <sensorflo@gmail.com>.
2305 2011-01-22 Glenn Morris <rgm@gnu.org>
2307 * progmodes/compile.el (compilation-error-regexp-alist):
2308 Fix custom type. (Bug#7812)
2310 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2312 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2313 allout-number-siblings, in keeping with what obtained due to
2314 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2316 (allout-before-change-handler): Better expose spots affected by
2319 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2321 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2323 2011-01-22 Phil Hagelberg <phil@evri.com>
2325 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2326 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2327 (pcmpl-ssh-config-hosts): New function.
2328 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2329 pcmpl-ssh-known-hosts.
2331 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2333 * calc/calc-undo.el (calc-undo): Autoload it.
2334 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2335 and autoload for `calc-undo'.
2336 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2337 * calc/calc-prog.el:
2338 * calc/calc-graph.el:
2339 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2341 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2343 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2344 keybindings to `calc-undo'.
2346 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2348 Don't mess with *temp*.
2349 * obsolete/spell.el: Move from textmodes/spell.el.
2351 * term.el (term-read-input-ring):
2352 * startup.el (display-startup-echo-area-message):
2353 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2354 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2355 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2358 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2360 * allout.el (allout-institute-keymap): Use fset instead of
2361 reapplying defalias.
2363 (allout-hotspot-key-handler): Check for non-control-modified
2364 bindings for hotspot characters if there are no control-modified
2367 * allout.el: Summary - migrate to defining allout mode using
2368 define-minor-mode instead of defun. Significantly clean-up
2369 internal keymap provisions, refactoring and, in the process,
2370 removing a lot of accumulated cruft.
2372 allout-mode-map is now a keymap by virtue of being a defalias to
2373 allout-mode-map-value, which contains the actual keymap structure.
2375 (allout-mode): Use define-minor-mode rather than defun.
2376 Remove now-unnecessary minor-mode setup activities from the body.
2377 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2378 entry will be '(allout-mode . allout-mode-map) - see
2379 allout-mode-map-value, below. Adjust docstring to track changes.
2380 (allout-minor-mode): Remove this defalias, now that we're using
2382 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2383 keymap is allout-mode-map-value, via defalias.
2384 (allout-mode-map-value): The variable holding the actual mode
2385 keymap structure, by virtue of defalias from allout-mode-map.
2386 (allout-compose-and-institute-keymap): Rename from
2387 allout-bind-keys, and including the binding-composition
2388 functionality of the former produce-allout-mode-map and
2389 allout-setup-mode-map.
2390 (allout-institute-keymap): Take over the "setup" part of the former
2391 allout-setup-mode-map. Reassign allout-mode-map-value value and
2392 update the defalias.
2393 (allout-command-prefix, allout-prefixed-keybindings)
2394 (allout-unprefixed-keybindings):
2395 Use allout-compose-and-institute-keymap to process the bindings.
2396 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2397 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2398 user can customize if they want to use that binding.
2399 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2400 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2401 elided that, previously, instead of the one for \C-h.)
2402 (allout-hotspot-key-handler): Remove attempt to resolve the key
2403 through the literal key-string lookup on allout-keybindings-list.
2404 That probably hasn't worked for a Long Time, and removal of
2405 allout-keybindings-list further simplifies the keybindings situation.
2406 (allout-pre-command-business): Use allout-mode-map-value instead
2408 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2409 the bindings if they want to use a keybinding having a trailing
2410 \C-h. No deprecation needed since this feature was never in a release.
2411 (allout-keybindings-list): Remove. It's not been useful for a
2412 while. (See allout-hotspot-key-handler changes, above.)
2413 (produce-allout-mode-map): Remove. Consolidate into
2414 allout-compose-and-institute-keymap.
2415 (allout-mode-map-adjustments): Remove. No longer necessary with
2416 removal of allout-preempt-trailing-ctrl-h.
2417 (allout-setup-mode-map): Remove. Consolidate into
2418 allout-compose-and-institute-keymap and allout-institute-keymap.
2420 2011-01-20 Glenn Morris <rgm@gnu.org>
2422 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2424 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2426 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2428 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2430 * files.el (find-alternate-file, basic-save-buffer)
2431 (basic-save-buffer-2, revert-buffer, recover-file)
2432 (kill-buffer-ask, abort-if-file-too-large)
2433 (set-visited-file-name, write-file, backup-buffer)
2434 (basic-save-buffer, save-some-buffers):
2435 * dired-aux.el (dired-compress-file): Callers changed.
2437 2011-01-19 Glenn Morris <rgm@gnu.org>
2439 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2440 Also check the property status. (Bug#7861)
2442 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2444 * net/tramp.el (tramp-debug-message): Extend function exclude
2445 list. Use `regexp-opt'.
2447 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2449 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2450 highlighting doesn't spill over subsequent lines.
2452 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2453 keymap expression. Improve docstring.
2455 * electric.el (electric-indent-post-self-insert-function):
2456 Don't auto-indent for indent-to-left-margin, it's too often
2459 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2461 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2462 spaces if the frame was resized, so that the full visible buffer
2463 serves as canvas for strokes.
2465 2011-01-16 Glenn Morris <rgm@gnu.org>
2467 * info-xref.el (info-xref-docstrings): Replace cl function.
2468 Also skip directories.
2470 2011-01-16 Kevin Ryde <user42@zip.com.au>
2472 * info-xref.el: Version 3.
2473 (info-xref-check, info-xref-check-all): Move commentary details
2474 into docstrings for better visibility.
2475 Use compilation-mode for the results buffer.
2476 (info-xref-output, info-xref-output-error, info-xref-with-output)
2477 (info-xref-filename, info-xref-in-progress):
2478 New internals for this.
2479 (info-xref-check-list, info-xref-check-buffer)
2480 (info-xref-check-all-custom): Use those.
2481 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2482 (info-xref-output-heading): Rename from info-xref-filename-heading.
2483 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2484 (info-xref-filename-heading): Move to output managing section.
2485 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2486 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2487 (info-xref-subfile-p): Move to generic section with those two.
2488 (info-xref-check-node): New function split from
2489 info-xref-check-buffer, shared by info-xref-docstrings.
2490 (info-xref-goto-node-p): Move to a checking section with that func.
2491 (info-xref-unavail): New counter.
2492 (info-xref-check-node): Use it.
2493 (info-xref-with-output): Show count of unavailables at end of output.
2494 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2495 symlinks. Exclude .texi files. Exclude Emacs backup files.
2496 (info-xref-check-all-custom): Fix quietening viper-mode and
2497 gnus-registry-install -- use setq not let so as not to unbind
2500 2011-01-16 Juri Linkov <juri@jurta.org>
2502 * isearch.el (isearch-abort): Don't quit if search has
2503 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2505 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2507 * files.el (backup-buffer): Make last-resort backup file in
2508 .emacs.d (Bug#6953).
2510 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2511 make it with permission 700.
2513 2011-01-15 Kenichi Handa <handa@m17n.org>
2515 * mail/rmailmm.el (rmail-mime-insert-header):
2516 Set rmail-mime-coding-system to a cons whose car is the last coding
2517 system used to decode the header.
2518 (rmail-mime-find-header-encoding): New function.
2519 (rmail-mime-insert-decoded-text):
2520 Override rmail-mime-coding-system if it is a cons.
2521 (rmail-show-mime): If only a header part was decoded, find the
2522 coding system while ignoring mm-charset-override-alist.
2524 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2526 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2528 2011-01-15 Kenichi Handa <handa@m17n.org>
2530 * mail/rmailmm.el (rmail-mime-next-item)
2531 (rmail-mime-previous-item): Delete them.
2532 (rmail-mime-shown-mode): Recursively call for children.
2533 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2535 (rmail-mime-raw-mode): Recursively call for children.
2536 (rmail-mode-map): Change mapping of tab and backtab to
2537 forward-button and backward-button respectively.
2538 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2540 (rmail-mime-update-tagline): New function.
2541 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2542 body display is changed.
2543 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2544 (rmail-mime-image): Delete this button type.
2545 (rmail-mime-toggle): New button type.
2546 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2547 body display is changed. Change the save button label to "Save".
2548 Don't process show/hide button here.
2549 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2550 the body display is changed. Unconditionally call
2551 rmail-mime-insert for children.
2552 (rmail-mime-handle): Update `display' vector of the just inserted
2554 (rmail-mime-process): If mail-header-parse-content-type returns
2555 nil, use "text/plain" as the fallback type.
2556 (rmail-mime-insert): For raw-mode, recursively call
2557 rmail-mim-insert for children.
2558 (rmail-mime): Handle the case that the current buffer is not rmail
2559 buffer (e.g. in summary buffer).
2561 2011-01-15 Kenichi Handa <handa@m17n.org>
2563 * mail/rmailmm.el (rmail-mime-next-item)
2564 (rmail-mime-previous-item): Skip the body of a non-multipart
2565 entity if a tagline is shown.
2567 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2569 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2570 (tmm-prompt): Simplify.
2571 (tmm-add-prompt): Remove unused var `win'.
2573 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2574 to minor mode which used nil accidentally to mean "turn off".
2576 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2578 * net/tramp-sh.el (tramp-find-inline-compress)
2579 (tramp-get-inline-coding): Quote command after pipe symbol for
2580 local calls under W32. (Bug#6784)
2582 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2584 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2585 only when running under W32.
2587 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2589 * progmodes/grep.el (grep-compute-defaults): Quote the program
2590 file name after the pipe symbol in Grep templates. (Bug#6784)
2591 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2593 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2595 * buff-menu.el (Buffer-menu-buffer-list): New var.
2596 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2597 restricted buffer list is not lost on revert (Bug#7749).
2599 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2601 * net/ldap.el (ldap-search-internal): Discard stderr output.
2603 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2605 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2607 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2609 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2611 2011-01-15 Kenichi Handa <handa@m17n.org>
2613 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2614 part as a plain text.
2615 (rmail-mime-process-multipart): Set the default content-type to
2616 nil for unknown multipart subtypes (bug#7651).
2618 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * hexl.el (hexl-mode-old-*): Remove.
2621 (hexl-mode--old-var-vals): New var to replace them.
2622 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2623 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2624 Use them to set local vars (bug#7846).
2625 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2626 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2627 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2629 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2630 (smerge-resolve--normalize-re): New var.
2631 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2632 (smerge-resolve): Use them.
2633 * newcomment.el (comment-only-p): New function.
2634 (comment-or-uncomment-region): Use it.
2636 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2638 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2639 table, get the value before switching to the output buffer. (Bug#7733)
2641 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2645 2011-01-14 Kim F. Storm <storm@cua.dk>
2647 * emulation/cua-base.el (cua--init-keymaps):
2648 Remap exchange-point-and-mark in cua-global-keymap.
2650 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2652 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2655 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2659 (easy-menu-create-menu, easy-menu-convert-item-1):
2660 Use :label rather than nil for labels. Use `case'.
2661 Add :enable as alias for :active.
2662 (easy-menu-binding): Obey :label.
2664 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2666 Use run-mode-hooks for major mode hooks (bug#513).
2667 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2668 Rename from reftex-toc-map.
2669 (reftex-toc-mode): Use define-derived-mode.
2670 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2671 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2672 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2673 (reftex-select-label-mode, reftex-select-bib-mode):
2674 Use define-derived-mode.
2675 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2676 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2677 Move init into delcaration.
2678 (reftex-index-mode, reftex-index-phrases-mode):
2679 Use define-derived-mode.
2680 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2681 speedbar-syntax-table. Move init into declaration.
2682 (speedbar-mode-map): Rename from speedbar-key-map.
2683 Move init into declaration.
2684 (speedbar-file-key-map): Move init into declaration.
2685 (speedbar-mode): Use define-derived-mode.
2686 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2687 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2688 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2689 (chart-face-list): Move initialization into declaration.
2690 (chart-mode): Use define-derived-mode.
2691 * calculator.el (calculator-mode-map): Move init into declaration.
2692 (calculator-mode): Use define-derived-mode.
2694 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2695 work for nested comments.
2697 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2698 (prolog-use-prolog-tokenizer-flag): Change default when
2699 syntax-propertize can be used.
2700 (prolog-syntax-propertize-function): New var.
2701 (prolog-mode-variables): Move make-local-variable into `set'.
2702 Don't make comment-column local since we don't set it.
2703 Set comment-add (as it was in previous prolog.el). Use dolist.
2704 Set syntax-propertize-function.
2705 (prolog-mode, prolog-inferior-mode):
2706 Call prolog(-inferior)-menu directly, not through the mode-hook.
2707 (prolog-buffer-module, prolog-indent-level)
2708 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2709 (prolog-comment-limits, prolog-goto-comment-column):
2710 Use line-(end|beginning)-position.
2711 (prolog-build-prolog-command): Tighten up regexp.
2712 (prolog-consult-compile): Move make-local-variable into `set'.
2713 (prolog-consult-compile-filter, prolog-goto-next-paren)
2714 (prolog-help-on-predicate, prolog-clause-info)
2715 (prolog-mark-predicate): Don't let+setq.
2716 (prolog-indent-line): Use indent-line-to.
2717 Only call prolog-goto-comment-column if necessary.
2718 (prolog-indent-level): Use bobp.
2719 (prolog-first-pos-on-line): Remove, not used any more.
2720 (prolog-in-string-or-comment): Use syntax-ppss if available.
2721 (prolog-help-on-predicate): Use read-string.
2722 (prolog-goto-predicate-info): Simplify.
2723 (prolog-read-predicate): Use `default' rather than `initial'.
2724 (prolog-temporary-file): Use make-temp-file to close a security hole.
2725 (prolog-toggle-sicstus-sd): New command.
2726 (prolog-electric-underscore, prolog-variables-to-anonymous):
2727 Use dynamic-scoping as it was meant.
2728 (prolog-menu): Move menu definitions to top-level.
2729 Use a toggle-button for Sicstus's source debugger.
2730 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2732 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2733 Move other menu definition to top-level.
2735 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2737 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2738 name. Keep original document's directory as default-directory
2740 (doc-view-initiate-display): Fall back to normal mode when
2741 doc-view-mode cannot be enabled, also when extracting the document
2742 text into a separate buffer (bug#6446).
2744 * simple.el (shell-command): Don't error out if shell command
2745 buffer contains text with non-nil read-only property when erasing
2748 2011-01-13 Kim F. Storm <storm@cua.dk>
2750 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2751 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2752 items when cycling through the matches.
2754 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2756 * dired-x.el (dired-omit-verbose): New defcustom that allows
2757 disabling the omit messages.
2758 (dired-omit-expunge): Use it.
2760 2011-01-13 Christian Ohler <ohler@gnu.org>
2762 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2764 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2766 * font-lock.el (font-lock-verbose): Default to nil.
2768 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2770 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2771 (compose-mail): New arg RETURN-ACTION.
2772 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2774 * mail/sendmail.el (mail-return-action): New var.
2775 (mail-mode): Make it buffer-local.
2776 (mail-bury): Obey it. Move special Rmail window handling to
2778 (mail, mail-setup): New arg RETURN-ACTION.
2779 (sendmail-user-agent-compose): Move from simple.el.
2781 * mail/rmail.el (rmail-mail-return): New function.
2782 (rmail-start-mail): Pass it to compose-mail.
2784 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2786 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2787 menus. Add menu item for customize-themes.
2789 * cus-theme.el (customize-themes):
2790 * emacs-lisp/package.el (package--list-packages):
2791 Use switch-to-buffer.
2793 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2795 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2797 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2799 * progmodes/prolog.el: Fix up coding convention and such.
2800 (prolog-indent-width): Use the same default as in
2801 previous prolog.el rather than tab-width which depends on which buffer
2802 is current when the file is loaded.
2803 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2805 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2806 (prolog-known-systems): Remove.
2807 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2808 Move initialization into declaration.
2809 (prolog-mode-map): Move initialization into declaration.
2810 Remove system-specific mode-map vars, since they referred to the same
2812 (prolog-mode-variables): Obey the user's preference w.r.t
2813 adaptive-fill-mode. Prefer symbol-value to `eval'.
2814 (prolog-mode-keybindings-edit): Add compatibility bindings.
2815 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2816 (mercury-mode-map): New var.
2817 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2818 (prolog-ensure-process, prolog-process-insert-string)
2819 (prolog-consult-compile): Use with-current-buffer.
2820 (prolog-guess-fill-prefix): Simplify data flow.
2821 (prolog-replace-in-string): New function to use instead of
2823 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2824 (prolog-uncomment-region): Use `uncomment-region' when available.
2825 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2826 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2827 of int-to-char and char-to-int.
2828 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2830 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2832 * progmodes/prolog.el: Replace by a whole new file.
2834 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2837 (declare-function, undefined, insert-for-yank)
2838 (replace-regexp-in-string): Follow checkdoc's recommendations.
2840 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2842 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2843 refreshing the diary buffer.
2845 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2847 * allout.el: Add 2011 to the file copyright.
2848 (allout-encrypt-string): Prevent encryption from adding an extra
2849 newline at the end of the topic body.
2850 (allout-version): Increment to 2.3.
2852 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2854 * net/dbus.el (dbus-unregister-service): Complete doc.
2855 Fix call of dbus-error signal.
2856 (dbus-register-property): Use `dont-register' keyword.
2858 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2860 * net/dbus.el (dbus-unregister-service): Translate returned
2861 integer into a symbol.
2862 (dbus-register-property): Use `dbus-register-service' to do the
2865 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2867 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2868 Suggested by Joakim Verona.
2870 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2872 * wid-edit.el (visibility): Replace :on-image and :off-image
2873 widget properties with :on-glyph and :off-glyph, for consistency
2874 with the `visibility' widget.
2875 (widget-toggle-value-create, widget-visibility-value-create):
2876 Merge into a single function `widget-toggle-value-create'.
2878 * cus-edit.el (custom-variable-value-create, custom-visibility)
2879 (custom-face-edit-value-create, custom-face-value-create):
2880 Replace :on-image and :off-image widget properties with :on-glyph and
2881 :off-glyph, for consistency with the `visibility' widget.
2883 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2885 * net/ldap.el (ldap-search-internal): Don't use eval.
2887 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2889 * subr.el (read-char-choice): Use read-key.
2891 * custom.el (custom-safe-themes): Rename from
2892 custom-safe-theme-files. Add :risky tag.
2893 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2894 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2896 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2898 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2899 from Search and add a label to Undo.
2901 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2902 inappropriate buttons and adding :vert-only tags.
2904 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2905 removal of Help tool-bar button. Remove Undo button for space.
2907 * info.el (info-tool-bar-map): Add :vert-only tags.
2909 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2911 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2912 image backend support. Either of them is fine.
2914 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2916 * subr.el (y-or-n-p): Doc fix.
2918 * custom.el (custom-safe-theme-files): New defcustom.
2919 (custom-theme-load-confirm): New function.
2920 (load-theme): Load theme using `load', confirming with
2921 custom-theme-load-confirm if necessary.
2923 * subr.el (read-char-choice): New function, factored out from
2924 dired-query and hack-local-variables-confirm.
2926 * dired-aux.el (dired-query):
2927 * files.el (hack-local-variables-confirm): Use it.
2929 * dired-aux.el (dired-compress-file):
2930 * files.el (abort-if-file-too-large, find-alternate-file)
2931 (set-visited-file-name, write-file, backup-buffer)
2932 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2933 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2934 Use new format string args for y-or-n-p and yes-or-no-p.
2936 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2938 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2939 [gcc-include]: Tighten file name match, add match for column
2941 [gnu]: Remove unused group.
2943 2011-01-08 Glenn Morris <rgm@gnu.org>
2945 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2947 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2949 2011-01-07 Sam Steingold <sds@gnu.org>
2951 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2952 the `explicit-shell-file-name' because that is the
2953 non-interactive shell.
2955 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2957 * subr.el (y-or-n-p): Accept format string args.
2959 2011-01-07 Glenn Morris <rgm@gnu.org>
2961 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2963 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2965 * allout.el (allout-back-to-current-heading): Ensure return to
2966 the visible containing topic, rather than a collapsed one.
2967 (allout-view-change-hook): Remove hook that was deprecated long ago.
2968 (allout-exposure-change-hook): Remove documentation remarks
2969 concerning removed allout-view-change-hook.
2970 (allout-flag-region): Remove invocation of and documentation
2971 remarks concerning allout-view-change-hook.
2973 2011-01-06 Glenn Morris <rgm@gnu.org>
2975 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2976 (vc-bzr-annotate-extract-revision-at-line):
2977 Handle authors with embedded spaces. (Bug#7792)
2979 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2981 * doc-view.el (doc-view-image-width): New variable.
2982 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2983 backend for PNG images, and do dynamic rescaling instead of
2984 reconverting the whole doc.
2986 2011-01-05 Glenn Morris <rgm@gnu.org>
2988 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2990 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2992 * allout.el: Reconcile with changes in line movement behavior for
2993 long text lines that cross more than a single physical window
2994 line, ie when truncate-lines is nil.
2995 (allout-next-visible-heading): Provide for change in line-move
2996 behavior on long lines when truncate-lines is nil. In that case,
2997 line-move can wind up on the same textual line when it moves to
2998 the next window line, and moving to the bullet position after the
2999 move yields zero advancement. Add logic to detect and compensate
3000 for the lack of progress.
3001 (allout-current-topic-collapsed-p): move-end-of-line respect for
3002 field boundaries is different when operating with body lines
3003 shorter than window width versus ones greater than window width,
3004 which can yield false negatives in this function. Avoid
3005 difference by applying move-end-of-line while field-text-motion is
3008 2011-01-04 Glenn Morris <rgm@gnu.org>
3010 * textmodes/rst.el (rst-compile-toolsets):
3011 Add pdf and s5 to option alist.
3013 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3015 * net/dbus.el (dbus-register-property): Add optional parameter
3016 dont-register-service. Updated docstring accordingly.
3018 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3020 * textmodes/rst.el (rst-compile-pdf-preview)
3021 (rst-compile-slides-preview): Remove extra line.
3023 2011-01-04 Glenn Morris <rgm@gnu.org>
3025 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3026 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3027 default to `prog' without a .py extension.
3028 (rst-compile-pdf-preview, rst-compile-slides-preview):
3029 Use program names from rst-compile-toolsets, rather than hard-coding.
3030 (rst-portable-mark-active-p): Fix presumed typo.
3032 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3034 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3035 libpng versions both before and after 1.4.0. (Bug#7716)
3037 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3039 * time.el (display-time-mode): Mention display-time-interval in
3040 the doc string. (Bug#7713)
3042 2011-01-02 Kenichi Handa <handa@m17n.org>
3044 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3045 condition-case and return an error message string if something
3047 (rmail-show-mime): Adjust for the above change. Insert the
3048 header by rmail-mime-insert-header.
3050 2011-01-02 Kenichi Handa <handa@m17n.org>
3052 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3053 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3054 (rmail-mime-mbox-buffer)
3055 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3056 (rmail-mime-entity): Argument changed. All codes handling an
3057 entity object are changed.
3058 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3060 (rmail-mime-entity-children, rmail-mime-entity-handler)
3061 (rmail-mime-entity-tagline): New functions.
3062 (rmail-mime-message-p): New function.
3063 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3064 (rmail-mime-entity-segment, rmail-mime-next-item)
3065 (rmail-mime-previous-item, rmail-mime-shown-mode)
3066 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3067 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3068 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3070 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3071 (rmail-mime-insert-decoded-text): New function.
3072 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3073 (rmail-mime-insert-image): Argument changed. Caller changed.
3074 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3075 (rmail-mime-set-bulk-data): New function.
3076 (rmail-mime-insert-bulk): Argument changed.
3077 (rmail-mime-multipart-handler): Return t.
3078 (rmail-mime-process-multipart): Argument changed.
3079 Handle "multipart/alternative" here.
3080 (rmail-mime-process): Argument changed.
3081 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3082 (rmail-mime-insert): Argument changed. Handle raw display mode.
3083 (rmail-mime): Argument changed. Handle toggling of raw display
3085 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3086 rmail-mime-view-buffer.
3087 (rmail-insert-mime-forwarded-message): Likewise.
3088 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3090 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3091 non-nil, handle the header in rmail-show-mime-function.
3093 2011-01-02 Leo <sdl.web@gmail.com>
3095 * help-fns.el (describe-variable): Fix previous change.
3097 2011-01-02 Juri Linkov <juri@jurta.org>
3099 * isearch.el (isearch-lazy-highlight-error): New variable.
3100 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3101 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3102 to the current value of `isearch-error' (Bug#7468).
3104 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3106 * help-fns.el (describe-variable): Don't emit trailing whitespace
3109 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3111 * textmodes/rst.el (rst-compile-pdf-preview)
3112 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3114 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3116 * emulation/edt-mapper.el: Override mapping of function keys so
3117 that the later call to read-key-sequence works.
3119 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3121 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3122 Unix EOLs. (Bug#7589)
3124 2011-01-02 Leo <sdl.web@gmail.com>
3126 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3127 if point is not behind eshell-last-output-end (Bug#7585).
3129 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * files.el (file-local-variables-alist):
3132 Make permanent-local (bug#7767).
3134 2011-01-02 Glenn Morris <rgm@gnu.org>
3136 * version.el (emacs-copyright): Set short copyright year to 2011.
3138 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3140 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3141 an existing temp buffer. (Bug#7746)
3143 2011-01-02 Glenn Morris <rgm@gnu.org>
3145 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3146 multiple addresses. (Bug#7760)
3148 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3150 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3151 do-auto-fill if everything points back to allout-auto-fill.
3152 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3153 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3155 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3157 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3160 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3162 * doc-view.el (doc-view-set-doc-type): New function refactored
3164 (doc-view-fallback-mode): New function.
3165 (doc-view-mode): Use it.
3166 (doc-view-mode-maybe): New function that checks if doc-view-mode
3167 can be used and falls back to the next best mode otherwise.
3169 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3170 DVI, OpenDocument, and MS Office files.
3172 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3174 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3176 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3178 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3179 on a copy of auto-mode-alist, because that deletes with side
3182 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3184 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3185 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3186 fallback instead of hard coding fundamental mode.
3188 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3190 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3191 Office) files also for searching.
3193 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3195 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3196 Office) files. Not yet enabled via auto-mode-list.
3197 (doc-view-unoconv-program): New custom variable.
3198 (doc-view-mode-p): Handle new odf document type.
3199 (doc-view-odf->pdf): New conversion function.
3200 (doc-view-convert-current-doc): Call it for odf files.
3201 (doc-view-mode): Recognize newly supported file extensions.
3203 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3205 * net/tramp.el (tramp-default-method-alist)
3206 (tramp-default-user-alist)
3207 (tramp-local-host-regexp, tramp-prefix-domain-format)
3208 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3211 * net/tramp-gvfs.el:
3213 * net/tramp-imap.el:
3215 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3216 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3218 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3220 * saveplace.el (save-place-alist-to-file): Save list sorted and
3221 pretty-printed, so that it is mergeable by line-based text merging,
3222 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3224 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3226 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3227 (allout-mode): Argument "toggle" => "force".
3228 Refine the docstring.
3229 Remove special provisions for reactivation, besides the 'force'
3231 Consolidate layout provisions coce directly into the activation
3232 condition branch, now that we've removed those provisions.
3233 (allout-unload-function): Explicitly activate the mode before
3234 deactivating, if it's initially deactivated.
3235 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3236 warnings for version of function used only where
3237 set-buffer-multibyte is unavailable.
3239 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3241 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3242 are handled by the menu-bar entries. As before, don't use
3243 :visibile to avoid changing the tool-bar.
3245 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3247 * net/secrets.el (secrets-delete-alias): New defun.
3249 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3251 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3252 methods, otherwise ~/.ssh/config would be ignored.
3254 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * emacs-lisp/rx.el: Make it a superset of sregex.
3257 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3258 of args, add `regex' alias.
3259 (rx-info): Add arg to distinguish head and standalone forms.
3260 (rx-check, rx-form): Pass the corresponding arg.
3262 (rx-repeat): Make it work for any number of args.
3263 (rx-syntax): Make it accept syntax chars as is.
3264 * obsolete/sregex.el: Move from emacs-lisp/.
3265 * emacs-lisp/re-builder.el: Remove sregex support.
3266 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3268 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3270 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3271 PRIMARY first, then the clipboard. (Bug#7699)
3273 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3275 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3278 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3280 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3281 .emacs.elc (Bug#7530).
3283 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3284 image spec (Bug#7480).
3286 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3288 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3289 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3292 2010-12-20 Leo <sdl.web@gmail.com>
3294 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3295 always be performed (Bug#7680).
3297 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3299 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3300 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3303 * color.el: Move from gnus/.
3305 * vc/diff.el (diff-better-file-name): Function deleted.
3306 abbreviating file names causes problems with shell-quote-argument.
3307 (diff-no-select): Just use expand-file-name.
3309 * tool-bar.el (tool-bar--image-expression): New function.
3310 (tool-bar-local-item, tool-bar--image-exp): Use it.
3311 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3312 Use :enable instead of :visible to avoid changing the tool-bar
3313 configuration unnecessarily.
3315 * info.el (info-tool-bar-map): Add separators.
3317 2010-12-17 Ken Brown <kbrown@cornell.edu>
3319 * loadup.el: Use version numbers in Cygwin build.
3321 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3323 * ido.el (ido-file-internal): Ask for confirmation before
3324 overwriting an existing file (Bug#1238).
3326 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3328 * tool-bar.el (tool-bar-setup): Add separators.
3330 * menu-bar.el (featurep): Use menu-bar-separator.
3332 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3334 Migrate allout encryption provisions from pgg to epg.
3336 * allout.el (allout-toggle-current-subtree-encryption)
3337 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3338 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3339 for simpler universal argument interpretation.
3340 (allout-toggle-subtree-encryption): Adjust docstring to describe
3341 changed encryption provisions. Change fetch-pass to keymode-cue, for
3342 simpler universal argument interpretation. Remove provisions for
3343 handling key type and identity - they'll all be within
3344 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3345 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3346 for keypair recipients (universal argument > 1) and, in addition,
3347 associating the specified recipients with the outline (universal
3348 argument > 4) using a file local variable setting for
3349 'epa-file-encrypt-to'.
3350 Require epa, for recipients handling.
3351 Change how regexp filtering elements are named.
3352 Describe the problem with caching of incorrect symmetric-decryption
3354 Use the epa-passphrase-callback-function, in case the user is using
3356 Support saving of the selected keypair recipients when invoked with a
3358 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3360 Establish epg-context with armoring and default epg-protocol.
3361 Remove all passphrase cache, verification, and hinting code.
3362 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3363 No longer used, delete.
3364 (allout-mode): Adjust docstring to describe changed encryption
3365 provisions. Describe the problem with caching of incorrect
3366 symmetric-decryption keys.
3367 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3368 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3369 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3370 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3373 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3375 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3376 key selection prompt; make 'silent as default (Bug#7487).
3378 2010-12-16 Leo <sdl.web@gmail.com>
3380 * eshell/eshell.el (eshell-directory-name):
3381 Use locate-user-emacs-file (Bug#7578).
3383 2010-12-15 Glenn Morris <rgm@gnu.org>
3385 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3387 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3388 Scott Evans <gse@antisleep.com>
3390 * rect.el (rectange--default-line-number-format)
3391 (rectangle-number-line-callback): New functions.
3392 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3394 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3396 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3397 Delete unused variables.
3398 (move-to-column-force): Remove function obsolete since 21.2.
3400 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3402 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3403 (tramp-handle-insert-file-contents): Do not set permanent-local
3406 * net/tramp-cache.el (tramp-persistency-file-name):
3407 Use `locate-user-emacs-file' if fboundp.
3409 * net/tramp-sh.el (tramp-methods): Add "ksu".
3410 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3413 2010-12-14 Glenn Morris <rgm@gnu.org>
3415 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3416 (find-tag-marker-ring): Declare.
3417 (js-find-symbol): Require etags.
3419 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3421 (mail-alias-file): Don't autoload. Doc fix.
3422 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3423 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3424 Mark as obsolete, and risky.
3425 (mail-setup): Simplify.
3427 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3428 * mail/sendmail.el (build-mail-aliases): Update autoload.
3430 * dired.el (dired-trivial-filenames, dired-chown-program)
3431 (dired-auto-revert-buffer): Remove autoload cookies.
3432 * mail/sendmail.el (mail-recover-1): Require 'dired.
3434 * dired.el (dired-subdir-switches, dired-chown-program)
3435 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3436 Make into defcustoms.
3437 (dired-chown-program): Simplify initialization.
3439 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3441 2010-12-13 Romain Francoise <romain@orebokech.com>
3443 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3445 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3447 * net/netrc.el (netrc-point-at-eol): Remove the unused
3448 netrc-point-at-old and netrc-bound-and-true-p bindings.
3449 (netrc-parse): Cache the netrc contents.
3451 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3453 * subr.el (posn-col-row): Evaluate header-line-format in the
3454 context of the POSITION window's buffer.
3456 2010-12-13 Glenn Morris <rgm@gnu.org>
3458 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3459 (with-silent-modifications): Doc fixes.
3461 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3463 * net/tramp.el (tramp-action-password, tramp-process-actions):
3464 Revert previous from. Use `save-restriction'.
3466 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3468 * calendar/diary-lib.el (diary-list-sexp-entries):
3469 Handle case of no newline at end of file. (Bug#7536)
3471 2010-12-13 Glenn Morris <rgm@gnu.org>
3473 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3475 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3477 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3478 (tramp-process-actions): Do not widen.
3480 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3481 Protect buffer-modified value. (Bug#7557)
3483 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3485 * log-edit.el (log-edit-changelog-entries):
3486 Regexp quote filename. (Bug#7505)
3488 2010-12-13 Tom Breton <tehom@panix.com>
3490 * cus-edit.el (custom-save-all):
3491 Bind print-length and print-level to nil. (Bug#7581)
3493 2010-12-13 Glenn Morris <rgm@gnu.org>
3495 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3496 Run hooks to update menu contents. (Bug#7586)
3498 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3499 file names, for the sake of MS Windows. (Bug#7588)
3501 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3503 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3504 empty lines without a leading space.
3506 2010-12-13 Leo <sdl.web@gmail.com>
3508 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3509 while mapping over marks (Bug#6810).
3511 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3513 * image-dired.el (image-dired-db-file)
3514 (image-dired-temp-image-file, image-dired-gallery-dir)
3515 (image-dired-temp-rotate-image-file): Set default values relative
3516 to image-dired-dir (Bug#7518).
3518 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3520 * format.el (format-decode-run-method): Pass args FROM and TO, not
3521 point-min and point-max, to shell-command-on-region (Bug#7488).
3523 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3525 * frame.el (blink-cursor-mode): Make default t for ns.
3527 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3529 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3531 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3533 * comint.el (comint-dynamic-list-input-ring)
3534 (comint-dynamic-complete-filename)
3535 (comint-replace-by-expanded-filename)
3536 (comint-dynamic-simple-complete)
3537 (comint-dynamic-list-filename-completions)
3538 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3540 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3543 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3545 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3548 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3550 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3553 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3555 * files.el (file-relative-name): Handle UNC file names on
3556 DOS/Windows. (Bug#4674)
3558 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3560 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3561 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3562 (epg-context-set-passphrase-callback): Mention that the callback
3563 is not called when used with GnuPG 2.x.
3565 2010-12-13 Glenn Morris <rgm@gnu.org>
3567 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3568 Ensure ps-footer-font-size-internal is initialized.
3569 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3571 2010-12-13 Kenichi Handa <handa@m17n.org>
3573 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3574 within condition-case.
3575 (rmail-show-mime): Don't use condition-case.
3576 (rmail-search-mime-message): New function.
3577 (rmail-search-mime-message-function): Set to
3578 rmail-search-mime-message.
3580 2010-12-13 Leo <sdl.web@gmail.com>
3582 * ido.el (ido-common-initialization): New function. (bug#3274)
3584 (ido-completing-read): Call it.
3586 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3588 * bookmark.el (bookmark-name-from-full-record): Rename back to
3589 this original name from `bookmark-name-from-record' reverting part
3590 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3591 As Drew Adams pointed out, there was no reason to cause churn for
3592 third-party callers. (Bug#7609)
3594 2010-12-12 Alan Mackenzie <acm@muc.de>
3596 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3597 template arglist, check that the current language supports this.
3599 2010-12-11 Glenn Morris <rgm@gnu.org>
3601 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3602 state of the file matches. (Bug#7544)
3603 (vc-bzr-register, vc-bzr-checkin)
3604 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3605 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3607 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3609 2010-12-11 Karel Klíč <kklic@redhat.com>
3611 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3613 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3615 Derive from prog-mode, use derived-mode-p, and fix up various
3616 minor style issues in lisp/progmodes.
3618 * progmodes/vhdl-mode.el (vhdl-mode):
3619 * progmodes/verilog-mode.el (verilog-mode):
3620 * progmodes/vera-mode.el (vera-mode):
3621 * progmodes/sql.el (sql-mode):
3622 * progmodes/scheme.el (scheme-mode):
3623 * progmodes/perl-mode.el (perl-mode):
3624 * progmodes/octave-inf.el (inferior-octave-mode):
3625 * progmodes/autoconf.el (autoconf-mode):
3626 * progmodes/m4-mode.el (m4-mode):
3627 * progmodes/inf-lisp.el (inferior-lisp-mode):
3628 * progmodes/idlwave.el (idlwave-mode):
3629 * progmodes/icon.el (icon-mode):
3630 * progmodes/idlw-help.el (idlwave-help-mode):
3631 * progmodes/dcl-mode.el (dcl-mode):
3632 * progmodes/idlw-shell.el (idlwave-shell-mode):
3633 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3634 (ebrowse-member-mode, ebrowse-electric-position-mode):
3635 Use define-derived-mode.
3637 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3638 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3639 (xscheme-debugger-mode-p, xscheme-send-string-1):
3640 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3641 (tcl-load-file, tcl-restart-with-file):
3642 * progmodes/ps-mode.el (ps-run-running):
3643 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3644 * progmodes/js.el (js--get-all-known-symbols):
3645 * progmodes/inf-lisp.el (inferior-lisp-proc):
3646 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3647 (idlwave-template, idlwave-update-buffer-routine-info)
3648 (idlwave-update-current-buffer-info)
3649 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3650 (idlwave-scan-class-info, idlwave-fix-keywords)
3651 (idlwave-list-buffer-load-path-shadows):
3652 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3653 (idlwave-toolbar-remove):
3654 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3655 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3656 (idlwave-shell-menu-def):
3657 * progmodes/idlw-complete-structtag.el
3658 (idlwave-prepare-structure-tag-completion):
3659 * progmodes/gud.el (gud-set-buffer):
3660 * progmodes/f90.el (f90-backslash-not-special):
3661 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3663 * progmodes/xscheme.el (xscheme-start)
3664 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3665 * progmodes/which-func.el (which-function):
3666 * progmodes/vhdl-mode.el (vhdl-set-style):
3667 * progmodes/verilog-mode.el (verilog-set-compile-command)
3668 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3669 (verilog-set-define, verilog-auto-reeval-locals):
3670 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3671 * progmodes/simula.el (simula-mode):
3672 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3673 * progmodes/python.el (python-check, python-mode):
3674 * progmodes/prolog.el (prolog-mode-variables):
3675 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3676 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3677 * progmodes/delphi.el (delphi-mode):
3678 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3679 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3680 (c-font-lock-init): Move make-local-variable to their setq.
3682 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3683 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3685 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3686 (sh-set-shell): Don't set require-final-newline since it's already done
3688 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3689 since we never set it.
3690 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3691 Use read-string and standard prompt.
3692 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3693 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3694 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3695 (meta-common-mode-map): Rename from meta-mode-map.
3696 Remove C-m binding, which is a user preference, not mode specific.
3697 (meta-common-mode): New major mode; replace meta-common-initialization.
3698 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3699 around with font-lock.
3700 * progmodes/etags.el (select-tags-table-mode):
3701 Derive from special-mode.
3702 * progmodes/octave-mod.el (octave-mode):
3703 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3704 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3705 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3706 Let define-derived-mode do its job.
3707 * progmodes/cpp.el (cpp-edit-mode-map):
3708 Move initialization into declaration.
3709 (cpp-edit-mode): Use define-derived-mode.
3710 (cpp-edit-load): Use derived-mode-p.
3711 * progmodes/mixal-mode.el (mixal-mode):
3712 * progmodes/f90.el (f90-mode):
3713 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3714 require-final-newline since prog-mode does it already.
3715 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3716 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3717 * progmodes/antlr-mode.el: Require cc-mode upfront.
3718 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3720 (antlr-directory-dependencies, antlr-show-makefile-rules):
3722 (antlr-language-option): Don't assume point-min==1.
3723 (antlr-mode): Use define-derived-mode.
3724 * progmodes/ada-mode.el: Use derived-mode-p.
3725 (ada-mode): Use define-derived-mode.
3726 Use hack-local-variables-hook.
3728 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3730 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3731 (texinfo-mode): Don't disable adaptive-fill-mode.
3732 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3733 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3734 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3735 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3736 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3737 (texinfo-insert-@quotation, texinfo-insert-@samp)
3738 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3739 (texinfo-insert-@uref): Use define-skeleton.
3740 (texinfo-insert-@-with-arg): Delete.
3742 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3744 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3745 nil, do quote archive member names. (Bug#6144)
3747 2010-12-10 Glenn Morris <rgm@gnu.org>
3749 * files.el (diff-no-select): Declare.
3751 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3752 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3754 * comint.el (comint-input-ring-file-name): Doc fix.
3756 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3758 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3760 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3761 Use them instead of `nil' and `>', respectively.
3762 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3764 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3765 and menu-bar-positive-p instead of `nil' and `>', respectively.
3768 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3770 * whitespace.el (whitespace-newline-mode): Code fix.
3772 2010-12-09 Glenn Morris <rgm@gnu.org>
3774 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3775 Rename functions without commas, update callers.
3777 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3779 * whitespace.el (whitespace-cleanup-region):
3780 Clean up spaces before tabs. (Bug#7582)
3782 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3784 * bookmark.el: Adjust parameter names and doc strings to resolve
3785 confusion over whether "bookmark" meant a bookmark name or a
3786 bookmark record. Along the way, shorten one function's name for
3787 similar reasons. (Issue #7548)
3788 (bookmark-name-from-record): New name for
3789 `bookmark-name-from-full-record'. All callers changed.
3790 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3791 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3792 (bookmark-get-annotation, bookmark-set-annotation)
3793 (bookmark-get-filename, bookmark-set-filename)
3794 (bookmark-get-position, bookmark-set-position)
3795 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3796 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3797 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3798 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3799 Rename `bookmark' parameter to `bookmark-name-or-record', to
3800 clearly show its role, and shorten or adjust doc strings accordingly.
3801 (bookmark-set-name): Same, and pass the parameter directly to
3802 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3803 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3804 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3805 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3806 and in some cases shorten doc string accordingly.
3807 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3808 and `new-name', and adjust an internal variable to avoid confusion.
3809 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3810 parameter in doc string.
3812 2010-12-08 Glenn Morris <rgm@gnu.org>
3814 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3815 from gdb's history file. (Bug#7575)
3817 * mail/emacsbug.el (report-emacs-bug):
3818 Try to handle some other mail clients.
3820 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3823 Use string-prefix-p.
3824 (file-name-version-regexp): New var.
3825 (file-name-sans-versions):
3826 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3827 (jka-compr-get-compression-info): Use dolist.
3828 (jka-compr-compression-info-list): Don't bother specifying
3829 version/backup regexps.
3831 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3833 * simple.el (just-one-space): Make argument n default to 1 if
3836 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3838 * electric.el (electric-indent-post-self-insert-function):
3839 Delete trailing newlines even if we don't reindent.
3841 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3843 * minibuffer.el (completion-at-point): Remove the `arg'.
3844 * bindings.el (complete-symbol): Move back from minibuffer.el.
3846 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3848 * simple.el (just-one-space): Delete newlines for negative arg.
3850 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3853 (ansi-color-filter-apply): Simplify.
3854 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3856 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3858 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3860 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3862 * dired.el (dired-use-ls-dired): Set default to a special
3863 "unspecified" value.
3864 (dired-insert-directory): When called the first time, check
3865 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3867 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3869 * replace.el: Add "collect" feature to occur.
3870 (occur-collect-regexp-history): New var.
3871 (occur-read-primary-args): Return a replace string for nlines,
3873 (occur): Extend the meaning of nlines.
3875 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3877 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3878 (which-func-update-1): Distinguish symbols from strings.
3879 (which-function): Stay within 80 columns.
3881 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3883 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3885 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3887 (comment-style): Use comment-styles's docs to describe values.
3889 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3891 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3892 and ns-show-prefs (Bug#7535).
3894 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3895 bindings (Bug#7535).
3897 2010-12-03 Glenn Morris <rgm@gnu.org>
3899 * nxml/nxml-mode.el: Require rng-nxml.
3900 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3901 Remove declarations.
3903 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3904 * nxml/rng-nxml.el, nxml/rng-valid.el:
3905 Remove leading `*' from defcustom docs.
3907 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3908 (normal-top-level-add-to-load-path, tty-handle-args):
3909 Convert comments to basic doc-strings.
3911 * net/browse-url.el (browse-url-url-at-point)
3912 (browse-url-default-browser): Remove autoload cookies.
3914 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3915 Remove more undefined cl functions.
3917 * vc/diff.el (diff-sentinel): Make new arguments optional.
3918 * ibuf-ext.el (diff-sentinel): Update declaration.
3920 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3922 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3923 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3924 (epg-context-set-passphrase-callback): Mention that the callback
3925 is not called when used with GnuPG 2.x.
3927 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3929 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3930 (tramp-file-name-port): Check also for `tramp-default-port'.
3931 (tramp-get-connection-name): New defun.
3932 (tramp-get-connection-process): Use it.
3933 (tramp-debug-message): Extend function exclude list.
3934 (tramp-drop-volume-letter): Fix doc string.
3936 * net/tramp-cmds.el: Remove solved todo item.
3939 * net/tramp-gvfs.el:
3941 * net/tramp-imap.el:
3942 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3943 and `tramp-default-user-alist', respectively.
3945 * net/tramp-gw.el (tramp-gw-open-connection):
3946 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3948 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3949 `tramp-file-name-port'.
3951 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3952 and "psftp". Exchange "%k" marker with options.
3953 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3954 Compute size of link target.
3955 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3956 `tramp-current-*' up due to gateway methods. Optimize computing of
3957 copy arguments. Use `tramp-get-connection-name' and
3958 `tramp-get-connection-buffer'. Improve debug messages.
3959 (tramp-compute-multi-hops): Remove port determination.
3960 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3962 * net/trampver.el: Update release number.
3964 2010-12-02 Glenn Morris <rgm@gnu.org>
3966 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3967 Avoid infinite loop over windows. (Bug#7492)
3969 * progmodes/flymake.el (flymake-check-file-limit):
3970 Allow nil to mean "no limit".
3971 (flymake-check-patch-master-file-buffer): Update for above change.
3972 Allow a .tex file-name extension to be optional.
3973 (flymake-master-tex-init): Also match \include statements.
3975 2010-11-30 Sam Steingold <sds@gnu.org>
3977 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3978 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3979 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3980 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3981 define-derived-mode').
3982 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3983 users who want to call `nxml-parent-document-set'.
3985 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3987 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3988 stand-alone lines, since that is handled by log-edit-match-to-eoh
3991 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3993 * dired.el (dired-get-filename): Replace backslashes with slashes
3994 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3995 * locate.el (locate-default-make-command-line): Don't consider
3996 drive letter and root directory part of
3997 `directory-listing-before-filename-regexp'. (Bug#7308)
3998 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4000 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4002 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4003 of :smie-open/close-alist.
4004 (smie-next-sexp): Make it accept a "start token" as argument.
4005 (smie-indent-keyword): Be careful not to misidentify tokens that span
4006 more than one line, as empty lines. Add argument `token'.
4008 2010-11-27 Kenichi Handa <handa@m17n.org>
4010 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4011 multipart subtypes, insert all as usual.
4013 * mail/rmail.el: Require rfc2047.
4015 2010-11-27 Kenichi Handa <handa@m17n.org>
4017 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4018 (rmail-mime-entity-disposition)
4019 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4020 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4021 (rmail-mime-save): Handle the case that the button's `data' is a
4023 (rmail-mime-insert-text): New function.
4024 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4025 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4026 (rmail-mime-insert-bulk): New function mostly copied from the old
4027 rmail-mime-bulk-handler.
4028 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4029 (rmail-mime-process-multipart): New function mostly copied from
4030 the old rmail-mime-multipart-handler.
4031 (rmail-mime-show): Just call rmail-mime-process.
4032 (rmail-mime-process): New function mostly copied from the old
4034 (rmail-mime-insert-multipart, rmail-mime-parse)
4035 (rmail-mime-insert, rmail-show-mime)
4036 (rmail-insert-mime-forwarded-message)
4037 (rmail-insert-mime-resent-message): New functions.
4038 (rmail-insert-mime-forwarded-message-function): Set to
4039 rmail-insert-mime-forwarded-message.
4040 (rmail-insert-mime-resent-message-function): Set to
4041 rmail-insert-mime-resent-message.
4043 * mail/rmailsum.el: Require rfc2047.
4044 (rmail-header-summary): Handle multiline Subject: field.
4045 (rmail-summary-line-decoder): Change the default to
4046 rfc2047-decode-string.
4048 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4049 (rmail-mime-feature): Change the default to `rmailmm'.
4050 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4051 (rmail-display-labels): Likewise.
4052 (rmail-show-message-1): Check rmail-enable-mime, and use
4053 rmail-show-mime-function for a MIME message. Decode the headers
4054 according to RFC2047.
4056 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4058 * progmodes/which-func.el (which-func-imenu-joiner-function):
4059 Return a string, as expected.
4060 (which-function-mode): Make sure we stop any previous timer before
4063 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4065 * net/tramp.el (tramp-default-method-alist)
4066 (tramp-default-user-alist, tramp-default-proxies-alist):
4067 Adapt custom options type. (Bug#7445)
4069 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4071 * progmodes/python.el: Add Ipython support (Bug#5390).
4072 (python-shell-prompt-alist)
4073 (python-shell-continuation-prompt-alist): New options.
4074 (python--set-prompt-regexp): New function.
4075 (inferior-python-mode, run-python, python-shell):
4076 Require ansi-color. Use python--set-prompt-regexp to set the comint
4077 prompt based on the Python interpreter.
4078 (python--prompt-regexp): New var.
4079 (python-check-comint-prompt)
4080 (python-comint-output-filter-function): Use it.
4081 (run-python): Use a pipe (Bug#5694).
4083 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4085 * progmodes/python.el (run-python): Doc fix.
4086 (python-keep-current-directory-in-path): New var (Bug#7454).
4088 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4090 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4091 Prompt user before actually printing.
4093 2010-11-27 Glenn Morris <rgm@gnu.org>
4095 * startup.el (package-enable-at-startup, package-initialize):
4096 Remove unnecessary declarations.
4098 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4100 * international/characters.el (glyphless-char-display-control):
4101 Exclude newline and TAB from the c0-control group.
4103 2010-11-27 Glenn Morris <rgm@gnu.org>
4105 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4106 (expand-mail-aliases): Remove unnecessary autoload.
4108 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4110 * shell.el (shell-dir-cookie-re): Move definition before use.
4112 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4113 Replace undefined CL functions.
4115 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4117 * simple.el (prog-mode): Set bidi-paragraph-direction to
4120 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4122 2010-11-26 Glenn Morris <rgm@gnu.org>
4124 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4125 diary-outlook-formats can be sensitive to calendar-date-style.
4126 (diary-outlook-formats): Simplify the default setting.
4127 (diary-from-outlook-internal): Pass subject and body as arguments.
4128 Use dolist rather than dotimes. Don't save the diary buffer.
4129 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4130 Pass subject and body as explicit arguments to the -internal function.
4132 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4134 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4135 parsing them. This makes mailto:...?subject=foo\nbar work.
4137 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * vc/diff.el (diff): Fix last change.
4141 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4144 (pcase--dontcare-upats): New var.
4145 (pcase-let, pcase-let*): Generate better code.
4146 Accept the same bodies as `let'.
4147 (pcase-dolist): New macro.
4148 (pcase--trivial-upat-p): New helper function.
4149 (pcase--expand): Strip leading "(let nil" if any.
4151 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4153 * mail/mailclient.el (browse-url): Require.
4154 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4155 use the external browser function to send the mail (bug#7469).
4157 * net/browse-url.el (browse-url-browser-function): Revert the
4158 default back to the previous value, since the new value broke
4160 (browse-url-mailto-function): New variable for mailto: URLs.
4161 (browse-url): Use the new variable for mailto: URLs.
4163 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4165 * eshell/esh-cmd.el (eshell-parse-command):
4166 * eshell/esh-arg.el (eshell-parse-arguments):
4167 * eshell/em-script.el (eshell-source-file):
4168 Use with-silent-modifications.
4170 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4172 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4173 for a merge location.
4175 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4176 (vc-bzr-merge-branch): Always prompt.
4177 (vc-bzr-async-command): Use the full branch filename.
4179 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * shell.el (shell): Use current-buffer by default if it's already
4182 a shell mode buffer and its process is dead.
4183 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4185 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4187 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4188 Mention that the keywords should be comma separated.
4190 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4192 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4193 Accept optional prefix arg meaning to prompt for a command.
4194 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4195 prefix arg meaning to prompt for a command.
4196 (vc-pull): Alias for vc-update.
4198 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4199 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4200 (vc-bzr-merge-branch): New functions, implementing merge-branch
4201 and pull operations.
4203 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * Makefile.in: Fix up last merge.
4207 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4208 (diff-sentinel): Get them as arguments instead.
4209 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4210 (diff-file-local-copy, diff-better-file-name): New funs.
4211 (diff-no-select): Rename from diff-into-buffer.
4212 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4213 Prefer closures to buffer-local variables.
4214 (diff): Adjust accordingly.
4215 (diff-buffer-with-file): Move from files.el.
4216 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4217 (diff-buffer-internal): Remove.
4218 (diff-buffer-buffer): Remove.
4219 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4220 the buffer name used, and so as not to mess up windows and frames.
4222 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4224 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4225 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4226 (diff-buffer-with-file): Use it.
4227 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4230 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4232 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4233 \ref's or \pageref's value as default instead of initial input.
4235 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4237 * files.el (backup-by-copying-when-mismatch): The default value is
4240 * startup.el (normal-top-level):
4241 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4242 `backup-by-copying-when-mismatch'.
4244 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4246 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4248 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4250 * progmodes/python.el (python-font-lock-keywords):
4251 Highlight top-level augmented assignments (Bug#6445).
4253 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4255 * term/ns-win.el (ns-right-control-modifier)
4256 (ns-right-command-modifier): Defvar them.
4258 * cus-start.el (all): Add ns-right-control-modifier and
4259 ns-right-command-modifier (Bug#7458).
4261 2010-11-20 Glenn Morris <rgm@gnu.org>
4263 * emacs-lisp/authors.el (authors-ignored-files)
4264 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4266 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4268 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4269 (report-emacs-bug-parse-query-results)
4270 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4271 keywords used for querying the bug database to show them in the
4272 existing bugs buffer.
4274 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4276 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4278 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4280 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4282 * international/characters.el (glyphless-char-display-control):
4283 Make it a defcustom, with update-glyphless-char-display as its
4285 (top level): Don't call update-glyphless-char-display.
4287 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4289 Sync with Tramp 2.2.0.
4291 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4292 `file-remote-p' (due to compatibility).
4294 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4295 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4297 * net/trampver.el: Update release number.
4299 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4301 * faces.el (glyphless-char): Define value for `pc'.
4303 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4305 Implemented a bug querying mechanism.
4306 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4307 (report-emacs-bug-create-existing-bugs-buffer)
4308 (report-emacs-bug-parse-query-results)
4309 (report-emacs-bug-query-existing-bugs): New functions.
4311 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4313 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4314 a \ref{} or \pageref{} macro, then use its value as initial input.
4316 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4318 * calc/calc-units.el (math-build-units-table-buffer):
4319 calc/README: Mention that the TeX specific units won't use the
4320 `tex' prefix in TeX mode.
4321 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4322 prefix for units in TeX mode.
4324 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * simple.el (kill-new, kill-append, kill-region):
4327 * comint.el (comint-kill-region): Make the yank-handler argument
4330 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4333 that are both openers (resp. closers) and something else.
4334 (smie-grammar): Loosen definition of valid values.
4335 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4336 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4337 (smie-indent-after-keyword): Adjust users.
4338 (smie-indent-keyword): Don't indent empty lines.
4340 * vc-hg.el (vc-hg-program): New var.
4341 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4342 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4344 2010-11-18 Glenn Morris <rgm@gnu.org>
4346 * emacs-lisp/autoload.el (autoload-find-destination): The function
4347 coding-system-eol-type may return non-numeric values. (Bug#7414)
4349 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4351 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4353 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4355 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4357 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4359 * textmodes/picture.el (picture-mouse-set-point): Don't use
4360 posn-col-row; explicitly compute the motion based on the posn at
4361 the window-start (Bug#7390).
4363 2010-11-18 Glenn Morris <rgm@gnu.org>
4365 * novice.el (disabled-command-function):
4366 Fix 2009-11-15 change. (Bug#7384)
4368 2010-11-18 Glenn Morris <rgm@gnu.org>
4370 * calendar/calendar.el (diary-iso-date-forms): Make elements
4371 mutually exclusive. (Bug#7377)
4373 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4375 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4376 when filling the remaining "unconstrained" values.
4378 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4380 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4383 * files.el (safe-local-variable-p): Gracefully handle errors.
4385 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4386 Use smie-indent-virtual when indenting relative to an opener.
4387 (smie-rule-separator): Use smie-rule-parent.
4388 (smie-indent-keyword): Consult rules, even for openers at bol.
4389 (smie-indent-comment-close): Try to align closer's content.
4391 2010-11-18 Glenn Morris <rgm@gnu.org>
4393 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4395 2010-11-18 Glenn Morris <rgm@gnu.org>
4397 * printing.el (pr-menu-bind): Doc fix.
4399 * speedbar.el (speedbar-toggle-images): Doc fix.
4401 * progmodes/python.el (python-shell): Doc fix.
4403 * wid-edit.el (widget-field-use-before-change)
4404 (widget-use-overlay-change): Doc fixes.
4406 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4408 Minor cleanup to improve style.
4409 * textmodes/rst.el (rst-update-section): Use point-marker.
4410 (rst-get-decoration): Eliminate unneeded assignment.
4411 (rst-promote-region, rst-straighten-decorations)
4412 (rst-section-tree, rst-adjust): Use point-marker.
4413 (rst-toc-mode-mouse-goto): Avoid setq.
4414 (rst-shift-region-guts, rst-shift-region-left)
4415 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4416 (rst-convert-bullets-to-enumeration): Use copy-marker.
4418 * minibuffer.el (completion-fail-discreetly): New var.
4419 (completion--do-completion): Use it.
4421 * electric.el (electric-pair-pairs): New var.
4422 (electric-pair-post-self-insert-function): Use it.
4423 (electric-layout-post-self-insert-function): Don't insert a before
4424 newline unless it's actually needed.
4426 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4428 * progmodes/python.el (run-python): Explain why we remove the current
4429 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4431 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4433 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4436 (octave-mode-map): Don't bind ;, SPC, and LF.
4437 (octave-auto-indent, octave-auto-newline): Remove.
4438 (electric-layout-rules): Declare.
4439 (octave-mode): Set electric-layout-rules.
4440 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4441 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4442 (octave-electric-space): Remove.
4444 * electric.el (electric-layout-mode): New minor mode.
4445 (electric--after-char-pos): New function.
4446 (electric-indent-post-self-insert-function): Use it.
4447 (electric-layout-rules): New var.
4448 (electric-layout-post-self-insert-function): New function.
4449 (electric-indent-mode): Make them interact better.
4451 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4453 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4454 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4455 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4457 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4459 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4460 Make sure to check inside the word (Bug#6761).
4462 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4464 * startup.el (command-line): If the cursorColor resource is set,
4465 change the cursor face-spec (Bug#7392).
4467 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4469 The main features of the following allout.el changes are:
4470 - implement user customization for the allout key bindings
4471 - add a customization control by which the user can inhibit use of
4472 a trailing Ctrl-H, so by default it's reserved for use with
4473 describe-prefix-bindings
4474 - adapt to new version of called-interactively-p, while
4475 maintaining backwards compatibility with old version
4476 - fix hotspot navigation so i works properly with meta-modified keys.
4478 * allout.el (allout-keybindings, allout-bind-keys)
4479 (allout-keybindings-binding, allout-prefixed-keybindings)
4480 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4481 (allout-keybindings-list, allout-mode-map-adjustments)
4482 (allout-setup-mode-map): Establish allout-mode keymaps as user
4483 customizable settings, and also establish a customizable setting which
4484 regulates whether or not a trailing control-h is reserved for use with
4485 describe-prefix-bindings - and inhibit it by default, so that control-h
4486 *is* reserved for describe-prefix-bindings unless the user changes it.
4488 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4489 and accurately between modified and unmodified events, and handle
4490 modified events more comprehensively.
4492 * allout.el (allout-substring-no-properties):
4493 Alias to use or provide version of `substring-no-properties'.
4494 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4496 * allout.el (allout-next-single-char-property-change):
4497 Alias to use or provide version of `next-single-char-property-change'.
4498 (allout-annotate-hidden, allout-hide-by-annotation):
4499 Use `allout-next-single-char-property-change'.
4501 * allout.el (allout-select-safe-coding-system):
4502 Alias to use or provide version of `select-safe-coding-system'.
4503 (allout-toggle-subtree-encryption):
4504 Use `allout-select-safe-coding-system'.
4506 * allout.el (allout-set-buffer-multibyte):
4507 Alias to use or provide version of `set-buffer-multibyte'.
4508 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4510 * allout.el (allout-called-interactively-p): Macro for using the
4511 different versions of called-interactively-p identically, depending on
4512 the subroutine's argument signature.
4513 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4514 Use `(interactive "p")' instead of `(called-interactively-p)'.
4516 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4517 (allout-previous-visible-heading, allout-forward-current-level)
4518 (allout-backward-current-level, allout-show-children):
4519 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4521 * allout.el (allout-before-change-handler):
4522 Exempt edits to the (overlaid) character after the allout outline
4523 bullet from edit confirmation prompt.
4525 * allout.el (allout-add-resumptions):
4526 Ensure that it respects correct buffer for keybindings.
4528 * allout.el (allout-beginning-of-line):
4529 Use `allout-previous-single-char-property-change' alias for the sake of
4530 diverse compatibility.
4532 * allout.el (allout-end-of-line):
4533 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4535 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4537 * frame.el (frame-notice-user-settings): Don't clobber other
4538 user-set parameters when calling face-set-after-frame-default in
4539 response to background-color parameter (Bug#7373).
4541 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4543 * international/characters.el (glyphless-char-display-control):
4544 Rename from glyphless-char-control; all users changed. Doc fix.
4545 Signal an error if display method is not one of the recognized
4548 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4550 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4551 (tramp-compat-line-end-position): Remove them.
4553 * net/tramp.el (tramp-parse-rhosts-group)
4554 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4555 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4556 (tramp-parse-netrc-group, tramp-parse-putty-group)
4557 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4558 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4559 (tramp-sh-handle-file-selinux-context)
4560 (tramp-sh-handle-file-name-all-completions)
4561 (tramp-sh-handle-insert-directory)
4562 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4563 (tramp-wait-for-output, tramp-send-command-and-read)
4564 * net/tramp-smb.el (tramp-smb-read-file-entry)
4565 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4567 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4569 (tramp-remote-coding-commands): Add an alternative using "base64
4570 -d -i". This is needed for older base64 versions from GNU
4571 coreutils. Reported by Klaus Reichl
4572 <Klaus.Reichl@thalesgroup.com>.
4574 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4576 * simple.el (count-words-region): New function.
4578 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4580 * shell.el (shell-dir-cookie-re): New custom variable.
4581 (shell-dir-cookie-watcher): New function.
4583 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4584 and compilation-mode (bug#7350).
4586 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4587 highlight when one of them is empty.
4589 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4591 (skeleton-newline): New function.
4592 (skeleton-internal-1): Use it.
4594 * simple.el (open-line): `newline' may strip trailing space.
4596 2010-11-12 Kevin Ryde <user42@zip.com.au>
4598 * international/mule-cmds.el (princ-list): Use mapc.
4600 2010-11-12 Glenn Morris <rgm@gnu.org>
4602 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4603 Use it to replace all instances of "*Compile-Log*".
4605 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4607 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4610 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * progmodes/modula2.el: Use SMIE and skeleton.
4613 (m2-mode-syntax-table): (*..*) can be nested.
4614 Add //...\n. Fix paren syntax.
4615 (m2-mode-map): Remove LF and TAB bindings.
4616 (m2-indent): Add safety property.
4617 (m2-smie-grammar): New var.
4618 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4619 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4620 (m2-mode): Use define-derived-mode.
4621 (m2-newline, m2-tab): Remove.
4622 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4623 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4624 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4625 (m2-import): Use define-skeleton.
4627 2010-11-11 Glenn Morris <rgm@gnu.org>
4629 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4631 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4632 (ls-lisp-verbosity): Add custom :set-after property.
4633 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4634 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4635 (ls-lisp-insert-directory): Update caller.
4636 (ls-lisp-set-options): New function.
4637 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4640 * play/landmark.el (lm-prompt-for-move):
4641 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4643 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4645 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4646 (idlwave-study-twins): Prefix dynamic local variable `name'.
4647 (idlwave-routine-twin-compare): Update for above change.
4649 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4650 Prefix dynamic local variables `name', `kwd', and `link'.
4651 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4652 * progmodes/idlw-complete-structtag.el
4653 (idlwave-complete-structure-tag-help):
4654 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4655 (idlwave-complete-sysvar-tag-help)
4656 (idlwave-complete-class-structure-tag-help):
4657 Update for above name changes.
4659 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4661 * net/browse-url.el (browse-url-browser-function): Change the
4662 default to use `browse-url-mail' on mailto: URLs.
4664 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4666 * emacs-lisp/package.el (package-read-all-archive-contents):
4667 Reset package-archive-contents to nil before re-reading.
4669 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4671 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4672 already found as misspellings by (flyspell-large-region), just
4673 do highlighting (bug#7322).
4675 2010-11-10 Glenn Morris <rgm@gnu.org>
4677 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4679 * emulation/edt.el (edt-with-position): New macro.
4680 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4681 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4682 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4684 * emulation/tpu-extras.el (tpu-with-position): New macro.
4685 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4687 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4689 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4690 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4691 (texinfo-master-menu, texinfo-insert-node-lines)
4692 (texinfo-multiple-files-update):
4693 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4694 Use line-beginning-position.
4696 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4697 No recent Emacs supports system-type `emx'.
4699 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4700 (ada-command-separator, ada-default-prj-properties)
4701 (ada-find-any-references): Update for above name change.
4703 * dirtrack.el (dirtrack-directory-function)
4704 (dirtrack-canonicalize-function):
4705 * filecache.el (file-cache-completion-ignore-case)
4706 (file-cache-case-fold-search, file-cache-ignore-case):
4707 * term.el (serial-port-is-file-p): Cosmetic change.
4709 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4710 Remove non-existent `windows-95' system-type.
4711 * dired.el (dired-chown-program): Remove non-existent `linux'
4714 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4715 (ping-program-options): Remove non-existent `linux' system-type.
4717 * startup.el (package-initialize): Update declaration.
4719 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4720 (ls-lisp-handle-switches): Use time-less-p.
4721 (ls-lisp-format-time): Use float-time.
4723 * textmodes/remember.el (remember-time-to-seconds): Remove.
4724 (remember-store-in-mailbox): Use float-time.
4726 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4728 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4729 never a real function.
4730 (with-no-warnings): Remove compat stub, now unused.
4731 (time-less-p): Doc fix.
4732 (time-to-number-of-days): Simplify.
4734 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4736 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4737 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4738 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4739 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4740 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4742 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4743 (eshell-shuffle-files, eshell-shorthand-tar-command)
4744 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4745 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4746 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4747 Prefix dynamic local variable `matches'.
4749 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4750 Prefix dynamic local variable `skeleton'.
4752 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4754 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4755 in mail buffer; make yank-action always a command that yanks original
4758 2010-11-09 Glenn Morris <rgm@gnu.org>
4760 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4762 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4765 completion field (bug#7211).
4767 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4768 Fix handling of backslash escapes.
4769 (python-quote-syntax): Adjust accordingly.
4771 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4773 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4774 (vc-mtn-workfile-branch): Adjust to new output format.
4776 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4778 * international/mule-cmds.el (princ-list): Mark as obsolete.
4780 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * emacs-lisp/smie.el: New package.
4784 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4786 * files.el (backup-by-copying-when-mismatch):
4787 Set `permanent-local' property.
4789 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4790 `permanent-local' property for `backup-by-copying-when-mismatch'.
4792 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4794 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4796 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4798 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4799 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4800 AUTOINOUT for SV style multidimensional arrays, bug294.
4801 Reported by Eric Mastromarchi.
4802 (verilog-preprocess): Use with-current-buffer and
4803 font-lock-fontify-buffer to cleanup style issues.
4805 2010-11-09 Glenn Morris <rgm@gnu.org>
4807 * locate.el (locate, locate-mode): Doc fixes.
4809 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4811 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4812 user for confirmation.
4813 (server-force-stop): Use it.
4814 (server-start): Use server-force-stop for kill-emacs-hook, to
4815 avoid user interaction while killing Emacs.
4817 2010-11-09 Glenn Morris <rgm@gnu.org>
4819 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4820 (meta-indent-line): Simplify.
4822 * vc/emerge.el (emerge-line-number-in-buf):
4823 * textmodes/ispell.el (ispell-region):
4824 * textmodes/fill.el (current-fill-column):
4825 * progmodes/xscheme.el (xscheme-send-current-line):
4826 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4827 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4828 * progmodes/sh-script.el (sh-handle-prev-do):
4829 * progmodes/meta-mode.el (meta-indent-line):
4830 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4832 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4833 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4834 * progmodes/fortran.el (fortran-looking-at-if-then):
4835 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4836 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4837 (cperl-find-pods-heres):
4838 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4839 * net/quickurl.el (quickurl-list-insert):
4840 * net/ldap.el (ldap-search-internal):
4841 * net/eudc.el (eudc-expand-inline):
4842 * mail/sendmail.el (sendmail-send-it):
4843 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4844 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4845 (viper-brac-function):
4846 * calc/calc-yank.el (calc-do-grab-region):
4847 * calc/calc-keypd.el (calc-keypad-press):
4848 * term.el (term-move-columns, term-insert-spaces):
4849 * speedbar.el (speedbar-highlight-one-tag-line):
4850 * simple.el (current-word):
4851 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4852 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4854 * hippie-exp.el (he-line-beg):
4855 * epa.el (epa--marked-keys):
4856 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4857 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4858 (dired-relist-entry):
4859 * buff-menu.el (Buffer-menu-buffer):
4860 * array.el (current-line):
4861 * allout.el (allout-resolve-xref)
4862 (allout-latex-verbatim-quote-curr-line):
4863 Replace yet more uses of end-of-line etc with line-end-position, etc.
4865 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4867 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4868 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4869 (checkdoc-syntax-table): Initialize in the declaration.
4870 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4871 the mode on unconditionally.
4873 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4874 (extent-end-position, extent-start-position): Remove setf method for
4875 non-existing functions (bug#7319).
4877 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4879 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4880 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4881 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4882 (smie-prec2->grammar): Rename from smie-prec2-levels.
4883 (smie-grammar): Rename from smie-op-levels.
4884 (smie-indent--hanging-p): Rename from smie-hanging-p.
4885 (smie-rule-hanging-p): New alias.
4886 (smie-indent--bolp): Rename from smie-bolp.
4887 (smie-indent--hanging-p): New alias.
4888 (smie--token): New dynamically bound variable.
4889 (smie-indent--parent): New function.
4890 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4891 (smie-rule-next-p): Rename from smie-next-p.
4892 (smie-rule-prev-p): Rename from smie-prev-p.
4893 (smie-rule-sibling-p, smie-rule-parent)
4894 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4895 (smie-rule-separator-outdent): New var.
4896 (smie-indent--rule): Merge with smie-indent--column.
4897 (smie-indent-forward-token, smie-indent-backward-token):
4898 Also recognize close parens.
4899 (smie-indent-keyword): Don't use smie-indent--column any more.
4900 (smie-indent-after-keyword): Ignore closers by default.
4901 (smie-indent-line): Use with-demoted-errors.
4902 * progmodes/octave-mod.el (octave-smie-grammar):
4903 Rename from octave-smie-op-levels.
4904 (octave-smie-rules): Adjust to new behavior.
4905 * progmodes/prolog.el (prolog-smie-grammar):
4906 Rename from prolog-smie-op-levels.
4908 2010-11-07 Glenn Morris <rgm@gnu.org>
4910 * eshell/esh-util.el (subst-char-in-string)
4911 (directory-files-and-attributes): These compatibility definitions are
4912 not needed on any version of Emacs since at least 21.4.
4914 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4915 (verilog-get-end-of-line): Remove.
4916 (verilog-within-string, verilog-re-search-forward-substr)
4917 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4918 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4919 Use point-at-bol, point-at-eol.
4920 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4922 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4923 (electric-pascal-terminate-line, pascal-set-auto-comments)
4924 (pascal-indent-paramlist, pascal-indent-declaration)
4925 (pascal-get-lineup-indent, pascal-func-completion)
4926 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4927 Use point-at-bol, point-at-eol.
4928 * progmodes/flymake.el (flymake-line-beginning-position)
4929 (flymake-line-end-position): Remove.
4930 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4931 * eshell/esh-util.el (line-end-position, line-beginning-position):
4932 Remove compat definitions.
4934 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4936 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4937 Use line-end-position.
4939 * emacs-lisp/chart.el (chart-zap-chars):
4940 * play/decipher.el (decipher-set-map):
4941 * progmodes/ada-mode.el (ada-get-current-indent)
4942 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4943 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4944 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4945 (ada-get-all-references):
4946 * progmodes/cperl-mode.el (cperl-electric-paren)
4947 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4948 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4949 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4950 (cperl-word-at-point-hard):
4951 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4952 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4953 (idlwave-shell-display-line):
4954 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4955 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4956 * progmodes/js.el (js--re-search-forward-inner)
4957 (js--re-search-backward-inner):
4958 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4959 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4960 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4961 * textmodes/flyspell.el (flyspell-process-localwords):
4962 * textmodes/ispell.el (ispell-buffer-local-parsing)
4963 (ispell-buffer-local-dict, ispell-buffer-local-words):
4964 Use point-at-bol and point-at-eol.
4966 * speedbar.el (speedbar-generic-item-info)
4967 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4968 (speedbar-add-indicator, speedbar-check-vc-this-line)
4969 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4970 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4971 Replace more uses of end-of-line etc with line-end-position.
4973 2010-11-06 Glenn Morris <rgm@gnu.org>
4975 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4976 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4977 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4978 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4979 (texinfo-multiple-files-update):
4980 * textmodes/table.el (table--probe-cell-left-up)
4981 (table--probe-cell-right-bottom):
4982 * textmodes/picture.el (picture-tab-search):
4983 * textmodes/page-ext.el (pages-copy-header-and-position)
4984 (pages-directory-for-addresses):
4985 * progmodes/vera-mode.el (vera-get-offset):
4986 * progmodes/simula.el (simula-calculate-indent):
4987 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4988 * progmodes/prolog.el (end-of-prolog-clause):
4989 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4990 * progmodes/icon.el (indent-icon-exp):
4991 * progmodes/etags.el (tag-re-match-p):
4992 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4993 * progmodes/ebnf2ps.el (ebnf-begin-file):
4994 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4995 (dcl-save-local-variable):
4996 * play/life.el (life-setup):
4997 * play/gametree.el (gametree-looking-at-ply):
4998 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4999 * mail/sendmail.el (mail-mode-auto-fill):
5000 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5001 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5002 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5003 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5004 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5005 * type-break.el (type-break-file-keystroke-count):
5006 * term.el (term-replace-by-expanded-history-before-point)
5007 (term-skip-prompt, term-extract-string):
5008 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5009 (speedbar-contract-line, speedbar-toggle-line-expansion)
5010 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5011 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5012 * sort.el (sort-skip-fields):
5013 * skeleton.el (skeleton-internal-list):
5014 * simple.el (line-move-finish, line-move-to-column):
5015 * shell.el (shell-forward-command):
5016 * misc.el (copy-from-above-command):
5017 * makesum.el (double-column):
5018 * ebuff-menu.el (electric-buffer-update-highlight):
5019 * dired.el (dired-move-to-end-of-filename):
5020 * dframe.el (dframe-popup-kludge):
5021 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5022 * arc-mode.el (archive-get-lineno):
5023 Use line-end-position and line-beginning-position.
5025 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5026 (idlwave-study-twins): Prefix dynamic local `class'.
5027 (idlwave-routine-twin-compare): Update for above name change.
5029 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5030 Use boundp tests to silence compiler. Update for changed name of
5031 bytecomp-filename variable.
5033 * emulation/viper-cmd.el (viper-read-string-with-history):
5034 Prefix dynamic local `initial'.
5035 (viper-minibuffer-standard-hook): Update for above name change.
5037 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5038 (elint-init-form): Update for above name change.
5040 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5041 local variables `cbeg' and `cend' a prefix.
5042 (mail-extr-voodoo): Update for above name change.
5044 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5045 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5046 (reftex-toc-promote-action): Doc fix.
5048 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5049 `prompt', `data' a prefix.
5050 (reftex-select-post-command-hook, reftex-select-callback)
5051 (reftex-select-mouse-accept, reftex-select-read-cite):
5052 Update for above name changes.
5054 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5055 `refstyle' to reftex-refstyle.
5056 (reftex-offer-label-menu): Update for above name change.
5057 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5058 `refstyle' name change.
5060 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5061 with with-current-buffer.
5062 (diff, template): Give dynamic local variables a prefix.
5063 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5064 (emerge-line-number-in-buf): Update for above name change.
5065 (emerge-combine-versions-internal): Rename local `template' to
5066 emerge-combine-template.
5067 (emerge-combine-versions-edit): Update for above name change.
5069 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5071 * textmodes/reftex-cite.el
5072 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5073 entries with whitespace after \bibitem.
5074 (reftex-create-bibtex-file): Match entries containing numbers and
5075 symbol constituents. Make sure that entries with whitespace at
5076 various places are found.
5078 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5080 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5082 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5084 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5086 2010-11-05 Glenn Morris <rgm@gnu.org>
5088 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5089 (woman2-roff-buffer): Give local variable `request' a prefix.
5090 (woman0-macro): Rename argument `request' in the same way.
5091 (woman-request): New name for `request' dynamic variable.
5092 (woman-unquote, woman-forward-arg): Update for above name change.
5093 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5094 (woman1-unquote): New name for `unquote' dynamic variable.
5095 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5096 (woman-translations): Rename from `translations'. No longer global.
5097 (woman2-tr, woman-translate): Update for above name change.
5098 (woman-translate): Check for bound variable.
5099 (woman2-roff-buffer): Give local variable `translations' a prefix.
5101 * play/doctor.el: Give all local variables a prefix. Update callers.
5102 (doc$, doctor-put-meaning): Use backquote.
5104 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5105 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5107 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5108 variables bytes, ptr, op a prefix.
5109 (disassemble-offset): Update for above change.
5111 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5113 * emacs-lisp/package.el (package-unpack): Remove no-op.
5114 (package--builtins, package--dir): Doc fix.
5115 (package-activate-1, package-activate, package-install)
5116 (package-compute-transaction): Fix error message.
5117 (package-delete): Use delete-directory. Omit system packages.
5118 (package-initialize): Set package-alist to nil first.
5119 (package-menu-mark-delete, package-menu-mark-install): Don't add
5120 symbols that are inconsistent with the package state.
5121 (package-menu-execute): Perform deletions and installations as
5122 single batch operations.
5124 2010-11-03 Glenn Morris <rgm@gnu.org>
5126 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5127 (props): Remove unnecessary declaration.
5129 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5130 set-process-query-on-exit-flag.
5132 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5133 (reftex-toc-do-promote): Remove unused local `mpos'.
5134 (reftex-toc-restore-region): Make `mpos' local to this function.
5136 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5138 * play/landmark.el (lm-losing-threshold): Correct spelling.
5139 (lm-human-plays): Use new name.
5141 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5142 (gomoku-human-plays): Use new name.
5144 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5145 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5146 (gomoku-score-trans-table, gomoku-winning-threshold)
5147 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5149 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5151 * emacs-lisp/package.el: Don't put built-in packages in
5152 package-alist, to avoid loading inefficiencies.
5153 (package-built-in-p): Make VERSION optional, and treat it as a
5154 minimum acceptable version.
5155 (package-activate): Search separately for built-in packages.
5156 Emit a warning if a dependency fails.
5157 (define-package): Handle most common case, where there is no
5158 obsolete package, first.
5159 (package-compute-transaction): Print required version in error.
5160 (package--initialized): New variable.
5161 (list-packages): Use it.
5162 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5163 built-in packages in packages-alist; keep it separate.
5164 Set package--initialized.
5165 (describe-package): Avoid activating packages as a side-effect.
5166 Search separately for built-in packages.
5167 (describe-package-1): Handle the case where an elpa package is
5168 simultaneously built-in and available/installed.
5169 (package-installed-p, package--generate-package-list):
5170 Search separately for built-in packages.
5171 (package-load-descriptor): Doc fix.
5173 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5175 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5176 Handle __DATA__ and __END__.
5178 2010-11-02 Noah Friedman <friedman@splode.com>
5180 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5181 nil, do not ask to recompile files that are not already compiled,
5182 and do not recompile them.
5184 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5186 * emacs-lisp/package.el (package-initialize): Ensure that
5187 obsoleted built-in packages are not in package-activated-list
5189 (describe-package-1): Make the "installed" status override
5192 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5194 * subr.el (version-separator, version-regexp-alist): Remove '*'
5196 (version-list-<=, version<=, version=): Doc fix.
5198 2010-11-01 Kenichi Handa <handa@m17n.org>
5200 * faces.el (glyphless-char): Inherit underline for tty.
5202 2010-11-01 Kenichi Handa <handa@m17n.org>
5204 Implement various display methods for glyphless characters.
5206 * international/characters.el (char-acronym-table): New variable.
5207 (glyphless-char-control): New variable.
5208 (update-glyphless-char-display): New function.
5210 * faces.el (glyphless-char): New face.
5212 2010-11-01 Glenn Morris <rgm@gnu.org>
5214 * calendar/holidays.el (general-holidays, oriental-holidays)
5215 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5216 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5217 the definitions of their targets.
5219 * emacs-lisp/smie.el (smie): New custom group.
5220 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5222 * faces.el (xw-defined-colors, x-setup-function-keys):
5223 * mouse-sel.el (x-select-text):
5224 * term/w32console.el (x-setup-function-keys): Update declarations.
5226 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5228 * textmodes/ispell.el (comment-add): Declare.
5230 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5233 * info.el (finder-keywords-hash, package-alist): Declare.
5235 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5237 * finder.el (finder-compile-keywords): Don't use intern-soft,
5238 since package names may not yet exist in the obarray.
5240 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5242 * vc/vc-arch.el (vc-arch-checkin):
5243 * vc/vc-cvs.el (vc-cvs-checkin):
5244 * vc/vc-mtn.el (vc-mtn-checkin):
5245 * vc/vc-rcs.el (vc-rcs-checkin):
5246 * vc/vc-sccs.el (vc-sccs-checkin):
5247 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5248 since 2010-04-21 commit by Stefan Monnier.
5250 2010-11-01 Glenn Morris <rgm@gnu.org>
5252 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5254 * startup.el (package-enable-at-startup, package-initialize):
5257 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5260 2010-10-31 Julien Danjou <julien@danjou.info>
5262 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5263 (byte-recompile-directory):
5264 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5265 Use `byte-recompile-file'.
5267 2010-10-31 Glenn Morris <rgm@gnu.org>
5269 * cus-start.el: Handle standard values via a keyword.
5270 Only set version property if specified.
5271 (cursor-in-non-selected-windows, menu-bar-mode)
5272 (tool-bar-mode, show-trailing-whitespace):
5273 Do not specify standard values.
5274 (transient-mark-mode, temporary-file-directory): Use :standard.
5276 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5278 * term/x-win.el (x-get-selection-value): New function that gets
5279 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5281 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5283 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5284 preserve owner and group when editing files. (Bug#7289)
5286 2010-10-31 Glenn Morris <rgm@gnu.org>
5288 * speedbar.el (speedbar-mode):
5289 * play/fortune.el (fortune-in-buffer, fortune):
5290 * play/gomoku.el (gomoku-mode):
5291 * play/landmark.el (lm-mode):
5292 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5293 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5295 * select.el (x-selection): Mark it as an obsolete alias.
5297 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5299 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5300 major-mode (bug#7284).
5302 2010-10-31 Glenn Morris <rgm@gnu.org>
5304 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5305 rather than just an unused variable that inherits from the real one.
5307 2010-10-31 Alan Mackenzie <acm@muc.de>
5309 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5310 This fixes bug #7185.
5312 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5314 * startup.el (command-line): Search for package directories, and
5315 don't load package.el if none are found.
5317 * emacs-lisp/package.el (describe-package, list-packages):
5318 Call package-initialize if it has not been called yet.
5320 2010-10-30 Alan Mackenzie <acm@muc.de>
5322 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5323 which fontifies the tail of an enum.
5324 (c-basic-matchers-after): Insert a call to the above new function.
5325 This fixes bug #7264.
5327 2010-10-30 Glenn Morris <rgm@gnu.org>
5329 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5330 tool-bar-mode, transient-mark-mode. (Bug#7306)
5331 Include the :set property in the dumped Emacs.
5333 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5335 SMIE: change indent rules format, improve smie-setup.
5336 * emacs-lisp/smie.el (smie-precs-precedence-table)
5337 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5338 Mark them pure so the tables gets built at compile time.
5339 (smie-bnf-precedence-table): Store the closer-alist in the table.
5340 (smie-prec2-levels): Preserve the closer-alist.
5341 (smie-blink-matching-open): Be more forgiving in case of indentation.
5342 (smie-hanging-p): Rename from smie-indent--hanging-p.
5343 (smie-bolp): Rename from smie-indent--bolp.
5344 (smie--parent, smie--after): New dynamic vars.
5345 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5346 (smie-indent-rules): Remove.
5347 (smie-indent--offset-rule): Remove fun.
5348 (smie-rules-function): New var.
5349 (smie-indent--rule): New fun.
5350 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5351 (smie-indent-exps): Use it.
5352 (smie-setup): Setup paren blinking; add keyword args for token
5353 functions; extract closer-alist from op-levels.
5354 (smie-indent-debug-log): Remove var.
5355 (smie-indent-debug): Remove fun.
5356 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5357 (prolog-smie-rules): New fun to replace it.
5358 (prolog-mode-variables): Simplify.
5359 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5360 it's setup automatically.
5361 (octave-smie-indent-rules): Remove.
5362 (octave-smie-rules): New fun to replace it.
5363 (octave-mode): Simplify.
5365 2010-10-29 Glenn Morris <rgm@gnu.org>
5367 * files.el (temporary-file-directory): Remove (already defined in C).
5368 * cus-start.el: Add temporary-file-directory.
5370 * abbrev.el (abbrev-mode):
5371 * composite.el (auto-composition-mode):
5372 * menu-bar.el (menu-bar-mode):
5373 * simple.el (transient-mark-mode):
5374 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5375 that they do not define the associated variables twice.
5376 * simple.el (transient-mark-mode): Remove defvar.
5377 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5378 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5379 Handle multiple groups, and also custom-delayed-init-variables.
5380 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5382 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5385 (pcase-if): Add one minor optimization.
5386 (pcase-split-equal): Rename from pcase-split-eq.
5387 (pcase-split-member): Rename from pcase-split-memq.
5388 (pcase-u1): Add strings to the member optimization.
5389 Add `guard' variant of predicates.
5390 (pcase-q1): Add string patterns.
5392 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5396 2010-10-28 Glenn Morris <rgm@gnu.org>
5398 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5399 Move menu-bar related settings to ../menu-bar.el.
5400 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5401 Move ns-specific settings here from term/ns-win.el.
5403 * simple.el (x-selection-owner-p): Remove unused declaration.
5405 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5407 * minibuffer.el (completion-cycling): New var (bug#7266).
5408 (minibuffer-complete, completion--do-completion):
5409 Use completion--flush-all-sorted-completions.
5410 (minibuffer-complete): Only cycle if completion-cycling is set.
5411 (completion--flush-all-sorted-completions): Unset completion-cycling.
5412 (minibuffer-force-complete): Set completion-cycling.
5413 (completion-all-sorted-completions): Move declaration before first use.
5415 2010-10-28 Leo <sdl.web@gmail.com>
5417 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5418 which changes the order of matches seen by users (bug#7231).
5420 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5422 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5423 Don't confuse -omega as "-o mega".
5425 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5427 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5428 (log-edit-author): New dynamic var.
5429 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5430 to return the author if different from committer.
5431 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5433 * play/landmark.el: Adjust commenting convention.
5434 (lm-nil-score): Rename from nil-score.
5435 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5436 (OOOOscore): Move into a let in lm-score-trans-table.
5437 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5439 * electric.el (electric-indent-chars): Autoload.
5440 * progmodes/octave-mod.el (octave-mode):
5441 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5442 (ruby-mode-abbrev-table): Merge initialization and declaration.
5444 2010-10-27 Glenn Morris <rgm@gnu.org>
5446 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5449 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5451 * term/ns-win.el: Restore require of cl when compiling.
5452 (menu-bar-final-items): Remove non-existent `windows' menu.
5453 (ns-handle-nxopen): Optionally handle the temp-case.
5454 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5455 (ns-insert-file, ns-find-file): Use `pop'.
5457 2010-10-26 Glenn Morris <rgm@gnu.org>
5459 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5461 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5463 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5465 * term/common-win.el (x-setup-function-keys): Remove most of the
5466 keymappings. Comment on the remaining ones.
5468 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5470 * server.el (server-port): New option. (Bug#854)
5471 (server-start): Use server-port.
5473 2010-10-26 Glenn Morris <rgm@gnu.org>
5475 * term/ns-win.el (ns-version-string): Remove unused declaration.
5476 (ns-invocation-args): Change to x-invocation-args.
5477 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5478 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5479 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5480 Use x-invocation-args instead of ns-invocation-args.
5481 (ns-initialize-window-system, handle-args-function-alist):
5482 Use x-handle-args instead of ns-handle-args.
5483 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5484 * startup.el (command-line-ns-option-alist): Replace
5485 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5486 ns-handle-iconic with the x- equivalents.
5488 * term/common-win.el (x-select-enable-clipboard):
5489 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5491 * term/ns-win.el: No need to require cl when compiling.
5492 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5493 (xw-defined-colors): Use the common-win definitions.
5494 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5495 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5496 * term/common-win.el (x-select-text, x-alternatives-map)
5497 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5498 * loadup.el [ns]: Load common-win.
5500 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5502 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5503 recipients; expand mail aliases (Bug#7280).
5505 2010-10-25 Glenn Morris <rgm@gnu.org>
5507 * term/common-win.el (x-handle-switch): Simplify with pop.
5508 Optionally handle numeric switches.
5509 (x-handle-numeric-switch): Just call x-handle-switch.
5510 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5511 (x-handle-name-switch, x-handle-display, x-handle-args):
5514 * term/ns-win.el: Do not require easymenu.
5515 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5516 <spell>: Move adjustments to menu-bar.el.
5517 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5518 <separator-undo, spell>: Move ns-win's adjustments here.
5519 * loadup.el [ns]: Do not load easymenu.
5521 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5523 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5526 * startup.el (fancy-startup-tail): Instead of using inline images,
5527 refer to image files from etc/.
5529 * wid-edit.el (checkbox): Likewise.
5530 (widget-image-find): Center image specs.
5532 2010-10-24 Glenn Morris <rgm@gnu.org>
5534 * term/ns-win.el (x-select-text): Doc fix.
5535 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5536 (x-select-text): Move to term/common-win.
5537 * term/w32-win.el (xw-defined-colors): Move to common-win.
5538 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5539 (x-setup-function-keys, x-select-text): Move to common-win.
5540 * term/common-win.el (x-select-text, x-alternatives-map)
5541 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5544 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5546 * net/mairix.el (mairix-searches-mode-map):
5547 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5549 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5551 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5552 auto-built for efficiency of execution and updating.
5553 (verilog-extended-complete-re): Support 'pure' fucntion & task
5554 declarations (these have no bodies).
5555 (verilog-beg-of-statement): General cleanup to enable support of
5556 'pure' fucntion & task declarations (these have no bodies).
5557 These efforts together fix Verilog bug210 from veripool; which was also
5558 noticed by Steve Pearlmutter.
5559 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5560 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5561 Support `elsif. Reported by Shankar Giri.
5562 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5563 attribute handling for lining up declarations and assignments.
5564 (verilog-beg-of-statement-1): Fix issue where continued declaration
5565 is indented differently if it is after a begin..end clock.
5566 (verilog-in-attribute-p, verilog-skip-backward-comments)
5567 (verilog-skip-forward-comment-p): Support proper treatment of
5568 attributes by indent code. Reported by Jeff Steele.
5569 (verilog-in-directive-p): Fix comment to correctly describe function.
5570 (verilog-backward-up-list, verilog-in-struct-region-p)
5571 (verilog-backward-token, verilog-in-struct-p)
5572 (verilog-in-coverage-p, verilog-do-indent)
5573 (verilog-pretty-declarations): Use verilog-backward-up-list as
5574 wrapper around backward-up-list inorder to properly skip comments.
5575 Reported by David Rogoff.
5576 (verilog-property-re, verilog-endcomment-reason-re)
5577 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5578 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5579 of if). Reported by Max Bjurling and
5580 (verilog-calc-1): Fix for clocking block in modport
5581 declaration. Reported by Brian Hunter.
5583 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5585 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5586 (verilog-gate-keywords, verilog-read-sub-decls)
5587 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5588 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5589 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5590 (verilog-read-decls): Fix spaces in V2K module parameters causing
5591 mis-identification as interfaces, bug287.
5592 (verilog-read-decls): Fix not treating "parameter string" as a
5593 parameter in AUTOINSTPARAM.
5594 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5595 treating `elsif similar to `endif inside AUTOSENSE.
5596 (verilog-do-indent): Implement correct automatic or static task or
5597 function end comment highlight. Reported by Steve Pearlmutter.
5598 (verilog-font-lock-keywords-2): Fix highlighting of single
5599 character pins, bug264. Reported by Michael Laajanen.
5600 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5601 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5602 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5603 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5604 (verilog-pretty-expr): Fix interactive arguments, bug272.
5605 Reported by Mark Johnson.
5606 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5607 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5608 bug269. Suggested by Gary Delp.
5609 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5610 (verilog-preprocessor, verilog-set-compile-command):
5611 Create verilog-preprocess and verilog-preprocessor to show
5612 preprocessed output.
5613 (verilog-get-beg-of-line, verilog-get-end-of-line)
5614 (verilog-modi-file-or-buffer, verilog-modi-name)
5615 (verilog-modi-point, verilog-within-string): Move defmacro's
5616 before first use to avoid warning. Reported by Steve Pearlmutter.
5617 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5618 (verilog-colorize-region, verilog-highlight-buffer)
5619 (verilog-highlight-includes, verilog-highlight-modules)
5620 (verilog-highlight-region, verilog-mode): Rename colorize to
5621 highlight to match other packages. Disable module highlighting,
5622 as received speed complaints, reenable for experimentation only
5623 using new verilog-highlight-modules.
5624 (verilog-read-decls): Fix regexp stack overflow in very large
5625 AUTO_TEMPLATEs, bug250.
5626 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5627 (verilog-scan): Create verilog-save-buffer-state to standardize
5628 making insignificant changes that shouldn't call hooks.
5629 (verilog-save-no-change-functions, verilog-save-scan-cache)
5630 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5631 Create verilog-save-no-change-functions to wrap verilog-scan
5632 preservation, and fix to work with nested preserved calls.
5633 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5634 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5635 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5636 (verilog-submit-bug-report): Update variable list to be complete.
5637 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5638 breaking on-the-fly font-locking.
5639 (verilog-colorize-buffer, verilog-colorize-include-files)
5640 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5641 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5642 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5643 AUTOINST cell instance name, middle mouse button now finds-file on
5644 it. Suggested by Brad Dobbie.
5645 (verilog-alw-get-temps, verilog-auto-reset)
5646 (verilog-auto-sense-sigs, verilog-read-always-signals)
5647 (verilog-read-always-signals-recurse): Fix loop indexes being
5648 AUTORESET. AUTORESET now assumes any variables in the
5649 initialization section of a for() should be ignored.
5650 Reported by Dan Dever.
5651 (verilog-error-font-lock-keywords)
5652 (verilog-error-regexp-emacs-alist)
5653 (verilog-error-regexp-xemacs-alist): Fix error detection of
5654 Cadence HAL, reported by David Asher. Repair drift between the
5655 three similar error variables.
5656 (verilog-modi-lookup, verilog-modi-lookup-cache)
5657 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5658 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5659 Fix slow verilog-auto expansion on very large files.
5660 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5661 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5662 "{1*2{...". Broke in last revision.
5663 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5664 submodule connections with replications "{#{a},#{b}}".
5666 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5668 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5669 Fix typo in docstring.
5671 2010-10-24 Kenichi Handa <handa@m17n.org>
5673 * face-remap.el (text-scale-adjust): Call read-event with a proper
5676 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5678 * emacs-lisp/unsafep.el: Don't mark functions that display
5679 messages as safe. Suggested by Johan Bockgård.
5681 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5683 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5684 Turn comments into docstrings.
5686 * minibuffer.el (completion--replace): Move point where it belongs
5687 when there's a common suffix (bug#7215).
5689 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5691 Merge read-color and facemenu-read-color (Bug#7242).
5693 * faces.el (read-color): Use the completion code from
5694 facemenu-read-color. Require match in completion. Doc fix.
5696 * facemenu.el (facemenu-read-color): Alias for read-color.
5697 (facemenu-set-foreground, facemenu-set-background):
5700 * frame.el (set-background-color, set-foreground-color)
5701 (set-cursor-color, set-mouse-color, set-border-color):
5704 2010-10-24 Leo <sdl.web@gmail.com>
5706 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5707 argument of delete-file and delete-directory (Bug#7011).
5709 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5711 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5714 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5716 * emacs-lisp/package.el (package--generate-package-list): Make the
5717 *Packages* buffer read-only.
5719 2010-10-24 Alan Mackenzie <acm@muc.de>
5721 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5722 result of `c-beginning-of-decl-1' between invocations of a lambda
5723 function (Bug #7265).
5725 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5727 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5728 executable is not available on the system (Bug#7268).
5730 2010-10-24 Glenn Morris <rgm@gnu.org>
5732 * select.el (selection-coding-system, next-selection-coding-system):
5733 Sync doc with C versions.
5735 * w32-vars.el (x-select-enable-clipboard):
5736 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5737 * term/common-win.el (x-select-enable-clipboard): Move here.
5739 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5740 definition of C variable.
5742 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5743 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5744 Don't redefine things that are defined in C.
5745 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5746 (show-trailing-whitespace, auto-hscroll-mode)
5747 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5748 Set up the appropriate custom properties.
5750 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5753 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5754 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5755 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5756 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5758 2010-10-23 Glenn Morris <rgm@gnu.org>
5760 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5763 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5764 Sync docs with C version.
5766 * term/ns-win.el (xw-defined-colors):
5767 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5769 * term/pc-win.el (x-select-enable-clipboard):
5770 * term/x-win.el (x-select-enable-clipboard):
5771 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5773 * comint.el (comint-password-prompt-regexp): Make it less vague.
5776 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5778 * help.el (finder-by-keyword): Remove unnecessary autoload.
5780 2010-10-22 Glenn Morris <rgm@gnu.org>
5782 * loadup.el: Unconditionally load float-sup.
5783 * paren.el (show-paren-delay):
5784 * emacs-lisp/float-sup.el:
5785 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5786 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5787 (lazy-lock-stealth-verbose): Assume float support.
5788 * ps-print.el: Assume float support on Emacs.
5789 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5790 Remove non-float branch.
5792 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5793 src/Makefile no longer being pre-processed.
5795 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * emacs-lisp/find-func.el (find-library): Use test-completion.
5799 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5801 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5803 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5805 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5806 space in stat format string.
5807 (tramp-send-command): Unset $PS1 when using here documents, in
5808 order not to get several prompts.
5809 (tramp-get-inline-coding): Return `nil' in case of errors.
5811 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5813 * hexl.el (hexl-mode, hexl-mode-exit):
5814 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5815 (hexl-revert-buffer-function): New function.
5816 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5818 2010-10-19 Alan Mackenzie <acm@muc.de>
5820 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5821 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5822 that these keywords aren't wrongly matched as identifiers.
5824 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5825 setting of c-new-BEG and c-new-END from c-before-change to
5826 c-after-change. (Bug#7181)
5828 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5830 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5833 * custom.el (custom-theme-set-variables): Likewise.
5834 (load-theme): Add custom-theme-set-faces and
5835 custom-theme-set-variables to safe-functions while loading.
5836 (custom-enabled-themes): Mark as risky.
5838 2010-10-18 Julien Danjou <julien@danjou.info>
5840 * bindings.el: Remove end dashes in default mode-line-format.
5842 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5844 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5845 to delete-forward-char.
5847 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5848 deletechar, and hence delete-forward-char.
5850 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5852 * repeat.el (repeat): Use read-key (bug#6256).
5854 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5856 * emacs-lisp/unsafep.el: Don't mark functions that display
5857 messages as safe. Suggested by Johan Bockgård.
5859 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * minibuffer.el (completion--replace): Move point where it belongs
5862 when there's a common suffix (bug#7215).
5864 2010-10-19 Kenichi Handa <handa@m17n.org>
5866 * international/characters.el: Add category '|' (word breakable)
5867 to fullwidth characters.
5869 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5871 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5872 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5873 order to make stat results a float. Patch by Andreas Schwab
5874 <schwab@linux-m68k.org>.
5876 2010-10-18 Julien Danjou <julien@danjou.info>
5878 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5879 hidden by `make-pointer-invisible'.
5881 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5883 * files.el (locate-file-completion-table): Strip non-matching elements
5884 before checking length of list (bug#7238).
5886 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5888 * custom.el (custom-theme-set-variables): Mark as a safe function.
5889 (load-theme): Check forms using unsafep.
5891 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5893 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5895 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5896 Fix aspell data file searching (bug#7230).
5898 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5900 * cus-theme.el (custom-theme--migrate-settings): New var.
5901 (customize-create-theme): Allow editing the `user' theme.
5902 (custom-theme-add-variable, custom-theme-add-var-1)
5903 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5904 to the front of each variable or face widget.
5905 (custom-theme-write): Save theme settings in the correct order.
5906 Optionally, remove saved settings from user customizations.
5907 (custom-theme-write-variables, custom-theme-write-faces):
5908 Save only the checked widgets.
5909 (customize-themes): Add a link for migrating custom settings.
5911 * custom.el (custom-declare-theme, provide-theme):
5912 Use custom-theme-name-valid-p.
5913 (custom-theme-name-valid-p): Remove checks that are now
5914 unnecessary since themes no longer obey load-path.
5916 * cus-edit.el (custom-variable-value-create): For the simple
5917 style, hide documentation string when hidden.
5919 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5921 * cus-edit.el (custom-variable, custom-face): Combine the
5922 :inhibit-magic and :display-style properties into a single
5923 :custom-style property.
5924 (custom-toggle-hide-variable, custom-toggle-hide-face):
5925 New functions. If hiding an edited value, save it to :shown-value.
5926 (custom-variable-value-create, custom-face-value-create): Use them.
5927 (custom-magic-reset): Allow magic property to be unset.
5929 * custom.el: Custom themes no longer use load-path.
5930 (custom-theme-load-path): New option. Change built-in theme
5932 (custom-enabled-themes): Add custom-theme-load-path dependency.
5933 (custom-theme--load-path): New function.
5934 (load-theme, custom-available-themes): Use it.
5936 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5937 (customize-themes): Link to custom-theme-load-path variable.
5938 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5939 :custom-style property.
5941 * themes/*.el: Moved to etc/.
5943 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5945 * textmodes/reftex-cite.el
5946 (reftex-extract-bib-entries-from-thebibliography): Do not move
5947 point when searching for \bibitem entries. Match entries with
5948 spaces or tabs in front of arguments.
5950 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5952 * cus-theme.el (customize-create-theme): Delete overlays after
5953 erasing. If given a THEME arg, display only the faces of that arg
5954 instead of custom-theme--listed-faces.
5955 (custom-theme-variable-menu, custom-theme-variable-action)
5956 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5957 (custom-theme-add-variable, custom-theme-add-face): Apply value
5958 from the theme settings, instead of the current value.
5959 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5960 (custom-theme-visit-theme): Allow calling outside theme buffers.
5961 (custom-theme-merge-theme): Don't enable the theme when merging.
5962 (custom-theme-write-variables, custom-theme-write-faces): Use the
5963 :shown-value properties to save buffer values, not global ones.
5964 (customize-themes): Display a warning about user customizations.
5966 * cus-edit.el (custom-variable-value-create)
5967 (custom-face-value-create): Obey new special properties
5968 :shown-value and :inhibit-magic.
5970 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5972 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5973 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5976 2010-10-14 Kenichi Handa <handa@m17n.org>
5978 * mail/rmail.el (rmail-show-message-1): Catch an error of
5979 base64-decode-region and just show an error message (bug#7165).
5981 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5982 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5983 a font-spec (bug#7197).
5985 2010-10-14 Glenn Morris <rgm@gnu.org>
5987 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5989 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5991 * international/mule.el (define-coding-system):
5992 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5993 * composite.el (compose-region): Fix typo in docstring.
5995 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5997 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5998 only after checking the theme-face property.
6000 * faces.el (face-spec-reset-face): Reset all attributes in one
6001 single call to set-face-attribute.
6002 (face-spec-match-p): Make it a defsubst.
6003 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6004 (x-create-frame-with-faces, tty-create-frame-with-faces)
6005 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6006 frame-set-background-mode, since they are recomputed immediately
6007 afterwards in face-set-after-frame-default.
6008 (face-set-after-frame-default): Minor optimization.
6009 (cursor): Provide non-trivial defface spec.
6011 * custom.el (custom-theme-recalc-face): Simplify.
6013 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6015 * calc/calc-alg.el (math-var): Rename from `var'.
6016 (math-is-polynomial, math-is-poly-rec): Replace `var'
6019 * calc/calcalg2.el (math-var): Rename from `var'.
6020 (calcFunc-table, math-scan-for-limits): Replace `var'
6023 2010-10-13 Glenn Morris <rgm@gnu.org>
6025 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6027 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6029 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6031 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6033 * net/tls.el (tls-program): Remove spurious %s from openssl.
6034 (tls-starttls-switches): Remove starttls hack.
6035 (open-tls-stream): Ditto.
6036 (tls-find-starttls-argument): Ditto.
6038 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6040 * image.el (image-library-alist): Declare as obsolete alias.
6041 (image-type-available-p): Use `dynamic-library-alist'.
6043 * term/w32-win.el (dynamic-library-alist):
6044 Use instead of `image-library-alist'.
6046 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6048 * subr.el (last): Make it faster. (Bug#7174)
6050 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6052 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6054 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6056 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6057 (describe-theme-1): Extract doc from unloaded themes.
6059 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6061 * themes/tango-theme.el:
6062 * themes/tango-dark-theme.el:
6063 * themes/wheatgrass-theme.el: New files.
6065 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6067 * cus-theme.el (describe-theme, customize-themes)
6068 (custom-theme-save): New commands.
6069 (custom-new-theme-mode-map): Bind C-x C-s.
6070 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6071 (customize-create-theme): New optional arg THEME.
6072 (custom-theme-revert): Use it.
6073 (custom-theme-visit-theme): Remove dead code.
6074 (custom-theme-merge-theme): Use custom-available-themes.
6075 (custom-theme-write): Make interactive.
6076 (custom-theme-write): Use custom-theme-name-valid-p.
6077 (describe-theme-1, custom-theme-choose-revert)
6078 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6080 (custom-theme-allow-multiple-selections): New option.
6081 (custom-theme-choose-mode): New major mode.
6083 * custom.el (custom-theme-set-variables): Remove dead code.
6084 Obey custom--inhibit-theme-enable.
6085 (custom--inhibit-theme-enable): New var.
6086 (provide-theme): Obey it.
6087 (load-theme): Replace load with manual read/eval, in order to
6088 check for correctness. Use custom-theme-name-valid-p.
6089 (custom-theme-name-valid-p): New function.
6090 (custom-available-themes): Use it.
6092 * cus-edit.el (custom--initialize-widget-variables): New function.
6093 (Custom-mode): Use it.
6095 * cus-face.el (custom-theme-set-faces): Remove dead code.
6096 Obey custom--inhibit-theme-enable.
6098 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6100 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6102 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6104 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6106 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6107 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6108 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6110 * cus-start.el (all): ns-right-alternate-modifier is new.
6112 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * emacs-lisp/lisp.el (lisp-completion-at-point):
6115 Use emacs-lisp-mode-syntax-table for the whole function.
6117 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6119 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6120 instead of font-lock-mode before adding keywords.
6121 Remove hi-lock-mode off code. Remove inhibit hack.
6122 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6123 non-nil; removed hook inhibit hack.
6125 2010-10-12 Glenn Morris <rgm@gnu.org>
6127 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6128 (load-path-shadows-find): ... to this.
6129 (list-load-path-shadows): Update for above change.
6131 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6133 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6135 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6136 Fix comment for declare-function.
6138 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6140 * custom.el (custom-fix-face-spec): New function; code moved from
6141 custom-face-edit-fix-value.
6142 (custom-push-theme): Use it when checking if a face has been
6143 changed outside customize.
6144 (custom-available-themes): New function.
6145 (load-theme): Use it.
6147 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6149 * custom.el (custom-push-theme): Cleanup (use cond).
6150 (disable-theme): Recompute the saved-face property.
6151 (custom-theme-recalc-face): Follow face alias before setting prop.
6153 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6154 New variables, containing checkbox images.
6156 * startup.el (fancy-startup-tail):
6157 * wid-edit.el (checkbox): Use them.
6159 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6161 * shell.el (shell-mode-map):
6162 * progmodes/modula2.el (m2-mode-map):
6163 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6164 * play/mpuz.el (mpuz-mode-map):
6165 * play/landmark.el (lm-mode-map):
6166 * play/decipher.el (decipher-mode-map):
6167 * play/5x5.el (5x5-mode-map):
6168 * net/telnet.el (telnet-mode-map):
6169 * net/quickurl.el (quickurl-list-mode-map):
6170 * net/mairix.el (mairix-searches-mode-map):
6171 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6172 * net/dig.el (dig-mode-map):
6173 * mail/mspools.el (mspools-mode-map):
6174 * hexl.el (hexl-mode-map):
6175 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6176 (wordstar-C-o-map, wordstar-C-q-map):
6177 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6178 * emacs-lisp/chart.el (chart-map):
6179 * edmacro.el (edmacro-mode-map):
6180 * erc/erc-list.el (erc-list-menu-mode-map):
6181 * array.el (array-mode-map): Declare and define in one step.
6183 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6185 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6187 * epa.el (epa-passphrase-callback-function): Display filename
6188 passed as the 3rd arg.
6189 * epa-file.el (epa-file-passphrase-callback-function):
6190 Pass filename to epa-passphrase-callback-function.
6192 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6194 * cus-edit.el (custom-face-widget-to-spec)
6195 (custom-face-get-current-spec, custom-face-state): New functions.
6196 (custom-face-set, custom-face-mark-to-save)
6197 (custom-face-value-create, custom-face-state-set): Use them.
6199 * cus-theme.el (custom-theme--listed-faces): New var.
6200 (customize-create-theme): Use *Custom Theme* as the buffer name.
6201 Set revert-buffer-function. Optional arg BUFFER. Insert all
6202 faces listed in custom-theme--listed-faces.
6203 (custom-theme-revert): New function.
6204 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6206 (custom-theme-write): Prompt for theme name if empty.
6207 (custom-theme-write-variables): Use dolist.
6208 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6210 2010-10-09 Alan Mackenzie <acm@muc.de>
6212 Enhance fontification of declarators to take account of the
6213 presence/absence of "typedef".
6215 * cc-engine.el (c-forward-type): New &optional param
6217 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6218 presence of either or both of a "struct"-like keyword and "typedef".
6220 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6221 fontification of declarators which follow a "}".
6222 (c-font-lock-declarations): Fontify declarators according to the
6223 presence/absence of "typedef".
6225 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6227 (c-typedef-decl-key): New lang variable built from
6228 c-typedef-decl-kwds.
6230 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6232 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6233 since that's too annoying. Move the filter groups commands to
6236 * epa.el (epa-passphrase-callback-function): Say what we're
6237 querying the password for.
6239 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6240 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6242 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6244 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6245 (custom-magic-value-create): Pad button tags with spaces.
6246 (custom-face-edit): New variable.
6247 (custom-face-value-create): Determine whether to use the usual
6248 face editor here, instead of using custom-face-selected.
6249 Pass face defaults to custom-face-edit widget.
6250 (custom-face-selected, custom-display-unselected): Delete widgets.
6251 (custom-display-unselected-match): Function removed.
6252 (custom-face-set, custom-face-mark-to-save):
6253 Accept custom-face-edit widgets as the direct widget child.
6255 * wid-edit.el (widget--completing-widget): New var.
6256 (widget-default-complete): Bind it when doing completion.
6257 (widget-string-complete, widget-file-complete): Use it.
6259 2010-10-09 Glenn Morris <rgm@gnu.org>
6261 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6262 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6263 (holiday-hebrew-misc): Small simplifications.
6265 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6267 * net/browse-url.el: Don't require thingatpt, term, dired,
6268 executable, or w3-auto when compiling.
6269 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6271 (browse-url-text-emacs): Require term.
6273 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6275 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6277 2010-10-08 Glenn Morris <rgm@gnu.org>
6279 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6281 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6282 (shadows-compare-text-p): Make it an obsolete alias for...
6283 (load-path-shadows-compare-text): ... new name.
6284 (find-emacs-lisp-shadows): Update for above name change.
6285 (load-path-shadows-same-file-or-nonexistent): New name for the old
6286 shadow-same-file-or-nonexistent.
6288 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6290 * minibuffer.el (completion--some, completion--do-completion)
6291 (minibuffer-complete-and-exit, minibuffer-completion-help)
6292 (completion-basic-try-completion)
6293 (completion-basic-all-completions)
6294 (completion-pcm--find-all-completions): Use lexical-let to
6295 avoid some false matches in variable completion (Bug#7056)
6297 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6299 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6301 2010-10-08 Leo <sdl.web@gmail.com>
6303 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6304 return non-nil if the file exists (Bug#7090).
6306 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6308 * minibuffer.el (completion--replace):
6309 Better preserve markers (bug#7138).
6311 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6313 * server.el (server-process-filter): Doc fix.
6315 2010-10-08 Drew Adams <drew.adams@oracle.com>
6317 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6319 2010-10-08 Glenn Morris <rgm@gnu.org>
6321 * vc/ediff-wind.el (ediff-setup-control-frame):
6322 * vc/ediff-ptch.el (ediff-default-backup-extension):
6323 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6324 (ediff-exec-process): Remove system-types emx, windows-95.
6326 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6328 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6330 * cus-edit.el (custom-variable, custom-face): Doc fix.
6331 (custom-face-edit): Add value-create attribute.
6332 (custom-face-edit-value-create)
6333 (custom-face-edit-value-visibility-action): New functions.
6334 Hide unused face attributes by default, and add a visibility toggle.
6335 (custom-face-edit-deactivate): Show empty values with shadow face.
6336 (custom-face-selected): Only use this for face specs with default
6338 (custom-face-value-create): Cleanup.
6340 * wid-edit.el (widget-checklist-value-create): Use dolist.
6341 (widget-checklist-match-find): Make second arg optional.
6343 2010-10-07 Glenn Morris <rgm@gnu.org>
6345 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6348 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6349 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6350 load-path-shadows-mode, update references.
6351 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6352 Rename variable and button.
6353 (list-load-path-shadows): Update button caller.
6355 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6357 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6358 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6359 (smie-merge-prec2s): Handle those new entries.
6360 (smie-prec2-levels): Only set precedence to nil for actual
6362 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6363 that is now unnecessary.
6365 2010-10-07 Miles Bader <miles@gnu.org>
6367 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6369 2010-10-07 Glenn Morris <rgm@gnu.org>
6371 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6372 (mail-position-on-field): Remove declarations.
6373 (mail-position-on-field): Autoload it.
6374 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6375 and mail-header-end. Don't require sendmail.
6377 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6378 (shadow-mode): New mode.
6379 (shadow-find-file): New button.
6380 (list-load-path-shadows): Use shadow-mode and buttons.
6382 * iimage.el (iimage-version): Remove.
6383 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6384 Turn into defcustoms.
6385 (iimage-mode-map): Give it a doc string.
6387 * calendar/appt.el (appt-activate): Give a warning rather than an error
6388 if there is no diary-file.
6390 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6392 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6393 Use `tramp-handle-find-backup-file-name'.
6395 2010-10-06 Glenn Morris <rgm@gnu.org>
6397 * font-core.el (font-lock-defaults-alist): Remove variable.
6398 (font-lock-mode): Doc fix.
6399 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6400 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6401 (font-lock-set-defaults): Doc fix.
6402 Do not consult font-lock-defaults-alist.
6404 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6406 * emacs-lisp/cl.el: No longer provide cl-19.
6408 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6410 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6411 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6412 New defuns, taken from tramp-smb.el.
6413 (tramp-coding-system-change-eol-conversion)
6414 (tramp-set-process-query-on-exit-flag): Remove.
6416 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6417 (tramp-compat-coding-system-change-eol-conversion)
6418 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6421 * net/tramp-gvfs.el:
6422 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6423 by `tramp-compat-set-process-query-on-exit-flag'.
6425 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6426 Use `tramp-handle-directory-files-and-attributes',
6427 `tramp-handle-file-exists-p' and
6428 `tramp-handle-file-newer-than-file-p'.
6429 (tramp-imap-handle-file-exists-p)
6430 (tramp-imap-handle-file-executable-p)
6431 (tramp-imap-handle-file-readable-p)
6432 (tramp-imap-handle-directory-files-and-attributes)
6433 (tramp-imap-handle-file-newer-than-file-p): Remove.
6435 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6436 by `tramp-compat-set-process-query-on-exit-flag' and
6437 `tramp-coding-system-change-eol-conversion' by
6438 `tramp-compat-coding-system-change-eol-conversion'.
6440 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6441 Use `tramp-handle-directory-files-and-attributes',
6442 `tramp-handle-file-exists-p' and
6443 `tramp-handle-file-newer-than-file-p'.
6444 (tramp-smb-handle-directory-files-and-attributes)
6445 (tramp-smb-handle-file-exists-p)
6446 (tramp-smb-handle-file-newer-than-file-p): Remove.
6447 (tramp-smb-maybe-open-connection):
6448 Replace `tramp-set-process-query-on-exit-flag' by
6449 `tramp-compat-set-process-query-on-exit-flag'.
6451 2010-10-05 Glenn Morris <rgm@gnu.org>
6453 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6455 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6457 Continue reorganization of load dependencies. (Bug#7156)
6459 * net/tramp.el (tramp-handle-file-local-copy-hook)
6460 (tramp-delete-temp-file-function): Move down.
6461 (tramp-exists-file-name-handler): Move up.
6462 (tramp-register-file-name-handlers): Simplify autoload.
6463 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6464 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6465 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6466 (tramp-handle-file-name-completion)
6467 (tramp-handle-file-name-directory)
6468 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6469 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6470 (tramp-handle-find-backup-file-name)
6471 (tramp-handle-insert-file-contents, tramp-handle-load)
6472 (tramp-handle-substitute-in-file-name)
6473 (tramp-handle-unhandled-file-name-directory)
6474 (tramp-mode-string-to-int, tramp-local-host-p)
6475 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6477 * net/tramp-gvfs.el (top):
6478 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6480 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6481 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6483 2010-10-04 Glenn Morris <rgm@gnu.org>
6485 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6486 (appt-activate): Give status messages.
6488 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6490 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6491 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6492 `gnutls-negotiate' (formerly `starttls-negotiate').
6493 Remove trivial wrapper `starttls-open-stream'.
6495 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6497 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6498 log-outgoing commands.
6499 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6500 to create a buffer local revert-buffer-function variable.
6501 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6502 revert-buffer-function lambda.
6504 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6506 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6507 `gnutls-boot'. Make TYPE the only required parameter.
6508 Allow TRUSTFILES and KEYFILES to be lists.
6509 (open-ssl-stream): Use it.
6511 2010-10-03 Glenn Morris <rgm@gnu.org>
6513 * subr.el (directory-sep-char): Remove obsolete variable.
6514 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6517 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6518 * vc/vc.el (vc-static-header-alist): Doc fix.
6519 * vc/vc-cvs.el (vc-cvs-header):
6520 * vc/vc-rcs.el (vc-rcs-header):
6521 * vc/vc-sccs.el (vc-sccs-header):
6522 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6523 * obsolete/vc-mcvs.el (vc-mcvs-header):
6524 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6527 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6529 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6530 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6532 2010-10-03 Glenn Morris <rgm@gnu.org>
6534 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6536 * textmodes/rst.el (rst-font-lock-keywords-function):
6539 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6541 * printing.el: Drop Emacs 20 code.
6543 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6544 without having used appt.el already).
6546 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6547 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6548 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6550 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6551 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6553 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6554 (charset-width, find-charset-region, chars-in-region, forward-point)
6555 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6556 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6557 Remove compatibility cruft (none of these are used by ps*.el).
6559 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6561 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6563 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6565 * server.el (server-process-filter, server-return-error):
6566 Give emacsclient time to shut down after receiving an error string.
6568 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6570 * files.el (remote-file-name-inhibit-cache): New defcustom.
6572 * time.el (display-time-file-nonempty-p):
6573 Use `remote-file-name-inhibit-cache'.
6575 * net/tramp.el (tramp-completion-reread-directory-timeout):
6578 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6579 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6580 `remote-file-name-inhibit-cache'. Check also for an integer
6581 value. Add/increase counter when `tramp-verbose' >= 10.
6582 (tramp-set-file-property): Add/increase counter when
6583 `tramp-verbose' >= 10.
6585 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6586 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6587 (tramp-bug): Set tramp-autoload cookie. Report all interned
6588 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6589 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6590 characters only in strings.
6592 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6593 to backward compatibility.
6595 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6596 (tramp-handle-file-name-all-completions)
6597 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6598 (tramp-open-connection-setup-interactive-shell):
6599 Call `tramp-cleanup-connection' directly.
6601 2010-10-02 Glenn Morris <rgm@gnu.org>
6603 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6605 * subr.el (char-bytes): Remove obsolete function.
6607 * isearch.el (isearch-return-char): Remove obsolete function.
6609 * mouse.el: No longer provide mldrag.
6610 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6611 Remove obsolete aliases.
6613 * comint.el (comint-kill-output): Remove obsolete alias.
6615 * composite.el (decompose-composite-char): Remove obsolete function.
6616 * ps-def.el (decompose-composite-char): Remove unused function.
6618 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6620 * outline.el (outline-visible): Remove obsolete function.
6622 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6623 * faces.el (internal-find-face, internal-get-face)
6624 (frame-update-faces, frame-update-face-colors)
6625 (x-frob-font-weight, x-frob-font-slant)
6626 (internal-frob-font-weight, internal-frob-font-slant)
6627 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6628 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6629 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6631 * emulation/viper-util.el (viper-get-face):
6632 * obsolete/lucid.el (find-face, get-face): Use facep.
6633 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6634 Remove unused functions.
6635 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6637 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6638 delete tempfile if interrupted during compilation.
6640 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6642 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6644 (tls-program): Add --insecure to be consistent with the defaults from
6645 openssl s_client. Now all three commands are insecure.
6647 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6649 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6650 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6651 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6653 2010-10-01 Glenn Morris <rgm@gnu.org>
6655 * obsolete/sc.el: Remove file.
6657 * files.el (temporary-file-directory): On darwin, also try
6658 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6660 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6662 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6663 Let's not break compatibility gratuitously, shall we?
6665 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6667 * net/tls.el (tls-starttls-switches): New variable.
6668 (tls-find-starttls-argument): Use it.
6669 (open-tls-stream): Ditto.
6671 * net/netrc.el (netrc-credentials): Return the value of the "default"
6673 (netrc-machine): Ditto.
6675 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6677 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6679 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6681 * server.el (server-start): Don't write pid to the authentication file.
6682 (server-create-tty-frame): Don't send pid.
6683 (server-process-filter): Send pid at the start of every connection.
6685 2010-09-30 Glenn Morris <rgm@gnu.org>
6687 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6688 (show-all-diary-entries): Remove obsolete function aliases.
6690 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6691 Remove options, obsolete since 22.1.
6692 (appt-display-format, appt-display-message):
6693 Remove backwards-compatibility code.
6694 (appt-check): No longer check appt-issue-message.
6695 (appt-make-list): No longer autoload it. Doc fix. No longer
6696 activate the package.
6698 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6700 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6701 (starttls-negotiate): Just call boot, and let the handshake be
6702 triggered from the read loop.
6704 2010-09-29 Glenn Morris <rgm@gnu.org>
6706 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6707 not displaying the diary.
6708 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6709 * calendar/appt.el (appt-check): No longer need to kill diary.
6711 * calendar/diary-lib.el (diary-list-entries): Move the
6712 "Preparing..." message entirely here.
6713 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6714 messages to diary-list-entries.
6715 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6716 diary-display-function.
6718 * calendar/diary-lib.el (diary-include-other-diary-files):
6719 Trap some recursive includes.
6721 * calendar/appt.el (appt-activate): Check diary file.
6723 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6725 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6728 * calendar/time-date.el: No need to require cl for Emacs 21.
6730 2010-09-28 Glenn Morris <rgm@gnu.org>
6732 * calendar/appt.el (appt-check): Minor simplification.
6734 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6736 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6739 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6741 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6742 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6744 2010-09-27 Kenichi Handa <handa@m17n.org>
6746 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6749 2010-09-27 Kenichi Handa <handa@m17n.org>
6751 * international/mule.el (define-coding-system): Docstring fixed.
6753 * international/mule-diag.el (describe-character-set): Use princ
6754 with proper print-length and print-level instead of insert.
6756 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6758 * window.el (walk-windows): Doc fix (bug#7105).
6760 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * emacs-lisp/float-sup.el (e): Remove.
6764 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6766 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6768 (starttls-negotiate): Use it.
6770 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6772 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6775 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6777 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6779 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6781 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6783 * net/netrc.el (netrc-store-data): New function.
6785 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6787 * net/gnutls.el: GnuTLS glue code to set up a connection.
6789 2010-09-25 Julien Danjou <julien@danjou.info>
6791 * notifications.el: Call dbus-register-signal only if it is bound.
6793 2010-09-25 Glenn Morris <rgm@gnu.org>
6795 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6796 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6797 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6798 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6799 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6800 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6801 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6802 * eshell/esh-util.el, eshell/esh-var.el:
6803 Remove leading `*' from docs of faces and defcustoms.
6805 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6807 * eshell/em-ls.el (eshell-ls-archive-regexp):
6808 * eshell/esh-util.el (eshell-tar-regexp):
6809 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6810 * info.el (Info-suffix-list):
6811 * international/mule.el (auto-coding-alist):
6812 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6813 * progmodes/etags.el (tags-compression-info-list):
6814 Support xz compression.
6816 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6818 * files.el (get-free-disk-space): Don't assume the "df" output
6819 columns line up (Bug#6995).
6821 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6823 * finder.el (finder-unknown-keywords):
6824 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6825 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6827 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6829 * server.el (server-start): Revert part of 2010-08-08 change. Using
6830 address 127.0.0.1 for local host is now done in Fmake_network_process.
6832 2010-09-24 Glenn Morris <rgm@gnu.org>
6834 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6835 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6836 * textmodes/css-mode.el, textmodes/dns-mode.el:
6837 Move autoloaded auto-mode-alist entries to files.el.
6838 * files.el (auto-mode-alist): Move entries here.
6840 2010-09-23 Glenn Morris <rgm@gnu.org>
6842 * isearch.el (isearch-lazy-highlight-cleanup)
6843 (isearch-lazy-highlight-initial-delay)
6844 (isearch-lazy-highlight-interval)
6845 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6846 * net/net-utils.el (ipconfig-program-options):
6847 Move aliases to options before the associated definitions.
6849 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6851 * newcomment.el (comment-normalize-vars): Better test validity of
6854 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6856 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6857 (float-e): New name for `e'.
6858 (degrees-to-radians, radians-to-degrees):
6859 * calendar/solar.el (solar-longitude):
6860 * calculator.el (calculator-registers, calculator-funcall):
6861 * textmodes/artist.el (artist-spray-random-points):
6862 * play/bubbles.el (bubbles--initialize-images): Use new names.
6864 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6866 Update to CEDET 1.0's version of EIEIO.
6868 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6870 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6871 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6872 (class-precedence-list): If class is nil, return nil.
6873 (eieio-generic-call): If class of first input arg is nil, don't
6874 look up static methods, and do check for primary methods.
6875 (initialize-instance): See if the default needs to be evaluated
6876 during the constructor.
6877 (eieio-perform-slot-validation-for-default): Don't do the check
6878 for values that will eventually be evaluated.
6879 (eieio-eval-default-p): New function.
6880 (eieio-default-eval-maybe): Use it.
6882 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6884 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6885 method-invocation-order.
6886 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6887 (eieio-class-precedence-dfs): Compute class precedence list using
6889 (eieio-class-precedence-bfs): Compute class precedence list using
6891 (eieio-class-precedence-c3): Compute class precedence list using
6893 (class-precedence-list): New function.
6894 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6895 (inconsistent-class-hierarchy): New error symbol.
6896 (call-next-method): Stow the replacement argument list for future
6897 call-next-method invocations.
6899 2010-09-23 Glenn Morris <rgm@gnu.org>
6901 * calendar/appt.el (appt-check): If not displaying the diary,
6902 use (diary 1) to only get the entries we need.
6903 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6904 that it is in day order. (Bug#7019)
6906 * calendar/appt.el (appt-check): Rather than showing the diary,
6907 just turn off invisible display, and only if needed.
6909 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6911 2010-09-23 Glenn Morris <rgm@gnu.org>
6913 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6914 (byte-compile-defvar, byte-compile-cl-warn):
6915 Start warnings with lower-case, like the majority.
6917 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6919 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6921 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6922 * files.el (auto-mode-alist): Move ld-script entries here, further down
6925 * vc/add-log.el: Don't require timezone when compiling.
6926 (timezone-make-date-sortable): Autoload it.
6927 (change-log-sortable-date-at): Don't require timezone.
6928 Use `ignore-errors'.
6930 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6931 Move alias before definition, so it does not need autoloading.
6933 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6934 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6935 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6936 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6937 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6938 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6939 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6940 * textmodes/tex-mode.el, textmodes/two-column.el:
6941 Remove leading `*' from docs of defcustoms etc.
6943 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6945 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6947 2010-09-22 Dan Christensen <jdc@uwo.ca>
6949 * calendar/time-date.el (date-to-time): Try using parse-time-string
6950 first before using the slower timezone-make-date-arpa-standard.
6952 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6954 * calendar/time-date.el (format-seconds): Comment fix.
6956 2010-09-22 Glenn Morris <rgm@gnu.org>
6958 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6959 is not automatically buffer-local.
6961 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6963 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6964 (smie-indent-comment): Be more careful with comment-start-skip.
6965 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6966 (smie-indent-functions): Use them.
6968 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6970 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6972 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6974 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6975 tool-bar-position. Don't modify frame parameters here.
6976 (menu-bar-options-save): Add tool-bar-position.
6978 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6980 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6982 * textmodes/reftex-parse.el (reftex-what-macro)
6983 (reftex-context-substring): Let-bind forward-sexp-function to nil
6984 since we don't need/want to treat \begin...\end as a block (bug#7053).
6986 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6988 * simple.el (blink-matching-open): Use syntax-class.
6990 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6991 Set invisibility spec for pascal's outline mode.
6992 (pascal-outline-change): Clean up calling convention.
6993 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6995 * progmodes/prolog.el (prolog-smie-forward-token)
6996 (prolog-smie-backward-token): New functions.
6997 (prolog-mode-variables): Use them to parse "!," correctly.
6998 Set up smie-blink-matching for ".".
7000 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7002 (ispell-region, ispell-process-line): Update users.
7004 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7007 * textmodes/ispell.el: Fix commenting convention.
7008 (ispell-parse-output): Simplify, use push.
7009 (ispell-region): Use match-string-no-properties.
7010 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7011 (ispell-minor-mode): Use define-minor-mode.
7012 (ispell-message): Remove unused var `skip-regexp'.
7013 (ispell-add-per-file-word-list): Use dynamic let-binding.
7014 Try and use the proper comment marker.
7016 * mail/sendmail.el: Fix commenting convention.
7017 (sendmail-send-it): Use line-beginning-position.
7019 * help-fns.el (describe-variable): Add original value, if applicable.
7021 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7023 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7025 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7027 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7030 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7031 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7032 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7033 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7034 something like "." can also be a closer.
7035 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7036 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7037 Rename internal functions to use "--". Update callers.
7039 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7041 * fringe.el (fringe-styles): New var.
7042 (fringe-mode, fringe-query-style): Use it.
7044 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7046 * progmodes/sql.el: Version 2.8
7047 (sql-login-params): Update widget structure; changes still needed.
7048 (sql-product-alist): Add :list-all and :list-table features for
7049 SQLite, Postgres and MySQL products.
7050 (sql-redirect): Handle default value.
7051 (sql-execute, sql-execute-feature): New functions.
7052 (sql-read-table-name): New function.
7053 (sql-list-all, sql-list-table): New functions. User API.
7054 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7055 for above functions.
7056 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7057 for above functions.
7058 (sql-postgres-login-params): Add user and database defaults.
7059 (sql-buffer-live-p): Bug fix.
7060 (sql-product-history): New variable.
7061 (sql-read-product): New function. Use it.
7062 (sql-set-product, sql-product-interactive): Use it.
7063 (sql-connection-history): New variable.
7064 (sql-read-connection): New function. Use it.
7065 (sql-connect): New function.
7066 (sql-for-each-login): Redesign function interface.
7067 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7068 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7069 (sql-comint): Check for program. Existing live buffer.
7070 (sql-comint-postgres): Add port parameter.
7072 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7074 * emacs-lisp/warnings.el: Fix commenting convention.
7075 (display-warning): Use special mode and make the buffer read-only.
7077 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7079 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7080 empty string when it follows a repeated or optional pattern.
7082 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7085 (indent-region): Use indent-according-to-mode.
7087 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7089 * fringe.el (fringe-mode): Doc fix.
7091 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7093 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7094 refreshing the preview buffer.
7096 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7098 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7099 (latex-syntax-propertize-rules): New consts; replace
7100 tex-font-lock-syntactic-keywords.
7101 (tex-env-mark, latex-env-before-change): New functions.
7102 (latex-electric-env-pair-mode): New minor mode.
7103 (tex-font-lock-verb): Change arguments; do move point.
7104 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7105 representation as a form of comment.
7106 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7107 (doctex-syntax-propertize-rules): New const; replaces
7108 doctex-font-lock-syntactic-keywords.
7109 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7111 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7112 (fortran-make-syntax-propertize-function): New function; replaces
7113 fortran-font-lock-syntactic-keywords.
7114 (fortran-mode): Use it.
7115 (fortran-line-length): Use it. Improve interactive spec.
7117 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7118 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7119 when adding surrounding \(..\).
7121 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7123 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7125 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7126 Use with-current-buffer.
7128 * isearch.el (isearch-face): Rename from `isearch'.
7129 (isearch-highlight): Use new name.
7131 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7133 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7134 5, for `half' width fringes. (Bug#6933)
7136 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7138 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7139 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7141 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7143 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7145 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7146 in calculating new frame position. Add more space between new and
7147 parent on the left (Bug#7048).
7149 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7151 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7154 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7156 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7158 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7159 obsolete alias for x-selection-value.
7161 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7163 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7165 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7168 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7170 * net/tramp-compat.el (tramp-compat-with-temp-message)
7171 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7172 (tramp-compat-process-put): New defuns.
7174 * net/tramp.el (top):
7175 * net/tramp-gvfs.el (top):
7176 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7178 * net/tramp.el (tramp-progress-reporter-update):
7179 Use `tramp-compat-funcall'.
7181 * net/tramp.el (tramp-process-actions):
7182 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7183 * net/tramp-sh.el (tramp-handle-vc-registered)
7184 (tramp-get-remote-stat, tramp-get-remote-readlink):
7185 Use `tramp-compat-with-temp-message'.
7187 * net/tramp-sh.el (top): Require 'cl.
7188 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7189 (tramp-open-connection-setup-interactive-shell):
7190 Use `tramp-compat-process-put'.
7192 2010-09-15 Alan Mackenzie <acm@muc.de>
7194 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7196 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7198 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7201 `lexical' for warnings related to lexical scoping.
7202 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7203 global vars which don't have a prefix and could hence affect lexical
7204 scoping in unrelated files.
7206 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7208 * net/imap.el: Revert back to version
7209 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7212 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7214 * obsolete/old-whitespace.el (whitespace-unload-function):
7215 Explicitly pass `obarray' to `unintern' to avoid a warning.
7217 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7219 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7220 Add `when' argument. Update callers.
7222 * subr.el (unintern): Declare the obarray arg mandatory.
7224 2010-09-14 Glenn Morris <rgm@gnu.org>
7226 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7229 * calendar/diary-lib.el (diary-included-files): New variable.
7230 (diary-list-entries): Maybe initialize diary-included-files.
7231 (diary-include-other-diary-files): Append to diary-included-files.
7232 * calendar/appt.el (appt-update-list): Also check the members of
7233 diary-included-files. (Bug#6999)
7234 (appt-check): Doc fix.
7236 2010-09-14 David Reitter <david.reitter@gmail.com>
7238 * simple.el (line-move-visual): Do not truncate goal column to
7239 integer size. (Bug#7020)
7241 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * repeat.el (repeat): Allow repeating when the last event is a click.
7244 Suggested by Drew Adams (bug#6256).
7246 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7248 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7249 Replace setting HGRCPATH to "" by some less invasive --config options.
7251 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7253 * font-lock.el (font-lock-beginning-of-syntax-function):
7256 2010-09-14 Glenn Morris <rgm@gnu.org>
7258 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7259 and tool-bar modes. (Bug#6211)
7260 (menu-bar-mode): Move setting of standard-value after the
7261 minor-mode definition, otherwise it seems to have no effect.
7263 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7265 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7266 Fix typo. (Bug#6976)
7268 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7270 * whitespace.el: Allow cleaning up blanks without blank
7271 visualization (Bug#6651). Adjust help window for
7272 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7273 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7274 (whitespace-style): Add new value 'face. Adjust docstring.
7275 (whitespace-space, whitespace-hspace, whitespace-tab):
7276 Adjust foreground property face.
7277 (whitespace-line-column): Adjust docstring and type declaration.
7278 (whitespace-style-value-list, whitespace-toggle-option-alist)
7279 (whitespace-help-text): Adjust const initialization.
7280 (whitespace-toggle-options, global-whitespace-toggle-options):
7282 (whitespace-display-window, whitespace-interactive-char)
7283 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7284 (whitespace-help-scroll): New fun.
7286 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7288 * calendar/time-date.el (format-seconds): Comment fix.
7290 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7292 * progmodes/sql.el: Version 2.7.
7293 (sql-buffer-live-p): Improve detection.
7294 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7295 (sql-set-sqli-buffer): Use it.
7296 (sql-product-interactive): Run `sql-set-sqli-hook'.
7297 (sql-rename-buffer): Code cleanup.
7298 (sql-redirect, sql-redirect-value): New functions. More to come.
7300 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7302 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.
7303 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7304 (TRAMP_SRC): New macro.
7305 ($(lisp)/net/tramp-loaddefs.el): New target.
7307 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7309 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7311 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7313 * net/tramp.el (top): Don't show loading message. Require just
7314 'tramp-compat, everything else is required there.
7315 Use `ignore-errors' where appropriate.
7316 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7317 (tramp-terminal-type, tramp-end-of-output)
7318 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7319 (tramp-completion-function-alist-ssh)
7320 (tramp-completion-function-alist-telnet)
7321 (tramp-completion-function-alist-su)
7322 (tramp-completion-function-alist-putty, tramp-remote-path)
7323 (tramp-remote-process-environment, tramp-sh-extra-args)
7324 (tramp-actions-before-shell, tramp-uudecode)
7325 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7326 (tramp-perl-file-attributes)
7327 (tramp-perl-directory-files-and-attributes)
7328 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7329 (tramp-perl-encode, tramp-perl-decode)
7330 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7331 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7332 (tramp-handle-make-symbolic-link, tramp-handle-load)
7333 (tramp-handle-file-name-as-directory)
7334 (tramp-handle-file-name-directory)
7335 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7336 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7337 (tramp-do-file-attributes-with-ls)
7338 (tramp-do-file-attributes-with-perl)
7339 (tramp-do-file-attributes-with-stat)
7340 (tramp-handle-set-visited-file-modtime)
7341 (tramp-handle-verify-visited-file-modtime)
7342 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7343 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7344 (tramp-handle-file-selinux-context)
7345 (tramp-handle-set-file-selinux-context)
7346 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7347 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7348 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7349 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7350 (tramp-handle-file-ownership-preserved-p)
7351 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7352 (tramp-handle-directory-files-and-attributes)
7353 (tramp-do-directory-files-and-attributes-with-perl)
7354 (tramp-do-directory-files-and-attributes-with-stat)
7355 (tramp-handle-file-name-all-completions)
7356 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7357 (tramp-handle-copy-file, tramp-handle-copy-directory)
7358 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7359 (tramp-do-copy-or-rename-file-via-buffer)
7360 (tramp-do-copy-or-rename-file-directly)
7361 (tramp-do-copy-or-rename-file-out-of-band)
7362 (tramp-handle-make-directory, tramp-handle-delete-directory)
7363 (tramp-handle-delete-file)
7364 (tramp-handle-dired-recursive-delete-directory)
7365 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7366 (tramp-handle-insert-directory)
7367 (tramp-handle-unhandled-file-name-directory)
7368 (tramp-handle-expand-file-name)
7369 (tramp-handle-substitute-in-file-name)
7370 (tramp-handle-executable-find, tramp-process-sentinel)
7371 (tramp-handle-start-file-process, tramp-handle-process-file)
7372 (tramp-handle-call-process-region, tramp-handle-shell-command)
7373 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7374 (tramp-handle-insert-file-contents)
7375 (tramp-handle-insert-file-contents-literally)
7376 (tramp-handle-find-backup-file-name)
7377 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7378 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7379 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7380 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7381 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7382 (tramp-find-file-exists-command, tramp-open-shell)
7383 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7384 (tramp-open-connection-setup-interactive-shell)
7385 (tramp-local-coding-commands, tramp-remote-coding-commands)
7386 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7387 (tramp-inline-compress-commands, tramp-find-inline-compress)
7388 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7389 (tramp-send-command, tramp-wait-for-output)
7390 (tramp-send-command-and-check, tramp-barf-unless-okay)
7391 (tramp-send-command-and-read, tramp-mode-string-to-int)
7392 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7393 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7394 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7395 (tramp-method-out-of-band-p, tramp-local-host-p)
7396 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7397 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7398 (tramp-get-test-command, tramp-get-test-nt-command)
7399 (tramp-get-file-exists-command, tramp-get-remote-ln)
7400 (tramp-get-remote-perl, tramp-get-remote-stat)
7401 (tramp-get-remote-readlink, tramp-get-remote-trash)
7402 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7403 (tramp-get-local-uid, tramp-get-local-gid)
7404 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7406 (tramp-methods, tramp-default-method-alist)
7407 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7408 Move initialization to tramp-sh.el.
7409 (tramp-temp-name-prefix): Make it a defconst.
7410 (tramp-dissect-file-name): Don't check anymore for multi-hop
7412 (tramp-debug-outline-regexp): Add a docstring.
7413 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7414 (tramp-get-debug-buffer): Use it.
7416 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7417 initialization forms.
7418 (tramp-set-connection-property): Don't protect `tramp-message'
7419 call, it isn't necessary any longer.
7420 (tramp-dump-connection-properties): Use `ignore-errors'.
7422 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7423 'password-cache and 'auth-source.
7425 * net/tramp-gvfs.el (top):
7426 * net/tramp-smb.el (top): Require 'tramp-sh.
7428 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7430 * net/tramp-sh.el: New file, derived from tramp.el.
7431 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7432 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7433 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7434 Use `ignore-errors' where appropriate.
7435 (tramp-sh-file-name-handler-alist): Rename from
7436 `tramp-file-name-handler-alist'.
7437 (tramp-send-command-and-check): Return t or nil. Remove all
7438 `zerop' checks, where called.
7439 (tramp-handle-set-file-modes)
7440 (tramp-do-copy-or-rename-file-directly)
7441 (tramp-handle-delete-directory, tramp-handle-delete-file)
7442 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7443 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7444 (tramp-get-remote-ln): Set tramp-autoload cookie.
7446 * net/tramp-fish.el: Remove file.
7448 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7450 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7451 buffer-file-name to avoid file-locking. (Bug#7026)
7453 2010-09-13 Julien Danjou <julien@danjou.info>
7455 * notifications.el (notifications-notify): Add support for
7456 image-path and sound-name.
7457 (notifications-specification-version): Add this variable.
7459 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7461 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7463 2010-09-12 Leo <sdl.web@gmail.com>
7465 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7466 (rcirc-completion-start): New variables.
7467 (rcirc-nick-completions): Rename to rcirc-completions.
7468 (rcirc-nick-completion-start-offset): Delete.
7469 (rcirc-completion-at-point): New function for constructing
7470 completion data for both nicks and irc commands. Add to
7471 completion-at-point-functions in rcirc mode.
7472 (rcirc-complete): Rename from rcirc-nick-complete; use
7473 rcirc-completion-at-point.
7474 (defun-rcirc-command): Update rcirc-client-commands.
7476 2010-09-11 Glenn Morris <rgm@gnu.org>
7478 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7479 atomically, to avoid parallel build errors. (Bug#4196)
7481 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7483 * progmodes/sql.el: Version 2.6
7484 (sql-dialect): Synonym for "sql-product".
7485 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7486 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7487 Set "sql-buffer" to buffer name not buffer object so multiple sql
7488 interactive buffers work properly. Reverts misguided changes in
7490 (sql-comint): Make sure different buffer name is used if "*SQL*"
7491 buffer is for a different product.
7492 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7494 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7495 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7496 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7497 Accept new buffer name or prompt for one.
7498 (sql-port): Default to zero.
7499 (sql-comint-mysql): Handle "sql-port" as a numeric.
7500 (sql-port-history): Delete unused variable.
7501 (sql-get-login): Default "sql-port" to a number.
7502 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7503 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7504 "sqlite3" executables.
7505 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7506 (sql-buffer-live-p): New function.
7507 (sql-mode-menu, sql-send-string): Use it.
7508 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7510 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7511 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7513 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7515 * net/netrc.el (netrc-credentials): New convenience function.
7517 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7520 to replace texinfo-font-lock-syntactic-keywords.
7521 (texinfo-mode): Use it.
7523 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7524 Use syntax-propertize-function.
7526 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7527 replace sgml-font-lock-syntactic-keywords.
7528 (sgml-mode): Use it.
7530 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7531 since we don't use it.
7533 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7535 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7537 (vhdl-fontify-buffer): Adjust.
7539 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7540 replace tcl-font-lock-syntactic-keywords.
7543 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7544 replace simula-font-lock-syntactic-keywords.
7545 (simula-mode): Use it.
7547 * progmodes/sh-script.el (sh-st-symbol): Remove.
7548 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7549 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7550 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7551 (sh-font-lock-paren): Set syntax-multiline.
7552 (sh-font-lock-syntactic-keywords): Remove.
7553 (sh-syntax-propertize-function): New function to replace it.
7556 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7557 Define while compiling.
7558 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7559 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7560 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7561 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7562 (ruby-here-doc-end-syntax): Only define when
7563 syntax-propertize is not available.
7564 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7566 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7567 (electric-indent-chars): Silence bytecompiler.
7568 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7569 electric-indent-chars.
7571 * progmodes/python.el (python-syntax-propertize-function): New var to
7572 replace python-font-lock-syntactic-keywords.
7573 (python-mode): Use it.
7574 (python-quote-syntax): Simplify and adjust to new use.
7576 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7577 replace perl-font-lock-syntactic-keywords.
7578 (perl-syntax-propertize-special-constructs): New fun to replace
7579 perl-font-lock-special-syntactic-constructs.
7580 (perl-font-lock-syntactic-face-function): New fun.
7581 (perl-mode): Use it.
7583 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7584 to replace octave-font-lock-close-quotes.
7585 (octave-syntax-propertize-function): New function to replace
7586 octave-font-lock-syntactic-keywords.
7587 (octave-mode): Use it.
7589 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7590 replaces mixal-font-lock-syntactic-keywords.
7591 (mixal-mode): Use it.
7593 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7594 New var; replaces makefile-font-lock-syntactic-keywords.
7595 (makefile-mode): Use it.
7596 (makefile-imake-mode): Adjust.
7598 * progmodes/js.el (js--regexp-literal): Define while compiling.
7599 (js-syntax-propertize-function): New var; replaces
7600 js-font-lock-syntactic-keywords.
7603 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7604 replaces gdb-script-font-lock-syntactic-keywords.
7605 (gdb-script-mode): Use it.
7607 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7608 (fortran--font-lock-syntactic-keywords): New var.
7609 (fortran-line-length): Update syntax-propertize-function and
7610 fortran--font-lock-syntactic-keywords.
7612 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7614 * progmodes/cfengine.el (cfengine-mode):
7615 Use syntax-propertize-function.
7616 (cfengine-font-lock-syntactic-keywords): Remove.
7618 * progmodes/autoconf.el (autoconf-mode):
7619 Use syntax-propertize-function.
7620 (autoconf-font-lock-syntactic-keywords): Remove.
7622 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7623 (ada-after-change-function, ada-initialize-syntax-table-properties)
7624 (ada-handle-syntax-table-properties): Only define when
7625 syntax-propertize is not available.
7626 (ada-mode): Use syntax-propertize-function.
7628 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7629 (font-lock-fontify-syntactic-keywords-region): Move handling of
7630 font-lock-syntactically-fontified to...
7631 (font-lock-default-fontify-region): ...here.
7632 Let syntax-propertize-function take precedence.
7633 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7635 * emacs-lisp/syntax.el (syntax-propertize-function)
7636 (syntax-propertize-chunk-size, syntax-propertize--done)
7637 (syntax-propertize-extend-region-functions): New vars.
7638 (syntax-propertize-wholelines, syntax-propertize-multiline)
7639 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7640 (syntax-propertize): New functions.
7641 (syntax-propertize-rules): New macro.
7642 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7643 (syntax-ppss): Call syntax-propertize.
7645 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7647 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7649 * textmodes/ispell.el (ispell-init-process): Improve comments.
7650 XEmacs compatibility changes regarding (add-hook) 'local option
7651 and (set-process-query-on-exit-flag).
7653 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7655 * net/tramp-cache.el (tramp-parse-connection-properties):
7656 Set tramp-autoload cookie.
7658 2010-09-09 Glenn Morris <rgm@gnu.org>
7660 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7661 (imagemagick-register-types): Doc fix.
7663 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7665 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7667 * progmodes/js.el (require): Require is already "eval-and-compile".
7668 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7669 (js--re-search-backward): Use js--re-search-forward.
7671 * progmodes/fortran.el (fortran-line-length): Don't recompute
7672 syntactic keywords redundantly a second time.
7674 * progmodes/ada-mode.el: Replace "(set '" with setq.
7675 (ada-mode): Simplify.
7676 (ada-create-case-exception, ada-adjust-case-interactive)
7677 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7678 (ada-search-ignore-string-comment, ada-move-to-start)
7679 (ada-move-to-end): Use with-syntax-table.
7681 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7682 (font-lock-unfontify-region, font-lock-default-fontify-region):
7683 Update usage correspondingly.
7684 (font-lock-fontify-syntactic-keywords-region):
7685 Set parse-sexp-lookup-properties buffer-locally here.
7686 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7688 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7690 2010-09-08 Glenn Morris <rgm@gnu.org>
7692 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7693 Error if not compiled with -DBYTE_CODE_METER.
7695 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7696 Ignore dir-locals-file.
7698 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7702 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7703 for the `gnu' messages.
7704 (compilation-set-skip-threshold): New command.
7705 (compilation-start): Use \' rather than $.
7706 (compilation-forget-errors): Use clrhash.
7708 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7710 * textmodes/ispell.el (ispell-valid-dictionary-list):
7713 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7715 Migrate to Tramp 2.2. Rearrange load dependencies.
7716 (Bug#1529, Bug#5448, Bug#5705)
7718 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7719 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7720 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7722 * net/tramp.el (top): Remove all other tramp-* loads except
7723 tramp-compat.el. Remove all changes to tramp-unload-hook for
7724 other tramp-* packages. Rearrange defun order. Change calls of
7725 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7726 `tramp-compat-octal-to-decimal' to new function names.
7727 (tramp-terminal-type, tramp-initial-end-of-output)
7728 (tramp-methods, tramp-foreign-file-name-handler-alist)
7729 (tramp-tramp-file-p, tramp-completion-mode-p)
7730 (tramp-send-command-and-check, tramp-get-remote-path)
7731 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7732 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7733 (with-file-property, with-connection-property): Move to
7735 (tramp-local-call-process, tramp-decimal-to-octal)
7736 (tramp-octal-to-decimal): Move to tramp-compat.el.
7737 (tramp-handle-shell-command): Do not require 'shell.
7738 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7740 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7742 * net/tramp-cache.el (top): Require 'tramp. Add to
7743 `tramp-unload-hook'.
7744 (tramp-cache-data, tramp-get-file-property)
7745 (tramp-set-file-property, tramp-flush-file-property)
7746 (tramp-flush-directory-property, tramp-get-connection-property)
7747 (tramp-set-connection-property, tramp-flush-connection-property)
7748 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7750 (with-file-property, with-connection-property): New defuns, moved
7752 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7755 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7756 (tramp-version): Set tramp-autoload cookie.
7758 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7759 changes to tramp-unload-hook for other tramp-* packages. Add to
7760 `tramp-unload-hook'.
7761 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7762 (tramp-compat-call-process): New defuns, moved from tramp.el.
7764 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7765 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7766 Add to `tramp-unload-hook'. Change call of
7767 `tramp-compat-decimal-to-octal' to new function name.
7768 (tramp-fish-method): Make it a defconst.
7769 (tramp-fish-file-name-p): Make it a defsubst.
7770 (tramp-fish-method, tramp-fish-file-name-handler)
7771 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7773 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7774 `tramp-foreign-file-name-handler-alist'. Add to
7775 `tramp-unload-hook'.
7776 (tramp-ftp-method): Make it a defconst.
7777 (tramp-ftp-file-name-p): Make it a defsubst.
7778 (tramp-ftp-method, tramp-ftp-file-name-handler)
7779 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7781 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7782 `tramp-foreign-file-name-handler-alist'. Add to
7783 `tramp-unload-hook'. Change checks, whether package can be
7785 (tramp-gvfs-file-name-p): Make it a defsubst.
7786 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7787 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7788 (tramp-gvfs-handle-file-directory-p): New defun.
7789 (tramp-gvfs-file-name-handler-alist): Use it.
7791 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7792 `tramp-foreign-file-name-handler-alist'. Add to
7793 `tramp-unload-hook'.
7794 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7795 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7797 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7798 (tramp-gw-open-connection): Set tramp-autoload cookie.
7800 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7801 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7802 Add to `tramp-unload-hook'. Change checks, whether package can be
7804 (tramp-imap-file-name-p): Make it a defsubst.
7805 (tramp-imap-method, tramp-imaps-method)
7806 (tramp-imap-file-name-handler)
7807 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7809 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7810 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7811 Add to `tramp-unload-hook'. Change checks, whether package can be
7812 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7814 (tramp-smb-tunnel-method): Make it a defconst.
7815 (tramp-smb-file-name-p): Make it a defsubst.
7816 (tramp-smb-method, tramp-smb-file-name-handler)
7817 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7819 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7820 (tramp-uuencode-region): Set tramp-autoload cookie.
7822 * net/trampver.el (top) Add to `tramp-unload-hook'.
7823 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7824 cookie. Update release number.
7826 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7828 * textmodes/ispell.el (ispell-start-process): Make sure original
7829 arg list is properly initialized (Bug#6993, Bug#6994).
7831 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7833 * files.el (directory-abbrev-alist): Use \` as default regexp.
7835 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7836 chars like - or ] (bug#6984).
7837 (rx-any-condense-range): Explode 2-char ranges.
7839 2010-09-06 Glenn Morris <rgm@gnu.org>
7841 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7843 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7845 * textmodes/bibtex.el:
7846 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7848 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7851 since no callers use it.
7852 (imap-message-get): Ditto.
7853 (imap-message-put): Ditto.
7854 (imap-mailbox-map): Ditto.
7855 (imap-mailbox-put): Ditto.
7856 (imap-mailbox-get): Ditto.
7857 (imap-mailbox-get): Revert last change for this function.
7859 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7862 callers to use `imap-fetch' instead. According to the comments, this
7863 should be safe, since all other IMAP clients use the 1:* syntax.
7864 (imap-enable-exchange-bug-workaround): Remove.
7865 (imap-debug): Remove -- doesn't seem very useful.
7867 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7869 * net/imap.el (imap-log): New convenience function used throughout
7870 instead of repeating the same code all over the place.
7872 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7874 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7875 when mouse-drag-copy-region is non-nil (Bug#6956).
7877 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7879 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7880 Improve regexps (Bug#6987).
7881 (dired-sort-toggle): Search more robustly for -t flag.
7883 * files.el (get-free-disk-space): Search more robustly for
7884 "available" column. Suggested by Ehud Karni
7885 <ehud@unix.mvs.co.il>.
7887 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7889 * international/uni-bidi.el:
7890 * international/uni-category.el:
7891 * international/uni-combining.el:
7892 * international/uni-decimal.el:
7893 * international/uni-mirrored.el:
7894 * international/uni-name.el: Regenerate.
7896 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7898 * electric.el (electric-indent-post-self-insert-function):
7899 Don't reindent with a sloppy indentation function.
7901 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7902 border case in change-log-mode.
7904 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7907 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7908 Recognize leading tab in gcc-include regexp. Ignore names with
7909 leading "from" or "in" in gnu regexp (Bug#6937).
7911 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7913 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7914 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7915 (ispell-start-process): Avoid setq and simplify logic.
7916 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7917 (kill-buffer-hook): Don't use it globally with code that uses
7918 expand-file-name since that may call kill-buffer via
7919 code_conversion_restore.
7921 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7923 * emacs-lisp/package.el (package-directory-list): Only call
7924 file-name-nondirectory on a string.
7926 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7928 * emacs-lisp/package.el (package--download-one-archive):
7929 Ensure that archive-contents is valid before saving it.
7930 (package-activate-1, package-mark-obsolete, define-package)
7931 (package-compute-transaction, package-list-maybe-add): Use push.
7933 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7935 Use SMIE's blink-paren for octave-mode.
7936 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7937 Backslashes do not escape single-quotes, single-quotes do.
7938 (octave-block-else-regexp, octave-block-end-regexp)
7939 (octave-block-match-alist): Remove.
7940 (octave-smie-bnf-table): New var, with old content.
7941 (octave-smie-op-levels): Use it.
7942 (octave-smie-closer-alist): New var.
7943 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7944 (octave-blink-matching-block-open): Remove.
7945 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7946 (octave-electric-space): Let self-insert-command run expand-abbrev and
7949 * electric.el (electricity): New group.
7950 (electric-indent-chars): New var.
7951 (electric-indent-post-self-insert-function): New fun.
7952 (electric-indent-mode): New minor mode.
7953 (electric-pair-skip-self): New custom.
7954 (electric-pair-post-self-insert-function): New function.
7955 (electric-pair-mode): New minor mode.
7957 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7958 calcAlg-blink-matching-open.
7959 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7960 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7961 Use the new blink-matching-check-function.
7963 Provide blink-matching support to SMIE.
7964 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7965 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7966 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7968 * simple.el (newline): Fix last change to properly remove itself from
7971 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7973 * simple.el (newline): Eliminate optimization.
7974 Use post-self-insert-hook to set hard-newline and things before
7975 running post-self-insert-hook.
7976 (blink-matching-check-mismatch): New function.
7977 (blink-matching-check-function): New variable.
7978 (blink-matching-open): Use them.
7979 Skip back forward over prefix chars skipped by forward-sexp.
7980 Don't check if the parens are backslash escaped.
7981 (blink-paren-post-self-insert-function): Check backslash escaping here.
7983 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7985 * emacs-lisp/package.el (package-menu-mode-map):
7986 Change package-menu-revert bindings to revert-buffer.
7987 (package-menu-mode): Set revert-buffer-function.
7988 (package-menu-revert): Doc fix.
7990 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7992 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7993 `default-directory' unless using Ispell per-directory personal
7994 dictionaries and not in a mini-buffer under XEmacs.
7995 (kill-buffer-hook): Do not kill ispell process on exit when
7996 `ispell-process-directory' is "~/". (Bug#6143)
7998 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8000 * simple.el (kill-new): Call interprogram-cut-function with only
8003 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8004 Remove cut buffer from error message.
8006 * term/x-win.el (x-select-text):
8007 * term/pc-win.el (x-selection-value):
8008 * term/ns-win.el (x-selection-value):
8009 * eshell/em-term.el:
8010 * w32-fns.el (x-get-selection-value):
8011 * mouse-sel.el (mouse-sel-set-selection-function):
8012 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8014 * term/x-win.el: Update documentation for x-last-selected-text-*.
8015 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8016 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8017 (x-select-text): Remove argument PUSH, update documentation.
8018 Remove cut-buffer code.
8019 (x-selection-value-internal): Was previously x-selection-value.
8020 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8021 Update documentation, remove cut-buffer code.
8022 Call x-selection-value-internal.
8023 (x-clipboard-yank): Call x-selection-value-internal.
8024 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8026 * term/pc-win.el (x-last-selected-text):
8027 x-cut-buffer-or-selection-value renamed to x-selection-value
8028 (x-select-text): Remove argument PUSH, update documentation.
8030 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8031 x-cut-buffer-or-selection-value renamed to x-selection-value
8032 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8033 (x-select-text): Remove argument PUSH, update documentation.
8035 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8037 * w32-fns.el (x-last-selected-text):
8038 x-cut-buffer-or-selection-value renamed to x-selection-value.
8039 (x-cut-buffer-max): Remove.
8040 (x-select-text): Remove argument PUSH, update documentation.
8042 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8044 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8046 * mouse-sel.el (mouse-sel-get-selection-function):
8047 x-cut-buffer-or-selection-value renamed to x-selection-value.
8048 (x-select-text): Remove optional push.
8050 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * simple.el (blink-paren-function): Move from C to here.
8053 (blink-paren-post-self-insert-function): New function.
8054 (post-self-insert-hook): Use it.
8056 * emacs-lisp/pcase.el (pcase-split-memq):
8057 Fix overenthusiastic optimisation.
8058 (pcase-u1): Handle the case of a lambda pred.
8060 2010-08-31 Kenichi Handa <handa@m17n.org>
8062 * international/mule-cmds.el (standard-display-european-internal):
8063 Setup standard-display-table for 8-bit characters by storing 8-bit
8064 characters in the element vector.
8066 * disp-table.el (standard-display-8bit):
8067 Setup standard-display-table for 8-bit characters by storing 8-bit
8068 characters in the element vector.
8069 (standard-display-european): Likewise.
8071 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8073 * textmodes/nroff-mode.el (nroff-view): New command.
8074 (nroff-mode-map): Bind it to C-c C-c.
8076 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * emacs-lisp/smie.el (smie-down-list): New command.
8080 Remove old indentation and navigation code on octave-mode.
8081 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8082 smie-down-list rather than add a binding for octave-down-block.
8083 (octave-mark-block, octave-blink-matching-block-open):
8084 Rely on forward-sexp-function.
8085 (octave-fill-paragraph): Don't narrow, so you can use
8086 indent-according-to-mode.
8087 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8088 (octave-in-block-p, octave-re-search-forward-kw)
8089 (octave-re-search-backward-kw, octave-indent-calculate)
8090 (octave-end-as-array-index-p, octave-block-end-offset)
8091 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8092 (octave-down-block, octave-backward-up-block, octave-up-block)
8093 (octave-before-magic-comment-p, octave-indent-line): Remove.
8095 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8097 * emacs-lisp/package.el (package--read-archive-file): Just use
8098 `read', to avoid copying an additional string.
8099 (package-menu-mode): Set header-line-format here.
8100 (package-menu-refresh, package-menu-revert): Signal an error if
8101 not in the Package Menu.
8102 (package-menu-package-list): New var.
8103 (package--generate-package-list): Operate on the current buffer;
8104 don't assume that it is *Packages*, since the user may rename it.
8105 Allow persistent package listings and sort keys using
8106 package-menu-package-list and package-menu-package-sort-key.
8107 (package-menu--version-predicate): Fix version calculation.
8108 (package-menu-sort-by-column): Don't select the window.
8109 (package--list-packages): Create the *Packages* buffer.
8110 Set package-menu-package-list-key.
8111 (list-packages): Sorting by status is now the default.
8112 (package-buffer-info): Use match-string-no-properties.
8113 (define-package): Add a &rest argument for future proofing, but
8115 (package-install-from-buffer, package-install-buffer-internal):
8116 Merge into a single function, package-install-from-buffer.
8117 (package-install-file): Change caller.
8119 * finder.el: Load finder-inf using `require'.
8120 (finder-list-matches): Sorting by status is now the default.
8121 (finder-compile-keywords): Simpify printing.
8123 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8125 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8126 (octave-mode-map): Remove special bindings for forward/backward-block
8127 and octave-backward-up-block. Use smie-close-block.
8128 (octave-continuation-marker-regexp): New var.
8129 (octave-continuation-regexp): Use it.
8130 (octave-operator-table, octave-smie-op-levels)
8131 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8132 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8133 (octave-mode): Use SMIE.
8134 (octave-close-block): Delete.
8136 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8138 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8139 CLIPBOARD, not in PRIMARY. (Bug#6944)
8141 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8143 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8145 (smie-indent-column): Allow indirection through variables.
8147 * composite.el (save-buffer-state): Delete, unused.
8148 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8149 (font-lock-default-fontify-region): Use with-syntax-table.
8150 * jit-lock.el (with-buffer-unmodified): Remove.
8151 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8153 Use `declare' in defmacros.
8154 * window.el (save-selected-window):
8155 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8156 * progmodes/python.el (def-python-skeleton):
8157 * net/dbus.el (dbus-ignore-errors):
8158 * jka-cmpr-hook.el (with-auto-compression-mode):
8159 * international/mule.el (with-category-table):
8160 * emacs-lisp/timer.el (with-timeout):
8161 * emacs-lisp/lisp-mnt.el (lm-with-file):
8162 * emacs-lisp/eieio.el (with-slots):
8163 * emacs-lisp/easymenu.el (easy-menu-define):
8164 * emacs-lisp/debug.el (debugger-env-macro):
8165 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8166 (Multiple-value-call, Multiple-value-prog1):
8167 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8168 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8169 edebug rule to definition.
8170 * emacs-lisp/lisp-mode.el (save-selected-window)
8171 (with-current-buffer, combine-after-change-calls)
8172 (with-output-to-string, with-temp-file, with-temp-buffer)
8173 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8174 (dolist, dotimes, when, unless):
8175 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8177 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8179 * finder.el: Require `package'.
8180 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8181 (finder-package-info): Var deleted.
8182 (finder-keywords-hash, finder--builtins-alist): New vars.
8183 (finder-compile-keywords): Compute package--builtins and
8184 finder-keywords-hash instead of finder-keywords-hash, respecting
8185 the "Package" header.
8186 (finder-unknown-keywords, finder-list-matches):
8187 Use finder-keywords-hash and package--list-packages.
8188 (finder-mode): Don't set font-lock-defaults.
8189 (finder-exit): We don't use "*Finder-package*" and "*Finder
8190 Category*" buffers anymore.
8192 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8193 (package--builtins): Set default value to nil.
8194 (package-initialize): Load precomputed value of package--builtins
8196 (package-alist, package-compute-transaction)
8197 (package-download-transaction): Improve docstring.
8198 (package-read-all-archive-contents): Do not change
8199 package--builtins here.
8200 (list-packages): Make package-list-packages an alias for this.
8201 Sort by status by default.
8202 (package--list-packages): Add optional PACKAGES arg.
8203 (describe-package-1): Use font-lock-face property. For built-in
8204 packages, insert file commentary.
8205 (package--generate-package-list): Rename from
8206 package-list-packages-internal; all callers changed. Add optional
8207 PACKAGES arg. Add alphabetical sort fallbacks.
8208 (package-menu--version-predicate, package-menu--status-predicate)
8209 (package-menu--description-predicate)
8210 (package-menu--name-predicate): New functions.
8212 * info.el (Info-finder-find-node): Search package-alist instead of
8213 finder-package-info.
8215 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8217 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8219 (version-to-list): Handle versions like "10.3d".
8221 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8224 (macroexp-accumulate): Use `declare'.
8226 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8228 * whitespace.el (whitespace-style): Adjust type declaration.
8230 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8232 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8234 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8236 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8239 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8241 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8242 (js-paren-indent-offset, js-square-indent-offset)
8243 (js-curly-indent-offset): New options.
8244 (js--proper-indentation): Use them.
8246 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8248 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8249 instead of inspecting font-lock properties (Bug#6916).
8251 2010-08-26 David Reitter <david.reitter@gmail.com>
8253 * server.el (server-visit-files): Run pre-command-hook and
8254 post-command-hook for each buffer while it is current (Bug#6910).
8255 (server-execute): Do not run hooks here.
8257 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8259 Sync with Tramp 2.1.19.
8261 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8263 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8265 * net/tramp.el (tramp-handle-expand-file-name)
8266 (tramp-completion-handle-file-name-all-completions)
8267 (tramp-completion-handle-file-name-completion):
8268 Use `tramp-connectable-p'.
8270 * net/trampver.el: Update release number.
8272 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8274 * help.el (help-map): Bind `C-h P' to describe-package.
8276 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8278 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8279 when downloading archives.
8280 (describe-package-1): Add package commentary.
8281 (package-install-button-action): New function.
8282 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8283 (package-menu-view-commentary): Function removed.
8284 (package-list-packages-internal): Hide the `package' package too.
8286 2010-08-25 Kenichi Handa <handa@m17n.org>
8288 * language/misc-lang.el ("Arabic"): New language environment.
8289 Setup composition-function-table for Arabic characters.
8291 * international/fontset.el (setup-default-fontset): Fix typo for
8292 arabic OTF spec (fini->fina).
8294 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8296 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8299 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8301 * whitespace.el: Allow cleaning up blanks without blank
8302 visualization (Bug#6651). Adjust help window for
8303 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8304 instead of whitespace-line-column (from EmacsWiki). New version
8306 (whitespace-style): Add new value 'face. Adjust docstring.
8307 (whitespace-space, whitespace-hspace, whitespace-tab):
8308 Adjust foreground property face.
8309 (whitespace-line-column): Adjust docstring and type declaration.
8310 (whitespace-style-value-list, whitespace-toggle-option-alist)
8311 (whitespace-help-text): Adjust const initialization.
8312 (whitespace-toggle-options, global-whitespace-toggle-options):
8314 (whitespace-display-window, whitespace-interactive-char)
8315 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8316 (whitespace-help-scroll): New fun.
8318 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8320 * emacs-lisp/package.el (list-packages): Alias for
8321 package-list-packages.
8323 2010-08-24 Kevin Ryde <user42@zip.com.au>
8325 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8328 * progmodes/ruby-mode.el (ruby): Add defgroup.
8330 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8332 * progmodes/python.el: Add Ipython support (Bug#5390).
8333 (python-shell-prompt-alist)
8334 (python-shell-continuation-prompt-alist): New options.
8335 (python--set-prompt-regexp): New function.
8336 (inferior-python-mode, run-python, python-shell):
8337 Require ansi-color. Use python--set-prompt-regexp to set the comint
8338 prompt based on the Python interpreter.
8339 (python--prompt-regexp): New var.
8340 (python-check-comint-prompt)
8341 (python-comint-output-filter-function): Use it.
8342 (run-python): Use a pipe (Bug#5694).
8344 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8346 * progmodes/python.el (python-send-region): Send a different
8347 Python command if Ipython is in use.
8348 (python-check-version): Use a Python command to find the version.
8350 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8352 * mouse.el (mouse-yank-primary): Avoid setting primary when
8353 deactivating the mark (Bug#6872).
8355 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8357 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8358 with "else" (Bug#3991).
8360 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8362 * net/dbus.el: Accept UNIX domain sockets as bus address.
8363 (top): Don't initialize `dbus-registered-objects-table' anymore,
8364 this is done in dbusbind.c.
8365 (dbus-check-event): Adapt test for bus.
8366 (dbus-return-values-table, dbus-unregister-service)
8367 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8370 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8372 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8374 2010-08-22 Juri Linkov <juri@jurta.org>
8376 * simple.el (read-extended-command): New function with the logic
8377 for `completing-read' moved to Elisp from `execute-extended-command'.
8378 Use `function-called-at-point' in `minibuffer-default-add-function'
8379 to get a command name for M-n (bug#5364, bug#5214).
8381 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8383 * startup.el (command-line-1): Issue warning for ignored arguments
8384 --unibyte, etc (Bug#6886).
8386 2010-08-22 Leo <sdl.web@gmail.com>
8388 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8389 (ignore, bright, dim, keyword): Split list of nicknames before
8390 passing to rcirc-add-or-remove (Bug#6894).
8392 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8394 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8396 2010-08-22 Leo <sdl.web@gmail.com>
8398 Fix buffer-list rename&refresh after killing a buffer in ido.
8399 * ido.el: Revert Óscar's.
8400 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8401 Remember the buffers at head, rather than their name.
8402 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8404 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8405 Stefan Monnier <monnier@iro.umontreal.ca>
8407 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8408 extra backslash added to each line (bug#6890).
8410 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8412 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8414 2010-08-22 Glenn Morris <rgm@gnu.org>
8416 * menu-bar.el (menu-bar-games-menu): Add landmark.
8418 2010-08-22 Glenn Morris <rgm@gnu.org>
8420 * align.el (align-regexp): Make group and spacing arguments
8421 use the interactive defaults when non-interactive. (Bug#6698)
8423 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8424 expansion, so as not to need sendmail.
8425 (mail-text-start): Remove declaration.
8426 (rmail-retry-failure): Require sendmail.
8428 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8430 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8432 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8434 * progmodes/flymake.el (flymake-start-syntax-check-process):
8435 Use `start-file-process' in order to let it run also on remote hosts.
8437 2010-08-22 Kenichi Handa <handa@m17n.org>
8439 * files.el: Add `word-wrap' as safe local variable.
8441 2010-08-22 Glenn Morris <rgm@gnu.org>
8443 * woman.el (woman-translate): Case matters. (Bug#6849)
8445 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8447 * simple.el (kill-region): Doc fix (Bug#6787).
8449 2010-08-22 Glenn Morris <rgm@gnu.org>
8451 * calendar/diary-lib.el (diary-header-line-format):
8452 Fit it to the window, not the frame.
8454 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8456 * subr.el (ignore-errors): Add debug declaration.
8458 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8460 * whitespace.el (whitespace-color-off): Remove post-command-hook
8463 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8467 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8469 * cus-edit.el (custom-group-value-create): Add extra newline
8470 before end line (Bug#6876).
8472 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8474 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8475 when extending it. Before killing on the second click, check if
8476 the buffer is the correct one. Doc fix.
8477 (mouse-secondary-save-then-kill): Allow usage without first
8478 calling mouse-start-secondary, by defaulting to point. Don't save
8479 an empty secondary selection. Doc fix.
8481 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8483 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8484 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8486 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8487 Adjust initialization.
8488 (whitespace-bob-marker, whitespace-eob-marker)
8489 (whitespace-buffer-changed): New vars.
8490 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8491 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8492 (whitespace-post-command-hook, whitespace-display-char-on):
8494 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8495 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8497 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8499 * files.el (locate-file-completion-table): Only list the .el and .elc
8500 extensions if there's no other choice (bug#5955).
8502 * facemenu.el (facemenu-self-insert-data): New var.
8503 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8505 (facemenu-add-face): Use them.
8507 * simple.el (blink-matching-open): Obey forward-sexp-function.
8509 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8511 * simple.el (prog-mode-map): New var.
8512 (prog-indent-sexp): New command.
8514 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8516 * progmodes/prolog.el (smie): Require.
8518 * emacs-lisp/smie.el (smie-default-backward-token)
8519 (smie-default-forward-token): Strip properties.
8520 (smie-next-sexp): Be more careful with associative operators.
8521 (smie-forward-sexp-command): Generalize.
8522 (smie-backward-sexp-command): Simplify.
8523 (smie-closer-alist): New var.
8524 (smie-close-block): New command.
8525 (smie-indent-debug-log): New var.
8526 (smie-indent-offset-rule): Add a few more cases.
8527 (smie-indent-column): New function.
8528 (smie-indent-after-keyword): Use it.
8529 (smie-indent-keyword): Use it.
8530 Fix up the opener code's point position.
8531 (smie-indent-comment): Only applies at BOL.
8532 (smie-indent-debug): New command.
8534 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8535 declarations that are useful before running the macro.
8537 2010-08-18 Joakim Verona <joakim@verona.se>
8539 * image.el (imagemagick-types-inhibit): New variable.
8540 (imagemagick-register-types): New function.
8541 * image-mode.el (image-transform-properties): New function.
8542 (image-transform-set-scale, image-transform-fit-to-height)
8543 (image-transform-set-rotation, image-transform-set-resize)
8544 (image-transform-fit-to-width, image-transform-fit-to-height):
8546 (image-toggle-display-image): Support image transforms.
8548 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8550 * image.el (create-animated-image): Don't add heuristic mask to image
8553 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8555 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8556 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8558 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8560 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8562 Font-lock '...' strings, plus various simplifications and fixes.
8563 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8564 (octave-font-lock-close-quotes): New function.
8565 (octave-font-lock-syntactic-keywords): New var.
8566 (octave-mode): Use it. Set beginning-of-defun-function.
8567 (octave-mode-map): Don't override the <foo>-defun commands.
8568 (octave-mode-menu): Pass it directly to easy-menu-define;
8569 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8570 (octave-block-match-alist): Fix up last change so that
8571 octave-close-block uses the more specific keyword.
8572 (info-lookup-mode): Silence byte-compiler.
8573 (octave-beginning-of-defun): Not interactive any more.
8575 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8576 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8577 (octave-completion-at-point-function): Make sure point is within
8579 (octave-reindent-then-newline-and-indent):
8580 Use reindent-then-newline-and-indent.
8581 (octave-add-octave-menu): Remove.
8583 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8585 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8586 (report-emacs-bug-can-use-xdg-email): New functions.
8587 (report-emacs-bug): Set can-xdg-email to result of
8588 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8589 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8592 * net/browse-url.el (browse-url-default-browser): Add cond
8593 for browse-url-xdg-open.
8594 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8596 2010-08-17 Glenn Morris <rgm@gnu.org>
8598 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8599 (c-fontify-recorded-types-and-refs): Define for compiler.
8600 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8603 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8606 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8608 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8610 (tramp-handle-process-file): Call the program in a subshell, in
8611 order to preserve working directory.
8612 (tramp-action-password): Hide password prompt before next run.
8613 (tramp-process-actions): Widen connection buffer for the trace.
8615 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8617 * net/rcirc.el (rcirc-log-process-buffers): New option.
8618 (rcirc-print): Use it.
8619 (rcirc-generate-log-filename): New function.
8620 (rcirc-log-filename-function): Change default to
8621 rcirc-generate-log-filename (Bug#6828).
8623 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8625 * simple.el (deactivate-mark): If select-active-regions is `only',
8626 only set selection for temporarily active regions.
8628 * cus-start.el: Change defcustom for select-active-regions.
8630 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8632 * mouse.el (mouse--drag-set-mark-and-point): New function.
8633 (mouse-drag-track): Use LOCATION arg to push-mark.
8634 Use mouse--drag-set-mark-and-point to take click-count into
8635 consideration when updating point and mark (Bug#6840).
8637 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8640 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8642 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8644 * font-lock.el (lisp-font-lock-keywords-2):
8645 Add combine-after-change-calls, condition-case-no-debug,
8646 with-demoted-errors, and with-silent-modifications (Bug#6025).
8648 2010-08-14 Kevin Ryde <user42@zip.com.au>
8650 * emacs-lisp/copyright.el (copyright-update-year)
8651 (copyright-update): Temporary switch-to-buffer to ensure the
8652 buffer change being queried is visible (Bug#5394).
8654 2010-08-14 Tom Tromey <tromey@redhat.com>
8656 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8659 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8661 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8664 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8666 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8667 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8668 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8669 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8670 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8671 Call menu-bar-set-tool-bar-position.
8673 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8675 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8676 comment style (bug#6834).
8677 * progmodes/scheme.el (scheme-mode-syntax-table):
8678 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8679 "b" flag in "' 14b" syntax.
8681 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8682 for (un)commenting the region and performing completion.
8683 (octave-mode-menu): Use standard commands for help and completion.
8684 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8685 (octave-mode): Use define-derived-mode.
8686 Set completion-at-point-functions and don't set columns.
8687 Don't disable adaptive-fill-regexp.
8688 (octave-describe-major-mode, octave-comment-region)
8689 (octave-uncomment-region, octave-comment-indent)
8690 (octave-indent-for-comment): Remove.
8691 (octave-indent-calculate): Rename from calculate-octave-indent.
8692 (octave-indent-line, octave-fill-paragraph): Update caller.
8693 (octave-initialize-completions): No need to make an alist.
8694 (octave-completion-at-point-function): New function.
8695 (octave-complete-symbol): Use it.
8696 (octave-insert-defun): Use define-skeleton.
8698 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8699 (octave-mode-map): Use comment-dwim (bug#6829).
8701 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8703 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8704 indentation of inserted comment.
8706 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8708 * faces.el (region): Add type gtk that uses gtk colors.
8710 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8711 Handle theme-name change.
8713 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8715 * progmodes/sql.el: Version 2.5
8716 (sql-product-alist): Add :prompt-cont-regexp property for several
8718 (sql-prompt-cont-regexp): New variable.
8719 (sql-output-newline-count, sql-output-by-send):
8720 New variables. Record number of newlines in input text.
8721 (sql-send-string): Handle multiple filters and count newlines.
8722 (sql-send-magic-terminator): Count terminator newline.
8723 (sql-interactive-remove-continuation-prompt): Filters output to
8724 remove continuation prompts; one for each newline.
8725 (sql-interactive-mode): Set up new variables, prompt regexp and
8727 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8728 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8730 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * emacs-lisp/pcase.el: New file.
8734 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8736 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8737 as here-document, otherwise the command could exceed maximum
8738 length of command line.
8739 (tramp-handle-vc-registered): Call script accordingly.
8740 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8742 2010-08-10 Kenichi Handa <handa@m17n.org>
8744 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8747 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8749 * emacs-lisp/package.el (package-version-split)
8750 (package--version-first-nonzero, package-version-compare):
8752 (package-directory-list, package-load-all-descriptors)
8753 (package--built-in, package-activate, define-package)
8754 (package-installed-p, package-compute-transaction)
8755 (package-read-all-archive-contents)
8756 (package--add-to-archive-contents, package-buffer-info)
8757 (package-tar-file-info, package-list-packages-internal):
8758 Use version-to-list and version-list-*.
8760 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8761 Use version-to-list.
8762 (package-upload-buffer-internal): Use version-list-<=.
8764 2010-08-09 Kenichi Handa <handa@m17n.org>
8766 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8769 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8771 * tutorial.el (tutorial--default-keys): C-d is now bound to
8772 delete-forward-char (Bug#6826).
8774 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8775 for `double' value of mouse-1-click-follows-link (Bug#6807).
8777 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8779 * replace.el (replace-highlight): Bind isearch-forward and
8780 isearch-error, ensuring that highlighting is updated if the user
8781 switches the search direction (Bug#6808).
8783 * isearch.el (isearch-lazy-highlight-forward): New var.
8784 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8785 (isearch-lazy-highlight-update): Use it.
8787 2010-08-08 Kenichi Handa <handa@m17n.org>
8789 * international/mule.el (define-charset): Store NAME as :base property.
8790 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8791 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8792 current priority. Force using the designation of the specific
8793 charset by adding `charset' text property. Improve the whole algorithm.
8795 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8797 * emulation/pc-select.el (pc-selection-mode-hook)
8798 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8799 (pc-selection-mode): Fix typos in docstrings.
8801 2010-08-08 Kenichi Handa <handa@m17n.org>
8803 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8804 ctext-non-standard-encodings-alist here.
8806 * international/mule.el (ctext-non-standard-encodings-alist):
8807 Add "koi8-r" and "microsoft-cp1251".
8808 (ctext-standard-encodings): New variable.
8809 (ctext-non-standard-encodings-table): List only elements for
8810 non-standard encodings.
8811 (ctext-pre-write-conversion): Adjust for the above change.
8812 Check ctext-standard-encodings.
8814 * international/mule-conf.el (compound-text): Doc fix.
8815 (ctext-no-compositions): Doc fix.
8816 (compound-text-with-extensions): Doc fix.
8818 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8822 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8824 * progmodes/which-func.el (which-func-format): Split help-echo text
8825 into lines, like other mode-line tooltips.
8827 * server.el (server-start): When using TCP sockets, force IPv4
8828 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8830 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8834 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8836 * term.el (term-delimiter-argument-list): Reflow docstring.
8837 (term-read-input-ring, term-write-input-ring, term-send-input)
8838 (term-bol, term-erase-in-display, serial-supported-or-barf):
8839 Fix typos in docstrings.
8841 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8843 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8845 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8847 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8849 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8851 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8852 Fix typo in docstring (bug#6747).
8854 2010-08-08 Leo <sdl.web@gmail.com>
8856 * eshell/esh-io.el (eshell-get-target): Better detection of
8857 read-only file (Bug#6762).
8859 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8861 * align.el (align-default-spacing): Doc fix.
8862 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8864 2010-08-08 Stephen Peters <speters@itasoftware.com>
8866 * calendar/icalendar.el
8867 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8868 (icalendar--get-weekday-numbers): New.
8869 (icalendar--convert-recurring-to-diary): Handle multiple byday
8870 values in weekly rules. (Bug#6766)
8872 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8874 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8875 (icalendar--create-uid, icalendar-export-region)
8876 (icalendar--parse-summary-and-rest): Code formatting.
8878 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8880 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8881 to italicize headers.
8882 (calc-highlight-selections-with-faces): New variable.
8883 (calc-selected-face, calc-nonselected-face): New faces.
8885 * calc/calccomp.el (math-comp-highlight-string): Use
8886 `calc-highlight-selections-with-faces' to determine how to highlight
8889 * calc/calc-sel.el (calc-show-selections): Change message to when
8890 using faces to highlight selections.
8892 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8894 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8895 Add SQLite 3 keywords, functions and datatypes.
8896 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8899 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8901 * simple.el (select-active-regions): Move to keyboard.c.
8902 (deactivate-mark): Used saved-region-selection.
8903 (select-active-region): Function removed.
8904 (activate-mark, set-mark, push-mark-command)
8905 (handle-shift-selection): Don't call it.
8906 (keyboard-quit): Avoid adding the region to the window selection.
8908 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8909 select-active-regions implementation.
8910 (mouse-yank-at-click): Doc fix.
8912 * cus-start.el: Add custom declaration for select-active-regions.
8914 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8916 * simple.el (delete-forward-char): Doc fix.
8918 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8919 after reading the tutorial.
8921 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8923 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8924 Fix for the case that a C style comment has its delimiters alone on
8925 their respective lines. (Bug#193)
8927 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8929 * net/tramp.el (tramp-handle-start-file-process): Set connection
8931 (tramp-process-sentinel): Use it for flushing the cache.
8932 We cannot do it via the process buffer, the buffer could be deleted
8933 already when running the sentinel.
8935 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8937 * comint.el (comint-mode): Make directory tracking functions
8938 functional on remote files. (Bug#6764)
8940 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8942 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8944 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8946 * emacs-lisp/find-gc.el (find-gc-source-files):
8947 Rename unexec.c => unexcoff.c.
8949 * emacs-lisp/authors.el (authors-fixed-entries):
8950 Rename unexec.c => unexcoff.c.
8952 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8954 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8955 cache, not only file cache.
8956 (tramp-process-sentinel): New defun.
8957 (tramp-handle-start-file-process): Use it, in order to invalidate
8960 2010-08-03 Leo <sdl.web@gmail.com>
8962 * server.el (server-start): Simplify loop.
8964 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8966 * frame.el (screen-height, screen-width, set-screen-width)
8967 (set-screen-height): Remove ancient compatibility aliases.
8969 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8970 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8972 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8973 that change current buffer.
8975 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8977 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8978 beginning of the string. Use `string-match-p'. (Bug#6765)
8980 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8982 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8984 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8986 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8987 (package--builtins): Tweak descriptions.
8988 (package-print-package): Upcase descriptions if necessary.
8989 Show all built-in packages in font-lock-builtin-face.
8990 (package-list-packages-internal): Omit "emacs" package.
8991 Show status of built-in packages as "built-in".
8993 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8995 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8996 before killing to preserve the primary selection (Bug#6701).
8998 * term/x-win.el (x-select-text): Doc fix.
9000 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9002 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9003 (objc-font-lock-extra-types):
9004 * progmodes/cc-mode.el (c-basic-common-init):
9005 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9006 (c++-make-template-syntax-table)
9007 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9008 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9009 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9010 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9011 * progmodes/cc-fonts.el (c-make-inverse-face)
9012 (c-basic-matchers-after):
9013 * progmodes/cc-engine.el (c-forward-keyword-clause)
9014 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9015 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9016 (c-guess-continued-construct, c-guess-basic-syntax):
9017 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9018 The above functions were modified or created.
9020 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9022 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9024 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9026 * files.el (bidi-paragraph-direction): Define safe local values.
9028 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9029 language-info-alist. Remove outdated FIXME in a comment.
9031 2010-07-31 Alan Mackenzie <acm@muc.de>
9033 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9034 Auto-fill broken in C/C++ modes.
9036 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9038 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9039 (menu-bar-showhide-tool-bar-menu-customize-disable)
9040 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9041 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9042 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9043 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9044 make a menu for Options => toolbar that can move it.
9046 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9048 * emacs-lisp/package-x.el (package--make-rss-entry):
9049 (package-maint-add-news-item, package--update-news)
9050 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9052 * emacs-lisp/package.el (package-archive-url): Rename from
9054 (package-install): Doc fix.
9055 (package-download-single, package-download-tar, package-install)
9056 (package-menu-view-commentary): Callers changed.
9058 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9060 * net/tramp.el (tramp-handle-start-file-process): Check only for
9061 `remote-tty' process property.
9062 (tramp-open-shell): Don't check for tty.
9063 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9066 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9069 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9071 * emacs-lisp/package.el (package-load-list, package-archives)
9072 (package-archive-contents, package-user-dir)
9073 (package-directory-list, package--builtins, package-alist)
9074 (package-activated-list, package-obsolete-alist): Mark as risky.
9076 2010-07-28 Phil Hagelberg <phil@evri.com>
9078 Add support for non-default package repositories.
9079 * emacs-lisp/package.el (package-archive-base): Var deleted.
9080 (package-archives): New variable.
9081 (package-archive-contents): Doc fix.
9082 (package-load-descriptor): Do nothing if descriptor file is missing.
9083 (package--write-file-no-coding): New function.
9084 (package-unpack-single): Use it.
9085 (package-archive-id): New function.
9086 (package-download-single, package-download-tar)
9087 (package-menu-view-commentary): Use it.
9088 (package-installed-p): Make second argument optional.
9089 (package-read-all-archive-contents): New function.
9090 (package-initialize): Use it.
9091 (package-read-archive-contents): Add ARCHIVE argument.
9092 (package--add-to-archive-contents): New function.
9093 (package-install): Don't call package-read-archive-contents.
9094 (package--download-one-archive): Store archive file in a
9095 subdirectory of package-user-dir.
9096 (package-menu-execute): Remove spurious line movement.
9098 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9100 * cus-start.el (tool-bar-style): Add text-image-horiz.
9102 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9104 * progmodes/gud.el (gud-common-init): Check for remoteness of
9105 `file', and not of `default-directory'.
9107 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9109 * net/tramp.el (tramp-methods): Move hostname to the end in all
9110 ssh `tramp-login-args'.
9111 (tramp-verbose): Describe verbose level 9.
9112 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9113 (tramp-open-connection-setup-interactive-shell): Trace stty
9114 settings if `tramp-verbose' >= 9.
9115 (tramp-handle-start-file-process): Implement tty setting.
9116 (Bug#4604, Bug#6360)
9118 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9119 `tramp-verbose' to 9.
9121 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9123 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9124 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9125 Remove references to package `lisp-re' (bug#4369).
9127 2010-07-27 Tom Tromey <tromey@redhat.com>
9129 * progmodes/js.el (js-mode):
9130 * progmodes/make-mode.el (makefile-mode):
9131 * progmodes/simula.el (simula-mode):
9132 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9134 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9136 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9138 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9139 (display-time-world-buffer-name, display-time-world-mode-map):
9140 Fix typos in docstrings.
9142 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9144 * image-mode.el (image-display-size): New function.
9145 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9146 (image-mode-fit-frame): Use it (Bug#6639).
9148 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9150 * dired.el (dired-buffers-for-dir): Handle list values of
9151 dired-directory (Bug#6636).
9153 2010-07-26 Sam Steingold <sds@gnu.org>
9155 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9156 Do not call `x-get-selection' the second time, reuse the value.
9158 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9160 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9161 which consist of control chars only. Suggested by Richard Stallman.
9163 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9165 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9166 exists before passing an error to find-file-not-found-functions
9169 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9171 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9172 Remove leading nil element, adjust values.
9173 (tetris-shapes, tetris-shape-scores):
9174 Change representation of shapes and remove some redundancy.
9175 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9176 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9177 Adjust for working with new representation of shapes.
9178 (tetris-shape-rotations): New function.
9179 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9180 (tetris-rotate-prev, tetris-rotate-next):
9181 Adjust for working with the new version of tetris-test-shape.
9183 2010-07-23 Markus Triska <markus.triska@gmx.at>
9185 * progmodes/ps-mode.el: Use comint (bug#5954).
9186 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9187 (ps-mode-other-newline): Simplify.
9188 (ps-run-mode): Derive from comint-mode instead of
9189 fundamental-mode, yielding input history etc.
9190 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9191 (ps-run-send-string): Adapt for comint-mode.
9192 (ps-run-newline): Remove now unneeded function.
9194 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9196 * net/tramp.el (tramp-methods): Move hostname to the end in all
9197 plink `tramp-login-args'.
9199 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9201 * net/tramp.el (tramp-open-shell): New defun.
9202 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9205 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9207 * net/tramp.el (tramp-file-name-regexp-unified)
9208 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9209 not regard the volume letter as remote filename. (Bug#5447)
9211 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9213 * custom.el (custom-declare-variable): Give a clearer error message
9214 when the docstring is missing (bug#6476).
9216 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9218 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9219 (sql-login-params): New widget definition.
9220 (sql-oracle-login-params, sql-mysql-login-params)
9221 (sql-solid-login-params, sql-sybase-login-params)
9222 (sql-informix-login-params, sql-ingres-login-params)
9223 (sql-ms-login-params, sql-postgres-login-params)
9224 (sql-interbase-login-params, sql-db2-login-params)
9225 (sql-linter-login-params): Use it.
9226 (sql-sqlite-login-params): Use it; Define "database" parameter as
9228 (sql-sqlite-program): Change to "sqlite3".
9229 (sql-comint-sqlite): Make sure database name is complete.
9230 (sql-for-each-login): New function.
9231 (sql-connect, sql-save-connection): Use it.
9232 (sql-get-login-ext): New function.
9233 (sql-get-login): Use it.
9234 (sql-make-alternate-buffer-name): Handle :file parameters.
9236 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9238 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9239 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9241 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9243 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9245 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9247 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9249 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9251 * net/tramp.el (tramp-get-ls-command)
9252 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9255 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9257 * progmodes/sql.el: Version 2.3.
9258 (sql-connection-alist): Change keys from symbols to strings;
9259 enhanced the widget definition.
9260 (sql-mode-menu): Add submenu to select connections.
9261 (sql-interactive-mode-menu): Add "Save Connection" item.
9262 (sql-add-product): Fix menu item.
9263 (sql-get-product-feature): Improved error handling.
9264 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9265 (sql-make-alternate-buffer-name): Simplified.
9266 (sql-product-interactive): Handle missing product.
9267 (sql-connect): Support string keys, minor improvements.
9268 (sql-save-connection): New function.
9269 (sql-connection-menu-filter): New function.
9271 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9273 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9274 (tramp-open-connection-setup-interactive-shell):
9275 Apply workaround for IRIX64 bug. Move argument of last
9276 `tramp-send-command' where it belongs to.
9278 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9280 * net/tramp.el (tramp-perl-file-attributes)
9281 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9282 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9283 front of `login-args'.
9285 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9287 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9288 Set `show-trailing-whitespace' to nil.
9289 (display-time-world-display): Simplify.
9291 2010-07-18 Alan Mackenzie <acm@muc.de>
9293 Enhance `c-file-style' in file/directory local variables.
9294 * progmodes/cc-mode.el (c-count-cfss): New function.
9295 (c-before-hack-hook): Call `c-set-style' differently according to
9296 whether c-file-style was set in file or directory local
9299 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9301 * progmodes/sql.el: Version 2.2.
9302 (sql-product, sql-user, sql-database, sql-server, sql-port):
9303 Use defcustom :safe keyword rather than putting safe-local-variable
9305 (sql-password): Use defcustom :risky keyword rather than putting
9306 risky-local-variable property.
9307 (sql-oracle-login-params, sql-sqlite-login-params)
9308 (sql-solid-login-params, sql-sybase-login-params)
9309 (sql-informix-login-params, sql-ingres-login-params)
9310 (sql-ms-login-params, sql-postgres-login-params)
9311 (sql-interbase-login-params, sql-db2-login-params)
9312 (sql-linter-login-params): Add `port' option.
9313 (sql-get-product-feature): Add NO-INDIRECT parameter.
9314 (sql-comint-oracle, sql-comint-sybase)
9315 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9316 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9317 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9318 (sql-comint-linter): Rename sql-connect-* functions to
9320 (sql-product-alist, sql-mode-menu): Rename as above and
9321 :sqli-connect-func to :sqli-comint-func.
9322 (sql-connection): New variable.
9323 (sql-interactive-mode): Set it.
9324 (sql-connection-alist): New variable.
9325 (sql-connect): New function.
9326 (sql--alt-buffer-part, sql--alt-if-not-empty)
9327 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9329 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9331 * image-mode.el (image-bookmark-make-record): Do not set context
9332 in an image (Bug#6650).
9334 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9336 * simple.el (select-active-region): New function.
9337 (push-mark-command, set-mark, activate-mark)
9338 (handle-shift-selection): Use it.
9339 (deactivate-mark): Don't check for size of region.
9341 * mouse.el (mouse-drag-track): Use select-active-region.
9343 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9345 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9348 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9350 * term/x-win.el (x-select-enable-primary): Change default to nil.
9351 (x-select-enable-clipboard): Add :version keyword.
9353 * mouse.el (mouse-drag-copy-region):
9354 * simple.el (select-active-regions): Likewise.
9356 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9358 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9359 (vc-coding-system-for-diff): Use it to decide whether to inherit
9360 from the file the EOL format for reading the diffs of that file.
9363 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9365 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9366 unibyte, so compressed attachments are not compressed again.
9368 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9370 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9371 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9372 (tramp-find-shell): Simplify setting connection property.
9373 (tramp-get-ls-command): Make test for "--color=never" stronger.
9375 2010-07-15 Simon South <ssouth@member.fsf.org>
9377 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9378 blocks within record declarations (i.e. variant parts) correctly.
9380 2010-07-15 Simon South <ssouth@member.fsf.org>
9382 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9383 over literal tokens when parsing so newlines aren't "absorbed" by
9384 single-line comments. Corrects the indentation of case blocks
9385 that have a comment on the first line.
9387 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9389 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9390 by Drew Adams (Bug#5504).
9392 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9394 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9395 now that Unicode is used (Bug#6594).
9397 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9399 * term/x-win.el (x-select-enable-clipboard): Default to t.
9400 (x-initialize-window-system): Don't overwrite Paste menu item.
9402 * simple.el (select-active-regions): Default to t.
9403 (push-mark-command): Don't overwrite primary with empty string.
9405 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9406 (mouse-drag-copy-region): Default to nil.
9408 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9409 Cut/Copy/Paste menu bar items.
9411 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9413 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9414 Patch applied by Karl Fogel.
9416 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9417 and `bookmark-current-buffer' if they have been already set in
9418 another buffer (e.g gnus-art).
9420 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9421 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9423 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9425 * bookmark.el (bookmark-make-record-default): Allow unneeded
9426 information to be omitted from the record.
9428 Adjust declarations and calls:
9430 * info.el (bookmark-make-record-default): Adjust declaration.
9431 (Info-bookmark-make-record): Adjust call.
9433 * woman.el (bookmark-make-record-default): Adjust declaration.
9434 (woman-bookmark-make-record): Adjust call.
9436 * man.el (bookmark-make-record-default): Adjust declaration.
9437 (Man-bookmark-make-record): Adjust call.
9439 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9441 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9443 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9445 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9446 This is also from Thierry Volpiatto's patch in bug #6444. However,
9447 because it was extraneous to the functional change in that patch,
9448 and causes a re-indendation, I am committing it separately.
9450 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9452 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9453 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9454 Patch applied by Karl Fogel (Bug#6444).
9456 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9458 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9460 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9462 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9463 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9464 (ns-alternatives-map): Change S-tab binding to backtab
9467 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9470 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9472 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9475 * language/tv-util.el (tai-viet-re): Remove format.
9477 2010-07-12 Kenichi Handa <handa@m17n.org>
9479 * language/hebrew.el: Remove no-byte-compile declaration.
9480 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9481 composition-function-table for 3-character looking back.
9482 (hebrew-font-get-precomposed): New function.
9483 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9485 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9487 * mouse.el (mouse-drag-track): Handle select-active-regions
9490 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9492 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9493 empty argument to gvfs-copy.
9495 2010-07-10 Glenn Morris <rgm@gnu.org>
9497 * calendar/calendar.el (calendar-week-end-day): New function.
9498 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9499 Respect calendar-week-start-day. (Bug#6606)
9500 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9501 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9502 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9503 respect calendar-week-start-day.
9505 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9507 * simple.el (use-region-p): Doc fix (Bug#6607).
9509 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9511 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9512 Add regexps for cucumber and ruby.
9514 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9516 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9517 (epa-file-insert-file-contents): Hack to prevent
9518 find-file from opening empty buffer when decryption failed
9521 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9523 * textmodes/ispell.el (ispell-alternate-dictionary):
9524 Use file-readable-p.
9525 Return nil if no word-list is found at default locations.
9526 (ispell-complete-word-dict): Default to nil.
9527 (ispell-command-loop): Use 'word-list' when using lookup-words.
9528 (lookup-words): Use ispell-complete-word-dict or
9529 ispell-alternate-dictionary. Check for word-list availability
9530 and handle errors if needed with better messages (Bug#6539).
9531 (ispell-complete-word): Use ispell-complete-word-dict or
9532 ispell-alternate-dictionary.
9534 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9536 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9537 builtins (BufferError, BytesWarning, WindowsError; callables
9538 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9540 2010-07-07 Glenn Morris <rgm@gnu.org>
9542 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9543 (zone-shift-left): Ignore intangibility, and any errors from
9545 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9546 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9547 deleting, and copying text properties.
9548 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9549 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9550 to point-max is hard.
9551 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9552 (zone-fill-out-screen): Ignore intangibility.
9554 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9556 * menu-bar.el (menu-bar-mode):
9557 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9560 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9561 word/line selection (Bug#6565).
9563 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9565 * net/dbus.el (dbus-send-signal): Declare function.
9567 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9569 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9570 (dbus-register-property): New optional argument EMITS-SIGNAL.
9571 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9573 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9575 * mouse.el (mouse-drag-overlay): Variable deleted.
9576 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9577 (mouse--remap-link-click-p): New function.
9578 (mouse-drag-track): Handle dragging by using temporary Transient
9579 Mark mode, instead of a special overlay.
9580 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9583 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9586 2010-07-02 Juri Linkov <juri@jurta.org>
9588 * autoinsert.el (auto-insert-alist): Fix readability
9589 by using dotted pair notation for lambda.
9591 2010-07-02 Juri Linkov <juri@jurta.org>
9593 * faces.el (read-face-name): Rename arg `string-describing-default'
9594 to `default'. Doc fix. Display the default value in quotes
9595 in the prompt. With empty input, return the `default' arg,
9596 unless the default value is a string (in which case return nil).
9597 (describe-face): Replace the string `default' arg of `read-face-name'
9598 with the symbol `default'.
9600 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9602 * emulation/viper-cmd.el (viper-delete-backward-char)
9603 (viper-del-backward-char-in-insert)
9604 (viper-del-backward-char-in-replace, viper-change)
9605 (viper-backward-indent): Replace delete-backward-char with
9606 delete-char (Bug#6552).
9608 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9610 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9612 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9614 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9615 argument passed to frame-creation-function (Bug#5378).
9617 * faces.el (x-handle-named-frame-geometry)
9618 (x-handle-reverse-video, x-create-frame-with-faces)
9619 (face-set-after-frame-default, tty-create-frame-with-faces):
9620 Don't separately consult default-frame-alist. It is now passed as the
9623 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9625 * startup.el (command-line): Don't call tool-bar-setup in a
9628 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9630 * ruler-mode.el (ruler--save-header-line-format): New fun.
9631 (ruler-mode): Use it as a setter function, so as not to overwrite
9632 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9634 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9636 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9637 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9638 (vc-log-outgoing): Use it.
9639 (vc-diff-internal): Set diff-vc-backend.
9641 * vc/diff-mode.el (diff-vc-backend): New var.
9643 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9645 * dynamic-setting.el (font-setting-change-default-font):
9646 Remove call to message.
9648 2010-06-28 Kenichi Handa <handa@m17n.org>
9650 * international/quail.el (quail-insert-kbd-layout): Fix the
9651 showing of untranslated characters.
9653 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9655 * simple.el (delete-active-region): New option.
9656 (delete-backward-char): Implement in Lisp.
9657 (delete-forward-char): New command.
9659 * mouse.el (mouse-region-delete-keys): Delete.
9660 (mouse-show-mark): Simplify.
9662 * bindings.el (global-map): Bind delete and DEL, the former to
9663 delete-forward-char.
9665 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9667 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9668 (ruby-mode): Bind indent-line-function (Bug#5119).
9670 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9672 * startup.el (command-line): Recognize "0" X resource value.
9674 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9676 * startup.el (command-line): Use X resources to set the value of
9677 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9679 * menu-bar.el (menu-bar-mode):
9680 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9681 Set init-value to t.
9683 * frame.el (frame-notice-user-settings): Don't change
9684 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9685 vice versa (Bug#2249).
9687 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9689 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9691 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9693 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9694 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9696 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9697 default directories are expanded (Bug#6143).
9699 2010-06-24 Juri Linkov <juri@jurta.org>
9701 * minibuffer.el (completions-format): Change default from nil to
9702 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9704 2010-06-24 Juri Linkov <juri@jurta.org>
9706 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9707 buffer-locally to lambda that re-runs the vc diff command.
9710 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9712 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9713 echo area is in use (Bug#3412).
9715 2010-06-22 Glenn Morris <rgm@gnu.org>
9717 * textmodes/texinfmt.el (texinfo-format-region)
9718 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9719 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9720 (texinfo-format-option, texinfo-noindent):
9721 Use line-beginning-position and line-end-position.
9723 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9724 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9725 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9728 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9730 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9731 forward-line fallout.
9733 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9735 * mouse.el (mouse-appearance-menu): Add docstring.
9737 * help.el (describe-key): Print up-event using key-description.
9739 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9741 * net/zeroconf.el (zeroconf-resolve-service)
9742 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9743 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9745 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9747 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9749 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9751 Avoid displaying files with a nil state in vc-dir.
9752 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9753 cases that cause insertion.
9754 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9757 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9759 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9761 2010-06-29 Leo <sdl.web@gmail.com>
9763 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9765 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9767 * generic-x.el (bat-generic-mode): Fix regexp for command line
9768 switches (Bug#5719).
9770 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9772 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9773 of nconc to avoid pure storage error (Bug#6239).
9775 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9777 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9778 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9779 bindings of bookmark-automatically-show-annotations (Bug#6515).
9781 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9783 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9784 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9786 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9788 * comint.el (make-comint, make-comint-in-buffer): Mention return
9789 value in the docstrings. (Bug#6498)
9791 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9793 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9794 since it is not present when using some non-default switches.
9796 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9798 * simple.el (compose-mail): Fix doc string to refer to
9799 `compose-mail-user-agent-warnings', instead of to the
9800 nonexistent `compose-mail-check-user-agent'.
9802 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9804 Fix an indentation bug:
9806 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9807 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9810 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9811 (c-clear->-pair-props-if-match-before): now return t when they've
9812 cleared properties, nil otherwise.
9813 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9814 by taking account of the existing value.
9816 * progmodes/cc-defs.el
9817 (c-clear-char-property-with-value-function): Fix this to clear the
9818 property rather than overwriting it with nil.
9820 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9822 * emacs-lisp/package.el (package-print-package): Add link to
9823 package description via describe-package.
9824 (describe-package-1): List package requirements. Add button to
9825 perform installation.
9826 (package-menu-describe-package): New command.
9828 * help-mode.el (help-package): New button type.
9830 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9832 * emacs-lisp/package.el: Move package-list-packages binding to
9834 (describe-package, describe-package-1, package--dir): New funs.
9835 (package-activate-1): Use package--dir.
9837 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9839 * help-mode.el (help-package-def): New button type.
9841 * menu-bar.el: Move package-list-packages binding here from
9844 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9846 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9848 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * emacs-lisp/edebug.el (edebug-read-list):
9851 Phase out old-style backquotes.
9853 2010-06-17 Juri Linkov <juri@jurta.org>
9855 * help-mode.el (help-mode): Set buffer-local variable
9856 revert-buffer-function to help-mode-revert-buffer.
9857 (help-mode-revert-buffer): New function.
9859 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9860 before popping to "*info*" (like in other Info functions).
9861 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9862 old-history-forward. Pop to old-buffer-name or "*info*" to
9863 recreate the killed buffer. Set Info-history-forward from
9864 old-history-forward.
9865 (Info-breadcrumbs-depth): Add :group and :version.
9867 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9869 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9871 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9873 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9874 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9876 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9878 * emacs-lisp/package.el (package-menu-mode-map):
9879 Move initialization into declaration.
9881 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9883 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9885 * emacs-lisp/package.el (package-archive-base): Point to
9887 (package-enable, package-load-list): New defcustoms.
9888 (package-user-dir, package-directory-list): Turn into defcustoms.
9889 Don't include package-user-dir in package-directory-list.
9890 (package--builtins-base): Don't include Emacs as a "package".
9891 (package-subdirectory-regexp): New var.
9892 (package-load-all-descriptors, package-compute-transaction)
9893 (package-download-transaction): Obey package-load-list.
9894 (package-activate-1): Rename from package-do-activate.
9895 (package-list-packages-internal): Check package-load-list.
9896 (package-load-descriptor, package-generate-autoloads)
9897 (package-unpack, package-unpack-single)
9898 (package--read-archive-file, package-delete):
9899 Use expand-file-name.
9901 * emacs-lisp/package-x.el: New file. Package uploading
9902 functionality split out from package.el.
9904 * startup.el (command-line): Load packages after reading init file.
9906 2010-06-17 Tom Tromey <tromey@redhat.com>
9908 * emacs-lisp/package.el: New file.
9910 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9912 Fix vc-annotate for renamed files when using Git.
9913 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9914 ls-files. Doe not pass the object as a file name to cat-file, it
9916 (vc-git-annotate-command): Pass the file name using -- to avoid
9917 ambiguity with the revision.
9918 (vc-git-previous-revision): Pass a relative file name.
9920 2010-06-22 Glenn Morris <rgm@gnu.org>
9922 * progmodes/js.el (js-mode-map): Use standard capitalization and
9923 ellipses for menu entries.
9925 * wid-edit.el (widget-complete): Doc fix.
9927 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9929 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9931 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9933 Fix annotating other revisions for renamed files in vc-annotate.
9934 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9935 VC backend. Use it when non-nil.
9936 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9939 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9940 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9941 Do not pass the file name to the 'previous-revision call when we
9942 don't want a file diff. (Bug#6489)
9944 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9946 Fix finding revisions for renamed files in vc-annotate.
9947 * vc/vc.el (vc-find-revision): Add an optional argument for
9948 the VC backend. Use it when non-nil.
9949 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9950 backend to vc-find-revision. (Bug#6487)
9952 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9954 Fix reading file names in Git annotate buffers.
9955 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9956 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9958 2010-06-20 Alan Mackenzie <acm@muc.de>
9960 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9961 in file local variables, set it first.
9963 2010-06-19 Glenn Morris <rgm@gnu.org>
9965 * descr-text.el (describe-char-unicode-data): Insert separating
9966 space when needed. (Bug#6422)
9968 * progmodes/idlwave.el (idlwave-action-and-binding):
9969 Fix typo in 2009-12-03 change. (Bug#6450)
9971 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9973 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9974 handling for `lambda' (misunderstanding).
9976 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9978 * calc/calc-poly.el (math-accum-factors): Make sure that
9979 constants aren't distributed after they are factored out.
9981 2010-06-16 Juri Linkov <juri@jurta.org>
9983 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9984 `list-colors-print'. (Bug#6332)
9986 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9988 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9991 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9993 * font-lock.el (font-lock-major-mode): Rename from
9994 font-lock-mode-major-mode to distinguish it from
9995 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9996 (font-lock-set-defaults):
9997 * font-core.el (font-lock-default-function): Adjust users.
9998 (font-lock-mode): Don't set it at all.
10000 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10002 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10004 2010-06-16 Glenn Morris <rgm@gnu.org>
10006 * calendar/appt.el (appt-time-msg-list): Doc fix.
10007 (appt-check): Let-bind appt-warn-time.
10008 (appt-add): Make the 3rd argument optional.
10009 Simplify argument names. Doc fix. Check for integer WARNTIME.
10010 Only add WARNTIME to the output list if non-nil.
10012 2010-06-16 Ivan Kanis <apple@kanis.eu>
10014 * calendar/appt.el (appt-check): Let the 3rd element of
10015 appt-time-msg-list specify the warning time.
10016 (appt-add): Add new argument with the warning time. (Bug#5176)
10018 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10020 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10021 older than version 1.6. (Bug#6361)
10023 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10025 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10026 used by cl-do-arglist. (Bug#6408)
10028 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10030 * textmodes/ispell.el (ispell-dictionary-base-alist):
10031 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10032 Suggested by Rolando Pereira (bug#6434).
10034 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10036 * facemenu.el (list-colors-sort): Doc fix.
10038 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10040 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10042 2010-06-14 Juri Linkov <juri@jurta.org>
10044 Add sort option `list-colors-sort'. (Bug#6332)
10045 * facemenu.el (color-rgb-to-hsv): New function.
10046 (list-colors-sort): New defcustom.
10047 (list-colors-sort-key): New function.
10048 (list-colors-display): Doc fix. Sort list according to the option
10049 `list-colors-sort'.
10050 (list-colors-print): Add HSV values to `help-echo' property of
10053 2010-06-14 Juri Linkov <juri@jurta.org>
10055 * compare-w.el: Move to the "vc" subdirectory.
10057 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10059 * image-mode.el (image-mode-map): Remap left-char and right-char.
10061 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10063 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10065 * term/common-win.el (x-colors): Add all the color names defined
10066 in rgb.txt (Bug#6332).
10068 * facemenu.el (list-colors-print): Don't print extra names if it
10069 will overflow the window width.
10071 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10074 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10076 * files.el (make-directory): Doc fix (bug#6396).
10078 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10080 * net/tramp.el (tramp-remote-process-environment): Protect version
10081 string by apostroph.
10082 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10084 (tramp-file-name-for-operation): Add `call-process-region'.
10085 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10087 * net/tramp-compat.el (top): Do not autoload
10088 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10089 only when `start-file-process' is not bound.
10090 (tramp-advice-file-expand-wildcards): Do not use
10091 `tramp-handle-file-remote-p'.
10092 (tramp-compat-make-temp-file): Handle the case, that
10093 `make-temp-file' has no third argument EXTENSION.
10095 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10097 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10099 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10101 2010-06-11 Juri Linkov <juri@jurta.org>
10103 * finder.el (finder-known-keywords): Add keyword "vc"
10104 for version control.
10106 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10107 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10108 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10109 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10111 2010-06-11 Juri Linkov <juri@jurta.org>
10113 Move version control related files to the "vc" subdirectory.
10114 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10115 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10116 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10117 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10118 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10119 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10120 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10121 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10122 Move files to the "vc" subdirectory.
10124 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10126 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10129 2010-06-11 Stephen Eglen <stephen@gnu.org>
10131 * shell.el: Bind `shell-resync-dirs' to M-RET.
10133 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10135 * notifications.el: Move file from lisp/net, because it is
10136 supposed to talk locally to the user.
10138 2010-06-10 Julien Danjou <julien@danjou.info>
10140 * net/notifications.el (notifications-on-action-signal)
10141 (notifications-on-closed-signal): Pass notification id as first
10142 argument to the callback functions. Add docstrings.
10143 (notifications-notify): Fix docstring.
10145 2010-06-10 Glenn Morris <rgm@gnu.org>
10147 * emacs-lisp/authors.el (authors-ignored-files)
10148 (authors-valid-file-names): Add some files.
10150 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10152 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10153 merge conflict, giving preference to the emacs-23 version of the code.
10155 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10157 * emacs-lisp/advice.el (ad-compile-function):
10158 Define warning-suppress-types before we let-bind it (bug#6275).
10160 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10161 declare it, make it buffer-local and permanent-local (bug#6324).
10162 (vc-resynch-window): Adjust name.
10163 * vc-hooks.el (vc-find-file-hook): Adjust name.
10165 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10167 * net/notifications.el (notifications-notify): Fix docstring.
10169 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10171 Update to Unicode 6.0.0 beta.
10172 * international/charprop.el: Update copyright.
10173 * international/mule-cmds.el (ucs-names): Update character ranges.
10174 * international/uni-bidi.el:
10175 * international/uni-category.el:
10176 * international/uni-combining.el:
10177 * international/uni-comment.el:
10178 * international/uni-decimal.el:
10179 * international/uni-decomposition.el:
10180 * international/uni-digit.el:
10181 * international/uni-lowercase.el:
10182 * international/uni-mirrored.el:
10183 * international/uni-name.el:
10184 * international/uni-numeric.el:
10185 * international/uni-old-name.el:
10186 * international/uni-titlecase.el:
10187 * international/uni-uppercase.el: Regenerate.
10189 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10191 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10192 (smie-precs-precedence-table): Fix typo in docstring.
10194 * vc-mtn.el (log-edit-extract-headers): Declare function.
10196 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10198 * net/notifications.el (dbus-register-signal): Declare function.
10199 (notifications-notify): Fix typos and reflow docstring.
10201 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10203 Improve VC create/retrieve tag/branch.
10204 * vc.el (vc-create-tag): Do not read the directory name for VCs
10205 with repository revision granularity. Adjust the tag/branch
10206 prompt. Reset VC properties.
10207 (vc-retrieve-tag): Do not read the directory name for VCs
10208 with repository revision granularity. Reset VC properties.
10210 2010-06-09 Julien Danjou <julien@danjou.info>
10212 * net/notifications.el: New file.
10214 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10216 Add optional support for resetting VC properties.
10217 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10218 call vc-file-clearprops when true.
10219 (vc-resynch-buffer): Add new optional argument, pass it down.
10220 (vc-resynch-buffers-in-directory): Likewise.
10222 Improve support for special markup in the VC commit message.
10223 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10224 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10225 * vc-git.el (vc-git-checkin):
10226 * vc-bzr.el (vc-bzr-checkin): Likewise.
10228 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10230 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10231 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10233 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10235 * iimage.el: Remove images as soon as the underlying text is modified.
10236 (iimage-modification-hook): New function.
10237 (iimage-mode-buffer): Use it.
10239 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10241 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10242 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10243 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10244 (smie-indent-keyword): Add handling of open-paren keywords.
10245 (smie-indent-comment-continue): Don't assume comment-continue.
10247 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10249 * window.el (pop-to-buffer): Remove the conditional that
10250 compares new-window and old-window, so it will reselect
10251 the selected window unconditionally.
10252 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10254 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/smie.el (smie-indent-offset-after)
10257 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10258 (smie-indent-after-keyword): Use them.
10259 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10260 (smie-indent-keyword): Tweak the black magic.
10261 (smie-indent-comment-continue): Strip comment-continue before use.
10262 (smie-indent-functions): Indent comments before keywords.
10264 2010-06-06 Juri Linkov <juri@jurta.org>
10266 * isearch.el (isearch-lazy-highlight-search): Fix looping
10267 by checking for empty match. This syncs this loop with the
10268 similar loop in `isearch-search'. (Bug#6362)
10270 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10272 * net/dbus.el (dbus-register-method): Declare function.
10273 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10274 (dbus-introspect): Doc fix.
10275 (dbus-event-bus-name, dbus-introspect-get-interface)
10276 (dbus-introspect-get-argument): Reflow docstrings.
10278 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10280 vc-log-incoming/vc-log-outgoing fixes for Git.
10281 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10282 incoming/outgoing logs.
10283 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10284 instead of vc-git-compute-remote.
10285 (vc-git-compute-remote): Remove.
10287 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10289 * term/common-win.el (x-colors): Add "dark green" and "dark
10290 turquoise" (Bug#6332).
10292 2010-06-04 Juri Linkov <juri@jurta.org>
10294 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10295 Instead of setting `replace' to t and replacing the same string
10296 with itself, don't do certain actions when
10297 kill-do-not-save-duplicates is non-nil and string is equal to car
10298 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10299 interprogram-paste strings to kill-ring, and don't push the input
10300 argument `string' to kill-ring.
10301 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10303 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10305 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10307 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10309 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10310 (tramp-gvfs-handler-mounted-unmounted)
10311 (tramp-gvfs-connection-mounted-p): Handle default-location.
10313 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10314 move files to trash.
10316 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10318 * international/mule-cmds.el (nonascii-insert-offset)
10319 (nonascii-translation-table): Add obsolescence information.
10321 * international/mule.el (make-translation-table-from-vector): Doc fix.
10323 2010-06-03 Glenn Morris <rgm@gnu.org>
10325 * desktop.el (desktop-clear-preserve-buffers):
10326 Add "*Warnings*" buffer. (Bug#6336)
10328 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10330 vc-log-incoming/vc-log-outgoing improvements for Git.
10331 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10333 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10335 Add bindings for vc-log-incoming and vc-log-outgoing.
10336 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10337 and vc-log-outgoing.
10338 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10339 and vc-log-outgoing.
10341 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10343 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10344 (rcirc-handler-366): Always sort nicknames.
10346 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10348 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10350 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10352 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10354 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10356 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10357 (rcirc-sort-nicknames-join): Avoid setq.
10359 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10361 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10362 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10363 (rcirc-handler-366): Use them.
10365 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10367 Split smie-indent-calculate into more manageable chunks.
10368 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10369 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10370 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10371 (smie-indent-exps): Extract from smie-indent-calculate.
10372 (smie-indent-functions): New var.
10373 (smie-indent-functions): Use them.
10375 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10377 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10378 (smie-indent-calculate): Simplify and cleanup.
10380 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10382 * net/tramp-gvfs.el (top): Require url-util.
10383 (tramp-gvfs-mount-point): Remove.
10384 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10386 (with-tramp-dbus-call-method): Format trace message.
10387 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10388 Implement backup call, when operation on local files fails.
10389 Use progress reporter. Flush properties of changed files.
10390 (tramp-gvfs-handle-make-directory): Make more traces.
10391 (tramp-gvfs-url-file-name): Hexify file name in url.
10392 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10393 into account for the resulting file name.
10394 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10395 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10396 (tramp-gvfs-handler-mounted-unmounted)
10397 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10398 attribute "default_location". Set "prefix" property.
10399 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10400 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10401 exists. Raise an error, if not (due to a corresponding answer
10402 "no" in interactive questions, for example).
10404 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10406 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10408 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10410 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10411 right-*. (Bug#6265)
10413 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10415 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10416 * vc-git.el (vc-git-compute-remote): New function.
10417 (vc-git-log-outgoing): Use it instead of hard coding a value.
10418 (vc-git-log-incoming): New function.
10420 Improve state updating for VC tag commands.
10421 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10422 to update the state of all buffers in the directory.
10424 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10426 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10428 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10429 `file-directory-p' to the filename part rather than to the whole text.
10431 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10433 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10435 2010-05-31 Drew Adams <drew.adams@oracle.com>
10437 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10439 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10441 * subr.el (momentary-string-display): Just use read-event to read
10442 the exit event (Bug#6238).
10444 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10446 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10448 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10450 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10451 Suggested by Eli Zaretskii <eliz@gnu.org>.
10453 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * minibuffer.el (completion-file-name-table): Don't return a boundary
10456 past the end of `string' (bug#6299).
10457 (completion--file-name-table): Delegate to completion-file-name-table
10458 for the `boundaries' case.
10460 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10462 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10465 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10466 `path-separator', but maintain compatibility with Emacs 20.2.
10468 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10470 * server.el (server-process-filter): Receive parent-id argument
10472 (server-create-window-system-frame): New arg. Pass parent-id as
10475 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10477 Bidi-sensitive word movement with arrow keys.
10478 * subr.el (right-arrow-command, left-arrow-command): Move to
10481 * bindings.el (right-char, left-char): Move from subr.el and
10482 rename from right-arrow-command and left-arrow-command.
10483 (right-word, left-word): New functions.
10484 (global-map) <right>: Bind to right-char.
10485 (global-map) <left>: Bind to left-char.
10486 (global-map) <C-right>: Bind to right-word.
10487 (global-map) <C-left>: Bind to left-word.
10489 * ls-lisp.el (ls-lisp-classify-file): New function.
10490 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10491 (ls-lisp-classify): Call ls-lisp-classify-file.
10492 (insert-directory): Remove blanks from switches.
10494 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10496 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10497 (ansi-color-drop-regexp): New constant.
10498 (ansi-color-apply, ansi-color-filter-region)
10499 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10500 (ansi-color-apply): Build string list before calling concat.
10502 2010-05-28 Juri Linkov <juri@jurta.org>
10504 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10505 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10508 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10510 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10511 to ignored backtrace functions.
10512 (with-progress-reporter): Expand docstring.
10513 (tramp-handle-delete-file): Implement TRASH argument.
10514 (tramp-get-remote-trash): New defun.
10516 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10518 * net/tramp-compat.el (tramp-compat-delete-file):
10519 Use `symbol-value' for backward compatibility.
10521 * net/tramp.el (tramp-handle-make-symbolic-link)
10522 (tramp-handle-load)
10523 (tramp-do-copy-or-rename-file-via-buffer)
10524 (tramp-do-copy-or-rename-file-directly)
10525 (tramp-do-copy-or-rename-file-out-of-band)
10526 (tramp-handle-process-file, tramp-handle-call-process-region)
10527 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10528 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10529 (tramp-delete-temp-file-function): Use `delete-file' instead
10530 of `tramp-compat-delete-file'.
10532 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10533 (tramp-fish-handle-make-symbolic-link)
10534 (tramp-fish-handle-process-file): Use `delete-file' instead
10535 of `tramp-compat-delete-file'.
10537 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10538 Use `delete-file' instead of `tramp-compat-delete-file'.
10540 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10541 `delete-file' instead of `tramp-compat-delete-file'.
10543 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10544 Use `delete-file' instead of `tramp-compat-delete-file'.
10546 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10547 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10548 (tramp-smb-handle-write-region): Use `delete-file' instead of
10549 `tramp-compat-delete-file'.
10550 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10552 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10554 * dired.el (dired-delete-file): New arg TRASH.
10555 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10556 (dired-do-flagged-delete, dired-do-delete): Use trash.
10558 * speedbar.el (speedbar-item-delete): Allow trashing.
10560 * files.el (delete-directory): New arg TRASH.
10562 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10563 (ange-ftp-rename-remote-to-remote)
10564 (ange-ftp-rename-local-to-remote)
10565 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10566 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10568 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10571 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10572 handle new TRASH arg of `delete-file'.
10574 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10575 (tramp-handle-make-symbolic-link, tramp-handle-load)
10576 (tramp-do-copy-or-rename-file-via-buffer)
10577 (tramp-do-copy-or-rename-file-directly)
10578 (tramp-do-copy-or-rename-file-out-of-band)
10579 (tramp-handle-process-file, tramp-handle-call-process-region)
10580 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10581 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10582 (tramp-delete-temp-file-function): Use null TRASH arg in
10583 tramp-compat-delete-file call.
10585 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10586 (tramp-fish-handle-delete-file)
10587 (tramp-fish-handle-make-symbolic-link)
10588 (tramp-fish-handle-process-file): Use null TRASH arg in
10589 `tramp-compat-delete-file' call.
10591 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10592 arg in `tramp-compat-delete-file' call.
10594 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10595 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10596 `tramp-compat-delete-file' call.
10598 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10599 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10600 `tramp-compat-delete-file' call.
10602 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10603 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10604 (tramp-smb-handle-write-region): Use null TRASH arg in
10605 tramp-compat-delete-file call.
10606 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10607 (tramp-smb-handle-delete-file): Rename arg.
10609 * diff.el (diff-sentinel):
10610 * epg.el (epg--make-temp-file, epg-decrypt-string)
10611 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10612 * jka-compr.el (jka-compr-partial-uncompress)
10613 (jka-compr-call-process, jka-compr-write-region):
10614 * server.el (server-sentinel): Remove optional arg from
10615 delete-file, reverting 2010-05-03 change.
10617 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10619 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10620 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10622 2010-05-27 Kenichi Handa <handa@m17n.org>
10624 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10625 element of GSTRING is nil.
10627 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10629 * emacs-lisp/smie.el (smie-forward-token-function)
10630 (smie-backward-token-function): New vars.
10631 (smie-backward-sexp, smie-forward-sexp)
10632 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10633 (smie-default-backward-token): Rename from smie-backward-token and
10635 (smie-default-forward-token): Rename from smie-forward-token and
10637 (smie-next-sexp): Handle nil results from next-token.
10638 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10640 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10642 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10643 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10645 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10647 * htmlfontify.el (hfy-face-resolve-face): New function.
10648 (hfy-face-to-style): Use it (Bug#6279).
10650 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10652 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10653 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10655 2010-05-26 Glenn Morris <rgm@gnu.org>
10657 * emulation/edt.el (edt-load-keys): Use locate-library.
10659 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10661 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10662 (log-edit-changelog-entries): Doc fix.
10663 (log-edit-changelog-insert-entries): Args changed.
10664 Rename relative filenames in ChangeLog entries. Delete tabs.
10665 (log-edit-insert-changelog-entries): Reorganize return value of
10666 `log-edit-changelog-entries' to pass filenames to
10667 log-edit-changelog-insert-entries.
10669 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10671 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10672 `image-dired-dired-insert-marked-thumbs' to
10673 `image-dired-dired-toggle-marked-thumbs'.
10675 * image-dired.el: Require cl when compiling.
10676 (image-dired-dired-toggle-marked-thumbs): Rename from
10677 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10678 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10679 to 'no-dir. Skip files whose names don't match
10680 `image-file-name-regexp'. When file has a thumbnail overlay,
10681 delete it. (Bug#5270)
10683 2010-05-25 Juri Linkov <juri@jurta.org>
10685 * image-mode.el (image-mode): Add image-after-revert-hook to
10687 (image-after-revert-hook): New function. (Bug#5669)
10689 2010-05-25 Juri Linkov <juri@jurta.org>
10691 * image.el (image-animated-p): When delay between animated images
10692 is 0, set it to 10 (0.1 sec). (Bug#6258)
10694 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10696 * net/tramp.el (tramp-handle-insert-directory): Don't use
10697 `forward-word', its default syntax could be changed.
10699 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10701 * net/tramp.el (tramp-progress-reporter-update): New defun.
10702 (with-progress-reporter): Use it.
10703 (tramp-process-actions):
10704 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10705 Preserve current message, in order to let progress reporter continue
10706 afterwards. (Bug#6257)
10708 2010-05-25 Glenn Morris <rgm@gnu.org>
10710 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10713 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10715 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10716 (rcirc-default-full-name): Change to "unknown".
10717 (rcirc-user-name-history): Add variable.
10719 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10720 Jonathan Rockway <jon@jrock.us>
10722 * net/rcirc.el (rcirc-server-alist): Add :pass.
10723 (rcirc): When prompting for connection parameters, also prompt for
10724 username and password.
10725 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10726 value to server when connecting.
10728 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10731 (smie-merge-prec2s): Pass the tables as separate args.
10732 (smie-bnf-precedence-table): Adjust call accordingly.
10733 (smie-prec2-levels): Set levels at the end.
10735 Replace Lisp calls to delete-backward-char by delete-char.
10736 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10737 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10738 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10739 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10740 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10741 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10742 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10743 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10744 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10745 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10746 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10747 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10748 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10749 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10750 delete-backward-char by calls to delete-char.
10752 2010-05-25 Kenichi Handa <handa@m17n.org>
10754 * language/hebrew.el (hebrew-shape-gstring): New function.
10755 Register it in composition-function-table for all Hebrew combining
10758 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10760 * epa.el (epa--select-keys): Don't explicitly delete the window since
10761 that can fail (e.g. sole window in frame). Use dedication instead.
10763 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10765 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10767 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10769 * image.el (image-refresh): Define as an alias for image-flush.
10771 * image-mode.el (image-toggle-display-image): Caller changed.
10773 2010-05-21 Juri Linkov <juri@jurta.org>
10775 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10776 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10777 whitespace, call wildcard-to-regexp on substrings and concat them
10778 with "\\|". (Bug#6114)
10780 2010-05-21 Alan Mackenzie <acm@muc.de>
10782 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10783 Replace parameter `here' with `here-' and `here-plus', which sandwich
10784 any pertinent CPP construct.
10785 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10786 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10787 CPP construct from taking part in the scanning.
10789 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10791 * net/tramp.el (tramp-do-copy-or-rename-file)
10792 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10793 Tune `with-progress-reporter' messages.
10794 (tramp-handle-vc-registered):
10795 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10796 (tramp-fish-handle-insert-file-contents)
10797 (tramp-fish-maybe-open-connection):
10798 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10799 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10800 (tramp-imap-handle-insert-file-contents)
10801 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10803 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10805 * add-log.el (change-log-font-lock-keywords):
10806 Highlight all authors in multi-author entries.
10808 * smerge-mode.el (smerge-refine-ignore-whitespace)
10809 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10810 Fix typos in docstrings.
10811 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10813 2010-05-21 Glenn Morris <rgm@gnu.org>
10815 * progmodes/fortran.el (fortran-mode):
10816 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10818 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10819 having a relative path in src/Makefile.in.
10821 2010-05-20 Kevin Ryde <user42@zip.com.au>
10823 * help-mode.el (help-make-xrefs): For Info node links turn
10824 newlines into spaces. Link node names with newlines are matched
10825 by help-xref-info-regexp and buttonized, this change ensures they
10826 can be followed successfully with RET. (Bug#6206)
10828 2010-05-20 Juri Linkov <juri@jurta.org>
10830 * locate.el (locate): Use pop-to-buffer instead of
10831 switch-to-buffer-other-window. (Bug#6204)
10833 2010-05-20 Juri Linkov <juri@jurta.org>
10835 * replace.el (replace-highlight): Fix lazy-highlighting
10836 for `M-s w str M-% str RET'.
10838 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10840 * isearch.el (isearch-yank-word-or-char): Pull next subword
10841 when `subword-mode' is activated. (Bug#6220)
10843 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10845 * isearch.el (isearch-update-post-hook): New hook.
10846 (isearch-update): Use the new hook. (Bug#6225)
10848 2010-05-20 Juri Linkov <juri@jurta.org>
10850 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10851 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10854 2010-05-20 Juri Linkov <juri@jurta.org>
10856 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10859 2010-05-20 Juri Linkov <juri@jurta.org>
10861 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10862 FILE-NAME to read from the minibuffer when called interactively
10863 with prefix argument instead of using buffer-file-name.
10864 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10866 * dired.el: Update autoloads.
10868 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10870 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10871 nxml-finish-element, for consistency with SGML mode.
10873 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10874 octave-close-block.
10876 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10878 * composite.el: Require cl when compiling.
10879 (reference-point-alist, compose-gstring-for-graphic)
10880 (compose-gstring-for-terminal): Fix typos in docstrings.
10882 2010-05-19 Juri Linkov <juri@jurta.org>
10884 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10885 set-window-parameter.
10887 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10889 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10891 (tramp-maybe-open-connection): Use it.
10893 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10895 * simple.el (move-end-of-line): Make sure we are at line beginning
10896 before backing up to end of previous line.
10898 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10900 * password-cache.el (password-cache-remove): Fix docstring.
10902 * net/secrets.el: Autoload the widget functions.
10903 (secrets-search-items, secrets-create-item)
10904 (secrets-get-attributes, secrets-expand-item): Attributes will be
10905 stored on the password database without leading ":", as all other
10906 clients do as well.
10907 (secrets-mode): Fix docstring.
10908 (secrets-show-secrets): Provide it as autoloaded command only when
10909 D-Bus support is available. Check existence of Secret Service API.
10911 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10913 * indent.el (indent-region): Deactivate region (bug#6200).
10915 2010-05-19 Glenn Morris <rgm@gnu.org>
10917 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10919 2010-05-19 Kenichi Handa <handa@m17n.org>
10921 * composite.el: Register compose-gstring-for-graphic in
10922 composition-function-table only for combining characters (Mn, Mc, Me).
10924 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10926 * calc/calc-trail.el (calc-trail-isearch-forward)
10927 (calc-trail-isearch-backward): Ensure that the new window
10928 point is set correctly.
10930 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * subr.el (read-quoted-char): Resolve modifiers after key
10933 remapping (bug#6212).
10935 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10937 Add visualization code for secrets.
10938 * net/secrets.el (secrets-mode): New major mode.
10939 (secrets-show-secrets, secrets-show-collections)
10940 (secrets-expand-collection, secrets-expand-item)
10941 (secrets-tree-widget-after-toggle-function)
10942 (secrets-tree-widget-show-password): New defuns.
10944 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10946 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10947 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10948 handled in smie-next-sexp.
10949 (smie-indent-calculate): Provide a starting indentation (so the
10950 recursion is well-founded ;-).
10952 Fix handling of non-associative equal levels.
10953 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10954 when it's not needed.
10955 (smie-op-left, smie-op-right): New functions.
10956 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10957 Better handle equal levels to distinguish the associative case from
10958 the "multi-keyword construct" case.
10959 (smie-backward-sexp, smie-forward-sexp): Use it.
10961 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10963 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10965 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10966 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10968 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10970 Provide a simple generic indentation engine and use it for Prolog.
10971 * emacs-lisp/smie.el: New file.
10972 * progmodes/prolog.el (prolog-smie-op-levels)
10973 (prolog-smie-indent-rules): New var.
10974 (prolog-mode-variables): Use them to configure SMIE.
10975 (prolog-indent-line, prolog-indent-level): Remove.
10977 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10979 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10980 order before computing the averages.
10982 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10984 * calc/calc-vec.el (calc-histogram):
10985 (calcFunc-histogram): Allow vectors as inputs.
10986 (math-vector-avg): New function.
10988 * calc/calc-ext.el (math-group-float): Have the number of digits
10989 being grouped depend on the radix (Bug#6189).
10991 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10993 * version.el (emacs-copyright, emacs-version): Don't define here,
10994 now that emacs.c defines it.
10996 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10998 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10999 "Describe Language Environment" menu item.
11001 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11003 Bidi-sensitive movement with arrow keys.
11004 * subr.el (right-arrow-command, left-arrow-command): New functions.
11006 * bindings.el (global-map): Bind them to right and left arrow keys.
11008 Don't override standard definition of convert-standard-filename.
11009 * files.el (convert-standard-filename):
11010 Call w32-convert-standard-filename and dos-convert-standard-filename on
11011 the corresponding systems.
11013 * w32-fns.el (w32-convert-standard-filename): Rename from
11014 convert-standard-filename. Doc fix.
11016 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11017 (convert-standard-filename): Don't defalias.
11018 (register-name-alist, make-register, register-value)
11019 (set-register-value, intdos): Obsolete aliases for the
11020 corresponding dos-* functions and variables.
11021 (dos-intdos): Add a doc string.
11023 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11025 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11026 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11027 (math-compose-tex-func):
11028 * calc/calccomp.el (math-compose-expr):
11029 * calc/calc-ext.el (math-format-flat-expr-fancy):
11030 * calc/calc-store.el (calc-read-var-name):
11031 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11033 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11034 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11035 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11036 (math-standard-units): Add units.
11038 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11040 * progmodes/asm-mode.el (asm-mode):
11041 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11043 * pcomplete.el (pcomplete-completions-at-point): New function,
11044 extracted from pcomplete-std-complete.
11045 (pcomplete-std-complete): Use it.
11047 2010-05-15 Glenn Morris <rgm@gnu.org>
11049 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11050 Remove references to CVS, RCS and Old directories.
11052 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11054 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11057 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11059 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11060 (sh-mode-syntax-table): Give it a default value instead.
11061 (sh-header-marker): Make buffer-local.
11062 (sh-mode): Move make-local-variable to the corresponding setq.
11063 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11064 Use complete-with-action.
11066 * simple.el (prog-mode): New (abstract) major mode.
11067 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11068 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11070 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11072 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11073 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11074 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11075 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11076 (sql-escape-newlines-filter, sql-input-sender)
11077 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11079 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11081 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11083 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11084 latex-open-block and C-c / to latex-close-block.
11086 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11087 and C-c C-e to sgml-close-tag.
11089 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11091 * net/tramp.el (with-progress-reporter): Create reporter object
11092 only when the message would be displayed. Handle nested calls.
11093 (tramp-handle-load, tramp-handle-file-local-copy)
11094 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11095 (tramp-maybe-send-script, tramp-find-shell):
11096 Use `with-progress-reporter'.
11097 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11100 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11101 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11102 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11103 Use `with-progress-reporter'.
11105 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11107 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11108 process everytime when spellchecking from the minibuffer (bug#6143).
11110 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11112 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11114 * dos-fns.el: Add "dos-" prefix for namespace control.
11115 (convert-standard-filename): Define as alias for
11116 dos-convert-standard-filename but only if applicable.
11118 2010-05-12 Alan Mackenzie <acm@muc.de>
11120 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11121 Push the mark at the start of these functions when appropriate.
11123 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * minibuffer.el (completion-cycle-threshold): New custom var.
11126 (completion--do-completion): Use it.
11127 (minibuffer-complete): Use cycling if appropriate.
11129 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11131 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11132 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11134 2010-05-11 Juri Linkov <juri@jurta.org>
11136 * scroll-all.el (scroll-all-check-to-scroll):
11137 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11139 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11141 * iimage.el (iimage-mode-map): Move initialization into declaration.
11142 (iimage-mode-buffer): Use with-silent-modifications.
11143 Simplify calling convention. Adjust callers.
11144 (iimage-mode): Don't run hook redundantly.
11146 * minibuffer.el (completion-pcm--pattern->regex):
11147 Fix last change (bug#6160).
11149 2010-05-10 Juri Linkov <juri@jurta.org>
11151 Remove nodes visited during Isearch from the Info history.
11152 * info.el (Info-isearch-initial-history)
11153 (Info-isearch-initial-history-list): New variables.
11154 (Info-isearch-start): Record initial values of
11155 Info-isearch-initial-history and Info-isearch-initial-history-list.
11156 Add Info-isearch-end to isearch-mode-end-hook.
11157 (Info-isearch-end): New function.
11159 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11161 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11162 format string, in order to work around a bug in pdksh.
11163 Reported by Gilles Pion <gpion@lfdj.com>.
11164 (tramp-handle-verify-visited-file-modtime): Do not send a command
11165 when the connection is not established.
11166 (tramp-handle-set-file-times): Simplify the check for utc.
11168 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11170 Fix use of `filter-buffer-substring' (rework previous change).
11171 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11172 (cua-repeat-replace-region):
11173 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11174 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11175 (cua-cut-region-to-global-mark): Use it.
11177 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11179 * progmodes/sql.el: Version 2.1.
11180 (sql-product-alist): Redesign structure of product info.
11181 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11182 (sql-port, sql-port-history): New variables.
11183 (sql-interactive-product): New variable.
11184 (sql-send-terminator): New variable.
11185 (sql-imenu-generic-expression): Add "Types" imenu entry.
11186 (sql-oracle-login-params, sql-sqlite-login-params)
11187 (sql-mysql-login-params, sql-solid-login-params)
11188 (sql-sybase-login-params, sql-informix-login-params)
11189 (sql-ingres-login-params, sql-ms-login-params)
11190 (sql-postgres-login-params, sql-interbase-login-params)
11191 (sql-db2-login-params, sql-linter-login-params)
11192 (sql-oracle-scan-on): New variables.
11193 (sql-mode-map): Add C-c C-i to start interactive mode.
11194 (sql-mode-menu): Update existing menu entries.
11195 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11196 (sql-mode-oracle-font-lock-keywords)
11197 (sql-mode-postgres-font-lock-keywords)
11198 (sql-mode-ms-font-lock-keywords)
11199 (sql-mode-sybase-font-lock-keywords)
11200 (sql-mode-informix-font-lock-keywords)
11201 (sql-mode-interbase-font-lock-keywords)
11202 (sql-mode-ingres-font-lock-keywords)
11203 (sql-mode-solid-font-lock-keywords)
11204 (sql-mode-mysql-font-lock-keywords)
11205 (sql-mode-sqlite-font-lock-keywords)
11206 (sql-mode-db2-font-lock-keywords)
11207 (sql-mode-linter-font-lock-keywords): Update initialization to
11208 reduce run-time complexity.
11209 (sql-add-product, sql-del-product): New functions.
11210 (sql-set-product-feature, sql-get-product-feature): New functions.
11211 (sql-product-font-lock): Update product API.
11212 (sql-add-product-keywords): New function.
11213 (sql-highlight-product): Update product API.
11214 (sql-help-list-products): New function.
11215 (sql-help): Dynamically lists free and non-free products.
11216 (sql-get-login): Correct bug in handling history and added
11218 (sql-copy-column): Copy without properties.
11219 (sqli-input-sender): Apply filters to SQLi input.
11220 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11221 Implement as a filter.
11222 (sql-escape-newlines-filter): Implement as a filter.
11223 (sql-remove-tabs-filter): New function.
11224 (sql-send-magic-terminator): New function.
11225 (sql-send-string): Implement magic terminator.
11226 (sql-send-region): Use `sql-send-string'.
11227 (sql-interactive-mode): Use product API.
11228 (sql-product-interactive): Use product API.
11229 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11230 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11231 (sql-db2, sql-linter): Use `sql-product-interactive'.
11232 (sql-connect): New function.
11233 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11234 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11235 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11236 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11239 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11241 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11242 New custom variable.
11243 (completion-pcm--string->pattern): Use it.
11244 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11245 Make it handle any symbol as `any'.
11246 (completion-pcm--merge-completions): Extract common suffix for the new
11247 `prefix' symbol as well.
11248 (completion-substring--all-completions): Use the new `prefix' symbol.
11250 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11252 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11254 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11255 (tramp-compat-funcall): New defmacro.
11256 (tramp-compat-line-beginning-position)
11257 (tramp-compat-line-end-position)
11258 (tramp-compat-temporary-file-directory)
11259 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11260 (tramp-compat-copy-file, tramp-compat-copy-directory)
11261 (tramp-compat-delete-file, tramp-compat-delete-directory)
11262 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11263 * net/tramp.el (top, with-progress-reporter)
11264 (tramp-rfn-eshadow-setup-minibuffer)
11265 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11266 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11267 (tramp-completion-mode-p, tramp-check-for-regexp)
11268 (tramp-open-connection-setup-interactive-shell)
11269 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11270 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11271 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11272 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11273 (tramp-reporter-dump-variable, tramp-load-report-modules)
11274 (tramp-append-tramp-buffers)
11275 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11277 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11279 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11281 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11282 buffer-modtime. Adjust users.
11284 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11286 * international/mule.el (auto-coding-alist): Only purecopy
11287 car of each item, not the whole list (Bug#6083).
11289 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11291 * progmodes/js.el (js-mode): Make paragraph variables local before
11292 calling c-setup-paragraph-variables (Bug#6071).
11294 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11296 * composite.el (compose-region, reference-point-alist): Fix typos
11297 in the doc strings.
11299 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11301 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11302 gnuplot's "set" command.
11304 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11306 * abbrev.el (last-abbrev-text): Doc fix.
11307 (abbrev-prefix-mark): Don't escape parenthesis.
11309 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11311 * composite.el (find-composition): Doc fix.
11313 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11315 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11316 (sql-oracle-program, sql-sqlite-options)
11317 (sql-query-placeholders-and-send): Doc fixes.
11318 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11319 (sql-imenu-generic-expression, sql-buffer)
11320 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11321 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11322 (sql-mode-sybase-font-lock-keywords)
11323 (sql-mode-informix-font-lock-keywords)
11324 (sql-mode-interbase-font-lock-keywords)
11325 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11326 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11327 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11328 (sql-product-feature, sql-highlight-product)
11329 (comint-line-beginning-position, sql-rename-buffer)
11330 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11331 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11332 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11333 Fix typos in docstrings.
11335 2010-05-08 Juri Linkov <juri@jurta.org>
11337 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11338 property instead of `invisible' and `after-string' (bug#5998).
11340 2010-05-08 Juri Linkov <juri@jurta.org>
11342 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11344 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11346 * filecache.el (file-cache-add-directory-list)
11347 (file-cache-add-directory-recursively): Fix typos in docstrings.
11349 2010-05-08 Kenichi Handa <handa@m17n.org>
11351 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11352 (gujarati-composable-pattern): Fix typo.
11354 2010-05-08 Kenichi Handa <handa@m17n.org>
11356 * language/indian.el (oriya-composable-pattern)
11357 (tamil-composable-pattern, malayalam-composable-pattern):
11358 Add two-part vowels to "v" (vowel sign).
11360 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11362 * files.el (copy-directory): Handle symlinks (Bug#5982).
11364 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11366 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11367 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11370 2010-05-08 Glenn Morris <rgm@gnu.org>
11372 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11374 * minibuffer.el (completion-at-point): Doc fix.
11376 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11378 * electric.el (Electric-command-loop): Minor tweak.
11380 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11381 better with dedicated windows.
11383 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11385 * Version 23.2 released.
11387 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11388 Stefan Monnier <monnier@iro.umontreal.ca>
11390 Highlight vendor specific properties.
11391 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11392 (css-proprietary-property): New face.
11393 (css-font-lock-keywords): Use them.
11395 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11397 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11399 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11401 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11402 * files.el (auto-mode-alist): Remove redundant entries.
11404 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11405 * simple.el (auto-save-mode): Move from files.el.
11406 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11408 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11410 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11412 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11414 * mail/binhex.el (binhex-decode-region-internal)
11415 * mail/uudecode.el (uudecode-decode-region-internal)
11416 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11417 (dns-read-type, dns-query)
11418 * pgg-parse.el (pgg-parse-armor)
11419 * pgg.el (pgg-verify-region)
11420 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11423 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11425 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11427 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11429 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11430 * emulation/cua-base.el (cua-repeat-replace-region):
11431 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11432 (cua-cut-region-to-global-mark):
11433 Remove text properties with `set-text-properties'.
11435 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11437 * net/tramp.el (top, with-progress-reporter):
11438 Use `symbol-function' inside `funcall'.
11440 * net/tramp-compat.el (tramp-compat-file-attributes)
11441 (tramp-compat-delete-file, tramp-compat-delete-directory):
11442 Handle only `wrong-number-of-arguments' error.
11444 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11445 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11448 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11450 * minibuffer.el (completion--sreverse, completion--common-suffix):
11452 (completion-pcm--merge-completions): Extract common suffix when safe.
11454 * emacs-lisp/easy-mmode.el (define-minor-mode):
11455 Make :variable more flexible.
11456 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11458 2010-05-05 Juri Linkov <juri@jurta.org>
11460 Add `slow' and `history' tags to the desktop data.
11462 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11463 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11464 (Info-finder-find-node): Require `finder.el' to be able
11465 to restore node from the desktop.
11466 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11467 data `Info-history' and `slow' tag in the assoc list.
11468 (Info-restore-desktop-buffer): Don't restore nodes with the
11469 `slow' tag. Restore `Info-history'.
11471 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11473 Add FORCE argument to `delete-file'.
11475 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11476 forcing to delete the temporary file.
11477 (ange-ftp-delete-file): Add FORCE arg.
11478 (ange-ftp-rename-remote-to-remote)
11479 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11480 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11481 Force file deletion.
11483 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11485 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11486 (tramp-handle-make-symbolic-link, tramp-handle-load)
11487 (tramp-do-copy-or-rename-file-via-buffer)
11488 (tramp-do-copy-or-rename-file-directly)
11489 (tramp-do-copy-or-rename-file-out-of-band)
11490 (tramp-handle-process-file, tramp-handle-call-process-region)
11491 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11492 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11493 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11495 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11496 (tramp-fish-handle-make-symbolic-link)
11497 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11499 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11500 Use `tramp-compat-delete-file'.
11502 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11503 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11505 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11506 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11508 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11509 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11510 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11511 Use `tramp-compat-delete-file'.
11513 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * subr.el (add-minor-mode): Use push.
11517 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11518 * emulation/edt.el (edt-select-mode): Simplify.
11520 Use define-minor-mode in more cases.
11521 * term/tvi970.el (tvi970-set-keypad-mode):
11522 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11523 (normal-erase-is-backspace-mode):
11524 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11525 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11526 (get-scroll-bar-mode): New function.
11527 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11529 Use define-minor-mode for less obvious cases.
11530 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11531 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11532 * international/iso-ascii.el (iso-ascii-mode):
11533 * frame.el (auto-raise-mode, auto-lower-mode):
11534 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11536 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11538 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11539 in order to see error messages for failed logins.
11541 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11543 * diff.el (diff-sentinel):
11545 * epg.el (epg--make-temp-file, epg-decrypt-string)
11546 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11548 * jka-compr.el (jka-compr-partial-uncompress)
11549 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11551 * server.el (server-sentinel): Use delete-file's new FORCE arg
11554 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11556 Use define-minor-mode where applicable.
11557 * view.el (view-mode):
11558 * type-break.el (type-break-query-mode)
11559 (type-break-mode-line-message-mode):
11560 * textmodes/reftex.el (reftex-mode):
11561 * term/vt100.el (vt100-wide-mode):
11562 * tar-mode.el (tar-subfile-mode):
11563 * savehist.el (savehist-mode):
11564 * ibuf-ext.el (ibuffer-auto-mode):
11565 * composite.el (auto-composition-mode):
11566 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11567 Use define-minor-mode.
11568 (vhdl-mode): Use static mode-line format.
11569 (vhdl-mode-line-update): Delete.
11570 (vhdl-create-mode-menu, vhdl-activate-customizations)
11571 (vhdl-hs-minor-mode): Don't bother calling it.
11573 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11575 * simple.el (with-wrapper-hook): Move.
11576 (buffer-substring-filters): Mark obsolete.
11577 (filter-buffer-substring-functions): New variable.
11578 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11580 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11581 Michael Albinus <michael.albinus@gmx.de>
11583 Implement compression for inline methods.
11585 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11586 (tramp-copy-size-limit): Allow also nil.
11587 (tramp-inline-compress-commands): New defconst.
11588 (tramp-find-inline-compress, tramp-get-inline-compress)
11589 (tramp-get-inline-coding): New defuns.
11590 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11591 replaced by `tramp-get-inline-coding'.
11592 (tramp-handle-file-local-copy, tramp-handle-write-region)
11593 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11595 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11597 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11598 Remove unused functions.
11600 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11601 Set find-tag-default-function as a variable rather than a property.
11603 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11604 * progmodes/etags.el (tags-completion-at-point-function):
11605 Remove left over interactive spec. Add autoloading stub.
11606 (complete-tag): Use tags-completion-at-point-function.
11608 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11610 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11612 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11614 * ido.el (ido-init-completion-maps): Remove C-v binding.
11615 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11617 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11619 * minibuffer.el (tags-completion-at-point-function): New function.
11620 (completion-at-point-functions): Use it.
11622 * progmodes/etags.el (complete-tag): Revert last change.
11624 2010-04-29 Alan Mackenzie <acm@muc.de>
11626 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11627 off-by-one error (in end of macro position).
11629 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11631 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11632 firefox is absent. Don't autoload.
11633 (browse-url-galeon-program): Don't autoload.
11635 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11637 * bindings.el (complete-symbol): Move into minibuffer.el.
11639 * minibuffer.el (complete-tag): Move from etags.el. If tags
11640 completion cannot be performed, return nil instead of signalling
11642 (completion-at-point): Make it an alias for complete-symbol.
11643 (complete-symbol): Move from bindings.el, and replace with the
11644 body of completion-at-point.
11646 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11648 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11650 * net/tramp.el (tramp-remote-selinux-p): New defun.
11651 (tramp-handle-file-selinux-context)
11652 (tramp-handle-set-file-selinux-context): Use it.
11654 2010-04-28 Sam Steingold <sds@gnu.org>
11656 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11657 `safe-local-variable' if the value is a string or a symbol with
11658 the property `bug-reference-url-format'.
11660 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11662 * progmodes/bug-reference.el (bug-reference-url-format):
11663 Revert 2010-04-27 change due to security risk.
11665 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11667 Make it possible to locally disable a globally enabled mode.
11668 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11669 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11670 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11671 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11672 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11673 that subsequent hooks get a chance to disable it.
11675 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11677 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11678 Avoid re-enabling a minor mode after the user turned the minor mode
11679 off if MODE-enable-in-buffers is run twice (typically once from
11680 fundamental-mode's after-change-major-mode-hook and a second time from
11681 run-mode-hook's own after-change-major-mode-hook).
11683 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11685 2010-04-27 Sam Steingold <sds@gnu.org>
11687 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11688 `safe-local-variable' if the value is a string or a function, as
11689 documented and implemented on 2010-04-02.
11691 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11693 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11694 when method is 'kill.
11696 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11698 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11699 condition in default directory check.
11700 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11701 Kill ispell process when killing its associated buffer.
11703 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11705 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11706 but we aren't using it.
11708 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11710 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11711 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11713 2010-04-24 Glenn Morris <rgm@gnu.org>
11715 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11716 Ignore VCS-ignore files, and deleted nextstep preferences files.
11717 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11718 (authors-ambiguous-files): New list.
11719 (authors-valid-file-names): Add some deleted files.
11720 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11721 (authors-disambiguate-file-name): New function. (Bug#5501)
11722 (authors-canonical-file-name): Doc fix.
11723 Don't warn about obsolete files.
11724 (authors-canonical-file-name, authors-scan-el):
11725 Use authors-disambiguate-file-name.
11727 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11728 Add autoload cookies.
11729 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11730 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11731 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11732 They have definitions / compiler macros in cl.el.
11733 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11734 Replace manual autoloads with generated ones.
11735 (htmlfontify-unload-rgb-file): Remove autoload.
11736 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11738 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11740 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11741 (byte-compile-setq-default): Optimize for the
11742 single-var case and don't call byte-compile-form in this case to avoid
11743 inf-loop with byte-compile-set-default.
11745 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11747 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11749 Implement SELINUX backends.
11751 * net/tramp.el (tramp-file-name-handler-alist):
11752 Add `file-selinux-context' and `set-file-selinux-context'.
11753 (tramp-handle-file-selinux-context)
11754 (tramp-handle-set-file-selinux-context): New defuns.
11755 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11756 Handle PRESERVE-SELINUX-CONTEXT.
11758 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11759 Add `file-selinux-context' and `set-file-selinux-context'.
11760 (tramp-gvfs-handle-file-selinux-context)
11761 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11762 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11764 * net/ange-ftp.el (ange-ftp-copy-file):
11765 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11766 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11767 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11768 Add PRESERVE-SELINUX-CONTEXT.
11770 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11772 Synchronize with Tramp repository.
11774 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11775 (tramp-action-process-alive, tramp-action-out-of-band)
11776 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11777 (tramp-exists-file-name-handler): Fix docstring.
11778 (with-progress-reporter): New defmacro.
11779 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11780 (tramp-maybe-open-connection): Use it.
11782 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11784 Detect ssh 'ControlMaster' argument automatically in some cases.
11786 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11787 (tramp-default-method): Use it.
11789 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11791 * net/tramp.el (tramp-handle-copy-file): Add new optional
11792 parameter `preserve-selinux-context'.
11793 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11795 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11797 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11798 Ensure, that non remote files are still checked. Oops.
11800 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11804 * icomplete.el (icomplete-completions): Use `non-essential'.
11806 * net/tramp.el (tramp-connectable-p): New defun.
11807 (tramp-handle-expand-file-name)
11808 (tramp-completion-handle-file-name-all-completions)
11809 (tramp-completion-handle-file-name-completion): Use it.
11811 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11813 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11815 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11817 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11819 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11821 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11824 * info.el (info-tool-bar-map): Add labels.
11826 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11828 * cus-edit.el (custom-commands): Add labels for tool bar.
11829 (custom-buffer-create-internal, Custom-mode): Adjust for
11830 labels in custom-commands.
11832 * dynamic-setting.el: Renamed from font-setting.el.
11834 2010-04-21 John Wiegley <jwiegley@gmail.com>
11836 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11837 toggles the use of virtual buffers.
11838 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11839 (ido-toggle-virtual-buffers): New function.
11841 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11843 Use `define-derived-mode'; fix window selection; doc fixes.
11844 * play/tetris.el (tetris, tetris-update-speed-function)
11845 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11846 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11847 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11848 (tetris-pause-game): Fix typos in docstrings.
11849 (tetris-mode-map, tetris-null-map):
11850 Move initialization into declaration.
11851 (tetris-mode): Define with `define-derived-mode';
11852 set show-trailing-whitespace to nil.
11853 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11855 2010-04-21 Karel Klíč <kklic@redhat.com>
11857 * files.el (backup-buffer): Handle SELinux context, and return it
11858 if a backup was made by renaming.
11859 (backup-buffer-copy): Set SELinux context to the target file.
11860 (basic-save-buffer): Set SELinux context of the newly written file.
11861 (basic-save-buffer-1): Now it also returns any SELinux context.
11862 (basic-save-buffer-2): Set SELinux context of the newly created file,
11864 * net/tramp.el (tramp-file-name-for-operation):
11865 Add file-selinux-context.
11867 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11869 Make the log-edit comments use RFC822 format throughout.
11871 * vc.el (vc-checkin, vc-modify-change-comment):
11872 Adjust to new vc-start/finish-logentry.
11873 (vc-find-conflicted-file): New command.
11874 (vc-transfer-file): Adjust to new vc-checkin.
11875 (vc-next-action): Improve scoping.
11877 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11878 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11880 * vc-git.el (vc-git-log-edit-mode): Remove.
11881 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11882 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11884 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11885 (vc-start-logentry): Remove argument `extra'.
11886 (vc-finish-logentry): Remove extra args.
11888 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11889 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11890 (vc-bzr-conflicted-files): New function.
11892 * log-edit.el (log-edit-extra-flags)
11893 (log-edit-before-checkin-process): Remove.
11894 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11895 (log-edit-headers-alist): New var.
11896 (log-edit-header-contents-regexp): New const.
11897 (log-edit-match-to-eoh): New function.
11898 (log-edit-font-lock-keywords): Use them.
11899 (log-edit): Insert a "Summary:" header as default.
11900 (log-edit-mode): Mark font-lock rules as case-insensitive.
11901 (log-edit-done): Cleanup headers.
11902 (log-view-process-buffer): Remove.
11903 (log-edit-extract-headers): New function to replace it.
11905 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11907 * subr.el (default-direction-reversed): Remove obsolescence info.
11909 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11911 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11914 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11915 I.e. include text after point in the completion region.
11916 Also, return nil when we're not after/in a symbol.
11918 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11919 default enable-multibyte-characters.
11921 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11923 * international/mule.el: Help the user choose a valid coding-system.
11924 (read-buffer-file-coding-system): New function.
11925 (set-buffer-file-coding-system): Use it. Prompt the user if the
11926 coding-system cannot encode all the chars.
11928 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11929 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11930 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11931 Don't use *vc-bzr-shelve*.
11933 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11935 Fix the version number for added files.
11936 * vc-hg.el (vc-hg-working-revision): Check if the file is
11937 registered after hg parent fails (Bug#5961).
11939 2010-04-19 Glenn Morris <rgm@gnu.org>
11941 * htmlfontify.el (htmlfontify-buffer)
11942 (htmlfontify-copy-and-link-dir): Autoload entry points.
11944 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11946 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11947 name relative to the project root (Bug#5960).
11949 2010-04-19 Glenn Morris <rgm@gnu.org>
11951 * vc-git.el (vc-git-print-log): Doc fix.
11953 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11955 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11957 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11959 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11960 default settings (Bug#5928).
11962 2010-04-19 Glenn Morris <rgm@gnu.org>
11964 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11966 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11968 2010-04-19 Kenichi Handa <handa@m17n.org>
11970 * language/indian.el (malayalam-composable-pattern): Fix previous
11971 change (add U+0D4D "SIGN VIRAMA").
11972 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11973 (tamil-composable-pattern): Fix typo in the regexp.
11974 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11975 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11976 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11978 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11980 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11981 paragraph-separate (Bug#5821).
11983 2010-04-19 Juri Linkov <juri@jurta.org>
11985 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11987 * info.el (Info-find-node-2): Comment out code that skips
11989 (Info-mouse-follow-link): New command.
11990 (Info-link-keymap): New keymap.
11991 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11992 Return a string with links instead of inserting breadcrumbs
11993 to the Info buffer.
11994 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11995 Instead of putting the `invisible' text property over the Info
11996 header, make an overlay over the Info header with the `invisible'
11997 property and `after-string' set to the string returned by
11998 `Info-breadcrumbs'.
12000 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12002 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12003 Reported by monkey@sandpframing.com.
12005 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12007 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12008 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12009 available in the "keyseq cache" any more.
12011 * custom.el (defcustom): Add edebug spec.
12013 2010-04-18 Juri Linkov <juri@jurta.org>
12015 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12017 * view.el (view-file, view-buffer): Move test for special mode-class
12018 from view-file to view-buffer.
12020 * tar-mode.el (tar-extract): Turn if's into one cond
12021 like in arc-mode.el.
12023 2010-04-18 Juri Linkov <juri@jurta.org>
12025 Add 7z archive format support (bug#5475).
12027 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12028 (archive-7z-extract): New defcustom.
12029 (archive-find-type): Add magic string for 7z.
12030 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12031 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12032 `buffer' arg of `call-process'.
12033 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12034 call the function `archive-7z-extract' with the variable
12035 `archive-7z-extract' let-bound to `archive-zip-extract'.
12036 (archive-7z-summarize, archive-7z-extract): New functions.
12038 * international/mule.el (auto-coding-alist):
12039 * files.el (auto-mode-alist): Add 7z file extension.
12041 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12043 * loadup.el: Setup hash-cons for pure data.
12045 Fix duplicate entries in cedet's loaddefs.el files.
12046 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12047 Should make most file-local generated-autoload-file unnecessary.
12048 (print-readably): Silence warnings.
12049 (autoload-find-destination): Take load-name as an arg to make sure
12050 it's the same as the one that will be in the file.
12051 (autoload-generate-file-autoloads): Adjust to above changes.
12052 Try to make the dataflow a bit simpler.
12054 * cvs-status.el (cvs-refontify): Remove unused.
12056 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12058 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12060 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12061 twos-complement mode.
12063 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12065 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12066 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12067 (calc-inverse): Add "Option" to message, as appropriate.
12068 (calc-hyperbolic): Add "Option" to message, as appropriate.
12069 (calc-option, calc-is-option): New functions.
12071 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12072 (calc-option-prefix-help): New function.
12074 * calc/calc-misc.el (calc-help): Add "Option" entry.
12076 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12077 (calc-option-flag): New variable.
12078 (calc-do): Set `calc-option-flag to nil.
12079 (calc-set-mode-line): Add "Opt " as appropriate.
12081 2010-04-16 Juri Linkov <juri@jurta.org>
12083 Move scrolling commands from simple.el to window.el
12084 because their primitives are implemented in window.c.
12086 * simple.el (scroll-error-top-bottom)
12087 (scroll-up-command, scroll-down-command, scroll-up-line)
12088 (scroll-down-line, scroll-other-window-down)
12089 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12090 * window.el (scroll-error-top-bottom)
12091 (scroll-up-command, scroll-down-command, scroll-up-line)
12092 (scroll-down-line, scroll-other-window-down)
12093 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12094 Move from simple.el to window.el because their primitives are
12095 implemented in window.c.
12097 2010-04-16 Juri Linkov <juri@jurta.org>
12099 * isearch.el (isearch-lookup-scroll-key): Check both
12100 `isearch-scroll' and `scroll-command' properties.
12101 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12103 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12105 * simple.el (scroll-up-command, scroll-down-command)
12106 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12108 2010-04-15 Juri Linkov <juri@jurta.org>
12110 * simple.el (scroll-up-command, scroll-down-command)
12111 (scroll-up-line, scroll-down-line): Put `scroll-command'
12112 property on the these symbols. Remove them from
12113 `scroll-preserve-screen-position-commands'.
12115 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12116 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12117 Remove it from `scroll-preserve-screen-position-commands'.
12119 * isearch.el (isearch-allow-scroll): Doc fix.
12121 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12123 * net/tramp.el (tramp-error-with-buffer): Don't show the
12124 connection buffer when we are in completion mode.
12125 (tramp-file-name-handler): Catch the error for some operations
12126 when we are in completion mode. This gives the user the chance to
12127 correct the file name in the minibuffer.
12129 2010-04-15 Glenn Morris <rgm@gnu.org>
12131 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12133 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12135 Simplify by using `define-derived-mode'.
12136 * info.el (Info-mode):
12137 * calendar/todo-mode.el (todo-mode):
12138 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12139 (gomoku-mode-map): Move initialization into declaration.
12141 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12144 * ido.el (ido-file-name-all-completions-1):
12145 * minibuffer.el (minibuffer-completion-help):
12146 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12148 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12150 * simple.el (non-essential): New var.
12152 Add a new field `location' to bookmarks for non-file bookmarks.
12153 * bookmark.el (bookmark-location): Use the new field, if present.
12154 (bookmark-insert-location): Undo last change, not needed any more.
12155 * man.el (Man-bookmark-make-record):
12156 * woman.el (woman-bookmark-make-record): Add `location' field.
12158 2010-04-14 Juri Linkov <juri@jurta.org>
12160 * simple.el (scroll-error-top-bottom): New defcustom.
12161 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12163 * emulation/pc-select.el (pc-select-override-scroll-error):
12164 Obsolete in favor of `scroll-error-top-bottom'.
12166 2010-04-14 Juri Linkov <juri@jurta.org>
12168 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12169 `scroll-up-command' and `M-v' to `scroll-down-command'.
12171 * emulation/cua-rect.el (cua--init-rectangles):
12172 * forms.el (forms--change-commands):
12173 * image-mode.el (image-mode-map):
12174 Remap scroll-down-command and scroll-up-command
12175 in addition to scroll-down and scroll-up.
12177 2010-04-14 Juri Linkov <juri@jurta.org>
12179 * mwheel.el (scroll-preserve-screen-position-commands):
12180 Add mwheel-scroll to this list of commands.
12182 * simple.el (scroll-preserve-screen-position-commands):
12183 Add scroll-up-command, scroll-down-command, scroll-up-line,
12184 scroll-down-line to this list of commands.
12186 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12188 * obsolete/complete.el: Move from lisp/complete.el.
12190 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12192 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12193 to the minor mode function now turns the mode ON unconditionally.
12195 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12197 * vc-dir.el (vc-dir-kill-line): New command.
12198 (vc-dir-mode-map): Bind it to C-k.
12200 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12202 * woman.el: Add bookmark declarations to silence the compiler.
12203 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12204 step to compatibility between man and woman bookmarks.
12205 Adjust for Man-default-bookmark-title renaming.
12206 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12208 * man.el: Add bookmark declarations to silence the compiler.
12209 (Man-name-local-regexp): Make it match NAME as well.
12210 (Man-getpage-in-background): Return the buffer.
12211 (Man-notify-when-ready): Use `case'.
12212 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12213 Don't hardcode "NAME". Simplify.
12214 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12215 Rename from Man-bookmark-make-record.
12216 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12217 we have the actual man-args. Use Man-getpage-in-background rather
12218 than `man' since the arg is already processed. Let bookmark.el do the
12219 window handling. Only wait for the relevant process.
12220 Don't forget to autoload.
12222 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12224 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12226 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12228 (woman-mode): Setup bookmark support.
12230 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12231 (man-bookmark-jump): New functions.
12232 (Man-mode): Setup bookmark support.
12234 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12236 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12237 recognize ssh-keygen prompt (Bug#2817).
12239 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12241 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12243 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12245 Synchronize with Tramp repository.
12247 * net/tramp.el (tramp-completion-function-alist)
12248 (tramp-file-name-regexp, tramp-chunksize)
12249 (tramp-local-coding-commands, tramp-remote-coding-commands):
12251 (tramp-remote-process-environment): Use `format' instead of `concat'.
12252 (tramp-handle-directory-files-and-attributes)
12253 (tramp-get-remote-path): Use `copy-tree'.
12254 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12255 compatibility: Use `completion-ignore-case' if
12256 `read-file-name-completion-ignore-case' does not exist.
12257 (tramp-do-copy-or-rename-file-directly): Do not use
12258 `tramp-handle-file-remote-p'.
12259 (tramp-do-copy-or-rename-file-out-of-band):
12260 Use `tramp-compat-delete-directory'.
12261 (tramp-do-copy-or-rename-file-out-of-band)
12262 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12263 Use `format-spec-make'.
12264 (tramp-find-foreign-file-name-handler)
12265 (tramp-advice-make-auto-save-file-name)
12266 (tramp-set-auto-save-file-modes): Remove superfluous check for
12267 `stringp'. This is done inside `tramp-tramp-file-p'.
12268 (tramp-debug-outline-regexp): New defconst.
12269 (tramp-get-debug-buffer): Use it.
12270 (tramp-check-for-regexp): Use (forward-line 1).
12271 (tramp-set-auto-save-file-modes): Adapt version check.
12273 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12274 Wrap call of `featurep' for 2nd argument.
12275 (tramp-compat-make-temp-file): Simplify fallback implementation.
12276 (tramp-compat-copy-tree): Remove function.
12277 (tramp-compat-delete-directory): Provide implementation for older
12280 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12281 Do not use `tramp-fish-handle-file-attributes.
12283 * net/trampver.el: Update release number.
12285 2010-04-10 Glenn Morris <rgm@gnu.org>
12287 * progmodes/compile.el (compilation-save-buffers-predicate):
12288 Add missing :version tag.
12290 2010-04-09 Sam Steingold <sds@gnu.org>
12292 * progmodes/compile.el (compilation-save-buffers-predicate):
12293 Remove the "autoload" cookie.
12295 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12296 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12297 and `bug-reference-prog-mode' can be used in hooks directly.
12299 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12301 Add --author support to git commit.
12302 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12303 (vc-git-log-edit-mode): New minor mode.
12304 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12307 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12309 * vc-hooks.el, vc-git.el: Improve documentation comments.
12311 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12313 Fix some of the problems in defsubst* (bug#5728).
12314 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12315 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12317 2010-04-07 Sam Steingold <sds@gnu.org>
12319 * progmodes/compile.el (compilation-save-buffers-predicate):
12320 New custom variable.
12321 (compile, recompile): Pass it to `save-some-buffers'.
12323 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12325 * wid-edit.el (widget-choose): Move cursor to the second line of
12326 the buffer (Bug#5695).
12328 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12330 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12331 * vc.el (vc-print-log-setup-buttons): New function split out from
12332 vc-print-log-internal.
12333 (vc-log-internal-common): New function, a parametrized version of
12334 vc-print-log-internal.
12335 (vc-print-log-internal): Just call vc-log-internal-common with the
12337 (vc-incoming-outgoing-internal):
12338 (vc-log-incoming, vc-log-outgoing): New functions.
12339 (vc-log-view-type): New permanent local variable.
12341 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12343 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12344 of the dynamic bound vc-short-log.
12345 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12347 * vc-git.el (vc-git-log-outgoing): New function.
12348 (vc-git-log-view-mode): Use vc-log-view-type instead
12349 of the dynamic bound vc-short-log.
12351 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12352 of the dynamic bound vc-short-log. Highlight the tag.
12353 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12354 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12355 (vc-hg-incoming-mode): Remove.
12356 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12358 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12360 Fix default-directory for vc-root-diff.
12361 * vc.el (vc-root-diff): Bind default-directory to the root
12362 directory for the diff command.
12364 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12366 * progmodes/verilog-mode.el (verilog-forward-sexp):
12367 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12368 word keywords, suggested by Steve Pearlmutter.
12369 (verilog-pretty-declarations): Support lineup of declarations in
12371 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12372 fix bug for /* / comments.
12373 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12374 Speed up and simplfy as this is never called with a bound.
12375 (verilog-pretty-declarations): Enhance to line up declarations
12376 inside a parameter list, suggested by Alan Morgan.
12377 (verilog-pretty-expr): Tune assignment regular expression match
12378 string for corner cases; also use markers instead of character
12379 number as indent changes the later.
12381 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12383 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12384 as missing keyword.
12385 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12386 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12387 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12388 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12390 (verilog-keywords):
12391 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12392 1800-2009 keywords, including "global.".
12394 2010-04-06 John Wiegley <jwiegley@gmail.com>
12396 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12397 appearing in buffer list (if a live buffer name matched a recentf
12398 file basename). Should use uniquify to offer a real solution.
12400 2010-04-06 John Wiegley <jwiegley@gmail.com>
12402 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12403 comment to code, and add a :version tag.
12404 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12406 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12408 Enable recentf-mode if using virtual buffers.
12409 * ido.el (recentf-list): Declare for byte-compiler.
12410 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12411 (ido-make-buffer-list): Simplify.
12412 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12414 2010-04-05 Juri Linkov <juri@jurta.org>
12416 Scrolling commands which scroll a line instead of full screen.
12417 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12419 * simple.el (scroll-up-line, scroll-down-line): New commands.
12420 Put property isearch-scroll=t on them.
12422 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12425 2010-04-05 Juri Linkov <juri@jurta.org>
12427 Scrolling commands which do not signal errors at top/bottom.
12428 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12430 * simple.el (scroll-up-command, scroll-down-command): New commands.
12431 Put property isearch-scroll=t on them.
12433 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12434 `scroll-down-command' and [next] from `scroll-up' to
12435 `scroll-up-command'.
12437 * emulation/cua-base.el: Put property CUA=move on
12438 `scroll-up-command' and `scroll-down-command'.
12439 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12440 and `scroll-down-command' to `cua-scroll-down'.
12442 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12444 * help.el (describe-mode): Return nil.
12446 2010-04-04 John Wiegley <jwiegley@gmail.com>
12448 * ido.el (ido-use-virtual-buffers): New variable to indicate
12449 whether "virtual buffer" support is enabled for IDO.
12450 (ido-virtual): Face used to indicate virtual buffers in the list.
12451 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12452 exists, but a virtual buffer of that name does (which would be why
12453 it was in the list), recreate the buffer by reopening the file.
12454 (ido-make-buffer-list): If virtual buffers are being used, call
12455 `ido-add-virtual-buffers-to-list' before the make list hook.
12456 (ido-virtual-buffers): New variable which contains a copy of the
12457 current contents of the `recentf-list', albeit pared down for the
12458 sake of speed, and with proper faces applied.
12459 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12460 create a list of "virtual buffers" to present to the user in
12461 addition to the currently open set. Note that this logic could
12462 get rather slow if that list is too large. With the default
12463 `recentf-max-saved-items' of 200, there is little speed penalty.
12465 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12467 * font-lock.el: Require CL when compiling.
12468 (font-lock-turn-on-thing-lock): Use `case'.
12470 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12472 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12475 2010-04-02 Juri Linkov <juri@jurta.org>
12477 * ehelp.el (electric-help-orig-major-mode):
12478 New buffer-local variable.
12479 (electric-help-mode): Set it to original major-mode. Doc fix.
12480 (with-electric-help): Use `electric-help-orig-major-mode' instead
12481 of (default-value 'major-mode). Doc fix.
12482 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12484 2010-04-02 Sam Steingold <sds@gnu.org>
12486 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12487 `vc-hg-command' with a list of flags.
12489 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12490 Also accept "patch" and "RFE".
12491 (bug-reference-fontify): `bug-reference-url-format' can also be a
12492 function to be able to handle the bug kind.
12493 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12495 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12497 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12498 value to fboundp, it may not be a symbol.
12500 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12502 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12504 2010-03-31 Juri Linkov <juri@jurta.org>
12506 * simple.el (next-line, previous-line): Re-throw a signal
12507 with `signal' instead of using `ding'.
12508 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12510 2010-03-31 Juri Linkov <juri@jurta.org>
12512 * simple.el (keyboard-escape-quit): Raise deselecting the active
12513 region higher than exiting the minibuffer.
12514 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12516 2010-03-31 Juri Linkov <juri@jurta.org>
12518 * image.el (image-animated-p): Use `image-metadata' instead of
12519 `image-extension-data'. Get GIF extenstion data from metadata
12520 property `extension-data'.
12522 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12524 * simple.el (append-to-buffer): Simplify.
12526 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12528 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12529 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12531 2010-03-31 Kenichi Handa <handa@m17n.org>
12533 * language/sinhala.el (composition-function-table): Fix regexp for
12534 the new Unicode specification.
12536 * language/indian.el (devanagari-composable-pattern)
12537 (tamil-composable-pattern, kannada-composable-pattern)
12538 (malayalam-composable-pattern): Adjust for the new Unicode
12540 (bengali-composable-pattern, gurmukhi-composable-pattern)
12541 (gujarati-composable-pattern, oriya-composable-pattern)
12542 (telugu-composable-pattern): New variables to cope with the new
12543 Unicode specification. Use them in composition-function-table.
12545 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12547 Make tmm-menubar work for the Buffers menu again (bug#5726).
12548 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12549 vectors rather than cons cells, as used in menu-bar-update-buffers.
12551 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12553 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12554 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12555 electric punctuation for "{}();,:" (Bug#5586).
12557 * mail/sendmail.el (mail-default-directory): Doc fix.
12559 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12561 * mail/sendmail.el (mail-default-directory): Doc fix.
12563 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12565 * subr.el (version-regexp-alist, version-to-list)
12566 (version-list-<, version-list-=, version-list-<=)
12567 (version-list-not-zero, version<, version<=, version=): Doc fix.
12570 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12572 * vc.el (vc-root-diff): Doc fix.
12574 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12576 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12578 * simple.el (append-to-buffer): Fix last change.
12580 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12582 * simple.el (append-to-buffer): Ensure that point is preserved if
12583 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12586 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12588 * files.el (auto-mode-case-fold): Change default to t.
12590 2010-03-30 Juri Linkov <juri@jurta.org>
12592 * dired-x.el (dired-omit-mode): Doc fix.
12594 2010-03-30 Juri Linkov <juri@jurta.org>
12596 * replace.el (occur-accumulate-lines): Move occur-engine related
12597 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12598 to be located after `occur-engine'.
12600 2010-03-30 Juri Linkov <juri@jurta.org>
12602 Make occur handle multi-line matches cleanly with context.
12603 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12605 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12606 (occur-engine): Add local variables `ret', `prev-after-lines',
12607 `prev-lines'. Use more arguments for `occur-context-lines'.
12608 Set first elem of its returned list to `data', and the second elem
12609 to `prev-after-lines'. Don't print the separator line.
12610 In the end, print remaining context after-lines.
12611 (occur-context-lines): Add new arguments `begpt', `endpt',
12612 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12613 after-lines of the previous match with before-lines of the
12614 current match and not overlap them. Return a list with two
12615 values: the output line and the list of context after-lines.
12617 2010-03-30 Juri Linkov <juri@jurta.org>
12619 * replace.el (occur-accumulate-lines): Fix a bug where the first
12620 context line at the beginning of the buffer was missing.
12622 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12624 * files.el: Make bidi-display-reordering safe variable for boolean
12627 2010-03-29 Phil Hagelberg <phil@evri.com>
12628 Chong Yidong <cyd@stupidchicken.com>
12630 * subr.el: Extend progress reporters to perform "spinning".
12631 (progress-reporter-update, progress-reporter-do-update):
12632 Handle non-numeric value arguments.
12633 (progress-reporter--pulse-characters): New var.
12635 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12637 * progmodes/compile.el (compilation-start): Fix regexp detection
12638 of initial cd command (Bug#5771).
12640 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12642 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12644 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12646 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12647 * progmodes/gdb-mi.el: Restore.
12648 * progmodes/gdb-ui.el: Remove.
12649 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12651 2010-03-25 Glenn Morris <rgm@gnu.org>
12653 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12654 all dired buffers, even tramp ones. (Bug#5755)
12656 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12658 Add "union tags" in mpc.el.
12659 * mpc.el: Remove backward compatibility code.
12660 (mpc-browser-tags): Change default.
12661 (mpc--find-memoize-union-tags): New var.
12662 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12663 (mpc-cmd-find): Handle the case where the playlist does not exist.
12665 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12666 (mpc-cmd-add): Use mpc-cmd-flush.
12667 (mpc-tagbrowser-tag-name): New fun.
12668 (mpc-tagbrowser-buf): Use it.
12669 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12671 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12674 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12675 Use replace-regexp-in-string.
12676 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12677 (makefile-imake-mode-syntax-table): Move init into defvar.
12678 (makefile-mode): Use define-derived-mode.
12680 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12681 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12682 not be present any more.
12684 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12686 * faces.el (set-face-attribute): Fix typo in docstring.
12687 (face-valid-attribute-values): Reflow docstring.
12689 2010-03-24 Glenn Morris <rgm@gnu.org>
12691 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12693 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12695 * indent.el (indent-for-tab-command): Doc fix.
12697 2010-03-24 Alan Mackenzie <acm@muc.de>
12699 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12700 Fix off-by-one error. Fixes bug #5747.
12702 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12704 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12705 (image-dired-read-comment): Doc fix.
12707 * json.el (json-object-type, json-array-type, json-key-type)
12708 (json-false, json-null, json-read-number):
12709 * minibuffer.el (completion-in-region-functions):
12710 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12711 (cal-tex-cursor-week):
12712 * emacs-lisp/trace.el (trace-function):
12713 * eshell/em-basic.el (eshell/printnl):
12714 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12715 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12716 * obsolete/levents.el (allocate-event, event-key, event-object)
12717 (event-point, event-process, event-timestamp, event-to-character)
12718 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12719 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12720 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12721 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12722 (reftex-highlight-selection): Fix typos in docstrings.
12724 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12726 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12728 2010-03-24 Glenn Morris <rgm@gnu.org>
12730 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12731 2008-02-13 without comment; mark it obsolete.
12732 (rmail-highlight-headers): Use rmail-highlight-face once more.
12734 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12736 * woman.el (woman2-process-escapes): Only consume the newline if
12737 the filler character is on a line by itself (Bug#5729).
12739 2010-03-24 Kenichi Handa <handa@m17n.org>
12741 * language/indian.el (devanagari-composable-pattern): Add more
12744 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12746 * net/trampver.el: Update release number.
12748 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12750 * net/tramp.el (tramp-find-executable):
12751 Use `tramp-get-connection-buffer'. Make the regexp for checking
12752 output of "wc -l" more robust.
12753 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12754 (tramp-open-connection-setup-interactive-shell): Remove workaround
12755 for OpenSolaris bug, it is not needed anymore.
12757 2010-03-24 Glenn Morris <rgm@gnu.org>
12759 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12761 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12763 * files.el (auto-mode-alist): Accept more verilog file patterns.
12765 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12769 2010-03-24 Glenn Morris <rgm@gnu.org>
12771 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12772 log-edit-before-checkin-process.
12774 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12776 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12778 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12779 (log-view-process-buffer, log-edit-extra-flags): Declare.
12781 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12783 2010-03-23 Sam Steingold <sds@gnu.org>
12785 Fix bug#5620: recalculate all markers on compilation buffer
12786 modifications, not on file modifications.
12787 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12788 variable: the buffer modification time, for buffers not associated with
12790 (compilation-mode): Create it.
12791 (compilation-filter): Update it.
12792 (compilation-next-error-function): Use it instead of
12793 `visited-file-modtime' for timestamp.
12795 2010-03-23 Juri Linkov <juri@jurta.org>
12797 Implement Occur multi-line matches.
12798 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12800 * replace.el (occur): Doc fix.
12801 (occur-engine): Set `begpt' to the beginning of the first line.
12802 Set `endpt' to the end of the last match line. At first, count
12803 line numbers between `origpt' and `begpt'. Split out code from
12804 `out-line' variable to new let-bindings `match-prefix' and
12805 `match-str'. In `out-line' add non-numeric prefix to all
12806 non-first lines of multi-line matches. Finally, count lines
12807 between `begpt' and `endpt' and add to `lines'.
12809 2010-03-23 Juri Linkov <juri@jurta.org>
12811 * replace.el (occur-accumulate-lines, occur-engine):
12812 Use `occur-engine-line' instead of duplicate code.
12813 (occur-engine-line): New function created from duplicate code
12814 in `occur-accumulate-lines' and `occur-engine'.
12816 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12817 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12819 2010-03-23 Juri Linkov <juri@jurta.org>
12821 * finder.el: Remove TODO tasks.
12823 * info.el (Info-finder-find-node): Add node "all"
12824 with all package info. Handle a list of multiple keywords
12825 separated by comma.
12826 (info-finder): In interactive use with a prefix argument,
12827 use `completing-read-multiple' to read a list of keywords
12828 separated by comma.
12830 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12832 Add a new completion style `substring'.
12833 * minibuffer.el (completion-basic--pattern): New function.
12834 (completion-basic-try-completion, completion-basic-all-completions):
12836 (completion-substring--all-completions)
12837 (completion-substring-try-completion)
12838 (completion-substring-all-completions): New functions.
12839 (completion-styles-alist): New style `substring'.
12841 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12843 Get rid of .elc files after removal of the corresponding .el.
12844 * Makefile.in (compile-clean): New target.
12845 (compile-main): Use it.
12847 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12849 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12850 don't do make there. When compiling with separate object dir, there
12851 is no Makefile there.
12853 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12855 Get rid of the ELCFILES abomination, again.
12856 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12857 (all, compile): Don't call compile-last.
12858 (compile-main): Build the "elcfiles" list dynamically.
12859 (compile-targets): New (internal) target.
12861 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12863 * Makefile.in (top_srcdir): Define.
12864 (abs_top_builddir): Define.
12865 (srcdir): Don't append `/..'.
12866 (EMACS): Use ${abs_top_builddir}.
12867 (all, compile, compile-always, compile-last): Don't set emacswd.
12868 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12870 (lisp): Use $(srcdir) instead of @srcdir@.
12872 2010-03-21 Juri Linkov <juri@jurta.org>
12874 Fix message of multi-line occur regexps and multi-buffer header lines.
12875 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12877 * replace.el (occur-1): Don't display regexp if it is longer
12878 than window-width. Use `query-replace-descr' to display regexp.
12879 (occur-engine): Don't display regexp in the buffer header for
12880 multi-buffer occur. Display a separate header line with total
12881 match count and regexp for multi-buffer occur.
12882 Use `query-replace-descr' to display regexp.
12884 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12886 * net/secrets.el: Fix parenthesis.
12887 (secrets-enabled): Fix parenthesis.
12889 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12891 Use more relative file and directory names.
12892 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12893 (setwins, setwins_almost, setwins_for_subdirs):
12894 Don't `cd'; output relative names.
12895 (all, compile, compile-always, compile-last): Set emacswd.
12896 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12897 Just cd to the lisp source dir so we can use relative file names.
12899 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12901 2010-03-20 Glenn Morris <rgm@gnu.org>
12903 * textmodes/rst.el: Use faces for font-lock customization, and make the
12904 old -face variables obsolete.
12905 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12906 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12907 (rst-block-face, rst-external-face, rst-definition-face)
12908 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12909 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12911 (rst-font-lock-keywords-function): Update for above changes.
12913 2010-03-20 Juri Linkov <juri@jurta.org>
12916 * obsolete/s-region.el: Move to obsolete.
12918 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12920 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12922 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12924 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12926 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12928 Add special markup processing for commit logs.
12929 * log-edit.el (log-edit-extra-flags): New variable.
12930 (log-edit): Add new argument MODE. Use that mode when non-nil
12931 instead of the log-view-mode.
12932 (log-view-process-buffer): New function.
12934 * vc.el: Document that the checkin method takes optional
12935 arguments. Document new backend specific method: log-view-mode.
12936 (vc-default-log-edit-mode): New function.
12937 (vc-checkin): Use a backend specific log-view-mode.
12938 Pass extra arguments to the checkin method.
12939 (vc-modify-change-comment): Pass a dummy extra argument.
12941 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12943 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12944 (vc-finish-logentry): Process the log buffer before passing it
12945 down. Pass log-edit-extra-flags.
12947 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12949 (log-edit-extra-flags, log-edit-before-checkin-process):
12952 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12954 (log-edit-extra-flags, log-edit-before-checkin-process):
12956 (vc-hg-log-edit-mode): New derived mode.
12958 * vc-arch.el (vc-arch-checkin):
12959 * vc-cvs.el (vc-cvs-checkin):
12960 * vc-git.el (vc-git-checkin):
12961 * vc-mtn.el (vc-mtn-checkin):
12962 * vc-rcs.el (vc-rcs-checkin):
12963 * vc-sccs.el (vc-sccs-checkin):
12964 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12966 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12968 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12971 2010-03-19 Glenn Morris <rgm@gnu.org>
12973 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12975 2010-03-18 Glenn Morris <rgm@gnu.org>
12977 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12979 * replace.el (query-replace-history): Give it a doc string.
12980 (map-query-replace-regexp): Use query-replace-from-history-variable
12981 and query-replace-to-history-variable.
12983 * mail/hashcash.el (declare-function): Remove duplicate definition.
12985 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12986 Make it an obsolete alias for report-emacs-bug-address.
12987 (message-strip-special-text-properties): Declare.
12988 (report-emacs-bug): Remove test for a pretest bug address.
12989 Combine message-mode-specific code.
12991 * mail/supercite.el: Don't require sendmail.
12992 (mh-in-header-p): Declare rather than using with-no-warnings.
12993 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12994 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12996 * calendar/cal-french.el: Convert to utf-8.
12998 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13001 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13003 * net/secrets.el (secrets-enabled): New variable. Use it instead
13006 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13008 * net/secrets.el (top): Register the D-Bus signals only when the
13009 service "org.freedesktop.secrets" can be pinged.
13010 Provide subfeature `enabled'.
13012 2010-03-14 Juri Linkov <juri@jurta.org>
13014 Add finder unknown keywords.
13016 * finder.el (finder-unknown-keywords): New function.
13018 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13019 to create a Finder node with unknown keywords.
13021 2010-03-14 Juri Linkov <juri@jurta.org>
13023 * finder.el (finder-compile-keywords): Replace `princ' with
13024 `prin1' on a list of symbols interned from keyword strings.
13026 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13027 a comma, then split keywords using a comma and optional whitespace.
13028 Otherwise, split by whitespace.
13036 * progmodes/mixal-mode.el: Fix keywords.
13038 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13040 * Makefile.in (ELCFILES): Add net/secrets.elc.
13042 * net/secrets.el: New file.
13044 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13046 * facemenu.el (list-colors-display, list-colors-print): New arg
13047 callback. Use it to allow selecting colors.
13049 * wid-edit.el (widget-image-insert): Insert image prop even if the
13050 current display is non-graphic.
13051 (widget-field-value-set): New fun.
13052 (editable-field): Use it.
13053 (widget-field-value-get): Clean up unused var.
13054 (widget-color-value-create, widget-color--choose-action):
13055 New funs. Allow using list-colors-display to choose color.
13057 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13059 * cus-edit.el: Resort topmost custom groups.
13060 (custom-buffer-sort-alphabetically): Default to t.
13061 (customize-apropos): Use apropos-parse-pattern.
13062 (custom-search-field): New var.
13063 (custom-buffer-create-internal): Add custom-apropos search field.
13064 (custom-add-parent-links): Don't display parent doc.
13065 (custom-group-value-create): Don't sort top-level custom group.
13066 (custom-magic-value-create): Show visibility button before option name.
13068 (custom-variable-state): New fun, from custom-variable-state-set.
13069 (custom-variable-state-set): Use it.
13070 (custom-group-value-create): Hide options with standard values
13071 using the :hidden-states property. Use progress reporter.
13073 (custom-show): Simplify.
13074 (custom-visibility): Disable images by default.
13075 (custom-variable): New property :hidden-states.
13076 (custom-variable-value-create): Enable images for
13077 custom-visibility widgets. Use :hidden-states property to
13078 determine initial visibility.
13080 * wid-edit.el (widget-image-find): Give images center ascent.
13081 (visibility): Add :on-image and :off-image properties.
13082 (widget-visibility-value-create): Use them.
13084 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13086 * cus-edit.el (processes): Remove from development group.
13087 (oop, hypermedia): Delete group.
13088 (comm): Promote to top-level group.
13090 * net/browse-url.el (browse-url):
13091 * net/xesam.el (xesam):
13092 * net/tramp.el (tramp):
13093 * net/goto-addr.el (goto-address):
13094 * net/ange-ftp.el (ange-ftp): Put in comm group.
13096 * view.el (view): Remove from editing group.
13098 * uniquify.el (uniquify): Put in files group.
13100 * net/browse-url.el (browse-url):
13101 * ps-print.el (postscript): Put in external group.
13103 * cus-edit.el (outlines):
13104 * textmodes/text-mode.el (text-mode-hook):
13105 * textmodes/table.el (table):
13106 * textmodes/picture.el (picture):
13107 * outline.el (outlines): Put in wp group.
13109 * nxml/nxml-mode.el (nxml): Remove from wp group.
13111 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13113 * mail/metamail.el (metamail): Remove from hypermedia group.
13115 * cus-edit.el (abbrev):
13116 * whitespace.el (whitespace):
13117 * vcursor.el (vcursor):
13118 * reveal.el (reveal):
13119 * hl-line.el (hl-line): Put in convenience group.
13121 * epg-config.el (epg): Put in data group.
13123 * emulation/pc-select.el (pc-select): Put in emulations group.
13125 * calculator.el (calculator): Put in applications group.
13127 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13129 Add .dir-locals.el support for file-less buffers.
13130 * files.el (hack-local-variables): Split out code to apply local
13131 variable settings ...
13132 (hack-local-variables-apply): ... here. New function.
13133 (hack-dir-local-variables): Use the default directory for when the
13134 buffer does not have an associated file.
13135 (hack-dir-local-variables-non-file-buffer): New function.
13136 * diff-mode.el (diff-mode):
13137 * vc-annotate.el (vc-annotate-mode):
13138 * vc-dir.el (vc-dir-mode):
13139 * log-edit.el (log-edit-mode):
13140 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13142 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13144 Add support for shelving snapshots and for showing shelves.
13145 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13146 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13148 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13149 (vc-bzr-extra-menu-map): Map them.
13151 2010-03-11 Glenn Morris <rgm@gnu.org>
13153 * cus-edit.el (customize-changed-options-previous-release):
13156 * image.el (image-animate-max-time): Fix :version tag.
13158 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13162 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13164 * vc-git.el (vc-git-revision-table): Include remote branches.
13166 2010-03-10 Kim F. Storm <storm@cua.dk>
13168 Animated image API.
13169 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13171 * image.el (image-animate-max-time): New defcustom.
13172 (image-animated-types): New defconst.
13173 (create-animated-image, image-animate-timer)
13174 (image-animate-start, image-animate-stop, image-animate-timeout)
13175 (image-animated-p): New functions.
13177 * image-mode.el (image-toggle-display-image):
13178 Replace `create-image' with `create-animated-image'.
13180 2010-03-09 Miles Bader <miles@gnu.org>
13182 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13183 instead of "format:"; this ensures that the output is
13184 newline-terminated.
13186 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13188 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13189 that all errors are caught, and that the return value is always a
13192 2010-03-08 Kenichi Handa <handa@m17n.org>
13194 * language/misc-lang.el (windows-1256): New coding system.
13195 (cp1256): New alias of windows-1256 (bug#5690).
13197 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13199 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13200 call to rfc822-bad-address. (Bug#5692)
13202 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13204 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13205 Use vc-git-root as default directory for revision path (Bug#5657).
13207 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13209 * calculator.el (calculator): Don't bind split-window-keep-point
13212 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13214 * vc-git.el: Re-flow to fit into 80 columns.
13215 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13216 Remove spurious `quote' element in each case alternative.
13217 (vc-git-show-log-entry): Use prog1.
13218 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13220 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13222 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13224 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13226 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13227 definition, not the name (Bug#5481).
13229 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13231 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13232 argument with a local variable. (Bug#5670)
13234 2010-03-02 Juri Linkov <juri@jurta.org>
13236 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13238 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13240 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13241 error when FILENAME and NEWNAME are existing remote directories.
13243 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13244 parameter DIR-FLAG.
13246 2010-03-02 Glenn Morris <rgm@gnu.org>
13248 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13249 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13251 2010-03-01 Kenichi Handa <handa@m17n.org>
13253 * language/burmese.el (burmese-composable-pattern): Rename from
13254 myanmar-composable-pattern.
13256 * international/characters.el (script-list):
13257 * international/fontset.el (script-representative-chars):
13258 Change myanmar to burmese.
13259 (otf-script-alist): Likewise.
13260 (setup-default-fontset): Likewise. Re-fix :otf spec.
13262 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13264 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13266 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13268 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13270 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13272 * net/tramp.el (tramp-handle-write-region): START can be a string.
13273 Take care in the checks. Reported by Dan Davison
13274 <davison@stats.ox.ac.uk>.
13276 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13278 * net/dbus.el (dbus-introspect, dbus-get-property)
13279 (dbus-set-property, dbus-get-all-properties):
13280 Use `dbus-call-method' when noninteractive. (Bug#5645)
13282 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13284 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13285 * emacs-lisp/elint.el (elint-add-required-env):
13286 * calendar/icalendar.el (icalendar--add-diary-entry):
13287 * calc/calcalg2.el (math-tracing-integral):
13288 * files.el (recover-session-finish): Use with-current-buffer
13289 instead of save-excursion.
13291 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13293 Fix in-buffer completion when after-change-functions modify the buffer.
13294 * minibuffer.el (completion--replace): New function.
13295 (completion--do-completion): Use it and use relative movement.
13297 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13299 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13301 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13303 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13304 Allow the characters _<> in the stack entry (Bug#5653).
13306 2010-02-26 Kenichi Handa <handa@m17n.org>
13308 * language/burmese.el: Fix entries in composition-function-table.
13309 (myanmar-composable-pattern): New variable.
13311 * international/fontset.el (setup-default-fontset): Add an entry
13314 * international/characters.el (script-list): Add Myanmar
13317 2010-02-26 Glenn Morris <rgm@gnu.org>
13319 * custom.el (custom-initialize-delay): Doc fix.
13321 * mail/sendmail.el (send-mail-function): Autoload the call
13322 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13324 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13326 * files.el (hack-local-variables-filter): For eval forms, also
13327 check safe-local-variable-p (Bug#5636).
13329 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13331 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13332 setting the modes by `ignore-errors'. It might fail, for example
13333 if the file is not owned by the user but the group.
13334 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13336 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13338 * files.el (directory-listing-before-filename-regexp):
13339 Use stricter matching for iso-style dates, to avoid false matches with
13340 date-like filenames (Bug#5597).
13342 * htmlfontify.el (htmlfontify): Doc fix.
13344 * eshell/eshell.el (eshell): Doc fix.
13346 * startup.el (fancy-about-screen): In mode-line, apply
13347 mode-line-buffer-id face only to the buffer name (Bug#5613).
13349 2010-02-20 Kevin Ryde <user42@zip.com.au>
13351 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13352 In `watcom' anchor regexp to start of line, to avoid slowness
13355 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13357 * subr.el (remove-yank-excluded-properties): Explain in a comment
13358 why `category' property is removed.
13360 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13362 * isearch.el (isearch-update-post-hook, isearch-update):
13363 Revert 2010-02-17 change.
13365 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13367 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13368 (icalendar--convert-weekly-to-ical)
13369 (icalendar--convert-yearly-to-ical)
13370 (icalendar--convert-block-to-ical)
13371 (icalendar--convert-cyclic-to-ical)
13372 (icalendar--convert-anniversary-to-ical): Take care of time
13373 specifications where hour has 1-digit only (Bug#5549).
13375 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13377 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13378 of disassemble output in GDB 7.1.
13380 2010-02-19 Glenn Morris <rgm@gnu.org>
13382 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13383 property. (Bug#5593)
13385 2010-02-18 Sam Steingold <sds@gnu.org>
13387 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13389 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13391 Use abbreviated file names in bookmarks (bug#5591).
13392 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13393 calls to expand-file-name.
13394 (bookmark-relocate): Use abbreviated file names in bookmarks.
13395 (bookmark-load): Use abbreviated file names in messages.
13397 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13399 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13400 expand "." and "..". Reported by Thierry Volpiatto
13401 <thierry.volpiatto@gmail.com>.
13403 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13405 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13406 permissions of the temporary file to "0600". In case the remote
13407 file has no read permissions for the owner, there might be
13408 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13410 22010-02-18 Glenn Morris <rgm@gnu.org>
13412 * emacs-lisp/authors.el (authors-renamed-files-alist):
13413 Add entries for INSTALL.CVS.
13415 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13417 * vc-bzr.el: Fix typo in Known Bugs section.
13419 * isearch.el (isearch-update-post-hook): New hook.
13420 (isearch-update): Use the new hook.
13422 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13424 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13425 Fix errors in copying directories.
13426 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13427 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13428 (tramp-handle-delete-file)
13429 (tramp-handle-dired-recursive-delete-directory)
13430 (tramp-handle-write-region): Flush also the cache for the upper
13433 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13435 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13437 * cus-edit.el (hardware): Doc fix.
13439 * man.el (man): Add to external custom group.
13441 * delim-col.el (columns): Move to wp custom group.
13443 * doc-view.el (doc-view): Add to data custom group.
13445 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13447 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13448 by ispell-parse-output (Bug#5575).
13450 2010-02-16 Kenichi Handa <handa@m17n.org>
13452 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13453 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13454 (skkdic-convert): Use `euc-japan' coding system for writing.
13456 2010-02-16 Glenn Morris <rgm@gnu.org>
13458 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13459 tex-main-file before using it. (Bug#5562)
13461 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13463 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13464 warnings, since it is annoying for the user to see them each time he
13467 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13469 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13470 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13471 instead of PROC for caching "first-password-request". Otherwise,
13472 new processes would not profit from passwords already entered.
13474 * net/tramp-cache.el (tramp-dump-connection-properties):
13475 Don't save "first-password-request" property.
13477 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13479 * outline.el (outline-head-from-level):
13480 * simple.el (with-wrapper-hook):
13481 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13482 (elint-defun, elint-buffer-env, elint-top-form-logged)
13483 (elint-unbound-variable):
13484 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13485 Fix typos in docstrings.
13487 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13489 * files.el (insert-directory): When WILDCARD-REGEXP and
13490 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13491 whole directory. (Bug#5551)
13493 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13494 dired's alignment sanity. (Bug#5516)
13496 2010-02-14 Juri Linkov <juri@jurta.org>
13498 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13499 Remove remaining ^H with their preceding chars. (Bug#5566)
13501 2010-02-13 Glenn Morris <rgm@gnu.org>
13503 * simple.el (transpose-subr): Give it a doc-string.
13505 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13508 2010-02-12 Juri Linkov <juri@jurta.org>
13510 * arc-mode.el (archive-unique-fname): Make directories for nested
13511 archives. (Bug#5540)
13513 2010-02-12 Juri Linkov <juri@jurta.org>
13515 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13517 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13519 * subr.el (copy-overlay): Handle deleted overlays.
13521 * man.el (Man-completion-table): Don't signal an error if we can't run
13522 manual-program (bug#4056).
13524 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13526 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13528 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13530 * info.el (Info-bookmark-jump): Simplify.
13532 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13533 (bookmark-default-handler): Accept new bookmark field `buffer'.
13535 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13537 * iswitchb.el (iswitchb-completions): Revert last change.
13539 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13541 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13542 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13543 This prevents file names like "~/" being listed literally.
13545 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13547 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13548 Remove dead code. (Bug#5546)
13550 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13552 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13553 correctly (Bug#5548).
13555 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13557 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13558 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13560 2010-02-08 Kenichi Handa <handa@m17n.org>
13562 * international/mule-util.el (with-coding-priority): Add autoload
13563 cookie for putting `lisp-indent-function'.
13565 2010-02-07 Glenn Morris <rgm@gnu.org>
13567 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13568 Move F2003 named interfaces from keywords-2 to keywords-1, and
13569 use function-name-face rather than constant-face.
13570 Simplify "abstract interface" regexp.
13572 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13574 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13575 ID-FORMAT. Pass it to `file-attributes'.
13577 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13579 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13581 * faces.el (set-face-attribute): Allow calling
13582 internal-set-lisp-face-attribute with 'unspecified family and
13583 foundry argument (Bug#5536).
13585 2010-02-07 Glenn Morris <rgm@gnu.org>
13587 * progmodes/f90.el (f90-font-lock-keywords-2)
13588 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13589 Handle F2003 named interfaces.
13591 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13593 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13594 beg and end before calling c-get-state-before-change-functions.
13596 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13598 * vc-bzr.el (vc-bzr-dir-extra-headers):
13599 Disable the pending merges header.
13601 2010-02-05 Juri Linkov <juri@jurta.org>
13603 * doc-view.el (doc-view-mode):
13604 * image-mode.el (image-mode): Put property mode-class=special.
13607 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13609 * vc-svn.el (vc-svn-revision-table): New function.
13611 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13613 * net/ange-ftp.el (ange-ftp-insert-directory):
13614 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13615 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13616 Handle also directories. (Bug#5478)
13618 2010-02-05 Glenn Morris <rgm@gnu.org>
13620 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13622 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13624 * startup.el (command-line-1): Convert options beginning with a
13625 single dash as well (Bug#5519).
13627 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13629 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13630 * minibuffer.el (completion-initials-expand): Only check the presence
13631 of delims *within* the boundaries, since otherwise the / delim is
13632 always found for files.
13634 Fix up various corner case problems.
13635 * doc-view.el (doc-view-last-page-number): New function.
13636 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13637 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13638 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13639 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13640 (doc-view-convert-current-doc): Don't create the resolution.el file
13642 (doc-view-pdf/ps->png): Do it here instead.
13643 (doc-view-already-converted-p): Check that resolution.el is present.
13644 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13645 windows that are not yet showing images.
13647 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13649 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13650 `dired-uncache' for every elemnt which is an absolute file name.
13652 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13653 directory, handle its directory component.
13654 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13655 function is called permanently and creates noise, otherwise.
13657 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13658 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13659 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13661 2010-02-04 David Burger <dburger@google.com> (tiny change)
13663 * macros.el (apply-macro-to-region-lines):
13664 Minor simplification. (Bug#5485)
13666 2010-02-04 Glenn Morris <rgm@gnu.org>
13668 * mail/rmail.el (rmail-show-message-1): Handle malformed
13669 quoted-printable text. (Bug#5441)
13671 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13673 * simple.el (visual-line-mode): Capitalize lighter.
13675 2010-02-03 John Wiegley <jwiegley@gmail.com>
13677 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13678 list of files considered for "virtual buffer" completions.
13680 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13682 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13683 also in case of (and (not full) (not wildcard)). This is needed
13684 when dired is called with a list of files, which are not in
13685 `default-directory'. (Bug#5478)
13687 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13689 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13691 2010-02-02 Juri Linkov <juri@jurta.org>
13693 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13694 from unidiff to allow function-line after @@.
13696 2010-02-02 Juri Linkov <juri@jurta.org>
13698 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13699 '(RCS SCCS) with inverted condition.
13701 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13703 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13706 2010-02-01 Juri Linkov <juri@jurta.org>
13708 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13709 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13710 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13711 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13713 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13715 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13716 (doc-view-revert-buffer): New command.
13717 (doc-view-mode-map): Use it.
13719 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13721 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13722 pending merge is detected.
13724 2010-01-31 Juri Linkov <juri@jurta.org>
13726 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13727 beginning of interactive spec like all other grep commands do.
13728 Put "all" in front of "gz". (Bug#5260)
13730 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13732 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13734 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13736 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13737 regexp is incorrect (Bug#5476).
13739 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13741 * net/tramp.el (tramp-handle-insert-directory): Handle also
13742 symlinks, when FILENAME is not in `default-directory'.
13744 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13746 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13747 FILE is not in `default-directory'. (Bug#5478)
13749 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13750 of SWITCHES. Handle the case, FILENAME is not in
13751 `default-directory'. (Bug#5478)
13752 (tramp-register-file-name-handlers): Add safe-magic property.
13754 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13756 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13759 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13761 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13762 (flymake-master-make-header-init): Add other C++ filename masks.
13763 (flymake-find-possible-master-files)
13764 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13766 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13768 Fix some busybox annoyances.
13770 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13771 not responding." string.
13772 (tramp-open-connection-setup-interactive-shell): Dump stty
13773 settings. Enable "neveropen" arg for all `tramp-send-command'
13774 calls. Handle "=" in variable values properly.
13775 (tramp-find-inline-encoding): Raise an error, when no encoding is
13777 (tramp-wait-for-output): Check, whether PROC buffer is available.
13778 Remove spurious " ^H" sequences, sent by busybox.
13779 (tramp-get-ls-command): Suppress coloring, if possible.
13781 2010-01-28 Glenn Morris <rgm@gnu.org>
13783 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13785 * log-edit.el (log-edit-strip-single-file-name): Add missing
13786 :safe, :group, and :version tags.
13788 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13790 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13791 buffers. (Bug#5477)
13793 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13795 * files.el (delete-directory): Handle moving to trash without
13796 first doing recursion (Bug#5436).
13798 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13800 * vc-hooks.el (vc-path): Mark as obsolete.
13802 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13804 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13807 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13809 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13811 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13813 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13815 * vc-bzr.el (vc-bzr-revision-table): New function.
13817 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13819 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13820 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13822 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13824 Remove support for adding --signoff on commit.
13825 Future support will use an incompatible generic mechanism.
13826 * vc-git.el (vc-git-add-signoff): Remove variable.
13827 (vc-git-toggle-signoff): Remove function.
13828 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13830 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13831 Rename from xterm-set-background-mode. Return t if the background mode
13833 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13834 earlier, call it again in case the background mode has changed.
13836 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13838 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13841 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13843 * emacs-lisp/assoc.el (aelement): Doc fix.
13844 (aput, adelete, amake): Use lexical-let (Bug#5450).
13846 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13848 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13849 is the same as subprogram call, not declaration. (Bug#5435).
13851 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13853 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13854 (tramp-smb-maybe-open-connection): Use it.
13856 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13858 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13860 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13862 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13863 just because we see "encoding: 8bit".
13864 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13866 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13868 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13870 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13872 * jka-compr.el (jka-compr-load): If load-file is not in
13873 load-history, try its file-truename version. (bug#5447)
13875 2010-01-21 Alan Mackenzie <acm@muc.de>
13877 Fix a situation where deletion of a cpp construct throws an error.
13878 * progmodes/cc-engine.el (c-invalidate-state-cache):
13879 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13880 special cpp construct is still in the buffer.
13881 (c-parse-state): Record the special cpp with markers, not numbers.
13883 2010-01-21 Kenichi Handa <handa@m17n.org>
13885 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13886 process last-command-event, as it is now decoded first (Bug#5380).
13888 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13890 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13892 2010-01-20 Glenn Morris <rgm@gnu.org>
13894 * indent.el (tab-always-indent): Fix custom-type.
13896 2010-01-19 Alan Mackenzie <acm@muc.de>
13898 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13899 buffer throws "args out of range".
13900 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13901 playing the role of delimiter.
13903 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13905 * progmodes/ada-mode.el: Fix bug#5400.
13906 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13907 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13908 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13909 Improve comments in "is" portion. Handle null procedure declaration.
13910 (ada-move-to-end): Improve doc string.
13912 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13914 * ido.el (ido-cur-list): Initialize to nil.
13915 Remove obsolete information from commentary.
13916 (ido-choice-list): Initialize to nil.
13917 (ido-get-bufname): Reject minibuffers.
13918 (ido-make-buffer-list): If "default" is a nonexistent
13919 buffer, ignore it, as per the function's comment.
13920 (ido-kill-buffer-internal): New function.
13921 (ido-kill-buffer-at-head): Use it.
13922 (ido-visit-buffer): Likewise.
13924 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13926 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13928 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13930 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13931 Fix typos in chart titles.
13933 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13934 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13935 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13936 (describe-class, eieio-describe-generic, describe-generic):
13937 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13938 (eieio-speedbar-expand):
13939 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13940 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13941 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13942 (viper-del-backward-char-in-replace, viper-backward-indent)
13943 (viper-brac-function, viper-register-to-point, viper-submit-report):
13944 * net/tramp.el (tramp-remote-coding-commands):
13945 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13946 Fix typos in docstrings.
13948 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13950 * mail/sendmail.el (mail-yank-original): Set the mark if the
13951 specified function for yanking does not do it.
13953 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13955 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13957 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13958 resyncing a directory.
13960 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13962 * progmodes/ada-mode.el: Fix bug#1920.
13963 (ada-ident-re): Delete ., allow multibyte characters.
13964 (ada-goto-label-re): New; matches goto labels.
13965 (ada-block-label-re): New; matches block labels.
13966 (ada-label-re): New; matches both.
13967 (ada-named-block-re): Delete; callers changed to use
13968 `ada-block-label-re' instead.
13969 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13970 Use `ada-block-label-re'.
13971 (ada-indent-on-previous-lines): Improve handling of goto labels.
13972 (ada-get-indent-block-start): Special-case block label.
13973 (ada-get-indent-label): Split into `ada-indent-block-label' and
13974 `ada-indent-goto-label'.
13975 (ada-goto-stmt-start, ada-goto-next-non-ws):
13976 Optionally ignore goto labels.
13977 (ada-goto-next-word): Simplify.
13978 (ada-indent-newline-indent-conditional): Insert newline before
13979 trying to fix indentation; doc fix.
13981 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13983 * calc/calc.el (calc-command-flags): Give it an initial value.
13985 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13987 * files.el (minibuffer-with-setup-hook):
13988 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13989 (artist-key-draw-continously, artist-key-do-continously-continously)
13990 (artist-key-set-point-continously, artist-mouse-draw-continously):
13991 Fix typos in docstrings.
13993 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13995 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13996 Never return t (Bug#3898).
13998 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14000 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14001 can parse the output of the external commands (Bug#5279).
14003 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14005 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14007 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14009 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14011 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14013 * startup.el (command-line): Remove unused --icon-type arg.
14014 Handle --display arg, passing it to command-line-1 (Bug#5392).
14016 2010-01-16 Mario Lang <mlang@delysid.org>
14018 * emacs-lisp/chart.el (chart-translate-namezone):
14019 * textmodes/artist.el (artist-compute-popup-menu-table):
14020 Remove duplicated words in doc-strings.
14022 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14024 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14025 to mairix-search to suppress threading (Bug#5342).
14027 2010-01-15 Kenichi Handa <handa@m17n.org>
14029 * international/mule-cmds.el (canonicalize-coding-system-name):
14030 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14032 2010-01-15 Glenn Morris <rgm@gnu.org>
14034 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14036 * wid-edit.el (widget-keymap): Doc fix.
14038 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14039 former seems to be more widely accepted by various svn versions.
14041 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14043 * find-cmd.el (find-constituents):
14044 * vc-arch.el (vc-arch-root):
14045 * window.el (window-body-height, pop-up-frames):
14046 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14047 * progmodes/ada-stmt.el (ada-if):
14048 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14049 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14050 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14051 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14053 * progmodes/flymake.el (flymake-post-syntax-check):
14054 Fix typo in error message.
14056 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14058 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14059 which is always a string. (Bug#5313)
14061 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14063 * progmodes/ada-xref.el (ada-default-prj-properties):
14064 Simplify previous change.
14066 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14068 * progmodes/ada-xref.el (ada-default-prj-properties):
14069 Default ada_project_path to $ADA_PROJECT_PATH.
14071 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14073 * progmodes/ada-mode.el (ada-create-keymap):
14074 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14076 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14078 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14079 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14080 (ada-get-current-indent, ada-imenu-generic-expression)
14081 (ada-which-function): Check for it.
14083 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14085 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14086 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14088 2010-01-14 Glenn Morris <rgm@gnu.org>
14090 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14092 2010-01-14 Kenichi Handa <handa@m17n.org>
14094 * composite.el (auto-composition-mode): Make it a buffer local
14095 variable (permanent-local).
14096 (auto-composition-function): Set the default value to
14097 auto-compose-chars.
14098 (auto-composition-mode): Make it a simple function, not a minor mode.
14099 (global-auto-composition-mode): Likewise.
14100 (turn-on-auto-composition-if-enabled): Delete it.
14102 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14104 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14106 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14108 * files.el (copy-directory): Compute target for recursive
14109 directories with identical names. (Bug#5343)
14111 2010-01-12 Glenn Morris <rgm@gnu.org>
14113 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14114 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14116 2010-01-11 Sam Steingold <sds@gnu.org>
14118 * imenu.el (imenu-default-create-index-function): Detect infinite
14119 loops caused by imenu-prev-index-position-function.
14121 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14123 * htmlfontify.el (htmlfontify-load-rgb-file)
14124 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14125 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14126 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14127 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14128 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14129 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14130 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14131 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14132 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14133 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14134 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14135 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14136 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14137 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14138 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14139 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14140 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14141 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14142 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14143 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14144 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14145 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14146 backslash-quoting from parentheses, etc.
14148 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14150 * progmodes/js.el: Autoload javascript-mode alias.
14152 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14154 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14155 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14156 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14157 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14158 Fix typos in docstrings.
14159 (ffap-url-regexp): Doc fix.
14160 (ffap-at-mouse): Fix typo in message.
14162 2010-01-11 Glenn Morris <rgm@gnu.org>
14164 * version.el (emacs-copyright): Set copyright year to 2010.
14166 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14168 * format.el (format-annotate-function): Only set
14169 write-region-post-annotation-function after running to-fn so as not to
14170 affect nested write-region calls (bug#5273).
14172 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14174 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14177 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14179 * man.el (Man-goto-section): Signal error if the section is not
14182 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14184 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14185 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14187 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14189 * progmodes/compile.el: Don't treat compile-command as safe if
14190 compilation-read-command might be nil (Bug#4218).
14192 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14194 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14197 2010-01-08 Kenichi Handa <handa@m17n.org>
14199 * international/fontset.el (build-default-fontset-data):
14200 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14202 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14204 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14205 to `create-file-buffer' as it expects, not just a buffer name.
14206 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14207 to help uniquify. (Bug#3224)
14209 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14211 * font-setting.el (font-setting-change-default-font): Use user-spec
14214 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14216 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14218 2010-01-05 Tom Tromey <tromey@redhat.com>
14220 * progmodes/python.el (python-font-lock-keywords):
14221 Handle qualified decorators (Bug#881).
14223 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14225 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14226 in a lightweight checkout.
14228 2010-01-05 Kenichi Handa <handa@m17n.org>
14230 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14232 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14234 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14236 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14238 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14239 checkouts. (Bug#618)
14240 (vc-bzr-log-view-mode): Also highlight the author.
14241 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14242 (vc-bzr-shelve-menu-map):
14243 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14244 (vc-bzr-shelve-apply): Make prompt more explicit.
14246 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14248 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14249 They are valid characters in URL paths (rfc3986), and at least
14250 Firefox does not understand the encoded version (Bug#3166).
14252 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14254 * progmodes/octave-mod.el (octave-end-keywords)
14255 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14256 Add "end" keyword (Bug#3061).
14257 (octave-end-as-array-index-p): New function.
14258 (calculate-octave-indent): Use it.
14260 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14262 * bookmark.el: Consistently put the text property on the bookmark name.
14263 (bookmark-bmenu-marks-width): Bump back to 2, to include
14265 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14266 property on the bookmark name, instead of not putting it at all.
14267 (bookmark-bmenu-list): Fix where we put the text property.
14269 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14271 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14272 for showing buffer modified state (as added in the previous change).
14274 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14276 * bookmark.el: Show modified state of bookmark buffer more accurately.
14277 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14278 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14279 (with-buffer-modified-unmodified): New macro.
14280 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14281 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14282 Use new macro to preserve the buffer modified state.
14284 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14286 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14287 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14288 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14289 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14290 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14291 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14292 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14294 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14296 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14297 Make the lines in the generated doc string shorter. (Bug#4668)
14299 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14301 * net/rcirc.el: Add follow-link binding (Bug#4738).
14303 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14305 * Makefile.in (bzr-update): Rename from cvs-update.
14306 (cvs-update): New target for backward compatibility.
14308 * makefile.w32-in (bzr-update): Rename from cvs-update.
14309 (cvs-update): New target for backward compatibility.
14311 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14313 * bookmark.el: Remove gratuitous gratitude.
14315 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14317 * bookmark.el (bookmark-bmenu-any-marks): New function.
14318 (bookmark-bmenu-save): Clear buffer modification if no marks.
14320 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14322 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14323 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14324 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14325 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14327 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14328 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14329 To: emacs-devel {_AT_} gnu.org
14330 Subject: bookmark.el bug report
14331 Date: Mon, 28 Dec 2009 14:19:16 +0800
14332 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14334 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14336 * bookmark.el: Improvements suggested by Drew Adams:
14337 (bookmark-bmenu-ensure-position): New name for
14338 `bookmark-bmenu-check-position'. Just ensure the position,
14339 don't return any meaningful value.
14340 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14343 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14345 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14346 (bookmark-yank-point, bookmark-bmenu-check-position):
14347 Fix typos in docstrings.
14348 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14349 (bookmark-name-from-full-record, bookmark-get-position)
14350 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14351 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14352 Remove useless quoting of parenthesis, etc. in docstrings.
14354 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14355 (ediff-append-custom-diff): Fix typo in error message.
14356 (ediff-meta-mark-equal-files): Fix typos in messages.
14358 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14360 * net/imap-hash.el (imap-hash-make): Doc fix.
14361 (imap-hash-test): Fix typo in error message; reflow docstring.
14362 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14363 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14364 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14365 Fix typos in docstrings.
14366 (imap-hash-open-connection): Fix typo in error message.
14368 * play/gomoku.el (gomoku): Fix typos in docstring.
14370 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14371 (gdb-jsonify-buffer): Fix typos in docstring.
14372 (gdb-goto-breakpoint): Fix typo in error message.
14373 ("Display Other Windows"): Fix typo in help message.
14374 (gdb-speedbar-expand-node): Fix typo in question.
14376 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14377 (idlwave-html-system-help-location, idlwave-html-help-location)
14378 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14379 (idlwave-help-browser-generic-args, idlwave-help-directory)
14380 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14381 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14382 (idlwave-online-help, idlwave-help-html-link)
14383 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14384 Fix typos in docstrings.
14385 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14387 (idlwave-help-assistant-start): Fix typo in error message.
14389 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14390 (octave-electric-space): Fix typos in docstrings.
14392 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14394 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14396 2010-01-01 Juri Linkov <juri@jurta.org>
14398 * comint.el (comint-input-ring-size): Make it a defcustom and
14399 increase the default to 500 (Bug#5148).
14401 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14403 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14404 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14405 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14407 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14409 Show working revision correctly for mercurial.
14410 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14411 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14413 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14415 Declare some functions for the byte-compiler.
14416 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14417 (speedbar-timer-fn, speedbar-change-expand-button-char)
14418 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14420 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14422 This changeset reverts GDB Graphical Interface to use annotations.
14423 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14425 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14427 Make vc-dir work on subdirectories of the bzr root.
14428 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14429 Return file names relative to it.
14430 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14431 relative directory to vc-bzr-after-dir-status.
14433 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14435 * font-lock.el (font-lock-refresh-defaults): New function, which
14436 can be used to let font-lock react to external changes in
14437 variables like font-lock-defaults and keywords.
14438 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14440 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14442 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14444 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14446 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14448 Supersede color.diff settings in git log (bug#5211).
14450 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14451 escape chars in its output when the user has color.diff set to `always'.
14452 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14454 2009-12-26 Kevin Ryde <user42@zip.com.au>
14456 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14457 node. Keep previous "Index" name to work with past coreutils too.
14459 * man.el (man): Revise docstring a bit to show -a and -l as
14460 examples. Add -k description since support for it has otherwise
14461 been a secret. (Further to bug#3717.)
14462 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14463 "no matches" rather than "Can't find manpage", as the latter reads
14464 like -k was interpreted as a page name, which is not so. (Bug#5431)
14466 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14468 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14469 switches. Check also for //SUBDIRED// line.
14471 2009-12-25 Kenichi Handa <handa@m17n.org>
14473 * language/indian.el (devanagari-composable-pattern): Fix to
14474 handle ZWNJ and ZWJ. Use it in composition-function-table for
14476 (malayalam-composable-pattern): Fix previous change.
14478 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14480 * ps-print.el (ps-face-attributes): It was not returning the
14481 attribute face for faces specified as string. Reported by harven
14482 <harven@free.fr>. (Bug#5254)
14483 (ps-print-version): New version 7.3.5.
14485 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14487 * calendar/icalendar.el (icalendar--convert-tz-offset):
14488 Fix timezone names.
14489 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14490 (icalendar--add-diary-entry): Remove the trailing blank that
14491 diary-make-entry inserts.
14493 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14495 Make `file-expand-wildcards' work for remote files.
14497 * files.el (file-expand-wildcards): In case of remote files, check
14498 only local file name part for wildcards. Provide feature 'files
14499 and subfeature 'remote-wildcards. (Bug#5198)
14501 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14502 if there is already an established connection.
14503 (tramp-advice-file-expand-wildcards): Remove it.
14505 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14506 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14507 Activate advice for older GNU Emacs versions. (Bug#5237)
14509 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14511 Some doc fixes (more needed).
14513 * find-cmd.el (find-constituents): Reflow docstring.
14514 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14515 (find-generic): Doc fix.
14517 2009-12-17 Juri Linkov <juri@jurta.org>
14519 Fix regression from 23.1 to allow multiple modes in Local Variables.
14521 * files.el (hack-local-variables-filter): While ignoring duplicates,
14522 don't take `mode' into account.
14523 (hack-local-variables-filter, hack-dir-local-variables):
14524 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14526 2009-12-17 Juri Linkov <juri@jurta.org>
14528 Make `dired-diff' safer. (Bug#5225)
14530 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14531 `current' or when `file' is a directory of the `current' file.
14533 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14535 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14536 unconditionally preloaded files.
14538 2009-12-16 Juri Linkov <juri@jurta.org>
14540 Revert to old 23.1 logic of using the file at the mark as default.
14541 * dired-aux.el (dired-diff): Use the file at the mark as default
14542 if it's not the same as the current file, and the target dir is
14543 the current dir or the mark is active. Add the current file
14544 as the arg of `dired-dwim-target-defaults'. Use the default file
14545 in the prompt. (Bug#5225)
14547 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14549 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14550 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14551 (tramp-check-for-regexp): Check also, when an echoing shell stops
14552 to echo sent commands.
14554 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14556 * Makefile.in: Revert last change (Bug#5191).
14558 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14560 * vc-hg.el (vc-hg-print-log): Fix argument order.
14561 (vc-hg-working-revision): Make sure the command is executed in a
14562 known environment so that we can parse the output. (Bug#4417)
14564 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14566 * progmodes/python.el (python-symbol-completions): Remove text
14567 properties from symbol string before calling python-send-receive.
14569 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14571 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14572 when there are values for both file and line. (Bug#5060)
14574 2009-12-14 Juri Linkov <juri@jurta.org>
14576 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14577 whitespace after the file name of the first line of unified format,
14578 because git-diff doesn't output whitespace and file modification time
14579 after the file name.
14581 2009-12-14 David Kastrup <dak@gnu.org>
14583 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14584 check if it already has the `display' property added by
14585 `Info-display-images-node', and not put the `invisible' property
14588 2009-12-13 Glenn Morris <rgm@gnu.org>
14590 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14591 (report-emacs-bug): In message-mode, sort manually before storing
14592 original report text. (Bug#5178)
14593 Remove superfluous save-excursion.
14595 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14597 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14598 when responding to "GetAll" properties.
14600 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14602 * simple.el (compose-mail): Remove mail-setup-with-from from
14603 customization checks.
14605 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14607 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14608 RAR archives created on Unix systems.
14610 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14612 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14613 the varalias that was accidentally removed by the 2009-11-19 change
14616 2009-12-12 Kenichi Handa <handa@m17n.org>
14618 * language/indian.el (indian-compose-regexp): New function.
14619 (malayalam-composable-pattern): Fix the pattern.
14620 (composition-function-table): Set malayalam-composable-pattern for
14621 Malayalam characters.
14623 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14625 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14626 rather than down-mouse-1, based on follow-link conventions.
14628 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14631 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14633 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14634 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14635 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14636 (verilog-leap-to-head, verilog-backward-token):
14637 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14639 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14641 * progmodes/verilog-mode.el (verilog-auto-lineup)
14642 (verilog-nameable-item-re): Cleanup user-visible spelling and
14643 documentation errors. One reported by Gary Delp.
14644 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14645 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14646 package, bug195. Reported by Pierre-David Pfister.
14648 2009-12-11 Glenn Morris <rgm@gnu.org>
14650 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14652 * mail/emacsbug.el: No longer require sendmail.
14653 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14654 (report-emacs-bug-orig-text): Doc fix.
14655 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14656 New local variables, to adapt to different mail-user-agents.
14657 (report-emacs-bug): Fix test for a gnu.org address.
14658 Use overlays for emphasis, since font-lock defeats 'face property.
14659 Pretest bugs also end up at the newsgroup these days.
14660 Stop message-mode stripping text properties.
14661 Set and use the new buffer-local variables.
14662 (report-emacs-bug-hook): Add doc-string.
14663 Remove some unnecessary save-excursions and simplify.
14664 Use the appropriate hook and send-command.
14666 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14667 capitalization of some menu entries.
14669 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14671 * whitespace.el (whitespace-display-char-on):
14672 Ensure `buffer-display-table' is unique when two or more windows are
14673 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14676 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14678 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14679 characters in the Attribute field.
14681 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14683 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14685 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14687 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14688 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14689 Disregard autoload-excludes.
14690 (update-directory-autoloads): Obey autoload-excludes here instead.
14691 But don't store its contents in no-autoloads and remove entries that
14692 refer to excludes files.
14694 2009-12-10 Glenn Morris <rgm@gnu.org>
14696 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14697 (expand-mail-aliases): Define for compiler.
14699 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14700 Define for compiler.
14702 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14703 appropriate for the mail-user-agent in use.
14705 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14707 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14709 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14711 Fix short log parsing and fontification.
14712 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14713 Fix fontification for the [merge] label.
14715 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14717 Drop some properties to avoid surprises (bug#5002).
14718 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14719 (hfy-fontify-buffer): Use it.
14721 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14724 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14725 Adjust all callers.
14726 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14727 args compulsory. Adjust callers.
14728 (ffap-gopher-at-point): Remove unused var `name'.
14730 Get rid of the ELCFILES abomination.
14731 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14732 (compile-elcfiles): New phony target.
14733 (compile-main): Compute ELCFILES dynamically.
14734 (compile-clean): New target to remove left-over elc files.
14735 (compile, all): Use it.
14737 2009-12-09 Kenichi Handa <handa@etlken>
14739 * international/mule-diag.el: Require help-mode instead of help-fns.
14741 2009-12-09 Kenichi Handa <handa@m17n.org>
14743 * international/mule-cmds.el (ucs-names): Supply sufficiently
14744 fine ranges instead of pre-calculating accurate ranges.
14745 Iterate with bigger gc-cons-threshold.
14747 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14749 Add support for stashing a snapshot of the current tree.
14750 * vc-git.el (vc-git-stash-snapshot): New function.
14751 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14753 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14755 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14756 instead of `(beginning|end)-of-line'.
14758 2009-12-08 Glenn Morris <rgm@gnu.org>
14760 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14762 * Makefile.in (ELCFILES): Regenerate.
14764 2009-12-07 Juri Linkov <juri@jurta.org>
14766 Don't lazy-highlight the comint output in history Isearch mode.
14768 * comint.el (comint-history-isearch-search): Instead of
14769 `comint-line-beginning-position', use `comint-after-pmark-p'
14770 to check if point if before the process mark, and go to
14771 `process-mark' in this case.
14773 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14775 * textmodes/tex-mode.el (latex-complete)
14776 (latex-indent-or-complete): Remove.
14777 (latex-mode): Set completion-at-point-functions instead.
14779 Provide a standard completion command and hook it into TAB.
14780 * minibuffer.el (completion-at-point-functions): New var.
14781 (completion-at-point): New command.
14782 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14783 * progmodes/python.el (python-mode-map): Use completion-at-point.
14784 (python-completion-at-point): Rename from python-partial-symbol and
14785 adjust for use in completion-at-point-functions.
14786 (python-mode): Setup completion-at-point for Python completion.
14787 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14788 extracted from lisp-complete-symbol.
14789 (lisp-complete-symbol): Use it.
14790 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14791 setup completion-at-point for Elisp completion.
14792 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14793 Use completion-at-point.
14794 * ielm.el (ielm-map): Use completion-at-point.
14795 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14796 * progmodes/sym-comp.el: Move to...
14797 * obsolete/sym-comp.el: Move from progmodes.
14799 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14801 Prevent save-buffer in Rmail buffers from using the coding-system
14802 of the current message, and from clobbering the encoding mnemonics
14803 in the mode line (Bug#4623).
14805 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14807 (rmail-message-encoding): New variable.
14808 (rmail-write-region-annotate): Record the encoding of the current
14809 message in rmail-message-encoding.
14810 (rmail-after-save-hook): New function, restores the encoding of
14811 the current message after the message collection is saved.
14813 2009-12-07 Juri Linkov <juri@jurta.org>
14815 * progmodes/grep.el (grep-read-files): Use `completing-read'
14816 instead of `read-string'. Set its `collection' arg to
14817 `read-file-name-internal'. (Bug#4301)
14819 2009-12-07 Juri Linkov <juri@jurta.org>
14821 Correctly restore original Isearch point. (Bug#4994)
14823 * isearch.el (isearch-mode): Move `isearch-push-state' after
14824 `(run-hooks 'isearch-mode-hook)'.
14825 (isearch-cancel): When `isearch-push-state-function' is defined,
14826 let-bind `isearch-cmds' to the first state (the last element of
14827 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14828 function and restores the original point). Otherwise, move point
14829 to `isearch-opoint'.
14831 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14833 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14834 chars that don't have names, so the table can be built much faster at
14837 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14839 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14840 change. Suggested by David Kastrup.
14842 * simple.el (compose-mail): Check for incompatibilities and warn.
14843 (compose-mail-user-agent-warnings): New option.
14845 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14847 Support showing a single log entry from vc-annotate.
14848 * vc.el (print-log): Add a new argument: START-REVISION.
14849 (vc-print-log-internal): Add a new optional argument and
14850 pass it to the backend.
14851 (vc-print-log, vc-print-root-log): Adjust callers.
14852 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14853 buffer already displays the requested log entry, use it.
14854 Otherwise display only the log entry in question.
14855 * vc-svn.el (vc-svn-print-log):
14856 * vc-mtn.el (vc-mtn-print-log):
14857 * vc-hg.el (vc-hg-state):
14858 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14859 (vc-git-show-log-entry): Return t on success.
14860 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14861 (vc-bzr-show-log-entry): Return t on success.
14862 * vc-rcs.el (vc-rcs-print-log):
14863 * vc-sccs.el (vc-sccs-print-log):
14864 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14866 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14868 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14869 Add menus to the meta mode. (Bug#5043)
14871 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14873 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14876 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14878 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14880 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14881 Berbain <raphael.berbain@gmail.com>.
14883 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14885 (tramp-initial-end-of-output): New defconst.
14886 (tramp-methods, tramp-find-shell)
14887 (tramp-open-connection-setup-interactive-shell)
14888 (tramp-maybe-open-connection): Use it.
14889 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14890 Handle existence of `#' and `$'.
14892 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14893 Use `tramp-initial-end-of-output'.
14895 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14897 Get the background mode from the terminal for xterm, and set
14899 * term/xterm.el (xterm-set-background-mode): New function.
14900 (terminal-init-xterm): Use it in case xterm supports background
14901 color queries. Recompute faces after getting the background
14904 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14906 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14907 number comment back on its own line, for easier parsing.
14909 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14911 Make it work for non-file buffers (bug#5102).
14912 * doc-view.el (doc-view-current-cache-dir):
14913 Use doc-view-buffer-file-name rather than buffer-file-name.
14914 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14916 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14918 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14919 author field is too short.
14921 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14923 * vc-git.el (vc-git-print-log): Handle a limit argument.
14924 Display the short log in graph form and with labels.
14925 (vc-git-log-view-mode): Handle labels.
14927 Make vc-revert change VC state from 'added to 'unregistered.
14928 * vc-git.el (vc-git-revert): Call git reset first.
14930 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14932 * net/newst-backend.el, net/newst-plainview.el:
14933 * net/newst-reader.el, net/newst-ticker.el:
14934 * net/newst-treeview.el, net/newsticker.el:
14935 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14937 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14939 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14941 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14942 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14943 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14944 Update annotation regexp.
14946 * simple.el (beginning-of-visual-line): Constrain to field
14947 boundaries (Bug#5106).
14949 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14951 * xml.el (xml-substitute-numeric-entities):
14952 Move newsticker--decode-numeric-entities in newst-backend.el to
14953 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14954 * net/newst-backend.el (newsticker--parse-generic-feed)
14955 (newsticker--parse-generic-items)
14956 (newsticker--decode-numeric-entities):
14957 Move newsticker--decode-numeric-entities in newst-backend.el to
14958 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14960 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14962 * progmodes/js.el (js--js-not): Add null to the list of values.
14964 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14966 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14968 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14970 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14971 delimiter if it is at the end of the current line.
14972 (bibtex-generate-url-list): Fix docstring.
14974 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14976 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14977 minibuffer's content with itself.
14978 Fold the confirm-after-completion case into the `confirm' case.
14979 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14981 2009-12-06 Kevin Ryde <user42@zip.com.au>
14983 * ffap.el (ffap-rfc-path): Make this a defcustom since
14984 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14986 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14987 manuals, similar to existing setup for help-mode. (Bug#3913.)
14989 2009-12-05 Juri Linkov <juri@jurta.org>
14991 Save and restore dired buffer's point positions too. (Bug#4880)
14993 * dired.el (dired-save-positions): Return in the first element
14994 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14996 (dired-restore-positions): First restore buffer's position.
14997 While restoring window's positions, check if window still displays
14998 the original buffer.
15000 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15002 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15005 * shell.el (shell): Require ansi-color (Bug#5113).
15007 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15009 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15011 2009-12-05 Alan Mackenzie <acm@muc.de>
15013 * progmodes/cc-mode.el (c-before-hack-hook)
15014 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15015 `c-file-style' to work again. This reversion restores the current
15016 software to its state in Emacs 23.1. (Bug#4146)
15018 2009-12-05 Kevin Ryde <user42@zip.com.au>
15020 * textmodes/sgml-mode.el (sgml-lexical-context):
15021 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15023 2009-12-05 Juri Linkov <juri@jurta.org>
15025 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15026 for virtual nodes. (Bug#4147)
15027 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15028 when moving from a virtual node.
15029 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15030 (Info-mode): Add `Info-virtual-index' to the docstring.
15032 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15034 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15035 track of the buffer position of the end of a BibTeX entry as this
15036 position may change during reformatting.
15037 (bibtex-format-entry): Remove whitespace before processing
15038 numerical fields so that we recognize the latter properly.
15039 (bibtex-reformat): Do not use push which changes the global value
15040 of bibtex-entry-format.
15041 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15042 (bibtex-field-re-init): Replace only space characters by regexp
15044 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15045 (bibtex-initialize): Also update bibtex-strings.
15046 (bibtex-kill-field): Preserve white space at end of entry.
15047 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15048 Update bibtex-reference-keys.
15050 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15052 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15053 point after a star, if that's the only place where modifications can
15056 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15058 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15061 2009-12-04 Juri Linkov <juri@jurta.org>
15063 * proced.el (proced): Call `(proced-update t)' to update process
15064 information instead of only running proced-post-display-hook.
15065 (proced-send-signal): Add a leading space to the buffer name
15066 " *Marked Processes*" to make this buffer ephemeral.
15068 2009-12-04 Juri Linkov <juri@jurta.org>
15070 * dired.el (dired-auto-revert-buffer): New defcustom.
15071 (dired-internal-noselect): Use it.
15073 2009-12-04 Juri Linkov <juri@jurta.org>
15075 Change roles of modes and functions in image-mode.el (Bug#5062).
15077 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15078 in `auto-mode-alist'.
15079 (image-mode-previous-major-mode): New variable.
15080 (image-minor-mode-map): Rename from `image-mode-text-map'.
15081 (image-mode): Move graceful error-handling code from
15082 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15083 (image-minor-mode): Remove all image-handling code.
15084 Replace `image-mode-text-map' with `image-minor-mode-map'.
15085 Check for `image-type' in mode-line format string.
15086 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15087 (image-mode-as-text): New function with most code from
15088 `image-mode-maybe'.
15089 (image-toggle-display-text): Move code that removes image
15090 properties from `image-toggle-display' to here.
15091 (image-toggle-display-image): New function with code that adds
15092 image properties copied from `image-toggle-display'.
15093 (image-toggle-display): Remove most code with leaving only code
15094 that toggles between `image-mode-as-text' and `image-mode'.
15096 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15098 * net/newst-treeview.el
15099 (newsticker--treeview-list-highlight-start): Restored call to
15100 save-excursion: Selected item was stuck.
15101 (newsticker--treeview-list-select): New.
15102 (newsticker--treeview-item-show-text)
15103 (newsticker--treeview-item-show)
15104 (newsticker--treeview-item-update): Use new
15105 newsticker-treeview-item-mode.
15106 (newsticker-treeview-update): Keep current item.
15107 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15108 (newsticker--treeview-first-feed): Doc change.
15109 (newsticker-treeview-list-menu)
15110 (newsticker-treeview-item-menu): Add menu entries.
15111 (newsticker-treeview-item-mode): New.
15113 * net/newst-backend.el (newsticker-customize): Delete other
15116 2009-12-04 Sam Steingold <sds@gnu.org>
15118 * log-view.el (log-view-mode-map): "q" calls quit-window,
15119 like in all the other non-self-insert buffers.
15121 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15124 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15125 key decoding rather than do it manually via last-input-event +
15127 (term-exec): Use delete-and-extract-region.
15128 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15129 (term-process-pager): Remove unused var `i'.
15130 (term-dynamic-simple-complete): Make obsolete.
15131 (serial-update-config-menu): Remove unused vars `y' and `str'.
15132 (term-update-mode-line): Remove unused var `temp'.
15134 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15136 Limit the number of log entries displayed by default.
15137 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15138 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15139 using a prefix argument.
15141 2009-12-03 Glenn Morris <rgm@gnu.org>
15143 * progmodes/idlwave.el (class): Restore still useful declaration.
15145 2009-12-03 Alan Mackenzie <acm@muc.de>
15147 Enhance `c-parse-state' to run efficiently in "brace deserts".
15149 * progmodes/cc-mode.el (c-basic-common-init):
15150 Call c-state-cache-init.
15151 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15152 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15153 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15155 * progmodes/cc-langs.el (c-before-font-lock-function):
15156 c-extend-and-neutralize-syntax-in-CPP has been renamed
15157 c-neutralize-syntax-in-and-mark-CPP.
15159 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15160 with `category' properties now, not `syntax-table' ones.
15162 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15163 enhanced (but slower) version of c-end-of-macro that won't land
15164 inside a literal or on another awkward character.
15165 (c-state-cache-too-far, c-state-cache-start)
15166 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15167 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15168 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15169 (c-state-min-scan-pos, c-state-brace-pair-desert)
15170 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15171 buffer local variables.
15172 (c-state-literal-at, c-state-lit-beg)
15173 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15174 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15175 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15176 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15177 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15178 (c-renarrow-state-cache)
15179 (c-append-lower-brace-pair-to-state-cache)
15180 (c-state-push-any-brace-pair, c-append-to-state-cache)
15181 (c-remove-stale-state-cache)
15182 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15183 (c-invalidate-state-cache-1, c-parse-state-1)
15184 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15185 (c-parse-state): Enhance and refactor.
15186 (c-debug-parse-state): Amend to deal with all the new variables.
15188 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15189 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15190 modify to use category text properties rather than syntax-table ones.
15191 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15192 to switch off/on the syntactic paren property of C++ template
15193 delimiters using the category property.
15194 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15195 template delims suppressed.
15196 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15197 New constant/macros which apply category properties to the start
15198 and end of preprocessor constructs.
15199 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15200 "comment out" the syntactic value of characters in preprocessor
15202 (c-with-cpps-commented-out)
15203 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15204 with characters in all or all but one preprocessor constructs
15207 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15209 * proced.el (proced-filter-alist): Use regexp-quote.
15211 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15214 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15215 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15216 arguments. Expand `default-directory'.
15218 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15219 the benefit of returning an expanded localname.
15220 (tramp-tramp-file-p): Handle the case NAME is not a string.
15222 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15224 Add support for bzr shelve/unshelve.
15225 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15226 (vc-bzr-extra-menu-map): New variables.
15227 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15228 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15229 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15230 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15231 (vc-bzr-dir-extra-headers): Display shelves.
15233 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15235 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15237 * textmodes/bibtex.el (bibtex-complete-internal):
15238 Use completion-in-region.
15239 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15241 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15243 Support applying stashes. Improve UI.
15244 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15245 (vc-git-stash-apply, vc-git-stash-pop)
15246 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15247 (vc-git-stash-menu): New functions.
15248 (vc-git-stash-menu-map): New variable.
15249 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15251 2009-12-03 Glenn Morris <rgm@gnu.org>
15253 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15254 (vc-print-log-internal): Fix previous change.
15255 (vc-revert): Correct pluralization.
15257 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15259 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15260 it to be an alist any more.
15261 (makefile-complete): Use completion-in-region.
15263 * progmodes/octave-mod.el (octave-complete-symbol):
15264 Use completion-in-region.
15267 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15268 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15269 (idlwave-complete-class): Don't quote lambda.
15270 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15271 (idlwave-mode-map): Move initialization into declaration.
15272 (idlwave-action-and-binding): Use backquotes.
15273 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15275 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15276 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15277 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15278 `parts', and `all-parts'.
15279 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15280 (idlwave-convert-xml-system-routine-info): Remove unused string
15282 (idlwave-display-user-catalog-widget): Use dolist.
15283 (idlwave-scanning-lib): Declare dynamically-scoped var.
15284 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15285 (completion-highlight-first-word-only): Declare to silence bytecomp.
15286 (idlwave-popup-select): Tighten scope of `resp'.
15287 (idlwave-find-struct-tag): Remove unused var `beg'.
15288 (idlwave-after-load-rinfo-hook): Declare.
15289 (idlwave-sintern-class-info): Remove unused var `taglist'.
15290 (idlwave-find-class-definition): Remove unused var `list'.
15291 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15292 (idlwave-what-module-find-class): Remove unused var `classes'.
15294 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15296 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15298 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15300 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15301 buffers visited. Remove redundant current-buffer-saving.
15303 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15305 Use completion-in-buffer and remove uses of dynamic scoping.
15306 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15307 (pascal-buffer-to-use, pascal-flag): Don't declare.
15308 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15309 (pascal-get-completion-decl, pascal-keyword-completion):
15310 Add `pascal-str' argument, save-excursion,
15311 return the found completions, and don't filter with pascal-pred.
15312 (pascal-completion-cache): New var.
15313 (pascal-completion): Don't switch buffer any more (it was never
15314 necessary). Don't save-excursion any more (it's done by the called
15315 subroutines). Use a cache to avoid redundant computations.
15316 Use complete-with-action rather than pascal-completion-response and
15317 let it apply the predicate as well.
15318 (pascal-complete-word): Use completion-in-buffer when
15319 pascal-toggle-completions is nil.
15320 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15322 (pascal-comp-defun): Don't change buffer any more.
15323 Use complete-with-action rather than pascal-completion-response and
15324 let it apply the predicate as well.
15325 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15328 2009-12-02 Kenichi Handa <handa@m17n.org>
15330 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15331 shape for all Indic scripts.
15333 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15335 Use completion-in-buffer.
15336 * wid-edit.el (widget-field-text-end): New function.
15337 (widget-field-value-get): Use it.
15338 (widget-string-complete, widget-file-complete)
15339 (widget-color-complete): Use it and completion-in-region.
15340 (widget-complete): Don't narrow the buffer.
15342 2009-12-02 Glenn Morris <rgm@gnu.org>
15344 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15345 (rmail-select-summary): Use rmail-pop-to-buffer.
15346 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15347 rmail-pop-to-buffer, to prevent horizontal splits.
15349 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15350 save-excursion with save-current-buffer.
15351 Widen before searching. (Bug#5093)
15352 (diary-list-sexp-entries): Remove superfluous save-excursion.
15354 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15356 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15359 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15361 * ido.el (ido-file-internal): Handle filenames at point that do
15362 not have a directory part. (Bug#5049)
15364 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15366 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15367 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15369 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15371 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15372 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15375 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15377 * comint.el (comint-insert-input): Ignore clicks to the right of
15378 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15380 * vc.el (vc-print-log-internal): Don't wait for the process to
15381 terminate before setting up the major mode.
15383 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15386 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15389 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15391 2009-12-01 Glenn Morris <rgm@gnu.org>
15393 * window.el (window--display-buffer-2): Fix previous changes.
15395 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15397 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15399 2009-12-01 Glenn Morris <rgm@gnu.org>
15401 * Makefile.in (ELCFILES): Add mpc.elc.
15403 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15405 * mpc.el: New file.
15407 2009-12-01 Glenn Morris <rgm@gnu.org>
15409 * window.el (window-to-use): Define for compiler.
15411 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15412 consistent with others (no final period).
15414 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15415 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15417 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15419 Make vc-print-log buttons work.
15420 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15422 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15424 * savehist.el (savehist-autosave-interval): Allow setting to nil
15425 through customize. (Bug#5056)
15427 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15429 Fix references to jit-lock properties.
15430 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15431 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15432 (perl-font-lock-special-syntactic-constructs):
15433 Quote jit-lock-defer-multiline property.
15435 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15437 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15439 2009-11-30 Juri Linkov <juri@jurta.org>
15441 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15442 value `buffer' of `multi-isearch-next-buffer-current-function'.
15443 Use `(current-buffer)' when `buffer' is nil.
15444 (multi-isearch-next-buffer-from-list): Don't fallback to
15445 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15447 2009-11-30 Juri Linkov <juri@jurta.org>
15449 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15450 of buffers with `get-buffer' to `multi-isearch-buffers'.
15451 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15452 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15453 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15454 FILES with `expand-file-name' converting relative file names
15455 to absolute. Doc fix. (Bug#4727)
15457 2009-11-30 Juri Linkov <juri@jurta.org>
15459 * misearch.el (multi-isearch-read-buffers)
15460 (multi-isearch-read-matching-buffers): New functions.
15461 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15462 Use them in the `interactive' spec. Doc fix.
15463 (multi-isearch-read-files, multi-isearch-read-matching-files):
15465 (multi-isearch-files, multi-isearch-files-regexp):
15466 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15468 2009-11-30 Juri Linkov <juri@jurta.org>
15470 * doc-view.el (doc-view-continuous):
15471 Rename from `doc-view-continuous-mode'.
15472 (doc-view-menu): Move "Toggle display" to the top.
15473 Add submenu "Continuous" with radio buttons "Off"/"On"
15474 and "Save as Default".
15475 (doc-view-scroll-up-or-next-page)
15476 (doc-view-scroll-down-or-previous-page)
15477 (doc-view-next-line-or-next-page)
15478 (doc-view-previous-line-or-previous-page):
15479 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15481 2009-11-30 Juri Linkov <juri@jurta.org>
15483 * comint.el (comint-mode-map): Rebind `M-r' from
15484 `comint-previous-matching-input' to
15485 `comint-history-isearch-backward-regexp'.
15486 Unbind `M-s' to allow global key binding `M-s'.
15487 Add menu items for `comint-history-isearch-backward' and
15488 `comint-history-isearch-backward-regexp'. (Bug#3746)
15490 2009-11-30 Juri Linkov <juri@jurta.org>
15492 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15493 For def=recenter, replace `recenter' with `recenter-top-bottom'
15494 that is called with `this-command' and `last-command' let-bound
15495 to `recenter-top-bottom'. When the last `def' was not `recenter',
15496 set `recenter-last-op' to nil. (Bug#4981)
15498 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15500 Minor cleanup and simplification.
15501 * filecache.el (file-cache-add-directory)
15502 (file-cache-add-directory-recursively)
15503 (file-cache-add-from-file-cache-buffer)
15504 (file-cache-delete-file-regexp, file-cache-delete-directory)
15505 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15506 (file-cache-temp-minibuffer-message): Delete function.
15507 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15509 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15510 Don't signal an error when bumping into EOB in tr, s, or y.
15512 2009-11-29 Juri Linkov <juri@jurta.org>
15514 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15517 * descr-text.el (describe-char-unidata-list): Use lowercase name
15518 for "Unicode name" like in other tags.
15520 2009-11-29 Juri Linkov <juri@jurta.org>
15522 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15523 New compatibility macro.
15524 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15526 2009-11-29 Juri Linkov <juri@jurta.org>
15528 Add defcustom to define the cycling order of `recenter-top-bottom'.
15531 * window.el (recenter-last-op): Doc fix.
15532 (recenter-positions): New defcustom.
15533 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15534 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15536 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15538 Improve integration of Tramp and ange-ftp in eshell.
15540 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15541 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15542 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15544 * eshell/esh-util.el (top): Require also Tramp when compiling.
15545 (eshell-directory-files-and-attributes): Check for FTP remote
15547 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15548 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15549 (eshell-file-attributes): Handle ".". Return `entry'.
15551 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15552 (ange-ftp-directory-files-and-attributes)
15553 (ange-ftp-real-directory-files-and-attributes): New defuns.
15555 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15556 shell with "exec" when possible. This prevents trailing prompts
15557 in `start-file-process'.
15559 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15561 Try and remove assumptions about point-min==1.
15562 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15563 (rng-compute-mode-line-string): Show the validation percentage in
15564 terms of the narrowed text, not the widened text.
15565 (rng-do-some-validation): Don't catch internal errors when debugging.
15566 (rng-first-error): Simplify.
15567 (rng-after-change-function): Remove work around. AFAIK the bug has
15568 been fixed a while ago.
15570 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15571 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15573 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15575 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15576 `cd' doesn't always do it for us (bug#5067).
15578 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15579 on 2009-10-25 as part of some other change (bug#5067).
15581 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15585 (byte-compile-warnings): Use byte-compile-warning-types.
15586 (byte-compile-save-excursion): Warn about use of set-buffer right
15587 after save-excursion.
15589 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15590 the excursion as well.
15592 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15594 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15595 providing a Tramp related implementation of "su" and "sudo".
15596 (eshell-unix-initialize): Add "su" and "sudo".
15598 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15600 * net/socks.el (socks-send-command): Convert binary request to
15601 unibyte before sending. This fixes mishandling of some port
15602 numbers such as 129.
15604 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15606 * help.el (describe-bindings-internal): Remove `interactive'.
15608 * man.el (Man-completion-table): Trim a terminating "(".
15609 Remove the space between name page a section.
15610 Add the command's description on the `help-echo' property.
15611 Remove `process-connection-type' binding since it's unused by
15613 Provide completion for the "<section> <name>" format as well.
15614 (Man-default-man-entry): Remove spurious var shadowing the argument.
15616 2009-11-26 Kevin Ryde <user42@zip.com.au>
15618 * log-view.el: Add "Keywords: tools", since its other keywords
15619 aren't in finder-known-keywords, and following vc.el.
15621 * sha1.el (sha1-string-external): default-directory "/" in case
15622 otherwise non-existent. process-connection-type pipe for touch of
15623 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15625 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15627 Misc coding convention cleanups.
15628 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15629 hfy-init-kludge-hooks.
15630 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15631 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15632 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15634 (hfy-slant, hfy-weight): Use tables rather than code.
15635 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15636 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15637 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15638 (hfy-face-to-css): Remove `nconc' with single arg.
15639 (hfy-p-to-face-lennart): Use `or'.
15640 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15641 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15642 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15643 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15644 (hfy-force-fontification): Use run-hooks.
15646 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15648 Various minor fixes.
15649 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15650 Javascript belongs in the header, not the body.
15651 (hfy-javascript): Remove.
15652 (hfy-fontify-buffer): Don't insert it any more.
15653 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15654 Fix bug in invis handling when there were no invis props in a chunk.
15656 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15658 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15660 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15662 * finder.el (finder-mode-map): Add a menu.
15664 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15666 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15667 "unsigned" structs.
15669 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15670 fork" statement better.
15672 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15674 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15675 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15676 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15677 Reported by Clay Douglass.
15679 (verilog-auto-inst, verilog-auto-star-safe)
15680 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15681 Fix removing "// Interfaces" when saving .* expansions.
15682 Reported by Pierre-David Pfister.
15684 2009-11-26 Glenn Morris <rgm@gnu.org>
15686 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15689 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15691 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15692 Really use previous revision.
15694 2009-11-25 Kevin Ryde <user42@zip.com.au>
15696 * man.el (Man-completion-table): default-directory "/" in case
15697 doesn't otherwise exist. process-environment COLUMNS=999 so as
15698 not to truncate long names. process-connection-type pipe to avoid
15699 any chance of hitting the pseudo-tty TIOCGWINSZ.
15700 (man): completion-ignore-case t for friendliness and since man
15701 itself is case-insensitive on the command line.
15702 Further to Bug#3717.
15704 * arc-mode.el: Add "Keywords: files", so the details in its
15705 commentary can be reached from finder-by-keyword.
15706 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15707 editing mode, but it's comms related and sgml-mode.el has "comm"
15709 * textmodes/bibtex-style.el: Add "Keywords: tex".
15710 * international/isearch-x.el, international/ja-dic-cnv.el:
15711 * international/ja-dic-utl.el, international/kkc.el:
15712 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15714 2009-11-25 Juri Linkov <juri@jurta.org>
15716 * man.el (Man-completion-table): Modify regexp to include
15717 section names to completion strings. (Bug#3717)
15719 2009-11-25 Juri Linkov <juri@jurta.org>
15721 Search recursively in gzipped files. (Bug#4982)
15723 * progmodes/grep.el (grep-highlight-matches): Add new options
15724 `always' and `auto'. Doc fix.
15725 (grep-process-setup): Check `grep-highlight-matches' for
15726 `auto-detect' to determine the need to compute grep defaults.
15727 Move Windows/DOS specific --colors settings handling
15728 to `grep-compute-defaults'. Check `grep-highlight-matches'
15729 to get the value of "--color=".
15730 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15731 has the value `auto-detect'. Move Windows/DOS specific settings
15732 from `grep-process-setup'.
15733 (zrgrep): New command with alias `rzgrep'.
15735 2009-11-25 Juri Linkov <juri@jurta.org>
15737 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15738 to nil instead of switching off view-mode. (Bug#4896)
15740 2009-11-25 Juri Linkov <juri@jurta.org>
15742 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15744 * mwheel.el (mwheel-scroll-up-function)
15745 (mwheel-scroll-down-function): New defvars.
15746 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15747 `scroll-up', and `mwheel-scroll-down-function' instead of
15750 * doc-view.el (doc-view-scroll-up-or-next-page)
15751 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15752 Use this ARG in the call to image-scroll-up/image-scroll-down.
15753 Change `interactive' spec to "P". Goto next/previous page only
15754 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15755 SPC/DEL case). Doc fix.
15756 (doc-view-next-line-or-next-page)
15757 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15759 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15760 `doc-view-scroll-up-or-next-page', and buffer-local
15761 `mwheel-scroll-down-function' to
15762 `doc-view-scroll-down-or-previous-page'.
15764 2009-11-25 Juri Linkov <juri@jurta.org>
15766 Provide additional default values (directories at other Dired
15767 windows) via M-n in the minibuffer of some Dired commands.
15769 * dired-aux.el (dired-diff, dired-compare-directories)
15770 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15771 `minibuffer-default' in `minibuffer-with-setup-hook'.
15772 (dired-dwim-target-directory): Find a window that displays Dired
15773 buffer instead of failing when the next window is not Dired.
15774 Use `get-window-with-predicate' to find for the next Dired window.
15775 (dired-dwim-target-defaults): New function.
15777 * ediff-util.el (ediff-read-file-name):
15778 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15779 in `minibuffer-with-setup-hook'.
15781 2009-11-25 Juri Linkov <juri@jurta.org>
15783 Provide additional default values (file name at point or at the
15784 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15786 * minibuffer.el (read-file-name-defaults): New function.
15787 (read-file-name): Reset `minibuffer-default' to nil when
15788 it duplicates initial input `insdef'.
15789 Bind `minibuffer-default-add-function' to lambda that
15790 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15791 (minibuffer-insert-file-name-at-point): New command.
15793 * files.el (file-name-at-point-functions): New defcustom.
15794 (find-file-default): Remove defvar.
15795 (find-file-read-args): Don't use `find-file-default'.
15796 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15797 to `read-file-name'.
15798 (find-file-literally): Use `read-file-name' with
15799 `confirm-nonexistent-file-or-buffer'.
15801 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15803 * dired.el (dired-read-dir-and-switches):
15804 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15805 to `read-file-name'.
15806 (dired-file-name-at-point): New function.
15807 (dired-mode): Add hook `dired-file-name-at-point' to
15808 `file-name-at-point-functions'.
15810 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15812 Really make the *Completions* window soft-dedicated (bug#5030).
15813 * window.el (window--display-buffer-2): Add `dedicated' argument.
15814 (display-buffer): Pass it when needed so the dedicated flag is set
15815 after calling set-window-buffer, which would otherwise reset it.
15817 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * progmodes/meta-mode.el (meta-complete-symbol):
15820 * progmodes/etags.el (complete-tag):
15821 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15822 Use completion-in-region.
15824 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15825 (dabbrev-completion): Use completion-in-region.
15826 (dabbrev--abbrev-at-point): Simplify regexp.
15828 * abbrev.el (abbrev--before-point): Use word-motion functions
15829 if :regexp is not specified (bug#5031).
15831 * subr.el (string-prefix-p): New function.
15833 * man.el (Man-completion-cache): New var.
15834 (Man-completion-table): Use it.
15836 * vc.el (vc-print-log-internal): Make `limit' optional for better
15837 compatibility (e.g. with vc-annotate.el).
15839 2009-11-24 Kevin Ryde <user42@zip.com.au>
15841 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15842 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15844 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15845 when .el source file not found or other error.
15847 2009-11-24 Markus Triska <markus.triska@gmx.at>
15849 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15851 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15853 Handle the [back] button properly (bug#4979).
15854 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15855 Use help-setup-xref, help-buffer, and with-help-window.
15856 (describe-char): Add `buffer' argument.
15857 Pass proper command to help-setup-xref. Don't meddle with
15858 help-xref-stack-item directly.
15859 (describe-text-category): Use with-help-window and help-buffer.
15861 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15862 for the displayed buffer (bug#4887).
15864 * man.el (Man-completion-table): New function.
15867 2009-11-24 David Reitter <david.reitter@gmail.com>
15869 * vc-git.el (vc-git-registered): Use checkout directory (where
15870 .git is) rather than the file's directory and a relative path spec
15871 to work around a bug in git.
15873 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15875 Improve handling of processes on remote hosts.
15877 * eshell/esh-util.el (eshell-path-env): New defvar.
15878 (eshell-parse-colon-path): New defun.
15879 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15881 * eshell/esh-ext.el (eshell-search-path):
15882 Use `eshell-parse-colon-path'.
15883 (eshell-remote-command): Remove argument HANDLER.
15884 (eshell-external-command): Check for FTP remote connection.
15886 * eshell/esh-proc.el (eshell-gather-process-output):
15887 Use `file-truename', in order to start also symlinked files.
15888 Apply `start-file-process' instead of `start-process'.
15889 Shorten `command' to the local file name part.
15891 * eshell/em-cmpl.el (eshell-complete-commands-list):
15892 Use `eshell-parse-colon-path'.
15894 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15896 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15897 to `eshell-directory-change-hook'.
15899 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15901 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15902 because it could be enabled automatically if view-read-only is non-nil.
15904 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15906 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15907 made on 2009-11-22.
15909 2009-11-24 Glenn Morris <rgm@gnu.org>
15911 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15912 deleted variable bookmark-bmenu-bookmark-column.
15914 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15916 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15918 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15920 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15921 two slashes to the "file:" prefix.
15922 (browse-url-file-url): De-munge Cygwin filenames before passing
15923 them to Windows browser.
15924 (browse-url-default-windows-browser): Use call-process.
15926 2009-11-23 Juri Linkov <juri@jurta.org>
15928 Implement DocView Continuous mode. (Bug#4896)
15929 * doc-view.el (doc-view-continuous-mode): New defcustom.
15930 (doc-view-mode-map): Bind C-n/<down> to
15931 `doc-view-next-line-or-next-page', C-p/<up> to
15932 `doc-view-previous-line-or-previous-page'.
15933 (doc-view-next-line-or-next-page)
15934 (doc-view-previous-line-or-previous-page): New commands.
15936 2009-11-23 Juri Linkov <juri@jurta.org>
15938 Implement Isearch in comint input history. (Bug#3746)
15939 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15940 `isearch-mode-hook'.
15941 (comint-history-isearch): New defcustom.
15942 (comint-history-isearch-backward)
15943 (comint-history-isearch-backward-regexp): New commands.
15944 (comint-history-isearch-message-overlay): New buffer-local variable.
15945 (comint-history-isearch-setup, comint-history-isearch-end)
15946 (comint-goto-input, comint-history-isearch-search)
15947 (comint-history-isearch-message, comint-history-isearch-wrap)
15948 (comint-history-isearch-push-state)
15949 (comint-history-isearch-pop-state): New functions.
15951 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15953 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15955 (tramp-handle-make-symbolic-link)
15956 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15958 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15959 (tramp-handle-process-file): Use it.
15961 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15963 * window.el (move-to-window-line-last-op): Remove.
15964 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15966 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15968 Make M-r mirror the new cycling behavior of C-l.
15969 * window.el (move-to-window-line-last-op): New var.
15970 (move-to-window-line-top-bottom): New command.
15971 (global-map): Bind M-r move-to-window-line-top-bottom.
15973 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15975 * dired-x.el (dired-guess-shell-alist-default):
15976 Support xz format. (Bug#4953)
15978 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15980 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15981 last-command-char/last-command-event.
15982 (viper-prefix-arg-value): Do correct conversion of event-char for
15985 * emulation/viper-util.el, emulation/viper.el:
15986 Use viper-last-command-char instead of
15987 last-command-char/last-command-event.
15989 * ediff-init.el, ediff-mult.el, ediff-util.el:
15990 Replace last-command-char and last-command-event
15991 with (ediff-last-command-char) everywhere.
15993 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15994 created in fundamental mode.
15996 * ediff.el (ediff-version): Revert the change of interactive-p to
15997 called-interactively-p.
15999 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16001 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16002 generation from word-movement command names.
16004 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16006 * cus-start.el (all): Add native condition for font-use-system-font.
16008 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16010 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16011 Correct the patch from 2009-11-18. (Bug#3910)
16013 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16015 * progmodes/subword.el: Rename from lisp/subword.el.
16017 * subword.el: Rename to progmodes/subword.el.
16019 * Makefile.in (ELCFILES): Adapt to subword.el move.
16021 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16022 Stefan Monnier <monnier@iro.umontreal.ca>
16024 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16025 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16026 (bookmark-bmenu-show-filenames): Use push.
16027 (bookmark-bmenu-hide-filenames): Use local var instead of
16028 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16029 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16030 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16031 filenames now that the bookmark names are always available.
16033 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16035 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16036 (bookmark-search-pattern): Move and leave unbound.
16037 (bookmark-bmenu-mode-map): Change binding.
16038 (bookmark-read-search-input): Simplify.
16039 Don't use text-char-description. Don't error on non-char events.
16040 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16041 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16042 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16043 Use a local var for the timer.
16044 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16045 (i.e. bookmark-bmenu-search).
16047 2009-11-21 Glenn Morris <rgm@gnu.org>
16049 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16051 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16053 * net/browse-url.el (browse-url-default-windows-browser):
16054 Use cygstart for cygwin.
16056 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16058 * bookmark.el: Formatting and doc fixes only:
16059 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16060 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16061 Minor grammar and punctuation fixes in doc string.
16062 (bookmark-read-search-input): Adjust to fit within 80 columns.
16064 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16066 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16067 (c-backward-into-nomenclature): Adapt to subword renaming.
16069 * subword.el (subword-forward, subword-backward, subword-mark)
16070 (subword-kill, subword-backward-kill, subword-transpose)
16071 (subword-downcase, subword-upcase, subword-capitalize)
16072 (subword-forward-internal, subword-backward-internal):
16073 Rename from forward-subword, backward-subword, mark-subword,
16074 kill-subword, backward-kill-subword, transpose-subwords,
16075 downcase-subword, upcase-subword, capitalize-subword,
16076 forward-subword-internal, backward-subword-internal.
16078 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16080 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16082 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16084 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16085 (bookmark-bmenu-filter-alist-by-regexp)
16086 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16087 (bookmark-bmenu-search): New command.
16088 (bookmark-bmenu-mode-map): Bind it.
16090 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16092 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16093 backward-subword to quit the byte-compiler.
16095 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16097 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16099 * progmodes/cc-cmds.el (c-update-modeline)
16100 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16101 Refer to subword.el functions instead of cc-subword.el.
16103 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16104 subword.el functions instead of cc-subword.el.
16106 * progmodes/cc-subword.el: Rename to subword.el.
16107 * subword.el: Rename from progmodes/cc-subword.el.
16108 (subword-mode-map): Rename from c-subword-mode-map.
16109 (subword-mode): Rename from c-subword-mode.
16110 (global-subword-mode): New global minor mode.
16111 (forward-subword): Rename from c-forward-subword.
16112 (backward-subword): Rename from c-backward-subword.
16113 (mark-subword): Rename from c-mark-subword.
16114 (kill-subword): Rename from c-kill-subword.
16115 (backward-kill-subword): Rename from c-backward-kill-subword.
16116 (transpose-subwords): Rename from c-tranpose-subword.
16117 (downcase-subword): Rename from c-downcase-subword.
16118 (capitalize-subword): Rename from c-capitalize-subword.
16119 (forward-subword-internal): Rename from c-forward-subword-internal.
16120 (backward-subword-internal): Rename from c-backward-subword-internal.
16122 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16124 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16125 from a dired buffer.
16126 (vc-dired-deduce-fileset): New function.
16127 (vc-root-diff, vc-print-root-log): Use it.
16129 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16130 nil LIMIT argument to vc-print-log-internal.
16132 2009-11-20 Glenn Morris <rgm@gnu.org>
16134 * Makefile.in (ELCFILES): Regenerate.
16136 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16138 * calc/calc.el (calc-set-mode-line):
16139 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16140 (math-format-number): Rename `math-format-complement-signed' to
16141 `math-format-twos-complement'.
16143 * calc/calc-bin.el (math-format-twos-complement): Rename from
16144 math-format-complement-signed.
16145 (calc-radix): Rename `calc-complement-signed-mode' to
16146 `calc-twos-complement-mode'.
16147 (calc-octal-radix, calc-hex-radix): Add an argument for
16150 * calc/calc-embed.el (calc-embedded-mode-vars):
16151 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16153 * calc/calc-ext.el (calc-init-extensions):
16154 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16155 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16157 * calc/calc-units.el (math-build-units-table-buffer):
16158 Let `calc-twos-complement-mode' be nil.
16160 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16163 * calc/calc-vec.el (calcFunc-vunpack):
16164 * calc/calc-aent.el (calc-do-calc-eval):
16165 * calc/calc-forms.el (math-format-date):
16166 * calc/calc-graph.el (calc-graph-plot):
16167 * calc/calc-math.el (math-use-emacs-fn):
16168 * calc/calccomp.el (math-compose-expr):
16169 Let `calc-twos-complement-mode' be nil.
16171 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16173 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16174 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16175 * minibuffer.el (completion-in-region-functions): New hook.
16176 (completion-in-region): New function.
16177 * emacs-lisp/lisp.el (lisp-complete-symbol):
16178 * pcomplete.el (pcomplete-std-complete): Use it.
16180 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16182 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16183 (latex-complete-alist): New vars.
16184 (latex-string-prefix-p, latex-complete-bibtex-keys)
16185 (latex-complete-envnames, latex-complete-refkeys)
16186 (latex-complete-data): New functions.
16187 (latex-complete, latex-indent-or-complete): New commands.
16189 * window.el (display-buffer-mark-dedicated): New var.
16190 (display-buffer): Obey it.
16191 * minibuffer.el (minibuffer-completion-help): Use it.
16193 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16195 * filecache.el (file-cache-add-file): Use push and cons.
16196 (file-cache-delete-file-regexp): Use push.
16197 (file-cache-complete): Use completion-in-region.
16199 * simple.el (with-wrapper-hook): Fix thinko.
16201 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16202 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16203 Use with-current-buffer and string-to-number.
16204 (hfy-fallback-colour-values): Use assoc-string.
16205 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16206 (hfy-face-at): Remove unused var `found-face'.
16207 (hfy-compile-stylesheet): Remove unused var `css'.
16208 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16210 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16211 Use with-current-buffer.
16212 (hfy-text-p): Use expand-file-name and fewer setq.
16214 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16216 * htmlfontify.el, hfy-cmap.el: New files.
16218 2009-11-19 Juri Linkov <juri@jurta.org>
16220 * minibuffer.el (completions-format): New defcustom.
16221 (completion--insert-strings): Implement vertical format.
16223 * simple.el (switch-to-completions): Move point to the first
16224 completion when point was at the beginning of the buffer.
16226 2009-11-19 Juri Linkov <juri@jurta.org>
16228 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16230 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16232 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16234 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16235 (mail-signature): Change default to t.
16236 (mail-from-style): Deprecate `system-default' value.
16237 (mail-insert-from-field): For default value of mail-from-style,
16238 default to `angles' unless `angles' needs quoting and `parens'
16240 (mail-citation-prefix-regexp): Use citation regexp from
16243 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16245 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16246 Set variables for computing the prompt for reading password.
16248 2009-11-19 Glenn Morris <rgm@gnu.org>
16250 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16252 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16254 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16255 (newsticker-treeview-listwindow-height): Fix custom type.
16257 2009-11-19 Kenichi Handa <handa@m17n.org>
16259 * descr-text.el (describe-char-padded-string): Compose with TAB
16260 only if there's a font for CH.
16261 (describe-char): Fix the condition for detecting a trivial composition.
16263 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16265 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16266 more accurate version of the regexp. (Bug#3910)
16268 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16270 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16272 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16274 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16275 (font-setting-change-default-font): Fix typo in docstring.
16277 2009-11-18 Alan Mackenzie <acm@muc.de>
16279 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16281 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16283 * font-setting.el (font-use-system-font): Move ...
16285 * cus-start.el (all): ... to here.
16287 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16289 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16290 Don't set `ad-return-value' if `ad-do-it' doesn't.
16292 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16295 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16297 * menu-bar.el: Put "Use system font" in Option-menu.
16298 (menu-bar-options-save): Add font-use-system-font.
16300 * loadup.el: If feature system-font-setting or font-render-setting is
16301 there, load font-setting.
16303 * Makefile.in (ELCFILES): Add font-settings.el.
16304 * font-setting.el: New file.
16306 2009-11-17 Glenn Morris <rgm@gnu.org>
16308 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16310 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16311 Preserve point in the list buffer. (Bug#4939)
16313 (newsticker--treeview-list-update-highlight)
16314 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16316 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16318 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16321 * calc/calc-ext.el (calc-init-extensions): Remove references to
16324 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16326 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16327 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16330 2009-11-16 Kevin Ryde <user42@zip.com.au>
16332 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16333 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16335 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16336 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16337 Ignore trailing spaces by omit-nulls to split-string (fixing
16338 regression from Emacs 21 due to the incompatible split-string
16339 change). (Bug #4928.)
16341 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16343 * vc.el (vc-log-show-limit): Default to 2000.
16344 (vc-print-log-internal): Insert buttons to request more entries
16345 when limiting the output.
16347 * vc-sccs.el (vc-sccs-print-log):
16348 * vc-rcs.el (vc-rcs-print-log):
16349 * vc-cvs.el (vc-cvs-print-log):
16350 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16353 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16355 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16356 error when `tramp-gvfs-dbus-event-vector' is set.
16357 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16359 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16361 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16363 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16365 * net/dbus.el (dbus-unregister-service): New defun.
16366 (dbus-register-property): Register the handlers of
16367 "org.freedesktop.DBus.Properties" for SERVICE.
16368 (dbus-property-handler): Fix docstring.
16370 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16372 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16373 Quote doc string reference in defvaralias as it is not in special form.
16374 (byte-compile-output-docform): Doc fix.
16376 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16378 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16379 (calc-complement-signed-mode): New variables.
16380 (calc-set-mode-line): Add indicator for twos-complements.
16381 (math-format-number): Format twos-complement notation.
16383 * calc/calc-bin.el (calc-word-size): Reset the variables
16384 `math-2-word-size' and `math-half-2-word-size'.
16385 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16386 (calc-symclip): New functions.
16388 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16390 * calc/calc-embed.el (calc-embedded-mode-vars):
16391 Add `calc-complement-signed-mode' to the list of modes.
16393 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16394 (calc-b-oper-keys): Add `calc-symclip' to list.
16396 * calc/calc-ext.el (math-read-number-fancy): Read complement
16398 (calc-init-extensions): Add binding for `calc-symclip'.
16399 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16401 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16403 (calc-modes-menu): Add item for twos complement mode.
16405 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16407 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16409 * register.el (jump-to-register, insert-register): Handle Semantic
16410 tags. From commented-out advice in semantic/senator.el.
16412 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16414 * vc.el (vc-log-show-limit): New variable.
16415 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16416 when using a prefix argument.
16417 (vc-print-log-internal): Add new argument LIMIT.
16419 * vc-svn.el (vc-svn-print-log):
16420 * vc-mtn.el (vc-mtn-print-log):
16421 * vc-hg.el (vc-hg-print-log):
16422 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16423 pass it to the log command when set. Make the BUFFER argument
16426 * vc-sccs.el (vc-sccs-print-log):
16427 * vc-rcs.el (vc-rcs-print-log):
16428 * vc-git.el (vc-git-print-log):
16429 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16430 ignore it. Make the BUFFER argument non-optional.
16432 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16434 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16436 * dired.el (dired-mode-map): Move encryption items to "Operate"
16439 * strokes.el (strokes-update-window-configuration): Make strokes
16440 buffer current before erasing (Bug#4906).
16442 2009-11-15 Juri Linkov <juri@jurta.org>
16444 * simple.el (set-mark-default-inactive): Add :type, :group
16445 and :version. (Bug#4876)
16447 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16449 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16450 (archive-unique-fname): ... here. (Bug#4929)
16452 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16454 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16457 * novice.el (disabled-command-function): Add useful args.
16458 Setup the help buffer so that [back] works.
16459 Remove redundant call to help-mode.
16460 (disabled-command-function): Use `case'.
16461 (en/disable-command): New function extracted from enable-command.
16462 (enable-command, disable-command): Use it.
16464 2009-11-14 Glenn Morris <rgm@gnu.org>
16466 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16467 constants. (Bug#4913)
16469 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16471 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16473 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16474 defined in C that have no doc-strings. (Bug#1063)
16476 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16478 * cus-edit.el (data, files):
16479 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16481 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16483 * simple.el (shell-command): Doc fix (Bug#4891).
16485 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16487 2009-11-14 Glenn Morris <rgm@gnu.org>
16489 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16490 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16491 If they are already loaded, eval-after-load will do the right thing.
16493 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16496 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16498 * simple.el (x-selection-owner-p): Declare.
16499 (read-mail-command): Use custom radio type rather than choice.
16500 (completion-no-auto-exit): Doc fix.
16502 * custom.el (defgroup):
16503 * epg-config.el (epg): Doc fixes.
16505 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16507 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16508 * international/ccl.el (define-ccl-program): Do not purecopy the
16509 docstring, defconst does it anyway.
16511 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16513 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16516 * x-dnd.el (x-dnd-maybe-call-test-function):
16517 * window.el (split-window-vertically):
16518 * whitespace.el (whitespace-help-on):
16519 * vc-rcs.el (vc-rcs-consult-headers):
16520 * userlock.el (ask-user-about-lock-help)
16521 (ask-user-about-supersession-help):
16522 * type-break.el (type-break-force-mode-line-update):
16523 * time-stamp.el (time-stamp-conv-warn):
16524 * terminal.el (te-set-output-log, te-more-break, te-filter)
16525 (te-sentinel, terminal-emulator):
16526 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16527 (term-write-input-ring, term-check-source, term-start-output-log):
16528 (term-display-buffer-line, term-dynamic-list-completions):
16529 (term-ansi-make-term, serial-term):
16530 * subr.el (selective-display):
16531 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16532 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16533 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16534 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16535 (speedbar-remove-localized-speedbar-support)
16536 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16537 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16538 (speedbar-buffers-line-directory):
16539 * simple.el (shell-command-on-region, append-to-buffer)
16540 (prepend-to-buffer):
16541 * shadowfile.el (shadow-save-todo-file):
16542 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16543 (scroll-bar-maybe-set-window-start):
16544 * sb-image.el (speedbar-image-dump):
16545 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16546 (load-save-place-alist-from-file):
16547 * ps-samp.el (ps-print-message-from-summary):
16548 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16549 (ps-background-image, ps-begin-job, ps-do-despool):
16550 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16551 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16552 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16553 (pr-call-process, pr-file-list, pr-interface-save):
16554 * novice.el (disabled-command-function)
16555 (enable-command, disable-command):
16556 * mouse.el (mouse-buffer-menu-alist):
16557 * mouse-copy.el (mouse-kill-preserving-secondary):
16558 * macros.el (kbd-macro-query):
16559 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16560 * informat.el (batch-info-validate):
16561 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16562 * hippie-exp.el (try-expand-dabbrev-visible):
16563 * help-mode.el (help-make-xrefs):
16564 * help-fns.el (describe-variable):
16565 * generic-x.el (bat-generic-mode-run-as-comint):
16566 * finder.el (finder-mouse-select):
16567 * find-dired.el (find-dired-sentinel):
16568 * filesets.el (filesets-file-close):
16569 * files.el (list-directory):
16570 * faces.el (list-faces-display, describe-face):
16571 * facemenu.el (list-colors-display):
16572 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16573 * epg.el (epg--process-filter, epg-cancel):
16574 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16575 (epa--read-signature-type):
16576 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16577 (emerge-file-names):
16578 * ehelp.el (electric-helpify):
16579 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16580 * ediff-vers.el (rcs-ediff-view-revision):
16581 * ediff-util.el (ediff-setup):
16582 * ediff-mult.el (ediff-append-custom-diff):
16583 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16585 * echistory.el (Electric-command-history-redo-expression):
16586 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16587 * disp-table.el (describe-display-table):
16588 * dired.el (dired-find-buffer-nocreate):
16589 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16590 * dabbrev.el (dabbrev--same-major-mode-p):
16591 * chistory.el (list-command-history):
16592 * apropos.el (apropos-documentation):
16593 * allout.el (allout-obtain-passphrase):
16594 (allout-copy-exposed-to-buffer):
16595 (allout-verify-passphrase): Use with-current-buffer.
16597 2009-11-13 Glenn Morris <rgm@gnu.org>
16599 * Makefile.in (ELCFILES): Regenerate.
16601 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16603 * net/dbus.el (dbus-registered-objects-table): Rename from
16604 `dbus-registered-functions-table', because it contains also properties.
16605 (dbus-unregister-object): Unregister also properties.
16606 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16607 Use a timeout of 500 msec, in order to not block.
16608 (dbus-register-property, dbus-property-handler): New defuns.
16610 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16612 * simple.el (minibuffer-default-add-completions): Drop deprecated
16615 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16617 * textmodes/artist.el (artist-mouse-choose-operation):
16618 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16619 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16620 (artist-compute-up-event-key): New function.
16621 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16623 2009-11-13 Kenichi Handa <handa@m17n.org>
16625 * language/japan-util.el: Make sure that the value of jisx0208
16626 property is jisx0208 character.
16628 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16630 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16631 car or each item, not the whole list.
16633 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16635 * minibuffer.el (minibuffer-completion-help):
16636 Use minibuffer-hide-completions.
16638 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16640 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16641 (dired-revert): Use them (bug#4880).
16643 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16645 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16647 2009-11-12 Juri Linkov <juri@jurta.org>
16649 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16651 (find-file-literally-at-point): Alias of `ffap-literally'.
16653 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16655 * textmodes/ispell.el (ispell-skip-region-alist):
16656 * textmodes/css-mode.el (auto-mode-alist):
16657 * progmodes/compile.el (auto-mode-alist):
16658 * international/mule.el (ctext-non-standard-encodings-alist)
16659 (ctext-non-standard-encodings-regexp):
16660 * simple.el (shell-command-switch, text-read-only):
16661 * replace.el (occur-mode-map):
16662 * paths.el (rmail-file-name):
16663 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16664 * find-file.el (ff-special-constructs):
16665 * files.el (file-name-handler-alist):
16666 * composite.el: Purecopy strings.
16668 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16670 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16672 * widget.el (define-widget): Purecopy the docstring.
16673 * international/mule-cmds.el (charset): Do not purecopy the
16674 docstring here, define-widget does it.
16676 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16677 * textmodes/bibtex-style.el (auto-mode-alist):
16678 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16679 * progmodes/compile.el (compile-command):
16680 * language/korea-util.el (default-korean-keyboard):
16681 * international/mule-conf.el (file-coding-system-alist):
16682 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16683 * tooltip.el (tooltip-frame-parameters):
16684 * newcomment.el (comment-end, comment-padding):
16685 * dired.el (dired-trivial-filenames):
16686 * comint.el (comint-file-name-prefix): Purecopy initial values.
16688 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16690 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16691 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16693 (tramp-advice-make-auto-save-file-name)
16694 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16695 after removing the advice.
16697 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16699 * progmodes/grep.el (grep-regexp-alist):
16700 * international/mule-cmds.el (iso-2022-control-alist):
16701 * emacs-lisp/timer.el (timer-duration-words):
16702 * subr.el (version-separator, version-regexp-alist):
16703 * minibuffer.el (completion-styles-alist):
16704 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16705 Change defvars to defconsts.
16707 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16708 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16709 * international/mule-conf.el: Allow to be byte compiled.
16711 * international/mule.el (define-charset): Purecopy props.
16712 (load-with-code-conversion): Purecopy doc string and file name.
16713 (put-charset-property): Purecopy strings.
16714 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16716 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16717 (define-char-code-property): Correctly purecopy the table.
16719 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16721 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16723 * subr.el (add-hook): Purecopy strings.
16724 (eval-after-load): Purecopy load-history-regexp and the form.
16726 * custom.el (custom-declare-group): Purecopy load-file-name.
16728 * subr.el (menu-bar-separator): New defconst.
16729 * net/eudc.el (eudc-tools-menu):
16730 * international/mule-cmds.el (set-coding-system-map)
16731 (mule-menu-keymap):
16732 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16733 * vc-hooks.el (vc-menu-map):
16734 * replace.el (occur-mode-map):
16735 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16736 (menu-bar-edit-menu, menu-bar-goto-menu)
16737 (menu-bar-custom-menu, menu-bar-showhide-menu)
16738 (menu-bar-options-menu, menu-bar-tools-menu)
16739 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16740 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16741 (menu-bar-help-menu):
16742 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16743 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16745 * term/x-win.el (x-gtk-stock-map):
16746 * progmodes/vera-mode.el (auto-mode-alist):
16747 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16748 (inferior-lisp-program, inferior-lisp-load-command):
16749 * progmodes/hideshow.el (hs-special-modes-alist):
16750 * progmodes/gud.el (same-window-regexps):
16751 * progmodes/grep.el (grep-program, find-program, xargs-program):
16752 * net/telnet.el (same-window-regexps):
16753 * net/rlogin.el (same-window-regexps):
16754 * language/ethiopic.el (font-ccl-encoder-alist):
16755 * vc-sccs.el (vc-sccs-master-templates):
16756 * vc-rcs.el (vc-rcs-master-templates):
16757 * subr.el (cl-assertion-failed):
16758 * simple.el (next-error-overlay-arrow-position):
16759 * lpr.el (lpr-command):
16760 * locate.el (locate-ls-subdir-switches):
16761 * info.el (same-window-regexps, info)
16762 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16763 * image-mode.el (image-mode, auto-mode-alist):
16764 * hippie-exp.el (hippie-expand-ignore-buffers):
16765 * format.el (format-alist):
16766 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16768 * facemenu.el (facemenu-keybindings):
16769 * dired.el (dired-listing-switches, dired-chown-program):
16770 * diff.el (diff-switches, diff-command):
16771 * cus-edit.el (same-window-regexps):
16772 * bindings.el (mode-line-mule-info)
16773 (mode-line-buffer-identification): Purecopy strings.
16775 2009-11-11 Juri Linkov <juri@jurta.org>
16777 * simple.el (dired-get-filename) <declare-function>:
16778 Tell the byte-compiler about dired-get-filename.
16779 (shell-command): In Dired mode, get filename from the current line
16780 as the default value.
16782 2009-11-10 Glenn Morris <rgm@gnu.org>
16784 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16785 * calendar/holidays.el, progmodes/cperl-mode.el:
16786 Update x-popup-menu declarations.
16788 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16789 (list-load-path-shadows): Use dolist.
16790 (list-load-path-shadows): Use with-current-buffer.
16792 2009-11-10 Juri Linkov <juri@jurta.org>
16794 * minibuffer.el (read-file-name): Support a list of default values
16795 in `default-filename'. Use the first file name where only one
16796 element is required. Doc fix.
16798 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16800 * net/dbus.el (dbus-unregister-object): Release service, if no
16801 other method is registered for it.
16803 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16805 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16806 bookmark-sort-flag is non-nil (Bug#4653).
16808 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16810 * emulation/cua-base.el: Add CUA property to some CC mode commands
16813 2009-11-08 Kevin Ryde <user42@zip.com.au>
16815 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16816 at end of sentence (Bug#4818).
16818 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16820 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16821 Handle "see declaration of" MSFT statements (Bug#4100).
16823 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16825 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16826 (tramp-advice-file-expand-wildcards): Unload via
16827 `ad-remove-advice'.
16829 * net/trampver.el: Update release number.
16831 2009-11-08 Kevin Ryde <user42@zip.com.au>
16833 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16836 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16838 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16839 in order to keep context in SELinux.
16841 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16843 * dired-aux.el (dired-query): Place cursor in echo area and allow
16846 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16847 menu item if not on a directory (Bug#4701).
16849 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16851 Sync with Tramp 2.1.17.
16853 * net/tramp.el (tramp-handle-copy-directory): Don't use
16854 `file-remote-p' (due to compatibility).
16856 * net/tramp-compat.el (tramp-compat-copy-directory)
16857 (tramp-compat-delete-directory): New defuns.
16859 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16860 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16861 Use `tramp-compat-delete-directory'.
16863 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16864 (tramp-smb-handle-delete-directory):
16865 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16867 * net/trampver.el: Update release number.
16869 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16871 * tar-mode.el (tar-copy): Call write-region on the right buffer
16874 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16875 by hand, if necessary (Bug#4878).
16877 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16879 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16880 align size column (Bug#4839).
16882 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16885 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16887 * progmodes/ld-script.el (auto-mode-alist):
16888 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16890 * cus-face.el (custom-declare-face): Purecopy face spec.
16892 2009-11-06 Kenichi Handa <handa@m17n.org>
16894 * international/uni-bidi.el: Re-generated.
16895 * international/uni-category.el: Re-generated.
16896 * international/uni-combining.el: Re-generated.
16897 * international/uni-mirrored.el: Re-generated.
16899 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16901 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16902 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16903 (tex-start-options, slitex-run-command, latex-run-command)
16904 (tex-run-command, tex-directory):
16905 * textmodes/ispell.el (ispell-html-skip-alists)
16906 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16907 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16908 (adaptive-fill-regexp):
16909 * textmodes/dns-mode.el (auto-mode-alist):
16910 * progmodes/python.el (interpreter-mode-alist):
16911 * progmodes/etags.el (tags-compression-info-list):
16912 * progmodes/etags.el (tags-file-name):
16913 * net/browse-url.el (browse-url-galeon-program)
16914 (browse-url-firefox-program):
16915 * mail/sendmail.el (mail-signature-file)
16916 (mail-citation-prefix-regexp):
16917 * international/mule-conf.el (eight-bit):
16918 * international/latexenc.el (latex-inputenc-coding-alist):
16919 * international/fontset.el (x-pixel-size-width-font-regexp):
16920 * emacs-lisp/warnings.el (warning-type-format):
16921 * emacs-lisp/trace.el (trace-buffer):
16922 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16923 (emacs-lisp-mode-map):
16924 * calendar/holidays.el (holiday-solar-holidays)
16925 (holiday-bahai-holidays, holiday-islamic-holidays)
16926 (holiday-christian-holidays, holiday-hebrew-holidays)
16927 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16928 (hebrew-holidays-1, holiday-oriental-holidays)
16929 (holiday-general-holidays):
16930 * x-dnd.el (x-dnd-known-types):
16931 * tool-bar.el (tool-bar):
16932 * startup.el (site-run-file):
16933 * shell.el (shell-dumb-shell-regexp):
16934 * rfn-eshadow.el (file-name-shadow-tty-properties)
16935 (file-name-shadow-properties):
16936 * paths.el (remote-shell-program, news-directory):
16937 * mouse.el ([C-down-mouse-3]):
16938 * menu-bar.el (menu-bar-tools-menu):
16939 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16940 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16941 (jka-compr-compression-info-list):
16942 * isearch.el (search-whitespace-regexp):
16943 * image-file.el (image-file-name-extensions):
16944 * find-dired.el (find-ls-option):
16945 * files.el (directory-listing-before-filename-regexp)
16946 (directory-free-space-args, insert-directory-program)
16947 (list-directory-brief-switches, magic-fallback-mode-alist)
16948 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16949 (automount-dir-prefix):
16950 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16951 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16952 (face-font-registry-alternatives, face-font-registry-alternatives)
16953 (face-font-family-alternatives):
16954 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16955 (facemenu-foreground-menu, facemenu-face-menu):
16956 * epa-hook.el (epa-file-name-regexp):
16957 * dnd.el (dnd-protocol-alist):
16958 * textmodes/rst.el (auto-mode-alist):
16959 * button.el (default-button): Purecopy strings.
16961 2009-11-06 Glenn Morris <rgm@gnu.org>
16963 * Makefile.in (ELCFILES): Update.
16965 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16967 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16968 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16970 * nxml/xsd-regexp.el (xsdre-gen-categories):
16971 * nxml/xmltok.el (xmltok-parse-entity):
16972 * nxml/rng-parse.el (rng-parse-validate-file):
16973 * nxml/rng-maint.el (rng-format-manual)
16974 (rng-manual-output-force-new-line):
16975 * nxml/rng-loc.el (rng-save-schema-location-1):
16976 * nxml/rng-cmpct.el (rng-c-parse-file):
16977 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16978 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16980 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16982 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16983 Remove extra save-excursions and make-variable-buffer-local's.
16984 Suggested by Stefan Monnier.
16986 (verilog-getopt-file, verilog-module-inside-filename-p)
16987 (verilog-set-define): Merge GNU 1.35 and repair changes from
16988 switching to using with-current-buffer.
16990 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16991 being treated as a number and confusing AUTORESET.
16992 Reported by Dan Dever.
16994 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16995 Add verilog-auto-ignore-concat to fix backward compatibility with
16996 older verilog-modes. Reported by Dan Katz.
16998 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16999 containing closing anchors "...$".
17001 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17002 Reported by Wade Smith.
17004 (verilog-batch-execute-func): Comment on function usage.
17006 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17008 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17011 (verilog-label-re, verilog-calc-1): Support proper indent of named
17014 (verilog-backward-token, verilog-basic-complete-re)
17015 (verilog-beg-of-statement, verilog-indent-re): Support proper
17016 indent of the assert statement at the beginning of a block of text.
17018 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17019 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17022 2009-11-05 Glenn Morris <rgm@gnu.org>
17024 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17025 Emacs 19. (Bug#1531)
17026 (byte-compile-fix-header): Update for the above change.
17027 Drop test for epoch::version.
17029 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17030 * cus-dep.el (custom-make-dependencies):
17031 * finder.el (finder-compile-keywords):
17032 Use autoload-rubric's feature argument.
17034 * calendar/diary-lib.el (top-level): Make load behave more like require.
17036 * vc-git.el (vc-git-stash-map): Move definition before use.
17038 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17040 * custom.el (custom-declare-group): Purecopy standard-value.
17041 (custom-declare-group): Purecopy custom-prefix.
17043 * international/mule.el (load-with-code-conversion):
17044 Call do-after-load-evaluation unconditionally.
17046 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17048 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17050 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17052 2009-11-04 Glenn Morris <rgm@gnu.org>
17054 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17055 (byte-compile-compatibility): Remove option.
17056 (byte-compile-close-variables, byte-compile-fix-header)
17057 (byte-compile-insert-header, byte-compile-output-docform)
17058 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17059 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17060 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17061 (byte-compile-insert, byte-compile-defun):
17062 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17063 (byte-defop-compiler19): Remove.
17064 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17065 used by anything. Replace all calls with byte-defop-compiler.
17067 2009-11-04 Juri Linkov <juri@jurta.org>
17069 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17070 (menu-bar-options-menu): Don't quote the `prop' arg of
17071 `menu-bar-make-mm-toggle'.
17073 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17075 * calendar/calendar.el (cal-loaddefs):
17076 * calendar/diary-lib.el (diary-loaddefs):
17077 * calendar/holidays.el (hol-loaddefs):
17078 * eshell/esh-module.el (esh-groups): Load rather than require.
17080 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17082 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17084 (todo-top-priorities): Only display-buffer when called interactively.
17085 (todo-item-start): Don't save excursion point.
17086 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17087 (todo-insert-item-here, todo-file-item, todo-remove-item):
17088 Adjust uses of todo-item-start and todo-item-end.
17090 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17091 (autoload-rubric): Don't use any more.
17093 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17094 and only put a prop if it is non-nil.
17096 2009-11-03 Juri Linkov <juri@jurta.org>
17098 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17099 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17101 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17102 and "Menu" to make top-level menu item visually one unit (like
17103 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17104 multi-word menu items). Fix :help string for quit-window.
17106 2009-11-03 Glenn Morris <rgm@gnu.org>
17108 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17109 (byte-compile-file-form-define-abbrev-table)
17110 (byte-compile-file-form-custom-declare-variable)
17111 (byte-compile-variable-ref, byte-compile-defvar):
17112 Whether or not a warning is enabled should only affect whether we issue
17113 the warning, not whether or not we collect the relevant data.
17114 Eg warnings can be turned on and off throughout the course of a file.
17116 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17117 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17119 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17121 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17122 * play/mpuz.el (mpuz-create-buffer):
17123 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17124 (lm-print-y,s,noise, lm-print-w0, lm-init):
17125 * play/gomoku.el (gomoku-prompt-for-move):
17126 * play/fortune.el (fortune-in-buffer):
17127 * play/dissociate.el (dissociated-press):
17128 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17129 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17130 * mail/supercite.el (sc-eref-show):
17131 * mail/smtpmail.el (smtpmail-send-it):
17132 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17133 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17134 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17135 (rmail-summary-goto-msg, rmail-summary-expunge)
17136 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17137 (rmail-summary-add-label, rmail-summary-output-menu)
17138 (rmail-summary-output-body):
17139 * mail/rfc822.el (rfc822-addresses):
17140 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17141 * mail/mailpost.el (post-mail-send-it):
17142 * mail/hashcash.el (hashcash-generate-payment):
17143 * mail/feedmail.el (feedmail-run-the-queue)
17144 (feedmail-queue-send-edit-prompt-help-first)
17145 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17146 (feedmail-deduce-address-list):
17147 * eshell/esh-ext.el (eshell-remote-command):
17148 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17149 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17150 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17151 (viper-save-string-in-file, viper-valid-marker):
17152 * emulation/viper-keym.el (viper-toggle-key):
17153 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17154 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17155 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17156 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17157 (viper-exec-form-in-emacs, viper-brac-function):
17158 * emulation/viper.el (viper-delocalize-var):
17159 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17160 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17161 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17162 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17163 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17164 * emulation/edt.el (edt-electric-helpify):
17165 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17166 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17167 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17168 (cua-indent-to-global-mark-column):
17169 * calendar/diary-lib.el (calendar-mark-1):
17170 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17171 Use with-current-buffer.
17172 * emulation/viper.el (viper-delocalize-var): Use dolist.
17174 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17176 * comint.el (comint-replace-by-expanded-history-before-point):
17177 Replace !! with the previous input string literally (Bug#1795).
17179 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17181 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17182 to be made up of whitespace.
17184 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17186 * minibuffer.el (read-file-name): Don't use file dialogs for
17187 remote directories (Bug#99).
17189 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17191 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17193 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17195 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17196 instead of deleting the window or frame.
17198 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17200 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17201 Support face colors.
17203 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17204 New function. Support face colors (Bug#1168).
17205 (tex-common-initialization): Use it.
17207 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17208 mode allows it (Bug#1168).
17210 2009-10-31 Juri Linkov <juri@jurta.org>
17212 * facemenu.el (list-colors-display): Don't mark buffer as
17213 modified (Bug#3948).
17215 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17217 * international/mule-diag.el (list-character-sets-1):
17218 Minor message fix (Bug#3526).
17220 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17221 Fix face property (Bug#4834).
17222 (etags-list-tags, etags-tags-apropos-additional)
17223 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17226 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17229 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * textmodes/two-column.el (2C-split):
17232 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17233 * textmodes/tex-mode.el (tex-set-buffer-directory):
17234 * textmodes/spell.el (spell-region, spell-string):
17235 * textmodes/reftex.el (reftex-erase-buffer):
17236 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17237 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17238 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17239 (reftex-select-item):
17240 * textmodes/reftex-ref.el (reftex-label-info-update)
17241 (reftex-offer-label-menu):
17242 * textmodes/reftex-index.el (reftex-index-change-entry)
17243 (reftex-index-phrases-info):
17244 * textmodes/reftex-global.el (reftex-create-tags-file)
17245 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17246 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17247 (reftex-view-crossref-from-bibtex):
17248 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17249 (reftex-extract-bib-entries-from-thebibliography)
17250 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17251 * textmodes/refbib.el (r2b-capitalize-title):
17252 (r2b-convert-buffer, r2b-help):
17253 * textmodes/page-ext.el (pages-directory)
17254 (pages-directory-goto-with-mouse):
17255 * textmodes/bibtex.el (bibtex-validate-globally):
17256 * textmodes/bib-mode.el (bib-capitalize-title):
17257 * textmodes/artist.el (artist-clear-buffer, artist-system):
17258 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17259 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17260 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17261 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17262 (xscheme-send-control-g-interrupt, xscheme-start-process)
17263 (xscheme-process-sentinel, xscheme-cd):
17264 * progmodes/verilog-mode.el (verilog-read-always-signals)
17265 (verilog-set-define, verilog-getopt-file)
17266 (verilog-module-inside-filename-p):
17267 * progmodes/sh-script.el:
17268 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17269 (python-pdbtrack-grub-for-buffer, python-execute-file):
17270 * progmodes/octave-inf.el (inferior-octave):
17271 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17272 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17273 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17274 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17275 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17276 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17277 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17278 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17279 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17280 (idlwave-shell-examine-display, idlwave-shell-run-region)
17281 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17282 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17283 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17284 (idlwave-help-get-help-buffer):
17285 * progmodes/gud.el (gud-basic-call, gud-find-class)
17286 (gud-tooltip-activate-mouse-motions-if-enabled):
17287 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17288 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17289 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17290 (ebrowse-tags-next-file):
17291 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17292 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17293 (ebnf-eps-finish-and-write):
17294 * progmodes/cpp.el (cpp-edit-save):
17295 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17296 * progmodes/cc-defs.el (c-emacs-features):
17297 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17298 (antlr-directory-dependencies):
17299 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17300 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17301 (ada-find-any-references, ada-make-filename-from-adaname)
17302 (ada-make-body-gnatstub):
17303 * obsolete/rnews.el (news-list-news-groups):
17304 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17305 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17306 * net/rcirc.el (rcirc-debug):
17307 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17308 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17309 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17310 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17311 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17312 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17313 (newsticker--treeview-list-clear-highlight)
17314 (newsticker--treeview-list-update-highlight)
17315 (newsticker--treeview-list-highlight-start)
17316 (newsticker--treeview-tree-update-highlight)
17317 (newsticker--treeview-get-selected-item)
17318 (newsticker-treeview-mark-list-items-old)
17319 (newsticker--treeview-set-current-node):
17320 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17321 * net/newst-backend.el (newsticker--get-news-by-funcall)
17322 (newsticker--get-news-by-wget, newsticker--image-get)
17323 (newsticker--image-sentinel):
17324 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17325 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17326 (eudc-ph-close-session):
17327 * net/eudc.el (eudc-save-options):
17328 * language/thai-word.el (thai-update-word-table):
17329 * language/japan-util.el (japanese-string-conversion):
17330 * international/titdic-cnv.el (tsang-quick-converter)
17331 (ziranma-converter, ctlau-converter):
17332 * international/mule-cmds.el (describe-language-environment):
17333 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17334 (skkdic-convert-postfix, skkdic-convert-prefix):
17335 (skkdic-convert-okuri-nasi, skkdic-convert):
17336 * emacs-lisp/re-builder.el (reb-update-overlays):
17337 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17338 * emacs-lisp/gulp.el (gulp-send-requests):
17339 * emacs-lisp/find-gc.el (trace-call-tree):
17340 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17341 (eieio-describe-generic):
17342 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17343 * emacs-lisp/edebug.el (edebug-outside-excursion):
17344 * emacs-lisp/debug.el (debugger-make-xrefs):
17345 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17346 * emacs-lisp/chart.el (chart-new-buffer):
17347 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17348 Use with-current-buffer.
17349 * textmodes/artist.el (artist-system): Don't call
17350 copy-sequence on a fresh string.
17351 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17353 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17355 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17356 is no item to edit. (Bug#4820)
17357 (todo-top-priorities): Restore point and restore narrowing in Todo
17360 2009-10-31 Glenn Morris <rgm@gnu.org>
17362 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17363 (comint-last-output-start, comint-last-input-start)
17364 (comint-last-input-end): Don't defvar when compiling.
17365 (ange-ftp-process-file): Use bound-and-true-p.
17367 * pcmpl-rpm.el (top-level): Move provide statement to end.
17368 (pcmpl-rpm): Remove unused custom group.
17370 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17372 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17374 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17375 (byte-compile-warnings): Add `constants' as an option.
17376 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17377 (display-call-tree): Update for byte-compile-fdefinition possibly
17378 returning `(macro lambda ...)'. (Bug#4778)
17379 (byte-compile-variable-ref, byte-compile-setq-default):
17380 Respect `constants' member of byte-compile-warnings.
17382 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17384 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17385 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17388 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17390 * textmodes/ispell.el (ispell-skip-region-alist):
17391 * international/mule-conf.el (eight-bit):
17392 * international/fontset.el (font-encoding-alist):
17393 * startup.el (pure-space-overflow-message):
17394 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17395 * paths.el (gnus-nntp-service, rmail-spool-directory)
17396 (term-file-prefix):
17397 * files.el (save-some-buffers-action-alist):
17398 * cmuscheme.el (same-window-buffer-names):
17399 * ielm.el (same-window-buffer-names):
17400 * shell.el (same-window-buffer-names):
17401 * mail/sendmail.el (same-window-buffer-names):
17402 * progmodes/inf-lisp.el (same-window-buffer-names):
17403 * bindings.el (mode-line-client)
17404 (mode-line-column-line-number-mode-map):
17405 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17406 (tibetan-precomposed-regexp): Purecopy string arguments.
17408 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17410 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17411 (calcDigit-nondigit):
17412 * calc/calc-yank.el (calc-copy-to-buffer):
17413 * calc/calc-units.el (calc-invalidate-units-table):
17414 * calc/calc-trail.el (calc-trail-yank):
17415 * calc/calc-store.el (calc-insert-variables):
17416 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17417 * calc/calc-prog.el (calc-read-parse-table):
17418 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17419 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17420 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17421 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17422 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17423 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17424 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17425 * calc/calc-ext.el (calc-realign):
17426 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17427 (calc-embedded-finish-edit, calc-embedded-make-info)
17428 (calc-embedded-finish-command, calc-embedded-stack-change):
17429 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17431 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17432 shell-dynamic-complete-filename in preference to
17433 comint-dynamic-complete-filename.
17435 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17436 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17437 Don't consider whether the display supports colors.
17438 (bookmark-import-new-list): Use dolist.
17439 (bookmark-bmenu-mode-map): Move initialization into declaration.
17440 (bookmark-bmenu-list): Use dolist, simplify.
17441 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17442 (menu-bar-final-items): Use push.
17444 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17446 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17447 it works on remote files.
17448 (vc-hg-diff): Don't pass any `--cwd' argument.
17450 2009-10-27 Kevin Ryde <user42@zip.com.au>
17452 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17453 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17454 (Further to Bug#3921).
17456 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17458 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17459 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17460 calling `tramp-imap-put-file'. Add file size to the call.
17461 (tramp-imap-get-file-entries): Compute also user name, file size,
17463 (tramp-imap-handle-insert-directory): Insert uid and gid.
17464 (tramp-imap-handle-file-attributes): Transform uid and gid
17465 according to `id-format'.
17466 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17467 size in header X-Size.
17469 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17471 * simple.el (transpose-subr): Give clearer error when the mark
17472 is not set. (Bug#4807)
17474 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17476 * net/tramp.el (tramp-perl-file-truename): New defconst.
17477 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17478 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17479 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17480 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17482 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17483 Ignore `dired-call-process'.
17484 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17486 2009-10-26 Julian Scheid <julians37@gmail.com>
17488 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17489 (tramp-get-remote-readlink): New defun.
17490 (tramp-handle-file-truename): Use it.
17491 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17492 file exists if cache value present.
17493 (tramp-check-cached-permissions): New defun.
17494 (tramp-handle-file-readable-p): Use it.
17495 (tramp-handle-file-writable-p): Likewise.
17496 (tramp-handle-file-executable-p): Likewise.
17497 (tramp-handle-file-name-all-completions): Try using Perl to get
17498 partial completions. When perl not available, combine `cd' and
17499 `ls' into single remote operation and use shell expansion to get
17500 partial remote directory contents. Set `file-exists-p' cache for
17501 directory and any files returned by ls. Change cache handling to
17502 support partial directory contents. Use error message emitted by
17503 remote `cd' or Perl code for local tramp-error.
17504 (tramp-do-copy-or-rename-file-directly): Avoid separate
17505 tramp-send-command-and-check call.
17506 (tramp-handle-process-file): Merge three remote ops into one.
17507 Do not flush all caches when `process-file-side-effects' is set.
17508 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17509 file-attributes shows uid/gid to be set already.
17511 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17513 * textmodes/tex-mode.el (tex-dvi-view-command)
17514 (tex-show-queue-command, tex-open-quote):
17515 * progmodes/ruby-mode.el (auto-mode-alist)
17516 (interpreter-mode-alist): Purecopy strings.
17518 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17520 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17521 string for the hook, keymap and abbrev table.
17523 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17525 * x-dnd.el (x-dnd-xdnd-to-action):
17526 * startup.el (fancy-startup-text, fancy-about-text): Change to
17527 defconst from defvar.
17529 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17531 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17532 Purecopy initialization strings.
17534 * mail/sendmail.el (mail-header-separator)
17535 (mail-personal-alias-file):
17536 * mail/rmail.el (rmail-default-dont-reply-to-names)
17537 (rmail-ignored-headers, rmail-retry-ignored-headers)
17538 (rmail-highlighted-headers, rmail-secondary-file-directory)
17539 (rmail-secondary-file-regexp):
17540 * files.el (null-device, file-name-invalid-regexp)
17541 (locate-dominating-stop-dir-regexp)
17542 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17543 (interpreter-mode-alist): Use mapcar instead of mapc.
17545 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17547 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17548 (completion-ignored-extensions):
17549 (debug-ignored-errors): Purecopy strings.
17551 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17553 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17554 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17555 (pcomplete--here): Use push.
17557 * subr.el (all-completions): Declare the 4th arg obsolete.
17559 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17561 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17562 (pcomplete-unquote-argument): New function.
17563 (pcomplete--common-suffix): Always pay attention to case.
17564 (pcomplete--table-subvert): Quote and unquote the text.
17565 (pcomplete--common-quoted-suffix): New function.
17566 (pcomplete-std-complete): Use it and pcomplete-begin.
17568 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17569 we're inside a dedicated or minibuffer window.
17571 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17573 * bookmark.el: Update documentation, especially documentation
17574 of `bookmark-alist' and of the bookmark file format.
17575 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17577 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17579 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17580 keybindings apply to the mail buffer (Bug#4003). Shrink help
17583 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17584 (global-whitespace-mode, global-whitespace-newline-mode)
17585 (whitespace-toggle-options, global-whitespace-toggle-options):
17586 Doc fix (Bug#3660).
17588 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17589 of xmltok-start before the end tag was inserted (Bug#2840).
17591 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17592 patterns that are preceded by an open-paren (Bug#1320).
17594 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17596 * files.el (delete-directory): Delete symlinks to directories with
17597 delete-file (Bug#4739).
17599 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17601 * vc.el (vc-backend-for-registration): Rename from
17602 vc-get-backend-for-registration. Update callers.
17604 * international/mule-cmds.el (set-language-info-alist):
17606 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17607 (charset): Purecopy the name.
17608 (define-char-code-property): Purecopy string arguments.
17610 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17611 Purecopy string arguments.
17613 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17614 * ediff-hook.el (menu-bar-ediff-menu):
17615 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17616 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17618 2009-10-24 Glenn Morris <rgm@gnu.org>
17620 * comint.el (comint-dynamic-list-completions):
17621 * term.el (term-dynamic-list-completions): Use choose-completion rather
17622 than obsolete alias mouse-choose-completion.
17624 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17625 file-cache-choose-completion.
17626 (file-cache-choose-completion): Handle an optional event argument.
17627 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17629 * progmodes/octave-mod.el (octave-complete-symbol):
17630 Use choose-completion if mouse-choose-completion is ever removed.
17632 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17635 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17638 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17640 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17642 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17643 Ignore `pred' now that we receive one.
17644 Handle test-completion specially.
17646 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17648 * vc.el (vc-responsible-backend): Throw an error if not backend is
17649 found. Remove the REGISTER argument. Move the code dealing with
17651 (vc-get-backend-for-registration): ... here. New function.
17652 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17653 of vc-responsible-backend, pass the file name instead of the
17656 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17658 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17660 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17661 (pcomplete-comint-setup): Don't modify a global var via
17662 accidental side-effects.
17663 (pcomplete-shell-setup): Adjust call accordingly.
17664 (pcomplete-parse-comint-arguments): Use push.
17666 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17668 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17669 Allow uncapitalized info node names (Bug#3921).
17671 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17672 to the DEBUG file (Bug#3781).
17674 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17676 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17677 dictionary entry (Bug#4579).
17679 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17681 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17682 from `rfn-eshadow-update-overlay-hook' when unloading.
17683 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17684 "rsyncc". Adjust doc string.
17685 (tramp-temp-buffer-file-name): New buffer-local defvar.
17686 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17687 Keep temporary file when indicated by method ("rsync" and
17689 (tramp-handle-write-region): Handle APPEND.
17690 (tramp-delete-temp-file-function): New defun. Added to
17691 `kill-buffer-hook'.
17693 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17695 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17697 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17699 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17700 (color-name-rgb-alist, tty-standard-colors)
17701 (tty-color-mode-alist): Change to defconst.
17703 * simple.el (mark-inactive): Purecopy message.
17705 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17706 (global-map, yank-menu):
17707 * textmodes/ispell.el (ispell-menu-map):
17708 * net/eudc.el (eudc-tools-menu):
17709 * international/mule-cmds.el (describe-language-environment-map)
17710 (setup-language-environment-map, set-coding-system-map)
17711 (mule-menu-keymap):
17712 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17713 * replace.el (occur-mode-map):
17714 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17716 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17718 * calc/calc.el (math-read-number, math-read-number-simple):
17719 Use `save-match-data'.
17721 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17723 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17724 rather than fiddling with global-map bindings, since it should only
17725 affect per-terminal settings.
17726 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17728 * minibuffer.el (completion-table-with-terminator): Allow to specify
17729 the terminator-regexp.
17731 * simple.el (switch-to-completions): Look for *Completions* in other
17734 * pcomplete.el: Allow the use of completion-tables.
17735 (pcomplete-std-complete): New command.
17736 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17737 (pcomplete--here): Use a function for `form' rather than an expression,
17738 so it can be byte-compiled.
17739 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17740 Add edebug declaration.
17741 (pcomplete-show-completions): Remove unused var `curbuf'.
17742 (pcomplete-do-complete, pcomplete-stub):
17743 Don't assume `completions' is a list of strings any more.
17745 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17747 * find-dired.el (find-name-arg): Fix typo in docstring.
17749 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17751 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17752 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17754 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17757 * comint.el (comint-read-input-ring, comint-write-input-ring)
17758 (comint-substitute-in-file-name)
17759 (comint-dynamic-complete-as-filename)
17760 (comint-dynamic-simple-complete)
17761 (comint-dynamic-list-filename-completions)
17762 (comint-dynamic-list-completions)
17763 (comint-redirect-results-list-from-process): Minor simplifications.
17765 2009-10-21 Kevin Ryde <user42@zip.com.au>
17767 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17768 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17769 the first form. And insert a blank line after ";;; Code" since
17770 that's usual style. (Bug#4612)
17772 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17774 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17776 * minibuffer.el (completion-table-with-terminator): Properly implement
17777 boundaries, in case `terminator' appears in the suffix.
17778 (completion--embedded-envvar-table): Don't return boundaries if
17779 there's no valid completion. Simplify.
17780 (completion-file-name-table): New completion table extracted from
17781 completion--file-name-table.
17782 (completion--file-name-table): Use it.
17783 (read-file-name-predicate): Declare obsolete.
17784 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17785 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17786 completion-file-name-table, and use the `pred' argument.
17787 * files.el (locate-file-completion-table): Use the `pred' arg rather
17788 than read-file-name-predicate.
17789 (abbreviate-file-name): Use \` rather than ^ for BOS.
17791 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17793 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17794 vc-responsible-backend to register, it causes problems.
17796 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17798 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17800 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17802 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17803 (tramp-smb-handle-file-attributes): Use it.
17804 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17805 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17806 `mapcar'. Use `tramp-smb-get-stat-capability'.
17807 Add `dired-filename' text properties.
17808 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17809 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17812 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17814 * subr.el (read-key-delay): Reduce to 0.01.
17815 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17818 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17820 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17822 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17823 (Info-menu): Remove unused vars `last' and `completions'.
17824 (Info-index-nodes): Remove unused var `node'.
17826 * info.el (Info-complete-menu-item): Use complete-with-action.
17828 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17830 Make vc-annotate work through copies and renames.
17831 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17832 Return the file name too.
17833 (vc-annotate-revision-at-line)
17834 (vc-annotate-find-revision-at-line)
17835 (vc-annotate-revision-previous-to-line)
17836 (vc-annotate-show-log-revision-at-line): Update to get the file
17837 name from vc-annotate-extract-revision-at-line.
17838 (vc-annotate-show-diff-revision-at-line-internal): Change the
17839 argument to mean whether to show a file diff or not. Get the file
17840 name from vc-annotate-extract-revision-at-line.
17841 (vc-annotate-show-diff-revision-at-line):
17842 Update vc-annotate-show-diff-revision-at-line call.
17843 (vc-annotate-warp-revision): Add an optional file argument.
17845 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17846 (vc-git-annotate-extract-revision-at-line): Also return the file
17849 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17850 command. Remove unused code.
17851 (vc-hg-annotate-re): Update to match --follow output.
17852 (vc-hg-annotate-extract-revision-at-line): Also return the file
17855 * vc.el: Update annotate-extract-revision-at-line documentation.
17857 2009-10-18 Kevin Ryde <user42@zip.com.au>
17859 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17860 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17862 * net/browse-url.el (browse-url): Identify alist with "consp and
17863 not functionp" and let all other things go down the `apply' leg,
17864 as suggested by Stefan. (Further to bug#4531.)
17866 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17868 * minibuffer.el (read-file-name): Check for repeat before putting
17869 a default argument in file-name-history (Bug#4657).
17871 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17872 read syntax (Bug#4737).
17874 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17876 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17878 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17879 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17880 entries and make note of obsolete tags.
17882 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17884 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17886 2009-10-18 Glenn Morris <rgm@gnu.org>
17888 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17889 grep, so that binary files (eg international/uni-bidi.el) can match.
17890 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17891 now, and in any case the file header format has changed.
17893 2009-10-17 Glenn Morris <rgm@gnu.org>
17895 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17896 (flyspell-get-word, flyspell-large-region)
17897 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17899 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17901 * Makefile.in (ELCFILES): Add ede/shell.
17903 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17905 * term/common-win.el (x-colors): Purecopy it.
17907 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17909 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17910 permissive for when the buffer is empty.
17911 (tar-header-block-tokenize): Decode the username and groupname.
17912 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17914 2009-10-17 Eric Ludlam <zappo@gnu.org>
17916 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17917 contains multibyte characters, choose first applicable coding
17918 system automatically.
17920 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17922 * international/mule-cmds.el (select-safe-coding-system): If the file
17923 has a coding cookie, use it regardless of any other setting (bug#4712).
17925 2009-10-17 Glenn Morris <rgm@gnu.org>
17927 * foldout.el (foldout-mouse-swallow-events):
17928 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17930 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17931 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17932 (dired-keep-marker-symlink, dired-dwim-target)
17933 (dired-copy-preserve-time): Do not autoload these defcustoms.
17935 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17936 messages from messing up the file coding. (Bug#4623)
17938 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17940 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17941 if no match is found for the current dictionary. (Bug#4578)
17943 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17944 optional, since that is how it is documented, and this is often called
17945 with a nil argument. (Bug#4577)
17946 (flyspell-external-point-words, flyspell-auto-correct-word)
17947 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17948 (flyspell-word-search-backward): Remove nil argument in calls to
17949 flyspell-get-word, since it is not needed now.
17951 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17953 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17955 2009-10-16 Glenn Morris <rgm@gnu.org>
17957 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17959 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17961 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17962 (ange-ftp-file-size): New function.
17963 (ange-ftp-file-attributes): Use it.
17965 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17967 * net/tramp-smb.el (tramp-smb-version): New defvar.
17968 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17971 2009-10-16 Glenn Morris <rgm@gnu.org>
17973 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17974 Maybe copy some custom properties from old to new name. (Bug#4706)
17976 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17978 * subr.el (error, sit-for, start-process-shell-command)
17979 (start-file-process-shell-command): Set the calling convention
17980 after the function definition.
17982 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17984 * subr.el (error, sit-for, start-process-shell-command)
17985 (start-file-process-shell-command): Use the new
17986 set-advertised-calling-convention feature.
17988 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17990 * international/ucs-normalize.el (ucs-normalize-version):
17992 (check-range): Adjust for Unicode 5.2.
17994 2009-10-15 Juri Linkov <juri@jurta.org>
17996 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17997 to the `menu-item' format.
17999 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18001 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18002 if the environment variable does not exist.
18004 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18005 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18007 (tramp-smb-handle-add-name-to-file)
18008 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18009 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18010 (tramp-smb-handle-file-attributes)
18011 (tramp-smb-do-file-attributes-with-stat)
18012 (tramp-smb-handle-file-local-copy)
18013 (tramp-smb-handle-insert-directory)
18014 (tramp-smb-handle-make-directory)
18015 (tramp-smb-handle-make-directory-internal)
18016 (tramp-smb-handle-make-symbolic-link)
18017 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18018 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18019 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18020 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18021 Handle long file names.
18022 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18023 process is running.
18024 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18025 Read share names with "-g" option.
18027 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18029 * net/rcirc.el (rcirc-view-log-file): New command.
18030 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18031 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18034 2009-10-15 Glenn Morris <rgm@gnu.org>
18036 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18037 from the second command-line argument.
18038 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18039 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18040 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18041 w32-batch-update-autoloads.
18042 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18043 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18045 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18046 the headers cannot be located. Simplify, subtracting superflous
18049 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18051 Replace completion-base-size by completion-base-position to fix bugs
18052 such as (bug#4699).
18053 * simple.el (completion-base-position): New var.
18054 (completion-base-size): Mark as obsolete.
18055 (choose-completion): Make it work for mouse events as well.
18056 Pass the new base-position to choose-completion-string.
18057 (choose-completion-guess-base-position): New function, extracted from
18058 choose-completion-delete-max-match.
18059 (choose-completion-delete-max-match): Use it. Make obsolete.
18060 (choose-completion-string): Use the new base-position info.
18061 (completion-root-regexp): Delete.
18062 (completion-setup-function): Preserve completion-base-position.
18063 Eliminate obsolete base-size manipulation.
18064 * minibuffer.el (display-completion-list): Don't mess with base-size.
18065 (minibuffer-completion-help): Set completion-base-position instead.
18066 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18068 * textmodes/bibtex.el (bibtex-complete):
18069 * emacs-lisp/crm.el (crm--choose-completion-string):
18070 Adjust to new calling convention.
18071 * complete.el (partial-completion-mode): Use minibufferp to avoid
18072 bumping into incompatible change to choose-completion-string-functions.
18073 * ido.el (ido-choose-completion-string): Make its calling convention
18075 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18076 base-size manipulation.
18077 (comint-dynamic-list-input-ring): Use dotimes and push.
18078 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18079 fundamental-mode. Use `or'.
18081 2009-10-14 Juri Linkov <juri@jurta.org>
18083 * misearch.el (multi-isearch-next-buffer-from-list)
18084 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18086 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18088 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18091 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18092 string we return is all made up of text from the completions rather
18093 than part from the completions and part from the input (bug#4219).
18095 * ido.el (ido-everywhere): Use define-minor-mode.
18097 * buff-menu.el (list-buffers, ctl-x-map):
18098 Mark the entry points with ;;;###autoload cookies.
18100 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18102 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18103 correctly in the detached head case.
18104 (vc-git-print-log): Remove unused binding.
18106 * vc.el (vc-responsible-backend): When a directory is passed for
18107 for registration create a VC repository if no backend is
18108 responsible for the directory argument.
18109 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18111 * vc.el: Move comments about RCS and SCCS ...
18113 * vc-sccs.el: ... here, respectively.
18115 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18117 * minibuffer.el (completion--file-name-table): Return nil if there's
18118 no file completion, even if substitute-in-file-name changed
18119 the string (bug#4708).
18121 2009-10-13 Juri Linkov <juri@jurta.org>
18123 * files-x.el (read-file-local-variable-value): Don't filter out
18124 minor modes from mode name completion (bug#4664).
18126 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18128 * international/mule-cmds.el (ucs-names): Remove exclusion of
18129 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18131 2009-10-13 Kenichi Handa <handa@m17n.org>
18133 * international/uni-name.el: Regenerated.
18135 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18137 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18138 should be automatically buffer-local, but isn't.)
18140 2009-10-12 Sam Steingold <sds@gnu.org>
18142 * progmodes/compile.el (compilation-next-error-function): Fix the
18143 timestamps if the buffer has been visited before.
18144 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18145 non-anchored patterns, like the perl one (bug#3928).
18147 2009-10-12 Glenn Morris <rgm@gnu.org>
18149 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18152 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18154 * proced.el (proced-unload-function): New function.
18156 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18157 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18160 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18162 2009-10-11 Juri Linkov <juri@jurta.org>
18164 * files-x.el (read-file-local-variable-value):
18165 Provide default value only for bound variables (bug#4664).
18167 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18169 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18170 connection methods like smb.
18172 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18175 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18176 (tramp-smb-file-name-handler-alist): Add handlers for
18177 `add-name-to-file', `make-symbolic-link'.
18178 (tramp-smb-handle-add-name-to-file)
18179 (tramp-smb-do-file-attributes-with-stat)
18180 (tramp-smb-handle-make-symbolic-link)
18181 (tramp-smb-get-cifs-capabilities): New defuns.
18182 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18183 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18184 (tramp-smb-handle-file-local-copy)
18185 (tramp-smb-handle-make-directory-internal)
18186 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18187 The file name syntax depends on cifs capabilities.
18188 (tramp-smb-handle-file-attributes):
18189 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18190 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18191 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18193 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18195 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18196 (eieio-defclass): Apply deftype handler and setf-method properties
18198 (eieio-add-new-slot): Avoid union function from cl library.
18199 (eieio--typep): New function.
18200 (eieio-perform-slot-validation): Use it.
18202 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18204 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18205 Update documentation to refer to the variables documented in r1.135.
18208 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18210 * bookmark.el (Info-suffix-list): Remove this unused variable.
18211 (bookmark-current-point): Remove this obsolete variable.
18212 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18213 Adjust for removal of bookmark-current-point.
18215 (bookmarks-already-loaded, bookmark-current-buffer)
18216 (bookmark-yank-point): Document. (Bug#4188)
18218 2009-10-10 Glenn Morris <rgm@gnu.org>
18220 * frame.el (frame-height): Doc fix.
18222 * calendar/calendar.el (calendar-split-width-threshold): New option.
18223 (calendar-basic-setup): Use calendar-split-width-threshold.
18225 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18227 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18228 Ideographic Supplement" range (U+1F200..U+1F2FF).
18230 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18232 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18233 since the list will have been rebuilt anyway. (Bug#4349)
18235 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18237 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18238 (bookmark-bmenu-execute-deletions): Don't save here, as
18239 bookmark-delete will now do so if necessary.
18240 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18243 2009-10-09 Glenn Morris <rgm@gnu.org>
18245 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18247 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18249 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18250 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18251 argument now, so the two function's behaviors will match. (Bug#3645)
18253 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18255 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18256 (tramp-file-name-real-host, tramp-file-name-port):
18257 Apply `save-match-data'.
18259 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18260 case both directories are remote.
18261 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18262 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18264 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18266 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18268 2009-10-07 Glenn Morris <rgm@gnu.org>
18270 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18273 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18275 * files-x.el (read-file-local-variable): Include some
18276 non-user-variables in the completion table (bug#4664).
18278 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18280 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18283 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18284 (tramp-smb-file-name-handler-alist): Add handler for
18285 `copy-directory', `expand-file-name', `set-file-modes'.
18286 (tramp-smb-handle-copy-directory)
18287 (tramp-smb-handle-expand-file-name)
18288 (tramp-smb-handle-set-file-modes): New defuns.
18289 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18290 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18292 (tramp-smb-handle-insert-directory): Don't flush the cache.
18293 (tramp-smb-maybe-open-connection): Check for samba client and
18296 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18298 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18299 to not error out of search for "^lisp=" fails.
18301 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18303 * makefile.w32-in (WINS_UPDATES): New macro.
18304 (custom-deps, finder-data, autoloads): Use it.
18306 2009-10-07 Glenn Morris <rgm@gnu.org>
18308 * Makefile.in (autoloads): Revert previous change.
18309 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18310 the list of preloaded files passed on the command-line, get
18311 it from src/Makefile.
18313 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18314 show the original buffer rather than a random one.
18316 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18318 * help.el (describe-no-warranty): Place point in a slightly better
18319 position in the GPLv3 text.
18321 2009-10-06 Sam Steingold <sds@gnu.org>
18323 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18324 the comm attribute is present before calling regexp-quote.
18326 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18328 * play/animate.el (animate-string): For good effect, make sure
18329 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18331 * play/animate.el (animate-sequence, animate-birthday-present):
18332 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18334 2009-10-06 Glenn Morris <rgm@gnu.org>
18336 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18338 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18339 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18340 (batch-update-autoloads): Process a string value of autoload-excludes,
18341 set during the build process.
18342 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18344 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18345 inside with-parsed... macro so that `v' is defined.
18347 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18348 * progmodes/fortran.el (fortran-end-of-block)
18349 (fortran-beginning-of-block):
18350 Also push mark in the macro case.
18352 * emerge.el (emerge-show-file-name):
18353 * calc/calc.el (calc-quit):
18354 * calc/calc-misc.el (calc-big-or-small):
18355 * calc/calc-graph.el (calc-graph-view):
18356 * calc/calc-ext.el (calc-reset):
18357 * calendar/calendar.el (calendar-basic-setup):
18358 Use window-full-height-p.
18360 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18361 header we don't understand, don't insert another. (Bug#4624)
18362 If changing mime charset, insert the new one in the right place.
18364 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18366 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18367 (cal-tex-cursor-month): Correctly increment the end date for diary and
18368 holiday listing. (Bug#4626)
18370 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18372 * help-fns.el (describe-function-1): Don't burp if the function is not
18375 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18377 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18378 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18379 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18380 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18382 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18383 (eieio-default-superclass): Reflow docstrings.
18384 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18385 (eieio-unbind-method-implementations, defmethod)
18386 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18387 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18388 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18389 (eieio-slot-originating-class-p, eieio-slot-name-index)
18390 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18391 (constructor, initialize-instance, no-next-method, object-print)
18392 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18393 Fix typos in docstrings.
18394 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18395 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18396 (next-method-p): Doc fixes.
18397 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18398 Fix typos in error messages.
18399 (eieio-defmethod): Fix typo in description of generic method.
18401 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18402 (eieio-persistent-save-interactive, slot-missing):
18403 Fix typos in docstrings.
18404 (eieio-instance-inheritor-slot-boundp): Doc fix.
18406 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18407 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18409 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18410 (eieio-custom-object-apply-reset):
18411 Fix typos in docstrings and error messages.
18413 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18414 Fix typo in docstring.
18416 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18417 (eieio-browse-tree): Doc fix.
18418 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18419 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18420 Fix typos in docstrings.
18422 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18423 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18424 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18425 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18428 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18430 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18431 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18432 Set log-view-vc-backend so that diff can work.
18434 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18436 (vc-diff-internal): Autoload this instead of vc-version-diff.
18438 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18440 * simple.el (eval-expression): Doc fix.
18442 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18444 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18446 * files.el (directory-files-no-dot-files-regexp): New defconst.
18447 (delete-directory): Use it.
18448 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18450 * net/tramp.el (tramp-verbose): Fix docstring.
18451 (tramp-methods): Add recursive option to `tramp-copy-args'.
18452 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18453 "scp1_old", "scp2_old", "rsync", "rsyncc".
18454 (tramp-default-method): Check also for `auth-source-user-or-password'.
18455 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18456 Add handler for `copy-directory'.
18457 (tramp-handle-copy-directory): New defun.
18458 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18459 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18460 Optimize sent command.
18462 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18464 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18465 window if necessary.
18467 * calendar/calendar.el (calendar-basic-setup): Don't call
18468 switch-to-buffer in a dedicated window.
18470 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18472 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18473 don't do anything related to relocating, just return nil.
18474 (bookmark-error-no-filename): New error.
18475 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18476 bookmark has no file. Don't even attempt to handle things that
18477 are not files; the whole point of custom handlers is to keep that
18478 knowledge elsewhere anyway. Tighten some comments.
18479 (bookmark-file-or-variation-thereof): Remove now-unused function.
18480 (bookmark-location): Doc string fix.
18483 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18485 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18486 don't use a file dialog, because they usually don't know how to read
18487 a directory target from the user. (Bug#4230)
18488 Also, make sure the prompt can display directories as well as files.
18490 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18492 * bookmark.el (bookmark-set, bookmark-buffer-name):
18493 Improve doc strings. (Bug#1193)
18495 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18497 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18498 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18499 (bookmark-get-annotation, bookmark-set-annotation)
18500 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18501 (bookmark-set-position, bookmark-get-front-context-string)
18502 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18503 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18504 (bookmark-jump-other-window, bookmark-handle-bookmark)
18505 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18506 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18507 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18508 Improve doc strings to say whether bookmark can be a string or
18509 a record or both, and make other consistency and clarity fixes.
18510 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18511 (bookmark-default-annotation-text, bookmark-yank-word)
18512 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18513 (bookmark-import-new-list, bookmark-maybe-rename)
18514 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18515 (bookmark-bmenu-bookmark): Give these doc strings.
18516 (bookmark-bmenu-check-position): Give this a doc string, but also
18517 add a FIXME comment about how the function may be pointless.
18518 (bookmark-default-handler): Rework doc string and change a
18519 parameter name, to clarify that this takes a bookmark record
18520 not a bookmark name.
18521 (bookmark-set): Change a parameter name to indicate its meaning,
18522 and improve the doc string a bit.
18525 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18527 * bookmark.el (bookmark-alist): Document the new `handler' element
18528 in the param alist.
18529 (bookmark-make-record-function): Adjust documentation for above.
18532 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18534 * info.el (Info-bookmark-make-record): Document this function.
18535 (Info-bookmark-jump): Document with a doc string, not just a comment.
18538 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18540 * files.el (copy-directory): New defun.
18542 * dired-aux.el (dired-copy-file-recursive): Use it.
18544 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18546 * files-x.el (modify-dir-local-variable)
18547 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18550 * recentf.el (recentf-unload-function): New function.
18552 2009-10-04 Glenn Morris <rgm@gnu.org>
18554 * window.el (window-full-height-p): Add doc string.
18556 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18558 * window.el (window-full-height-p): New function. (Bug#4543)
18560 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18562 * vc.el: Remove commented out code.
18563 (vc-derived-from-dir-mode): Remove, unused.
18564 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18566 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18568 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18569 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18570 there could be recursive loading when `default-directory' is a
18571 remote file name. (Bug#4614)
18573 2009-10-03 Glenn Morris <rgm@gnu.org>
18575 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18577 (calendar-generate-window): Test for shrinkability rather than width.
18579 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18580 reusing existing buffers, in case we happen to visit two files with the
18581 same basename. (Bug#4593)
18583 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18585 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18586 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18587 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18588 subdirs of cedet as well.
18589 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18591 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18593 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18594 Obey advertised-signature-table.
18596 * help-fns.el (help-function-arglist): Don't check
18597 advertised-signature-table.
18598 (describe-function-1): Do it here instead so it also applies to subrs.
18600 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18602 * simple.el (start-file-process): Say in the doc-string, that file
18603 handlers might not support pty association, if PROGRAM is nil.
18605 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18606 HOST and USER are strings. They are nil, when there are
18607 incomplete entries in ~/.netrc, for example.
18608 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18609 root directory ("device busy" error otherwise).
18611 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18612 Flush file properties of created directory.
18614 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18616 * makefile.w32-in (WINS_BASIC): Remove cedet.
18617 (WINS_CEDET): Add cedet.
18618 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18620 2009-10-02 Kevin Ryde <user42@zip.com.au>
18622 * net/browse-url.el (browse-url): Pass any symbol in
18623 browse-url-browser-function to `apply', since if you've mistakenly put
18624 an unbound symbol then the error is clearer. (Bug#4531)
18626 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18628 * allout.el (allout-init, allout-back-to-current-heading)
18629 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18630 (allout-ascend, allout-up-current-level, allout-end-of-level)
18631 (allout-previous-visible-heading, allout-forward-current-level)
18632 (allout-backward-current-level, allout-show-children):
18633 * apropos.el (apropos-describe-plist):
18634 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18635 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18636 * completion.el (add-completion, add-permanent-completion):
18637 * descr-text.el (describe-text-category, describe-char):
18638 * desktop.el (desktop-lazy-abort):
18639 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18640 * dired.el (dired-build-subdir-alist):
18641 * ediff.el (ediff-version):
18642 * elide-head.el (elide-head, elide-head-show):
18643 * emerge.el (emerge-version):
18645 * face-remap.el (variable-pitch-mode):
18646 * faces.el (describe-face):
18647 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18649 * files.el (find-file-existing, auto-save-mode):
18650 * font-lock.el (font-lock-fontify-buffer):
18651 * help-fns.el (describe-function, describe-variable)
18652 (describe-syntax, describe-categories):
18653 * help.el (view-lossage, describe-bindings, describe-key)
18655 * hexl.el (hexl-current-address):
18656 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18657 * info.el (Info-goto-emacs-key-command-node):
18658 * log-edit.el (log-edit-insert-cvs-template)
18659 (log-edit-insert-cvs-rcstemplate):
18660 * menu-bar.el (menu-bar-mode):
18661 * mouse.el (mouse-appearance-menu):
18662 * newcomment.el (comment-indent-new-line):
18663 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18664 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18665 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18666 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18667 * recentf.el (recentf-mode):
18668 * savehist.el (savehist-mode, savehist-save):
18669 * shadowfile.el (shadow-copy-files):
18670 * simple.el (kill-ring-save, next-line, previous-line)
18671 (normal-erase-is-backspace-mode):
18672 * strokes.el (strokes-update-window-configuration)
18673 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18674 (strokes-xpm-for-stroke):
18675 * time.el (emacs-uptime, emacs-init-time):
18676 * tutorial.el (tutorial--describe-nonstandard-key)
18677 (tutorial--detailed-help):
18678 * type-break.el (type-break-mode)
18679 (type-break-mode-line-message-mode, type-break-query-mode)
18680 (type-break-guesstimate-keystroke-threshold):
18681 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18682 * version.el (emacs-version):
18683 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18684 * winner.el (winner-mode):
18685 * calendar/timeclock.el (timeclock-in, timeclock-out)
18686 (timeclock-status-string, timeclock-change)
18687 (timeclock-workday-remaining-string)
18688 (timeclock-workday-elapsed-string)
18689 (timeclock-when-to-leave-string):
18690 * calendar/todo-mode.el (todo-add-category):
18691 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18692 * emacs-lisp/autoload.el (update-file-autoloads):
18693 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18694 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18695 (checkdoc-message-text, checkdoc-defun):
18696 * emacs-lisp/debug.el (debugger-list-functions):
18697 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18698 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18699 (eieio-describe-generic):
18700 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18701 * emacs-lisp/shadow.el (list-load-path-shadows):
18702 * emulation/cua-base.el (cua-mode):
18703 * emulation/edt.el (edt-set-scroll-margins):
18704 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18705 (tpu-toggle-regexp, tpu-toggle-search-direction)
18706 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18707 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18708 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18709 (viper-set-parsing-style-toggling-macro)
18710 (viper-set-emacs-state-searchstyle-macros):
18711 * emulation/viper.el (viper-set-hooks):
18712 * eshell/esh-mode.el (eshell-truncate-buffer):
18713 * international/mule-cmds.el (prefer-coding-system)
18714 (describe-input-method, describe-language-environment):
18715 * international/mule-diag.el (list-character-sets)
18716 (describe-character-set, describe-coding-system)
18717 (describe-fontset, list-fontsets, list-input-methods):
18718 * mail/sendmail.el (mail-signature):
18719 * net/ange-ftp.el (ange-ftp-copy-file):
18720 * net/browse-url.el (browse-url):
18721 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18722 * net/quickurl.el (quickurl-add-url):
18723 * net/rcirc.el (names, topic):
18724 * net/xesam.el (xesam-mode):
18725 * play/5x5.el (5x5-new-game):
18726 * play/yow.el (apropos-zippy):
18727 * progmodes/ada-mode.el (ada-mode-version):
18728 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18730 (f90-beginning-of-block):
18731 * progmodes/fortran.el (fortran-end-of-block)
18732 (fortran-beginning-of-block):
18733 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18734 * progmodes/python.el (python-describe-symbol, python-shell):
18735 * term/ns-win.el (ns-print-buffer):
18736 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18737 * textmodes/flyspell.el (flyspell-mode-on):
18738 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18739 (pages-directory-for-addresses):
18740 * textmodes/table.el (table-recognize-cell)
18741 (table-query-dimension, table-generate-source)
18742 (table-insert-sequence, table--warn-incompatibility):
18743 * textmodes/tex-mode.el (tex-validate-buffer):
18744 * textmodes/texinfmt.el (texinfmt-version)
18745 (texinfo-format-buffer):
18746 Use `called-interactively-p' instead of `interactive-p'.
18748 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18750 * image-mode.el (image-toggle-display):
18751 * emacs-lisp/elp.el (elp-instrument-function):
18752 * emacs-lisp/advice.el (ad-make-advised-definition):
18753 * emacs-lisp/easy-mmode.el (define-minor-mode):
18754 * net/browse-url.el (browse-url-maybe-new-window):
18755 * progmodes/sh-script.el (sh-learn-buffer-indent):
18756 Pass new argument 'any to `called-interactively-p'.
18758 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18760 * international/uni-bidi.el:
18761 * international/uni-category.el:
18762 * international/uni-combining.el:
18763 * international/uni-comment.el:
18764 * international/uni-decimal.el:
18765 * international/uni-decomposition.el:
18766 * international/uni-digit.el:
18767 * international/uni-lowercase.el:
18768 * international/uni-mirrored.el:
18769 * international/uni-name.el:
18770 * international/uni-numeric.el:
18771 * international/uni-old-name.el:
18772 * international/uni-titlecase.el:
18773 * international/uni-uppercase.el:
18774 Regenerate from Unicode 5.2.0 data.
18776 2009-10-01 Glenn Morris <rgm@gnu.org>
18778 * Makefile.in (ELCFILES): Regenerate.
18780 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18782 * subr.el (interactive-p): Mark obsolete.
18783 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18784 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18785 advertised-signature-table for subroutines as well.
18787 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18788 (set-advertised-calling-convention): New function.
18789 (make-obsolete, define-obsolete-function-alias)
18790 (make-obsolete-variable, define-obsolete-variable-alias):
18791 Make the optional-ness of `when' obsolete.
18792 (define-obsolete-face-alias): Make `when' non-optional.
18793 * help-fns.el (help-function-arglist):
18794 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18795 Use advertised-signature-table.
18797 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18799 * files.el (delete-directory): New defun. The original function
18800 in fileio.c has been renamed to `delete-directory-internal'.
18802 * dired.el (dired-delete-file): Call `delete-directory' with
18803 RECURSIVE parameter.
18805 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18806 parameter RECURSIVE. Implementation is missing.
18808 * net/tramp.el (tramp-handle-make-directory): Flush upper
18809 directory's file properties.
18810 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18811 (tramp-handle-dired-recursive-delete-directory): Flush directory
18812 properties after the remove command only.
18814 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18815 Handle optional parameter RECURSIVE.
18817 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18818 Handle optional parameter RECURSIVE.
18820 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18821 connection timeout.
18822 (tramp-smb-handle-delete-directory): Handle optional parameter
18825 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18827 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18828 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18829 (byte-compile-defmacro): Use backquotes.
18831 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18833 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18834 has no associated file.
18835 (vc-resynch-buffer): Use vc-dir-buffers.
18837 2009-10-01 Glenn Morris <rgm@gnu.org>
18839 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18840 (chart-file-count):
18841 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18842 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18843 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18844 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18845 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18846 (eieio-copy-parents-into-subclass, make-instance, class-children)
18847 (eieio-generic-form):
18849 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18850 match-data. (Bug#4555).
18852 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18853 rather than parsing it as a regexp. This relaxes the layout
18854 requirements and makes errors easier to detect.
18855 (check-declare-verify): Check file is regular.
18856 (check-declare-directory): Doc fix.
18857 * subr.el (declare-function): Doc fix.
18859 * ibuffer.el (ibuffer-format-qualifier):
18860 * isearch.el (hi-lock-regexp-okay):
18861 * calc/calc.el (math-zerop):
18862 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18863 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18864 Remove unused declarations.
18866 2009-09-30 Eric Ludlam <zappo@gnu.org>
18868 * emacs-lisp/eieio.el (boolean-p): Delete.
18870 2009-09-30 Glenn Morris <rgm@gnu.org>
18872 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18874 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18875 filename is not a string.
18877 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18879 * files.el (safe-local-eval-forms): Fix typo.
18881 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18883 * vc-hooks.el (vc-dir-buffers): New var.
18884 (vc-state-refresh): New function.
18885 (vc-state): Use it.
18886 (vc-after-save): Always ask the backend to recompute the new state.
18887 Always call vc-dir if necessary, using vc-dir-buffers.
18888 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18889 Use vc-dir-buffers.
18890 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18891 (vc-dir-prepare-status-buffer, vc-dir-update)
18892 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18893 Don't call expand-file-name on default-directory.
18895 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18897 * speedbar.el (speedbar-item-delete):
18898 * calc/calc-prog.el (calc-kbd-if):
18899 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18901 * epa.el (epa-key-list-mode-map):
18902 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18904 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18905 (hs-show-hook): Fix typo in docstring.
18907 2009-09-29 Glenn Morris <rgm@gnu.org>
18909 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18910 file-name-nondirectory call preventing location of cedet files.
18911 (check-declare-verify): Use literal search rather than re-search.
18912 Add basic defmethod and defclass, and define-overloadable-function.
18914 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18915 Use tramp-compat-file-attributes rather than nonexistent
18916 tramp-compat-handle-file-attributes.
18918 * Makefile.in (lisptagsfiles4): New.
18919 (AUTOGENEL): Add cedet loaddefs files.
18920 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18921 (update-elclist, compile-always, backup-compiled-files)
18922 (bootstrap-clean): Add yet another directory level.
18923 (update-elclist): Use LC_COLLATE rather than COLLATE.
18924 (ELCFILES): Update, via `make update-elclist'.
18926 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18928 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18929 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18930 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18932 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18934 * Makefile.in (lisptagsfiles3): Define.
18935 (TAGS, TAGS-LISP): Use it.
18936 (update-elclist): Add third directory level to look for elc files.
18937 (compile-always): Likewise.
18938 (backup-compiled-files): Likewise.
18939 (bootstrap-clean): Likewise.
18940 (ELCFILES): Update.
18942 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18944 * Makefile.in (ELCFILES): Add CEDET files.
18946 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18948 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18950 * net/tramp.el (top): Require tramp-imap.
18952 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18953 Use `tramp-compat-handle-file-attributes'.
18955 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18957 * net/tramp-imap.el: New package.
18959 2009-09-28 Eric Ludlam <zappo@gnu.org>
18961 * emacs-lisp/chart.el:
18962 * emacs-lisp/eieio-base.el:
18963 * emacs-lisp/eieio-comp.el:
18964 * emacs-lisp/eieio-custom.el:
18965 * emacs-lisp/eieio-datadebug.el:
18966 * emacs-lisp/eieio-opt.el:
18967 * emacs-lisp/eieio-speedbar.el:
18968 * emacs-lisp/eieio.el: New files.
18970 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18972 * whitespace.el (whitespace-trailing-regexp)
18973 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18976 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18978 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18981 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18982 menu-bar-ediff-menu.
18984 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18985 define-overloadable-function.
18987 * progmodes/autoconf.el: Provide autoconf as well, so that this
18988 file can be `require'd.
18990 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18992 * emacs-lisp/autoload.el (generated-autoload-feature)
18993 (generated-autoload-load-name): New vars.
18994 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18995 (make-autoload): Recognize define-overloadable-function and
18996 defclass forms (for EIEIO).
18998 * Makefile.in (update-subdirs): Exclude cedet directory.
19000 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19002 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19004 * faces.el: Default light-background background for region face to
19005 ns_selection_color under NS.
19007 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19009 * net/imap-hash.el: New library, see NEWS.
19011 * Makefile.in (ELCFILES): Add imap-hash.el.
19013 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19015 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19016 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19017 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19018 definition where the docstring could be taken for the return value.
19020 2009-09-26 Glenn Morris <rgm@gnu.org>
19022 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19023 Add option to only show images below a certain size.
19024 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19025 save-excursion calls.
19027 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19029 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19030 subdirectories) and eieio.
19032 2009-09-26 Alan Mackenzie <acm@muc.de>
19034 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19035 Correct buggy bracketing. (Bug#4289)
19037 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19038 character constants (as case labels). (Bug#4289)
19040 2009-09-25 Juri Linkov <juri@jurta.org>
19042 * files.el (safe-local-eval-forms): Allow time-stamp in
19043 before-save-hook (Bug#4554).
19045 2009-09-25 Drew Adams <drew.adams@oracle.com>
19047 * menu-bar.el (list-buffers-directory): Doc fix.
19049 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19051 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19052 Try and avoid copying twice the same paragraph.
19053 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19054 Remove save-excursion.
19055 (log-edit-changelog-entry): Do it here instead.
19057 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19059 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19060 when available, instead of hardcoding mode names. Doc fix.
19062 * menu-bar.el (list-buffers-directory): Add docstring.
19063 Make automatically buffer-local.
19065 * dired.el (dired-mode):
19066 * files.el (cd-absolute):
19067 * pcvs.el (cvs-temp-buffer):
19068 * pcvs-util.el (cvs-get-buffer-create):
19069 * shell.el (shell-mode):
19070 * vc-dir.el (vc-dir-mode):
19071 Don't make `list-buffers-directory' buffer local.
19073 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19075 * comint.el (comint-exec, comint-run, make-comint):
19076 Doc fixes (Bug#4542).
19078 2009-09-25 Glenn Morris <rgm@gnu.org>
19080 * mail/rmailmm.el (rmail-mime): New custom group.
19081 Move all defcustoms in this file into this group.
19082 (rmail-mime-media-type-handlers-alist): Revert previous change.
19083 (rmail-mime-show-images): New option.
19084 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19085 references to it, since it wasn't actually used for anything.
19086 (rmail-mime-insert-image): New function.
19087 (rmail-mime-image): Use rmail-mime-insert-image.
19088 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19089 obey the value of `rmail-mime-show-images' option. Print the size of
19092 2009-09-25 David Engster <deng@randomsample.de>
19094 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19096 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19098 * whitespace.el: Does not highlight trailing spaces While point is
19099 at end of line. Does not highligt spaces at beginning of buffer
19100 while point is at beginning of buffer. Does not highlight spaces
19101 at end of buffer while point is at end of buffer. (Bug#4177)
19103 (whitespace-display-mappings): Adjust initialization.
19104 (whitespace-point, whitespace-font-lock-refontify): New vars.
19105 (whitespace-color-on, whitespace-color-off): Adjust code.
19106 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19107 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19108 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19110 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19112 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19114 * textmodes/sgml-mode.el: Remove xml-mode alias.
19116 * files.el (auto-mode-alist, conf-mode-maybe)
19117 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19119 2009-09-24 Alan Mackenzie <acm@muc.de>
19121 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19122 c-forward-conditionals, but it doesn't move point and doesn't set
19124 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19125 (c-down-conditional-with-else, c-backward-conditional)
19126 (c-forward-conditional): Refactor to use c-scan-conditionals.
19128 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19130 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19131 (help-default-arg-highlight): Remove.
19132 (help-highlight-arg): New function.
19133 (help-do-arg-highlight): Use it.
19134 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19136 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19138 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19139 Undo last change, which didn't fix the problem and introduced others.
19141 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19143 * progmodes/gdb-mi.el: Don't require speedbar.
19144 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19146 2009-09-24 Glenn Morris <rgm@gnu.org>
19148 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19150 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19152 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19153 there is no newline after the final mime boundary. (Bug#4539)
19154 Move markers on insertion so that any buttons inserted don't end up in
19155 the next part of a multipart message.
19156 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19157 (rmail-mime-bulk-handler): Optionally handle images.
19158 (rmail-mime-image): New button action.
19159 (rmail-mime-image-handler): New function.
19160 (rmail-mime-mode): New mode.
19161 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19163 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19165 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19166 than just dropping elements from it (bug#4504).
19168 * term.el (term-set-scroll-region): Don't move cursor any more.
19169 (term-handle-ansi-escape): Call term-goto here instead.
19170 Suggested by Ivan Kanis <apple@kanis.eu>.
19172 * term.el: Require CL.
19173 (term-ansi-reset): New function.
19174 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19175 (term-handle-colors-array): Simplify.
19177 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19179 * allout.el (allout-overlay-interior-modification-handler)
19180 (allout-obtain-passphrase):
19181 * epa-file.el (epa-file-write-region):
19182 * ps-print.el (ps-begin-job):
19183 * vc-hooks.el (vc-toggle-read-only):
19184 * vc-rcs.el (vc-rcs-rollback):
19185 * vc-sccs.el (vc-sccs-rollback):
19186 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19187 (vc-version-diff, vc-revert, vc-rollback):
19188 * wdired.el (wdired-check-kill-buffer):
19189 * emacs-lisp/authors.el (authors):
19190 * net/socks.el (socks-open-connection):
19191 * net/zeroconf.el (zeroconf-service-add-hook):
19192 * obsolete/vc-mcvs.el (vc-mcvs-register):
19193 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19194 (gdb-select-frame):
19195 * progmodes/grep.el (lgrep, rgrep):
19196 * progmodes/idlw-help.el (idlwave-help-check-locations)
19197 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19198 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19199 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19200 (reftex-toc-rename-label): Fix typos in error messages.
19202 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19203 (dired-copy-how-to-fn): Doc fix.
19204 (dired-files-attributes, dired-read-shell-command):
19205 Fix typos in docstrings.
19207 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19208 (dired-x-find-file-other-window): Reflow docstrings.
19209 (dired-omit-marker-char, dired-read-shell-command)
19210 (dired-x-submit-report): Fix typos in docstrings.
19212 * shell.el (shell-mode-hook):
19213 * view.el (View-scroll-line-forward):
19214 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19215 Fix typos in docstrings.
19217 * net/dig.el (dig-invoke): Fix typo in docstring.
19218 (query-dig): Reflow docstring.
19220 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19221 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19222 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19223 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19224 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19225 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19226 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19227 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19228 (idlwave-completion-map, idlwave-current-indent)
19229 (idlwave-custom-ampersand-surround, idlwave-customize)
19230 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19231 (idlwave-define-abbrev, idlwave-determine-class-special)
19232 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19233 (idlwave-end-block-reg, idlwave-end-of-statement)
19234 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19235 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19236 (idlwave-explicit-class-listed, idlwave-file-header)
19237 (idlwave-fill-paragraph, idlwave-find-class-definition)
19238 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19239 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19240 (idlwave-in-quote, idlwave-indent-action-table)
19241 (idlwave-indent-expand-table, idlwave-indent-line)
19242 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19243 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19244 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19245 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19246 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19247 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19248 (idlwave-outlawed-buffers, idlwave-popup-select)
19249 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19250 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19251 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19252 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19253 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19254 (idlwave-statement-type, idlwave-struct-skip)
19255 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19256 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19257 (idlwave-what-module-find-class): Fix typos in docstrings.
19258 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19259 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19260 (idlwave-find-module, idlwave-find-structure-definition)
19261 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19262 (idlwave-list-load-path-shadows, idlwave-next-statement)
19263 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19264 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19265 (idlwave-template): Reflow docstrings.
19267 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19268 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19269 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19270 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19271 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19272 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19273 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19274 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19275 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19276 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19277 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19278 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19279 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19280 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19281 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19282 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19283 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19284 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19285 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19286 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19287 Fix typos in docstrings.
19288 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19289 (idlwave-shell-hide-output, idlwave-shell-mode)
19290 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19293 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19295 2009-09-24 Ivan Kanis <apple@kanis.eu>
19297 * term.el (term-bold-attribute): New var.
19298 (term-handle-colors-array): Use it.
19300 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19302 * progmodes/gdb-mi.el (gdb-version): New variable.
19303 (gdb-non-stop-handler): Set gdb-version.
19304 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19305 Condition "--thread" option on gdb-version.
19306 (gdb-invalidate-threads): Remove unused argument.
19308 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19310 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19311 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19313 2009-09-23 Glenn Morris <rgm@gnu.org>
19315 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19316 replying to mail without References or Message-Id. (Bug#4525)
19318 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19320 * term/ns-win.el (ns-reg-to-script): New variable.
19322 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19324 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19326 2009-09-22 Sam Steingold <sds@gnu.org>
19328 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19329 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19330 to 1 because hg returns status 1 when nothing is found.
19331 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19333 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19335 * textmodes/fill.el: Convert to utf-8 encoding.
19336 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19339 * add-log.el (change-log-fill-forward-paragraph): New function.
19340 (change-log-mode): Use it so fill-region DTRT.
19341 Set fill-indent-according-to-mode here rather than in
19342 change-log-fill-paragraph.
19343 (change-log-fill-paragraph): Remove.
19345 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19347 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19348 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19350 2009-09-22 Glenn Morris <rgm@gnu.org>
19352 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19353 the scroll-bar scroll the calendar window rather than the buffer.
19355 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19356 commands that move point (as opposed to scrolling).
19358 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19360 * emacs-lisp/elint.el (elint): New custom group.
19361 (elint-log-buffer): Make it a defcustom.
19362 (elint-scan-preloaded, elint-ignored-warnings)
19363 (elint-directory-skip-re): New options.
19364 (elint-builtin-variables): Doc fix.
19365 (elint-preloaded-env): New variable.
19366 (elint-unknown-builtin-args): Add an entry for encode-time.
19367 (elint-extra-errors): Make it a variable rather than a constant.
19368 (elint-preloaded-skip-re): New constant.
19369 (elint-directory): Skip files matching elint-directory-skip-re.
19370 (elint-features): New variable, local to linted buffers.
19371 (elint-update-env): Initialize elint-features. Possibly add
19372 elint-preloaded-env to the buffer's environment.
19373 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19375 (elint-init-form): New function, extracted from elint-init-env.
19376 Make non-list forms a warning rather than an error.
19377 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19378 easy-menu-define, put that adds an error-condition, and provide.
19379 When requiring cl, also require cl-macs. Really require cl, to handle
19380 some cl macros. Store required libraries in the list elint-features,
19381 so as not to re-load them. Treat cc-require like require.
19382 (elint-init-env): Call elint-init-form to do the work.
19383 Handle eval-and-compile and such like.
19384 (elint-add-required-env): Do not clear messages.
19385 (elint-special-forms): Add handlers for function, defalias, if, when,
19387 (elint-form): Add optional argument to ignore elint-special-forms,
19388 useful to prevent recursive calls from handlers. Doc fix.
19389 Respect elint-ignored-warnings.
19390 (elint-form): Respect elint-ignored-warnings.
19391 (elint-bound-variable, elint-bound-function): New variables.
19392 (elint-unbound-variable): Respect elint-bound-variable.
19393 (elint-get-args): Respect elint-bound-function.
19394 (elint-check-cond-form): Add some simple handling for (f)boundp and
19396 (elint-check-defalias-form): New handler.
19397 (elint-check-let-form): Make an empty let a warning rather than an
19399 (elint-check-setq-form): Make an empty setq a warning rather than an
19400 error. Respect elint-ignored-warnings.
19401 (elint-check-defvar-form): Accept null doc-strings.
19402 (elint-check-conditional-form): New handler. Does some simple-minded
19403 checking of featurep and (f)boundp tests.
19404 (elint-put-function-args): New function.
19405 (elint-initialize): Use elint-scan-doc-file rather than
19406 elint-find-builtin-variables. Use elint-put-function-args.
19407 Possibly scan preloaded-file-list.
19408 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19409 extend to handle functions as well.
19411 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19413 * linum.el (linum-delete-overlays, linum-update-window):
19414 Do not modify the right margin. (Bug#3971)
19416 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19418 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19419 Use nxml-mode instead of xml-mode.
19421 2009-09-21 Kevin Ryde <user42@zip.com.au>
19423 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19425 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19427 * net/dig.el (dig-mode): Use define-derived-mode.
19429 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19431 * vc-dispatcher.el (vc-do-command): Return the process object in
19432 the asynchronous case. Use when instead of if. Do not run
19433 vc-exec-after to display a message if not enabled. (Bug#4463)
19435 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19436 properties to the stash strings.
19437 (vc-git-stash-list): Return a list of strings.
19438 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19439 (vc-git-stash-show-at-point): New functions.
19440 (vc-git-stash-map): New keymap.
19442 * register.el (ctl-x-r-map): Define the keys here instead of
19445 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19447 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19448 list, to workaround performance problem (bug#4485).
19450 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19452 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19454 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19456 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19457 Document that this option is not recommended to use.
19459 2009-09-19 Glenn Morris <rgm@gnu.org>
19461 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19464 * calc/calc-alg.el (var):
19465 * calc/calcalg2.el (var): Define for compiler.
19467 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19469 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19470 Doc fix (Bug#3932).
19472 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19474 * time-stamp.el (time-stamp-month-dd-yyyy)
19475 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19476 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19477 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19478 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19479 Remove functions that have been obsolete since 1995 (Bug#4436).
19481 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19482 indent buffer only if called interactively (Bug#4452).
19484 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19485 Eli Zaretskii <eliz@gnu.org>
19487 This fixes bug#4197 (merged to bug#865, though not identical).
19488 * server.el (server-auth-dir): Add docstring note about FAT32.
19489 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19490 but warn against using them.
19492 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19494 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19495 older GDB where there is no has_more field.
19497 2009-09-19 Glenn Morris <rgm@gnu.org>
19499 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19501 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19503 * files.el (auto-mode-alist): Change default for XML files to nXML
19506 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19508 * server.el (server-ensure-safe-dir): Pass 'integer
19509 to `file-attributes', as suggested.
19511 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19513 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19514 (dired-query): Use read-key.
19516 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19518 * cus-start.el (ns-use-qd-smoothing): Remove.
19520 2009-09-18 Glenn Morris <rgm@gnu.org>
19522 * allout.el (top-level): Remove unnecessary progn.
19524 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19526 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19527 definition of abbrev table.
19529 * speedbar.el (speedbar-track-mouse):
19530 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19531 * net/eudc.el (eudc-expand-inline):
19532 * net/newst-backend.el (newsticker--cache-read-feed):
19533 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19534 condition-case handlers.
19536 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19538 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19539 (gdb-var-list): Add an element for has_more field.
19540 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19541 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19542 (gdb-var-update-handler-1): Parse output of dynamic variable
19543 objects (STL containers).
19544 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19545 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19547 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19549 (gud-speedbar-buttons): Make node expandable if expression "has more"
19552 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19554 * startup.el (emacs-quick-startup): Remove variable and all uses.
19555 (command-line): Set `inhibit-x-resources' instead.
19556 (command-line-1): Use `inhibit-x-resources' instead.
19558 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19560 * subr.el: Fix last change to avoid using the `unless' macro,
19561 which breaks bootstrapping.
19563 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19565 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19566 extended definitions, in case we reload subr.el after having
19568 (eval-next-after-load): Mark as obsolete.
19570 2009-09-17 Juri Linkov <juri@jurta.org>
19572 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19573 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19574 (menu-bar-showhide-menu, menu-bar-tools-menu)
19575 (menu-bar-describe-menu, menu-bar-help-menu)
19576 (minibuffer-local-completion-map, minibuffer-local-map):
19579 2009-09-17 Glenn Morris <rgm@gnu.org>
19581 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19582 arguments, whether or not it has a handler.
19584 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19586 * simple.el (hard-newline): Give it a doc-string.
19588 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19589 (lisp-mode-syntax-table): Give them doc-strings.
19591 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19593 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19594 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19595 (menu-bar-options-menu, menu-bar-showhide-menu)
19596 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19597 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19598 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19599 (menu-bar-options-menu, menu-bar-tools-menu)
19600 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19601 (menu-bar-help-menu):
19602 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19605 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19606 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19607 calls for the menu names and :help.
19609 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19611 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19612 to :minor-mode-function (bug#4455).
19614 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19616 * startup.el (command-line): Initialize the window-system after
19617 processing the command-line.
19619 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19620 page-delimiter matches the empty string.
19622 2009-09-16 Glenn Morris <rgm@gnu.org>
19624 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19625 byte-compile-not-obsolete-var. It's a list now.
19626 (byte-compile-not-obsolete-funcs): New variable.
19627 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19628 byte-compile-not-obsolete-funcs.
19629 (byte-compile-variable-ref, byte-compile-defvar): Update for
19630 byte-compile-not-obsolete-vars name-change and list nature.
19631 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19632 and variables behind (f)boundp tests.
19633 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19635 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19637 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19639 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19641 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19642 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19645 2009-09-15 Stephen Eglen <stephen@gnu.org>
19647 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19648 the virtual-buffers, use the name of the buffer specified by
19649 find-file-noselect, as the match may be a symlink. (This was a
19650 problem if the target and the symlink had different names.)
19652 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19654 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19656 * desktop.el (desktop-path): Check user-emacs-directory.
19658 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19660 * loadup.el: Use after-load-functions to GC after loading each file.
19661 Remove the explicit GC calls that used to be sprinkled around.
19663 * subr.el (after-load-functions): New hook.
19664 (do-after-load-evaluation): Run it. Use string-match-p to detect
19665 `obsolete' packages, rather than painfully extracting the relevant
19668 2009-09-15 Glenn Morris <rgm@gnu.org>
19670 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19671 free variable `doc'.
19673 * dired.el (dired-mode-map): Add menu entry for async shell command.
19675 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19676 variables, also consider the .elc files, since the .el files are
19677 normally gzipped (subsequent code locates the .el.gz from the .elc).
19679 * calc/calc-prog.el (arglist): Define for compiler.
19681 * calendar/diary-lib.el (diary-display-function): Change the default to
19683 (body): Define for compiler.
19685 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19686 (byte-compile-file-form, byte-compile-lambda)
19687 (byte-compile-top-level-body, byte-compile-form)
19688 (byte-compile-variable-ref, byte-compile-setq)
19689 (byte-compile-setq-default, byte-compile-body)
19690 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19691 (batch-byte-compile): Give some more local variables with common names
19692 a "bytecomp-" prefix to avoid masking warnings about free variables.
19694 * startup.el (command-line-1): Give local variables with common names a
19695 distinguishing prefix, so as not to hide free variable warnings during
19698 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19699 clever and add a suffix to make a unique name, just let the user decide
19700 whether or not to overwrite it. If the input is a directory, write the
19701 default filename to that directory. (Bug#4388)
19702 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19703 is a filename-as-a-directory.
19705 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19707 * textmodes/page.el (what-page): Don't move to beginning of line.
19708 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19710 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19712 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19714 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19716 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19717 * help.el (help-for-help-internal): Add purecopy calls for text.
19719 * vc.el (top): print-log method now takes an optional SHORTLOG
19720 argument. Add a new method: root.
19721 (vc-root-diff, vc-print-root-log): New functions.
19722 (vc-log-short-style): New variable.
19723 (vc-print-log-internal): Add support for showing short logs.
19725 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19726 vc-print-root-log and vc-print-root-diff.
19728 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19729 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19730 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19733 * vc-cvs.el (vc-cvs-print-log):
19734 * vc-mtn.el (vc-mtn-print-log):
19735 * vc-rcs.el (vc-rcs-print-log):
19736 * vc-sccs.el (vc-sccs-print-log):
19737 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19738 that is ignored for now.
19740 * vc-mtn.el (vc-mtn-annotate-command):
19741 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19743 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19745 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19746 to function-key-map, and give them ascii-character property.
19747 * term/x-win.el (x-alternatives-map):
19748 * term/ns-win.el (ns-alternatives-map):
19749 * term/internal.el (msdos-key-remapping-map):
19750 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19752 2009-09-14 Glenn Morris <rgm@gnu.org>
19754 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19755 temp-buffers (2009-09-12).
19757 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19759 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19760 the new read-key function.
19762 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19764 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19765 is defined (Bug#4405).
19767 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19769 * recentf.el (recentf-cleanup): Use a hash table to find
19770 duplicates (Bug#4407).
19772 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19774 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19775 kp-0 to ascii equivalents (Bug#4325).
19777 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19779 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19781 * eshell/em-hist.el:
19782 * eshell/em-dirs.el (eshell-complete-user-reference):
19783 Declare pcomplete functions and variables to avoid compiler warnings.
19785 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19787 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19788 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19789 * eshell/em-alias.el (eshell-aliases-file):
19790 * eshell/em-hist.el (eshell-history-file-name):
19791 Use expand-file-name instead of concat to make file names (Bug#4308).
19793 2009-09-13 Glenn Morris <rgm@gnu.org>
19795 * ediff-merg.el (ediff-do-merge):
19796 * filesets.el (filesets-run-cmd):
19797 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19798 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19799 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19800 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19801 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19802 Replace empty `let's with `progn'.
19804 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19806 * mail/sendmail.el (send-mail-function):
19807 * tooltip.el (tooltip-mode):
19808 * simple.el (transient-mark-mode):
19809 * rfn-eshadow.el (file-name-shadow-mode):
19810 * frame.el (blink-cursor-mode):
19811 * font-core.el (global-font-lock-mode):
19812 * files.el (temporary-file-directory)
19813 (small-temporary-file-directory, auto-save-file-name-transforms):
19814 * epa-hook.el (auto-encryption-mode):
19815 * composite.el (global-auto-composition-mode):
19816 Use custom-initialize-delay.
19817 * startup.el (command-line): Don't explicitly call
19818 custom-reevaluate-setting for all the above vars.
19819 * custom.el (custom-initialize-safe-set)
19820 (custom-initialize-safe-default): Delete.
19822 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19824 * term/x-win.el (x-initialize-window-system):
19825 * term/w32-win.el (w32-initialize-window-system):
19826 * term/ns-win.el (ns-initialize-window-system): Don't call
19827 mouse-wheel-mode since it's enabled globally by default already.
19829 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19830 actually define the variable, but only silences the byte-compiler.
19831 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19832 before looking it up.
19833 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19836 2009-09-12 Glenn Morris <rgm@gnu.org>
19838 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19840 (elint-add-required-env): Don't beep on error.
19841 (elint-forms): In case of error, return ENV unchanged.
19842 (elint-init-env): Skip non-list forms.
19843 (elint-log): Handle unknown file positions.
19845 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19847 * epg.el (epg-make-context): Add autoload cookie.
19848 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19849 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19850 (epg-verify-string, epg-start-sign, epg-sign-file)
19851 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19852 (epg-encrypt-string, epg-start-export-keys)
19853 (epg-export-keys-to-file, epg-export-keys-to-string)
19854 (epg-start-import-keys, epg-import-keys-from-file)
19855 (epg-import-keys-from-string, epg-start-receive-keys)
19856 (epg-receive-keys, epg-import-keys-from-server)
19857 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19858 (epg-sign-keys, epg-start-generate-key)
19859 (epg-generate-key-from-file, epg-generate-key-from-string):
19860 Remove autoload cookie.
19862 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19864 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19865 reevaluation of trash-directory.
19867 * mwheel.el: Fix last change.
19868 (mouse-wheel-mode): New defvar.
19869 (mouse-wheel-mode): Remove autoload cookie.
19871 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19873 * mwheel.el (mwheel-installed-bindings): New var.
19874 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19875 the bindings we set last time. Use custom-initialize-delay.
19876 * loadup.el: Load mwheel after term/*-win.el.
19877 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19878 and mouse-wheel-up-event now that their first evaluation is done
19879 sufficiently late to be correct.
19881 * startup.el (tutorial-directory): Make it a defcustom.
19882 Use custom-initialize-delay rather than eval-at-startup to set it.
19883 * image.el (image-load-path): Make it a defcustom.
19884 Use custom-initialize-delay rather than eval-at-startup to set it.
19885 * subr.el (eval-at-startup): Remove.
19886 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19888 * subr.el (do-after-load-evaluation): Warn the user after loading an
19891 2009-09-12 Glenn Morris <rgm@gnu.org>
19893 * proced.el (proced-mark-alt): Remove alias.
19894 (proced-mode-map): Remove proced-mark-alt.
19896 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19897 Elint file and directory. Remove initialization entry.
19899 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19901 (elint-current-buffer): Set mode-line-process.
19902 (elint-init-env): Handle define-derived-mode.
19903 Fix declare-function with unspecified arglist. Guard against odd
19904 defalias statements (eg iso-insert's 8859-1-map).
19905 (elint-add-required-env): Use a temp buffer.
19906 (elint-form): Just print the function/macro name, not the whole form.
19907 Return env unchanged if we fail to parse a macro.
19908 (elint-forms): Guard against parse errors.
19909 (elint-output): New function, to handle batch mode.
19910 (elint-log-message): Add optional argument. Use elint-output.
19911 (elint-set-mode-line): New function.
19913 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19915 * emacs-lisp/elp.el (elp-not-profilable): Add more
19916 functions (Bug#4233).
19918 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19920 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19921 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19923 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19925 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19926 (gdb-var-list-children): Use json parsing.
19928 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19930 * progmodes/js.el (js--proper-indentation): Handle the case where
19931 char-before is null. Reported by Deniz Dogan.
19933 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19935 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19937 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19939 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19940 (epg-digest-algorithm-alist): Add SHA224.
19941 (epg-context-set-passphrase-callback)
19942 (epg-context-set-progress-callback): Add description about
19945 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19947 * custom.el (custom-delayed-init-variables): New var.
19948 (custom-initialize-delay): New function.
19949 * startup.el (command-line): "Re"evaluate all vars in
19950 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19951 explicitly any more.
19952 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19953 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19955 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19957 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19959 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19960 (gdb-var-update-handler): Use json parsing.
19962 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19964 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19965 decode annotated text, regardless of language environment. (Bug#2741)
19967 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19969 * Makefile.in (autoloads): Make rmail.el writable as well.
19971 2009-09-11 Glenn Morris <rgm@gnu.org>
19973 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19975 * dired.el: Regenerate with extracted autoloads.
19976 * Makefile.in (autoloads): Make dired.el writable.
19978 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19979 * ibuffer.el: Regenerate with extracted autoloads.
19980 * Makefile.in (autoloads): Make ibuffer.el writable.
19982 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19983 * version.el (emacs-copyright, emacs-major-version)
19984 (emacs-minor-version): Reformat doc-strings for make-docfile.
19986 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19987 functions and variables, since they must be stuff specific to some other
19989 (apropos-print): Make mouse-click message less specific about button.
19991 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19992 that records where a macro was defined.
19993 * help-fns.el (describe-function-1): Mention if a function has a
19995 * help-mode.el (help-function-cmacro): New button.
19997 * locate.el (top-level): Always require dired.
19998 (locate-mode-map): Initialize inside the defvar.
20000 * net/ange-ftp.el (dired-compress-file): Declare.
20001 (ange-ftp-dired-compress-file): Add doc string.
20003 * term/ns-win.el (x-display-name, x-setup-function-keys):
20004 Unify doc-strings with X versions.
20006 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20008 * emulation/crisp.el (crisp-mode-map): Move initialization
20010 (crisp-mode): Use define-minor-mode.
20012 * progmodes/xscheme.el (xscheme-evaluation-commands):
20013 Put a :advertised-binding property rather than using
20014 advertised-xscheme-send-previous-expression.
20015 (advertised-xscheme-send-previous-expression): Declare obsolete.
20016 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20018 (crisp-mode): Add corresponding bindings to
20019 undo's :advertised-binding instead.
20020 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20021 than using dired-advertised-find-file.
20022 (dired-advertised-find-file):
20023 * simple.el (advertised-undo):
20024 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20025 (widget-keymap): Put a :advertised-binding property rather
20026 than using advertised-widget-backward.
20027 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20028 than using advertised-undo.
20029 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20031 2009-09-10 Simon South <ssouth@slowcomputing.org>
20033 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20034 Mark mode is enabled and region is active; otherwise indent or
20035 insert TAB as usual.
20036 (delphi-mode): Update description of TAB-key binding.
20038 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20040 * subr.el (define-key-rebound-commands): Mark obsolete.
20041 * startup.el (precompute-menubar-bindings): Remove.
20042 (normal-top-level): Remove obsolete code that tried to precompute
20044 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20045 define-key-rebound-commands and precompute-menubar-bindings.
20047 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20049 * net/imap.el (imap-interactive-login): Better messages.
20050 (imap-open): Fix bug with renamed buffer on reconnect.
20051 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20052 for easier debugging and cleaner code. On successful (guessed based on
20053 server capabilities) secondary authentication, set imap-state
20055 (imap-last-authenticator): Define imap-last-authenticator as a variable
20058 2009-09-10 Glenn Morris <rgm@gnu.org>
20060 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20062 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20063 (byte-compile-file-form-autoload): Don't warn about unknown functions
20064 where the autoload statement comes after the use.
20065 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20066 that any handlers inside the body (eg require) are in turn respected.
20068 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20071 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20072 and syntax and abbrev tables basic docs, if they don't have any.
20074 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20076 * international/mule-cmds.el (top-level): Require cl when compiling.
20077 (view-hello-file): Use default-value rather than
20078 default-enable-multibyte-characters.
20080 * progmodes/fortran.el: Move all safe and risky properties into the
20083 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20084 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20085 * mail/undigest.el:
20086 Put autoloads in rmail.el rather than loaddefs.el.
20087 * mail/rmail.el: Regenerate with extracted autoloads.
20089 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20090 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20092 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20094 Reported in thread for Bug#4375.
20095 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20096 "-data-evaluate-expression" instead of print.
20097 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20098 (gdb-tooltip-print): Parse output from above MI command.
20099 (gdb): Revert 2009-08-11 change. User should detach inferior
20102 Remove the word "separate" from IO functions as inferior
20103 output is now never displayed in the GUD buffer.
20105 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20107 * startup.el (command-line-normalize-file-name): On Windows and
20108 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20110 2009-09-10 Juri Linkov <juri@jurta.org>
20112 * isearch.el (isearch-text-char-description): Propertize escape
20113 character sequences with the `escape-glyph' face. (Bug#4344)
20115 * simple.el (shell-command): Set asynchronous process filter to
20116 `comint-output-filter'. (Bug#4343)
20118 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20119 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20120 the list. Move "asm" to the bottom.
20121 (grep-find-ignored-directories): Add `choice' with nil value
20122 to empty the list easily.
20123 (grep-find-ignored-files): New option.
20124 (grep-files-history): Set to nil by default instead of '("ch" "el").
20125 (grep-compute-defaults): Add "<X>" to `grep-template'.
20126 (grep-read-files): Bind new local variables `default-alias' and
20127 `default-extension'. Use a list of default values for the file prompt.
20128 (lgrep): Add `--exclude=' command line options composed from
20129 `grep-find-ignored-files'.
20130 (rgrep): Add `-name' command line options composed from
20131 `grep-find-ignored-files'. (Bug#4301)
20133 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20135 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20138 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20140 * calendar/time-date.el (autoload):
20141 Expand define-obsolete-function-alias into defalias and make-obsolete
20142 for old Emacsen that Gnus supports.
20143 (with-no-warnings): Define it for old Emacsen.
20144 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20146 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20147 float-time is available; suppress compile warning for time-to-seconds.
20149 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20151 * net/imap.el (imap-message-map): Docstring fix.
20153 2009-09-09 Glenn Morris <rgm@gnu.org>
20155 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20156 line numbers too. (Bug#4374)
20158 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20160 * smerge-mode.el (smerge-remove-props, smerge-refine):
20161 Use with-silent-modifications (bug#4342).
20163 * subr.el (with-silent-modifications): New macro.
20165 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20167 * files.el (top-level): Require `cl' when compiling.
20169 2009-09-07 Glenn Morris <rgm@gnu.org>
20171 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20173 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20174 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20176 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20178 * vc-git.el (vc-git-annotate-command): Use separator to parse
20179 arguments correctly.
20181 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20183 * proced.el (proced-mode): Doc fix.
20185 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20187 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20189 (tramp-do-file-attributes-with-ls): Check for file existence at
20191 (tramp-do-file-attributes-with-stat): Likewise.
20192 (tramp-convert-file-attributes): Return nil when attr is nil.
20194 2009-09-05 Glenn Morris <rgm@gnu.org>
20196 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20197 properties to this button.
20198 (diary-fancy-display): Don't extend the button to the final newline.
20199 (diary-fancy-display-mode): Continue to define "q" as a local key.
20201 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20204 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20206 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20207 (byte-compile-dest-file-function): New option.
20208 (byte-compile-dest-file): Doc fix.
20209 Obey byte-compile-dest-file-function.
20210 (byte-compile-cl-file-p): New function.
20211 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20212 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20213 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20214 than for file being previously loaded.
20215 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20216 (byte-compile-file-form-require): Handle the case where requiring a file
20217 indirectly causes CL to be loaded.
20219 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20221 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20222 before killing the old buffer, since by the time `kill-buffer' is
20223 run so many buffer variables have been set to nil that it may not
20224 behave as expected. (Bug#4061)
20226 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20228 * files.el (find-alternate-file): If the old buffer is modified
20229 and visiting a file, behave similarly to `kill-buffer' when
20230 killing it, thus reverting to the pre-1.878 behavior; see
20231 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20232 for discussion. Also, consult `buffer-file-name' as a variable
20233 not as a function, for consistency with the rest of the code.
20235 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20237 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20238 also when adding a new directory.
20240 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20243 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20245 * files.el (locate-file-completion-table): Make it provide boundary
20246 information, so partial-completion works better.
20248 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20250 * mail/footnote.el (Footnote-text-under-cursor):
20251 Check footnote-text-marker-alist before using it (bug#4324).
20253 2009-09-04 Glenn Morris <rgm@gnu.org>
20255 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20256 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20257 * play/solitaire.el, play/tetris.el:
20258 Remove leading * from defcustom and defface docs.
20260 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20262 (diary-fancy-overriding-map): New variable.
20263 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20266 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20269 2009-09-03 Glenn Morris <rgm@gnu.org>
20271 * arc-mode.el (archive-mode):
20272 * dos-fns.el (set-default-process-coding-system):
20273 * man.el (Man-getpage-in-background):
20274 * menu-bar.el (menu-bar-describe-menu):
20275 * server.el (server-process-filter):
20276 * startup.el (command-line):
20277 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20278 * w32-fns.el (set-default-process-coding-system):
20279 * x-dnd.el (x-dnd-handle-file-name):
20280 * international/mule-cmds.el (mule-menu-keymap)
20281 (set-default-coding-systems, language-info-alist, set-language-info)
20282 (set-language-environment, standard-display-european-internal)
20283 (set-locale-environment):
20284 * international/mule-diag.el (mule-diag):
20285 * mail/emacsbug.el (report-emacs-bug):
20286 * mail/rmail.el (rmail-mode):
20287 * mail/sendmail.el (mail-setup):
20288 Use default-value rather than default-enable-multibyte-characters.
20290 * progmodes/f90.el: Move all safe properties into the defcustoms.
20291 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20293 * calendar/appt.el (appt-check):
20294 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20295 (diary-check-diary-file, diary-list-entries)
20296 (diary-include-other-diary-files, diary-simple-display)
20297 (diary-fancy-display, diary-print-entries)
20298 (diary-mark-included-diary-files, diary-make-entry):
20299 Don't call substitute-in-file-name on diary-file.
20301 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20302 Stefan Monnier <monnier@iro.umontreal.ca>
20304 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20305 (footnote-mode-map): Move initialization into the declaration.
20306 (footnote-minor-mode-map): Define it rather than changing global-map.
20307 (footnote-mode): Use define-minor-mode.
20309 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20311 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20312 (tramp-do-file-attributes-with-perl)
20313 (tramp-do-file-attributes-with-stat): Rename from
20314 `tramp-handle-file-attributes-with-*'.
20315 (tramp-handle-file-attributes): Use them.
20316 (tramp-do-directory-files-and-attributes-with-perl)
20317 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20318 `tramp-handle-directory-files-and-attributes-with-*'.
20319 (tramp-handle-directory-files-and-attributes): Use them.
20320 (tramp-method-out-of-band-p): Additional parameter SIZE.
20321 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20322 (tramp-handle-write-region): Use it.
20323 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20324 (tramp-handle-vc-registered): Check, whether the first run did
20325 return files to be tested.
20326 (tramp-advice-make-auto-save-file-name): Do not call directly
20327 `tramp-handle-make-auto-save-file-name', because this would bypass
20328 the locking mechanism.
20330 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20331 (file-remote-p, process-file, start-file-process, set-file-times)
20332 (tramp-compat-file-attributes): Compatibility functions shall not
20333 call directly `tramp-handle-*', because this would bypass the
20335 (tramp-compat-number-sequence): New defun.
20337 2009-09-02 Glenn Morris <rgm@gnu.org>
20339 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20340 alias for float-time.
20341 (time-to-number-of-days): In Emacs, use float-time.
20342 * net/newst-backend.el (time-add): Suppress warnings from compat
20344 * time.el (emacs-uptime, emacs-init-time):
20345 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20346 Use float-time rather than time-to-seconds.
20348 * minibuffer.el (completion-initials-expand): Fix typo.
20350 * faces.el (modeline, modeline-inactive, modeline-highlight)
20351 (modeline-buffer-id):
20352 * info.el (info-menu-5): Mark these face aliases as obsolete.
20354 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20356 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20358 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20359 no "--thread" option.
20360 (gdb-stopped): Don't print "Switched to thread" message when it is
20363 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20365 * minibuffer.el (completion-try-completion)
20366 (completion-all-completions): Remove ill-defined (and
20367 mistakenly installed and luckily never used nor documented)
20368 `completion-styles' property.
20369 (completion-initials-expand, completion-initials-all-completions)
20370 (completion-initials-try-completion): New functions.
20371 (completion-styles-alist): Add doc to each entry.
20372 Add new `initials' entry.
20374 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20376 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20377 MI command -var-evaluate-expression.
20378 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20379 and tweak for case of string child.
20380 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20382 2009-09-01 Glenn Morris <rgm@gnu.org>
20384 * add-log.el (change-log-date-face, change-log-name-face)
20385 (change-log-email-face, change-log-file-face, change-log-list-face)
20386 (change-log-conditionals-face, change-log-function-face)
20387 (change-log-acknowledgement-face):
20388 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20389 (custom-modified-face, custom-set-face, custom-changed-face)
20390 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20391 (custom-documentation-face, custom-state-face, custom-comment-face)
20392 (custom-comment-tag-face, custom-variable-tag-face)
20393 (custom-variable-button-face, custom-face-tag-face)
20394 (custom-group-tag-face-1, custom-group-tag-face):
20395 * diff-mode.el (diff-header-face, diff-file-header-face)
20396 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20397 (diff-added-face, diff-changed-face, diff-function-face)
20398 (diff-context-face, diff-nonexistent-face):
20399 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20400 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20401 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20402 (Info-title-4-face):
20403 * isearch.el (isearch-lazy-highlight-face):
20404 * log-view.el (log-view-file-face, log-view-message-face):
20405 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20406 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20407 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20409 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20410 (smerge-base-face, smerge-markers-face):
20411 * wid-edit.el (widget-documentation-face, widget-button-face)
20412 (widget-field-face, widget-single-line-field-face)
20413 (widget-inactive-face, widget-button-pressed-face):
20414 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20415 (woman-addition-face):
20416 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20417 (eshell-ls-executable-face, eshell-ls-readonly-face)
20418 (eshell-ls-unreadable-face, eshell-ls-special-face)
20419 (eshell-ls-missing-face, eshell-ls-archive-face)
20420 (eshell-ls-backup-face, eshell-ls-product-face)
20421 (eshell-ls-clutter-face):
20422 * eshell/em-prompt.el (eshell-prompt-face):
20423 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20424 * obsolete/old-whitespace.el (whitespace-highlight-face):
20425 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20426 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20427 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20428 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20429 (antlr-font-lock-literal-face):
20430 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20431 (ebrowse-root-class-face, ebrowse-file-name-face)
20432 (ebrowse-default-face, ebrowse-member-attribute-face)
20433 (ebrowse-member-class-face, ebrowse-progress-face):
20434 * progmodes/make-mode.el (makefile-space-face):
20435 * progmodes/sh-script.el (sh-heredoc-face):
20436 * textmodes/flyspell.el (flyspell-incorrect-face)
20437 (flyspell-duplicate-face):
20438 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20439 * textmodes/texinfo.el (texinfo-heading-face):
20440 Mark face aliases with "-face" suffix as obsolete.
20442 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20445 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20446 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20447 easy-menu-define wants to modify these.
20449 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20451 * net/browse-url.el (browse-url-file-url):
20452 * term/internal.el (dos-codepage-setup):
20453 Use default-value rather than default-enable-multibyte-characters.
20455 * progmodes/etags.el (etags-goto-tag-location):
20456 * progmodes/flymake.el (flymake-highlight-line)
20457 (flymake-goto-file-and-line, flymake-goto-line):
20458 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20459 (gdb-goto-breakpoint):
20460 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20461 * progmodes/python.el (python-find-function)
20462 (python-pdbtrack-track-stack-file):
20463 * progmodes/verilog-mode.el (verilog-surelint-off):
20464 * term/ns-win.el (ns-open-file-select-line):
20465 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20466 Use forward-line rather than goto-line.
20468 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20469 * textmodes/reftex-index.el (reftex-display-index):
20470 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20471 * textmodes/reftex-toc.el (reftex-toc):
20472 Remove unnecessary bindings of default-major-mode (all are followed by
20473 major-mode check and possible mode switch).
20475 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20477 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20478 Handle watchpoints (bug#4282).
20479 (def-gdb-thread-buffer-command): Enable thread to be selected by
20480 clicking without selecting threads buffer first.
20481 (gdb-current-context-command): Use selected frame so that "up",
20482 "down" etc work in the GUD buffer.
20483 (gdb-update): Find selected frame before rendering stack buffer.
20484 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20486 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20488 * progmodes/sym-comp.el (displayed-completions): Remove.
20489 (symbol-complete): Use minibuffer-complete.
20491 2009-08-31 Glenn Morris <rgm@gnu.org>
20493 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20495 * apropos.el (apropos-symbols-internal):
20496 Handle (obsolete) face aliases.
20498 * faces.el (describe-face): Adjust the output format to be more like
20499 describe-variable, and to mention (obsolete) face aliases.
20500 Adjust the whitespace so that help-setup-xref works.
20502 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20503 * calendar/diary-lib.el (diary-button-face):
20504 Mark these face aliases as obsolete.
20506 * calendar/calendar.el (calendar-today): Doc fix.
20508 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20510 * progmodes/gdb-mi.el (gdb-control-all-threads)
20511 (gdb-control-current-thread): Force tool bar update.
20512 (gdb-non-stop-handler): New function.
20513 (gdb-init-1): Use it to test if non-stop mode is supported.
20514 Remove unused gdbmi buffer type.
20516 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20518 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20519 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20521 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20523 * comint.el (comint-exec-1): Check command is non-null first.
20524 Part of gdb-mi.el change (2009-08-28).
20526 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20528 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20530 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20532 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20533 instead of `dolist' to avoid a recursive require when bootstrapping.
20535 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20537 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20539 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20541 * net/imap.el (imap-send-command): Simplify.
20542 (imap-wait-for-tag): point-max -> buffer-size.
20544 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20546 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20547 with constant argument.
20549 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20551 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20553 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20554 Change default, since most of our files don't have a history.
20555 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20558 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20561 * calc/calc.el: Improve commenting convention.
20562 (calc-digit-map, toplevel): Simplify.
20564 * comint.el (comint-insert-input): Be careful to only set point if we
20565 don't delegate to some other command.
20567 * proced.el (proced-signal-list): Make it an alist.
20568 (proced-grammar-alist): Capitalize names.
20569 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20570 Disable undo manually and make it read-only.
20571 Use completion-annotate-function.
20573 * minibuffer.el (minibuffer-message): If the current buffer is not
20574 a minibuffer, insert the message in the echo area rather than at the
20576 (completion-annotate-function): New variable.
20577 (minibuffer-completion-help): Use it.
20578 (completion--embedded-envvar-table): Environment vars are
20579 always case-sensitive.
20581 2009-08-30 Glenn Morris <rgm@gnu.org>
20583 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20584 from fortran-current-defun.
20585 (fortran-beginning-of-subprogram): Be more precise about finding the
20586 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20587 (fortran-end-of-subprogram): Simplify.
20588 (fortran-current-defun): Use fortran-start-prog-re.
20590 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20592 * subr.el (do-after-load-evaluation): Simplify.
20594 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20596 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20598 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20599 (vc-rcs-print-log): Use it.
20601 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20603 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20605 * paths.el (abbrev-file-name): Move to abbrev.el.
20606 * abbrev.el (abbrev-file-name): Move from paths.el.
20607 Obey user-emacs-directory.
20608 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20609 user-emacs-directory.
20610 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20611 abbrev-file-name and calc-settings-file any more.
20612 * startup.el (command-line): Recompute abbrev-file-name and
20613 abbreviated-home-dir.
20614 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20615 of the special code for when C-h bindings haven't been changed.
20616 (display-startup-echo-area-message): Use with-current-buffer.
20617 (command-line-1): Use a list of strings, rather than a list of lists
20618 of strings for longopts.
20620 * files.el (get-free-disk-space): Use / for default-directory.
20622 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20623 Use with-current-buffer.
20625 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20626 Recognize immutable variables like most-positive-fixnum.
20627 (byte-compile-setq-default): Check and warn if trying to assign
20628 to an immutable variable, or a non-variable.
20630 * progmodes/cc-vars.el (c-comment-continuation-stars):
20631 * progmodes/cc-engine.el (c-looking-at-bos):
20632 * progmodes/cc-cmds.el (c-toggle-auto-state)
20633 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20634 (c-comment-line-break-function): Add version of obsolescence.
20636 2009-08-28 Juri Linkov <juri@jurta.org>
20638 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20639 associated with `archive-mode'.
20641 * image.el (image-type-header-regexps): Use only JPEG magic number
20642 to determine JPEG images, and don't use `image-jpeg-p' because
20643 Emacs can display non-JFIF non-Exif JPEG images.
20645 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20647 * arc-mode.el (archive-mode):
20648 * emacs-lisp/re-builder.el (re-builder-unload-function):
20649 Protect against the default value of `major-mode' being nil.
20651 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20653 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20654 Fix typos in docstrings.
20656 * progmodes/js.el (js--macro-decl-re): Doc fix.
20657 (js--plain-method-re, js--split-name): Refloc docstring.
20658 (js--class-styles, js--make-merged-item, js--splice-into-items):
20659 Fix typos in docstrings; reflow docstrings.
20660 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20661 (js--variable-decl-matcher, js--inside-pitem-p)
20662 (js--parse-state-at-point, js--get-all-known-symbols)
20663 (js--symbol-history, js-find-symbol, js--js-references)
20664 (js--moz-interactor, js--js-encode-value, js--read-tab):
20665 Fix typos in docstrings.
20667 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20669 * textmodes/reftex.el (reftex-get-file-buffer-force):
20670 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20671 * emulation/viper.el (viper-go-away, viper-set-hooks):
20672 * emacs-lisp/re-builder.el (re-builder-unload-function):
20673 * emacs-lisp/bytecomp.el (byte-compile-file):
20674 * ses.el (ses-unload-function):
20675 * hexl.el (hexl-find-file):
20676 * files.el (normal-mode):
20677 * ehelp.el (with-electric-help):
20678 * autoinsert.el (auto-insert-alist):
20679 * arc-mode.el (archive-mode):
20680 Use (default-value 'major-mode) instead of default-major-mode.
20682 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20683 * international/mule.el (load-with-code-conversion):
20684 * emacs-lisp/debug.el (debug):
20685 * ediff-vers.el (ediff-rcs-get-output-buffer):
20686 * dired.el (dired-internal-noselect): Don't let-bind
20687 default-major-mode around code that doesn't use it.
20688 E.g. buffer creation via get-buffer-create doesn't use it.
20690 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20692 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20693 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20694 when writing the temp file. Otherwise, epa-file gets confused.
20695 (tramp-register-file-name-handlers): Make it a defun. Move also
20696 `epa-file-handler' to the front of `file-name-handler-alist'.
20698 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20700 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20701 start right after a ^M.
20702 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20703 (tramp-completion-file-name-regexp-separate)
20704 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20705 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20706 Don't modify last-coding-system-used by accident.
20707 (tramp-completion-file-name-handler): Apply the checks here,
20708 instead during registration.
20709 (tramp-register-file-name-handlers): Rename from
20710 `tramp-register-file-name-handler'. Register both
20711 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20712 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20714 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20716 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20717 Remove variable ...
20718 (gdb-init-1, gdb-display-separate-io-buffer)
20719 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20721 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20722 (gdb-inferior-filter): Use comint-output-filter to stop
20723 echoing and remove ^M characters.
20725 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20727 * emulation/viper-init.el (viper-restore-cursor-type):
20728 * emulation/cua-base.el (cua--update-indications):
20729 Replace default-cursor-type with (default-value 'cursor-type).
20731 * mail/sendmail.el (mail-recover-1):
20732 * international/mule-diag.el (describe-current-coding-system-briefly)
20733 (describe-current-coding-system):
20734 * international/mule-cmds.el (select-safe-coding-system)
20735 (select-message-coding-system)
20736 (set-language-environment-coding-systems, set-locale-environment):
20737 * hexl.el (hexl-insert-multibyte-char):
20738 * dos-w32.el (find-buffer-file-type-coding-system):
20739 * simple.el (what-cursor-position):
20740 Replace uses of default-buffer-file-coding-system
20741 with (default-value 'buffer-file-coding-system).
20743 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20744 Replace uses of default-cursor-in-non-selected-windows
20745 with (default-value 'cursor-in-non-selected-windows).
20746 Use with-current-buffer.
20748 * mail/feedmail.el: Use CL macros.
20749 (feedmail-run-the-queue, feedmail-send-it-immediately):
20750 * dos-w32.el (find-buffer-file-type): Replace uses of
20751 default-buffer-file-type with (default-value 'buffer-file-type).
20753 2009-08-28 Glenn Morris <rgm@gnu.org>
20755 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20756 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20757 Use default-value of major-mode rather than default-major-mode.
20759 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20761 * Makefile.in (update-elcfiles): Report left over elc files.
20763 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20764 expand-file-name and with-current-buffer.
20765 (mail-get-names, mail-directory): Use with-current-buffer.
20767 * vc.el (vc-read-revision): New function.
20768 (vc-version-diff, vc-merge): Use it.
20770 2009-08-27 Sam Steingold <sds@gnu.org>
20772 * simple.el (kill-do-not-save-duplicates): New user option.
20773 (kill-new): When it is non-nil, and the new string is the same as
20774 the latest kill, set replace to t to avoid duplicates in kill-ring.
20776 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20778 * net/tramp.el (tramp-handle-process-file): Do not flush all
20779 caches when `process-file-side-effects' is set.
20780 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20781 instead of `tramp-find-file-exists-command'.
20782 Unset `process-file-side-effects'.
20784 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20786 * net/tramp.el (tramp-methods): New method "rsyncc".
20787 (top): Add completion function for "rsyncc".
20788 (tramp-message-show-message): New defvar.
20789 (tramp-message, tramp-error): Use it.
20790 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20792 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20793 `tramp-methods' entry `copy-env' of "rsyncc".
20794 (tramp-vc-registered-read-file-names): New defconst.
20795 (tramp-vc-registered-file-names): New defvar.
20796 (tramp-handle-vc-registered): Implement optimization strategy.
20797 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20798 (tramp-vc-file-name-handler): New defun.
20799 (tramp-get-ls-command, tramp-get-test-command)
20800 (tramp-get-file-exists-command, tramp-get-remote-ln)
20801 (tramp-get-remote-perl, tramp-get-remote-stat)
20802 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20804 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20805 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20807 (tramp-get-file-property): Check for timestamps in
20808 `tramp-cache-inhibit-cache'.
20809 (tramp-set-file-property): Write timestamp.
20811 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20813 * language/japan-util.el (japanese-symbol-table): Add entries for
20816 * international/characters.el: Add category `j' to cp932-2-byte.
20818 2009-08-27 Kenichi Handa <handa@m17n.org>
20820 * international/fontset.el (build-default-fontset-data): New macro.
20821 (setup-default-fontset): Use build-default-fontset-data for CJK,
20822 tibetan, ethiopic, and ipa.
20824 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20826 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20827 (enable-multibyte-characters): Not customizable any more.
20829 * subr.el (default-mode-line-format, default-header-line-format)
20830 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20831 (default-direction-reversed, default-truncate-lines)
20832 (default-left-margin, default-tab-width, default-case-fold-search)
20833 (default-left-margin-width, default-right-margin-width)
20834 (default-left-fringe-width, default-right-fringe-width)
20835 (default-fringes-outside-margins, default-scroll-bar-width)
20836 (default-vertical-scroll-bar, default-indicate-empty-lines)
20837 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20838 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20839 (default-scroll-down-aggressively, default-fill-column)
20840 (default-cursor-type, default-buffer-file-type)
20841 (default-cursor-in-non-selected-windows)
20842 (default-buffer-file-coding-system, default-major-mode)
20843 (default-enable-multibyte-characters): Mark as obsolete.
20845 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20847 * vc-dir.el (vc-dir-update): Remove debug helper.
20849 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20851 2009-08-26 Sam Steingold <sds@gnu.org>
20853 * simple.el (save-interprogram-paste-before-kill): New user option.
20854 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20855 save the interprogram-paste into kill-ring before overriding it
20856 with the Emacs kill.
20858 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20860 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20861 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20862 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20863 and move to vc-rcs.el.
20864 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20866 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20867 (vc-rcs-update-changelog): Remove.
20868 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20869 and move to vc-rcs.el.
20871 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20872 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20874 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20875 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20876 vc.el, renamed to be RCS specific.
20878 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20880 (vc-cvs-update-changelog): Move here from vc.el.
20882 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20885 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20887 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20889 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20891 * vc-git.el (vc-git-register): Use "git add" for directories.
20892 (vc-git-stash, vc-git-stash-show): New functions.
20893 (vc-git-extra-menu-map): Bind them.
20895 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20896 directory correctly in case the item is a directory itself.
20898 * vc.el: Document the desired behavior for reverted files in the
20900 (vc-default-prettify-state-info): Remove function, unused.
20902 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20904 2009-08-26 Glenn Morris <rgm@gnu.org>
20906 * bindings.el (standard-mode-line-format): Reposition dashes in
20907 which-func entry. (Bug#4217)
20909 * files.el (enable-local-variables, enable-local-eval)
20910 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20912 (auto-mode-alist, ignored-local-variables)
20913 (save-some-buffers-action-alist): Move risky declarations to the
20915 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20916 (font-lock-defaults, format-alist, imenu--index-alist)
20917 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20918 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20919 (mode-line-modified, mode-line-mule-info, mode-line-position)
20920 (mode-line-process, mode-line-remote, outline-level)
20921 (parse-time-rules, rmail-output-file-alist)
20922 (special-display-buffer-names, vc-mode):
20923 Move risky declarations to the relevant files.
20924 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20925 (mode-line-modified, mode-line-process, mode-line-position)
20926 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20927 * font-core.el (font-lock-defaults):
20928 * format.el (format-alist):
20929 * vc-hooks.el (vc-mode):
20930 * window.el (special-display-buffer-names):
20931 * international/mule-cmds.el (input-method-alist):
20932 Define riskiness here (dumped file) rather than in files.el.
20933 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20934 * imenu.el (imenu-generic-expression, imenu--index-alist):
20935 * outline.el (outline-level):
20936 * time.el (display-time-string):
20937 * calendar/parse-time.el (parse-time-rules):
20938 * mail/rmailout.el (rmail-output-file-alist):
20939 Autoload riskiness here, rather than placing in files.el.
20941 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20943 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20945 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20947 * simple.el (process-file-side-effects): New defvar.
20949 * dired-aux.el (dired-show-file-type):
20950 * vc.el (vc-diff-internal):
20951 * vc-arch.el (vc-arch-diff):
20952 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20953 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20954 * vc-git.el (vc-git-registered, vc-git-working-revision)
20955 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20956 (vc-git--empty-db-p):
20957 * vc-hooks.el (vc-user-login-name):
20958 * vc-svn.el (vc-svn-registered, vc-svn-state)
20959 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20960 * progmodes/grep.el (grep-probe): Let-bind
20961 `process-file-side-effects' with nil.
20963 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20965 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20966 daemon. Replace ping by checking for running service for bluez
20967 and zeroconf. (Bug#4239)
20969 2009-08-25 Kevin Ryde <user42@zip.com.au>
20971 * net/dig.el (dig): Add autoload cookie.
20973 2009-08-25 Glenn Morris <rgm@gnu.org>
20975 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20976 load-history for absolute file-names.
20977 (byte-compile-file-form-require): Warn about use of the cl package.
20979 * format.el (format-alist): Doc fix.
20981 * play/bubbles.el (top-level): Don't require cl at run-time.
20983 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20986 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20988 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20990 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20992 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20994 * calc/calc-alg.el (math-trig-rewrite)
20995 (math-hyperbolic-trig-rewrite): New functions.
20996 (calc-simplify): Simplify trig functions when asked.
20998 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21000 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21002 2009-08-24 Kenichi Handa <handa@m17n.org>
21004 * language/ind-util.el (mapthread): Delete it.
21005 (combinatorial): New function.
21006 (indian--puthash-cv): Use combinatorial instead of mapthread.
21008 2009-08-22 Kevin Ryde <user42@zip.com.au>
21010 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21011 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21012 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21013 Clarify docstring that the value is strings not symbols.
21014 (checkdoc-list-of-strings-p): New function.
21016 2009-08-22 Glenn Morris <rgm@gnu.org>
21018 * files.el (auto-mode-alist):
21019 * hippie-exp.el (he-concat-directory-file-name):
21020 * lpr.el (lpr-windows-system, printer-name):
21021 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21022 * ps-print.el (ps-windows-system):
21023 * startup.el (command-line):
21024 * emulation/viper-ex.el (viper-glob-function):
21025 * international/mule-cmds.el (set-language-environment-coding-systems):
21026 * net/ange-ftp.el (ange-ftp-write-region):
21027 * obsolete/fast-lock.el (fast-lock-cache-name):
21028 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21029 unisoft-unix, vax-vms, win32, w32.
21031 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21032 given name if the pattern is not more specific.
21034 * calendar/lunar.el (lunar-phase-names): New option.
21035 (lunar-phase): Doc fix.
21036 (lunar-cycles-per-year): New constant.
21037 (lunar-index): New function.
21038 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21039 (lunar-phase-name): Use lunar-phase-names.
21040 (calendar-lunar-phases): Use format.
21041 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21043 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21044 Copy imenu-example--name-and-position function here for own use.
21045 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21047 * bs.el (bs--redisplay):
21048 * cus-edit.el (custom-redraw):
21049 * ibuffer.el (ibuffer-bury-buffer):
21050 * server.el (server-goto-line-column):
21051 * startup.el (command-line-1):
21052 * strokes.el (strokes-xpm-for-stroke):
21053 * term.el (term-display-buffer-line):
21054 * view.el (View-goto-line):
21055 * calc/calc.el (calc-do, calc-trail-buffer):
21056 * play/gamegrid.el (gamegrid-add-score-insecure):
21057 * progmodes/ada-mode.el (ada-compile-goto-error):
21058 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21059 (ebrowse-select-1st-to-9nth):
21060 * progmodes/cperl-mode.el (cperl-time-fontification):
21061 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21062 * progmodes/gud.el (gud-display-line):
21063 (idlwave-shell-display-line):
21064 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21065 * progmodes/make-mode.el (makefile-browser-toggle):
21066 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21067 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21068 * textmodes/picture.el (picture-draw-rectangle):
21069 * textmodes/reftex-index.el (reftex-index-goto-letter):
21070 (reftex-select-jump-to-previous):
21071 * textmodes/reftex-sel.el (reftex-find-start-point)
21072 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21073 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21074 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21075 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21076 * textmodes/two-column.el (2C-associated-buffer):
21077 Use forward-line rather than goto-line.
21079 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21082 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21083 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21084 (quick-check-list-to-regexp): Declare.
21086 * progmodes/make-mode.el (makefile-browser-insert-selection):
21087 Use goto-char rather than goto-line.
21089 * progmodes/prolog.el (compilation-error-regexp-alist)
21090 (compilation-forget-errors): Declare.
21092 2009-08-22 Juri Linkov <juri@jurta.org>
21094 * progmodes/grep.el (lgrep, rgrep): At the beginning
21095 set `dir' to `default-directory' unless `dir' is a non-nil
21096 readable directory. (Bug#4052)
21097 (lgrep, rgrep): Change a weird way to report an error
21098 from using `read-string' to using `error'.
21099 Instead of using interactive arguments in the function body,
21100 add new argument `confirm'.
21102 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21104 * textmodes/remember.el (remember-buffer):
21105 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21106 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21107 (icalendar-extract-ical-from-buffer):
21108 * net/newst-treeview.el (newsticker-groups-filename):
21109 * net/newst-backend.el (newsticker-cache-filename):
21110 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21111 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21112 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21113 (speedbar-buffers-line-path, speedbar-path-line)
21114 (speedbar-buffers-line-path):
21115 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21117 * epa.el (epa-display-verify-result):
21118 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21120 2009-08-21 Glenn Morris <rgm@gnu.org>
21122 * progmodes/js.el (inferior-moz-process): Fix declaration.
21124 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21126 * obsolete/rnewspost.el (news-mail-reply):
21127 Use goto-char rather than goto-line.
21129 * term/ns-win.el (ns-open-file-select-line):
21130 Use line-beginning-position rather than goto-line.
21132 * apropos.el (apropos-command):
21133 * ehelp.el (electric-helpify):
21134 * printing.el (pr-show-setup):
21135 * strokes.el (strokes-help):
21136 * tutorial.el (tutorial--describe-nonstandard-key)
21137 (tutorial--detailed-help):
21138 * woman.el (woman-mini-help, woman-display-extended-fonts):
21139 * calc/calc-help.el (calc-describe-key):
21140 * emulation/edt.el (edt-electric-helpify):
21141 * international/mule-diag.el (mule-diag):
21142 * play/yow.el (apropos-zippy):
21143 * progmodes/python.el (python-describe-symbol):
21144 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21145 * textmodes/table.el (*table--cell-describe-mode)
21146 (*table--cell-describe-bindings):
21147 Use help-print-return-message rather than the now obsolete alias.
21149 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21150 (calendar-cursor-to-visible-date):
21151 * play/5x5.el (5x5-position-cursor):
21152 * play/decipher.el (decipher):
21153 * play/gomoku.el (gomoku-goto-xy):
21154 * play/landmark.el (lm-goto-xy):
21155 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21156 (mpuz-paint-digit):
21157 Use forward-line, not goto-line.
21159 * mail/rmail.el (rmail-obsolete): Delete custom group.
21160 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21161 (rmail-remote-password, rmail-remote-password-required):
21162 Remove unneeded :set-after and :set properties.
21164 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21166 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21168 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21170 * loadup.el: Remove leftover macos code.
21172 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21173 Explicitly pass the date format to git blame so that user local
21174 so that the output format can be parsed.
21176 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21178 * net/dbus.el (top): Don't check for (getenv
21179 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21181 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21183 * log-edit.el (log-edit-strip-single-file-name): New var.
21184 (log-edit-insert-changelog): Use it. Bug#3571.
21186 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21188 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21191 * help.el (help-print-return-message): Rename from
21192 print-help-return-message.
21194 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21195 cvs-mode-map parent hack.
21196 (log-view-mode): Derive from special-mode.
21198 * linum.el (linum-mode): window-size-change-functions is redundant.
21199 Adapt to new window-configuration-change-hook behavior.
21200 (linum-after-size, linum-after-config): Remove.
21202 * imenu.el (imenu-example--name-and-position)
21203 (imenu-example--lisp-extract-index-name)
21204 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21207 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21208 (inferior-prolog-mode): Use it.
21209 (inferior-prolog-load-file): Reset list of errors.
21211 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21213 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21215 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21217 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21219 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21220 is running already.
21222 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21224 * subr.el (listify-key-sequence-1): Use normal syntax since those
21225 integers are nowadays always represented by the same (positive) number
21227 (read-key-empty-map): New const.
21228 (read-key-delay): New var.
21229 (read-key): New function.
21230 (force-mode-line-update): Use with-current-buffer.
21231 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21232 (start-process-shell-command, start-file-process-shell-command):
21233 Discourage the use of command-args.
21235 2009-08-19 Glenn Morris <rgm@gnu.org>
21237 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21239 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21241 * simple.el (choose-completion-string): Don't rely on
21242 minibuffer-completing-file-name and ad-hoc checks to decide whether
21243 to continue completion or not.
21245 * minibuffer.el (minibuffer-hide-completions): New function.
21246 (completion--do-completion): Use it.
21247 (completions-annotations): New face.
21248 (completion--insert-strings): Use it.
21249 (completion-pcm--delim-wild-regex): Add docstring.
21250 (completion-pcm--string->pattern): Add support for 0-width delimiters
21251 in completion-pcm--delim-wild-regex.
21253 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21255 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21256 Remove unused var `buffer-modified-p'.
21258 * minibuffer.el (completion--do-completion): Move point for the #b001
21259 case as well (bug#4176).
21260 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21262 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21264 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21265 and :session buses.
21267 2009-08-18 Kenichi Handa <handa@m17n.org>
21269 * international/ucs-normalize.el (ucs-normalize-version):
21271 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21272 (utf-8-hfs): Make it perform normalization on encoding too.
21274 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21275 (sentence-end-without-space): Delete duplicated chars.
21276 (sentence-end-base): Likewise.
21278 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21279 (html-mode): Delete duplicated chars from sentence-end-base.
21281 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21282 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21284 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21286 * files.el (hack-one-local-variable): If the mode function is for
21287 a minor mode, pass it an argument (Bug#4148).
21289 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21291 * net/tramp.el (tramp-register-completion-file-name-handler):
21292 Check also for (member 'partial-completion completion-styles).
21294 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21296 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21299 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21301 * progmodes/cperl-mode.el: Merge upstream 6.2.
21302 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21303 (cperl-forward-re): Check cperl-brace-recursing.
21304 (cperl-highlight-charclass): New function.
21305 (cperl-find-pods-heres): Use it.
21306 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21307 (cperl-beautify-regexp-piece): Fix column calculation.
21308 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21309 (cperl-beautify-level): Don't process entire regexp.
21310 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21312 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21313 (cperl-init-faces): Build a list in the normal way.
21315 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21317 * calendar/parse-time.el (parse-time-string-chars): Save match
21320 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21322 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21323 (sql-product): Use it.
21324 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21325 (sql-set-product): Add completion.
21326 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21327 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21328 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21329 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21330 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21331 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21332 (sql-highlight-db2-keywords): Remove.
21333 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21334 (sql-highlight-product): Use derived-mode-p.
21335 (sql-set-sqli-buffer): Use with-current-buffer.
21336 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21339 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21341 * term.el: Fix commenting convention, turn comments into docstrings.
21343 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21345 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21347 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21349 * calendar/parse-time.el (parse-time-string-chars): Compute using
21350 character classes, to handle non-ascii characters (Bug#3190).
21352 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21354 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21355 another heredoc if the user adds another < (Bug#3226).
21357 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21358 Don't initialize based on window-system (Bug#4124).
21360 * facemenu.el (facemenu-read-color): Use a completion function
21361 that accepts any defined color, such as RGB triplets (Bug#3677).
21363 * files.el (get-free-disk-space): Change fallback default
21364 directory to /. Expand DIR argument before switching to fallback.
21365 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21367 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21369 * files.el (load-library): Doc fix.
21371 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21373 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21374 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21375 incremental search string.
21377 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21380 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21381 (ediff-merge-region-is-non-clash)
21382 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21383 Also check if the job is really a merge job.
21385 * ediff.el (ediff-current-file): New function.
21387 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21389 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21391 (js-insert-and-indent): Delete function.
21392 (js-mode-map): Don't bind keys to js-insert-and-indent.
21393 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21394 (js-end-of-defun): Rename from js--end-of-defun.
21395 (js-auto-indent-flag): Delete variable.
21397 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21399 * progmodes/js.el: Remove proclaim statement.
21400 Defvar which-func-imenu-joiner-function to silence compiler.
21402 * files.el (auto-mode-alist): Use js-mode for .js files.
21404 * progmodes/js2-mode.el: Remove file.
21406 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21408 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21410 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21412 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21413 Karl Landstrom <karl.landstrom@brgeight.se>
21415 * progmodes/js.el: New file.
21417 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21419 * timezone.el (timezone-parse-date): Add ability to understand ISO
21420 basic format (minimal separators) dates in addition to the
21421 already-supported extended format dates.
21423 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21425 * international/ucs-normalize.el: Add a `coding' file variable.
21427 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21429 2009-08-14 Sam Steingold <sds@gnu.org>
21431 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21433 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21435 * faces.el (help-argument-name): Define it here instead of
21436 help-fns.el, because in daemon mode help-fns.el may be loaded when
21437 faces are still uninitialized (Bug#1078).
21439 * help-fns.el (help-argument-name): Move defface to faces.el.
21441 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21443 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21444 create buffer with a pty but no process so that GDB can make the
21445 inferior the controlling process.
21447 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21449 * international/ucs-normalize.el: New file.
21451 2009-08-13 Richard Stallman <rms@gnu.org>
21453 * mail/rmail.el (rmail-get-attr-names):
21454 Accept an attribute header that is too short.
21456 * mail/rmail.el (rmail-forget-messages):
21457 Ignore nil elt in rmail-message-vector. Use dotimes.
21459 * progmodes/compile.el (compilation-goto-locus):
21460 Use next-error-move-function.
21462 * simple.el (next-error-move-function): New variable.
21464 2009-08-12 Juri Linkov <juri@jurta.org>
21466 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21467 always non-nil. (Bug#4052)
21469 * replace.el (read-regexp): Return empty string when
21470 `default-value' is nil.
21471 (keep-lines-read-args): Don't use empty string as the
21472 default value for `read-regexp'. (Bug#2495)
21474 2009-08-12 Juri Linkov <juri@jurta.org>
21476 * international/mule-cmds.el (ucs-insert): Change arguments
21477 from `arg' to `character', `count', `inherit' to be the same
21478 as in `insert-char'. Doc fix. (Bug#4039)
21480 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21482 2009-08-12 Juri Linkov <juri@jurta.org>
21484 * files-x.el: New file.
21486 * files.el: Move code that deals with adding/deleting
21487 file/directory-local variables to files-x.el.
21489 * Makefile.in (ELCFILES): Add files-x.elc.
21491 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21493 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21494 to use `goto-line'.
21495 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21497 (gdb-invalidate-disassembly): Do not refresh upon receiving
21498 'update signal. Instead, update all disassembly buffers only after
21500 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21501 (gdb-starting): Move -data-list-register-names...
21502 (gdb-stopped): ...here so it's sent when first thread stops.
21503 (gdb-registers-handler-custom): Do nothing if register names are
21506 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21507 from `gdb-mi.el' to avoid extra tangling.
21509 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21510 change which breaks `gud-def' definitions used in `gdb'.
21511 (gdb-update-gud-running): No extra fuss for updating frame number.
21513 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21515 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21516 (describe-language-environment-map, setup-language-environment-map)
21517 (set-coding-system-map): Move initialization into declaration.
21518 (set-language-info-alist): Last arg to define-key-after can be skipped.
21520 * international/quail.el (quail-completion-1): Simplify.
21521 (quail-define-rules): Use slightly more compact code.
21522 (quail-insert-decode-map): Propertize keys, compact columns.
21524 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21527 2009-08-10 Miles Bader <miles@gnu.org>
21529 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21530 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21531 (js2-instance-member, js2-private-member, js2-private-function-call)
21532 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21533 (js2-magic-paren, js2-external-variable):
21534 Remove "-face" suffix from face names.
21535 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21536 (js2-highlight-undeclared-vars, js2-peek-token)
21537 (js2-parse-function-params, js2-mode-show-errors)
21538 (js2-mode-show-warnings, js2-make-magic-delimiter)
21539 (js2-mode-highlight-magic-parens): Update to use new face names.
21541 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21543 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21544 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21546 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21548 * subr.el: Provide hashtable-print-readable.
21550 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21551 hs-c-like-adjust-block-beginning.
21552 (hs-hide-block-at-point): Stop hiding at the beginning of
21553 hs-block-end-regexp (Bug#700).
21555 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21557 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21559 (gdb-registers-handler-custom): Do not fail when register names
21562 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21564 * progmodes/gdb-mi.el (gdb-control-all-threads)
21565 (gdb-control-current-thread): Interactive setters for
21566 `gdb-gud-control-all-threads' to use in menu.
21567 (gdb-show-run-p): Show «Go» when process is not active.
21568 (gud-tool-bar-map): Add non-stop/A,T indicator.
21569 Uses gud/thread.xpm and gud/all.xpm.
21571 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21573 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21574 (nslookup-font-lock-keywords): Make it a variable.
21575 (net-utils-mode): New mode for viewing diagnostic network output.
21576 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21577 (net-utils-run-simple): New function.
21578 (ifconfig, iwconfig, netstat, arp, route): Use it.
21580 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21582 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21583 (gdb-memory-set-address, def-gdb-set-positive-number)
21584 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21585 after changing settings.
21586 (gdb-invalidate-disassembly): Update when first shown.
21587 (gdb-edit-locals-value): Fix.
21588 (gdb-registers-handler-custom): Print registers in right order and
21589 allow changing register values (only for current thread yet).
21590 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21591 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21592 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21593 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21594 Thread info in mode name.
21595 (gdb-registers-mode-map): TAB to switch to locals.
21597 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21599 * mail/rmail.el (rmail-add-mbox-headers)
21600 (rmail-set-message-counters-counter): Search for
21601 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21603 2009-08-08 Glenn Morris <rgm@gnu.org>
21605 * Makefile.in (ELCFILES): Update.
21607 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21609 * mail/sendmail.el (mail-yank-original):
21610 Set buffer-file-coding-system from the one used by the message whose
21613 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21614 to "windows" when "pgnuplot" is used.
21615 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21616 Don't call accept-process-output if "pgnuplot" is used.
21617 (calc-graph-init): Don't send -display and -geometry to
21618 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21619 running "pgnuplot -V" with shell-command-to-string.
21621 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21624 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21626 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21629 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21631 * vc-dispatcher.el (vc-resynch-window): Update comment.
21633 * term.el (term-handle-ansi-escape): Add comments with the
21634 terminfo capabilities implemented.
21636 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21638 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21639 (gdb-var-create-handler): Rewritten using JSON parser.
21640 (gdb-propertize-header): Move earlier.
21641 (gdb-set-header): Remove to avoid duplication.
21642 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21643 Refresh disassembly buffers only after threads list have been
21645 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21648 2009-08-04 Juri Linkov <juri@jurta.org>
21650 * files.el: Commands to add/delete file/directory-local variables.
21651 (read-file-local-variable, read-file-local-variable-value)
21652 (read-file-local-variable-mode, modify-file-local-variable)
21653 (modify-file-local-variable-prop-line)
21654 (modify-dir-local-variable): New functions.
21655 (add-file-local-variable, delete-file-local-variable)
21656 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21657 (add-dir-local-variable, delete-dir-local-variable)
21658 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21659 (copy-dir-locals-to-file-locals-prop-line): New commands.
21661 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21663 * abbrev.el (insert-abbrev-table-description): Prettify output.
21664 Suggested by Karl Chen.
21666 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21668 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21669 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21670 (gdb-overlay-arrow-position, gdb-thread-position)
21671 (gdb-disassembly-position): Declare variables.
21672 (gdb-wait-for-pending): Function now.
21673 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21674 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21675 compilation goes smoothly.
21676 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21677 (gdb-non-stop-setting): New customization setting which replaces
21678 `gdb-non-stop' so changing it doesn't break active GDB session.
21679 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21680 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21681 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21682 (gdb-show-threads-by-default): New customization options.
21683 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21685 (gdb-get-buffer-create): Send buffers update signal when they are
21687 (gdb-invalidate-locals, gdb-invalidate-registers)
21688 (gdb-invalidate-breakpoints)
21689 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21690 (gdb-invalidate-memory): Accept update signal.
21691 (gdb-current-context-command): Use --frame option.
21692 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21693 Implement `gdb-frame-number' selection logic.
21694 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21695 whether to show GUD toolbar buttons.
21696 (gdb-thread-exited): Unselect current thread when it exits.
21697 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21698 (gdb-mark-line): Routine which sets overlay arrow or inverses
21699 video on fringeless displays.
21700 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21701 to build aligned columns of data in GDB buffers and set text
21702 properties line-by-line.
21703 (gdb-invalidate-breakpoints)
21704 (gdb-breakpoints-list-handler-custom)
21705 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21706 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21707 (gdb-registers-handler-custom): Align data columns.
21708 (gdb-locals-handler-custom): Now prints data like in variable
21710 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21711 Remove confusing buttons.
21712 (gdb-invalidate-threads): Append --frame.
21713 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21714 between breakpoints/threads buffers.
21715 (gdb-set-window-buffer): Now can ignore dedicated windows.
21716 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21717 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21718 (def-gdb-thread-buffer-gud-command): Replaces
21719 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21720 for fine thread control.
21721 (gdb-preempt-existing-or-display-buffer): New function used to
21722 display bound buffers without breaking window layout.
21723 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21724 (gdb-select-frame): New version of `gdb-frames-select' which now
21725 sets `gdb-frame-number' so commands may use --frame option instead
21726 of inner debugger state.
21727 (gdb-frame-handler): Do not set `gdb-frame-number'.
21728 (gdb-threads-mode-map): Select threads with mouse.
21730 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21731 avoid compilation warning.
21732 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21735 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21736 Argument `key' renamed to `buffer-type'.
21737 (gdb-current-context-buffer-name): Do not add thread info to
21738 buffer name when no thread is selected.
21739 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21740 command (bug 3794).
21741 (gdb-thread-selected): Handle `=thread-selected' notification.
21742 (gdb-wait-for-pending): New macro to deal with congestion problems.
21743 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21745 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21746 This fixes problem similar to one described in bug 3947.
21747 (gud-menu-map): More menu items.
21748 (gdb-init-1): Reset `gdb-thread-number' to nil.
21750 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21753 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21754 (gdb-current-context-command): Do not append --thread if
21755 `gdb-thread-number' is nil.
21756 (gdb-running-threads-count, gdb-stopped-threads-count):
21758 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21759 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21760 New customization options.
21761 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21763 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21764 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21765 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21766 set `gdb-thread-number' and update `gud-running' properly.
21767 (gdb-running): Update threads list when new threads appear.
21768 (gdb-stopped): Support non-stop operation and new thread switching
21770 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21771 (gdb-json-partial-output): New set of JSON routines.
21772 (def-gdb-auto-update-trigger): New `signal-list' optional
21774 (gdb-thread-list-handler-custom): Update `gud-running',
21775 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21776 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21777 (gdb-continue-thread, gdb-step-thread): New commands for fine
21778 thread execution control.
21779 (gud-menu-map): New menu items to switch non-stop options.
21780 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21781 (gdb-send): Mimic RET properly (bug 3794).
21783 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21784 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21786 (def-gdb-auto-update-handler): New nopreserve optional argument.
21787 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21789 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21790 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21791 (gdb-parent-mode): New mode to derive other GDB modes from.
21792 (gdb-display-disassembly-for-thread)
21793 (gdb-frame-disassembly-for-thread): New commands for threads
21796 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21797 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21798 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21799 (gdb-update): We now store all GDB buffers in a list so that they
21800 can be updated by traversing a list instead of calling invalidate
21801 triggers explicitly.
21802 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21803 pair for GDB buffer.
21804 (gdb-stack-buffer-name): Add thread information.
21805 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21806 handle pending triggers.
21807 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21808 (def-gdb-thread-buffer-simple-command)
21809 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21810 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21811 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21812 New commands which show buffers bound to thread.
21813 (gdb-stack-list-locals-regexp): Remove unused regexp.
21815 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21816 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21817 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21818 to (gud-comint-buffer) in *-buffer-name functions
21819 because (gdb-get-target-string) already does that.
21820 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21821 (gdb-changed-registers-handler): Rewritten without regexps.
21823 * progmodes/gdb-mi.el: Basic thread selection support.
21824 (gdb-thread-number): New variable.
21825 (gdb-current-context-command): New macro which adds --thread
21827 (gdb-threads-mode-map): Select thread with SPC.
21828 (gdb-thread-list-handler-custom): Mark current thread with overlay
21829 arrow. Synchronize GDB thread and Emacs thread.
21830 (gdb-select-thread): New command which selects current thread.
21831 (gdb-invalidate-frames, gdb-invalidate-locals)
21832 (gdb-invalidate-registers): Use --thread option.
21834 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21836 * net/tramp.el (top): Make check for tramp-gvfs loading more
21838 (tramp-handle-insert-file-contents): `unwind-protect' must be
21839 inside `with-parsed-tramp-file-name'.
21841 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21844 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21846 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21847 directory if CLASSPATH is not set.
21849 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21851 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21853 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21855 2009-08-02 Kevin Ryde <user42@zip.com.au>
21857 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21858 Update freshmeat link. Delete newsforge.com as it seems gone.
21860 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21862 * select.el (x-set-selection): Doc fix (Bug#4021).
21864 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21866 * help-fns.el (describe-variable): Treat list return values from
21867 dir-locals-find-file properly (Bug#4005).
21869 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21871 * net/tramp.el (tramp-debug-message): Print also microseconds.
21873 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21875 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21877 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21878 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21881 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21882 (tramp-get-file-property): Use it.
21884 * autorevert.el (auto-revert-handler):
21885 Allow `auto-revert-tail-mode' for remote files.
21887 2009-08-02 Jason Rumney <jasonr@gnu.org>
21889 * minibuffer.el (read-file-name): Treat confirm options to
21890 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21892 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21894 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21895 (font-lock-variable-name-face, font-lock-constant-face):
21896 Darken the colors for light backgrounds.
21898 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21900 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21901 month names. (Bug#3987)
21903 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21905 * simple.el (line-move-finish): Pass whole number to
21906 line-move-to-column.
21907 (line-move-visual): Perform hscroll to the recorded position.
21909 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21911 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21913 2009-07-29 Alan Mackenzie <acm@muc.de>
21915 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21917 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21919 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21920 (gdb-place-breakpoints): Use full path when setting breakpoints.
21922 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21924 * calc/calc.el (calc-mode-map): Add keybinding for
21925 `calc-transpose-lines'.
21927 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21929 * calc/calc-misc.el (calc-transpose-lines): New function.
21931 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21933 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21934 Simplify check for out-of-band methods.
21935 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21936 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21938 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21940 * vc-git.el (vc-git-checkin): Fix typo.
21942 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21944 * progmodes/js2-mode.el: New file.
21946 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21948 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21949 (gud-menu-map): Adjust tooltip accordingly.
21951 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21953 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21954 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21956 * add-log.el (change-log-mode-map): Add a menu.
21958 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21960 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21961 function returns nil.
21962 (dbus-handle-event): Handle special return value :ignore.
21963 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21965 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21967 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21970 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21974 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21976 * term/pc-win.el (x-display-name, x-colors)
21977 (x-select-enable-clipboard, x-select-text): Doc fix.
21979 * term/common-win.el (x-display-name, x-colors): Doc fix.
21981 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21982 (xw-defined-colors): Doc fix.
21984 * w32-fns.el (x-select-text, x-setup-function-keys)
21985 (x-get-selection, x-set-selection): Doc fix.
21987 * term/x-win.el (x-select-text, x-setup-function-keys)
21988 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21990 * select.el (x-set-selection): Doc fix.
21992 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21994 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21995 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21996 "IsNSSSupportAvailable" method is not available.
21997 Reported by Steve Youngs <steve@sxemacs.org>.
21999 2009-07-24 Kenichi Handa <handa@m17n.org>
22001 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22002 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22003 (build-unicode-category-table): Fix range checks.
22005 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22007 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22008 the buffer we try to sync is current when calling
22011 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22012 not show up to date files.
22014 2009-07-24 Glenn Morris <rgm@gnu.org>
22016 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22017 Add autoload cookies. If necessary, initialize.
22018 (elint-log): Handle non-file buffers.
22019 (elint-initialize): Add optional argument to reinitialize.
22020 (elint-find-builtin-variables): Save excursion.
22022 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22024 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22027 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22029 * vc.el (vc-print-log-internal): New function, split out from ...
22030 (vc-print-log): ... here.
22031 (vc-dir-move-to-goal-column): Declare.
22033 * vc-git.el (vc-git-add-signoff): New variable.
22034 (vc-git-checkin): Use it.
22035 (vc-git-toggle-signoff): New function.
22036 (vc-git-extra-menu-map): Bind it to menu.
22037 (vc-git--run-command-string): Accept a nil FILE argument.
22038 (vc-git-stash-list): New function.
22039 (vc-git-dir-extra-headers): Use it.
22041 2009-07-23 Glenn Morris <rgm@gnu.org>
22043 * help-fns.el (describe-variable): Describe ignored and risky local
22044 variables in a similar way to that in which we describe safe ones.
22046 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22047 (byte-compile-output-file-form, byte-compile-output-docform)
22048 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22049 Give some more local variables with common names a "bytecomp-" prefix,
22050 so as not to shadow things during compilation.
22051 * emacs-lisp/cl-macs.el (load-time-value)
22052 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22053 `outbuffer' to `bytecomp-outbuffer'.
22055 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22056 since the next two variables cover them automatically now.
22057 (elint-builtin-variables, elint-autoloaded-variables): New.
22058 (elint-unknown-builtin-args): Remove all members, since they can be
22059 parsed automatically now.
22060 (elint-extra-errors): New.
22061 (elint-env-add-env, elint-env-add-macro): Use cadr.
22062 (elint-current-buffer): Use or. Change final message.
22063 (elint-get-top-forms): Use line-end-position.
22064 (elint-init-env): Use cadr. Handle autoload, declare-function,
22066 (elint-add-required-env): Doc fix. Use or. Standardize error.
22067 (regexp-assoc): Remove unused function.
22068 (elint-top-form): Set elint-current-pos, to record the start of the
22069 top-level form, for compilation-mode.
22070 (elint-form): Trap errors in macro expansion. Use dolist.
22071 (elint-unbound-variable): Use elint-builtin-variables and
22072 elint-autoloaded-variables.
22073 (elint-get-args): Use cadr, or.
22074 (elint-check-cond-form): Use dolist, cadr.
22075 (elint-check-condition-case-form): Doc fix. Use cadr.
22076 Use elint-extra-errors.
22077 (elint-log): New function.
22078 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22079 Distinguish errors and warnings.
22080 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22081 Use a bytecomp-style format.
22082 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22083 (elint-get-log-buffer): Use compilation mode. Disable undo.
22084 Don't truncate lines.
22085 (elint-initialize): Set builtin and autoloaded variable lists.
22086 Only process elint-unknown-builtin-args if non-nil.
22087 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22089 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22091 2009-07-22 Kevin Ryde <user42@zip.com.au>
22093 * net/newst-backend.el (newsticker--parse-atom-1.0)
22094 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22095 (newsticker--parse-rss-1.0):
22096 * progmodes/idlwave.el (idlwave-mode):
22097 * progmodes/idlw-shell.el (idlwave-shell-mode):
22098 * progmodes/vera-mode.el (vera-mode):
22099 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22100 * progmodes/vhdl-mode.el (vhdl-mode):
22101 * textmodes/table.el (table-generate-source)
22102 (table--warn-incompatibility):
22103 Hyperlink urls in docstrings with URL `...'.
22105 2009-07-22 Glenn Morris <rgm@gnu.org>
22107 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22108 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22109 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22110 Remove leading * from defcustom docs.
22112 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22114 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22116 (list-load-path-shadows): Optionally, just return shadows as a string.
22118 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22120 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22122 * mail/rmailedit.el (rmail-edit-mode):
22123 Use auto-save-include-big-deletions.
22125 * mail/rmail.el (rmail-variables):
22126 Use auto-save-include-big-deletions.
22128 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22131 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22133 * calc/calc.el (calc-undo-length): New variable.
22134 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22136 2009-07-21 Richard Stallman <rms@gnu.org>
22138 * files.el (auto-save-mode): Handle buffer-save-size = -2
22141 2009-07-21 Glenn Morris <rgm@gnu.org>
22143 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22145 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22147 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22148 silence compiler. Instead...
22149 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22150 (ps-print-ensure-fontified): Update for above function name changes.
22152 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22153 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22154 silence compiler. Instead...
22155 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22156 (mh-show-buffer): Only define for compiler.
22157 (pr-mh-current-message): Update for above function name changes.
22159 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22161 (find-file-noselect, insert-file-1): Update for above change.
22163 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22165 * mail/mailclient.el (mailclient-send-it): Fix message.
22167 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22168 (edebug-eval): Check cl-debug-env is bound.
22169 (print-level, print-circle): Don't redefine built-in variables.
22171 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22172 (custom-print-vectors): Remove old comments from doc.
22174 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22175 (emerge-version): Make the variable an obsolete alias for the
22176 emacs-version variable. Make the function obsolete.
22177 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22178 Emerge options, rather than merging in into the main Options menu.
22179 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22180 and auto advance modes. Disable edit/fast items when not relevant.
22182 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22184 * term/vt420.el (terminal-init-vt420): Fix typo.
22186 2009-07-20 Sam Steingold <sds@gnu.org>
22188 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22189 variable (removed from compile.el on 2004-03-11).
22191 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22193 * files.el (hack-local-variables-filter): Fix last change.
22195 2009-07-19 Juri Linkov <juri@jurta.org>
22197 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22198 (dir-local-variables-alist): New buffer-local variable.
22199 (hack-local-variables-filter): If variable is not dir-local,
22200 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22201 because file-local overrides dir-local.
22202 (c-postprocess-file-styles) <declare-function>:
22203 Remove obsolete declaration.
22204 (hack-dir-local-variables): Add dir-local variable/value pair to
22205 `dir-local-variables-alist' and remove duplicates. Doc fix.
22207 * help-fns.el (describe-variable): Add information about
22208 file-local and dir-local variables.
22210 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22212 * files.el (hack-local-variables-filter): Rewrite.
22214 2009-07-19 Glenn Morris <rgm@gnu.org>
22216 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22217 Silence compiler by only defining on XEmacs.
22219 * international/mule.el (auto-coding-regexp-alist): Only match
22220 BABYL... at the start of buffer, not of lines. (Bug#3790)
22222 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22223 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22224 (cal-menu-context-mouse-menu): Doc fix.
22226 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22228 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22230 2009-07-18 Juri Linkov <juri@jurta.org>
22232 * info.el: Virtual Info keyword finder.
22233 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22234 (Info-finder-file): New variable.
22235 (Info-finder-find-file): New function.
22236 (finder-known-keywords, finder-package-info)
22237 (find-library-name, lm-commentary): Use defvar and
22238 declare-function to silence compiler warnings.
22239 (Info-finder-find-node): New function.
22240 (info-finder): New command.
22242 * subr.el (process-kill-buffer-query-function): New function.
22243 (add-hook)<kill-buffer-query-functions>: Add hook
22244 `process-kill-buffer-query-function'.
22246 2009-07-18 Alan Mackenzie <acm@muc.de>
22248 * progmodes/cc-mode.el (c-before-hack-hook)
22249 (c-postprocess-file-styles): Give invocation of `c-set-style'
22250 DONT-OVERRIDE parameter of t. Already set style variables will
22251 thus not be overridden by style settings given by `c-file-syle'.
22253 * files.el (hack-local-variables-filter): Remove entries with
22254 duplicate keys from `file-local-variables-alist'.
22256 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22258 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22259 x-set-selection if display-selections-p returns nil for the
22262 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22264 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22266 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22268 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22269 Accept nil in addition to a regexp.
22270 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22271 Accept nil in addition to a regexp.
22272 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22273 buffers that have an associated file. Handle nil values of
22274 desktop-buffers-not-to-save and desktop-files-not-to-save.
22277 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22278 (x-disown-selection-internal): New functions.
22280 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22282 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22284 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22285 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22287 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22289 * simple.el (set-mark): Revert last change.
22291 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22293 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22294 rendering of pngs is not possible instead of messaging a long
22297 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22299 * w32-fns.el (x-selection-owner-p): New function.
22301 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22302 (mouse-yank-at-click, mouse-yank-primary):
22303 If select-active-regions is non-nil, deactivate the mark before
22306 * simple.el (deactivate-mark, set-mark): Only save selection if we
22309 2009-07-17 Kenichi Handa <handa@m17n.org>
22311 * case-table.el (describe-buffer-case-table): Fix for the case
22312 that KEY is a cons.
22314 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22316 * vc-rcs.el (vc-rcs-find-file-hook):
22317 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22319 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22321 * net/tramp.el (tramp-wait-for-output): Handle the case when
22322 commands do not return a newline but a null byte before the shell
22325 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22327 * term/ns-win.el (ns-set-alpha): Don't declare.
22328 (ns-set-background-alpha): Remove function.
22330 2009-07-16 Kevin Ryde <user42@zip.com.au>
22332 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22333 y-or-n-p, for safety.
22335 2009-07-16 Richard Stallman <rms@gnu.org>
22337 * files.el (auto-save-mode): If buffer-saved-size is -2,
22340 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22341 (rmail-retry-ignored-headers): Add more uninteresting fields.
22343 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22345 * net/rcirc.el (rcirc): Use history variables.
22346 (rcirc-server-name-history, rcirc-nick-name-history)
22347 (rcirc-server-port-history): New variables.
22349 2009-07-15 Kenichi Handa <handa@m17n.org>
22351 * international/mule-cmds.el (set-language-environment-charset):
22352 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22355 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22356 Delete unibyte-display.
22358 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22360 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22362 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22364 * simple.el (deactivate-mark): Optional argument FORCE.
22365 (set-mark): Use deactivate-mark.
22367 * info.el (Info-search): No need to check transient-mark-mode
22368 before calling deactivate-mark.
22370 * select.el (x-set-selection): Doc fix.
22371 (x-valid-simple-selection-p): Allow buffer values.
22372 (xselect--selection-bounds): Handle buffer values.
22373 Suggested by David De La Harpe Golden.
22375 * mouse.el (mouse-set-region, mouse-drag-track):
22376 Call copy-region-as-kill before setting the mark, to let
22377 select-active-regions work.
22379 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22381 * simple.el (deactivate-mark): If select-active-regions is
22382 non-nil, copy the selection data into a string.
22383 (activate-mark): If select-active-regions is non-nil, set the
22384 selection to the current buffer.
22385 (set-mark): Update selection if select-active-regions is non-nil.
22387 * select.el (x-valid-simple-selection-p): Allow buffer values.
22389 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22391 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22392 and more featureful message-mode.
22394 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22396 * select.el (x-set-selection): Doc fix.
22397 (x-valid-simple-selection-p): Disallow selection data consisting
22398 of a list or cons of integers, since that is not used.
22399 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22400 (xselect-convert-to-string, xselect-convert-to-length)
22401 (xselect-convert-to-filename, xselect-convert-to-charpos)
22402 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22404 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22406 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22407 output in -break-info command (Emacs bug #3794).
22409 2009-07-14 Glenn Morris <rgm@gnu.org>
22411 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22412 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22413 (edebug-print-length, edebug-print-level, edebug-print-circle)
22414 (edebug-sit-for-seconds, edebug-view-outside)
22415 (edebug-bounce-point, edebug-set-global-break-condition)
22416 (edebug-Go-nonstop-mode, edebug-trace-mode)
22417 (edebug-Trace-fast-mode, edebug-continue-mode)
22418 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22419 (edebug-visit-eval-list): Doc fixes.
22421 * subr.el (def-edebug-spec): Doc fix.
22423 2009-07-14 Kenichi Handa <handa@m17n.org>
22425 * international/characters.el: Fix setting of category ?C.
22427 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22429 * term/ns-win.el (x-select-font): defalias x-select-font to
22430 ns-popup-font-panel instead of generate-fontset-menu.
22432 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22434 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22436 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22438 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22439 the PK\003\004 header (Bug#3770).
22441 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22443 * pcomplete.el (pcomplete-comint-setup): Check for
22444 shell-dynamic-complete-filename too.
22446 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22448 * simple.el (temporary-goal-column): Change the value for
22449 line-move-visual to a cons cell.
22450 (line-move-visual): Record or set the window hscroll, if
22451 necessary (Bug#3494).
22452 (line-move-1): Handle cons value of temporary-goal-column.
22454 2009-07-11 Kenichi Handa <handa@m17n.org>
22456 * international/mule-diag.el (describe-character-set): Don't show
22459 2009-07-10 Sam Steingold <sds@gnu.org>
22461 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22462 Omake sometimes indents the errors it prints, so allow all
22463 regexps to start with spaces.
22465 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22467 * cus-edit.el (customize-changed-options-previous-release):
22468 Bump value to 22.1. (Bug#3804)
22470 2009-07-08 Sam Steingold <sds@gnu.org>
22472 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22473 to be a cons cell (test . ignored-directory) to selectively ignore
22474 some directories depending on the location of the search.
22476 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22478 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22479 remote user is root, on the local host.
22480 (tramp-local-host-p): Either the local user or the remote user
22481 must be root. (Bug#3771)
22483 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22485 * progmodes/gdb-mi.el (gdb): Remove description of
22486 gdb-use-separate-io-buffer.
22487 (menu): Don't allow toggling of or enable
22488 gdb-use-separate-io-buffer from menubar.
22490 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22492 * mail/unrmail.el (unrmail): Make sure the message ends with two
22493 newlines (Bug#3769).
22495 2009-07-08 Glenn Morris <rgm@gnu.org>
22497 * calendar/calendar.el (calendar-current-date): Rework previous change.
22499 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22501 * calendar/calendar.el (calendar-current-date):
22502 Add an optional argument giving an offset from today.
22504 2009-07-08 Glenn Morris <rgm@gnu.org>
22506 * tutorial.el (tutorial--describe-nonstandard-key):
22507 Adjust the message for when a key has been unbound.
22508 (help-with-tutorial): Hide the arch-tag.
22510 2009-07-08 Kenichi Handa <handa@m17n.org>
22512 * international/fontset.el (setup-default-fontset): For each
22513 script, append (not set) font-specs.
22515 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22518 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22520 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22521 -data-list-register-names to ...
22522 (gdb-starting): ... here because GDB 7.0 requires execution to
22523 have started when using this MI command.
22524 (gdb-set-header): New function to distinguish select and
22525 unselected tabs in gdb buffers.
22526 (gdb-propertize-header): New macro that uses gdb-set-header.
22527 (gdb-breakpoints-header, gdb-locals-header): Use it.
22528 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22530 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22532 * Makefile.in (ELCFILES): Remove fadr.elc.
22534 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22536 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22537 may contain frame information, so `string-match' should be used.
22538 (gdb-update): Disassembly is invalidated through
22539 `gdb-get-selected-frame'.
22540 (gdb-pad-string): New function to pad string with spaces.
22541 (gdb-invalidate-disassembly): Invalidate only if the buffer
22543 (gdb-disassembly-handler-custom): Column alignment.
22544 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22546 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22548 (gdb-frame-handler): Match convention to for disassembly buffer
22550 (gdb-stack-list-frames-handler): Rewritten without regexps.
22551 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22552 not highlight breakpoints without line information.
22553 (gdb-input): Add trailing newline to command.
22555 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22557 (gdb-breakpoints-list-handler-custom): Replacement for
22558 `gdb-break-list-handler'. Using real parser instead of regexps
22560 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22561 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22562 to place breakpoints.
22563 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22565 (gdb-disassembly-handler-custom): Show overlay arrow.
22566 (gdb-disassembly-place-breakpoints): Show breakpoints in
22567 disassembly buffer.
22568 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22569 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22570 instead of parsing breakpoints buffer. Fixed old menu references
22575 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22576 (gdb-memory-address): New variable which holds top address of
22577 memory page shown in memory buffer.
22578 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22579 New customization variables.
22581 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22582 display the memory buffer.
22583 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22584 buffer display parameters.
22585 (def-gdb-memory-format, gdb-memory-format-binary)
22586 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22587 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22588 Functions for setting memory buffer format.
22589 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22590 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22591 unit size used in memory buffer.
22592 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22593 Switch to next/previous page of memory buffer.
22594 Now using (bindat-get-field) instead of fadr functions.
22596 2009-07-07 Sam Steingold <sds@gnu.org>
22598 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22599 non-top-level files.
22601 2009-07-07 Kenichi Handa <handa@m17n.org>
22603 * international/mule-cmds.el (reset-language-environment):
22604 Put the highset priority to the charset iso-8859-1.
22606 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22608 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22609 to the end of the line when locating the block (Bug#700).
22611 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22613 * net/tramp.el (tramp-handle-write-region): Flush file properties
22614 in case of short track.
22616 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22618 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22619 Coded custom representation of verilog error regular expressions
22620 to work with Emacs-22's new format.
22621 (verilog-error-regexp-xemacs-alist): Coded custom representation
22622 of verilog error regular expressions to work with XEmacs format.
22623 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22624 error recognition into XEmacs.
22625 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22626 error recognition into Emacs-22.
22628 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22630 * woman.el: Remove stand-alone closing parentheses.
22631 (woman-file-name, woman2-format-paragraphs)
22632 (woman-leave-blank-lines): Code cleanup.
22633 (woman-use-own-frame): Change default to nil.
22634 (woman-italic, woman-bold, woman-unknown, woman-addition):
22635 Change defaults to inherit from default faces.
22636 (woman2-process-escapes): Consume the newline after a stand-alone
22637 filler character (Bug#3651).
22639 2009-07-06 Glenn Morris <rgm@gnu.org>
22641 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22642 (top-level): Move provide to the end.
22643 (ffap): Remove defunct URL from custom group.
22645 * subr.el (eval-after-load): Doc fix.
22647 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22649 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22650 `calc-embedded-word' is called twice.
22652 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22654 * files.el (find-alternate-file-other-window, find-alternate-file):
22655 Obey confirm-nonexistent-file-or-buffer.
22657 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22659 * dired-aux.el (dired-show-file-type): Handle remote files.
22661 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22663 * desktop.el (desktop-globals-to-save):
22664 Add file-name-history (Bug#2750).
22666 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22668 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22670 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22672 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22673 property on entire argument since this is what eshell-lisp-command
22676 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22678 * net/tramp-gvfs.el (tramp-gvfs-methods)
22679 (tramp-gvfs-zeroconf-domain)
22680 (tramp-bluez-discover-devices-timeout): Add version flag.
22681 (tramp-gvfs-handler-mounted-unmounted)
22682 (tramp-gvfs-connection-mounted-p): Polish handling of
22683 incompatibilities between GVFS 0.2 and 1.0.
22685 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22687 * cus-start.el (all): Add make-pointer-invisible.
22689 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22691 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22692 formatted correctly.
22694 2009-07-02 Juri Linkov <juri@jurta.org>
22696 * info.el: Virtual Info files and nodes.
22697 (Info-virtual-files, Info-virtual-nodes): New variables.
22698 (Info-current-node-virtual): New variable.
22699 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22701 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22702 to check for a virtual file instead of checking a fixed list
22704 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22705 instead of ad-hoc processing of "dir" and (apropos history toc).
22706 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22707 instead of ad-hoc processing of "dir" and (apropos history toc).
22708 Reread a file when moving from a virtual node.
22709 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22710 (Info-directory-toc-nodes, Info-directory-find-file)
22711 (Info-directory-find-node): New functions.
22712 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22713 (Info-history): Move part of code to
22714 `Info-history-find-node'.
22715 (Info-history-toc-nodes, Info-history-find-file)
22716 (Info-history-find-node): New functions.
22717 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22718 (Info-toc): Move part of code to `Info-toc-find-node'.
22719 (Info-toc-find-node): New function.
22720 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22721 the current Info file name to references because now the node
22722 "*TOC*" belongs to the same Info manual.
22723 (Info-toc-build): Rename from `Info-build-toc'.
22724 (Info-toc-nodes): Rename input argument `file' to `filename'.
22725 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22726 instead of ad-hoc processing of ("dir" apropos history toc).
22727 (Info-index-nodes): Use Info-virtual-file-p
22728 to check for a virtual file instead of checking a fixed list
22730 (Info-index-node): Add check for `Info-current-node-virtual'.
22731 Raise `save-match-data' higher up the tree to contain
22732 `search-forward' too (bug fix).
22733 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22734 (Info-virtual-index-nodes): New variable.
22735 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22736 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22737 (Info-apropos-file, Info-apropos-nodes): New variables.
22738 (Info-apropos-toc-nodes, Info-apropos-find-file)
22739 (Info-apropos-find-node, Info-apropos-matches): New functions.
22740 (info-apropos): Move part of code to `Info-apropos-find-node' and
22741 `Info-apropos-matches'.
22742 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22743 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22744 for a virtual file instead of checking a fixed list of node names.
22746 * simple.el (async-shell-command): New command.
22748 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22750 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22751 instead of `mount-info'.
22753 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22755 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22756 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22758 2009-07-02 Kenichi Handa <handa@m17n.org>
22760 * international/mule.el (set-keyboard-coding-system): Force *-unix
22761 coding-system to avoid eol conversion.
22763 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22765 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22766 Add handler for `process-file', `shell-command' and
22767 `start-file-process'.
22768 (tramp-gvfs-handle-shell-command)
22769 (tramp-gvfs-handle-start-file-process)
22770 (tramp-gvfs-handle-process-file): New defuns.
22771 (tramp-synce-list-devices): Simplify check for existence of property.
22773 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22775 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22777 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22779 * language/korean.el (set-language-info-alist): Add korean-cp949,
22782 2009-07-01 Kenichi Handa <handa@m17n.org>
22784 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22786 * international/encoded-kb.el: Deleted.
22788 * international/mule.el (set-keyboard-coding-system): Perform the
22789 necessary setup here instead of calling encoded-kbd-setup-display.
22791 2009-07-01 Glenn Morris <rgm@gnu.org>
22793 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22795 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22797 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22799 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22801 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22802 Handle also the 'rename case, when setting file modes. (Bug#3712)
22803 (tramp-default-file-modes): Remove execute permissions.
22805 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22806 (top): Add a default for "synce" in `tramp-default-user-alist'.
22807 Add completion function for "synce" method.
22808 (tramp-hal-service, tramp-hal-path-manager)
22809 (tramp-hal-interface-manager, tramp-hal-interface-device):
22811 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22812 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22815 * net/trampver.el: Update release number.
22817 2009-06-30 Kenichi Handa <handa@m17n.org>
22819 * international/fontset.el (setup-default-fontset): Add CJK fonts
22820 for symbols and the other miscellaneous characters.
22822 * language/korea-util.el (setup-korean-environment-internal):
22823 Make char-width-table suitable for Korean environments.
22824 (exit-korean-environment): Cancel above.
22826 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22827 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22828 setup-function to make char-width-table suitable for respective
22829 environments, and an exit-function to cancel that.
22831 * language/japan-util.el (setup-japanese-environment-internal):
22832 Call use-cjk-char-width-table with arg `ja_JP'.
22834 * international/characters.el (cjk-char-width-table): Delete it.
22835 (cjk-char-width-table-list): New variable.
22836 (use-cjk-char-width-table): New arg local-name.
22837 (use-default-char-width-table): Fix for the case that Emacs is
22838 already using the default char-width-table.
22840 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22842 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22843 modes mandatory. (Bug#3712)
22845 2009-06-29 Alan Mackenzie <acm@muc.de>
22847 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22848 correction between the visible width of TABs and their number of bytes.
22850 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22852 * server.el (server-buffer-done): Prevent kill-buffer from
22853 prompting by clearing the buffer modification flag (Bug#3696).
22855 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22857 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22858 (verilog-endcomment-reason-re): Support unique case and priority case.
22859 (verilog-basic-complete-re): Support localparam lineup.
22860 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22861 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22863 (verilog-leap-to-case-head): Now support *nested* unique &
22864 priority case statements.
22865 (verilog-auto-lineup): Make just declarations the default (as it
22867 (verilog-leap-to-case-head): Support priority/unique case statements.
22868 (verilog-auto-lineup): Rework to give users radio buttons to
22869 select the various styles of automatic lineup.
22870 (verilog-error-regexp-alist): Rework to support the XEmacs style
22871 of error regular expressions from compilers, lint tools &
22872 simulators. Note that GNU Emacs has made it impossible for a mode
22873 to load such things.
22874 (electric-verilog-terminate-line, verilog-indent-declaration)
22875 (verilog-auto-wiure): Rework for radio button selection of
22876 auto-lineup selection of specification of auto lineup.
22877 (verilog-beg-of-statement-1): Redesign to support proper operation
22878 in additional code, based on testing with auto-lineup.
22879 (verilog-calculate-indent, assignments & declarations)
22880 (verilog-backward-token): Enhance to support auto-lineup of
22881 assignments & declarations.
22882 (verilog-in-directive-p, verilog-at-struct-p): New function for
22883 easy test of whether we are.
22884 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22885 to support safe execution at almost anyline.
22886 (verilog-calc-1): Properly support indenting deep inside generate
22888 (verilog-init-font): Remove definition & use of verilog-init-font,
22889 as it is redundant with font-lock-defaults.
22890 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22891 to avoid circular calls if syntax-ppss is a function (as is the
22892 case now in 22.x GNU Emacs) as that function would sometimes call
22893 itself, leading to (nearly) infinite recursion.
22894 (verilog-ovm-begin-re, verilog-ovm-end-re)
22895 (verilog-ovm-statement-re, verilog-leap-to-head)
22896 (verilog-backward-token): Add support for OVM macros. Some are
22897 complete statements, and others open and close scopes like begin
22899 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22900 (verilog-defun-level-generate-only-re): Really fix the defun-list
22902 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22903 coverpoint, constraint and cross statements.
22904 (verilog-defun-level-list, verilog-generate-defun-level-list)
22905 (verilog-all-defun-level-list): Redo these specifications - it is
22906 too hard to support eval-when compile aggregation of lists also
22907 built at when-compile time.
22908 (verilog-defun-level-list): Place defconsts of variables used in
22909 building regular expressions which are built in eval-when-compile
22910 bodies in the same eval-when-compile body to facilitate compile
22912 (verilog-beg-block-re-ordered): Support indenting
22913 virtual/protected tasks and functions.
22914 (verilog-defun-level-list, verilog-in-generate-region-p)
22915 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22916 indentation of some module items (generate items).
22917 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22918 across virtual/protected tasks and functions.
22920 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22922 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22923 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22924 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22925 in concatenations. Reported by Yishay Belkind.
22926 (verilog-auto-ascii-enum): Support one-hot state machines in
22927 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22928 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22929 modport in AUTOINST and add vl-modport for users.
22930 Reported by David Rogoff.
22931 (verilog-auto-inout-module, verilog-auto-inst)
22932 (verilog-decls-get-interfaces, verilog-insert-definition)
22933 (verilog-insert-one-definition, verilog-read-decls)
22934 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22935 (verilog-sig-modport, verilog-signals-combine-bus)
22936 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22937 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22938 Suggested by David Rogoff.
22939 (verilog-repair-open-comma): Fix non-insertion of comma when
22940 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22941 (verilog-make-width-expression): Simplify [A-1:0] expression
22942 widths to just {A{1'b0}}.
22943 (verilog-mode): Cleanup checkdoc warnings.
22944 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22945 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22946 inputs/outputs or data type. Suggested by Vasu Kandadi.
22947 (next-error-last-buffer): Fix byte-compiler warning.
22948 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22949 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22950 or shell command text during AUTO expansion. Suggested by Tad Truex.
22951 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22952 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22953 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22954 in AUTOINOUT. Reported by Matthew Lovell.
22955 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22956 causing use of <= assignments. Reported by Alex Reed.
22957 (verilog-read-decls): Fix triand, trior, wand, wor to be
22958 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22959 (verilog-extended-complete-re): Support import "DPI-C" functions.
22960 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22961 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22962 (verilog-insert-date, verilog-insert-year)
22963 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22964 Windows systems. Reported by Michael Potts.
22965 (verilog-read-module-name): Fix AUTOINST when the child module
22966 declaration's name is a tick define. Reported by Elliot Mednick.
22967 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22968 passed to next parameter's definition. Reported by Bruce T.
22969 (verilog-read-decls): Fix detecting "parameter int" when using
22970 AUTOINSTPARAM. Reported by Bruce T.
22971 (verilog-goto-defun): Fix goto not finding modules unless first
22972 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22973 (verilog-mode): Expand -f flag arguments on entry to mode so
22974 verilog-goto-defun will work. Reported by Lawrence Butcher.
22975 (verilog-getopt): Expand environment variables in -f file
22976 arguments. Suggested by Lawrence Butcher.
22977 (verilog-set-define): Fix "Symbol's value as variable is void"
22978 when reading enumerations.
22979 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22980 Suggested by Stephen Peltan.
22981 (verilog-read-defines): Fix reading of enumerations in include
22982 files. Reported by Steve Peltan.
22984 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22986 * files.el (trash-directory): Fix defcustom type.
22988 2009-06-28 Juri Linkov <juri@jurta.org>
22990 * help-fns.el (describe-function-1): Correctly locate adviced
22991 functions in hyperlink (Bug#2438).
22993 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22995 * files.el (trash-directory): Change default to nil.
22996 (move-file-to-trash): If trash-directory is nil and
22997 system-move-file-to-trash is unbound, perform freedesktop-style
23000 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23002 * files.el (move-file-to-trash): Add freedesktop trash
23005 2009-06-28 Glenn Morris <rgm@gnu.org>
23007 * autorevert.el (global-auto-revert-non-file-buffers)
23008 (global-auto-revert-mode): Doc fixes.
23010 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23012 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23014 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23016 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23017 opened an X connection before calling x-get-resource (Bug#3194).
23019 * play/doctor.el: Remove reference to obsolete website.
23020 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23022 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23024 Remove find-file-not-found-hook VC method. (Bug#2757)
23025 * vc-hooks.el (vc-file-not-found-hook)
23026 (vc-default-find-file-not-found-hook): Remove functions.
23027 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23028 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23031 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23033 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23035 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23036 compatibility function for `looking-back'.
23038 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23039 Use `ispell-looking-back'.
23041 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23043 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23044 rather than `filename'.
23046 2009-06-23 Miles Bader <miles@gnu.org>
23048 * face-remap.el (text-scale-set): New function.
23050 2009-06-23 Glenn Morris <rgm@gnu.org>
23052 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23054 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23056 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23058 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23060 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23061 Simplify Persian conditionals.
23063 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23064 variable `filename'.
23066 * comint.el (comint-insert-input): Doc fix.
23068 * Makefile.in (ELCFILES): Fix typo in previous change.
23070 2009-06-23 Miles Bader <miles@gnu.org>
23072 * cus-start.el: Add entry for `recenter-redisplay'.
23074 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23076 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23077 Add an optional argument for the backend, use it instead of
23078 calling vc-backend.
23079 (vc-mode-line): Add an optional argument for the backend.
23080 Pass the backend to vc-state and vc-working-revision. Move code for
23081 special handling for vc-state being a buffer to ...
23083 * vc-rcs.el (vc-rcs-find-file-hook):
23084 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23086 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23087 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23088 vc-stay-local-p and vc-mode-line calls.
23090 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23091 (vc-cvs-diff, vc-cvs-annotate-command)
23092 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23093 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23094 vc-mode-line calls.
23096 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23098 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23099 backend when calling vc-mode-line.
23100 (vc-register): Do not create a closure for calling the vc register
23101 function, call it directly.
23103 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23105 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23106 to make it obvious item can be clicked.
23108 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23110 2009-06-23 Kenichi Handa <handa@m17n.org>
23112 * language/korea-util.el (korean-key-bindings): Change the binding
23113 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23116 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23118 Sync with Tramp 2.1.16.
23120 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23122 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23123 when a loading of a package fails. Completion function for rsync
23124 is `tramp-completion-function-alist-ssh'.
23125 (all): Replace all calls of `split-string' and
23126 `tramp-split-string' by `tramp-compat-split-string'.
23127 (tramp-default-method): Use `tramp-compat-process-running-p'.
23128 (tramp-default-proxies-alist): Allow also Lisp forms.
23129 (tramp-remote-path): Add choice "Private Directories".
23130 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23131 (tramp-domain-regexp): Allow also "-", "_" and ".".
23132 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23133 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23134 (tramp-debug-message): Insert header line in debug buffer.
23135 (tramp-handle-directory-files-and-attributes-with-stat):
23136 Care about filenames with spaces, or starting with "-".
23137 (tramp-handle-dired-uncache): New defun.
23138 (tramp-handle-insert-directory): Don't flush the directory from
23139 cache, this is handled by `dired-uncache' now.
23140 (tramp-handle-insert-file-contents): Improve error handling.
23141 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23142 Quote `tramp-end-of-output'.
23143 (tramp-action-password): Improve trace message.
23144 (tramp-check-for-regexp): Both echoes must be present, before removing.
23145 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23146 (tramp-compute-multi-hops): Eval cons cells of
23147 `tramp-default-proxies-alist'.
23148 (tramp-maybe-open-connection): Use the same command pattern for
23149 first hop and further hops.
23150 (tramp-wait-for-output): Remove handling of newlines.
23151 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23152 (tramp-split-string): Remove function. It is handled in
23155 * net/tramp-cmds.el (tramp-bug):
23156 Recommend `tramp-cleanup-all-connections' in the bug mail.
23158 * net/tramp-compat.el (tramp-compat-split-string)
23159 (tramp-compat-process-running-p): New defuns.
23161 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23162 for `dired-uncache'.
23164 * net/tramp-gvfs.el: New package.
23166 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23167 Add handler for `dired-uncache'.
23168 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23170 * net/trampver.el: Update release number. Make version check fit
23173 2009-06-22 Jim Meyering <meyering@redhat.com>
23175 Automatically handle .xz suffix (XZ-compressed files), too.
23176 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23177 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23179 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23180 Nick Roberts <nickrob@snap.net.nz>
23182 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23183 repository (http://sphinx.net.ru/hg/gdb-mi/).
23185 2009-06-22 Glenn Morris <rgm@gnu.org>
23187 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23188 `mode' and `eval' entries. (Bug#3430)
23190 * Makefile.in (ELCFILES): Add fadr.elc.
23192 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23193 differing behavior of \n and ^ in strings. (Bug#3385)
23195 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23197 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23199 (lisp-indent-function): Make it a defcustom.
23201 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23203 * progmodes/gdb-ui.el: Replace with ...
23204 * progmodes/gdb-mi.el: ... this file.
23205 * progmodes/gud.el: Modify for gdb-mi.el.
23207 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23209 * fadr.el: New file.
23211 See ChangeLog.14 for earlier changes.
23213 ;; Local Variables:
23217 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23219 This file is part of GNU Emacs.
23221 GNU Emacs is free software: you can redistribute it and/or modify
23222 it under the terms of the GNU General Public License as published by
23223 the Free Software Foundation, either version 3 of the License, or
23224 (at your option) any later version.
23226 GNU Emacs is distributed in the hope that it will be useful,
23227 but WITHOUT ANY WARRANTY; without even the implied warranty of
23228 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23229 GNU General Public License for more details.
23231 You should have received a copy of the GNU General Public License
23232 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.